Zoxc
48e7f219a3
Add CI for android ( #1900 )
* Add CI for android
* Don't use arboard on Android
* Fix Android support for eframe
2 years ago
Matt Campbell
7a46a23db5
Update MSRV to Rust 1.61.0 ( #1846 )
2 years ago
Emil Ernerfeldt
a7012cf8a6
Use pinned version of wasm-bindgen-cli ( #1855 )
* Use pinned version of wasm-bindgen-cli
* Update wasm-bindgen to 0.2.82
* Call setup_web.sh from scripts that depends on it
2 years ago
Emil Ernerfeldt
bf15bb6e19
Use cargo cranky instead of cargo clippy ( #1820 )
* Use cargo cranky instead of cargo clippy
cargo cranky (https://github.com/ericseppanen/cargo-cranky )
is a new tool that passes lints specified in a Cranky.toml
to cargo clippy.
This is a possible solution to
https://github.com/rust-lang/cargo/issues/5034
* Remove `-W clippy::all` from `check.sh` (rely on `Cranky.toml` instead)
2 years ago
Emil Ernerfeldt
083e20474b
deny warnings on CI and check.sh with -D warnings ( #1710 )
2 years ago
Emil Ernerfeldt
8173093c67
run cargo check --locked on CI
This ensures the Cargo.lock is up-to-date in PR:s
2 years ago
Emil Ernerfeldt
0389ce68e2
CI: Run `cargo check --all-features` on Windows and Mac too ( #1631 )
3 years ago
Emil Ernerfeldt
931e716b97
Add egui_wgpu crate ( #1564 )
Based on https://github.com/hasenbanck/egui_wgpu_backend
`egui-wgpu` is now an official backend for `eframe` (opt-in).
Use the `wgpu` feature flag on `eframe` and the `NativeOptions::renderer` settings to pick it.
Co-authored-by: Nils Hasenbanck <nils@hasenbanck.de>
Co-authored-by: Sven Niederberger <niederberger@embotech.com>
Co-authored-by: Sven Niederberger <73159570+s-nie@users.noreply.github.com>
3 years ago
Emil Ernerfeldt
9b9c5005d3
CI and check.sh: run cargo doc for all crates
3 years ago
Emil Ernerfeldt
bb421c7e8a
Remove `egui_web` and `epi` ( #1545 )
* Remove integration name (it is always eframe)
* Remove egui_web crate
* Move egui_web/CHANGELOG.md into eframe/CHANGELOG.md
* Remove all mentions of egui_web
* Remove epi crate and absorb into eframe
* egui_glow: only use puffin on native
* Remove WASM doc from CI (we don't generate it anyways!)
* Remove eframe::epi and improve eframe docs
3 years ago
Emil Ernerfeldt
a7b6334784
Misc doc improvements
3 years ago
Emil Ernerfeldt
2ae93c40ab
Move examples out of `eframe/examples` into `examples/` ( #1486 )
* Move examples out of eframe/examples into examples/
Give each example a `Cargo.toml` and `src/main.rs`.
This makes it easier for people to use as templates.
* Update README.md with more deps needed on vanilla Ubuntu
* Install libgtk-3-dev on CI, hoping that will fix something
3 years ago
Emil Ernerfeldt
cf0338d48f
Rust 1.60.0 + refactor cargo features ( #1467 )
* Update to rust 1.60.0
* Rename the feature `convert_bytemuck` to `bytemuck`
* Rename the feature `serialize` to `serde`.
* Make use of the "weak dependency" cargo feature
* Set rust-version = "1.60" for all crates
* egui_glow: clipboard, links, persistence & winit are now opt-in features
3 years ago
Nicklas Møller
f8e833ad8b
Fail docs build when warnings are generated ( #1454 )
3 years ago
Emil Ernerfeldt
aa6a2bb73f
Update PR template to suggests users to run ./sh/check.sh
3 years ago
Emil Ernerfeldt
52b4ab4e18
Remove egui_glium as a backend for eframe ( #1357 )
eframe will now always use egui_glow as a native backend.
Part of https://github.com/emilk/egui/issues/1198
3 years ago
Emil Ernerfeldt
d8300037ad
Fix `cargo run -p egui_demo_app` ( #1343 )
Broken by https://github.com/emilk/egui/pull/1303
3 years ago
Jake Shadle
37c9f116bf
Fix egui_glow when targeting `wasm32-unknown-unknown` ( #1303 )
* Gate winit/glow and epi correctly
* Add check to CI
* Fix epi cfg
3 years ago
Emil Ernerfeldt
c5a9421dbd
Run wasm-bindgen in CI and update parking_lot ( #1293 )
* Run wasm-bindgen in CI
* Update parking_lot 0.11 -> 0.12
3 years ago
Emil Ernerfeldt
c3fc8997d6
Introduce egui_extras with RetainedImage for loading svg,png,jpeg,… ( #1282 )
3 years ago
Emil Ernerfeldt
712d8c9a2b
Run cargo deny in CI ( #1205 )
* Run cargo deny in CI
* Use patched fork of ureq to avoid copy-left license
* Use patched fork of tts to avoid LGPL license
More:
* https://github.com/ndarilek/tts-rs/pull/21
* https://github.com/algesten/ureq/pull/479
3 years ago
Emil Ernerfeldt
199bbef77b
Add misc documentation
3 years ago
Emil Ernerfeldt
d775eb3733
Fix wrong label on the feature request PR template
3 years ago
Emil Ernerfeldt
c60d17b91b
Set MSRV to 1.56.0 and use rust edition 2021 ( #998 )
3 years ago
Emil Ernerfeldt
b31ca7efc9
PR template: remind people to run `cargo fmt` and `cargo clippy`
3 years ago
Emil Ernerfeldt
96b642a7f5
Improve issue template instructions
3 years ago
Emil Ernerfeldt
cdd4dccf5f
Add egui_glow as an opt-in backend to eframe ( #817 )
* Make egui_glow and opt-in backend for eframe
* Add egui_glow to Cargo.toml and to CI
* Reference egui_glow where egui_glium is mentioned
* Remove path-patches from root Cargo.toml
* Add instructions on how to enable the glow backend of eframe
3 years ago
Emil Ernerfeldt
bd06dec653
Add sudo apt-get update to CI ( #801 )
3 years ago
Emil Ernerfeldt
6f699b3391
Replace every ... with … like some sort of crazy person
Also fix some small typos
Closes https://github.com/emilk/egui/pull/736
3 years ago
Emil Ernerfeldt
3e1db880dc
Revert change to winit event loop in egui_glium ( #756 )
* Revert change to winit event loop in egui_glium
This reverts https://github.com/emilk/egui/pull/631
Fixes https://github.com/emilk/egui/issues/755
* Add example of file dialogs and file drag-and-drop
* fix ci
3 years ago
Emil Ernerfeldt
64b0478993
Fix the issue templates
3 years ago
Emil Ernerfeldt
1b36863248
Split out new crate egui-winit from egui_glium ( #735 )
3 years ago
Emil Ernerfeldt
f37180f7dc
Bump MSRV (Minimum Supported Rust Version) to 1.54.0 ( #703 )
1.51.0 clippy has been giving me trouble (not reporting all problems),
and so I take the easy way out and just bump MSRV.
We will upgrade to 1.56.0 once it comes around anyway
to get access to that sweet disjoint capture in closures
(https://doc.rust-lang.org/nightly/edition-guide/rust-2021/disjoint-capture-in-closures.html )
3 years ago
Emil Ernerfeldt
661f0d71a7
Add libssl-dev to apt-get install path ( #635 )
3 years ago
Emil Ernerfeldt
d8b2b50780
Add libxkbcommon-dev to list of linux deps ( #549 )
Closes https://github.com/emilk/egui/issues/545
3 years ago
Emil Ernerfeldt
6e7e88ba80
Use old 1.51 toolchain instead of bleeding edge ( #505 )
* Use old 1.51 toolchain instead of bleeding edge
1.52 and 1.53 has problems with incremental compilation,
so some people chose to stay on 1.51 for now.
So let's make sure egui supports 1.51 for a while!
* Update to cint 0.2.2 to get rust 1.51.0 compatability
3 years ago
Emil Ernerfeldt
5b462197fa
Improve instructions in PR template
4 years ago
Emil Ernerfeldt
53d5d32a80
GitHub issue templates: add reminder to check for duplicates
4 years ago
Emil Ernerfeldt
cb797a489a
Expand PR template with reminder to update CHANGELOG.md
4 years ago
Emil Ernerfeldt
10b60d5361
Run clippy on all targets and all features ( #347 )
* Run clippy on all targets and all features
* check.sh: print each step
* impl ToString -related clippy fix
4 years ago
Emil Ernerfeldt
f07bdf0433
Add more instructions to PR template
4 years ago
Emil Ernerfeldt
76d5229821
CI: run cargo doc ( #309 )
* Deny doc errors
* Add intentional bad intradoc link to test CI
* Add cargo doc to CI
* Fix carg doc web (add wasm32 target)
* Fix intentionally broken doc-link
4 years ago
Emil Ernerfeldt
ab4819ca99
PR template: encourage linking to the relevant issue
4 years ago
Emil Ernerfeldt
fe92a9826b
ci: install libspeechd-dev and fix new clippy lints ( #252 )
* ci: install libspeechd-dev
* Fix new clippy lints for rust 1.51.0
4 years ago
Emil Ernerfeldt
ec2aab3a72
Improve github templates with <!-- comments -->
4 years ago
Emil Ernerfeldt
d2d074395a
Install speech-dispatcher in CI for ttl ( #219 )
4 years ago
Emil Ernerfeldt
24a1c3136c
Add a pull_request_template.md
4 years ago
Emil Ernerfeldt
7363271575
better ci job names
4 years ago
Emil Ernerfeldt
1ac1a72fa8
Add issue templates
4 years ago
Emil Ernerfeldt
ba08a919ba
CI: also check --all-features ( #142 )
4 years ago