Commit Graph

132 Commits (eec3d356b69711b34145d16e669e25403880774e)

Author SHA1 Message Date
liamwhite eec3d356b6
Merge pull request #11689 from liamwhite/breakpad
qt: implement automatic crash dump support
2 years ago
Alexandre Bouvier 79ba5d9c26 cmake: prefer system stb headers 2 years ago
german77 94836ba3b1 externals: stb: Add image write 2 years ago
Liam d3997bad9b qt: implement automatic crash dump support 2 years ago
Narr the Reg dac53b4ba0 externals: stb: Split library into cpp file 2 years ago
Alexandre Bouvier f93f31f4ae cmake: prefer system renderdoc header 2 years ago
GPUCode c656105a6c debug: Add renderdoc capture hotkey 2 years ago
Liam 6bb02dcb8a Skip additional mbedcrypto warnings options on MSVC 2 years ago
comex 32c453a5f1 Avoid `$<CXX_COMPILER_ID:Clang>` because it doesn't include AppleClang. 2 years ago
comex 91eb5afd0b Warnings cleanup for GCC 13 and Clang 16
Note: For GCC there are still a huge number of `-Warray-bounds` warnings
coming from `externals/dynarmic`.  I could have added a workaround in
`externals/CMakeLists.txt` similar to what this PR does for other
externals, but given Dynarmic's close affiliation with Yuzu, it would be
better to fix it upstream.

Besides that, on my machine, this makes the build warning-free except
for some warnings from glslangValidator and AutoMoc.

Details:

- Disable some warnings in externals.

- Disable `-Wnullability-completeness`, which is a Clang warning triggered
  by the Vulkan SDK where if any pointers in the header are marked
  _Nullable, it wants all pointers to be marked _Nullable or _Nonnull.
  Most of them are, but some aren't.  Who knows why.

- `src/web_service/verify_user_jwt.cpp`: Disable another warning when
  including `jwt.hpp`.

- `src/input_common/input_poller.cpp`: Add missing `override` specifiers.

- src/common/swap.h: Remove redundant `operator&`.  In general, this
  file declares three overloads of each operator.  Using `+` as an
  example, the overloads are:

  - a member function for `swapped_t + integer`
  - a member function for `swapped_t + swapped_t`
  - a free function for `integer + swapped_t`

  But for `operator&`, there was an additional free function for
  `swapped_t + integer`, which was redundant with the member function.
  This caused a GCC warning saying "ISO C++ says that these are
  ambiguous".
2 years ago
Alexandre Bouvier c3050c1b48 cmake: allow using system VMA library 2 years ago
GPUCode eac46ad7ce video_core: Add BCn decoding support 2 years ago
GPUCode b6c6dcc576 externals: Use cmake subdirectory 2 years ago
lat9nq 6448eade2e externals: Add vma and initialize it
video_core: Move vma implementation to library
2 years ago
liamwhite c7fc5b9348
Merge pull request #10739 from zeltermann/sdl-cpuinfo
Re-enable SDL's `CPUinfo` subsystem
2 years ago
bunnei 698a3eda50
Merge pull request #10603 from lat9nq/tz-more-complete
core,common: Implement missing time zone data/computations
2 years ago
zeltermann 0c04e27df3 Re-enable SDL's CPUinfo subsystem
See https://github.com/libsdl-org/SDL/issues/7809.
Disabling CPUinfo triggers a bug in SDL's audio subsystem, which breaks
SDL's JACK output on Linux. We're lucky it hasn't broken anything else.
2 years ago
lat9nq 73036c83a3 nx_tzdb: Create headers from downloaded system archive data
Use lat9nq/tzdb_to_nx release data to generate header files.

nx_tzdb: Use an interface library

nx_tzdb: Gate download if achive not exists

nx_tzdb: Fix header generator brace closing

nx_tzdb: Add base directory files

nx_tzdb: Add SPDX info
2 years ago
Liam 616cf70a80 build: only enable adrenotools on arm64 2 years ago
Liam f7a3f1ddf4 externals: add adrenotools for bcenabler 2 years ago
Alexandre Bouvier 9c3c7ec009 cmake: apply defaults to all externals 2 years ago
Liam 415c78b87c textures: add BC1 and BC3 compressors and recompression setting 2 years ago
Alexandre Bouvier 0245c5dc49 externals: use openssl from vcpkg 3 years ago
Alexandre Bouvier 2bf9602e83 cmake: fix cpp-jwt build 3 years ago
Alexandre Bouvier 34b1ea9c19 cmake: prefer system llvm library 3 years ago
liamwhite f99f618d45
Merge pull request #9555 from abouvier/catch2-update
tests: update catch2 to 3.0.1
3 years ago
Kelebek1 80a55c1663 Add stacktrace symbol demangling 3 years ago
Alexandre Bouvier 7a2bd13f5b cmake: support the standard cmake testing option 3 years ago
Alexandre Bouvier eceee8c3d9 cmake: move find-modules to root cmake dir 3 years ago
Alexandre Bouvier 306c791e67 cmake: allow options shadowing with normal variables 3 years ago
Liam 9ce23bde24 cmake: make Vulkan-Headers external the default 3 years ago
Liam be43b62d79 cmake: make libusb optional 3 years ago
Alexandre Bouvier f385175aa2 cmake: prefer system libusb 3 years ago
liamwhite 3b19f741bd
Merge pull request #6833 from abouvier/unbundle
cmake: prefer system libraries
3 years ago
Alexandre Bouvier 8e17b5469f cmake: prefer system libraries 3 years ago
Liam 0cbfdf7ecb yuzu-cmd: link SDL2 correctly 3 years ago
liamwhite f4b5570e7c
Merge pull request #9375 from jbeich/xbyak-no-install
externals: don't install xbyak as part of yuzu install
3 years ago
Liam 6d2c597371 externals: update dynarmic, SDL2 3 years ago
Jan Beich 14440b195c externals: disable xbyak install targets after cbaf642ffe
Prevent yuzu from trying to install bundled xbyak as it'd likely
conflict with system xbyak package.

Error: Orphaned: include/xbyak/xbyak.h
Error: Orphaned: include/xbyak/xbyak_bin2hex.h
Error: Orphaned: include/xbyak/xbyak_mnemonic.h
Error: Orphaned: include/xbyak/xbyak_util.h
Error: Orphaned: lib/cmake/xbyak/xbyak-config-version.cmake
Error: Orphaned: lib/cmake/xbyak/xbyak-config.cmake
Error: Orphaned: lib/cmake/xbyak/xbyak-targets.cmake
3 years ago
liamwhite 22aff09b33
Merge pull request #9289 from liamwhite/fruit-company
general: fix compile for Apple Clang
3 years ago
lat9nq 0941ae0b61 CMake: Directly link to SDL2-static when appropriate
Trying to be lazy and alias SDL2 to SDL2-static causes issues in later
versions of CMake. Just use the same condition to tell which one to use.
3 years ago
Liam cdb2e4eaff externals: always use LibreSSL on Windows 3 years ago
Liam 9737615948 general: fix compile for Apple Clang 3 years ago
Liam cbaf642ffe Initial ARM64 support 3 years ago
Vamsi Krishna 016fa3ffee
Fix Cmake warning for CMP0077 3 years ago
Andrea Pappacoda adc8c03fe4
build(externals): rename Findopus to FindOpus
This better matches upstream's FindOpus.cmake file, and it will make
using upstream's FindOpus.cmake file easier.
3 years ago
Andrea Pappacoda cdb240f3d4
chore: make yuzu REUSE compliant
[REUSE] is a specification that aims at making file copyright
information consistent, so that it can be both human and machine
readable. It basically requires that all files have a header containing
copyright and licensing information. When this isn't possible, like
when dealing with binary assets, generated files or embedded third-party
dependencies, it is permitted to insert copyright information in the
`.reuse/dep5` file.

Oh, and it also requires that all the licenses used in the project are
present in the `LICENSES` folder, that's why the diff is so huge.
This can be done automatically with `reuse download --all`.

The `reuse` tool also contains a handy subcommand that analyzes the
project and tells whether or not the project is (still) compliant,
`reuse lint`.

Following REUSE has a few advantages over the current approach:

- Copyright information is easy to access for users / downstream
- Files like `dist/license.md` do not need to exist anymore, as
  `.reuse/dep5` is used instead
- `reuse lint` makes it easy to ensure that copyright information of
  files like binary assets / images is always accurate and up to date

To add copyright information of files that didn't have it I looked up
who committed what and when, for each file. As yuzu contributors do not
have to sign a CLA or similar I couldn't assume that copyright ownership
was of the "yuzu Emulator Project", so I used the name and/or email of
the commit author instead.

[REUSE]: https://reuse.software

Follow-up to 01cf05bc75
3 years ago
FearlessTobi 6c8e456185 Address first part of review comments 3 years ago
FearlessTobi dcfe0a5feb network: Add initial files and enet dependency 3 years ago
Liam ebecdd3a74 general: fix compilation on MinGW GCC 12 3 years ago