Commit graph

18 commits

Author SHA1 Message Date
EverOddish 04dd91be82 Initial support for scripting (#4016)
* Add ZeroMQ external submodule

* ZeroMQ libzmq building on macOS

* Added RPC namespace, settings and logging

* Added request queue handling and new classes

* Add C++ interface to ZeroMQ

* Added start of ZeroMQ RPC Server implementation.

* Request construction and callback request handling

* Read and write memory implementation

* Add ID to request format and send reply

* Add RPC setting to macOS UI

* Fixed initialization order bug and added exception handling

* Working read-write through Python

* Update CMakeLists for libzmq to resolve target name conflict on Windows

* Platform-specific CMake definitions for Windows/non-Windows

* Add comments

* Revert "Add RPC setting to macOS UI"

* Always run RPC server instead of configurable

* Add Python scripting example. Updated .gitignore

* Rename member variables to remove trailing underscore

* Finally got libzmq external project building on macOS

* Add missing dependency during libzmq build

* Adding more missing dependencies [skip ci]

* Only build what is required from libzmq

* Extra length checks on client input

* Call InvalidateCacheRange after memory write

* Revert MinGW change. Fix clang-format. Improve error handling in request/reply. Allow any length of data read/write in Python.

* Re-organized RPC static global state into a proper class. [skip ci]

* Make sure libzmq always builds in Release mode

* Renamed Request to Packet since Request and Reply are the same thing

* Moved request fulfillment out of Packet and into RPCServer

* Change request thread from sleep to condition variable

* Remove non-blocking polling from ZMQ server code. Receive now blocks and terminates properly without sleeping. This change significantly improves script speed.

* Move scripting files to dist/ instead of src/

* C++ code review changes for jroweboy [skip ci]

* Python code review changes for jroweboy [skip ci]

* Add docstrings and tests to citra.py [skip ci]

* Add host OS check for libzmq build

* Revert "Add host OS check for libzmq build"

* Fixed a hang when emulation is stopped and restarted due to improper destruction order of ZMQ objects [skip ci]

* Add scripting directory to archive packaging [skip ci]

* Specify C/CXX compiler variables on MinGW build

* Only specify compiler on Linux mingw

* Use gcc and g++ on Windows mingw

* Specify generator for mingw

* Don't specify toolchain on windows mingw

* Changed citra.py to support Python 3 instead of Python 2

* Fix bug where RPC wouldn't restart after Stop/Start emulation

* Added copyright to headers and reorganized includes and forward declarations
2018-09-11 22:00:12 +02:00
Valentin Vanelslande 3d9ac49076
gitignore: ignore CMakeLists.txt.user* instead of CMakeLists.txt.user 2018-04-29 19:10:25 -05:00
Valentin Vanelslande 2bb2306bf5
.gitignore: Add CMakeLists.txt.user to Project/editor files 2018-03-12 18:37:12 -06:00
Subv 1f99d53e2c Add the .vs folder and the CMakeSettings.json file from Visual Studio to gitignore. 2017-09-30 11:07:57 -05:00
James Rowe b03e7bf28f Add deploy to bintray for builds to master 2016-12-31 13:54:51 -05:00
Lioncash 99f1326e81 Update gitignore with OS-specific global filetypes. 2014-12-14 17:19:47 -05:00
archshift b73cae6b75 Update gitignore to exclude project/editor files 2014-11-18 15:16:19 -08:00
Yuri Kunde Schlesner b97b2ff438 Add a Doxygen configuration file to generate source docs 2014-10-26 16:14:46 -02:00
Yuri Kunde Schlesner c57de3e404 Remove hand-crafted Visual Studio solution. 2014-09-01 18:06:30 -03:00
bunnei 4e4a028ecd citra_qt: Removed autogenerated files from repo and fixed build issues. 2014-06-22 16:37:07 -04:00
ShizZy 121960a2eb updated windows scm_rev code to use new style 2014-04-23 22:04:33 -04:00
bunnei 4405a53cf3 added scm rev generation on Linux/cmake 2014-04-23 18:43:57 -07:00
Mathieu Vaillancourt 1780f9b76a Ignore scm_rev.h and auto copy Qt dlls to bin folder on build. 2014-04-19 14:26:14 -04:00
ShizZy a7ab25441c added ipch/ folder (MSVS generated) to .gitignore 2013-09-04 23:01:55 -04:00
ShizZy 3bdd0effe1 added 'bin' folder to .gitignore 2013-09-04 22:12:40 -04:00
ShizZy 518cbf2fb0 added build directory to be ignored by git 2013-09-04 21:03:28 -04:00
ShizZy 3fc25f4801 updated .gitignore to include temporary files created by MSVS 2013-09-04 21:02:07 -04:00
shizzy1 8404376c6b Initial commit 2013-08-29 20:18:16 -07:00