Commit Graph

234 Commits

Author SHA1 Message Date
Mason Sciotti
c4201806cf
Update build.py to properly build and copy libraries for Unity and Unreal (#120) 2018-02-12 13:40:41 -08:00
Mason Sciotti
ccf04d21f5
Moving buildhelper to editor folder (#118) 2018-02-02 16:02:11 -08:00
Dmitry
c7b4e6b2fc Fix segfaults in Discord_RegisterW in MinGW builds (#105)
* Add MinGW and WinXP support, remove Win SDK dep when using MinGW

* Remove Win SDK dependency when compiled with MinGW

* Remap the Win SDK-depended functions to string.h substitutes

* Remap missing WinAPI call RegSetKeyValueW to a substitute function

* Remove warnings by pragma when using MinGW

* Fix segfaults in Discord_RegisterW in MinGW builds
2018-02-02 09:40:33 -08:00
Nicolas Adamoglou
eee5085e9b Exported Discord_Register and Discord_RegisterSteam (#109)
* Update CMakeLists.txt

* Update and rename src/discord_register.h to include/discord_register.h

* Update CMakeLists.txt

* Update discord_register_win.cpp

* Update discord_register_linux.cpp
2018-02-01 16:42:17 -08:00
Joe
94ee4e64d9 [Unreal] Fix for Shipping Builds (#112)
* Changes to allow plugin to work in Shipping Builds

* Add files via upload

SourceTree is case-insensitive on Windows, fixin

* Remove duplicated directory

* Platform whitelist, mac support, compilation fix.

* Finalization steps

* Mac fix

* Tabs/Spaces consistency.

* Updated build.py
https://github.com/discordapp/discord-rpc/issues/89

* .gitignore (headers)

* Renamed folder to lowercase

* Removed duplicates

* Revert to lowercase
2018-01-22 10:47:33 -08:00
Florian Spieß
bd294d51a8 Renamed Java-DiscordRPC to new repository name (#113) 2018-01-21 11:24:33 -08:00
Ben Morse
b85758ec19 fix decls 2018-01-09 10:41:16 -08:00
Ben Morse
ec6af6132d fix build.py for unreal =) 2018-01-09 10:41:00 -08:00
Ben Morse
f99a260b07 'build.py unreal' to copy libs/headers into unreal example project 2018-01-09 10:35:37 -08:00
Glenn Smith
2c609b1d5f Fix buffer overflows in RegisterCommand on mac (#99) 2018-01-05 16:59:44 -08:00
Ben Morse
839ba32671 use unambiguous C declaration style 2018-01-05 16:56:08 -08:00
Ben Morse
6a59509b7b
add Discord_ClearPresence() (#104)
send-presence example updated - start a line with 'c' to toggle
whether presence information is sent or not.

Added ClearPresence to .cs bindings

Added ClearPresence to UE4 blueprint class.
2018-01-05 15:17:23 -08:00
Dmitry
b0e31a9e25 MinGW and WinXP support (issue #102) (#103)
* Add MinGW and WinXP support, remove Win SDK dep when using MinGW

Was meant to add MinGW support only, WinXP support was made by accident.
Changes:
* Remove Win SDK dependency when compiled with MinGW
* Remap the Win SDK-depended functions to string.h substitutes
* Remap missing WinAPI call RegSetKeyValueW to a substitute function

* Remove warnings by pragma when using MinGW
2018-01-05 10:56:55 -08:00
Ben Morse
2d0661c906 fix debug build with static crt
CMAKE_BUILD_TYPE is not set at configuration time, so we can't test
against it.  So, we string-replace /MD with /MT in the c[xx] flags for
the different targets.  CF:

https://stackoverflow.com/questions/14172856/cmake-compile-with-mt-instead-of-md
2018-01-05 10:42:44 -08:00
Nicolas Adamoglou
265ea814f5 Add Java Wrapper (#75) 2018-01-03 13:12:29 -08:00
Florian Zwoch
8990824c9c make ready() to explicitly take no arguments -> ready(void) (#100) 2017-12-26 22:21:32 -08:00
Gus Caplan
8f9013cea6 Revert "Clarify js rp wrapper" (#96)
This reverts commit 5438d6bf22.
2017-12-18 09:46:33 -08:00
Mason Sciotti
085e0e7326 Click dependency in build.py 2017-12-14 13:58:03 -08:00
Fades
b3102db5c9 Fix broken docs URL (#95)
Signed-off-by: Fades <me@fades.me>
2017-12-12 10:30:53 -08:00
Mason Sciotti
5438d6bf22 Clarify js rp wrapper 2017-12-11 17:22:08 -08:00
Gus Caplan
b9f9b08606 add discord rich presence js lib (#90)
* add discord rich presence js lib

* alphabeticalizeify
2017-12-08 16:05:46 -08:00
John Grosh
e5bdd61223 Added Java Implementation to list(#76) 2017-12-08 13:46:40 -08:00
Alejandro
1555405d83 Add SwordRPC to implementations (#82)
This also reorganizes the list to have languages in alphabetical order
2017-12-06 09:05:45 -08:00
Mason Sciotti
051a1eeb70 Added ATJ for unity example 2017-12-04 15:16:59 -08:00
Bluexin
3852d83d12 Adding drpc4k to wrappers/implementations list (#72)
* Adding drpc4k to wrappers/implementations list

* Git you're dumb and I hate you
2017-12-03 10:26:49 -08:00
Florian Spieß
d8122e7d69 Add Java Binding to Community Wrappers (#73) 2017-12-03 10:20:15 -08:00
Alejandro
060182f366 Update "hard mode" to change evnt to evt (#80) 2017-12-03 10:11:34 -08:00
Chris Marsh
19ed45ac25 Also only build release in for_unity build 2017-12-01 14:41:20 -08:00
Chris Marsh
be7fda7c50 Update build script for a more targeted set of stuff to build for unity 2017-12-01 14:41:20 -08:00
Chris Marsh
50ea4e61c6 Fix unity build for osx 2017-12-01 14:41:20 -08:00
Chris Marsh
82439911c6 wip update unity example 2017-12-01 14:41:20 -08:00
Chris Marsh
0d24fabdf4 Fix param type 2017-12-01 14:41:20 -08:00
Chris Marsh
79eea99d19 Update Unreal example (register more callbacks, still mostly debug prints) 2017-12-01 14:41:20 -08:00
Chris Marsh
c053b72f58 Update Unity example (also, remove dll, need to do that a better way) 2017-12-01 14:41:20 -08:00
Chris Marsh
1a278528a2 Add discriminator to join request 2017-12-01 14:41:20 -08:00
Chris Marsh
c1a8899d02 Build script cleanup 2017-12-01 14:41:20 -08:00
Chris Marsh
b01d0a8af3 Move the signing stuff out of cmake 2017-11-29 14:00:37 -08:00
Mason Sciotti
8cae35ea46 Added community wrapper/implementation table 2017-11-29 11:24:39 -08:00
Chris Marsh
8307a1ad83 Update readme 2017-11-29 10:36:14 -08:00
Chris Marsh
8af28e46be Disable code formatting on CI builds. 2017-11-29 09:50:30 -08:00
Michał Janiszewski
2af5adca3d Use simpler version of GetModuleFileNameW
As per
https://msdn.microsoft.com/en-us/library/windows/desktop/ms683198(v=vs.85).aspx,
the advised use for getting the file name of a module from `<current
process>` is to use the simplified version. Additionally, this clears
the confusion introduced in Win7's PSAPI which moved
`GetModuleFileNameExW` into the kernel, changing its signature to
`K32GetModuleFileNameExW`, effectively breaking pre-Win7 uses unless
actively mitigated with `#define PSAPI_VERSION 1`
2017-11-29 08:08:47 -08:00
Chris Marsh
7300d1caa8 wip build script, playing with buildkite logging 2017-11-28 10:58:10 -08:00
Chris Marsh
7c3e28870e wip more build script, add signing 2017-11-28 10:27:40 -08:00
Chris Marsh
9130707086 Wrap std::thread in a holder that joins it on destruction. 2017-11-28 09:16:00 -08:00
Chris Marsh
49b23040c6 wip updating build script 2017-11-22 16:12:37 -08:00
Hunter
522c304b32 Change appveyor artifacts 2017-11-22 08:51:37 -08:00
Kia
5d5bc82e26 Moved generated.h include to last position as it is required by UE4. 2017-11-19 17:26:33 -08:00
Michał Janiszewski
49b7703334 Skip formatting on Travis 2017-11-17 10:53:59 -08:00
Michał Janiszewski
706847dd47 Add Xcode 2017-11-17 10:53:59 -08:00
Michał Janiszewski
2c566b208b Add clang 5 2017-11-17 10:53:59 -08:00