Commit Graph

130 Commits

Author SHA1 Message Date
lainon fec708489a Correct cleaning string and remove unused vars 2022-09-30 12:26:30 +03:00
Unknown W. Brackets aad5082d55 Config: Move recent ISOs access to accessors. 2022-07-11 20:44:13 -07:00
Unknown W. Brackets b0dbdb4dda UI: Reset ZIP install errors for new ZIPs. 2022-01-17 09:15:39 -08:00
Henrik Rydgård 7ec60f28b3 Paper over a race condition slightly better. Really need to redo sync here. 2021-10-08 00:11:44 +02:00
Unknown W. Brackets 1f3d31f687 UI: Fix game installer extension check. 2021-09-26 09:36:52 -07:00
Unknown W. Brackets afcf6d8e65 http: Specify expected mime types in downloads. 2021-08-22 10:03:59 -07:00
Henrik Rydgård 43ba908225 Propagate errors from file identification upwards better. 2021-08-07 11:54:45 +02:00
Henrik Rydgård 3737daaf0c Address more feedback, warning fix 2021-06-07 00:26:26 +02:00
Henrik Rydgård ad72dc8748 Can now install to but not run homebrew from content uri 2021-06-07 00:24:52 +02:00
Henrik Rydgård 2f31cb12fb Add support for writing to file. Basics work now (having memstick on a content path) 2021-06-07 00:24:52 +02:00
Unknown W. Brackets d376e67f87 Common: Cleanup some Path constructions. 2021-05-14 22:48:04 -07:00
Unknown W. Brackets 2a9170a2ea http: Use Path for the download file. 2021-05-14 22:46:03 -07:00
Henrik Rydgård 5cd565d327 Fix path bug installing homebrew 2021-05-13 11:08:27 +02:00
Unknown W. Brackets 66b7e21676 GameManager: Base isDir off of zipped file name. 2021-05-13 10:39:17 +02:00
Henrik Rydgård 4d344f556a Additional feedback. 2021-05-13 10:39:17 +02:00
Henrik Rydgård 2e16e83159 It never ends... 2021-05-13 10:39:16 +02:00
Henrik Rydgård ae06499a0c Change Copy, Rename to use Path. Remove std::string version of Exists().
Buildfixes

Buildfix
2021-05-13 10:39:16 +02:00
Henrik Rydgård 0d80362c30 Change parameter of DeleteDir and friends to Path 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
Unknown W. Brackets 18a51b8e97 Update libzip to 1.7.3. 2021-05-09 20:45:53 -07:00
Unknown W. Brackets 20443571bd Store: Retain cancel/speed on resize or switch. 2021-05-01 11:20:05 -07:00
Unknown W. Brackets 2f08fb6583 Store: Show a rough speed indicator.
Some of the homebrew are a bit larger, it's nice to see a speed and not
just the progress bar.
2021-05-01 11:20:05 -07:00
Unknown W. Brackets b60074f697 http: Prevent Windows header leak from HTTPClient. 2021-01-09 14:45:03 -08: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 9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +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 5eb13378c6 Remove base/logging from a lot more files in native 2020-08-15 19:09:00 +02:00
Unknown W. Brackets 850df75c45 Merge remote branch remove-sstream-from-stringutil. 2020-08-10 07:18:49 -07:00
Henrik Rydgård 5ec2da0f2d Move Section out of IniFile so it can be forward declared. Unlocked further improvements to build speed. 2020-08-10 15:53:52 +02:00
Henrik Rydgård 62a8329c33 Remove sstream from stringutil.h. See #13267 2020-08-10 14:33:00 +02:00
Unknown W. Brackets cb1b7b1e43 Core: Bring over some file related Switch changes.
Reducing the distance from the Switch port code.
2020-03-03 22:53:03 -08: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
Unknown W. Brackets 913121cf2b Io: Consistently use error codes with OpenFile().
This gets rid of OpenWithError(), and just always returns a negative value
on error for OpenFile().  Also fixed the sequence rollover, which could've
returned 0.

0 should be considered a valid handle ideally, but left it never returning
0 to simplify cleanup in some areas.
2019-10-20 11:03:37 -07:00
Unknown W. Brackets 1307273dd7 UI: Cleanup install threads from UI thread. 2019-09-28 11:39:58 -07:00
Henrik Rydgård ccf63ef544 Fix crash in zip handling 2019-09-27 22:55:39 +02:00
Unknown W. Brackets fbcfd77402 UI: Support zip files with deep folder structures.
This will extract the level that has textures.ini, but it doesn't really
handle skipping other folders properly.
2019-07-27 06:17:56 -07:00
Unknown W. Brackets 4832434865 UI: Fix zip leak in error case. 2019-07-15 20:57:43 -07:00
Henrik Rydgård 3f134606e4 Merge pull request #12175 from unknownbrackets/texreplace-install
UI: Allow installing texture packs from zips
2019-07-15 22:03:31 +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
Unknown W. Brackets 07b5470827 UI: Fix type comparison warning. 2019-07-14 15:07:47 -07:00
Henrik Rydgård 274a8d7538 Address review feedback, thanks unknownbrackets 2019-07-14 11:32:32 +02:00
Henrik Rydgård 66c3f31ff9 More GameManager improvements. 2019-07-13 18:19:44 +02:00
Henrik Rydgård aca0f35bdf Fix build error on non-windows 2019-07-13 18:19:43 +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 663f10d08b GameManager: Actually allow installing ISOs from zip files. Refactor. 2019-07-13 18:19:43 +02:00
Henrik Rydgård 4d30a8d04e Start refactoring GameManager zip handling to easier support ISOs in zips 2019-07-13 18:19:43 +02:00
Henrik Rydgård 66dc0ea62f Typo fix 2017-05-19 11:23:22 +02:00
Henrik Rydgård d0613511b2 Many reported ANRs were from homebrew installs. Make sure installs run on the background thread. 2017-05-18 14:21:13 +02:00
Henrik Rydgard b1a530b3a5 Use the root of the memstick as a tempdir for downloads. Should help #8711 2017-04-07 09:58:36 +02: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