summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2016-12-26vector math: add implementation of Length and Normalizewwylele
2016-12-26MathUtil: add PI constantwwylele
2016-12-26Common::Event: add WaitUntilwwylele
2016-12-23Merge pull request #2369 from MerryMage/core-frontendbunnei
core: Move emu_window and key_map into core
2016-12-23file_util: fix missing sysdata pathwwylele
2016-12-23core: Move emu_window and key_map into coreMerryMage
* Removes circular dependences (common should not depend on core)
2016-12-22Merge pull request #2343 from bunnei/core-cleanupbunnei
Core: Top-level consolidate & misc cleanup
2016-12-22Merge pull request #2285 from mailwl/csnd-formatbunnei
csnd:SND: Reformat source code
2016-12-21file_util: Remove unused paths.bunnei
2016-12-19Fixed GPLv2 license text in the start.Vamsi Krishna
2016-12-16Merge pull request #2316 from endrift/macos-gccbunnei
Common: Fix gcc build on macOS
2016-12-14VideoCore: Convert x64 shader JIT to use Xbyak for assemblyYuri Kunde Schlesner
2016-12-13Common: Fix gcc build on macOSJeffrey Pfau
2016-12-12csnd:SND reformat source codemailwl
2016-12-05Support mingw cross-compileJannik Vogel
2016-11-30Merge pull request #2228 from freiro/winver_fixYuri Kunde Schlesner
Move WINVER definition to cmake and a bit of cleanup
2016-11-30WINVER definition moved to CMake and cleanupfreiro
2016-11-30Set client SDK version to Service APIsmailwl
2016-11-29Build: Fixed a few warnings.Subv
2016-11-27Merge pull request #2168 from mailwl/micSebastian Valle
MIC_U: Stub service funcions
2016-11-26Move to AppData/Roaming/Citra/freiro
2016-11-26Removed /user/ from pathfreiro
2016-11-25MIC_U: Stub service funcionsmailwl
2016-11-24Switch to AppData/Roamingfreiro
2016-11-19Return by value and other fixesfreiro
2016-11-19Win32 move default user folder location to AppDatafreiro
2016-11-15Merge pull request #2172 from jroweboy/fix-mingwbunnei
Fix mingw compilation support
2016-11-13Add mingw compile supportJames Rowe
2016-11-12Round the rectangle size to prevent float to int casting issuesJames Rowe
And other minor style changes
2016-11-05Add default hotkey to swap primary screens.James Rowe
Also minor style changes
2016-11-05Rework frame layouts to use a max rectangle instead of hardcoded calculationsJames Rowe
2016-11-05LargeFrameLayout + SwappedSonofUgly
Make small screen stay at 1x, and large screen maintain its aspect ratio.
2016-11-05Support additional screen layouts.James Rowe
Allows users to choose a single screen layout or a large screen layout. Adds a configuration option to change the prominent screen.
2016-10-27common: use system bswap* functions on more BSDsJan Beich
2016-10-27common: use system CPUID routine on DragonFly as wellJan Beich
2016-10-27common: some FreeBSD headers are incomplete to avoid namespace pollutionJan Beich
In file included from src/common/x64/cpu_detect.cpp:16: /usr/include/machine/cpufunc.h:66:17: error: unknown type name 'u_int' static __inline u_int ^ /usr/include/machine/cpufunc.h:67:6: error: unknown type name 'u_int' bsfl(u_int mask) ^ /usr/include/machine/cpufunc.h:69:2: error: unknown type name 'u_int' u_int result; ^ /usr/include/machine/cpufunc.h:75:17: error: unknown type name 'u_long'; did you mean 'long'? static __inline u_long ^ /usr/include/machine/cpufunc.h:76:6: error: unknown type name 'u_long'; did you mean 'long'? bsfq(u_long mask) ^ /usr/include/machine/cpufunc.h:78:2: error: use of undeclared identifier 'u_long'; did you mean 'long'? u_long result; ^ [...]
2016-10-27common: convert to standard stat()/fstat() interfacesAnthony J. Bentley
Most modern Unix environments use 64-bit off_t by default: OpenBSD, FreeBSD, OS X, and Linux libc implementations such as Musl. glibc is the lone exception; it can default to 32 bits but this is configurable by setting _FILE_OFFSET_BITS. Avoiding the stat64()/fstat64() interfaces is desirable because they are nonstandard and not implemented on many systems (including OpenBSD and FreeBSD), and using 64 bits for stat()/fstat() is either the default or trivial to set up.
2016-10-27common: stat64 is non-standard, hide on a random UnixJan Beich
src/common/file_util.cpp:79:19: error: variable has incomplete type 'struct stat64' struct stat64 file_info; ^ src/common/file_util.cpp:79:12: note: forward declaration of 'stat64' struct stat64 file_info; ^ src/common/file_util.cpp:99:19: error: variable has incomplete type 'struct stat64' struct stat64 file_info; ^ src/common/file_util.cpp:99:12: note: forward declaration of 'stat64' struct stat64 file_info; ^ src/common/file_util.cpp:342:19: error: variable has incomplete type 'struct stat64' struct stat64 buf; ^ src/common/file_util.cpp:342:12: note: forward declaration of 'stat64' struct stat64 buf; ^ src/common/file_util.cpp:359:19: error: variable has incomplete type 'struct stat64' struct stat64 buf; ^ src/common/file_util.cpp:359:12: note: forward declaration of 'stat64' struct stat64 buf; ^ 4 errors generated.
2016-10-27common: only FreeBSD has thread affinity compatible with LinuxJan Beich
src/common/thread.cpp:90:5: error: unknown type name 'cpu_set_t'; did you mean 'cpuset_t'? cpu_set_t cpu_set; ^~~~~~~~~ cpuset_t /usr/include/sys/_cpuset.h:48:24: note: 'cpuset_t' declared here typedef struct _cpuset cpuset_t; ^ 1 error generated.
2016-10-27common: define routines to set thread name on more BSDsJan Beich
src/common/thread.cpp:123:5: error: use of undeclared identifier 'pthread_setname_np' pthread_setname_np(pthread_self(), szThreadName); ^ 1 error generated.
2016-10-20Fix typosRicardo de Almeida Gonzaga
2016-10-07Merge pull request #2024 from JamePeng/update-boss-codebunnei
Update the stub code of BOSS
2016-10-02Update the stub code of BOSSJamePeng
2016-09-29Common: Remove dangerous Vec[234] array constructorsYuri Kunde Schlesner
They're not currently used, and it's easy to accidentally pass a single pointer argument to them, causing an out-of-bounds read.
2016-09-21Remove special rules for Windows.h and library includesYuri Kunde Schlesner
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot
2016-09-15microprofile: Double buffer size to 16MB.bunnei