Commit graph

35 commits

Author SHA1 Message Date
w1nst0n
69235a9aa5
chore: update dependencies
- Finally fixed the Dependabot alerts for a CVE not actually impacting UAD
https://rustsec.org/advisories/RUSTSEC-2020-0071
- Fixed new breaking changes from Iced

Note: UAD is not vulnerable to https://rustsec.org/advisories/RUSTSEC-2021-0145.html
2023-04-09 17:27:19 +02:00
w1nst0n
5fa6fea353
feat: add an recap modal window (#565)
A modal window will now appear to give you a recap of the selected packages before applying the changes.

A complete overhaul of the way UAD handles package selection was required to implement this feature.
2023-03-18 18:15:31 +00:00
w1nst0n
ab10511513
chore(deps): switch back to iced main branch
My pull request has been merged : https://github.com/iced-rs/iced/pull/1425
2022-09-22 01:04:16 +02:00
w1nst0n
9b564d3825
refactor: major code overhaul + support for the new Iced theme API (#369)
Note: UAD is now temporarily based on my fork of Iced until iced-rs/iced#1425 is merged upstream.

- Remove custom code for theming: UAD now uses the new Iced styling API
- All the code for initializing UAD (download debloat lists, fetch connected devices etc...) is now a lot more streamlined
- Other miscellaneous code improvement
- Replace row() and column() functions by the new Iced vector-like helper functions (row![], column![])
- Move navigation menu GUI code in a dedicated file
- Rework the way UAD uses events for async code
2022-09-01 21:43:45 +00:00
w1nst0n
b3c23ce5db
New Hotfix (v0.5.1) 2022-07-03 20:53:40 +02:00
w1nst0n
9089123b98
Fix build issue
`retry` crate is now used in all builds
2022-04-03 02:08:43 +02:00
w1nst0n
136a5bac86
New Release (v0.5) 2022-04-03 01:30:58 +02:00
w1nst0n
077bf466d6
Use the new stateless/pure widgets from Iced
- This will be the default in Iced in the long run
- Less boilerplate code
- Simplify the separation between the data and the GUI

The `Application` is still stateful as I need to access and modify the child views. This will change one day.
2022-04-02 20:35:38 +02:00
w1nst0n
4659eb7b0f
Add a self-update feature (#121)
- Add an update button in the About page which links to the Github Releases page
- Display if there is a new version available in the About page
- Display an error if the request to Github failed
- Download the new UAD version and update the software (the hard part)
- Display an update button instead of the `Apps` button if there is an update available
- Add a `no-self-update` cargo feature for this (we don't want auto-update if a package manager already handles this)

The request is done asynchronously, each time you launch UAD or press the About button
The message checking updates... is displayed in the meantime

Update process:
- Download the right release based on the current file name (temp_<release_name>)
- Extract the executable from the tarball for Linux and MacOS release
- Rename the current executable to a temp path and rename the new version as the original file name
- Spawn a new process to run the new (renamed) executable and kill the current one
- Remove the old executable

Acknowledgement:
@tarkah for the inspiration of the self-update code (https://github.com/ajour/ajour/pull/222)
2022-02-09 23:27:13 +00:00
w1nst0n
b8fd936de2
Download uad_list.json from Github (#110)
- Try to download the list from Github when you launch UAD
  - If it succeeds, cache the file
  - Use the cache file if no Internet or fallback to the embedded list
  - Display a special waiting message during the download

- You can skip the waiting screen if no internet. It will fallback to the cached or the embedded list
- Display the documentation version (date) in the About page
- Add an update button in the About page (with time last updated)
2022-02-01 18:18:58 +00:00
0x192
e89c9ae4a3
New Hotfix (v0.4.1) 2022-01-31 01:06:41 +01:00
0x192
49a38c8da8
New Release (v0.4) 2022-01-30 16:16:24 +01:00
0x192
9407eaefce
Legacy build is no longer needed
Iced now support those old hardware
2022-01-29 23:20:40 +01:00
0x192
eda0882451
Update dependencies
Notables updates:
- wgpu v0.11.1 -> v0.12.0
- winit v0.20.0 -> v0.26.0
2022-01-08 19:37:37 +01:00
0x192
2b97541a21
Allow breaking changes for all unstable dependencies 2021-11-02 21:45:20 +01:00
0x192
b03260a684
[Feature] Persistent settings (#44 / fix #50) 2021-11-02 21:14:36 +01:00
0x192
1dc0c02f51
Update dependencies 2021-10-21 16:02:54 +02:00
0x192
195ae6d8da
New Release (v0.3) 2021-10-10 21:09:27 +02:00
0x192
1b8f503986
Update dependencies 2021-10-07 20:14:03 +02:00
w1nst0n
8e077a79d4
Feature/Multi user support (#16) 2021-10-02 01:14:32 +02:00
w1nst0n
4d690fa1d1
Hotfix v0.2.2 2021-09-30 14:57:06 +02:00
w1nst0n
acf4063fc0
Hotfix v0.2.1 2021-09-28 14:56:04 +02:00
w1nst0n
2831ae2b25
Set wgpu renderer as default 2021-09-26 21:42:54 +02:00
w1nst0n
d0cca9f2ca
New Release (v0.2) 2021-09-26 15:31:52 +02:00
w1nst0n
a6056cec58
Add OpenGL build (#29) 2021-09-25 18:30:24 +02:00
w1nst0n
e095d48e71
Improvement/Add logging (closes #2, #3, #25) 2021-09-16 14:43:15 +02:00
w1nst0n
223be292dd
Fix clippy warnings on build 2021-09-09 20:33:24 +02:00
w1nst0n
ced0bbd370
Update cargo config to use Rust 2021 edition 2021-09-09 16:03:14 +02:00
w1nst0n
fac0beb2b3
Use iced main branch instead of v0.3 release 2021-08-25 22:45:39 +02:00
w1nst0n
c84b07fb6f
Better adb error handling + improve windows build 2021-08-24 23:20:39 +02:00
w1nst0n
52346d2502
Add adb binary for MacOS and Windows 2021-08-24 02:49:36 +02:00
w1nst0n
70a03fd241
Tweak cargo release profile 2021-08-21 15:38:20 +02:00
w1nst0n
8225114e90
Some progress 2 2021-08-21 02:14:17 +02:00
w1nst0n
db39b38dc0
Some progress 2021-08-19 23:54:13 +02:00
w1nst0n
25f89a2293
Let's begin! 2021-08-18 22:57:08 +02:00