Commit Graph

94 Commits

Author SHA1 Message Date
Martin Wimpress 305a3c9105 style: make app report as Quickgui in the menu 2024-06-26 19:40:30 +01:00
Martin Wimpress 841fc5dee8 chore: temporarily force light mode
Dark mode doesn't render some icons correctly at the moment and in an effort to get an update Quickgui release out light mode the temporarily the only theme.
2024-06-26 17:52:48 +01:00
Martin Wimpress a8ada5a40a refactor: adapt parseWgetProgress to parseCurlProgress
Since Quickemu 4.9.3 quickget downloads everything except Ubuntu daily images with curl, via the web_get() function internal to quickget.

This change adapts the progress parsing to curl's progress output and accounts for a bug in quickget where it stopped reporting if wget/curl is the external download tool.
2024-06-26 17:32:44 +01:00
Martin Wimpress 7a21dd2898 chore: drop parseAriaProgress 2024-06-26 17:32:44 +01:00
Martin Wimpress 9d596b6acc chore: drop parseMacRecoveryProgress 2024-06-26 17:32:44 +01:00
Martin Wimpress f0f02030cc refactor: update loadOperatingSystems to use quickget --list-csv
- Close #124

`quickemu list_csv` is deprecated and `quickemu --list-csv` provide the same functionality.
2024-06-26 17:32:26 +01:00
Mark Johnson 3c23106d32 Improve OS loading
Rather than waiting for the OS list to load, when the app starts, the
loads them in the background, and only waits if we reach the list of
available downloads without them loaded yet. In this case, we use a
FutureBuilder to display a loading spinner until the list is ready.
2024-06-25 15:25:18 +01:00
Mark Johnson 208d4f8dc9 Fix icon loading
This fixes the loading of OS icons so they are correctly replaced with a
generic computer if no matching icon is found.

It also centralises the loading process so it happens once during app
initialisation, and displays the corresponding icon next to each VM on
the manager screen.
2024-06-25 15:25:18 +01:00
Mark Johnson d3fe2c8c4f Make proper use of Material3 colour schemes.
This is a big improvement over what we had before and relies on the
theme to provide dark mode rather than manually checking brightness each
time we pick a colour.

The buttons in the primary container aren't quite right, I'm not sure
why.
2024-06-25 15:25:18 +01:00
Mark Johnson 920b8488c7
Fix text appearance on download page. 2024-06-13 16:07:49 +01:00
Mark Johnson 3d89d73af1
Switch manager to use process_run for shell commands
process_run provides a nice wrapper for which, and shows the command an
output in the debug log so provides easier debugging of issues invoking
external commands.
2024-06-13 16:07:49 +01:00
Mark Johnson b1350b825f
Fix deprecations and code style 2024-06-13 16:07:48 +01:00
codseus 245c1f5251
Updated deprecated code, added check for svg files, fixed visibility of buttons in download page 2024-06-13 16:07:48 +01:00
Mikael Bak d858da3c0c
Add Hungarian translation (#83) 2022-11-21 14:41:47 +01:00
Luke Wesley-Holley 85881ab404
Update icons (#86)
* Update icons

* Add icons
2022-11-21 14:41:07 +01:00
Yannick Mauray 9e55104f71
feat: added a textfield to search the version of an operating system 2022-11-11 15:49:25 +01:00
Yannick Mauray 60b96496f2
feat: make the directory where machines are stored more obvious 2022-11-11 15:47:58 +01:00
Yannick Mauray bba41d6938
fix: detect if quickemu is insalled 2022-11-07 22:31:45 +01:00
Yannick Mauray 757961bf62
fix: fixed error in PR #79 2022-10-06 00:25:35 +02:00
Yannick Mauray 843e0901e3
fix: fixed error in PR #76 2022-10-06 00:20:57 +02:00
Yannick Mauray 8aaa63b93a
fix: fixed error in PR #70 2022-10-06 00:17:37 +02:00
gnuhead-chieb a24caa02dc
Add Japanese Translation (#70)
There's a problem in `lib/src/supported_locales.dart` but I'll fix it. Thanks !
2022-10-06 00:16:21 +02:00
jmmanzano f5b8d3bf27
Added Spanish translation (#58)
Thank you very much, I am sorry it took so long to be merged !
2022-02-24 23:44:04 +01:00
Yannick Mauray f23dae3118
Fixed : notification text. 2022-02-24 23:40:55 +01:00
Yannick Mauray 08d11e69a8
Cosmetics 2022-02-24 23:27:53 +01:00
Yannick Mauray 42b38412a9
Compatibility with aria2c 2022-02-24 23:26:15 +01:00
Yannick Mauray 684a939cf7
Code cleanup 2022-01-04 01:34:07 +01:00
Yannick Mauray 0837bf9d80
Source code formated at 80 columns. 2021-12-21 22:17:04 +01:00
Yannick Mauray 101b6f1dc7
Added : distro icons in the download manager. 2021-12-19 01:16:05 +01:00
Yannick Mauray eedd30a5c8
Fixed : missing padding 2021-12-19 01:11:09 +01:00
Yannick Mauray b7f4662aec
Merge remote-tracking branch 'origin/main' into main 2021-12-16 21:48:44 +01:00
Ricardo Simões 757c035010
Added Portuguese European (pt_PT) translation (#55)
* added 'pt_PT' translation

Added pt_PT (Portuguese European) translation

* Added pt_PT locale to supported_locales.dart
2021-12-16 21:47:46 +01:00
Yannick Mauray 75cfc5c13b
Fix: black screen on startup
When user preferences did not exist, there was a chance to get a black screen on startup.
2021-12-16 21:46:18 +01:00
Mark Johnson 4b515ef6c8 Check for supported terminal emulators before activating SSH button. 2021-12-15 21:57:49 +00:00
Mark Johnson 0c2c15481a Support more terminal emulators 2021-12-15 21:37:58 +00:00
Yannick Mauray 4bc479d392
Fixed: remove unwanted text. 2021-12-10 00:55:53 +01:00
Yannick Mauray 4684e779b9
Fixed: removed 'cy', 'gd' and 'oc' as from locales
Flutter doesn't support those locales, and the app crashes if they are activated.
2021-12-10 00:39:01 +01:00
Yannick Mauray c00526a5be
Added: settings entry to switch the locale dynamically. 2021-12-10 00:37:17 +01:00
Yannick Mauray 118d39659c
Fixed/Added/Reordered supported languages. 2021-12-09 21:56:29 +01:00
paadza ed636d0854
Added Czech translation. (#47)
* Added Czech translation.

* Added locale cs_CZ for the Czech language to lib/src/app.dart.

* Added Download cancelled string as per PR #42 to the Czech translation.

Co-authored-by: Yannick Mauray <yannick.mauray@gmail.com>
2021-12-09 21:47:17 +01:00
Ben Hall 35f11fbf67
Simple check for negative process.exitCode when active download is cancelled re #41 (#42)
* slight improvements to italian

* some corrections thanks to Alessandro Volturno

* consistently dithering is better than inconsistency

* Simple check for negative process.exitCode when active download is cancelled re #41

* added cancel download to pot

* Suggested translations added to existing lanquages

* First addition missed the italian evolution

Co-authored-by: Phil Clifford <philip.clifford@gmail.com>
Co-authored-by: Yannick Mauray <yannick.mauray@gmail.com>
2021-12-09 21:42:42 +01:00
Mejans 847b12108d
i18n: adds Occitan locale (#36)
* Adds Occitan

* Add files via upload

* Update oc.po

Co-authored-by: Yannick Mauray <yannick.mauray@gmail.com>
2021-12-09 21:40:58 +01:00
Phil Clifford 29381f7214
Dutch, Norwegian, Russian and Welsh (#33)
* Dutch, Norwegian and Russian

A little knowledge is a dangerous thing, but a little ML and
crowdsourcing can make you feel less nervous.

* Adding Welsh

* first cut at Welsh added

* updates to supported locales list

* Generous corrections from Sadykhzadeh applied
2021-12-09 21:37:05 +01:00
Phil Clifford 8d512d5109
Scots gaelic (#24)
* starting Scottish

* Initial attempt at Gàidhlig na h-Alba

* Updated pot addressed

* Tweaks, updates and satisfying the inspector

* Scots Gaelic added to locales in app.dart

* little improvements
2021-12-09 21:36:51 +01:00
Ben Hall 4c17797603
Added check for ports file when launching a new VM re #28 (#29) 2021-11-15 22:56:49 +01:00
Phil Clifford 5afb732f5e
Italian translation (#23)
* starting italian

* First attempt at Itialian

* front matter tweaks

* Updated pot addressed

* satisfy the inspector

* more little corrections

* Adding it to app.dart supported locale list
2021-11-15 22:52:10 +01:00
Yannick Mauray 2602f36fb8
Closes #25 : text on "Cancel/Close" button not visible 2021-11-14 23:30:55 +01:00
Yannick Mauray 20c97e1906
Remove useless comment 2021-11-14 23:30:03 +01:00
Yannick Mauray bd1fa1b937
Fixed various i18n issues 2021-11-14 21:58:37 +01:00
Yannick Mauray 62d4049710
Formatting issues 2021-11-14 21:31:51 +01:00