Commit Graph

27 Commits

Author SHA1 Message Date
Unknown W. Brackets
b0dbdb4dda UI: Reset ZIP install errors for new ZIPs. 2022-01-17 09:15:39 -08:00
Henrik Rydgård
2e16e83159 It never ends... 2021-05-13 10:39:16 +02:00
Henrik Rydgård
025bcb1673 Introduce Path, start using it all over the place.
Still lots left to convert!

Convert GetSysDirectory to return Path.

More buildfixing

Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Henrik Rydgård
08843673d9 Rename a couple of functions. 2021-04-25 20:39:32 +02:00
Henrik Rydgård
1b13badeb4 Move remaining FileUtil functions into the File namespace. 2021-04-25 20:38:22 +02:00
Henrik Rydgård
cf092eb534 Fix crash when drag-dropping texture packs. Fixes the main part of #13614 .
Still some weirdness going on with error checking though.
2020-11-15 23:09:10 +01:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
6f1915110f Remove base/logging from UI and more 2020-08-15 19:08:54 +02:00
Henrik Rydgård
3cc20e5550 Sneak in some paranoia in InstallZipScreen.cpp (another one from #13057) 2020-07-05 01:49:34 +02:00
Henrik Rydgård
45d94c4877 Switch all images to dynamic lookup in the atlas by string ID.
SLN fix

It works, but with the wrong images and the wrong characters!

Fix another bug in atlastool's binary output

Get Android building again.

Oops, didn't mean to disable this permanently.

Error checking

Minor cleanup

Gotta tweak my git ignores...

Regenerate metadata
2020-03-01 12:06:47 +01:00
Unknown W. Brackets
5009698cc0 Core: Use a shared_ptr for i18n categories.
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
Henrik Rydgård
a461dbeecb Fix crash in Zip UI. Make another crash happen earlier. 2019-09-27 22:56:37 +02:00
Unknown W. Brackets
8aed212952 UI: Allow installing texture packs from zips.
Requires the textures.ini to have a [games] section.
2019-07-14 17:43:51 -07:00
Henrik Rydgård
66c3f31ff9 More GameManager improvements. 2019-07-13 18:19:44 +02:00
Henrik Rydgård
0e978ba2e3 Pre-check the contents of ZIP files before allowing install. 2019-07-13 18:19:43 +02:00
Henrik Rydgård
259cb0f128 Fix issue where too long filenames could wreck the Install Zip dialog layout.
Well, technically just shortens the path to avoid the issue.
2019-02-10 15:55:00 +01:00
Unknown W. Brackets
9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00
Henrik Rydgård
85c8d9b806 Homebrew Store: Add support for cancelling downloads, fix progress bar. Fixes #9374 2017-03-06 16:03:05 +01:00
Henrik Rydgard
e3bbf26731 Improve input event handling. Can now map volume keys on Android without issues. 2014-06-15 13:04:59 +02:00
Henrik Rydgård
37de6eee0f Improved error handling in ZIP installer 2013-12-06 15:29:14 +01:00
Henrik Rydgård
c262e47bdc Error handling on disk full when installing zip files 2013-12-06 12:49:57 +01:00
Henrik Rydgård
cc22a70667 Show the homebrew & demos tab after having installed a zip file. 2013-12-06 12:29:27 +01:00
Henrik Rydgård
3ab1aeb9ef Install zip file screen: Add working progress bar for install. 2013-12-05 17:49:37 +01:00
Sacha
31af63adf4 Buildfix: Another string::back() and including a .cpp? 2013-12-06 01:04:50 +10:00
Henrik Rydgård
da73a96cec Fix black screen when backing out of InstallZipScreen 2013-12-05 14:25:18 +01:00
Henrik Rydgård
d6c8c6cfa0 If the user opens a ZIP file, offer to install it (it will show up in Homebrew & Demos).
No progress bar yet, it just freezes during install.
2013-12-05 14:21:07 +01:00