Commit graph

46 commits

Author SHA1 Message Date
Cameron Cawley
c5dcd70e38 travis: Use Docker for clang-format target 2018-11-28 15:02:43 +00:00
Weiyi Wang
fc46bba4f2 CMake: disable scripting on default 2018-10-15 12:23:47 -04:00
Cameron Cawley
c220e300c5
travis: Ignore binary files when checking for trailing whitespace 2018-10-10 15:24:25 +01:00
Pengfei Zhu
c709ac0021
travis: disable scripting for transifex push job
Fixes transifex push.
2018-10-02 18:50:54 +08:00
B3n30
89a8cfcf2b OSX: Set MACOSX_DEPLOYMENT_TARGET to 10.13 2018-09-27 09:10:00 -03:00
spycrab
fb3af43444 cmake: Output binaries to bin on every platform 2018-09-24 16:36:14 +02:00
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
CaptV0rt3x
b3d3cd8556 Added missing flag for discord rpc 2018-08-20 18:50:44 +05:30
Vamsi Krishna
6cb9a45154 Add Discord Rich Presence Support (#3883)
* Initial Discord RPC support

Build with Discord Presence ON

Fix RPC detection

Fix Time elapsed on pause; will now continue to count.

* Fix CI builds with compile flag

Addressed reviews

Fix silly mistakes

Fix 'Not in-game' display

class instead of namespace

Fix

Revamped

remove redundant code

Using Pimpl pattern

* Implement Null class

* Fix config updation

* Addressed All Reviews

* externals/discord-rpc : Updated to latest commit
2018-08-20 11:20:33 +02:00
liushuyu
879290aa2b travis: use prebuilt image (#3839)
* travis: use prebuilt image

* travis: use prebuilt image (MinGW)
2018-08-07 16:54:57 +02:00
liushuyu
13049b289d
travis: add imageformats plugins (per #3891) 2018-07-12 09:33:57 +08:00
liushuyu
080eed7d78
travis: remove debug dlls from the final package 2018-07-12 09:33:56 +08:00
liushuyu
4cd25d115d
travis: share env vars with Docker 2018-07-12 09:33:55 +08:00
liushuyu
3a82c2eb3a
travis: only warn about missing dll (MinGW) 2018-07-12 09:33:54 +08:00
liushuyu
dfebf89cc9
travis: force increase ccache size (MinGW only) 2018-07-12 09:33:54 +08:00
liushuyu
6a8008caf2
travis: copy mediaservice plugin to support camera 2018-07-12 09:33:54 +08:00
liushuyu
15ca6550fe
travis: add essential flags to cmake cmdline
added -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON
2018-07-12 09:33:53 +08:00
James Rowe
5543c9c094
Build: Change the linux-mingw upload folder to canary-mingw to match the old naming scheme 2018-07-12 09:33:53 +08:00
liushuyu
66c4b8afd9
travis: correct path to the platform plugin 2018-07-12 09:33:52 +08:00
liushuyu
e65d8840dc
travis: use cmake in official repository (MinGW) 2018-07-12 09:33:50 +08:00
liushuyu
7db0588d6b
travis: MinGW build on Travis CI
... 1. updated submodule libressl
    2. suggestion from @jroweboy
2018-07-12 09:33:36 +08:00
liushuyu
e206f6c202
travis: fix tx push (again) 2018-06-09 14:42:13 -06:00
liushuyu
6135931670
travis: share env variables with Docker 2018-06-08 02:07:13 -06:00
liushuyu
b2e3fd528b
travis: use cmake in official repository 2018-05-13 14:34:33 -06:00
wwylele
f64a4729f0 travis: fix dependency name for transifex job 2018-05-12 01:18:02 +03:00
wwylele
7f7ee048f3 travis: add missing dependency for transifex push job 2018-05-12 00:22:05 +03:00
朱鹏飞
57827de38b citra_qt: camera integration (#3566)
* Implement camera feature

* Make OpenCVCamera optional

* Fix styling problems

* CI configuration

* Fix CI

* Hopefully final fix

* Hopefully final fix

* Fix all the problems

* Oops..

* Add Qt Multimedia Camera

* Another oops

* Try to fix broken linux CI

* Try to fix broken linux CI

* Fix problems

* Improve UI

* Fix problems

* camera: Add support for Qt <5.10 and fix preview error

* CI: try to fix linux-frozen travis build

* camera: fix problems and add multiple handlers support

* fix CI

* remove most ServiceFramework changes

* Fix format

* Remove last ServiceFramework change

* camera: remove unused interfaces; revert submodule change

* camera: fix CI error

* ci: use ccache for opencv build

* citra_qt: fix configuration error; CI: add mediaservice plugin

* citra_qt: fix clang-format

* citra_qt: fix documentation error

* citra_qt: fix configuration page; camera: fix pausing crash

* citra_qt: fix preview not stopping

* camera: extend handlers length

* camera: fix camera resume error

* camera: fix clang-format

* camera: remove all OpenCV; citra_qt: rewrite configuration

* camera: remove all OpenCV; citra_qt: rewrite configuration

* camera: remove all OpenCV; citra_qt: rewrite configuration

* CI: fix linux ci

* camera: check settings update; citra_qt: fix configuration error

* service_cam: use a better way to apply configuration

* Service_CAM: rewrite camera reload

* cam: fix clang format

* citra_qt: fix argument load issue; camera: base of system camera selection

* citra_qt: Add system camera selection

* camera: fix image upside down, Implement SetFrameRate in Qt Multimedia Camera

* camera: Add missing <array> include, update SetFrameRate and add settings in Qt Multimedia Camera header

* camera: move started in Qt Multimedia Camera header

* QtMultimediaCamera: Move frame rates to SetFrameRate; Set minimum and maximum frame rate

* Update appveyor.yml
2018-05-11 11:42:23 -06:00
FearlessTobi
fbc05fac19 Show game compatibility within Citra 2018-04-16 00:42:58 +02:00
liushuyu
0d3983bc66
travis: use mkdir -p to avoid || true 2018-04-13 20:30:04 -06:00
liushuyu
2193e9b742
travis: use cmake flags and whitespace cleanup 2018-04-13 19:10:37 -06:00
liushuyu
16981d6be4 travis: use cache 2018-04-13 19:10:20 -06:00
liushuyu
d190fd989d
travis: suggestions from @jroweboy 2018-04-10 17:49:42 -06:00
liushuyu
9921286f3b
travis: fix Transifex upload 2018-04-10 15:35:47 -06:00
James
9283053701 Move WebServices to use LibreSSL + cpp-httplib (#3501)
Move WebServices to use LibreSSL + cpp-httplib

Remove curl + openssl build dependencies
2018-03-24 13:19:35 -06:00
B3n30
d4cc0d8148 Fix path for travis upload 2018-03-09 19:11:32 +01:00
B3n30
b3cdf30c65 fixup! Network: Added an executable to host an dedicated room for local wifi 2018-03-09 19:11:32 +01:00
James Rowe
ed36edf69c Travis: Update clang-format to 6.0 2018-03-09 10:50:09 -07:00
MerryMage
ce31cf531d CI: Update to C++17 and use Ubuntu 18.04 as baseline 2018-02-06 17:02:21 +00:00
BreadFish64
c3afd73592
Merge branch 'master' into CompatibiltyReporting 2018-01-18 10:36:32 -06:00
BreadFish64
e768a92587 add compatibility reporting to qt frontend 2018-01-01 19:25:38 -06:00
wwylele
798a1c6ae9 Travis, Appveyor: build with languages 2017-12-16 13:11:05 +02:00
wwylele
9fba503c9e Travis: push translation source change to transifex 2017-12-16 13:11:05 +02:00
MerryMage
2284367591 travis: Add build with frozen versions for dependencies 2017-10-25 14:53:11 +01:00
MerryMage
45fdcdd632 travis: An error in docker.sh should not result in success
Closes #3022.
2017-10-21 23:58:18 +01:00
James
e9d1e8c95b Add a subdirectory of icons for Linux builds (#3006) 2017-10-14 21:25:35 -04:00
MerryMage
15a2388a33 travis: Split build scripts for different platforms
This commit also separates clang-format from the linux build, closing #2702.
2017-10-07 12:10:03 +01:00