Emil Ernerfeldt
bdeae9e959
Fix crash in DragValue when only setting min_decimals ( #3231 )
2023-08-11 08:24:39 +02:00
Emil Ernerfeldt
1e885abe08
Gracefully catch error saving state to disk ( #3230 )
2023-08-10 17:28:21 +02:00
Emil Ernerfeldt
7e035c6dd1
Allow users to opt-out of default winit features ( #3228 )
...
* Do not enable winit features by default
* Enable default winit features by default
* Add x11 feature
2023-08-10 17:09:01 +02:00
Emil Ernerfeldt
d568d9f5d0
Lint vertical spacing in the code ( #3224 )
...
* Lint vertical spacing in the code
* Add some vertical spacing for readability
2023-08-10 15:26:54 +02:00
Emil Ernerfeldt
83c18498e9
Refactor: turn ClippedShape from struct-enum to a normal struct ( #3225 )
2023-08-10 14:50:11 +02:00
Emil Ernerfeldt
66cbb61ad5
Add PlotUi::response() to replace plot_clicked() etc ( #3223 )
...
Closes https://github.com/emilk/egui/pull/2571
2023-08-10 13:14:19 +02:00
Emil Ernerfeldt
8cdffc4e2d
Replace uses of RangeInclusive<f32> with emath::Rangef ( #3221 )
...
* Replace uses of `RangeInclusive<f32>` with `emath::Rangef`
* Fix doc-test
2023-08-10 13:07:00 +02:00
Emil Ernerfeldt
abe91b00a4
Improve generate_changelog.py
2023-08-09 17:13:22 +02:00
Emil Ernerfeldt
51da2ac490
Improve documentation of Window/Area::resizable
2023-08-09 17:13:10 +02:00
Emil Ernerfeldt
92593b70fa
Changelogs: document that they are updated upon release (not by users)
2023-08-09 17:12:47 +02:00
Emil Ernerfeldt
46daaa8a34
Improve PR template
2023-08-09 12:51:22 +02:00
Emil Ernerfeldt
9c15783fab
CI: update list of accepted PR labels
2023-08-09 12:51:08 +02:00
Emil Ernerfeldt
0e5f93b65d
Add Margin::expand_rect and shrink_rect ( #3214 )
...
* Add `Margin::expand_rect` and `shrink_rect`
* fix typo
* Use the new helpers
2023-08-08 11:50:10 +02:00
Emil Ernerfeldt
924a903610
Rename _typos.toml to .typos.toml
2023-08-08 10:34:37 +02:00
Emil Ernerfeldt
083d61fccd
Update to puffin 0.16 ( #3144 )
2023-07-10 12:29:01 +02:00
Emil Ernerfeldt
5cd40f9685
Fix some typos
2023-06-11 19:34:32 +02:00
Emil Ernerfeldt
0fda44c4ad
fix typo in changelog
2023-06-05 14:56:39 +02:00
Emil Ernerfeldt
307565efa5
Release 0.22.0 - A plethora of small improvements
2023-05-23 19:58:04 +02:00
Emil Ernerfeldt
5fc82c746e
New web demo for the 0.22 release
2023-05-23 19:54:03 +02:00
Emil Ernerfeldt
cccdfd246e
Cleanup ahead of release
2023-05-23 19:53:32 +02:00
Emil Ernerfeldt
cb6bcde22c
Update changelogs
2023-05-23 17:33:01 +02:00
Emil Ernerfeldt
b2281c46e4
Update example screenshots
2023-05-23 13:38:02 +02:00
Emil Ernerfeldt
b07a675439
Fix egui_extras chonos dependency list
2023-05-23 13:30:54 +02:00
Emil Ernerfeldt
bb252e2788
Check egui_extras --all-features on CI ( #3019 )
...
* Check egui_extras --all-features on CI
* Fix egui_extras with `datepicker` feature
2023-05-23 09:26:40 +02:00
Emil Ernerfeldt
8c5d235bfb
cargo update ( #3018 )
...
* cargo update
Updating crates.io index
Updating ab_glyph v0.2.20 -> v0.2.21
Updating aho-corasick v0.7.20 -> v1.0.1
Updating android-activity v0.4.0 -> v0.4.1
Updating anyhow v1.0.69 -> v1.0.71
Updating arrayref v0.3.6 -> v0.3.7
Updating async-broadcast v0.5.0 -> v0.5.1
Updating async-executor v1.5.0 -> v1.5.1
Updating async-io v1.12.0 -> v1.13.0
Updating async-lock v2.6.0 -> v2.7.0
Updating async-recursion v1.0.2 -> v1.0.4
Updating async-task v4.3.0 -> v4.4.0
Updating async-trait v0.1.64 -> v0.1.68
Updating atomic_refcell v0.1.9 -> v0.1.10
Adding base64 v0.21.1
Updating bindgen v0.64.0 -> v0.65.1
Updating bitflags v2.1.0 -> v2.3.1
Updating block-buffer v0.10.3 -> v0.10.4
Updating bumpalo v3.12.0 -> v3.13.0
Updating bytemuck v1.13.0 -> v1.13.1
Updating bytemuck_derive v1.4.0 -> v1.4.1
Updating cfg-expr v0.11.0 -> v0.15.1
Updating chrono v0.4.23 -> v0.4.24
Updating ciborium v0.2.0 -> v0.2.1
Updating ciborium-io v0.2.0 -> v0.2.1
Updating ciborium-ll v0.2.0 -> v0.2.1
Updating clang-sys v1.4.0 -> v1.6.1
Updating clap v3.2.23 -> v3.2.25
Updating cocoa-foundation v0.1.0 -> v0.1.1
Updating concurrent-queue v2.1.0 -> v2.2.0
Updating core-foundation-sys v0.8.3 -> v0.8.4
Updating cpufeatures v0.2.5 -> v0.2.7
Updating crossbeam-utils v0.8.14 -> v0.8.15
Removing cxx v1.0.89
Removing cxx-build v1.0.89
Removing cxxbridge-flags v1.0.89
Removing cxxbridge-macro v1.0.89
Updating digest v0.10.6 -> v0.10.7
Updating dyn-clone v1.0.10 -> v1.0.11
Updating enum-map v2.4.2 -> v2.5.0
Updating enumn v0.1.6 -> v0.1.8
Removing errno v0.2.8
Updating fastrand v1.8.0 -> v1.9.0
Adding fdeflate v0.3.0
Updating flate2 v1.0.25 -> v1.0.26
Updating futures-core v0.3.26 -> v0.3.28
Updating futures-io v0.3.26 -> v0.3.28
Updating futures-lite v1.12.0 -> v1.13.0
Updating futures-sink v0.3.26 -> v0.3.28
Updating futures-task v0.3.26 -> v0.3.28
Updating futures-util v0.3.26 -> v0.3.28
Updating generic-array v0.14.6 -> v0.14.7
Updating getrandom v0.2.8 -> v0.2.9
Updating gimli v0.27.1 -> v0.27.2
Updating glutin v0.30.4 -> v0.30.8
Updating glutin_egl_sys v0.4.0 -> v0.5.0
Updating gpu-alloc v0.5.3 -> v0.5.4
Adding home v0.5.5
Updating iana-time-zone v0.1.53 -> v0.1.56
Updating iana-time-zone-haiku v0.1.1 -> v0.1.2
Updating image v0.24.5 -> v0.24.6
Updating indexmap v1.9.2 -> v1.9.3
Updating io-lifetimes v1.0.6 -> v1.0.10
Updating itoa v1.0.5 -> v1.0.6
Updating jni v0.20.0 -> v0.21.1
Updating jobserver v0.1.25 -> v0.1.26
Updating js-sys v0.3.61 -> v0.3.63
Updating libc v0.2.139 -> v0.2.144
Removing link-cplusplus v1.0.8
Removing linux-raw-sys v0.1.4
Removing linux-raw-sys v0.3.2
Adding linux-raw-sys v0.3.8
Updating memmap2 v0.5.8 -> v0.5.10
Adding miniz_oxide v0.7.1
Updating mio v0.8.5 -> v0.8.6
Updating naga v0.12.0 -> v0.12.1
Removing nom8 v0.2.0
Updating num_enum v0.5.9 -> v0.5.11
Updating num_enum_derive v0.5.9 -> v0.5.11
Updating objc2 v0.3.0-beta.3 -> v0.3.0-beta.3.patch-leaks.3
Updating once_cell v1.17.0 -> v1.17.1
Updating orbclient v0.3.42 -> v0.3.45
Updating ordered-stream v0.1.4 -> v0.2.0
Updating os_str_bytes v6.4.1 -> v6.5.0
Updating owned_ttf_parser v0.18.1 -> v0.19.0
Updating parking v2.0.0 -> v2.1.0
Updating paste v1.0.11 -> v1.0.12
Updating pkg-config v0.3.26 -> v0.3.27
Updating plist v1.4.0 -> v1.4.3
Updating png v0.17.7 -> v0.17.8
Updating polling v2.5.2 -> v2.8.0
Adding prettyplease v0.2.5
Updating proc-macro-crate v1.3.0 -> v1.3.1
Updating proc-macro2 v1.0.56 -> v1.0.58
Updating profiling v1.0.7 -> v1.0.8
Updating puffin v0.14.2 -> v0.14.3
Updating quick-xml v0.26.0 -> v0.28.2
Updating quote v1.0.26 -> v1.0.27
Updating range-alloc v0.1.2 -> v0.1.3
Updating redox_syscall v0.3.4 -> v0.3.5
Updating regex v1.7.1 -> v1.8.2
Removing regex-syntax v0.6.28
Adding regex-syntax v0.6.29
Adding regex-syntax v0.7.2
Updating rfd v0.11.0 -> v0.11.4
Updating rgb v0.8.35 -> v0.8.36
Updating rustc-demangle v0.1.21 -> v0.1.23
Removing rustix v0.36.9
Removing rustix v0.37.3
Adding rustix v0.37.19
Updating ruzstd v0.3.0 -> v0.3.1
Updating ryu v1.0.12 -> v1.0.13
Removing scratch v1.0.3
Updating sctk-adwaita v0.5.3 -> v0.5.4
Updating serde v1.0.152 -> v1.0.163
Updating serde_derive v1.0.152 -> v1.0.163
Updating serde_json v1.0.92 -> v1.0.96
Updating serde_repr v0.1.10 -> v0.1.12
Adding serde_spanned v0.6.2
Adding simd-adler32 v0.3.5
Updating slab v0.4.7 -> v0.4.8
Updating socket2 v0.4.7 -> v0.4.9
Removing syn v1.0.107
Removing syn v2.0.15
Adding syn v1.0.109
Adding syn v2.0.16
Updating system-deps v6.0.3 -> v6.1.0
Adding target-lexicon v0.12.7
Updating tempfile v3.4.0 -> v3.5.0
Updating thiserror v1.0.38 -> v1.0.40
Updating thiserror-impl v1.0.38 -> v1.0.40
Updating time v0.3.17 -> v0.3.21
Updating time-core v0.1.0 -> v0.1.1
Updating time-macros v0.2.6 -> v0.2.9
Updating tiny-skia v0.8.3 -> v0.8.4
Updating tiny-skia-path v0.8.3 -> v0.8.4
Updating toml v0.5.11 -> v0.7.4
Updating toml_datetime v0.5.1 -> v0.6.2
Updating toml_edit v0.18.1 -> v0.19.9
Updating tracing-attributes v0.1.23 -> v0.1.24
Updating tracing-core v0.1.30 -> v0.1.31
Updating ttf-parser v0.18.1 -> v0.19.0
Updating tts v0.25.0 -> v0.25.5
Updating unicode-bidi v0.3.10 -> v0.3.13
Updating unicode-ident v1.0.6 -> v1.0.8
Updating walkdir v2.3.2 -> v2.3.3
Updating wasm-bindgen-futures v0.4.34 -> v0.4.36
Updating web-sys v0.3.61 -> v0.3.63
Updating webbrowser v0.8.7 -> v0.8.10
Removing wepoll-ffi v0.1.2
Updating windows v0.43.0 -> v0.48.0
Removing windows-sys v0.42.0
Updating windows-targets v0.42.1 -> v0.42.2
Updating windows_aarch64_gnullvm v0.42.1 -> v0.42.2
Updating windows_aarch64_msvc v0.42.1 -> v0.42.2
Updating windows_i686_gnu v0.42.1 -> v0.42.2
Updating windows_i686_msvc v0.42.1 -> v0.42.2
Updating windows_x86_64_gnu v0.42.1 -> v0.42.2
Updating windows_x86_64_gnullvm v0.42.1 -> v0.42.2
Updating windows_x86_64_msvc v0.42.1 -> v0.42.2
Updating winit v0.28.1 -> v0.28.6
Adding winnow v0.4.6
Updating xml-rs v0.8.4 -> v0.8.13
Updating zbus v3.9.0 -> v3.10.0
Updating zbus_macros v3.9.0 -> v3.10.0
Updating zbus_names v2.5.0 -> v2.5.1
Updating zstd-sys v2.0.6+zstd.1.5.2 -> v2.0.8+zstd.1.5.5
Updating zvariant v3.10.0 -> v3.14.0
Updating zvariant_derive v3.10.0 -> v3.14.0
Adding zvariant_utils v1.0.1
* Downgrade flate2 and png to avoid duplicated deps
* downgrade plist to avoid duplication of base64 crate
* Allow license `Apache-2.0 WITH LLVM-exception`
* Update to puffin 0.15
2023-05-23 09:25:39 +02:00
Emil Ernerfeldt
03bb89153b
eframe: Use NativeOptions::AppId for the persistance location ( #3014 )
...
* eframe: Use NativeOptions::AppId for the persistance location
* Fix doclinks
* Fix typo in docs
Closes https://github.com/emilk/egui/issues/3003
2023-05-23 08:38:14 +02:00
Emil Ernerfeldt
9d5b324787
Fix typo in docs
...
Closes https://github.com/emilk/egui/issues/3003
2023-05-23 08:37:32 +02:00
Emil Ernerfeldt
68a4239036
Fix --no-default-features ( #3015 )
2023-05-22 22:11:07 +02:00
Emil Ernerfeldt
86d1d1fe76
Trim deny.toml
2023-05-22 21:40:16 +02:00
Emil Ernerfeldt
b5c24d6ec8
egui_demo_app: add some native window info
2023-05-22 21:40:16 +02:00
Emil Ernerfeldt
a1d0e29e5e
vscode: ignore target_wasm
2023-05-22 21:40:16 +02:00
Emil Ernerfeldt
6a80e6fc74
Add doc-test example for Modifiers::matches
2023-05-22 21:40:16 +02:00
Emil Ernerfeldt
7583a44e32
Format Cargo.toml
2023-05-22 21:40:16 +02:00
Emil Ernerfeldt
45826999ac
Add profiling scopes to app icon stuff
2023-05-22 21:40:16 +02:00
Emil Ernerfeldt
e6db7977f9
Fix rust analyzer overrideCommand
2023-05-22 21:40:16 +02:00
Emil Ernerfeldt
b758e9dbf0
Update accesskit to 0.11 ( #3012 )
...
* Update accesskit to 0.11
* Add instructions on how to test the web viewer to CONTRIBUTING.md
Also removed dependency on `jq`
Closes https://github.com/emilk/egui/issues/2859
2023-05-22 19:20:58 +02:00
Emil Ernerfeldt
d7dcfe4dae
Remove references to the removed custom_3d_three-d example
2023-05-22 17:04:58 +02:00
Emil Ernerfeldt
d765c610c1
Update list of Fedora Rawhide dependencies
...
Closes https://github.com/emilk/egui/issues/2946
2023-05-22 16:43:26 +02:00
Emil Ernerfeldt
7b76161a6a
Set a default icon for all eframe apps: a white e on black background ( #2996 )
...
As a user you can change this by setting `NativeOptions::icon_data`.
Set it to `None` to get the default icon assigned by the OS.
2023-05-17 16:23:32 +02:00
Emil Ernerfeldt
856afc8f7e
Update wasm-bindgen to 0.2.86 ( #2995 )
2023-05-17 11:08:35 +02:00
Emil Ernerfeldt
ea71b7f20b
eframe web: detect and report panics during startup ( #2992 )
...
* Detect panics during initialization and show them to the user
* PanicHandler now also logs the panics
* Add example of how to call into your app from JS
* Refactor: break out AppRunner and AppRunnerRef to own files
* Hide AppRunner
* Simplify user code
* AppRunnerRef -> WebRunner
* Better docs
* Don't paint until first animation frame
* Update multiple_apps.html
* Update web demo
* Cleanup and fixes
* left-align panic message in html
2023-05-16 22:22:09 +02:00
Emil Ernerfeldt
e9fa6c8ff6
Add Pointer::is_decidedly_dragging and could_any_button_be_click ( #2979 )
...
* Add Pointer::is_decidedly_dragging and could_any_button_be_click
This allows users to distinguish between click and drags
while they are not yet done.
* Fix warning in eframe
* fix typo
2023-05-08 12:27:49 +02:00
Emil Ernerfeldt
faf31365d2
Add emath::Rangef and helpers for splitting a Rect ( #2978 )
...
* emath: add Rangef helper
* emath: Add Rect splitting helper
* Add helper for interpolating Pos2
2023-05-08 12:20:26 +02:00
Emil Ernerfeldt
3d6a15f442
Log warning instead of error when failing to decode RON in storage ( #2961 )
...
* Log warning instead of error when failing to decode RON in storage
* New web demo
* Clean up some warn/error logging
* Avoid deadlock that could happen on crash
* Log errors using console.warn, because console.error can cause crashes
* Use patched version of wasm-bindgen-cli, allowing >2GB memory
* New web demo
2023-04-27 09:45:44 +02:00
Emil Ernerfeldt
c82604fe51
Update and fix web demo
2023-04-24 09:15:06 +02:00
Emil Ernerfeldt
4d357b0f02
clippy fixes from 1.69.0
2023-04-21 11:33:18 +02:00
Emil Ernerfeldt
4d360f67a4
eframe web: rememeber to unsubscribe from events on destroy
2023-04-21 09:22:34 +02:00
Emil Ernerfeldt
ac50fa0d94
eframe web: Better panic handling ( #2942 )
...
* Refactor: remove extra store of events
* Remove unnecessary extra function
* Refactor: simplify event registering
* Store panic summary
* egui_demo_app: move web-part to own module
* index.html: await
* Properly unsubscribe from events on panic
* Better error handling
* Demo app html: hide the wasm canvas and show an error message on panic
* egui_demo_app: add panic button to test panic response on web
* fix typo
* Use a constructor to create WebHandle
* Refactor: less use of locks in the interfaces
* More consistent naming
2023-04-21 08:33:01 +02:00
Emil Ernerfeldt and Wumpf
7f2de426d2
eframe: Set app icon on Mac and Windows ( #2940 )
...
* eframe: Set app icon on Mac and Windows
Also: correctly set window title on Mac when launching from
another process, e.g. python.
Co-authored-by: Wumpf <andreas@rerun.io >
* lint fixes
* Fix web build
* fix typo
* Try fix windows build
---------
Co-authored-by: Wumpf <andreas@rerun.io >
2023-04-20 15:47:04 +02:00
Emil Ernerfeldt
834e2e9f50
Fix: request_repaint_after works even when called from background thread ( #2939 )
...
* Refactor repaint logic
* request_repaint_after also fires the request_repaint callback
* Bug fixes
* Add test to egui_demo_app
* build_demo_web: build debug unless --release is specified
* Fix the web backend too
* Run special clippy for wasm, forbidding some types/methods
* Remove wasm_bindgen_check.sh
* Fix typos
* Revert "Remove wasm_bindgen_check.sh"
This reverts commit 92dde253446a6930f34f2fcf67f76bc11669ec3b.
* Only run cranky/clippy once
2023-04-20 10:56:52 +02:00
Emil Ernerfeldt
d46cf067ea
Return plot transforms ( #2935 )
...
* Expose the plot transform to users
* Rename plot::ScreenTransform to PlotTransform
* Plot: return a PlotResponse with a transform member
2023-04-19 17:01:16 +02:00
Emil Ernerfeldt
ce761e548f
use env_logger in all examples ( #2934 )
2023-04-19 16:35:38 +02:00
Emil Ernerfeldt
d1af798a9b
Clear all keys and modifies on focus change ( #2933 )
...
It is very easy for keys to become stuck when we alt-tab,
or a save-dialog opens by Ctrl+S, etc.
Therefore we new clear all the modifiers and down keys to avoid that.
2023-04-19 15:27:51 +02:00
Emil Ernerfeldt
b8e798777d
Only show id clash warnings in debug builds by default ( #2930 )
...
Change with `egui_ctx.options_mut(|opt| opt.warn_on_id_clash = true);`
2023-04-19 08:53:37 +02:00
Emil Ernerfeldt
d486c76a9f
Remove dark-light dependency ( #2929 )
...
* Remove dark-light dependency
Since https://github.com/emilk/egui/pull/2750 we now get what we need
straight from `winit`.
* fix warning
* Docstring formatting
* fix typo in check.sh
2023-04-18 21:52:48 +02:00
Emil Ernerfeldt
9c9a54ce36
Replace tracing with log ( #2928 )
...
* Replace tracing crate with log
It's just so much simpler to use
* Add `bacon wasm` job
* eframe: add a WebLogger for piping log events to the web console
2023-04-18 21:11:26 +02:00
Emil Ernerfeldt
0f9e1a3526
eframe web: Store app state to local storage when leaving site ( #2927 )
2023-04-18 20:26:02 +02:00
Emil Ernerfeldt
902bcfe6aa
Add script to generate changelogs ( #2920 )
...
* Add script to generate changelogs from PR labels
* Improve PR template
* Better categorization
2023-04-18 18:58:12 +02:00
Emil Ernerfeldt
03c1a05e49
Rename sh/ folder to scripts/
2023-04-18 17:10:52 +02:00
Emil Ernerfeldt
af4d737c92
Fix typo. Closes https://github.com/emilk/egui/pull/2876
2023-04-18 16:11:53 +02:00
Emil Ernerfeldt
93ee554af5
Check more target triples with cargo deny ( #2919 )
2023-04-18 16:10:53 +02:00
Emil Ernerfeldt
4809747952
Check for typos on CI ( #2918 )
...
* Check for typos on CI
* Fix all typos
2023-04-18 16:10:20 +02:00
Emil Ernerfeldt
b604b6200c
Update yanked deps ( #2917 )
...
* Update crossbeam-channel 0.56 to 0.58
* Update enumflags2
* CI: cargo check epaint --no-default-features
2023-04-18 15:27:31 +02:00
Emil Ernerfeldt
eb0812a953
eframe web: ensure modifiers keys won't stick in a down state on alt-tab ( #2857 )
...
* eframe web: ensure modifiers keys won't stick in a down state on alt-tab
* Update changelog
* Properly set the has_focus input flag on web
2023-03-31 10:11:41 +02:00
Emil Ernerfeldt
5cdbce04a8
Update to accesskit 0.10.1 ( #2855 )
...
* Update to accesskit 0.10.1
* Add helper script to run cargo deny
2023-03-30 10:23:54 +02:00
Emil Ernerfeldt
92c4e23aac
eframe: add a simplified native-only API for simple native apps ( #2453 )
...
* eframe: add a simplified native-only API for simple native apps
* build-fix
* Fix doc-test
2023-03-30 10:00:47 +02:00
Emil Ernerfeldt
b8816d6988
Run cargo-deny on a matrix of targets ( #2852 )
...
* Run cargo-deny on a matrix of targets
* Try rust-cache
* Restrict the number of OSes
2023-03-30 09:12:11 +02:00
Emil Ernerfeldt
59c2c4c70d
Update tempfile to fix CVE ( #2809 )
...
> cargo update -p tempfile
Updating crates.io index
Adding errno v0.2.8
Adding errno-dragonfly v0.1.2
Adding io-lifetimes v1.0.6
Adding linux-raw-sys v0.1.4
Removing remove_dir_all v0.5.3
Adding rustix v0.36.9
Updating tempfile v3.3.0 -> v3.4.0
2023-03-14 08:50:06 +01:00
Emil Ernerfeldt
f94187ab71
Remove misleading safety-badges
...
See https://github.com/emilk/egui/issues/2723
2023-02-28 22:35:08 +01:00
Emil Ernerfeldt
7215fdfb7c
Release eframe 0.21.3 - fix web input of the the letter P
2023-02-15 08:26:45 +01:00
Emil Ernerfeldt
e2778d9d6a
eframe: Fix inputting of the letter P on web ( #2740 )
...
* eframe: Fix inputting of the letter P on web
* Update changelog
* silence clippy
2023-02-15 08:24:52 +01:00
Emil Ernerfeldt
38849fe381
Release eframe 0.21.2 - support --no-default-features
2023-02-12 19:34:37 +01:00
Emil Ernerfeldt
df7e5bd57a
Allow compiling eframe with --no-default-features ( #2728 )
...
* Check that we can compile eframe with --no-default-features
* Allow compiling eframe with `--no-default-features`
This is useful for libraries that depend on `eframe::Frame`
but don't care what renderer eframe is using.
2023-02-12 19:29:42 +01:00
Emil Ernerfeldt
e3e781ced8
fix puffin_profiler example
2023-02-12 19:27:10 +01:00
Emil Ernerfeldt
97756bc246
Add badges to all crates' README.md
2023-02-12 18:08:13 +01:00
Emil Ernerfeldt
f71d79a0ff
Release egui-winit, eframe 0.21.1 - fix crash on monitor size/dpi change
...
https://github.com/emilk/egui/pull/2722
The crash could happen if the monitor size or DPI changes between runs
2023-02-12 15:29:47 +01:00
Emil Ernerfeldt
530e9f667c
format: add some blank lines where it was needed
2023-02-10 18:03:46 +01:00
Emil Ernerfeldt
409fb968d3
add cargo config file that sets --cfg=web_sys_unstable_apis on wasm32
2023-02-10 17:56:10 +01:00
Emil Ernerfeldt
1581f0229e
examples/README.md: explain that the examples are for master
...
and add a link to the latest release
2023-02-08 20:34:43 +01:00
Emil Ernerfeldt
ae722ab0cf
Release 0.21.0 - Deadlock fix and winit update
2023-02-08 20:11:21 +01:00
Emil Ernerfeldt
1384fa3287
Publish new web demo
2023-02-08 20:10:12 +01:00
Emil Ernerfeldt
83b5b81227
Update changelogs with recent additions
2023-02-08 19:36:33 +01:00
Emil Ernerfeldt
63fa3aec10
Update example screenshots
2023-02-08 19:04:04 +01:00
Emil Ernerfeldt
ebeb788b1f
We no longer use tts, so remove speech-related dependencies ( #2698 )
2023-02-08 18:45:44 +01:00
Emil Ernerfeldt
0fc25c2680
Fix: make sure always_on_top is respected on glow again
2023-02-08 18:12:52 +01:00
Emil Ernerfeldt
449dd1c23c
cargo update ( #2697 )
...
* cargo update
Updating anyhow v1.0.68 -> v1.0.69
Updating bindgen v0.63.0 -> v0.64.0
Removing cocoa v0.24.1
Updating glutin v0.30.3 -> v0.30.4
Updating glutin_egl_sys v0.3.1 -> v0.4.0
Updating glutin_glx_sys v0.3.0 -> v0.4.0
Updating glutin_wgl_sys v0.3.0 -> v0.4.0
Updating proc-macro2 v1.0.50 -> v1.0.51
Updating rgb v0.8.34 -> v0.8.35
Updating serde_json v1.0.91 -> v1.0.92
Updating tiny-skia v0.8.2 -> v0.8.3
Updating tiny-skia-path v0.8.2 -> v0.8.3
Removing windows-sys v0.36.1
Removing windows_aarch64_msvc v0.36.1
Removing windows_i686_gnu v0.36.1
Removing windows_i686_msvc v0.36.1
Removing windows_x86_64_gnu v0.36.1
Removing windows_x86_64_msvc v0.36.1
Updating zbus v3.8.0 -> v3.9.0
Updating zbus_macros v3.8.0 -> v3.9.0
* Update wasm-bindgen to 0.2.84
* cargo update
Updating js-sys v0.3.60 -> v0.3.61
Updating wasm-bindgen-futures v0.4.33 -> v0.4.34
Updating web-sys v0.3.60 -> v0.3.61
* Update pollster to 0.3
* Update rfd to 0.11
* Make sure we never depend on cmake
2023-02-08 18:11:34 +01:00
Emil Ernerfeldt
636a39cbe1
Update glow to 0.12 ( #2695 )
...
* Remove three-d example due to glow incompatibility
* Update to glow 0.12
* Remove three-d from deny.toml
* Add line to changelog
2023-02-08 17:16:44 +01:00
Emil Ernerfeldt
e8b9e706ca
Fix Window::pivot causing windows to move around ( #2694 )
...
* Fix Window::pivot causing windows to move around
* Add line to changelog
2023-02-08 12:41:36 +01:00
Emil Ernerfeldt
a8d5a82a7f
Lowe multisampling in examples from 8 to 4
...
Closes https://github.com/emilk/egui/issues/2658
2023-02-08 10:14:43 +01:00
Emil Ernerfeldt
c2d37571f7
constrain popups to the screen
2023-02-08 10:02:50 +01:00
Emil Ernerfeldt
90cd178117
Document GlyphInfo::id
2023-02-08 10:01:47 +01:00
Emil Ernerfeldt
7397be3401
Fix item spacing in CollapsingHeader
2023-02-08 10:01:37 +01:00
Emil Ernerfeldt
1edd333864
Update to winit 0.28.1
2023-02-08 10:00:03 +01:00
Emil Ernerfeldt
4721a0a680
Check --all-targets in CI ( #1395 )
2023-02-08 09:35:01 +01:00
Emil Ernerfeldt
8d6c2580f4
Add Checkbox::without_text
...
Closes https://github.com/emilk/egui/pull/2508
2023-02-08 08:42:00 +01:00
Emil Ernerfeldt
b1e214bbdf
Add Order::TOP
2023-02-06 08:48:12 +01:00
Emil Ernerfeldt
cef0c0b6d8
Fix typo
2023-02-05 21:58:15 +01:00
Emil Ernerfeldt
d5dcc87ace
Improve custom_window_frame
2023-02-05 21:58:15 +01:00
Emil Ernerfeldt
d15ce22e2e
winit: Fix bug where the cursor could get stuck using the wrong icon
2023-02-05 08:48:40 +01:00
Emil Ernerfeldt
660566c499
eframe: ask if the window is minimized or maximized ( #2672 )
...
* eframe: ask if the window is minimized or maximized
* Improve note
2023-02-04 16:05:23 +01:00