1760 Commits

Author SHA1 Message Date
dbr
07673e8eba Use $crate in create_token macro 2023-03-22 23:02:00 +10:30
dbr
b7fbd575c5 Fix clippy warnings
Mostly unnecessary 'as' casts to same kind, and unneeded borrows
2023-03-22 23:01:37 +10:30
dbr
3e995f481c Bump MSRV to 1.64
raw-window-handle now requires this. No hard-requirement from imgui-rs - projects with lock file pinning indirect dependencies will likely keep working in 1.60
2023-03-22 20:02:22 +10:30
Laurent Dufresne
27f7d2fa57 Replaced crate "clipboard" by "copypasta"
The crate clipboard is not maintained anymore and has a dependency with
multiple security issues.
2023-03-08 17:52:22 +01:00
dbr/Ben
9ff2eabf29
Merge pull request #710 from dbr/modfix
Fix handling of modifier keys in winit-support
2023-03-03 19:34:29 +10:30
dbr
b49572871a Fix copypaste-errors 2023-03-03 19:21:40 +10:30
dbr
4e146f2ef0 fmt 2023-03-03 18:57:01 +10:30
dbr
b781572e33 Copy modified-handling code for viewport renderer 2023-03-03 18:56:52 +10:30
dbr
0863512c43 Handle modifiers properly in winit-support
Previously only the "LeftCtrl" was set, not ModCtrl (same for shift etc). Although winit also act weirdly, and once the window regains focus it starts starts triggering ModifierChanged which also sets ModCtrl, so this problem wasn't always noticeable
2023-03-03 18:50:32 +10:30
dbr
842cd0700b Move ModifiersChanged handler
No longer needs to be handled outside of the main event match statement
2023-03-03 18:50:32 +10:30
dbr/Ben
52820dbb3e
Merge pull request #711 from Rob2309/glow-0.12
Update to glow 0.12
2023-03-03 18:48:48 +10:30
Robin
0ef604bbb1 Update to glow 0.12 2023-02-02 15:00:28 +01:00
dbr/Ben
a2ad8dd955
Merge pull request #619 from Rob2309/main
Expose Viewport functionality
2023-02-02 13:02:18 +10:30
dbr
29978d3a31 Fix clippy lint in example 2023-01-30 17:03:56 +10:30
dbr
6cd80834e5 Missing 'mut' in unsafe{} comment 2023-01-30 17:00:11 +10:30
dbr
b730a88d00 Rename viewport example
Mostly so when running "cargo run --example" it is clearer
2023-01-30 16:55:56 +10:30
Robin
ce92bd6dd1 Clippy fixes in imgui-winit-glow-renderer-viewports 2023-01-21 21:16:12 +01:00
Robin
3ac84559fa viewports renderer now uses event-based io 2023-01-21 21:05:37 +01:00
Robin
29b23ec5dc Bumped everything to MSRV 1.60 2023-01-21 20:48:18 +01:00
Robin
bc9cb1c246 viewports renderer now backups OpenGL state 2023-01-21 20:44:22 +01:00
Robin
5528eef52d cargo fmt 2023-01-21 20:10:19 +01:00
Robin Quint
a84610ee03 Fixed renderer on wayland 2023-01-21 20:04:59 +01:00
Robin
5f4cbcdc16 Renderer now disables viewports on wayland 2023-01-21 19:51:51 +01:00
Robin
654aabac71 viewports renderer should now work with viewports disabled 2023-01-21 19:30:16 +01:00
Robin
9dbcdabdaa Merge branch 'main' of https://github.com/imgui-rs/imgui-rs 2023-01-21 14:00:31 +01:00
dbr/Ben
e08707e505
Merge pull request #707 from MarijnS95/bindgen-0.63
upgrading-imgui: Fix some typos
2023-01-20 11:29:12 +10:30
Marijn Suijten
dbd13d5ed2 upgrading-imgui: Fix some typos 2023-01-19 10:35:13 +01:00
dbr
3cc28c527d Remove empty .gitmodules 2023-01-17 20:46:48 +10:30
dbr
0ffa2d1414 FIx clippy note on #[deprecated(...)] 2023-01-16 21:21:02 +10:30
dbr
8006372580 Note on order for publishing crates 2023-01-16 19:45:36 +10:30
dbr
7419057bda Update changelog with release number 2023-01-16 19:44:48 +10:30
dbr
36cf76a4c1 Format #[deprecated(...)] annotations 2023-01-16 19:39:14 +10:30
dbr
fcc4263dce Bump to v0.10 2023-01-16 19:26:14 +10:30
dbr
068275e1b4 Note in changelog about KeyPadEnter to KeypadEnter 2023-01-16 19:01:37 +10:30
dbr
c0f9035ec9 Fixes for doc-links 2023-01-16 18:57:16 +10:30
dbr
5a43f28257 Misc doc strings 2023-01-16 18:54:40 +10:30
dbr
1f6195d1aa Mark Id::Str(...) etc as #[deprecated]
Also add doc strings to Ui.new_id_int(...) etc
2023-01-16 18:54:13 +10:30
dbr
90a4df339f freetype: Supress warning from imgui
Closes #588
2023-01-15 21:56:21 +10:30
dbr/Ben
93cde6aa4a
Merge pull request #701 from rodrigorc/FixWinitKeyboard
Fix keyboard modifiers in Winit with the new ImGui version.
2023-01-15 21:55:44 +10:30
dbr
13162408f2 rustfmt 2023-01-15 12:38:04 +10:30
dbr
9473c24780 Qualify missing 'Key' 2023-01-15 12:37:56 +10:30
Robin
45b9d27557 Adapted Viewport structs to new ImGui Version 2023-01-14 19:28:59 +01:00
Rodrigo Rivas Costa
2106e17dea Fix keyboard modifiers in Winit with the new ImGui version. 2023-01-14 13:26:23 +01:00
dbr
23a07ab1a6 Update changelog 2023-01-13 14:11:56 +10:30
dbr
f44f8fe942 Mark Key, StyleColor, StyleVar as non-exhaustive
Likely to have new things added - rest are all either fairly closed sets of things (up/down/left/right) or likely to require some intentional change from user (e.g DrawCmd)

Closes #695
2023-01-13 14:06:44 +10:30
dbr
2dd7a82c48 Update changelog
Note that sdl2-support also updated to be event-based
2023-01-12 17:04:13 +10:30
dbr
7869300424 Update changelog 2023-01-12 13:26:56 +10:30
dbr/Ben
9a2b03971b
Merge pull request #700 from dbr/imgui1892
Update to imgui 1.89.2
2023-01-12 13:23:09 +10:30
dbr
db4974407d Remove testing on Rust beta
Extra CI time for questionable benefit
2023-01-12 12:39:44 +10:30
dbr
916b014f41 ...static-md 2023-01-12 12:36:32 +10:30