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
Shawn Hoffman
17c554c165
Common/Hash: use zlib-ng for adler32. small cleanups.
2022-08-01 10:07:27 -07:00
Shawn Hoffman
46ad8b9d68
Implement hw accelerated AES
2022-08-01 10:00:42 -07:00
Shawn Hoffman
97ff757a74
SHA1/arm64: fix casting warning on certain gcc
2022-07-30 12:06:21 -07:00
Shawn Hoffman
e85da16947
msbuild: set PreferredToolArchitecture based on host OS arch
2022-07-30 11:01:47 -07:00
Shawn Hoffman
25462f4a3c
SavePNG: make sure to finalize image file
2022-07-28 10:12:36 -07:00
Shawn Hoffman
f8b9034a28
Crypto/SHA1: add unittests
2022-07-27 01:07:48 -07:00
Shawn Hoffman
8939210d8a
Common/Crypto/SHA1: implement accelerated versions
2022-07-27 01:07:48 -07:00
Shawn Hoffman
bfa2a66c98
WIABlob: remove outdated mbedtls workaround
2022-07-26 22:16:37 -07:00
Shawn Hoffman
dd29a54cf6
introduce wrapper for SHA1 functionality
2022-07-26 22:16:37 -07:00
Shawn Hoffman
76b4318b88
CPUDetect: improve win/arm64 support
...
read brand_string on macos/arm64
remove unused flags
report family/model info instead of vendor name
2022-07-25 21:21:11 -07:00
Shawn Hoffman
f92541fbd9
StripSpaces: only strip spaces
...
StripWhitespace maintains old behavior
2022-07-25 18:40:12 -07: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
b2f8456710
msbuild: set C standard to C17
...
not required but it seems nice
2022-07-24 14:33:37 -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
Shawn Hoffman
28828435bb
Qt/LogWidget: remove extra space
2022-07-18 09:52:54 -07:00
Shawn Hoffman
0a15d2fcec
cubeb: fix logged source file paths
2022-07-18 09:52:54 -07:00
Shawn Hoffman
ad3e202af0
vs likes caps for guids in sln
2022-07-17 23:42:05 -07:00
Shawn Hoffman
54b4ad8f55
ci/sdl: pump messages for SDL_hidapi so device detection works
2022-07-10 15:39:06 -07:00
Shawn Hoffman
ddf83462ac
sdl: enable SDL_HINT_JOYSTICK_THREAD
...
fixes window message pumping
2022-07-10 15:39:06 -07:00
Shawn Hoffman
655fb94e61
ci/win32: give the wndclass a unique name
...
other things (like SDL) may try to use "Message"
2022-07-10 15:39:06 -07:00
Shawn Hoffman
dd20c7cf78
ci/sdl: re-add the x360 controller block
2022-07-10 15:39:06 -07:00
Shawn Hoffman
3f7a2c6d4d
ci/sdl: minor cleanup
2022-07-10 15:39:06 -07:00
Shawn Hoffman
29ddd0e6f0
windows: detect and warn if running x64 dolphin on arm64
2022-06-22 15:33:12 -07:00
Shawn Hoffman
b39a11e23b
msbuild: add pch for dolphinqt
...
since this now includes Qt headers it's better than only using
the vanilla DolphinLib one alone (previous behavior before Qt6)
2022-06-21 13:35:14 -07:00
Shawn Hoffman
896d5454f0
updater: use new platform id for win-arm64
2022-06-16 14:55:51 -07:00
Shawn Hoffman
a93babb1b3
lint: use git.exe if the source resides on v9fs
...
speedup for running script under wsl2 when sources are mounted from host
2022-06-08 21:10:31 -07:00
Shawn Hoffman
b16711f2af
qt: fix wiipane usb list layout
2022-06-02 23:58:13 -07:00
Shawn Hoffman
27dd2c4aa4
qt: unregister Settings' DevicesChanged callback during shutdown
...
fixes a crash on close
2022-06-02 23:32:21 -07:00
Shawn Hoffman
f11b6bbdda
cmake/win: don't set _WIN32_WINNT
2022-06-02 15:56:01 -07:00
Shawn Hoffman
b07d6116d9
update min windows sdk to 10.0.22621
2022-06-02 15:53:29 -07:00
Shawn Hoffman
a720e8509b
msvc: update min version to VS 17.2.3
2022-06-02 15:52:53 -07:00
Shawn Hoffman
5f3112653d
android: downgrade AGP to 7.0.4
...
workaround for https://issuetracker.google.com/issues/232060576
2022-05-29 01:18:05 -07:00
Shawn Hoffman
863f14a6f7
android: update gradle to 7.4.2
2022-05-29 01:17:30 -07:00
Shawn Hoffman
ead78cc7e6
android: update constraintlayout to 2.1.4
2022-05-28 22:36:16 -07:00
Shawn Hoffman
a55192c020
readme: increment min windows version to 10
2022-05-17 02:42:31 -07:00
Shawn Hoffman
899be2efe8
readme: make VS min version match the source
2022-05-17 02:42:02 -07:00
Shawn Hoffman
7b8e6c5b36
fmt: do not define uint type in global namespace
2022-05-10 21:17:10 -07:00
Shawn Hoffman
fa17153ebc
fmt: use make_format_args instead of make_args_checked
...
make_args_checked is deprecated
see https://github.com/fmtlib/fmt/pull/2760 and the linked comment
2022-05-10 19:25:48 -07:00
Shawn Hoffman
56626f73bf
fmt: fix 'ambigous overload' error
2022-05-10 19:19:52 -07:00
Shawn Hoffman
357dc72f97
fmt: fix 'unused variable' warnings
2022-05-10 19:19:52 -07:00
Shawn Hoffman
5bcc11a303
fmt: update to f63afd161fb27132d394d0664ef7eb8ff38b8422
2022-05-10 16:12:29 -07:00
Shawn Hoffman
abc848b88c
msvc: bump min version to vs 17.2
2022-05-10 16:11:54 -07:00
Shawn Hoffman
5d459380d1
qt/win: remove hack for tab bar scroll buttons
2022-05-09 01:45:42 -07:00
Shawn Hoffman
1e033a4f73
Qt: hide balloon tooltip when parent gets hidden
...
fixes balloon remaining onscreen when parent gets
hidden via escape key for example.
2022-05-08 00:48:30 -07:00
Shawn Hoffman
a29b1ac6d3
Revert "msbuild: use pdbaltpath to strip dirname of pdb"
...
This reverts commit f2c5c052bc .
debuggers using path-based searching don't seem smart enough
to find a relative path if it's not relative to their pwd.
2022-05-03 11:42:45 -07:00
Shawn Hoffman
64cd4cc86f
msbuild: use default Project attrs
...
maybe it makes the xml less scary :D
2022-04-27 15:26:43 -07:00
Shawn Hoffman
2808909a97
msbuild: simplify lang/scm projects a bit
2022-04-27 15:06:04 -07:00
Shawn Hoffman
cad1f2735c
msvc: disable optimizations for x64EmitterTest.cpp
...
40s -> 5s speedup
2022-04-27 15:06:04 -07:00
Shawn Hoffman
dde2f7e637
Disable MSBuild Resource Manager
2022-04-27 15:06:04 -07:00
Shawn Hoffman
eb87245be8
msbuild: use pathmap to unify source paths embedded in objects
2022-04-26 18:14:51 -07:00
Shawn Hoffman
f2c5c052bc
msbuild: use pdbaltpath to strip dirname of pdb
2022-04-26 18:14:51 -07:00
Shawn Hoffman
44951a4cbc
use fmt as static library instead of headers
...
reportedly improves compile time
2022-04-26 16:32:29 -07:00
Shawn Hoffman
16c90329f3
SoundTouch: remove common types from global namespace
2022-04-26 12:44:47 -07:00
Shawn Hoffman
5724de13b0
msbuild: brepro -> deterministic
2022-04-25 09:48:50 -07:00
Shawn Hoffman
12cd81bdb3
GCAdapter: don't call libusb_detach_kernel_driver on apple
2022-04-22 09:56:47 -07:00
Shawn Hoffman
5cd3cf9072
GCAdapter: fix retval check of libusb_detach_kernel_driver
2022-04-22 09:56:47 -07:00
Shawn Hoffman
978c90845b
GCAdapter: move libusb context teardown last
2022-04-22 09:56:47 -07:00
Shawn Hoffman
1c9dfb7bb6
GCAdapter: some macro cleanup
2022-04-22 09:56:47 -07:00
Shawn Hoffman
f52d94832e
GCAdapter: set read/write thread names
2022-04-22 07:12:09 -07:00
Shawn Hoffman
0a07c76333
update libusb submodule to latest
2022-04-22 07:07:20 -07:00
Shawn Hoffman
af930bc733
make libusb submodule shallow
2022-04-22 07:05:41 -07:00
Shawn Hoffman
70507c2237
update to libusb v1.0.26
...
moves libusb from vendored to submodule
2022-04-17 20:01:19 -07:00
Shawn Hoffman
ef8e461ca2
windows: buildfix if pch not used
2022-04-12 12:28:57 -07:00
Shawn Hoffman
8466d438d3
cmake: fix build of mbedtls from Externals
2022-04-11 03:55:47 -07:00
Shawn Hoffman
818f6c81ed
msbuild: don't explicitly set _SECURE_SCL
2022-04-02 15:25:42 -07:00
Shawn Hoffman
db4d81b9a8
windows: simplify handling of gettext
...
fixes binplace on first build
2022-04-02 15:24:46 -07:00
Shawn Hoffman
e6ed77b5f6
msvc: enable conformant __cplusplus macro
2022-04-02 02:46:22 -07:00
Shawn Hoffman
4fad2c26e4
framedump: enable compat with utvideo codec
2022-03-29 17:27:59 -07:00
Shawn Hoffman
decaea8f9b
FrameDump: improve debug logging
2022-03-29 17:27:59 -07:00
Shawn Hoffman
09432ef098
windows: move ffmpeg bins to submodule
...
udpate ffmpeg to b1cbeabf5e4b3234e895a58bafa371bfb792baf0
enable ffmpeg on arm64
2022-03-29 17:27:46 -07:00
Shawn Hoffman
a546c451b7
windows: wrap all main funcs with utf8 conversions
...
fixes 12858
2022-03-07 23:24:21 -08:00
shuffle2
4ce9944cc5
remove redundant Unlock
2022-01-22 05:58:32 -08:00
Shawn Hoffman
acf6e24586
msvc/arm64: fix shadowed variable warning
2022-01-22 03:31:50 -08:00
Shawn Hoffman
3175e38a2e
GXPipelineUid: remove explicit shallow copy where it's the default
2022-01-16 22:34:39 -08:00
Shawn Hoffman
5e1fee7dbd
msbuild: remove workaround for older winsdk
2021-11-15 16:23:33 -08:00
Shawn Hoffman
a69adafdd8
msbuild: use /external:anglebrackets
...
Revert usage of ExternalIncludePath, as that var is specifically
for external includes which do not get scanned for changes.
2021-11-15 00:33:51 -08:00
Shawn Hoffman
58dc9e7049
msvc: fix compile warning on arm64
2021-11-11 08:01:39 -08:00
Shawn Hoffman
4008188654
msvc: update to vs2022 and windows sdk 10.0.22000
2021-11-11 08:01:26 -08:00
Shawn Hoffman
2200658814
update mgba submodule
2021-10-04 06:18:06 -07:00
Shawn Hoffman
e11fdaabf1
fix unused variable warning
2021-09-30 14:27:53 -04:00
Shawn Hoffman
4ef87194a4
revert workaround for msvc arm64 ICE in WIABlob
2021-08-14 03:57:53 -07:00
Shawn Hoffman
f3031e2be2
bump msvc required version to align wth vs 16.11
2021-08-14 03:57:25 -07:00
Shawn Hoffman
0e41cf392f
msbuild: reduce number of cl batches for mgba
2021-07-21 04:51:41 -07:00
Shawn Hoffman
8bddd8c675
remove SetRoundMode
...
we only care about SSE rounding mode, and set
that manually in SetSIMDMode
2021-07-17 19:29:22 -07:00
Shawn Hoffman
197075293d
make FPSCR.RN an enum
2021-07-17 18:55:06 -07:00
Shawn Hoffman
e1bddd4c18
remove DSP::Profiler*
...
this is not used anywhere and seems trivial to
ressurect if it's ever needed again.
2021-07-17 18:26:32 -07:00
Shawn Hoffman
c89ae53677
msvc: remove warning disables which no longer fire
2021-07-17 18:24:36 -07:00
Shawn Hoffman
f5b05ae080
remove an outdated comment
...
seems to have been solved 5 years ago by
b707e199c2
2021-07-17 17:46:57 -07:00
Shawn Hoffman
1009825cb2
unittests: remove some msvc-specific casts
...
compiles on contemporary msvc
checked there is still a mul in release codegen
2021-07-17 17:41:41 -07:00
Shawn Hoffman
bc22c74cd9
msbuild: use Build dir for Languages
2021-07-17 16:41:43 -07:00
Shawn Hoffman
7117bd5772
msbuild: remove deprecated MinimalRebuild
...
we were explicitly disabling it, which is
effectively the new behavior
2021-07-17 14:29:03 -07:00
Shawn Hoffman
30f9f31a69
DiscIO: Add workaround for MSVC ARM64 ICE
2021-06-29 10:24:09 +02:00
Shawn Hoffman
4ce22c093c
msvc: remove workarounds for old compiler issues
2021-06-03 18:33:24 -07:00
Shawn Hoffman
d8cc419eb3
msvc: remove some unneeded warning disable
...
this was either for libusb.h or some now-removed code.
2021-06-03 16:32:54 -07:00
Shawn Hoffman
d19d2ce2bd
msvc: use external header feature solution-wide
...
Add external include paths to ExternalIncludePath instead of
AdditionalIncludeDirectories. msbuild appends these paths to
EXTERNAL_INCLUDE env var, which is passed to /external:env:.
Specify /external:W0 and /external:templates-, with override for
DolphinQt for the template flag, since Qt 5.15.0 causes some warnings
in qmap.h
2021-06-03 15:42:23 -07:00
Shawn Hoffman
9399e8b2bc
require clang-format 10.0
2021-01-28 09:56:31 -08:00
Shawn Hoffman
6829775fac
msbuild: re-enable HAS_OPENGL and HAS_VULKAN
2021-01-27 19:10:53 -08:00