Commit Graph

  • 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
  • 84ef89eb1c Winit version 0.29.0-beta.0 v0.29.0-beta.0 Kirill Chibisov 2023-06-30 22:34:34 +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
  • b4b2389d0a Split modifier handling in all pointer events dAxpeDDa 2023-06-04 02:16:55 +02:00
  • 964e342f69 Prevent text selection dAxpeDDa 2023-06-04 01:50:30 +02:00
  • a134a59917 Remove MouseEvent fallback support dAxpeDDa 2023-06-04 01:44:53 +02:00
  • fbba203c4a Focus window on touch press dAxpeDDa 2023-06-04 01:09:30 +02:00
  • 61bd8b8254 Send position on button release dAxpeDDa 2023-06-04 01:08:47 +02:00
  • 587fa67571 Split cursor move handlers dAxpeDDa 2023-06-04 01:08:03 +02:00
  • 7500a88230 Fix up changelog dAxpeDDa 2023-06-04 13:23:07 +02:00
  • 82d0380ea6 Ignore pen input on Web dAxpeDDa 2023-06-02 13:16:04 +02:00
  • 642ce2bfa7 Port to windows-sys v0.48.0 (#2842) John Nunley 2023-06-03 15:02:37 -07:00
  • 5bbe87960e Replace instant with web-time dAxpeDDa 2023-06-01 17:22:28 +02:00
  • cf77f82ae3 Update remaining actions to v3 Kirill Chibisov 2023-06-03 17:00:55 +03:00
  • 72cf4e577f Add missing Hash impls on bitflags Kirill Chibisov 2023-06-03 16:44:52 +03:00
  • 4f3eacf01e On Web, handle coalesced events dAxpeDDa 2023-06-02 14:23:09 +02:00
  • 31ebc5caf4 Update bitflags to 2.0 George Burton 2023-06-02 15:44:36 +01:00
  • d273518ce9 Process pointer button events dAxpeDDa 2023-06-02 11:37:23 +02:00
  • 2ade772ab0 Bump console_log to v1 dAxpeDDa 2023-06-01 17:01:59 +02:00
  • 4ac2006cbc Replace mio with calloop in the X11 backend John Nunley 2023-05-31 09:44:42 -07:00
  • ba5ad3be13 On Web, fix no-op for Window::set_fullscreen dAxpeDDa 2023-03-26 17:19:26 +02:00
  • 8092fa2440 Fix changelog dAxpeDDa 2023-05-31 13:27:30 +02:00
  • 8bb004a1d9 Rename DeviceEventFilter to DeviceEvents Toniman575 2023-05-30 21:32:31 +02:00
  • de5327477a web: Fix position of touch events to be relative to the canvas Simon Hausmann 2023-02-28 10:25:51 +01:00