Kirill Chibisov
3d85af04be
Update SCTK to 0.11.0
...
* Update SCTK to 0.11.0
Updates smithay-client-toolkit to 0.11.0. The major highlight
of that updated, is update of wayland-rs to 0.27.0. Switching
to wayland-cursor, instead of using libwayland-cursor. It
also fixes the following bugs:
- Disabled repeat rate not being handled.
- Decoration buttons not working after tty switch.
- Scaling not being applied on output reenable.
- Crash when `XCURSOR_SIZE` is `0`.
- Pointer getting created in some cases without pointer capability.
- On kwin, fix space between window and decorations on startup.
- Incorrect size event when entering fullscreen when using
client side decorations.
- Client side decorations not being hided properly in fullscreen.
- Size tracking between fullscreen/tiled state changes.
- Repeat rate triggering multiple times from slow callback handler.
- Resizable attribute not being applied properly on startup.
- Not working IME
Besides those fixes it also adds a bunch of missing virtual key codes,
implements proper cursor grabbing, adds right click on decorations
to open application menu, disabled maximize button for non-resizeable
window, and fall back for cursor icon to similar ones, if the requested
is missing.
It also adds new methods to a `Theme` trait, such as:
- `title_font(&self) -> Option<(String, f32)>` - The font for a title.
- `title_color(&self, window_active: bool) -> [u8; 4]` - The color of
the text in the title.
Fixes #1680 .
Fixes #1678 .
Fixes #1676 .
Fixes #1646 .
Fixes #1614 .
Fixes #1601 .
Fixes #1533 .
Fixes #1509 .
Fixes #952 .
Fixes #947 .
2020-09-29 00:11:43 +03:00
TakWolf
514ab043f2
[macos] add NSWindow.hasShadow support ( #1637 )
...
* [macos] add NSWindow.hasShadow
* change log
* cargo fmt
* Update CHANGELOG.md
* Update src/platform_impl/macos/window.rs
* Update src/platform/macos.rs
* set_has_shadow() with cuter format
* adjust code
* cargo fmt
* changelog
2020-08-13 11:10:34 -07:00
Jurgis
b1e22aa559
Make drag and drop optional (fixes OleInitialize failure #1255 ) ( #1524 )
...
Co-authored-by: Osspial <osspial@gmail.com >
2020-06-28 18:17:27 -04:00
Viktor Zoutman
bf62103417
Android run return ( #1604 )
...
* Initial Draft
* Minor clean up
* cargo fmt
* Removed accidental change
* Update CHANGELOG.md
Co-authored-by: VZout <=>
2020-06-17 15:55:52 +02:00
Olivier Goffart
c1ea0dde92
On Unix, add option to pick backends
...
Add features 'x11' and 'wayland' to pick backends on Linux/BSD, with
both enabled by default.
Fixes #774 .
2020-06-15 10:15:27 +03:00
Andrew Slater
03335cef85
macOS: add function to hide other applications
2020-05-24 19:26:29 +03:00
Jasper De Sutter
b8828105cf
add android NDK event loop ( #1556 )
...
* add android NDK event loop
* add Android build documentation & cargo-apk to CI
Co-authored-by: David Craven <david@craven.ch >
2020-05-06 15:27:49 +02:00
David Hewitt
098fd5d602
Add ability to create Icons from embedded resources on Windows ( #1410 )
...
* Add IconExtWindows trait
* Move changelog entries to unreleased category
Co-authored-by: Osspial <osspial@gmail.com >
2020-03-07 14:42:21 -05:00
daxpedda
d1073dcecb
Implement ThemeChanged for web target. ( #1462 )
...
* Implement ThemeChanged for web target.
* Add TODO upstream to stdweb.
Co-authored-by: Ryan G <ryanisaacg@users.noreply.github.com >
2020-02-17 14:25:27 -05:00
Kirill Chibisov
96df858961
On Wayland, fix color from close_button_icon_color not applying ( #1444 )
2020-02-08 19:36:44 -07:00
Christian Duerr
e295104199
Remove Wayland theme intermediates ( #1209 )
...
* Remove Wayland theme intermediates
This removes the intermediate struct for passing a Wayland theme to
allow the user direct implementation of the trait.
By passing the trait directly, it is possible for downstream users to
have more freedom with customization without relying on winit to offer
these options as fields.
It should also make maintenance easier, since winit already doesn't
implement all the functions which are offered by the smithay client
toolkit.
* Reimplement SCTK's Theme and ButtonState
* Fix style issues
* Remove public signature
* Format code
* Add change log entry
Co-authored-by: Murarth <murarth@gmail.com >
2020-01-26 19:56:54 -07:00
Murarth
66fe69edd9
Fix warnings on macos ( #1419 )
2020-01-26 13:55:27 -07:00
David Yamnitsky
3e3bb8a8f1
add hide_application on macos ( #1364 )
...
Co-authored-by: Osspial <osspial@gmail.com >
Co-authored-by: Bogaevsky <vbogaevsky@gmail.com >
2020-01-19 16:38:52 -07:00
Ryan G
1fe4a7a4ea
Add the ability to pass a prebuilt canvas ( #1394 )
...
This allows Winit to take control of existing canvas elements in the
DOM, which is useful for web applications with other content in the
page.
2020-01-15 21:20:14 -05:00
Murarth
ec1ae68cfc
X11: Properly update window size constraints on DPI change ( #1356 )
...
* In `WindowBuilderExtUnix` methods, use `Size` instead of `LogicalSize`
2020-01-05 17:04:31 -05:00
Osspial
d29f7f34aa
Rename hidpi_factor to scale_factor ( #1334 )
...
* Rename hidpi_factor to scale_factor
* Deprecate WINIT_HIDPI_FACTOR environment variable in favor of WINIT_X11_SCALE_FACTOR
* Rename HiDpiFactorChanged to DpiChanged and update docs
I'm renaming it to DpiChanged instead of ScaleFactorChanged, since I'd
like Winit to expose the raw DPI value at some point in the near future,
and DpiChanged is a more apt name for that purpose.
* Format
* Fix macos and ios again
* Fix bad macos rebase
2020-01-05 14:15:12 -05:00
Osspial
3a1e694c2f
Make size/position types generic over pixel type ( #1277 )
...
* Begin implementing DPI generics
* Fix multithreaded example
* Format
* Fix serde test
* hopefully fix most of the errors
* Fix dpi module errors
* More error fixings
* Format
* fix macos errors
* Another error pass
* Replace bad type signatures
* more fixins
2020-01-05 14:15:11 -05:00
Osspial
f379d069b9
WIP - Make EL2 DPI changes and implement on Windows ( #895 )
...
* Modify DPI API publicly and on Windows
* Add generic Position and make dpi creation functions const
* Make examples work
* Fix fullscreen windows not appearing
* Replace Logical coordinates in window events with Physical coordinates
* Update HiDpiFactorChanged
* Document to_static
2020-01-05 14:15:11 -05:00
David Hewitt
d59eec4633
Add support for Windows Dark Mode ( #1217 )
...
* Add support for Windows Dark Mode
* Add is_dark_mode() getter to WindowExtWindows
* Add WindowEvent::DarkModeChanged
* Add support for dark mode in Windows 10 builds > 18362
* Change strategy for querying windows 10 build version
* Drop window state before sending event
Co-Authored-By: daxpedda <daxpedda@gmail.com >
* Change implementation of windows dark mode support
* Expand supported range of windows 10 versions with dark mode
* Use get_function! macro where possible
* Minor style fixes
* Improve documentation for ThemeChanged
* Use `as` conversion for `BOOL`
* Correct CHANGELOG entry for dark mode
Co-authored-by: daxpedda <daxpedda@gmail.com >
Co-authored-by: Osspial <osspial@gmail.com >
2019-12-22 12:04:09 -07:00
Osspial
28e3c35547
Prevent EventLoop from getting initialized outside the main thread in cross-platform functions ( #1186 )
...
* Prevent EventLoop from getting initialized outside the main thread
This only applies to the cross-platform functions. We expose functions
to do this in a platform-specific manner, when available.
* Add CHANGELOG entry
* Formatting has changed since the latest stable update...
* Fix error spacing
* Unix: Prevent initializing EventLoop outside main thread
* Updates libc dependency to 0.2.64, as required by BSD platforms
* Update CHANGELOG.md for Linux implementation
* Finish sentence
* Consolidate documentation
2019-10-18 11:51:06 -04:00
Ryan G
f62bb33317
Merge branch 'master' into web
2019-10-12 23:51:34 -04:00
Antonino Siena
42e0ccfa1c
Implemented a HINSTANCE getter function for Windows ( #1213 )
...
* Expose HINSTANCE now using a getter function
* Missing changes
* remove unused import
* Required changes for the PR
* Rust fmt
* Use GetWindowLong
* Use GetWindowLong
2019-10-05 14:52:40 -04:00
Ryan Goldstein
86bafdc104
Merge branch 'web' into merge-master-to-web
2019-09-24 19:41:59 -04:00
Ryan G
8cea3e262b
Update the documentation to reflect web support ( #1183 )
...
* Update the documentation to reflect web support
Indicate which methods have platform-specific web behavior
* cargo fmt
2019-09-24 19:33:32 -04:00
Ryan Goldstein
3e8669ea7f
Merge branch 'master' into merge-master-to-web
2019-09-24 14:21:18 -04:00
Michael Palmos
c0a7900341
Allow using multiple XWindowTypes on X11 ( #1140 ) ( #1147 )
...
* Allow using multiple `XWindowType`s on X11 (#1140 )
* Update documentation to make combining window types clearer
* Update build flags because X11 runs on more than just Linux
* Revert "Update build flags because X11 runs on more than just Linux"
This reverts commit 882b910046 .
* Revert "Update documentation to make combining window types clearer"
This reverts commit da00ad391a .
* Revert "Allow using multiple `XWindowType`s on X11 (#1140 )"
This reverts commit a230333456 .
* Allow using multiple `XWindowType`s on X11 (slice variant) (#1140 )
* Multiple `XWindowType`s, with non-static lifetime.
* Multiple `XWindowType`s (#1140 ) (`Vec` variant)
* Append change to changelog.
* Fix formatting.
2019-09-23 07:10:33 -07:00
mtak-
f53683f01f
iOS os version checking around certain APIs ( #1094 )
...
* iOS os version checking
* iOS, fix some incorrect msg_send return types
* address nits, and fix OS version check for unsupported os versions
* source for 60fps guarantee
2019-08-26 18:47:23 -04:00
Zakarum
7ee9d5639b
Disable web module on other targets than wasm32 ( #1102 )
2019-08-14 01:20:05 -07:00
Aleksi Juvani
30b4f8dc9f
Replace set_decorations with set_prefers_status_bar_hidden on iOS ( #1092 )
2019-08-08 16:10:54 -07:00
Hal Gentz
cf0b8babbd
Add new EventLoopWindowTargetExtUnix trait. ( #1026 )
...
* Add new `EventLoopWindowTargetExtUnix` trait.
Signed-off-by: Hal Gentz <zegentzy@protonmail.com >
* Slide.
Signed-off-by: Hal Gentz <zegentzy@protonmail.com >
* Travis, damn you.
Signed-off-by: Hal Gentz <zegentzy@protonmail.com >
* Update CHANGELOG.md
2019-08-08 14:50:22 -07:00
mtak-
3c27e7d88f
iOS: add support for controlling the home indicator, and Exclusive video mode ( #1078 )
...
* iOS: platform specific edge home indicator control
* iOS: exclusive video mode support
* address nits, and linkify all the ios documentation
2019-07-31 00:57:31 -06:00
t嘎
f4e9bf51db
add macos with_disallow_hidpi ( #1073 )
...
* add macos with_disallow_hidpi
add CHANGELOG
* Always use stable rustfmt for CI. (#1074 )
Signed-off-by: Hal Gentz <zegentzy@protonmail.com >
* add macos with_disallow_hidpi
add CHANGELOG
2019-07-29 02:07:36 -06:00
Hal Gentz
613fafdfdf
Merge branch 'web' into webmerge2
2019-07-09 22:50:51 -06:00
Felix Rabe
c1f314ccdc
MacOS: request_user_attention(bool -> enum) ( #1021 )
2019-07-07 14:14:00 -06:00
Héctor Ramón Jiménez
5cc84f32db
Improve feature names to enable web backends
2019-07-01 20:43:54 +02:00
Héctor Ramón Jiménez
bb285984da
Implement stdweb backend for web platform
2019-06-27 00:02:46 +02:00
Héctor Ramón Jiménez
c5703eb00a
Draft web platform structure
2019-06-25 03:15:34 +02:00
Osspial
a195ce8146
Re-format on stable rustfmt ( #974 )
2019-06-24 12:14:55 -04:00
Osspial
e2c84725de
Format everything and add rustfmt to travis ( #951 )
...
* Format everything and add rustfmt to travis
* Remove extern crate winit from examples and add force_multiline_blocks
* Format the code properly
* Fix inconsistent period in PULL_REQUEST_TEMPLATE.md
* Only run rustfmt on nightly
* Travis fixings
2019-06-21 11:33:15 -04:00
Ben Merritt
e4d8e22846
Start implementing web-sys backend
2019-06-17 22:51:23 -07:00
CrLF0710
f879bca21c
Migrate to 2018 edition. ( #924 )
...
* Migrate to 2018 edition.
* Use impl Iterator at one site.
* Fix more rust 2018 idioms.
2019-06-17 14:27:00 -04:00
Osspial
412516159f
Document the caveats of run_return ( #914 )
2019-06-13 12:51:44 -04:00
Nikolai Vazquez
f256ff7d58
Make ns identifiers use snake_case on macOS ( #904 )
...
This makes the macOS API style consistent with that of iOS.
2019-06-10 19:09:38 -04:00
Ryan Goldstein
f2b6ef2edd
Merge master into stdweb-eventloop-2
...
Update the internal APIs to match the new API changes
2019-06-01 13:21:50 -07:00
Ryan Goldstein
37dadab745
Add access to the canvas in the Window
2019-05-31 21:50:25 -07:00
Osspial
0df436901a
Refine function names and type signatures ( #886 )
...
* First name consistency pass. More to come!
* Remove multitouch variable (hopefully this compiles!)
* Remove CreationError::NotSupported
* Add new error handling types
* Remove `get_` prefix from getters.
This is as per the Rust naming conventions recommended in
https://rust-lang-nursery.github.io/api-guidelines/naming.html#getter-names-follow-rust-convention-c-getter
* Make changes to Window position and size function signatures
* Remove CreationError in favor of OsError
* Begin updating iOS backend
* Change MonitorHandle::outer_position to just position
* Fix build on Windows and Linux
* Add Display and Error implementations to Error types
* Attempt to fix iOS build.
I can't actually check that this works since I can't cross-compile to
iOS on a Windows machine (thanks apple :/) but this should be one of
several commits to get it working.
* Attempt to fix iOS errors, and muck up Travis to make debugging easier
* More iOS fixins
* Add Debug and Display impls to OsError
* Fix Display impl
* Fix unused code warnings and travis
* Rename set_ime_spot to set_ime_position
* Add CHANGELOG entry
* Rename set_cursor to set_cursor_icon and MouseCursor to CursorIcon
* Organize Window functions into multiple, categorized impls
* Improve clarity of function ordering and docs in EventLoop
2019-05-29 21:29:54 -04:00
mtak-
3a7350cbb9
El2.0 ios ( #871 )
...
* port ios winit el2.0 implementation to the new rust-windowing repo
* unimplemented! => unreachable
trailing comma in CFRunLoopTimerCallback
* implement get_fullscreen
* add iOS specific platform documentation. Add a TODO about how to possibly extend the iOS backend to work have methods callable from more than just the main thread
* assert that window is only dropped from the main thread
* assert_main_thread called from fewer places
2019-05-25 21:10:41 -04:00
Osspial
8d6a857ba5
Merge branch 'evl2' into eventloop-2.0
2019-05-16 00:26:59 -04:00
Hal Gentz
d5391686ae
Squashed commit of the following: ( #853 )
...
commit fa95f204d3c10ceca70e794870657a0f33349761
Author: Hal Gentz <zegentzy@protonmail.com >
Date: Sun Apr 28 00:14:01 2019 -0600
xrender
Signed-off-by: Hal Gentz <zegentzy@protonmail.com >
commit b62cee51c7b22f6f150bfe04f9b28f024e641323
Merge: 3f021ea7 a6551f46
Author: Hal Gentz <zegentzy@protonmail.com >
Date: Thu Apr 25 18:13:43 2019 -0600
Merge branch 'macos-gentz' of github.com:ZeGentzy/winit into macos-gentz
commit 3f021ea7f7ac6bc2a697a5b6e4e6424e838a2139
Author: Hal Gentz <zegentzy@protonmail.com >
Date: Thu Apr 25 18:04:02 2019 -0600
Get rid of warnings.
Signed-off-by: Hal Gentz <zegentzy@protonmail.com >
commit a6551f4607ea0bc26df8716dee8115371ef367db
Author: Hal Gentz <zegentzy@protonmail.com >
Date: Thu Apr 25 07:40:56 2019 -0600
Fix example
Signed-off-by: Hal Gentz <zegentzy@protonmail.com >
commit cbfda6c57e9740b49d2b496bda43197f611cb48c
Author: Hal Gentz <zegentzy@protonmail.com >
Date: Wed Apr 24 23:47:46 2019 -0600
Fixes
Signed-off-by: Hal Gentz <zegentzy@protonmail.com >
commit 86bc86f3d3add4a6125aa9b2eca79061c0dfcd91
Author: Hal Gentz <zegentzy@protonmail.com >
Date: Wed Apr 24 23:39:19 2019 -0600
Backport 9a23ec3c37 (diff-1d95fe39cdbaa708c975380a16c314cb)
Signed-off-by: Hal Gentz <zegentzy@protonmail.com >
commit 742a688efe2f0eeacc2ffbf49b1157c4aaffccbd
Author: Hal Gentz <zegentzy@protonmail.com >
Date: Wed Apr 24 23:09:14 2019 -0600
Backports 45a4281413 (diff-1d95fe39cdbaa708c975380a16c314cb)
Signed-off-by: Hal Gentz <zegentzy@protonmail.com >
commit 6c81f2a517d4e2d5ba2ff3eddca030bce972cb2a
Author: Hal Gentz <zegentzy@protonmail.com >
Date: Wed Apr 24 23:05:57 2019 -0600
Francesca's macos changes
Also backports bfbcab3a01 (diff-1d95fe39cdbaa708c975380a16c314cb)
commit 7c2e1300c26a0634ad505ce72b90eb6dc2fdcac7
Author: Francesca Plebani <franplebani@gmail.com >
Date: Wed Apr 24 20:58:26 2019 -0600
Squashed commit of the following:
commit 5f4aa9f01a719eef98c6d894801c20ee8f96d30f
Author: Francesca Plebani <franplebani@gmail.com >
Date: Fri Dec 21 17:14:14 2018 -0500
Protect against reentrancy (messily)
commit b75073a5b2a8d65ab8806a00ffee390752255c8c
Author: Francesca Plebani <franplebani@gmail.com >
Date: Fri Dec 21 15:15:27 2018 -0500
Send resize events immediately
commit 8e9fc01bd6b404f59488b130413f48e4e5f89b0d
Author: Francesca Plebani <franplebani@gmail.com >
Date: Fri Dec 21 16:07:43 2018 -0500
Don't use struct for window delegate
commit c6853b0c4a8fe357f463604bb879dc1be424860e
Author: Francesca Plebani <franplebani@gmail.com >
Date: Wed Dec 19 21:17:48 2018 -0500
Split up util
commit 262c46b148413130fa239099f1151c1f1bd5c13c
Author: Francesca Plebani <franplebani@gmail.com >
Date: Wed Dec 19 20:55:00 2018 -0500
Use dispatch crate
commit 63152c2f475794d1a36a5b3687c777664d7d5613
Author: Francesca Plebani <franplebani@gmail.com >
Date: Wed Dec 19 20:29:13 2018 -0500
RedrawRequested
commit 27e475c7c78b059fd9b5e8350cd26756eecdfc94
Author: Francesca Plebani <franplebani@gmail.com >
Date: Wed Dec 19 19:24:44 2018 -0500
User events
commit 157418d7dedace9c571e977d98ea92464c3188b2
Author: Francesca Plebani <franplebani@gmail.com >
Date: Tue Dec 18 22:38:05 2018 -0500
Moved out cursor loading
commit b4925641c973979a38743202b4269efe09ac43b4
Author: Francesca Plebani <franplebani@gmail.com >
Date: Tue Dec 18 21:32:12 2018 -0500
Fixed a bunch of threading issues
commit 4aef63dfb78dfaf38c83cb0e88d4ea9d8d0578a6
Author: Francesca Plebani <franplebani@gmail.com >
Date: Mon Dec 17 13:54:59 2018 -0500
Wait works
commit 72ed426c695df5dc410902263bd74188059b8ddd
Author: Francesca Plebani <franplebani@gmail.com >
Date: Fri Dec 14 20:49:10 2018 -0500
Fixed drag and dropg
commit 658209f4a20acd536218f41a01fb8cbbebc705e0
Author: Francesca Plebani <franplebani@gmail.com >
Date: Fri Dec 14 20:42:42 2018 -0500
Made mutexes finer for less deadlock risk
commit 8e6b9866084690da900c4d058e412cab8ebb30c4
Author: Francesca Plebani <franplebani@gmail.com >
Date: Fri Dec 14 16:45:06 2018 -0500
Dump (encapsulate) everything into AppState
commit d2dc83df15939d89301e2cff0ffa2d98c48b406f
Author: Francesca Plebani <franplebani@gmail.com >
Date: Thu Dec 13 17:36:47 2018 -0500
All window events work!
commit 7c7fcc98872b3c35bd7767b5c6235a74bc105e06
Author: Francesca Plebani <franplebani@gmail.com >
Date: Wed Dec 12 17:11:09 2018 -0500
Very rough usage of CFRunLoop
commit 3c7a52ff4df683b5b7e1751e4051ec445a818774
Author: Francesca Plebani <franplebani@gmail.com >
Date: Tue Dec 11 15:45:23 2018 -0500
Fixed deadlocks
commit b74c7fe1bcd173e9b0c0e004956c257e805bc2a2
Author: Francesca Plebani <franplebani@gmail.com >
Date: Mon Dec 10 18:59:46 2018 -0500
Fix keyDown deadlock
commit 3798f9c1a4bef2a3d1552f846b26efc31b1bbb6c
Author: Francesca Plebani <franplebani@gmail.com >
Date: Mon Dec 10 18:44:40 2018 -0500
It builds!
commit 8c8620214357714c5cd0b3beefda6704512e3f64
Author: Francesca Plebani <franplebani@gmail.com >
Date: Fri Dec 7 21:09:55 2018 -0500
Horribly broken so far
commit 8269ed2a92
Author: Osspial <osspial@gmail.com >
Date: Mon Nov 19 23:51:20 2018 -0500
Fix crash with runner refcell not getting dropped
commit 54ce6a21a0
Author: Osspial <osspial@gmail.com >
Date: Sun Nov 18 19:12:45 2018 -0500
Fix buffered events not getting dispatched
commit 2c18b804df
Author: Osspial <osspial@gmail.com >
Date: Sun Nov 18 18:51:24 2018 -0500
Fix thread executor not executing closure when called from non-loop thread
commit 5a3a5e2293
Author: Osspial <osspial@gmail.com >
Date: Thu Nov 15 22:43:59 2018 -0500
Fix some deadlocks that could occur when changing window state
commit 2a3cefd8c5
Author: Osspial <osspial@gmail.com >
Date: Thu Nov 15 16:45:17 2018 -0500
Document and implement Debug for EventLoopWindowTarget
commit fa46825a28
Author: Osspial <osspial@gmail.com >
Date: Thu Nov 15 16:40:48 2018 -0500
Replace &EventLoop in callback with &EventLoopWindowTarget
commit 9f36a7a68e
Author: Osspial <osspial@gmail.com >
Date: Wed Nov 14 21:28:38 2018 -0500
Fix freeze when setting decorations
commit d9c3daca9b
Author: Osspial <osspial@gmail.com >
Date: Fri Nov 9 20:41:15 2018 -0500
Fix 1.24.1 build
commit 5289d22372
Author: Osspial <osspial@gmail.com >
Date: Fri Nov 9 00:00:27 2018 -0500
Remove serde implementations from ControlFlow
commit 92ac3d6ac7
Author: Osspial <osspial@gmail.com >
Date: Thu Nov 8 23:46:41 2018 -0500
Remove crossbeam dependency and make drop events work again
commit 8299eb2f03
Author: Osspial <osspial@gmail.com >
Date: Thu Sep 13 22:39:40 2018 -0400
Fix crash when running in release mode
commit bb6ab1bb6e
Author: Osspial <osspial@gmail.com >
Date: Sun Sep 9 14:28:16 2018 -0400
Fix unreachable panic after setting ControlFlow to Poll during some RedrawRequested events.
commit 5068ff4ee1
Author: Osspial <osspial@gmail.com >
Date: Sun Sep 9 14:14:28 2018 -0400
Improve clarity/fix typos in docs
commit 8ed575ff4a
Author: Osspial <osspial@gmail.com >
Date: Sun Sep 9 00:19:53 2018 -0400
Update send test and errors that broke some examples/APIs
commit bf7bfa82eb
Author: Osspial <osspial@gmail.com >
Date: Wed Sep 5 22:36:05 2018 -0400
Fix resize lag when waiting in some situations
commit 70722cc4c3
Author: Osspial <osspial@gmail.com >
Date: Wed Sep 5 19:58:52 2018 -1100
When SendEvent is called during event closure, buffer events
commit 53370924b2
Author: Osspial <osspial@gmail.com >
Date: Sun Aug 26 21:55:51 2018 -0400
Improve WaitUntil timer precision
commit a654400e73
Author: Osspial <osspial@gmail.com >
Date: Thu Aug 23 21:06:19 2018 -0400
Add CHANGELOG entry
commit deb7d379b7
Author: Osspial <osspial@gmail.com >
Date: Thu Aug 23 20:19:56 2018 -0400
Rename MonitorId to MonitorHandle
commit 8d8d9b7cd1
Author: Osspial <osspial@gmail.com >
Date: Thu Aug 23 20:16:52 2018 -0400
Change instances of "events_loop" to "event_loop"
commit 0f34408763
Author: Osspial <osspial@gmail.com >
Date: Thu Aug 23 20:13:53 2018 -0400
Improve docs for run and run_return
commit fba41f7a7e
Author: Osspial <osspial@gmail.com >
Date: Thu Aug 23 19:09:53 2018 -0400
Small changes to examples
commit 42e8a0d2cf
Author: Osspial <osspial@gmail.com >
Date: Thu Aug 23 19:09:19 2018 -0400
Improve documentation
commit 4377680a44
Author: Osspial <osspial@gmail.com >
Date: Wed Aug 22 23:01:36 2018 -0400
Re-organize into module structure
commit f20fac99f6
Author: Osspial <osspial@gmail.com >
Date: Wed Aug 22 22:07:39 2018 -0400
Add platform::desktop module with EventLoopExt::run_return
commit dad24d086a
Author: Osspial <osspial@gmail.com >
Date: Wed Aug 22 18:03:41 2018 -0400
Rename os to platform, add Ext trait postfixes
commit 7df59c60a0
Author: Osspial <osspial@gmail.com >
Date: Wed Aug 22 17:59:36 2018 -0400
Rename platform to platform_impl
commit 99c0f84a9f
Author: Osspial <osspial@gmail.com >
Date: Wed Aug 22 17:55:27 2018 -0400
Add request_redraw
commit a0fef1a5fa
Author: Osspial <osspial@gmail.com >
Date: Mon Aug 20 01:47:11 2018 -0400
Fully invert windows control flow so win32 calls into winit's callback
commit 2c607ff87f
Author: Osspial <osspial@gmail.com >
Date: Sun Aug 19 13:44:22 2018 -0400
Add ability to send custom user events
commit a0b2bb3695
Author: Osspial <osspial@gmail.com >
Date: Fri Aug 17 17:49:46 2018 -0400
Add StartCause::Init support, timer example
commit 02f922f003
Author: Osspial <osspial@gmail.com >
Date: Fri Aug 17 17:31:04 2018 -0400
Implement new ControlFlow and associated events
commit 8b8a7675ec
Author: Osspial <osspial@gmail.com >
Date: Fri Jul 13 01:48:26 2018 -0400
Replace windows Mutex with parking_lot Mutex
commit 9feada206f
Author: Osspial <osspial@gmail.com >
Date: Fri Jul 13 01:39:53 2018 -0400
Update run_forever to hijack thread
commit 2e83bac99c
Author: Osspial <osspial@gmail.com >
Date: Thu Jul 12 23:43:58 2018 -0400
Remove second thread from win32 backend
commit 64b8a9c6a5
Author: Osspial <osspial@gmail.com >
Date: Thu Jul 12 22:13:07 2018 -0400
Rename WindowEvent::Refresh to WindowEvent::Redraw
commit 529c08555f
Author: Osspial <osspial@gmail.com >
Date: Thu Jul 12 22:04:38 2018 -0400
Rename EventsLoop and associated types to EventLoop
Signed-off-by: Hal Gentz <zegentzy@protonmail.com >
Co-authored-by: Hal Gentz <zegentzy@protonmail.com >
commit cfb929ba0a9e787f8bb1a6dae4e05e4c7776bc97
Author: Hal Gentz <zegentzy@protonmail.com >
Date: Thu Apr 25 07:40:56 2019 -0600
Fix example
Signed-off-by: Hal Gentz <zegentzy@protonmail.com >
commit 68d3317ff58381d55f5f9bd3db0860d66544fe12
Author: Hal Gentz <zegentzy@protonmail.com >
Date: Wed Apr 24 23:47:46 2019 -0600
Fixes
Signed-off-by: Hal Gentz <zegentzy@protonmail.com >
commit 02d1aae4db27df054b703aa935ca118f31e17123
Author: Hal Gentz <zegentzy@protonmail.com >
Date: Wed Apr 24 23:39:19 2019 -0600
Backport 9a23ec3c37 (diff-1d95fe39cdbaa708c975380a16c314cb)
Signed-off-by: Hal Gentz <zegentzy@protonmail.com >
commit dd9de5a6d444a9ab17afe470f4cf2a57e3ed76ae
Author: Hal Gentz <zegentzy@protonmail.com >
Date: Wed Apr 24 23:09:14 2019 -0600
Backports 45a4281413 (diff-1d95fe39cdbaa708c975380a16c314cb)
Signed-off-by: Hal Gentz <zegentzy@protonmail.com >
commit 533e2adc1d1e417742475786635848b1620e476c
Author: Hal Gentz <zegentzy@protonmail.com >
Date: Wed Apr 24 23:05:57 2019 -0600
Francesca's macos changes
Also backports bfbcab3a01 (diff-1d95fe39cdbaa708c975380a16c314cb)
commit 73b52221080bd3a881ae3a58c2dbb19bc8d954c6
Author: Hal Gentz <zegentzy@protonmail.com >
Date: Wed Apr 24 20:58:26 2019 -0600
Squashed commit of the following:
commit 5f4aa9f01a719eef98c6d894801c20ee8f96d30f
Author: Francesca Plebani <franplebani@gmail.com >
Date: Fri Dec 21 17:14:14 2018 -0500
Protect against reentrancy (messily)
commit b75073a5b2a8d65ab8806a00ffee390752255c8c
Author: Francesca Plebani <franplebani@gmail.com >
Date: Fri Dec 21 15:15:27 2018 -0500
Send resize events immediately
commit 8e9fc01bd6b404f59488b130413f48e4e5f89b0d
Author: Francesca Plebani <franplebani@gmail.com >
Date: Fri Dec 21 16:07:43 2018 -0500
Don't use struct for window delegate
commit c6853b0c4a8fe357f463604bb879dc1be424860e
Author: Francesca Plebani <franplebani@gmail.com >
Date: Wed Dec 19 21:17:48 2018 -0500
Split up util
commit 262c46b148413130fa239099f1151c1f1bd5c13c
Author: Francesca Plebani <franplebani@gmail.com >
Date: Wed Dec 19 20:55:00 2018 -0500
Use dispatch crate
commit 63152c2f475794d1a36a5b3687c777664d7d5613
Author: Francesca Plebani <franplebani@gmail.com >
Date: Wed Dec 19 20:29:13 2018 -0500
RedrawRequested
commit 27e475c7c78b059fd9b5e8350cd26756eecdfc94
Author: Francesca Plebani <franplebani@gmail.com >
Date: Wed Dec 19 19:24:44 2018 -0500
User events
commit 157418d7dedace9c571e977d98ea92464c3188b2
Author: Francesca Plebani <franplebani@gmail.com >
Date: Tue Dec 18 22:38:05 2018 -0500
Moved out cursor loading
commit b4925641c973979a38743202b4269efe09ac43b4
Author: Francesca Plebani <franplebani@gmail.com >
Date: Tue Dec 18 21:32:12 2018 -0500
Fixed a bunch of threading issues
commit 4aef63dfb78dfaf38c83cb0e88d4ea9d8d0578a6
Author: Francesca Plebani <franplebani@gmail.com >
Date: Mon Dec 17 13:54:59 2018 -0500
Wait works
commit 72ed426c695df5dc410902263bd74188059b8ddd
Author: Francesca Plebani <franplebani@gmail.com >
Date: Fri Dec 14 20:49:10 2018 -0500
Fixed drag and dropg
commit 658209f4a20acd536218f41a01fb8cbbebc705e0
Author: Francesca Plebani <franplebani@gmail.com >
Date: Fri Dec 14 20:42:42 2018 -0500
Made mutexes finer for less deadlock risk
commit 8e6b9866084690da900c4d058e412cab8ebb30c4
Author: Francesca Plebani <franplebani@gmail.com >
Date: Fri Dec 14 16:45:06 2018 -0500
Dump (encapsulate) everything into AppState
commit d2dc83df15939d89301e2cff0ffa2d98c48b406f
Author: Francesca Plebani <franplebani@gmail.com >
Date: Thu Dec 13 17:36:47 2018 -0500
All window events work!
commit 7c7fcc98872b3c35bd7767b5c6235a74bc105e06
Author: Francesca Plebani <franplebani@gmail.com >
Date: Wed Dec 12 17:11:09 2018 -0500
Very rough usage of CFRunLoop
commit 3c7a52ff4df683b5b7e1751e4051ec445a818774
Author: Francesca Plebani <franplebani@gmail.com >
Date: Tue Dec 11 15:45:23 2018 -0500
Fixed deadlocks
commit b74c7fe1bcd173e9b0c0e004956c257e805bc2a2
Author: Francesca Plebani <franplebani@gmail.com >
Date: Mon Dec 10 18:59:46 2018 -0500
Fix keyDown deadlock
commit 3798f9c1a4bef2a3d1552f846b26efc31b1bbb6c
Author: Francesca Plebani <franplebani@gmail.com >
Date: Mon Dec 10 18:44:40 2018 -0500
It builds!
commit 8c8620214357714c5cd0b3beefda6704512e3f64
Author: Francesca Plebani <franplebani@gmail.com >
Date: Fri Dec 7 21:09:55 2018 -0500
Horribly broken so far
commit 8269ed2a92
Author: Osspial <osspial@gmail.com >
Date: Mon Nov 19 23:51:20 2018 -0500
Fix crash with runner refcell not getting dropped
commit 54ce6a21a0
Author: Osspial <osspial@gmail.com >
Date: Sun Nov 18 19:12:45 2018 -0500
Fix buffered events not getting dispatched
commit 2c18b804df
Author: Osspial <osspial@gmail.com >
Date: Sun Nov 18 18:51:24 2018 -0500
Fix thread executor not executing closure when called from non-loop thread
commit 5a3a5e2293
Author: Osspial <osspial@gmail.com >
Date: Thu Nov 15 22:43:59 2018 -0500
Fix some deadlocks that could occur when changing window state
commit 2a3cefd8c5
Author: Osspial <osspial@gmail.com >
Date: Thu Nov 15 16:45:17 2018 -0500
Document and implement Debug for EventLoopWindowTarget
commit fa46825a28
Author: Osspial <osspial@gmail.com >
Date: Thu Nov 15 16:40:48 2018 -0500
Replace &EventLoop in callback with &EventLoopWindowTarget
commit 9f36a7a68e
Author: Osspial <osspial@gmail.com >
Date: Wed Nov 14 21:28:38 2018 -0500
Fix freeze when setting decorations
commit d9c3daca9b
Author: Osspial <osspial@gmail.com >
Date: Fri Nov 9 20:41:15 2018 -0500
Fix 1.24.1 build
commit 5289d22372
Author: Osspial <osspial@gmail.com >
Date: Fri Nov 9 00:00:27 2018 -0500
Remove serde implementations from ControlFlow
commit 92ac3d6ac7
Author: Osspial <osspial@gmail.com >
Date: Thu Nov 8 23:46:41 2018 -0500
Remove crossbeam dependency and make drop events work again
commit 8299eb2f03
Author: Osspial <osspial@gmail.com >
Date: Thu Sep 13 22:39:40 2018 -0400
Fix crash when running in release mode
commit bb6ab1bb6e
Author: Osspial <osspial@gmail.com >
Date: Sun Sep 9 14:28:16 2018 -0400
Fix unreachable panic after setting ControlFlow to Poll during some RedrawRequested events.
commit 5068ff4ee1
Author: Osspial <osspial@gmail.com >
Date: Sun Sep 9 14:14:28 2018 -0400
Improve clarity/fix typos in docs
commit 8ed575ff4a
Author: Osspial <osspial@gmail.com >
Date: Sun Sep 9 00:19:53 2018 -0400
Update send test and errors that broke some examples/APIs
commit bf7bfa82eb
Author: Osspial <osspial@gmail.com >
Date: Wed Sep 5 22:36:05 2018 -0400
Fix resize lag when waiting in some situations
commit 70722cc4c3
Author: Osspial <osspial@gmail.com >
Date: Wed Sep 5 19:58:52 2018 -1100
When SendEvent is called during event closure, buffer events
commit 53370924b2
Author: Osspial <osspial@gmail.com >
Date: Sun Aug 26 21:55:51 2018 -0400
Improve WaitUntil timer precision
commit a654400e73
Author: Osspial <osspial@gmail.com >
Date: Thu Aug 23 21:06:19 2018 -0400
Add CHANGELOG entry
commit deb7d379b7
Author: Osspial <osspial@gmail.com >
Date: Thu Aug 23 20:19:56 2018 -0400
Rename MonitorId to MonitorHandle
commit 8d8d9b7cd1
Author: Osspial <osspial@gmail.com >
Date: Thu Aug 23 20:16:52 2018 -0400
Change instances of "events_loop" to "event_loop"
commit 0f34408763
Author: Osspial <osspial@gmail.com >
Date: Thu Aug 23 20:13:53 2018 -0400
Improve docs for run and run_return
commit fba41f7a7e
Author: Osspial <osspial@gmail.com >
Date: Thu Aug 23 19:09:53 2018 -0400
Small changes to examples
commit 42e8a0d2cf
Author: Osspial <osspial@gmail.com >
Date: Thu Aug 23 19:09:19 2018 -0400
Improve documentation
commit 4377680a44
Author: Osspial <osspial@gmail.com >
Date: Wed Aug 22 23:01:36 2018 -0400
Re-organize into module structure
commit f20fac99f6
Author: Osspial <osspial@gmail.com >
Date: Wed Aug 22 22:07:39 2018 -0400
Add platform::desktop module with EventLoopExt::run_return
commit dad24d086a
Author: Osspial <osspial@gmail.com >
Date: Wed Aug 22 18:03:41 2018 -0400
Rename os to platform, add Ext trait postfixes
commit 7df59c60a0
Author: Osspial <osspial@gmail.com >
Date: Wed Aug 22 17:59:36 2018 -0400
Rename platform to platform_impl
commit 99c0f84a9f
Author: Osspial <osspial@gmail.com >
Date: Wed Aug 22 17:55:27 2018 -0400
Add request_redraw
commit a0fef1a5fa
Author: Osspial <osspial@gmail.com >
Date: Mon Aug 20 01:47:11 2018 -0400
Fully invert windows control flow so win32 calls into winit's callback
commit 2c607ff87f
Author: Osspial <osspial@gmail.com >
Date: Sun Aug 19 13:44:22 2018 -0400
Add ability to send custom user events
commit a0b2bb3695
Author: Osspial <osspial@gmail.com >
Date: Fri Aug 17 17:49:46 2018 -0400
Add StartCause::Init support, timer example
commit 02f922f003
Author: Osspial <osspial@gmail.com >
Date: Fri Aug 17 17:31:04 2018 -0400
Implement new ControlFlow and associated events
commit 8b8a7675ec
Author: Osspial <osspial@gmail.com >
Date: Fri Jul 13 01:48:26 2018 -0400
Replace windows Mutex with parking_lot Mutex
commit 9feada206f
Author: Osspial <osspial@gmail.com >
Date: Fri Jul 13 01:39:53 2018 -0400
Update run_forever to hijack thread
commit 2e83bac99c
Author: Osspial <osspial@gmail.com >
Date: Thu Jul 12 23:43:58 2018 -0400
Remove second thread from win32 backend
commit 64b8a9c6a5
Author: Osspial <osspial@gmail.com >
Date: Thu Jul 12 22:13:07 2018 -0400
Rename WindowEvent::Refresh to WindowEvent::Redraw
commit 529c08555f
Author: Osspial <osspial@gmail.com >
Date: Thu Jul 12 22:04:38 2018 -0400
Rename EventsLoop and associated types to EventLoop
Signed-off-by: Hal Gentz <zegentzy@protonmail.com >
commit ab1dfaaaa53a3acd206bf494ac90e3fe130dc609
Author: Hal Gentz <zegentzy@protonmail.com >
Date: Tue Apr 23 21:52:17 2019 -0600
Minor
Signed-off-by: Hal Gentz <zegentzy@protonmail.com >
commit 7933209d60
Author: Victor Berger <victor.berger@m4x.org >
Date: Thu Apr 18 09:10:41 2019 +0200
wayland/x11: Make ControlFlow::Exit sticky
commit 8355a7513e
Author: Victor Berger <victor.berger@m4x.org >
Date: Tue Apr 16 12:21:33 2019 +0200
x11: Implement run_return using calloop
commit f64edb60cc
Author: Victor Berger <victor.berger@m4x.org >
Date: Tue Apr 16 10:42:04 2019 +0200
x11: port to evl2 with stubs
commit be372898dd
Author: Victor Berger <victor.berger@m4x.org >
Date: Mon Apr 15 17:35:59 2019 +0200
Fix compilation on Linux.
Signed-off-by: Hal Gentz <zegentzy@protonmail.com >
Co-authored-by: Francesca Plebani <franplebani@gmail.com >
2019-05-13 22:20:51 -04:00
acheronfail
062e0e52ee
Feat/fullscreen getters ( #838 )
...
* feat: [macos] add get_fullscreen and get_simple_fullscreen
* feat: [windows] add get_fullscreen
* feat: [ios] add get_fullscreen
* feat: [android] add get_fullscreen
* feat: [emscripten] add get_fullscreen
* feat: [linux] add get_fullscreen
* feedback: `get_fullscreen() -> bool` -> `get_fullscreen() -> Option<Id>`
2019-04-27 20:29:55 +02:00