hrydgard/ppsspp — pull request #859 by unknownbrackets (2013-03-04 08:17:51+00:00)
Title: Server reporting (off by default)

This is basic support, there's lots of future room for improvement.

Includes:
* Buildfix for Android / iOS.
* ppsspp.ini setting: "" disables forever, "default" allows emu to decide (disabled right now), otherwise hostname of server to POST to.
* Some reporting calls for unimplemented instructions, etc.
* Launching a thread so the HTTP doesn't block (attempted to make this as quick as possible.)
* Spam limiting so it will abort if > 100 reports are sent per session (in case a game goes bonkers.)

Could in the future:
* Report more situations.
* Have UI to enable/disable (probably should before enabling...)
* Have UI to report a game is working / isn't working.
* Include more sysinfo (CPU, platform, GPU, etc.)
* Include a screenshot of the game.
* Gather performance metrics in key places.
* Maybe report crashes? Probably better to let breakpad do that...

Haven't bothered myself to write a server for it yet but I've tested that it does post proper data. I think we might as well merge, mostly because I keep rebasing and getting those annoying vcxproj reload warnings, but also so we can add more appropriate reporting calls as desired, and when there is a server do wider-scale testing.

But we can hold off too, if so I'll separate out the buildfix. Found it while making sure I wouldn't break the build at least obviously.

-[Unknown]