Commit Graph

861 Commits

Author SHA1 Message Date
Pokechu22
a7026ca6d3 Externals/FreeSurround: Fix pointer created through new[] being freed via delete
Doing so is not allowed (presumably because compilers are allowed to use a different algorithm for allocating between the two/store extra data such as the length of the array before the pointer).

This bug existed in the original implementation at https://web.archive.org/web/20140708092159/http://www.hydrogenaud.io/forums/index.php?showtopic=52235 and causes Valgrind to emit a warning. Note that this ended up happening even if DSPLLE and the DPL decoder are not enabled in Dolphin.
2023-02-15 21:56:49 -08:00
Scott Mansell
ed3ad9458d
Merge pull request #11418 from shuffle2/sdl
sdl: update to latest sdl2
2023-02-01 00:03:35 +13:00
Scott Mansell
5d7643a680 CMake/MSVC: Fix conflicting flags in mbedtls
This cmake file directly sets CMAKE_<LANG>_FLAGS, which doesn't
show up in the COMPILE_COMMANDS target property and so our
dolphin_disable_warnings_msvc macro failes to remove it.

So we will just commit it out.
2023-01-31 23:21:07 +13:00
Shawn Hoffman
6d4b3e6348 sdl: update to latest sdl2 2023-01-24 04:46:53 -08:00
OatmealDome
84a61ef339 Externals: Update MoltenVK to 1.2.2 2023-01-24 00:22:14 -05:00
Pokechu22
597f8f1b87 Externals: Convert gtest to a submodule and update to v1.12.1 2023-01-20 11:43:34 -08:00
OatmealDome
dc4284652c implot: Don't compile implot_demo.cpp 2023-01-16 13:49:20 -05:00
Pokechu22
e344eb7f00 Externals: Exclude libcurl.rc from the build
For some reason, when this is included, the linking step creates a temporary file in %TEMP% with a random name; the file is deleted afterwards and a new random name is used on a later build. Because this file doesn't exist on a later build, curl gets re-linked each time, and then all of the projects that depend on curl also get re-linked. This adds around 10 seconds to the build time even for small changes.

To make things worse, I don't think libcurl.rc does anything useful since we statically link curl; I believe the metadata contained in it only applies when building a dll. (It does seem to be included in curl.lib, but gets discarded when linking Dolphin.exe.)

See Build\x64\Release\curl\curl.tlog\Lib-link-cvtres.write.1.tlog for the log that shows this path (the file is also mentioned after setting Tools -> Options... -> Projects and Solutions -> Build and Run -> MSBuild project build output verbosity to diagnostic, but not in a useful way).
2023-01-06 14:45:37 -08:00
Sam Belliveau
1c85143aba Fix ImPlot Build Directory 2022-12-22 23:22:13 -05:00
Sam Belliveau
5ca438dd97 Add Dear ImPlot Library 2022-12-22 14:32:42 -05:00
OatmealDome
33dcb1010e Externals: Update MoltenVK to 1.2.1 2022-12-09 01:46:08 -05:00
TryTwo
76bf1b5f7d Add callstack to conditional breakpoints. Checks entire stack for value.
Use: callstack(0x80000000).
  !callstack(value) works as a 'does not contain'.
Add strings to expr.h conditionals.
  Use quotations: callstack("anim") to check symbols/name.
2022-12-03 20:52:17 -07:00
Admiral H. Curtiss
49252a0217
Externals: Update cubeb to mozilla/cubeb@27d2a102b0. 2022-11-26 05:21:58 +01:00
Admiral H. Curtiss
59b1419a8e
Externals: Update cubeb to mozilla/cubeb@773f16b7ea and make it a submodule.
CMakeLists.txt has been extracted and modified a bit to work with Dolphin's typical build settings.
2022-11-26 05:05:52 +01:00
TellowKrinkle
db8f08b2bb Externals: Update SDL to 2.26.0 2022-11-24 15:33:42 -06:00
Shawn Hoffman
b051903c3d fmt: do not define uint type in global namespace 2022-11-23 12:09:59 -08:00
Pokechu22
f1625751c4 Externals: Update fmt to 9.1.0 2022-11-23 12:09:59 -08:00
Admiral H. Curtiss
2a81fa6c26
Merge pull request #11015 from TryTwo/Conditional_Breakpoints
Conditional breakpoints
2022-11-13 01:06:52 +01:00
Robin Kertels
5e96733e35
Externals: Add VMA 2022-10-23 02:33:03 +02:00
OatmealDome
68b33b9718 MoltenVK: Update framebuffer fetch patch for 1.2.0 2022-10-18 17:52:06 -04:00
OatmealDome
4b790b10ae Revert "MoltenVK: Add patch to resolve a crash on macOS Mojave"
This reverts commit dae3bf9a7d.
2022-10-18 17:43:18 -04:00
OatmealDome
0928060a23 MoltenVK: Update to version 1.2.0 2022-10-18 17:40:43 -04:00
smurf3tte
3417920167 Grow internal expr int representation to 64 bits
This is necessary to retain precision above 32 bits, but more importantly to prevent an expression like (0x80000000 | 1) from flipping the sign of the result.
2022-10-06 21:34:44 -07:00
smurf3tte
11851a01e6 Expand expr's support for numeric literals
- Support hex prefix 0x or OX
- Support scientific notation

Also, reconcile the bitwise complement operator with C (use ~ instead of ^).
2022-10-06 21:34:44 -07:00
smurf3tte
7842f9a715 Debugger: Initial implementation of conditional breakpoints
Expression class to store compiled expressions and associated variable list.

Co-authored-by:  TryTwo <taolas@gmail.com>
2022-10-06 21:34:44 -07:00
JMC47
08f78b1445
Merge pull request #10705 from Zopolis4/cmake
Fixes for cmake shared library detection.
2022-09-22 21:58:53 -04:00
Shawn Hoffman
9ab0902be5 spng: define SPNG_STATIC when compiling spng itself
Previously was only defined for things including it.
Not really a bug, but it was leaking symbols into exports.
2022-09-10 23:22:42 -07:00
Shawn Hoffman
51d9ef269c update zlib-ng ce01b1e41da298334f8214389cc9369540a7560f
enables fast crc32 on msvc/arm64
2022-09-07 10:32:22 -07:00
Shawn Hoffman
97064eb7a0 SDL: update to 42d09a8f42e3fbac7171d065199667b182da3fb4
post-v2.24.0 commit
fixes SDL hotplugging issues on windows
2022-08-30 15:22:40 -07:00
JosJuice
32ea725a10
Merge pull request #11010 from OatmealDome/mvk-mojave-patch
MoltenVK: Add patch to resolve a crash on macOS Mojave
2022-08-27 19:34:43 +02:00
OatmealDome
dae3bf9a7d MoltenVK: Add patch to resolve a crash on macOS Mojave 2022-08-23 18:57:31 -04:00
Pokechu22
0fcff9f5ea cmake: Use C++20 for ImGui
We use Dolphin code (specifically Common's ASSERT) from ImGui, and that will use C++20 features in the next commit, so ImGui needs to be built with C++20 for that to work properly.
2022-08-23 12:09:51 -07:00
Admiral H. Curtiss
8b7e6f1863
Merge pull request #10933 from shuffle2/vs
msbuild: fix overbuilding of externals and lessen rebuild likelyhood
2022-08-22 15:19:13 +02:00
OatmealDome
df19588032 MoltenVK: Update to v1.1.11 2022-08-15 01:30:31 -04:00
Shawn Hoffman
a1941156b6 SDL: update submodule to 5aa438e80aabe3570c0ef807d9b22bcd9835ced6
for a Windows.Gaming.Input fix
2022-08-08 16:10:10 -07:00
Shawn Hoffman
c5da2877cc msbuild: refactor to reduce rebuild events
* moves dolphin-specific settings out of Base.props
* creates exports.props for externals, allowing to easily import
  individual Externals
* corrects some cruft that accumulated and probably contributed
  to msbuild overbuilding
2022-08-02 22:24:22 -07:00
Tillmann Karras
d033d92b05 Move to C++20 for non-MSVC compilers 2022-07-30 23:35:53 +01:00
Admiral H. Curtiss
f09c9f211f
CMake: Set SKIP_INSTALL_ALL for zlib-ng to avoid installing it. 2022-07-27 12:29:51 +02:00
Shawn Hoffman
acb10f0006 replace libpng with libspng 2022-07-25 18:32:16 -07:00
Shawn Hoffman
a363e8147e add spng submodule 2022-07-25 18:32:16 -07:00
Shawn Hoffman
c3b64012d1 replace zlib with zlib-ng
since the benefits are so high, don't link with shared zlib
2022-07-24 14:33:37 -07:00
Shawn Hoffman
1a78d5b9e7 add zlib-ng submodule 2022-07-24 14:18:16 -07:00
Admiral H. Curtiss
fdc327c252
Externals/FatFs: Build as part of Dolphin.
Co-authored-by: Pablo Stebler <pablo@stebler.xyz>
2022-07-11 23:11:37 +02:00
Admiral H. Curtiss
4ad00e84e7
Externals/FatFs: Configure for Dolphin. 2022-07-11 23:10:13 +02:00
Admiral H. Curtiss
f43ffca488
Externals/FatFs: Avoid conflicts with Windows.h. 2022-07-11 23:10:12 +02:00
Admiral H. Curtiss
bd02356e49
Externals: Add FatFs R0.14b, including the UTF-8 fix from April 4, 2022 at http://elm-chan.org/fsw/ff/patches.html 2022-07-11 23:10:12 +02:00
Jun Bo Bi
ceed42a0ee Add SDL as a submodule 2022-07-10 15:38:59 -07:00
Admiral H. Curtiss
cdd8c00159
Externals: Disable warnings-as-errors for spirv_cross. 2022-07-10 00:57:37 +02:00
iwubcode
1c90d836a5 Externals: add spirv-cross using upstream commit 50b4d5389b6a06f86fb63a2848e1a7da6d9755ca
Co-authored-by: tellowkrinkle <tellowkrinkle@gmail.com>
2022-06-24 17:52:31 -05:00
Mai M
0c6b6b74bf
Merge pull request #10726 from OatmealDome/mvk-1.1.10
MoltenVK: Update to version 1.1.10
2022-06-08 22:46:43 -04:00