Commit Graph

  • f8ffa314d0 Add examples/window_pump_events Robert Bragg 2023-06-18 13:50:13 +01:00
  • e28974bc04 Re-work event loop run() API so it can return a Result Robert Bragg 2023-04-11 12:50:52 +01:00
  • 93f5f1ac3c Remove EventLoopExtRunReturn Robert Bragg 2023-06-18 12:59:53 +01:00
  • a02c680a87 Linux: Implement EventLoopExtPumpEvents and EventLoopExtRunOnDemand Robert Bragg 2023-06-18 12:40:03 +01:00
  • 6bb62d0b13 MacOS: Implement EventLoopExtPumpEvents and EventLoopExtRunOnDemand Robert Bragg 2023-06-18 12:10:09 +01:00
  • fae4cbd2aa Windows: Implement EventLoopExtPumpEvents and EventLoopExtRunOnDemand Robert Bragg 2023-06-18 11:42:57 +01:00
  • 7a954c7e08 Android: Implement EventLoopExtPumpEvents and EventLoopExtRunOnDemand Robert Bragg 2023-06-18 11:10:13 +01:00
  • 164dce2b8a Add EventLoopExtPumpEvents and EventLoopExtRunOnDemand Robert Bragg 2023-04-11 12:50:52 +01:00
  • 0ba4283c29 Correctly detect that we don't support Emscripten (#2971) daxpedda 2023-07-22 18:31:40 +02:00
  • 62b4ba8b50 Replace libc with rustix in some modules John Nunley 2023-07-22 02:32:27 -07:00
  • afebe2e7d1 On Windows, add drag_resize_window method support (#2966) Venceslas Duet 2023-07-21 20:01:56 +02:00
  • 0efcfaf5a9 Add platform::startup_notify for Wayland/X11 Kirill Chibisov 2023-07-20 13:16:51 +00:00
  • d86ce9de9f On Wayland, fix Window::is_decorated with CSD Venceslas Duet 2023-07-18 13:57:33 +02:00
  • 7fa7cea700 On Wayland, make the CSD frame double click reliable Kirill Chibisov 2023-07-15 08:09:28 +00:00
  • 36ebad3246 On macOS, add a way to query amount of tabbed windows Kirill Chibisov 2023-07-14 08:01:40 +00:00
  • 912c45e9f7 On macOS, set that we prefer tabbing Sam 2023-07-13 21:14:04 -07:00
  • e2c71a4422 On macOS, move automatic tabbing setting to ELWT Kirill Chibisov 2023-07-13 15:55:51 +00:00
  • b50d9a0228 On macOS, add tabbing APIs Kirill Chibisov 2023-07-13 06:52:34 +00:00
  • 692f15c49f On Web, add WindowBuilderExtWebSys::with_append() (#2953) daxpedda 2023-07-12 17:11:52 +02:00
  • 5366694db2 Improve documentation of WindowBuilderExtWebSys methods (#2952) daxpedda 2023-07-12 17:11:17 +02:00
  • 7962271faa Replace parts of the Xlib backend with x11-rb John Nunley 2023-07-12 00:59:12 -07:00
  • 78b5f2feb8 On Web, remove Window::is_dark_mode() (#2951) daxpedda 2023-07-11 18:26:32 +02:00
  • 4baab2d93e Fix mentions of Wasm (#2950) daxpedda 2023-07-11 18:26:00 +02:00
  • 79385ecd1f On Web, implement and fix missing methods on Window(Builder) (#2949) daxpedda 2023-07-11 13:14:40 +02:00
  • 8d18043a3c Add Fullscreen API compatibility for Safari (#2948) daxpedda 2023-07-11 00:34:02 +02:00
  • 297c3f80eb On Web, cache commonly used values (#2947) daxpedda 2023-07-11 00:11:06 +02:00
  • 1d80005b91 Increase accuracy of various Web APIs (#2946) daxpedda 2023-07-10 23:55:43 +02:00
  • fab0f62c5a Improve Web specific documentation for various APIs (#2941) daxpedda 2023-07-10 12:50:28 +02:00
  • d83188befd Rename Window::set_inner_size to Window::request_inner_size Kirill Chibisov 2023-07-10 04:02:26 +00:00
  • b9d89e97ed Fix touch location accuracy (#2944) daxpedda 2023-07-10 02:17:36 +02:00
  • 5fa4b8f003 On Web, implement WindowEvent::Occluded (#2940) daxpedda 2023-07-10 02:02:38 +02:00
  • 7a4ce631bd On X11, avoid false positive key repeats Imbris 2023-07-09 13:05:49 -04:00
  • 8d5f82f0c0 Stop using &mut in Objective-C delegate methods (#2925) Mads Marquart 2023-07-08 22:36:42 +03:00
  • 08fe32eac3 Don't unnecessarily clone canvas on Web (#2934) daxpedda 2023-07-08 17:05:05 +02:00
  • 1cddc96a0b Fix typos on Web (#2933) daxpedda 2023-07-08 16:47:31 +02:00
  • af6c343d0e Improve macOS/iOS/Web thread safety Mads Marquart 2023-08-14 21:19:57 +02:00
  • 119462795a Pin android-activity git dependency Kirill Chibisov 2023-08-14 23:10:32 +04:00
  • f801c4a00b Reexport raw-window-handle in window module Kirill Chibisov 2023-08-14 11:24:45 +04:00
  • f9758528f6 Propagate error from EventLoop creation Kirill Chibisov 2023-08-13 23:20:09 +04:00
  • 778d70c001 Fix touch force for Apple Pencil lucasmerlin 2023-08-12 14:22:22 +02:00
  • dc973883c9 Add a way to embed the X11 window into another John Nunley 2023-08-11 02:30:55 -07:00
  • 2233edb9a0 iOS: Use NSOperatingSystemVersion from icrate (#3019) Fredrik Fornwall 2023-08-09 15:57:20 +02:00
  • bd2f1e8312 Android: Support unicode character mapping + dead keys Robert Bragg 2023-08-07 23:56:42 +01:00
  • e9ebf1e5f4 Fix event loop not waking up due to repeat source Kirill Chibisov 2023-08-07 09:35:59 +04:00
  • 5f7955cb2b On X11, set visual_id in raw-window-handle Kirill Chibisov 2023-08-06 06:07:19 +04:00
  • 793c535b01 Revert "Propagate error from EventLoop creation" (#3010) Kirill Chibisov 2023-08-06 06:07:01 +04:00
  • ed26dd58fd Propagate error from EventLoop creation Kirill Chibisov 2023-08-06 06:03:54 +04:00
  • 584aab4cd0 Make with_x11_visual take ID instead of a pointer John Nunley 2023-08-05 14:58:23 -07:00
  • 8100a6a584 Remove 'static requirement on run Kirill Chibisov 2023-08-06 01:56:56 +04:00
  • cad3277550 On Wayland, reduce amount of spurious wakeups Kirill Chibisov 2023-08-06 01:09:59 +04:00
  • 3c3a863cc9 Remove functionality already exposed through raw-window-handle Mads Marquart 2023-08-05 20:56:22 +02:00
  • 8a7e18aaf0 Increase test coverage for generic modules John Nunley 2023-08-05 08:58:38 -07:00
  • 57fad2ce15 On Web, use requestAnimationFrame for RedrawRequested dAxpeDDa 2023-06-23 16:21:41 +02:00
  • 7a58fe58ce On Wayland, use frame callbacks to throttle RedrawRequested Kirill Chibisov 2023-06-22 09:12:47 +04:00
  • 38f28d5836 Add Window::on_present_notify to ack about drawing Kirill Chibisov 2023-06-22 08:08:53 +04:00
  • 189a0080a6 Export smol_str and impl Ord for Key Diggory Hardy 2023-08-03 17:12:48 +01:00
  • b5aa96bea4 Update icrate to v0.0.4 (#2992) Mads Marquart 2023-08-02 16:30:41 +02:00
  • 19e3906369 On X11, remove the now-unrefrenced events.rs source file Marijn Suijten 2023-07-31 20:15:43 +02:00
  • 9ac3259a79 Remove lifetime from the Event Kirill Chibisov 2023-07-31 00:39:01 +04:00
  • 2b2dd6b65d On Windows, keep window maximized when setting size bounds (#2899) Tobias Hunger 2023-07-29 16:22:28 +02:00
  • 75173118b0 On Windows, add option to customize window class name (#2978) Géraud-Loup 2023-07-29 15:39:23 +02:00
  • e33d2bee6c Update objc2 version (#2936) Mads Marquart 2023-07-29 00:33:03 +02:00
  • ae7497e18f Remove RedrawEventsCleared + MainEventsCleared, and added AboutToWait Robert Bragg 2023-07-28 17:37:56 +01:00
  • 935146d299 Rename LoopDestroyed to LoopExiting Robert Bragg 2023-07-28 17:19:53 +01:00
  • 755c533b08 iOS: Always set timer when polling to avoid slow waking (#2979) François 2023-07-28 17:52:24 +02:00
  • ae9b02e097 Add timeout argument to pump_events Robert Bragg 2023-07-24 00:37:51 +01:00
  • e6c7cc297d Windows: implement pump_events_with_timeout internally Robert Bragg 2023-07-24 00:07:49 +01:00
  • b74cee8df1 MacOS: implement pump_events_with_timeout internally Robert Bragg 2023-07-23 23:27:38 +01:00
  • e5eb253698 window_ondemand: wait for Destroyed event before exiting app Robert Bragg 2023-07-04 23:28:43 +01:00
  • ec11b4877f Linux: Sync with server/compositor before exiting run_ondemand Robert Bragg 2023-07-04 22:53:17 +01:00
  • 9e46dffcc5 Update CHANGELOG.md Robert Bragg 2023-06-22 10:55:43 +01:00
  • 7501039d57 Add examples/window_ondemand Robert Bragg 2023-06-18 13:50:26 +01:00
  • 289ce32d77 Add examples/window_pump_events Robert Bragg 2023-06-18 13:50:13 +01:00
  • 0d366ffbda Re-work event loop run() API so it can return a Result Robert Bragg 2023-04-11 12:50:52 +01:00
  • a6f414d732 Remove EventLoopExtRunReturn Robert Bragg 2023-06-18 12:59:53 +01:00
  • c47d0846fa Linux: Implement EventLoopExtPumpEvents and EventLoopExtRunOnDemand Robert Bragg 2023-06-18 12:40:03 +01:00
  • 461efaf99f MacOS: Implement EventLoopExtPumpEvents and EventLoopExtRunOnDemand Robert Bragg 2023-06-18 12:10:09 +01:00
  • 420840278b Windows: Implement EventLoopExtPumpEvents and EventLoopExtRunOnDemand Robert Bragg 2023-06-18 11:42:57 +01:00
  • f5e73b0af4 Android: Implement EventLoopExtPumpEvents and EventLoopExtRunOnDemand Robert Bragg 2023-06-18 11:10:13 +01:00
  • f40b5f0dad Add EventLoopExtPumpEvents and EventLoopExtRunOnDemand Robert Bragg 2023-04-11 12:50:52 +01:00
  • c91402efb9 Correctly detect that we don't support Emscripten (#2971) daxpedda 2023-07-22 18:31:40 +02:00
  • 43acf7f42f Replace libc with rustix in some modules John Nunley 2023-07-22 02:32:27 -07:00
  • c62e64060b On Windows, add drag_resize_window method support (#2966) Venceslas Duet 2023-07-21 20:01:56 +02:00
  • f7a84a5b50 Add platform::startup_notify for Wayland/X11 Kirill Chibisov 2023-07-20 13:16:51 +00:00
  • 89aa7cc06e On Wayland, fix Window::is_decorated with CSD Venceslas Duet 2023-07-18 13:57:33 +02:00
  • b166e1ff13 On Wayland, make the CSD frame double click reliable Kirill Chibisov 2023-07-15 08:09:28 +00:00
  • 97434d8d80 On macOS, add a way to query amount of tabbed windows Kirill Chibisov 2023-07-14 08:01:40 +00:00
  • 06fb089633 On macOS, set that we prefer tabbing Sam 2023-07-13 21:14:04 -07:00
  • 4d6dbea74c On macOS, move automatic tabbing setting to ELWT Kirill Chibisov 2023-07-13 15:55:51 +00:00
  • c5941d105f On macOS, add tabbing APIs Kirill Chibisov 2023-07-13 06:52:34 +00:00
  • b63164645b On Web, add WindowBuilderExtWebSys::with_append() (#2953) daxpedda 2023-07-12 17:11:52 +02:00
  • 5b5ebc25d8 Improve documentation of WindowBuilderExtWebSys methods (#2952) daxpedda 2023-07-12 17:11:17 +02:00
  • d7ec899d69 Replace parts of the Xlib backend with x11-rb John Nunley 2023-07-12 00:59:12 -07:00
  • 5379d60e4d On Web, remove Window::is_dark_mode() (#2951) daxpedda 2023-07-11 18:26:32 +02:00
  • 44e2f95331 Fix mentions of Wasm (#2950) daxpedda 2023-07-11 18:26:00 +02:00
  • 3b2d1a7643 On Web, implement and fix missing methods on Window(Builder) (#2949) daxpedda 2023-07-11 13:14:40 +02:00
  • 50b17a3907 Add Fullscreen API compatibility for Safari (#2948) daxpedda 2023-07-11 00:34:02 +02:00
  • af26f01b95 On Web, cache commonly used values (#2947) daxpedda 2023-07-11 00:11:06 +02:00
  • c4d70d75c1 Increase accuracy of various Web APIs (#2946) daxpedda 2023-07-10 23:55:43 +02:00
  • db8de03142 Improve Web specific documentation for various APIs (#2941) daxpedda 2023-07-10 12:50:28 +02:00