Commit Graph

  • cdeb1c3828 Require setting the activation policy on the event loop (#1922) Artúr Kovács 2021-04-30 11:31:28 +02:00
  • 0986fae066 Add accept_first_mouse for macOS (#1882) z4122 2021-04-30 17:30:09 +08:00
  • 277515636d MacOS: Only activate after the application has finished launching (#1903) Mads Marquart 2021-04-29 19:49:17 +02:00
  • 45aacd8407 Use initialFirstResponder instead of makeFirstResponder (#1920) Mads Marquart 2021-04-29 12:52:41 +02:00
  • e8cdf8b092 Add MacOS menu (#1583) Casper Rogild Storm 2021-04-24 16:56:46 +02:00
  • 1c4d6e7613 Correct the false documentation about macOS dpi (#1905) Artúr Kovács 2021-04-13 21:31:41 +02:00
  • 04b4e48265 Derive Default, Hash, and Eq for some dpi types (#1833) LoganDark 2021-04-12 14:12:39 -07:00
  • dabcb1834d On Windows, allow the creation of popup window (#1895) Rodrigodd 2021-04-10 10:47:19 -03:00
  • 629cd86c7c Stop calling NSApplication.finishLaunching on window creation (#1902) Mads Marquart 2021-04-07 22:24:49 +02:00
  • ba704c4eb4 Mac: Redraw immediately to prevent shaking on window resize (#1901) Xiaopeng Li 2021-04-06 15:22:38 +08:00
  • 0487876826 On macOS, wake up the event loop immediately when a redraw is requested. (#1812) Aleksandr Ovchinnikov 2021-04-06 10:19:25 +03:00
  • ca9c05368e Fix CI warnings (#1898) Markus Røyset 2021-03-30 21:27:32 +02:00
  • 0d634a0061 Add WindowBuilder::with_outer_position (#1866) Michal Srb 2021-03-25 21:18:51 +03:00
  • 86748fbc68 Fix communication of fractional RI_MOUSE_WHEEL events (Windows) (#1877) Norbert Nemec 2021-03-11 22:08:29 +01:00
  • 599477d754 Only try publishing when a version tag is pushed (#1876) Artúr Kovács 2021-03-10 23:10:35 +01:00
  • 889258f538 Upgrade mio to 0.7 (#1875) daxpedda 2021-03-09 17:50:15 +01:00
  • ffe2143d14 Fix for closure-captured values not being dropped on panic (#1853) Artúr Kovács 2021-03-08 19:56:39 +01:00
  • 98470393d1 Add dragging window with cursor feature (#1840) daxpedda 2021-03-07 10:43:23 +01:00
  • 4192d04a53 Fix seg-fault when using without a window (#1874) Artúr Kovács 2021-03-06 11:17:23 +01:00
  • 3571dcd68c Update window.rs (#1871) leafjolt 2021-02-27 14:25:26 -06:00
  • 952edcb804 Android: Add KeyEvent handling (#1839) mmacedo 2021-02-23 18:35:38 -03:00
  • 10a94c0794 Fix Windows' try_theme returning Theme::Dark when new theme is light (#1861) Axel Cocat 2021-02-20 00:06:12 +01:00
  • dd32ace9ab Restore the ability to have fully transparent windows on Windows (#1815) Björn Steinbrink 2021-02-17 13:50:24 +01:00
  • 7e0c6ee097 Add DeviceEvent::MouseMove on web platform to support pointer lock (#1827) Will Crichton 2021-02-16 17:50:46 -05:00
  • b1be34c6a0 fix cursor blinking when clicking decorations bar on Windows (#1852) Ssaely 2021-02-06 15:10:36 -05:00
  • b9307a9967 Change linking of CGDisplayCreateUUIDFromDisplayID on macos (#1626) Imberflur 2021-02-05 02:58:55 -05:00
  • b1d353180b Add ability to assign a menu when creating a window on Windows (#1842) Mads Marquart 2021-02-04 22:26:33 +01:00
  • bd99eb1347 Android: Bump ndk/ndk-glue to 0.3 and use constants for event ident (#1847) Marijn Suijten 2021-01-30 19:43:26 +01:00
  • f79c01b0cf Fix HINSTANCE returned by raw_window_handle on 64 bit Windows (#1841) Mads Marquart 2021-01-28 18:51:49 +01:00
  • 3f1e09ec0e Add Window::is_maximized method (#1804) Simas Toleikis 2021-01-27 20:01:17 +02:00
  • 05125029c6 On Windows, fix deadlock caused by mouse capture (#1830) Markus Røyset 2021-01-19 17:41:02 +01:00
  • 05fe983757 android: Use event identifier instead of userdata pointer (#1826) Marijn Suijten 2021-01-13 23:02:55 +01:00
  • d1a7749df5 Android: Do not mark unhandled events as handled. (#1820) alula 2021-01-12 08:25:56 +01:00
  • 9d63fc7ca0 On Windows, set the cursor icon when the cursor first enters a window (#1807) Markus Røyset 2021-01-05 17:39:13 +01:00
  • 38fccebe1f On Windows, change the default window size (#1805) Markus Røyset 2020-12-20 17:59:46 +01:00
  • c05952b813 On Windows, improve handling of window destruction (#1798) Markus Røyset 2020-12-20 12:54:42 +01:00
  • 932cbe40bf On Windows, fix bug causing mouse capture to not be released. (#1797) Samuel 2020-12-15 03:31:13 -03:00
  • 39573d65d0 Windows: Preserve minimized/maximized state in fullscreen (#1784) relrelb 2020-12-13 20:06:53 +02:00
  • 6db308f1e9 Release 0.24.0 v0.24.0 Kirill Chibisov 2020-12-10 19:12:46 +03:00
  • 6f70fd90b9 Windows: Changed thread_event_target_callback's WM_DESTROY to WM_NCDESTROY (#1780) Viktor Zoutman 2020-12-10 12:09:08 +01:00
  • db038d943c On Windows, implement 'Window::set_ime_position' with IMM API moko256 2020-12-10 05:16:59 +09:00
  • c5620efc9c On Wayland, don't drop extra mouse buttons Kirill Chibisov 2020-12-09 23:11:25 +03:00
  • 8fb7aa5cef Android: Improved multi-touch (#1783) Marnix Kuijs 2020-12-02 21:13:42 +01:00
  • 6ddee9a8ac Ability to force a theme on Windows (#1666) Viktor Zoutman 2020-11-30 19:04:26 +01:00
  • 5700359a61 Android: support multi-touch (#1776) Max de Danschutter 2020-11-28 17:41:11 +01:00
  • 0861a353d6 Add 'request_user_attention' to Window Max de Danschutter 2020-11-27 03:03:08 +01:00
  • f79efec7ef Fix deprecation warning in the window icon example Philippe Renon 2020-11-26 01:20:35 +01:00
  • 77d5d20391 Windows: Delayed Message Boxes Fix. (#1769) Viktor Zoutman 2020-11-24 23:05:29 +01:00
  • 165e51d850 On Wayland, increase default font size in CSD Kirill Chibisov 2020-11-22 01:53:56 +03:00
  • 1c38f113b3 Remove println call from Android's eventloop Max de Danschutter 2020-11-19 18:56:24 +01:00
  • 66859607a3 Rename desktop eventloop extensions to run_return extension (#1738) msiglreith 2020-11-12 20:49:44 +01:00
  • edf396b1a4 On Wayland, add missing mappings for numpad arrows Wladimir J. van der Laan 2020-11-10 22:55:29 +01:00
  • cbeb51b436 X11: Fix multiple RedrawRequested events per event loop iteration (#1758) Murarth 2020-11-07 11:46:37 -07:00
  • 45e4fd6ec1 X11: Fix request_redraw not waking the event loop (#1756) Murarth 2020-11-05 16:42:03 -07:00
  • 3a077ff211 macos: Fix compile on aarch64 Mikko Lehtonen 2020-11-02 23:06:00 +02:00
  • be850e483a Document Android raw_window_handle requirements (#1749) Brad 2020-10-29 16:23:46 -05:00
  • 33fb62bb25 Fix WindowEvent::ReceivedCharacter on web (#1747) Simon Hausmann 2020-10-29 22:13:21 +01:00
  • 66c117e599 [Windows] Fix use after free during window destruction (#1746) qthree 2020-10-24 00:04:18 +07:00
  • 8aa1be8336 On Unix, fix cross-compiling to wasm32 Waridley 2020-10-21 23:14:33 -05:00
  • 037d4121a1 On Wayland, fix 'with_min_inner_size' disabling resize Kirill Chibisov 2020-10-20 03:30:19 +03:00
  • fbd3918d3a Add prefix byte for extended scancodes on Windows (#1679) Vickles 2020-10-19 15:35:01 +01:00
  • 7c543a43a9 Windows: Fix alt tab bordless fullscreen (#1740) Alex Butler 2020-10-19 15:15:23 +01:00
  • ee3996cac6 Feature gate more dependencies Kirill Chibisov 2020-10-18 02:05:08 +03:00
  • 96809ac659 Fix warnings (#1742) Murarth 2020-10-15 11:33:06 -07:00
  • 6343059bc0 Fix Windows transparency behavior to support fully-opaque regions (#1621) Jim Porter 2020-10-14 03:23:34 -07:00
  • 5a78fe33e8 Fix failing assertion on start-up with Safari (#1736) Simon Hausmann 2020-10-10 06:31:51 +02:00
  • 676fb947f2 Added WindowHasFocus and WindowLostFocus events to Android (#1733) Max de Danschutter 2020-10-08 19:44:41 +02:00
  • d18afb4a50 Release 0.23.0 v0.23.0 Kirill Chibisov 2020-10-02 18:05:07 +03:00
  • fc336a76bf Fix incorrect modifiers state on startup Nathan Lilienthal 2020-10-01 22:07:09 -04:00
  • b9f3d333e4 Update SCTK to 0.12 Kirill Chibisov 2020-10-01 01:19:15 +03:00
  • 3d85af04be Update SCTK to 0.11.0 Kirill Chibisov 2020-09-29 00:11:43 +03:00
  • 471b1e003a Bump console_log from 0.1 to 0.2 Logan Magee 2020-09-27 06:47:47 -08:00
  • be2e17d605 Update readme info regarding WebAssembly and web target (#1726) alvinhochun 2020-09-25 01:52:11 +08:00
  • 9d6b9797c0 Clarify ControlFlow::Poll doc for web (#1725) alvinhochun 2020-09-24 22:30:26 +08:00
  • 3cd6a18048 Fix WindowEvent::Moved ignoring DPI on macOS Wang Kai 2020-09-23 18:54:53 +08:00
  • c9558c5f0e Fix view frame in portrait when starting iOS app in landscape (#1703) Michael Hills 2020-09-23 04:21:07 +10:00
  • 71e3d25422 Rework 'Fullscreen::Borderless' enum variant Kirill Chibisov 2020-09-22 04:54:47 +03:00
  • 644dc13e00 web: Emit WindowEvent::Resized on Window::set_inner_size (#1717) alvinhochun 2020-09-22 06:19:00 +08:00
  • 47e7aa4209 Add cleanup code to web backend, mostly web-sys (#1715) alvinhochun 2020-09-21 06:42:07 +08:00
  • 1c97a310b1 Deprecate the stdweb backend (#1712) Ryan G 2020-09-20 18:41:44 -04:00
  • d612a1b5a1 Prefix numpad virtual key codes with Numpad Kirill Chibisov 2020-09-20 12:58:24 +03:00
  • 386ead15a3 Android: bump ndk versions (#1708) msiglreith 2020-09-18 20:14:56 +02:00
  • 83c95e774d Explicitly require simple_logger 1.9 for examples alvinhochun 2020-09-17 21:58:53 +08:00
  • e4754999b7 Replace deprecated simple_logger initialization Logan Magee 2020-09-09 17:58:30 -08:00
  • c66489dbb1 Bump parking_lot to 0.11 Logan Magee 2020-09-09 12:56:48 -08:00
  • 21f9aefc7e Update macOS dependencies Josh Groves 2020-09-07 18:13:51 -02:30
  • d103dc2631 Make 'primary_monitor' return 'Option<MonitorHandle>' Kirill Chibisov 2020-09-07 20:20:47 +03:00
  • cac627ed05 Make 'current_monitor' return 'Option<MonitorHandle>' Kirill Chibisov 2020-09-07 20:09:24 +03:00
  • e2cf2a5754 Fix inverted horizontal scroll on macOS Michael Kirk 2020-09-06 07:41:19 -07:00
  • 658a9a4ea8 Handle scale factor change on web-sys backend (#1690) alvinhochun 2020-08-30 21:15:44 +08:00
  • a2db4c0a32 Unify Minus/Subtract virtual keycodes Christian Duerr 2020-08-29 13:38:41 +00:00
  • 02a34a167a Impl. mouse capturing on web target (#1672) alvinhochun 2020-08-29 21:34:33 +08:00
  • bea60930b6 Use send_events instead of send_event in web backend (#1681) alvinhochun 2020-08-27 00:11:27 +08:00
  • 0f7c82d38f Send CursorMove before mouse press event and note that touch is unimplemented on web target (#1668) alvinhochun 2020-08-22 08:23:08 +08:00
  • 6ba583d198 Fix vertical scroll being inverted on web targets (#1665) alvinhochun 2020-08-21 09:09:04 +08:00
  • 89d4c06dec Fix crash on NetBSD Christian Duerr 2020-08-20 18:12:01 +00:00
  • 9c72cc2a98 Fix HiDPI vs. set_cursor_icon for web (#1652) Michael Kirk 2020-08-17 16:48:29 -07:00
  • 412bd94ea4 Renamed NSString to NSStringRust to support Debug View Heirarchy in Xcode (#1631) simlay 2020-08-14 12:26:16 -07:00
  • 514ab043f2 [macos] add NSWindow.hasShadow support (#1637) TakWolf 2020-08-14 02:10:34 +08:00
  • 68100102be android: fix event loop polling (#1638) msiglreith 2020-08-12 20:56:28 +02:00