Commit graph

29892 commits

Author SHA1 Message Date
Henrik Rydgård
40fb114f60 Delete a couple unused constructors of IOFile 2021-06-07 00:24:51 +02:00
Henrik Rydgård
a2fa724d8e Convert GetFileSize to use Path 2021-06-07 00:24:51 +02:00
Henrik Rydgård
1f018d33c5 Start work on supporting Android Content URIs in the FileUtil API.
Add tentative Android Content URI support to much of FileUtil.h.

Buildfix

Fix some issues with the file browser in storage URIs.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
b397e5c455 Assorted plumbing.
wip

Buildfix
2021-06-07 00:24:51 +02:00
Henrik Rydgård
beb0b4e9f3 More work on AndroidStorageFileSystem.cpp. Fix current directory getting reset. 2021-06-07 00:24:51 +02:00
Henrik Rydgård
ef607a5fe2 Implement a "FileSystem" that wraps Android content storage. So far unused. 2021-06-07 00:24:51 +02:00
Henrik Rydgård
e3cf04bb34 Implement file filters for Android in PathBrowser
asdf

Move Android file listing parsing logic into app-android.cpp.

Add utility for parsing/writing Android Content Storage URIs.

Fix some bugs. Allow upwards navigation in file browser from directories downstream from tree URIs.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
87a25fd230 Start experimenting with DocumentsContract (the thing DocumentFile wraps)
wip

Some progress towards making the file browser work with DOCUMENT_TREE

More directory browsing progress

More Scoped Storage hackery. Can now browse to a folder and use PPSSPP's game browser to load ISOs from it.

Remove the defunct fdopendir approach. Buildfixes.
2021-06-07 00:24:51 +02:00
Henrik Rydgård
5030f1f719 Android: Get things playable on scoped storage. Things work except the built-in file browser. 2021-06-07 00:24:51 +02:00
Henrik Rydgård
88b2552d64 Turn on scoped storage, for the purposes of testing on this branch. 2021-06-07 00:24:50 +02:00
Henrik Rydgård
66a52e7fc9
Merge pull request #14512 from unknownbrackets/dxt-bounds
GPU: Clamp DXT texture memory bound
2021-06-06 23:10:39 +02:00
Henrik Rydgård
3d0a09f8db
Merge pull request #14510 from unknownbrackets/io-tty
Io: Allow opening tty0: for output
2021-06-06 23:09:23 +02:00
Henrik Rydgård
e6774b48e2
Merge pull request #14509 from unknownbrackets/reporting
Reporting: Move message report interface to Common
2021-06-06 23:05:18 +02:00
Unknown W. Brackets
1f6860d6c1 GPU: Clamp DXT texture memory bound.
See #13109.  This should handle any texture read that starts near a VRAM
or RAM boundary without crashing.
2021-06-06 11:52:26 -07:00
Unknown W. Brackets
9324a1c20b Io: Don't confuse kernel object with meta handle.
Make sure we never try to close an unrelated open file when destroying an
async open temporary file node.
2021-06-06 09:58:46 -07:00
Unknown W. Brackets
294f78dec9 Io: Allow opening tty0: for output. 2021-06-06 09:56:41 -07:00
Unknown W. Brackets
64678e0114 Reporting: Move message report interface to Common.
This makes it so we can call reporting from Common.
2021-06-06 09:22:03 -07:00
Henrik Rydgård
c8cf2ce5c6
Merge pull request #14507 from unknownbrackets/ignore
Global: Tether wildcard git ignore rules
2021-06-06 09:59:47 +02:00
Unknown W. Brackets
18930b980f Global: Tether wildcard git ignore rules.
This way they won't impact files unexpectedly.
2021-06-05 21:58:52 -07:00
Henrik Rydgård
69fa207449
Merge pull request #14492 from ANR2ME/adhoc_gamemode
[AdhocGameMode] Create GameMode's socket after Master and all Replicas have been created
2021-06-05 17:37:52 +02:00
Unknown W. Brackets
09bd12f6c9
Merge pull request #14502 from Kingcom/armips
Transform labels to lower case for armips
2021-06-04 23:59:32 -07:00
Unknown W. Brackets
5c9bb83e37
Build: Disable NEON png on non-Android too.
Just to be safe.  It's likely a problem on iOS, etc. too.
2021-06-04 20:30:57 -07:00
Unknown W. Brackets
ebfa1306a7
Merge pull request #14503 from twinaphex/patch-1
Update .gitlab-ci.yml for libretro
2021-06-04 13:54:39 -07:00
Autechre
d469a493dd
Update .gitlab-ci.yml 2021-06-04 20:12:57 +02:00
Kingcom
bb6f6051fc Transform labels to lower case for armips 2021-06-04 17:51:28 +02:00
Henrik Rydgård
4a48f80638
Merge pull request #14501 from LunaMoo/disableNEONforPNG
Disable NEON optimizations for libpng17 as a try to fix #14485
2021-06-04 10:58:11 +02:00
LunaMoo
c6b5eef347 Disable NEON optimizations for libpng17 as a try to fix android texture replacement. 2021-06-04 10:26:52 +02:00
Henrik Rydgård
0d96690188
Merge pull request #14496 from unknownbrackets/ios-buttons
iOS: Guard extended button selector access
2021-06-03 09:08:24 +02:00
Henrik Rydgård
138e3f7293
Merge pull request #14497 from unknownbrackets/atlastool
Tools: Correct AtlasTool in release builds
2021-06-03 09:07:46 +02:00
Unknown W. Brackets
2363b39ed5 Tools: Correct AtlasTool in release builds. 2021-06-02 22:21:41 -07:00
Unknown W. Brackets
62da29505a iOS: Guard extended button selector access.
See #14495.
2021-06-02 21:20:18 -07:00
Henrik Rydgård
914b4478b6
Merge pull request #14493 from unknownbrackets/replay
Add debugger APIs for replay recording
2021-05-31 11:45:39 +02:00
Henrik Rydgård
d5d25d3da5
Merge pull request #14494 from unknownbrackets/debugger
Debugger: Expose API to reset game
2021-05-31 11:44:42 +02:00
Unknown W. Brackets
6e128eb510 Debugger: Expose API to reset game.
This can be useful to put the game back to a known-good state before
setting up breakpoints, overwriting memory, and processing replay data.
2021-05-30 21:12:30 -07:00
Unknown W. Brackets
2af40d07bb Debugger: Fix websocket read silly mistake.
Surprised I didn't notice this before.
2021-05-30 15:25:41 -07:00
Unknown W. Brackets
ea59fa3562 Debugger: Add replay execute/flush APIs. 2021-05-30 15:25:07 -07:00
ANR2ME
7a06103cc6 Create GameMode's socket after Master and all Replicas have been created so we will know the largest buffer size. 2021-05-31 04:37:09 +07:00
Unknown W. Brackets
59322d3063
UI: Correct screenshot paths.
This was preventing screenshots from saving properly.
2021-05-30 10:29:16 -07:00
Unknown W. Brackets
01dc3c193a
Merge pull request #14489 from hrydgard/remove-multiple-config-search-paths
Remove multiple config search paths
2021-05-30 09:34:09 -07:00
Henrik Rydgård
239838b6c3 Remove the ability to have multiple search paths for config. 2021-05-30 12:45:12 +02:00
Henrik Rydgård
72915f88c8 Config: Remove the use of multiple search paths. 2021-05-30 12:39:16 +02:00
Henrik Rydgård
c803e9fc58 Remove createdPath_ from Config.cpp/h, seems pretty useless. 2021-05-30 11:10:20 +02:00
Unknown W. Brackets
1be11e8b4e
Merge pull request #14488 from hrydgard/some-path-cleanup
Rename g_Config.externalDirectory to defaultCurrentDirectory
2021-05-29 18:04:48 -07:00
Unknown W. Brackets
ec35e3c116
iOS: Correct Path assignment on init. 2021-05-29 17:32:22 -07:00
Henrik Rydgård
0328816870 Rename g_Config.externalDirectory to defaultCurrentDirectory - since that's what it was.
Also make currentDirectory a Path, and add support for Path config
parameters.

Buildfixes

More Qt buildfixes

Oops, didn't mean to change zstd ver
2021-05-30 00:49:47 +02:00
Unknown W. Brackets
85c64d3ec3 Replay: Properly load RTC time on load file. 2021-05-29 14:50:57 -07:00
Unknown W. Brackets
64e007c0ce Debugger: Add stub API for replay functionality. 2021-05-29 14:50:57 -07:00
Unknown W. Brackets
ecc2f62688
Common: Zero initialize readlink buffer.
See #14483.
2021-05-27 23:12:40 -07:00
Henrik Rydgård
b10d90306f
Merge pull request #14484 from kotcrab/http-crash
Fix crash in HTTPServer when processing invalid request
2021-05-27 15:48:22 +02:00
kotcrab
312506a41b Fix crash in HTTPServer when processing invalid request 2021-05-27 14:10:40 +02:00