Commit graph

  • 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
  • ff0ce9d065
    Rename Window::set_inner_size to Window::request_inner_size Kirill Chibisov 2023-07-10 04:02:26 +00:00
  • 42e492cde8
    Fix touch location accuracy (#2944) daxpedda 2023-07-10 02:17:36 +02:00
  • 5e0e1e96bc
    On Web, implement WindowEvent::Occluded (#2940) daxpedda 2023-07-10 02:02:38 +02:00
  • bd890e69aa
    On X11, avoid false positive key repeats Imbris 2023-07-09 13:05:49 -04:00
  • bca57ed0b4
    Stop using &mut in Objective-C delegate methods (#2925) Mads Marquart 2023-07-08 22:36:42 +03:00
  • 4652d48105
    Don't unnecessarily clone canvas on Web (#2934) daxpedda 2023-07-08 17:05:05 +02:00
  • 96c0b267e2
    Fix typos on Web (#2933) daxpedda 2023-07-08 16:47:31 +02:00
  • 81fd39485f
    Implement PartialOrd/Ord for KeyCode/NativeKeyCode StarStarJ 2023-07-01 17:07:35 +02:00
  • 6178acede8
    Bump version on master Kirill Chibisov 2023-07-01 00:10:02 +04:00
  • a320702a71
    On X11, fix IME not working Kirill Chibisov 2023-06-30 19:59:24 +04:00
  • b0106898f7 Don't allow event loops to run in parallel dAxpeDDa 2023-06-25 12:03:22 +02:00
  • 924f3323b5 On Web, map bfcache load/unload to suspend/resume Fredrik Fornwall 2023-06-28 12:54:21 +02:00
  • b97df599c5 On Linux, fix wrong layout for key_without_modifiers Kirill Chibisov 2023-06-28 02:02:12 +04:00
  • 0defd747c8 Update xkbcommon-dl to 0.4.0 Kirill Chibisov 2023-06-28 02:01:11 +04:00
  • e23186db8e
    Disallow cleanup for TLS in examples Kirill Chibisov 2023-06-26 01:04:38 +04:00
  • 059abb06fc
    On Wayland, handle none decorations Kirill Chibisov 2023-06-25 14:12:12 +04:00
  • bc216b8f67
    Allow recreating wasm event loop with spawn (#2897) Josh Groves 2023-06-23 15:01:42 -02:30
  • 864a1d5924
    Fix some typos (#2901) Josh Groves 2023-06-23 04:40:36 -02:30
  • 05444628e6
    Provide a way to set cursor area for IME cursor Kirill Chibisov 2023-06-22 19:12:14 +00:00
  • 66ff52b012
    On Wayland, fix transparency hint not set in new Kirill Chibisov 2023-06-22 00:21:43 +00:00
  • 7929999c1c
    Android: rework keycode handling (#2890) Robert Bragg 2023-06-21 18:49:44 +01:00
  • 7094a223af
    Bring OptionAsAlt back for macOS Kirill Chibisov 2023-06-20 19:07:49 +00:00
  • b2a46d0439
    Fill the windows in the examples with a solid color John Nunley 2023-06-19 11:46:38 -07:00
  • 4748890935
    Add MouseButton::{Back, Forward} to MouseInput bbb651 2023-06-16 11:51:09 +03:00
  • 6300cf915e
    On Web, implement DeviceEvents (#2871) daxpedda 2023-06-14 10:26:26 +02:00
  • 9a9c9b15ba
    Implement ResizeObserver (#2859) daxpedda 2023-06-14 09:43:53 +02:00
  • 7ce86c3d2a Use Window.requestIdleCallback() dAxpeDDa 2023-06-13 16:39:06 +02:00
  • a444637b18 Revert "Send modifiers first" daxpedda 2023-06-13 23:16:46 +02:00
  • f0d88c52a3
    Fix pointer deltas on Firefox and send coalesced events together (#2878) daxpedda 2023-06-13 15:49:27 +02:00
  • e17977d7c7 Send modifiers first dAxpeDDa 2023-06-13 14:13:01 +02:00
  • a7a8ff0bbb Drop pointerrawupdate support dAxpeDDa 2023-06-13 09:58:23 +02:00
  • fc046add78 Resume propagation of events dAxpeDDa 2023-06-11 22:30:24 +02:00
  • ab4a4a89e6 Remove unused EventListenerOptions dAxpeDDa 2023-06-11 18:20:55 +02:00
  • f7a400ddf6 Improve media queries take 2 dAxpeDDa 2023-06-09 05:58:58 +02:00
  • 07d39abddd
    Fix panic when destroying window (#2773) Xiaopeng Li 2023-06-09 21:20:27 +08:00
  • 0c8bf25ae4
    Fix compilation on aarch64-linux Imbris 2023-06-09 07:46:01 -04:00
  • b5785ba785 Revert "Fix Window::set_inner_size()" dAxpeDDa 2023-06-08 08:40:26 +02:00
  • 9797ed86f0 Fix unable to ignore scale factor resize suggestion dAxpeDDa 2023-06-07 21:59:01 +02:00
  • e220a75556 Fix Window::set_inner_size() dAxpeDDa 2023-06-07 13:50:04 +02:00
  • 29d3729ac8 Disallow more methods dAxpeDDa 2023-06-06 22:58:03 +02:00
  • 4a36741f9c
    On Android, change default implementation to ignore volume keys and let operating system handle them (#2748) Robin Thunström 2023-06-06 23:04:51 +02:00
  • ab46aa5b79 Replace beforeunload with pagehide dAxpeDDa 2023-06-05 02:11:53 +02:00
  • 12fb37d827 Make media queries more robust dAxpeDDa 2023-06-05 01:23:48 +02:00
  • c88a4ab221 Use correct canvas size for scale factor change dAxpeDDa 2023-06-04 14:29:59 +02:00
  • 8f7f3efc0d
    On Web, implement Send and Sync where appropriate (#2834) daxpedda 2023-06-05 02:44:54 +02:00
  • eb2d3894ef Document unpreventable events dAxpeDDa 2023-06-05 01:47:01 +02:00
  • 3f4f580181 Add pointerrawupdate support dAxpeDDa 2023-06-04 13:15:43 +02:00
  • d3aeff8838 Remove unnecessary preventDefault() calls dAxpeDDa 2023-06-04 12:46:03 +02:00
  • 0786d534f4 Take IntoIterator in send_events() dAxpeDDa 2023-06-04 12:18:38 +02:00