Commit Graph
24416 Commits
Author SHA1 Message Date
Henrik Rydgård d63e044d4b Merge pull request #11152 from unknownbrackets/debugger-http
Move internal webserver to Core, add WebSocket stuff
2018-06-08 09:27:34 +02:00
Henrik Rydgård 15737c4139 Merge pull request #11155 from unknownbrackets/ipv6
net: Use WSAAddressToString for Windows XP
2018-06-08 09:26:19 +02:00
Unknown W. Brackets df72abcd62 net: Use WSAAddressToString for Windows XP.
Unfortunately, we don't have inet_ntop on older Windows.
2018-06-07 23:22:28 -07: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
Unknown W. Brackets 042256337a thread: Add a simple thread executor. 2018-06-07 14:11:52 -07:00
Unknown W. Brackets 403632b4ca http: Correct WebSocket close when code missing. 2018-06-07 14:11:52 -07:00
Unknown W. Brackets 0fb15fc0d0 http: Use a buffer for WebSocket output.
This way we can more safely write as much as we want.
2018-06-07 14:11:52 -07:00
Unknown W. Brackets 556a46f9d5 http: Allow selecting a WebSocket subprotocol. 2018-06-07 14:11:52 -07:00
Unknown W. Brackets 8b094f8c6f http: Allow fragmented data for WebSocket. 2018-06-07 14:11:52 -07:00
Unknown W. Brackets b75b6801c8 http: Add a simple WebSocket server class. 2018-06-07 14:11:52 -07:00
Unknown W. Brackets 65d072c7b0 http: Add some operations to avoid blocking. 2018-06-07 14:11:52 -07:00
Henrik Rydgård e4aef7209f Merge pull request #11148 from unknownbrackets/debugger-arm
Enable debugger / breakpoints / stepping on ARM / ARM64
2018-06-07 18:44:40 +02:00
Henrik Rydgård 3ed9d0bc07 Merge pull request #11147 from unknownbrackets/sdl-gl
SDL: Fix EGL build
2018-06-07 09:31:35 +02:00
Unknown W. Brackets 4c3fe47372 jit: Remove unused breakpoint code. 2018-06-06 17:31:56 -07:00
Unknown W. Brackets 5510a69d41 armjit: Enable breakpoints. 2018-06-06 17:31:56 -07:00
Unknown W. Brackets eb4b59b530 arm64jit: Enable breakpoints.
Memory breakpoints not yet really tested.
2018-06-06 17:31:56 -07:00
Unknown W. Brackets 395ac32d63 Debugger: Run memory breakpoints on mobile. 2018-06-06 17:31:56 -07:00
Unknown W. Brackets ffa4c18f6c Core: Remove sleep on stepping.
This doesn't seem needed and has been there since day 1.
2018-06-06 17:31:56 -07:00
Unknown W. Brackets 97b0c17038 Core: Wake up inactive waits on game exit.
Fixes menu hangs since the refactor.
2018-06-06 17:31:56 -07:00
Unknown W. Brackets 3c8cc5ab64 Debugger: Fix initialization issues.
Sometimes temp breakpoints had log set by accident.
2018-06-06 17:31:56 -07:00
Unknown W. Brackets 2e2d8f2989 Core: Process stepping on other platforms.
This includes Android.
2018-06-06 17:31:56 -07:00
Unknown W. Brackets c15ade3b1b Core: Refactor stepping and locking.
This should fix some race conditions with the cond vars.
2018-06-06 17:31:56 -07:00
Henrik Rydgård 6bf6490c2f Merge pull request #11128 from unknownbrackets/gpu-minor
Minor framebuffer code cleanup
2018-06-06 22:28:35 +02:00
Henrik Rydgård 03175b74ef Merge pull request #10957 from unknownbrackets/depal-bounds2
GPU: Dirty tex when clearing or rendering to self
2018-06-06 22:22:01 +02: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
Henrik Rydgård df699c67b2 Merge pull request #10960 from unknownbrackets/debugger-json
Switch json to gason, include json writer in build
2018-06-06 21:19:13 +02:00
Henrik Rydgård f9cfb05895 Merge pull request #10987 from unknownbrackets/debugger-core
Improve debugger threadsafety and consistency
2018-06-06 21:10:14 +02:00
Henrik Rydgård bc6f211724 Merge pull request #11093 from unknownbrackets/debugger-armips
Include armips assembler in build
2018-06-06 20:41:20 +02:00
Henrik Rydgård 9f1125ae33 Merge pull request #11078 from unknownbrackets/debugger-spline
GE Debugger: Show bezier/spline in preview
2018-06-06 20:40:10 +02:00
Henrik Rydgård 708ea740d2 Merge pull request #11094 from unknownbrackets/ctrl-minor
Ctrl: Always mark non-user buttons released.
2018-06-06 20:15:23 +02:00
Henrik Rydgård 3d12f9acc2 Merge pull request #11132 from unknownbrackets/reporting
Reporting: Provide suggestions on negative compat reports
2018-06-06 20:14:58 +02:00
Henrik Rydgård 67fec95c59 Merge pull request #11145 from unknownbrackets/qt-texreplace
Qt: Load texture replacement images
2018-06-06 20:14:33 +02:00
Henrik Rydgård 347721f200 Merge pull request #10981 from unknownbrackets/flat-shade
Use software transform for flat shading and fix colors
2018-06-06 19:05:54 +02:00
Henrik Rydgård 46683c514c Merge pull request #11097 from unknownbrackets/sas-minor
Sas: Correct delay in playing samples
2018-06-06 18:54:03 +02:00
Henrik Rydgård f7d7aee58e Merge pull request #11130 from unknownbrackets/qt-debugger
Remove Qt debugger
2018-06-06 18:40:48 +02:00
Unknown W. Brackets f0be2d5f88 UI: Quit sorting when done.
This will prevent keeping the gameInfo objects alive unnecessarily.
2018-06-06 18:39:21 +02:00
Unknown W. Brackets 4fb606839c UI: Add option to sort saves by size.
It may be slow with many saves, but it's also very useful.  It doesn't
seem too bad as an option.
2018-06-06 18:39:21 +02:00
Unknown W. Brackets 88c40442e3 Merge pull request #10920 from hrydgard/opengl-default-gpu-amd
OpenGL: Similar to NvOptimusEnablement, use AmdPowerXPressRequestHighPerformance
2018-06-06 09:19:12 -04:00
Unknown W. Brackets 191af89195 Merge pull request #11107 from jbeich/cityhash
Unbreak -march=native build on x86
2018-06-06 09:18:16 -04:00
Unknown W. Brackets 289928a170 Sas: Correct calculation of VAG end.
Not sure why everything is negative one indexed, but this prevents reading
beyond the size of the buffer.

This shouldn't change sound output, but it may fix a crash if VAG is at
the edge of memory (unlikely, though.)
2018-06-06 06:08:31 -07:00
Unknown W. Brackets b56e3e8e94 Sas: Correct delay in playing samples.
We still need to walk during the delay to "use it up."  Need to test more
to see if we can just walk once directly into ATTACK - might depend on
pitch.

This also makes the first play ignore the resampleHist, which matches
samples to tests properly, and ignores linear interp for exact pitch.

These changes fix all the sascore tests that used to work.
2018-06-06 06:04:25 -07: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 b56249eec1 json: Avoid encoding inf/nan in JSON.
It doesn't support them.  The common workaround is to use null.
2018-06-06 05:59:34 -07:00
Unknown W. Brackets 2e3021da0c json: Be precise by default. 2018-06-06 05:59:34 -07:00
Unknown W. Brackets b658130924 json: Fix formatting of nested arrays/objects. 2018-06-06 05:59:34 -07:00
Unknown W. Brackets 03cc4eab01 json: Allow formatting read json back to writer. 2018-06-06 05:59:34 -07:00
Unknown W. Brackets fb876e78c0 json: Actually include in build. 2018-06-06 05:59:33 -07:00
Unknown W. Brackets dfef902cdb json: Escape strings in the json writer. 2018-06-06 05:59:33 -07:00
Unknown W. Brackets e21753bc93 Debugger: Add assembler to build. 2018-06-06 05:59:24 -07:00
Unknown W. Brackets 9aad4dc848 GE Debugger: Cleaned repetition in spline preview. 2018-06-06 05:59:14 -07:00