Alex James
24226419ed
zlib/CMakeLists: Fix check for unistd.h
...
The CMakeLists file for the static zlib checks for presence of
unistd.h, but it doesn't properly define HAVE_UNISTD_H if it's found.
This change adds the necessary preprocessor definition if unistd.h is
found.
Upstream zlib handles this with by configuring zconf.h with CMake:
cacf7f1d4e/zconf.h.cmakein (L11)
Dolphin's static version of zlib doesn't do this, which is why setting
Z_HAVE_UNISTD_H in zlib's CMakeLists.txt isn't enough.
This probably wasn't noticed since because most *nix systems will use
the shared zlib. Force use of the static zlib (comment out
find_package(ZLIB) in the root CMakeLists.txt) and you'll see implicit
function declaration warnings during its compilation.
2019-05-29 15:03:37 +02:00
Léo Lam
054b1172e3
Externals/libusb: Set policy ISO_ALWAYS_START_ASAP for libusbK
...
In some cases, this is required to avoid eventually getting a
USBD_STATUS_BAD_START_FRAME error back from the Windows USB stack.
This makes the libusbK code match the behaviour of the Linux backend.
It appears that the libusbK backend tried to get this behaviour by
setting StartFrame to 0. However, libusbK docs state that:
"Specifing 0 for KISO_CONTEXT::StartFrame (start transfer ASAP) is
restricted to the first transaction on a newly opened or reset pipe."
2019-05-27 20:09:55 +02:00
Léo Lam
20770fe22b
Externals/libusb: Bounds check the interface number
2019-05-27 20:09:55 +02:00
Léo Lam
99b340a6d0
Externals/libusb: Mask index for control transfers correctly
2019-05-27 20:09:55 +02:00
Léo Lam
8ea197357c
Externals: remove unused libusb files and add them to gitignore
...
This prevents them from being re-added in the future whenever someone
updates libusb. Also removes the need to manually remove those files.
2019-05-27 20:09:55 +02:00
Léo Lam
1b9617c85c
Externals: Update libusb to 1.0.23-rc1
...
Now has support for isochronous transfers in the WinUSB backend,
which may or may not work better than the UsbDk backend.
2019-05-27 20:09:55 +02:00
spycrab
d4633ceded
Externals/Qt: Update to latest commit
2019-05-08 20:58:44 +02:00
spycrab
51e025f6dc
Externals/minizip: Link against zlib
2019-05-08 20:58:16 +02:00
spycrab
c2903f8b4e
Externals/libpng: Link against zlib
2019-05-08 20:57:34 +02:00
Stenzek
f8c088a1fb
Externals: Update imgui to 1.70 WIP
2019-04-19 15:13:05 +10:00
Stenzek
565e604679
Externals: Update MoltenVK to SDK version 1.1.101.0
2019-03-06 22:00:22 +10:00
Stenzek
a4c64e7964
Externals: Set target platform to 10.0.17134 for FreeSurround
2019-02-14 20:42:06 +10:00
LAGonauta
7b9375875c
Added FreeSurround to Externals
...
Also cleaned up its source code to support only 5.1 and 7.1 setups.
2019-02-13 22:52:39 -02:00
spycrab
6a6fc56865
Externals/ed25519: Add CMakeLists.txt
2019-02-06 20:50:09 +01:00
Yohann Martel
31bb0327e5
update windows 10 sdk from 10.0.15063.0 to 10.0.17134.0 for imgui
2018-12-21 10:40:58 -05:00
Stenzek
e3708ea8c3
Externals: Add MoltenVK binary, copy to package on macOS
2018-12-01 14:35:45 +10:00
Pierre Bourdon
ad890d5c5b
Merge pull request #7593 from stenzek/externals-imgui
...
Externals: Add imgui
2018-11-29 03:32:47 +01:00
Yohann Martel
ca4389bbbe
update windows 10 sdk from 10.0.15063.0 to 10.0.17134.0 for minizip
2018-11-28 19:18:46 -05:00
Stenzek
cfdbd45105
Externals: Add imgui
2018-11-26 20:40:34 +10:00
Pierre Bourdon
e6b2758ab4
Merge pull request #7477 from Zexaron/ext-minizip
...
Externals: Add a stripped down version of minizip
2018-11-17 22:23:02 +01:00
Tillmann Karras
97cc9894e4
Update to Visual Studio's default Windows SDK
2018-10-20 00:53:08 +01:00
Tillmann Karras
636ccdfc2b
Externals: update discord-rpc for readlink fix
2018-10-09 23:50:26 +01:00
Pierre Bourdon
8e26d33133
Externals: Add a stripped down version of minizip.
2018-10-09 14:27:53 +02:00
Shawn Hoffman
3b3551f040
fix debug build on recent VS releases of msvc
2018-09-29 22:32:36 -07:00
Léo Lam
a482299df6
Externals/discord: Don't run clang-format on source files
...
It's annoying to have source files automatically reformatted every time
Dolphin is built because it causes git to consider the source tree to
be dirty.
2018-09-16 15:32:48 +02:00
Lioncash
3130d388db
Externals: Update SFML to 2.5.0
...
Among other things, this finally allows pushing 64-bit values into
packets without needing to manually subdivide the value into two 32-bit
values.
2018-08-27 17:18:24 -04:00
spycrab
7cb310791b
Cleanup: Remove some left over references to wxWidgets
2018-08-07 15:48:17 +02:00
spycrab
e22c5333ab
Merge pull request #6819 from spycrab/delete_wx
...
Remove DolphinWX
2018-06-30 00:12:24 +02:00
spycrab
d2527db8ec
Externals/Qt: Update to 5.11.1
2018-06-28 14:38:17 +02:00
spycrab
44b22c90df
Remove DolphinWX
2018-06-26 20:50:39 +02:00
Pierre Bourdon
2cfdf89898
Merge pull request #6983 from yourWaifu/add-discord-rpc-support
...
Add Discord Rich Presence support
2018-06-25 00:06:27 +02:00
yourWaifu
63f03455f3
Discord Rich Presence CMake integration
...
I have no idea if this works or not. Hopefully the build bot will tell me.
2018-06-19 22:43:03 -04:00
spycrab
fe6e46f846
Externals/GTest: Update to latest master
2018-06-12 14:52:43 +02:00
Sleepy Flower Girl
f25d833dbd
Fixed issue Discord RPC library not clearing presence during shutdown
2018-06-03 15:37:27 -04:00
Sleepy Flower Girl
678f8da95b
Moved Discord RPC library's source code to external
2018-06-03 15:29:01 -04:00
Sleepy Flower Girl
d5303ddf0b
Add Discord Rich Presence support
2018-06-03 15:27:20 -04:00
Stenzek
bc96557ec4
Externals: Update glslang to upstream commit 32d3ec3
2018-06-02 07:34:31 +00:00
Stenzek
c05dd2ee56
Externals: Update Vulkan headers to 1.1.75
2018-05-31 11:37:23 +00:00
Emmanuel Gil Peyrot
c51ae9c62a
Remove SOIL altogether from the project.
2018-05-20 13:44:42 +02:00
Léo Lam
48242f1521
Merge pull request #6638 from lioncash/lzo
...
CMakeLists: Don't dump LZO's includes into the top-level directory
2018-04-13 20:28:44 +02:00
Lioncash
2851c7e5ee
CMakeLists: Don't dump zlib's includes into the top-level directory
2018-04-13 08:32:48 -04:00
Lioncash
b256f873ca
CMakeLists: Link in zlib privately where applicable
...
Also, use the target name introduced via find_package(ZLIB) instead
of hardcoding the 'z' name in the link libraries.
2018-04-13 08:29:46 -04:00
Lioncash
7de2d1c9d6
CMakeLists: Don't dump LZO's includes into the top-level directory
...
Instead, we add the includes to the LZO target's interface. That way
only libraries that link it in can see them.
2018-04-13 07:39:09 -04:00
Lioncash
6a637cfc22
CMakeLists: Don't dump libpng's includes into the top-level directory
...
Instead, add the includes to the target, which only libraries that link it in can actually see.
2018-04-11 17:33:52 -04:00
Lioncash
b9c872dbca
CMakeLists: Don't dump bochs' includes into the top-level directory
...
Instead add it to the target interface. This way, only libraries that
link in bochs will see its include directories.
2018-04-08 20:43:18 -04:00
Lioncash
a4ba92c697
CMakeLists: Don't dump xxhash's includes into top-level directory scope
...
We already use a custom CMakeLists file for xxhash, so we can just make it's headers
public as part of its target interface.
This way, only libraries that link in the xxhash target will see its headers, as opposed
to every target under the top-level directory.
2018-04-06 10:41:58 -04:00
Pierre Bourdon
0427d3474c
Import ed25519 implementation from https://github.com/orlp/ed25519
2018-03-19 00:11:55 +01:00
Pierre Bourdon
891a1eeb6a
Import picojson to Externals from https://github.com/kazuho/picojson
2018-03-19 00:11:55 +01:00
Vincent Duvert
bb5e5d964a
Added patches for hidapi modifications
...
This allows tracking what modifications were made to the upstream code.
2018-01-13 21:20:54 +01:00
Vincent Duvert
3abc288e02
macOS: Add errno setting in set_report (HID)
...
IsDeviceUsable in IOhidapi.cpp uses errno to detect if hid_write failed because of an unconnected Wiimote on a Dolphinbar (it expects errno == EPIPE in this case).
macOS’s implementation of hid_write detected this specific error (IOHIDDeviceSetReport returns kUSBHostReturnPipeStalled) but didn’t set errno so the check failed.
This add errno assignment to failure cases of macOS’s hid_write.
2018-01-07 11:14:51 +01:00