summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2018-05-28Service/BCAT: add module and servicesmailwl
2018-05-01vector_math: Ensure members are always initializedLioncash
Ensures that values are always in a well-defined state.
2018-04-29Merge pull request #424 from lioncash/stringbunnei
string_util: Remove StringFromFormat() and related functions
2018-04-29string_util: Remove StringFromFormat() and related functionsLioncash
Given we utilize fmt, we don't need to provide our own functions for formatting anymore
2018-04-29file_util: Make move constructor/assignment operator and related functions ↵Lioncash
noexcept Without this, it's possible to get compilation failures in the (rare) scenario where a container is used to store a bunch of live IOFile instances, as they may be using std::move_if_noexcept under the hood. Given these definitely don't throw exceptions this is also not incorrect to add either.
2018-04-29file_util: Add static assertions to ReadBytes() and WriteBytes()Lioncash
Ensure that the actual types being passed in are trivially copyable. The internal call to ReadArray() and WriteArray() will always succeed, since they're passed a pointer to char* which is always trivially copyable.
2018-04-28file_util: Remove compiler version checks around is_trivially_copyable()Lioncash
The minimum clang/GCC versions we support already support this. We can also remove is_standard_layout(), as fread and fwrite only require the type to be trivially copyable.
2018-04-27log: Remove old logging macros and functionsLioncash
Now that the old macros are no longer used, we can remove all functionality related to them.
2018-04-27general: Convert assertion macros over to be fmt-compatibleLioncash
2018-04-27Merge pull request #380 from ogniK5377/service-implbunnei
Implemented some useful interfaces needed for games.
2018-04-26Switched to NGLOG_WARNINGDavid Marcec
2018-04-26common: Move logging macros over to new fmt-capable macros where applicableLioncash
2018-04-26Merge branch 'master' of https://github.com/yuzu-emu/yuzu into service-implDavid Marcec
2018-04-26Added PREPO to logging backend, Removed comments from SaveReportWithUserDavid Marcec
2018-04-26common: Remove chunk_file.h and linear_disk_cache.hLioncash
These are unused (and given chunk_file references Dolphin's >SVN< I doubt they were going to be used).
2018-04-22GetIUserInterface->CreateUserInterface, Added todos and stub logs. ↵David Marcec
Playreport->PlayReport.
2018-04-20Merge pull request #367 from lioncash/clampbunnei
math_util: Remove the Clamp() function
2018-04-20Merge pull request #361 from lioncash/commonbunnei
common_types: Minor changes
2018-04-20math_util: Remove the Clamp() functionLioncash
C++17 adds clamp() to the standard library, so we can remove ours in favor of it.
2018-04-20Merge pull request #364 from lioncash/thread-localbunnei
common/thread: Remove unnecessary feature checking for thread_local
2018-04-20Merge pull request #362 from lioncash/snprintfbunnei
common_funcs: Remove check for VS versions that we don't even support
2018-04-20Merge pull request #363 from lioncash/array-sizebunnei
common_funcs: Remove ARRAY_SIZE macro
2018-04-20Merge pull request #366 from lioncash/vecbunnei
vector_math: Remove AsArray() and Write() functions from Vec[2,3,4]
2018-04-19vector_math: Remove AsArray() and Write() functions from Vec[2,3,4]Lioncash
These are all unused and the Write() ones should arguably not even be in the interface. There are better ways to provide this if we ever need it (like iterators).
2018-04-19common: Remove code_block.hLioncash
We use dynarmic, so this is unued. Anything else we need will likely use Xbyak, so this header isn't necessary any more.
2018-04-19common/thread: Remove unnecessary feature checking for thread_localLioncash
Every compiler we require already supports it.
2018-04-19common_funcs: Remove ARRAY_SIZE macroLioncash
C++17 has non-member size() which we can just call where necessary.
2018-04-19common_funcs: Remove check for VS versions that we don't even supportLioncash
We don't support any VS versions that don't already have snprintf in the standard library implementation.
2018-04-19common_types: Convert typedefs to using aliasesLioncash
May as well while we're making changes to this file.
2018-04-19common_types: Remove unnecessary check for whether or not__func__ is definedLioncash
VS has supported this for quite a while.
2018-04-17bit_field: Remove is_pod check, add is_trivially_copyable_v.bunnei
2018-04-13common: Port cityhash code from Citra.bunnei
2018-04-13bit_field: Make all methods constexpr.bunnei
2018-04-05Update fmtlib to fix msvc warningsJames Rowe
Additionally, when updating fmtlib, there was a change in fmtlib broke how the old logging macro was overloaded, so this works around that by just naming the fmtlib macro impl something different
2018-04-03logging: Change FmtLogMessage to use variadic template instead of FMT_VARIADICDaniel Lim Wee Soong
Due to premature merging of #262 I think the build may be failing right now. Should merge this ASAP to fix it.
2018-04-02Merge pull request #262 from daniellimws/fmtlib-macrosbunnei
Logging: Add fmtlib-based macros
2018-04-02Merge pull request #276 from N00byKing/acctoyuzubunnei
Change Telemetry Names to yuzu and remove links to citra
2018-04-03common: fix swap functions on Bitrig and OpenBSDDaniel Lim Wee Soong
swap{16,32,64} are defined as macros on the two, but client code tries to invoke them as Common::swap{16,32,64}, which naturally doesn't work. This hack redefines the macros as inline functions in the Common namespace: the bodies of the functions are the same as the original macros, but relying on OS-specific implementation details like this is of course brittle.
2018-03-29service: Add NFP module interface.bunnei
service: Initialize NFP service. Log: Add NFP service as a log subtype.
2018-03-27telemetry.h: Reword comment from citra to yuzuN00byKing
2018-03-26log.h: Change comment from citra to yuzuN00byKing
2018-03-26file_util.h: Update Comment from citra to yuzuN00byKing
2018-03-26cpu_detect.cpp: Change comment from citra to yuzuN00byKing
2018-03-23Service/SSL: add ssl servicemailwl
2018-03-22Remove dependency chronoDaniel Lim Wee Soong
Earlier chrono was included but after some code changed it was no longer needed Forgot to remove it so I'm removing it now
2018-03-22Logging: Create logging macros based on fmtlibDaniel Lim Wee Soong
Add a new set of logging macros based on fmtlib Similar but not exactly the same as https://github.com/citra-emu/citra/pull/3533 Citra currently uses a different version of fmt, which does not support FMT_VARIADIC so make_args is used instead. On the other hand, yuzu uses fmt 4.1.0 which doesn't have make_args yet so FMT_VARIADIC is used.
2018-03-22Service/spl: add module and servicesmailwl
2018-03-21CMake: Set EMU_ARCH_BITS in CMakeLists.txtN00byKing
2018-03-20Service: add fatal:u, fatal:p servicesmailwl
2018-02-20Merge pull request #206 from mailwl/aoc-listaddoncontentbunnei
Service/AOC: stub ListAddOnContent function