Commit Graph

107 Commits

Author SHA1 Message Date
iota97
e3c130d238 Rebase on master 2020-03-01 15:34:35 +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
13f87301cf
Merge pull request #12371 from unknownbrackets/thread-detach
Avoid thread.detach(), join when needed instead
2019-10-07 20:27:42 +02:00
Unknown W. Brackets
d00eff7137 UI: Allow pinning remote ISO paths. 2019-10-06 12:40:00 -07:00
Unknown W. Brackets
e5eb849e8b UI: Handle remote browsing asynchronously. 2019-10-06 12:06:57 -07:00
Unknown W. Brackets
2d7ce0afa3 UI: Allow remote paths to be pinned.
Currently, the listing request is synchronous, but it works fine
otherwise.
2019-10-06 09:31:06 -07:00
Unknown W. Brackets
3e12734b80 http: Use relative paths for remote isos. 2019-10-06 08:50:35 -07:00
Unknown W. Brackets
2db8c89607 http: Avoid detaching threads, join instead. 2019-09-28 10:48:07 -07:00
Unknown W. Brackets
fb2ce46eca UI: Add a note for HTML link parsing.
It's a bit messy but should probably do this eventually.
2019-06-23 13:34:54 -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
1428684d1d http: Check for available discs before connecting.
This prevents trying to connect to a device serving only a debugger.
2018-12-21 22:41:02 -08:00
Unknown W. Brackets
02b418e711 http: Allow pbp and ppdmp files too.
Also cleanup a bit.
2018-10-07 14:53:38 -07:00
Henrik Rydgård
eddaf97938 Add submodules, namespace json to prepare for the addition of rapidjson (sigh) 2018-08-13 00:18:54 +02:00
Unknown W. Brackets
3a8a2ff933 http: Move web server to core and use flags.
This way we can independently control the debugger and disc sharing, since
debugger could have security impact.
2018-06-07 16:28:01 -07:00
Henrik Rydgård
a08fb8bd22
Merge pull request #11004 from unknownbrackets/ipv6
Enable IPv6 for reporting / sharing / etc.
2018-06-06 21:24:04 +02:00
Unknown W. Brackets
082ddf5120 json: Switch to gason instead of vjson.
From the same author.  Most importantly, reads numbers as doubles rather
than as signed ints and floats.  This allows us to actually read 32 bit
unsigned int parameters.

Moved all the native customization to a separate json_reader.cpp.
2018-06-06 05:59:35 -07:00
Unknown W. Brackets
5b95de663e net: Listen on ipv6 and ipv4.
Hurray, no longer "part of the problem" for ipv4.
2018-06-06 05:59:07 -07:00
Unknown W. Brackets
ca4340b9e0 net: Support ipv6 lookups.
We try to connect() to both, so should still be safe in environments where
ipv6 is broken.
2018-06-06 05:59:07 -07:00
Henrik Rydgård
4a3692161b Show chosen postshader display name properly, plus some additional bugfixes. Fixes #10790 2018-03-25 14:42:48 +02:00
Henrik Rydgård
4f1e0de9a9 Add missing includes. Remove some more unnecessary #ifdef _DEBUG checks - the debugger is supposed to work in release mode too. 2017-12-20 11:24:05 +01:00
Unknown W. Brackets
721f5877eb http: Allow sharing automatically on PPSSPP start.
Since that might always be something you want, on your desktop.
2017-12-10 18:30:28 -08:00
Henrik Rydgård
3222af5f7a Make remoteiso_subdir and server editable on Android. Fixes #10142. Really need a better mechanism for these fields. 2017-11-16 13:33:10 +01:00
vnctdj
15c983a382 Add a new translation category for the remote ISO feature 2017-08-16 23:39:30 +02:00
vnctdj
697cfb0223 Reuse some already translated strings 2017-08-14 12:08:03 +02:00
Unknown W. Brackets
5f54726d03 http: Add an additional cancel check. 2017-03-22 00:06:02 -07:00
Unknown W. Brackets
abe4b750cc UI: Keep Back buttons consistent in http settings.
Also, prevent changing server port while serving.
2017-03-22 00:03:45 -07:00
Unknown W. Brackets
2faaf0a9fa http: Cancel remote server connects faster.
This way the UI doesn't appear to hang when you click cancel.
2017-03-22 00:03:08 -07:00
Unknown W. Brackets
073e056369 UI: Allow overriding dialog logic on finish.
This seems cleaner.
2017-03-19 17:43:03 -07:00
Unknown W. Brackets
9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00
Fireball Wayne
9ea7d347c1 Remoteiso better http header detection 2017-03-12 01:15:40 -05:00
Fireball Wayne
88760b2f61 RemoteISO relax subdir restrictions 2017-03-11 01:53:16 -05:00
Fireball Wayne
c394b9e26c RemoteISO moved settings to connection screen. 2017-03-11 00:46:51 -05:00
Fireball Wayne
768da4b2ca RemoteIso backend changes requested 2017-03-11 00:46:50 -05:00
Fireball Wayne
ed046079a5 Function name change, additional comments, code cleanup for remote disc streaming 2017-03-11 00:46:50 -05:00
Fireball Wayne
6dd0f7a152 Remoteiso Manual Mode Backend 2017-03-11 00:46:48 -05:00
Fireball Wayne
8853b72684 Resolve conflict on http::client get 2017-03-11 00:23:49 -05:00
Henrik Rydgård
440e72d250 Clean up among the logs. Remove MASTER_LOG. 2017-03-06 13:10:23 +01:00
Henrik Rydgard
26a2d42731 Big mutex overhaul - remove our custom ones, make them non-recursive where possible 2017-02-28 11:40:29 +01:00
Henrik Rydgard
50be4e72b2 Get rid of our own silly reimplementation of std::thread 2017-02-27 20:51:36 +01:00
Fireball Wayne
6bbbb11518 Remove net::init() 2017-02-14 19:16:52 -05:00
Fireball Wayne
a404138f82 Remember Last Remote ISO server 2017-02-14 19:16:51 -05:00
Henrik Rydgard
cbf24a9d78 Get rid of "AutoInit", instead always keep the network initialized.
See #9305
2017-02-14 13:12:02 +01:00
Unknown W. Brackets
3c47440d0c http: Set an explicit timeout on HTTP connect.
Before we were just relying on whatever timeout connect() wanted.
2016-07-04 09:46:19 -07:00
Unknown W. Brackets
f53735f1d8 http: Add a safety bailout on list load.
Hopefully this will prevent a crash.  Currently http::Client uses blocking
reads so it will just hang.
2016-07-04 07:32:49 -07:00
Unknown W. Brackets
287d1967a5 http: Properly stop server on stop server. 2016-07-04 07:24:04 -07:00
Unknown W. Brackets
c793efd69a http: Load actual game list. 2016-07-04 00:16:58 -07:00
Unknown W. Brackets
c3e70c11f8 http: Save last-used port.
This is necessary for better caching, in case you share often.
2016-07-03 22:13:54 -07:00
Unknown W. Brackets
66479add92 http: Disallow browsing when sharing.
Because it's probably not what you want to do.  This is less confusing.
2016-07-03 22:13:53 -07:00
Unknown W. Brackets
2b613443cd http: Fix paths with spaces in them.
Should ideally escape other characters, but only space is necessary for
our server to parse.
2016-07-03 22:13:53 -07:00
Unknown W. Brackets
60afdc40b9 http: Implement discovery for game share server. 2016-07-03 22:13:51 -07:00
Unknown W. Brackets
3eee81953a http: Report local address to server.
This allows matching inside a network.
2016-07-03 22:13:51 -07:00
Unknown W. Brackets
bde07bf9e7 http: Fix translations. 2016-07-03 22:13:50 -07:00
Unknown W. Brackets
42080f05e2 http: Show a stopping status for clarity. 2016-07-03 22:13:49 -07:00
Unknown W. Brackets
a67c103063 http: Add a note about the recent list. 2016-07-03 22:13:49 -07:00
Unknown W. Brackets
bc614b6f85 http: Add actual serving of recent ISOs. 2016-07-03 22:13:48 -07:00
Unknown W. Brackets
0edc4d1652 http: Check server status asynchronously. 2016-07-03 22:13:47 -07:00
Unknown W. Brackets
f4e2ca0359 http: Add a screen under tools for the server. 2016-07-03 22:13:47 -07:00