Commit Graph

  • a710e04755 Fix only call show_all when needed master Ngo Iok Ui 2021-05-02 18:44:52 +08:00
  • d35386d61d Add WindowExtUnix trait Ngo Iok Ui 2021-05-02 12:41:41 +08:00
  • 40cb846e2d Cargo fmt Ngo Iok Ui 2021-05-01 19:07:40 +08:00
  • 2eaec66422 Initial gtk port Ngo Iok Ui 2021-05-01 19:07:15 +08:00
  • 42a92f6eec Bump version Ngo Iok Ui 2021-04-28 05:41:29 +08:00
  • 66aea6f857 Rename package name and keep the library name to winit Ngo Iok Ui 2021-03-26 10:04:09 +08:00
  • 5a9e51e2b1 start id at 1 for refcell feat/menu-builder David Lemarier 2021-04-30 16:03:17 -04:00
  • ea1a21f25d Fix windows menu positioning and other quick fixes’ David Lemarier 2021-04-30 15:57:54 -04:00
  • 3e14d5e6b5 WIP Custom menu on windows David Lemarier 2021-04-30 15:32:06 -04:00
  • 2d17eaf5e6 Fix windows David Lemarier 2021-04-30 15:21:18 -04:00
  • 5f955e3e69 Fix the hash map for the menu mapping on windows David Lemarier 2021-04-30 15:17:28 -04:00
  • fdc50ba985 Remove debug David Lemarier 2021-04-30 14:53:36 -04:00
  • e2dcf4278d Fix hashmap David Lemarier 2021-04-30 14:52:42 -04:00
  • 2d0af1f348 Add hashmap to reference menu id in windows David Lemarier 2021-04-30 13:58:39 -04:00
  • e3e36c3345 Cleanup David Lemarier 2021-04-30 13:07:39 -04:00
  • 3219226cb6 Fix typo David Lemarier 2021-04-30 13:06:04 -04:00
  • 852915effe Fix MenuHandler for windows David Lemarier 2021-04-30 13:05:30 -04:00
  • 7c8f5ba980 Implement menu event loop callback for windows David Lemarier 2021-04-30 13:04:29 -04:00
  • 9d93a92d8a Minor windows fix David Lemarier 2021-04-30 12:38:45 -04:00
  • c5aebf2213 Windows fix David Lemarier 2021-04-30 12:35:06 -04:00
  • e0ca9548fb Basic windows implementation David Lemarier 2021-04-30 12:09:17 -04:00
  • 1a693ce1d8 Cleanup David Lemarier 2021-04-30 11:06:25 -04:00
  • 3e7df4dbb6 Merge remote-tracking branch 'winit/master' into feat/menu-builder David Lemarier 2021-04-30 10:43:57 -04:00
  • efe5238985 Merge branch 'master' of github.com:tauri-apps/winit into feat/menu-builder David Lemarier 2021-04-30 09:56:54 -04:00
  • 0152508a39 Allow preventing the creation of the default menu (#1923) Artúr Kovács 2021-04-30 13:34:50 +02:00
  • 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
  • d6a7fd8499 Fix custom menu and implement basic event loop handler David Lemarier 2021-04-29 13:14:39 -04:00
  • a115ebcb98 Cleanup David Lemarier 2021-04-29 12:30:50 -04:00
  • 742696268a feat(macOS): WIP Custom menu builder David Lemarier 2021-04-29 11:32:19 -04:00
  • 45aacd8407 Use initialFirstResponder instead of makeFirstResponder (#1920) Mads Marquart 2021-04-29 12:52:41 +02:00
  • ec757c138e Bump version Ngo Iok Ui 2021-04-28 05:41:29 +08:00
  • 8341de9d4d Rename package name and keep the library name to winit Ngo Iok Ui 2021-03-26 10:04:09 +08: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) new-keyboard 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
  • 68abe3c78b Add hacky wasi implementation 0.19.3-hacky-wasi Pierre Krieger 2020-12-26 13:28:01 +01:00
  • aa232f212e Add hacky wasi implementation 0.19-hacky-wasi Pierre Krieger 2020-12-26 13:28:01 +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
  • 65cf069211 Rename CompostionEvent to IME composition-event garasubo 2020-11-23 11:54:21 +09: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
  • 84f26b0e5e add composition event support (#1404) garasubo 2020-03-07 02:49:32 +09:00
  • 5a78fe33e8 Fix failing assertion on start-up with Safari (#1736) Simon Hausmann 2020-10-10 06:31:51 +02:00