Henrik Rydgård
e01ca5b057
Logging API change (refactor) ( #19324 )
...
* Rename LogType to Log
* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.
* Mac/ARM64 buildfix
* Do the same with the hle result log macros
* Rename the log names to mixed case while at it.
* iOS buildfix
* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
157f262cd2
Make some timeouts a bit more visible in the code. Some should be re-evaluated.
2024-01-24 09:50:26 +01:00
Henrik Rydgård
00f53ad767
Handle file type detection of extracted ISO directories better. Reported by Nemoumbra.
2024-01-12 15:37:53 +01:00
Unknown W. Brackets
2479d52202
Global: Reduce includes of common headers.
...
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets
4c51f4761d
http: Add Accept header as a parameter in requests.
2021-08-22 10:03:59 -07:00
Henrik Rydgård
2e16e83159
It never ends...
2021-05-13 10:39:16 +02:00
Henrik Rydgård
9480b6672b
Loaders: Rename Path() to GetPath().
...
Path is going to be a struct name.
2021-05-09 17:10:14 -07:00
Unknown W. Brackets
4462b0c612
http: Add progress to missing request.
...
Oops, I guess I had things still cached.
2021-05-02 11:31:40 -07:00
Unknown W. Brackets
3379f33882
http: Always use/require progress in requests.
...
This fixes several cases where we weren't passing cancel flags
consistently.
2021-05-01 11:20:05 -07:00
Unknown W. Brackets
1e22966984
http: Separate out net buffer code from formatting.
2021-05-01 11:20:05 -07:00
Unknown W. Brackets
a35b21a5d7
http: Set a more useful user agent.
2021-04-30 23:12:42 -07:00
Henrik Rydgård
989e353482
Common.h shouldn't include Log.h.
...
Buildfixes
More buildfixes. Move JSON code to common.
2020-10-04 11:42:14 +02:00
Henrik Rydgård
ed88761ecc
Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h.
2020-09-29 15:51:51 +02:00
Unknown W. Brackets
94e6950d48
http: Support redirects for load URL too.
...
Might as well, especially to keep old recent entries working.
2019-06-23 13:12:13 -07:00
Henrik Rydgård
83039f3f90
Remote ISO: Fix bugs from issue #12018 and probably #12019
2019-05-07 23:26:13 +02:00
Unknown W. Brackets
872fcecfad
http: Report errors reading discs.
...
For more clarity when they can't load.
2018-12-27 10:33:32 -08:00
Unknown W. Brackets
359afb2d6b
http: Add timeout on no response.
...
Firewalls can cause this, by opening a connection but never responding.
2018-12-27 10:15:58 -08:00
Unknown W. Brackets
ee5b68f1fc
Loaders: Add cancelation to all file loaders.
...
Mainly, for HTTP which might be stalled trying to connect (especially if
you're not near your PC right now and it's in your recent, for example.)
2017-12-09 16:47:37 -08:00
Simonas Kazlauskas
597a1af85c
Add conservative locking arond Caching/HTTP FLs
...
Making them hopefully thread-safe.
2017-06-24 21:06:18 +03:00
Simonas Kazlauskas
3c3596dbf2
Make the Loader API thread-safe
...
Since the majority of the code is using ReadAt API already, map this to
a `readp` "syscall" which does not mutate any state about the file
descriptor therefore making it fairly safe multi-threading wise.
This allows to get rid of read-time mutexes in RamCachedFileLoader and
therefore fixes #9803
2017-06-23 17:23:43 +03:00
Henrik Rydgard
fcbc20f240
Small changes to make Common and Core build under my preliminary UWP setup.
2017-02-24 18:59:41 +01:00
Florent Castelli
4145b60a0e
symbian: Remove!
2016-10-11 18:49:08 +02:00
Unknown W. Brackets
65c7d0bd04
Add uncached flag for file loader reads.
...
This allows us to indicate that a read need not be cached.
2016-07-04 12:07:15 -07:00
Unknown W. Brackets
429346bb94
http: Make sure we don't hang checking existence.
...
It's not great to delay loading when the server is down - we'll do a
proper check when we display the games.
This also fixes shutdown being slow.
2016-07-04 00:46:42 -07:00
Henrik Rydgard
b6e9a47974
Remove separate OpenSL .so, update native accordingly. Fix connection error reporting in HomebrewStore
2015-07-19 17:33:38 +02:00
Unknown W. Brackets
da827d9ef0
Move file loader code into directories.
...
Not making sense to put these all in the same fiel anymore.
2015-07-02 20:58:53 -07:00