summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2022-07-29common: move forwarded value into SPSCQueueLiam
2022-07-27Revert Coretiming PRs 8531 and 7454 (#8591)Maide
2022-07-27chore: make yuzu REUSE compliantAndrea Pappacoda
[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 01cf05bc75b1e47beb08937439f3ed9339e7b254
2022-07-25network, yuzu: Make copyright headers SPDX-compliantFearlessTobi
2022-07-25network, yuzu: Improve variable naming and style consistencyFearlessTobi
2022-07-25common: multiplayer: Use GameInfo typegerman77
2022-07-25Address second part of review commentsFearlessTobi
2022-07-25common, core: fix -Wmissing-field-initializersFearlessTobi
2022-07-25yuzu: Add ui files for multiplayer roomsFearlessTobi
2022-07-23yuzu: Add webcam support and rebase to latest masterNarr the Reg
2022-07-23input_common: Add camera drivergerman77
2022-07-23Merge pull request #8545 from Kelebek1/Audioliamwhite
Project Andio
2022-07-22ci,CMake: Drop Conan support for vcpkglat9nq
Between packages breaking, Conan always being a moving target for minimum required CMake support, and now their moves to Conan 2.0 causing existing packages to break, I suppose this was a long time coming. vcpkg isn't without its drawbacks, but at the moment it seems easier on the project to use for external packages. Mostly removes the logic for Conan from the root CMakeLists file, leaving basic find_package()'s in its place. Sets only the find_package()'s that require CONFIG mode as necessary. clang and linux CI now use the vcpkg toolchain file configured in the Docker container when possible. mingw CI turns off YUZU_TESTS because there's no way on the container to run Windows executables on a Linux host anyway, and it's not easy to get Catch2 there.
2022-07-22Project AndioKelebek1
2022-07-17Merge pull request #8508 from yuzu-emu/mc-speed-limitbunnei
hle: service: nvflinger: Factor speed limit into frame time calculation.
2022-07-16Merge pull request #8543 from BreadFish64/use_tsc_from_capsbunnei
common/x64: Use TSC clock rate from CPUID when available
2022-07-16yuzu: settings: Remove framerate cap and merge unlocked framerate setting.bunnei
- These were all somewhat redundant.
2022-07-16Merge pull request #8593 from merryhime/ranged-setting-Tbunnei
common/setting: Make ranged a property of the type
2022-07-16Merge pull request #8511 from german77/hbmenubunnei
service: ptm: Add TS, nifm: Stub GetInternetConnectionStatus
2022-07-15Merge pull request #8560 from liamwhite/bitfield-may-aliasbunnei
common: fix bitfield aliasing on GCC/Clang
2022-07-15common/setting: Make ranged a property of the typemerry
- Avoids new GCC 12 warnings when Type is of form std::optional<T> - Makes more sense this way, because ranged is not a property which would change over time
2022-07-15common_funcs: Mark padding as [[maybe_unused]]Merry
2022-07-09common: fix bitfield aliasing on GCC/ClangLiam
2022-07-07Merge pull request #8522 from lat9nq/consolidate-settingsMorph
settings: Consolidate RangedSetting's with regular ones
2022-07-06guard against div-by-zeroMarshall Mohror
2022-07-06common/x64: Use TSC clock rate from CPUID when availableMarshall Mohror
The current method used to estimate the TSC is fairly accurate - within a few kHz - but the exact value can be extracted from CPUID if available.
2022-07-02common/fiber: make fibers easier to useLiam
2022-06-30settings: Consolidate RangedSetting's with regular oneslat9nq
The latest git version of GCC has issues with my diamond inheritance shenanigans. Since that's now two compilers that don't like it I thought it'd be best to just axe all of it and just have the two templates like before. This rolls the features of BasicRangedSetting into BasicSetting, and likewise RangedSetting into Setting. It also renames them from BasicSetting and Setting to Setting and SwitchableSetting respectively. Now longer name corresponds to more complex thing.
2022-06-30Adress Feedback.Fernando Sahmkow
2022-06-28service: ptm: Rewrite PSM and add TSgerman77
2022-06-28Native clock: Use atomic ops as before.Fernando Sahmkow
2022-06-28Native Clock: remove inaccuracy mask.Fernando Sahmkow
2022-06-28Core: Fix tests.Fernando Sahmkow
2022-06-28Core/Common: Corrections to core timing and add critical priority.Fernando Sahmkow
2022-06-28Common: improve native clock.Fernando Sahmkow
2022-06-21Merge pull request #8432 from liamwhite/watchpointbunnei
core/debugger: memory breakpoint support
2022-06-16Merge pull request #8472 from german77/taceMorph
common: param_package: Demote DEBUG to TRACE for getters
2022-06-16core/debugger: memory breakpoint supportLiam
2022-06-16common: param_package: Demote DEBUG to TRACE for gettersNarr the Reg
2022-06-15Merge pull request #8460 from Morph1984/bounded-qliamwhite
bounded_threadsafe_queue: Use constexpr capacity and mask
2022-06-15bounded_threadsafe_queue: Use constexpr capacity and maskMorph
While this is the primary change, we also: - Remove the mpsc namespace and rename Queue to MPSCQueue - Make Slot a private struct within MPSCQueue - Remove the AlignedAllocator template argument, as we use std::allocator - Replace instances of mask + 1 with capacity, and mask + 2 with capacity + 1
2022-06-14Merge pull request #8383 from Morph1984/shadow-of-the-pastMai
yuzu: Make variable shadowing a compile-time error
2022-06-13common/assert: rework ASSERT handling to avoid std::function usageLiam
2022-06-13common/assert: add unlikelyLiam
2022-06-13common: Don't test ASSERT conditions inlineLiam
2022-06-13common: Change semantics of UNREACHABLE to unconditionally crashLiam
2022-06-13common: Eliminate variable shadowingMorph
GCC/Clang treats variables within lambdas as potentially shadowing those outside the lambda, despite them not being captured inside the lambda's capture list.
2022-06-11Merge pull request #8413 from behunin/bounded-queuebunnei
gpu_thread: Move to bounded queue
2022-06-11Merge pull request #8393 from lat9nq/default-vulkanbunnei
general: Set renderer_backend's default to Vulkan
2022-06-05common: consolidate ELF structure definitionsLiam