Commit graph

74 commits

Author SHA1 Message Date
0x192
64c99db00d
Fix selection counter never decreasing 2022-01-31 01:06:14 +01:00
0x192
2ac4a43dd8
Fix bug in open_url() 2022-01-30 16:16:10 +01:00
0x192
f70a7a6062
Fix bug breaking multi-devices support
There are Unicode whitespaces in [[:ascii:]]. Whoops
2022-01-29 23:00:30 +01:00
0x192
c27f355191
Update dependencies & fix breaking changes 2022-01-29 22:31:04 +01:00
0x192
c638efe1f0
Fix new clippy warning 2022-01-29 22:14:08 +01:00
0x192
577fdff474
Disable mode is no longer available before Android 6.0
- Greyed out `disable mode` setting
- `Not available` button redirecting to the corresponding FAQ entry
2022-01-29 22:11:58 +01:00
0x192
17f025f020
Review of the ADB commands (fix #78)
- Big refactor of action_handler()
- pm block/unblock is now used on Android 4.4
- pm hide/unhide is now used on Android 5.x

`pm disable` or `pm disable-user` doesn't work without root on those older devices.
2022-01-29 21:36:07 +01:00
0x192
6a2de27d42
Minor light theme update
More readable color
2022-01-18 23:31:55 +01:00
0x192
cc2455b9f2
Forgot to run rust fmt
I really should add a pre-commit hook for this
2022-01-18 04:20:41 +01:00
0x192
c188479f88
Fix critical bug preventing any action with older devices (< Android 8.0)
I don't know what happened. This is a nasty bug!
(and there is actually 2 bugs in the if condition)

It will help #78
2022-01-18 03:43:39 +01:00
0x192
d840934dba
Check if the ADB command succeed before changing the package state
`perform_commands()` now returns a result.

On old devices, ADB commands can return the '0' exit code even if there is an error
On Android 4.4, ADB doesn't check if the package exists. It does not return any error if
you try to `pm block` a non-existent package.

When the command doesn't exist ADB write to stdout "Error: ..." so we can at least catch this.
2022-01-18 02:56:36 +01:00
0x192
cbae57bca5
Only the first action should change the package state
Regression from 608c05a
Make sure to only send `Message::ChangePackageState` for the first action
2022-01-18 02:08:18 +01:00
0x192
72c7bbdd28
Update the about page
- Update the text
- Add 3 buttons which redirect to Github/Wiki/Issues
- Add a button to redirect to the logfiles directory
2022-01-11 16:31:57 +01:00
0x192
ed246bf9bf
Much more sensible logging implementation
- Use of dirs::cache_dir for logfiles location
- Logfile name convention is now "UAD_%Y%m%d.log"
- Logger now only appends (no more overwrite)
- Logger now creates a new logfile each day
- Creation of a `uad_dir()` helper function to access directories UAD uses
2022-01-09 18:59:11 +01:00
0x192
608c05a408
Asynchronous + multi-threaded ADB commands (closes #65) 🚀
Smarter use of iced::Command to run as many tasks as possible concurrently/in parallel

- ADB commands no longer block the interaction with the UI.
- The UI now reacts in real-time to ADB actions (no longer waits for all actions to finish)
- Some refactoring along the way
2021-12-20 13:59:19 +01:00
0x192
c93e722d27
Add a length check in update_selection_count()
The selection should always be positive
2021-12-20 02:42:39 +01:00
0x192
72ba0ab02b
Settings checkboxes have their own style
The default text color field recently added in Iced is set to Color::Black which is not suitable for UAD
2021-12-20 02:38:56 +01:00
0x192
8831628015
Update dependencies [Iced breaking change]
Fix Iced breaking change: checkbox text_color styling
2021-12-10 16:03:51 +01:00
0x192
b03260a684
[Feature] Persistent settings (#44 / fix #50) 2021-11-02 21:14:36 +01:00
0x192
77915446ce
Fix emulators not being detected 2021-10-23 14:29:34 +02:00
0x192
5a14ab8dc3
Adress brand new clippy warnings 2021-10-23 03:10:29 +02:00
0x192
edf7dd6c47
Fix crash when no device is connected 2021-10-23 02:59:47 +02:00
0x192
52cd522732
Fix code formatting (rsmft) 2021-10-22 23:40:12 +02:00
0x192
e49df41534
Feature/Multi-device support (#49) 2021-10-22 23:35:59 +02:00
0x192
71e05e3434
Fix typo (adress #48) 2021-10-11 19:03:28 +02:00
0x192
b221e2fb05
Adress clippy warnings 2021-10-10 04:09:09 +02:00
0x192
1764665f37
Rust fmt 2021-10-10 03:56:13 +02:00
0x192
b53e9b84ec
Small UI improvement 2021-10-07 20:12:22 +02:00
0x192
a0d0c63a0e
Use a font instead of a svg (fix #17) 2021-10-07 18:57:37 +02:00
w1nst0n
45972f1d22
Add scrollbar to description field (closes #40) 2021-10-07 02:35:13 +02:00
w1nst0n
048e7fc8fd
Fix bad condition for disabling action button 2021-10-07 01:08:46 +02:00
w1nst0n
d788baf975
Remove unused unstable feature 2021-10-07 01:00:26 +02:00
w1nst0n
7f748fc77a
3 brand new themes (closes #11) 2021-10-07 00:58:26 +02:00
w1nst0n
8e2d07934e
Refresh button should apply default settings state 2021-10-03 15:29:13 +02:00
w1nst0n
330880a0fa
[Regression] Fix broken unsafe packages deletion protection 2021-10-02 21:33:23 +02:00
w1nst0n
e2286b3663
Some adb errors can be redirected only to stdout 2021-10-02 15:18:47 +02:00
w1nst0n
4ee67c317c
Fix all clippy warnings 2021-10-02 14:54:24 +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
e4dd4fced6
Description field can be null (fix crash #33) 2021-09-30 14:50:34 +02:00
w1nst0n
5aaacb7280
Display software version in the navigation panel 2021-09-28 14:53:40 +02:00
w1nst0n
6d6611249e
Fix exported selection not found (#35) 2021-09-28 14:51:52 +02:00
w1nst0n
2831ae2b25
Set wgpu renderer as default 2021-09-26 21:42:54 +02:00
w1nst0n
9ffb5db397
Remove unused variable 2021-09-26 15:18:14 +02:00
w1nst0n
a6056cec58
Add OpenGL build (#29) 2021-09-25 18:30:24 +02:00
w1nst0n
2476a59423
Feature/Export selection (#8) + selection QoL feature (#31) 2021-09-25 11:22:18 +02:00
w1nst0n
267bb11a33
Add disable mode + support for older phone (close #15) 2021-09-23 14:32:37 +02:00
w1nst0n
4bf2bcef87
Update dependencies + compatibility with iced latest commit 2021-09-22 17:19:30 +02:00
w1nst0n
453f2b339b
cleaning, refactoring and major performance improvement 2021-09-21 20:04:41 +02:00
w1nst0n
0701b51845
Update dependencies 2021-09-16 14:45:05 +02:00