summaryrefslogtreecommitdiff
path: root/src/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #2316 from endrift/macos-gccGravatar bunnei2016-12-161-0/+11
|\ \ | | | | | | Common: Fix gcc build on macOS
| * | Common: Fix gcc build on macOSGravatar Jeffrey Pfau2016-12-131-0/+11
| |/
* / VideoCore: Convert x64 shader JIT to use Xbyak for assemblyGravatar Yuri Kunde Schlesner2016-12-143-1/+234
|/
* Support mingw cross-compileGravatar Jannik Vogel2016-12-055-5/+6
|
* Merge pull request #2228 from freiro/winver_fixGravatar Yuri Kunde Schlesner2016-11-301-3/+0
|\ | | | | Move WINVER definition to cmake and a bit of cleanup
| * WINVER definition moved to CMake and cleanupGravatar freiro2016-11-301-3/+0
| |
* | Set client SDK version to Service APIsGravatar mailwl2016-11-301-3/+2
|/
* Build: Fixed a few warnings.Gravatar Subv2016-11-291-4/+4
|
* Merge pull request #2168 from mailwl/micGravatar Sebastian Valle2016-11-272-0/+2
|\ | | | | MIC_U: Stub service funcions
| * MIC_U: Stub service funcionsGravatar mailwl2016-11-252-0/+2
| |
* | Move to AppData/Roaming/Citra/Gravatar freiro2016-11-261-1/+1
| |
* | Removed /user/ from pathGravatar freiro2016-11-261-2/+1
| |
* | Switch to AppData/RoamingGravatar freiro2016-11-242-4/+4
| |
* | Return by value and other fixesGravatar freiro2016-11-192-14/+8
| |
* | Win32 move default user folder location to AppDataGravatar freiro2016-11-192-0/+24
|/
* Merge pull request #2172 from jroweboy/fix-mingwGravatar bunnei2016-11-151-2/+3
|\ | | | | Fix mingw compilation support
| * Add mingw compile supportGravatar James Rowe2016-11-131-2/+3
| |
* | Round the rectangle size to prevent float to int casting issuesGravatar James Rowe2016-11-123-8/+9
| | | | | | | | And other minor style changes
* | Add default hotkey to swap primary screens.Gravatar James Rowe2016-11-054-7/+10
| | | | | | | | Also minor style changes
* | Rework frame layouts to use a max rectangle instead of hardcoded calculationsGravatar James Rowe2016-11-052-250/+100
| |
* | LargeFrameLayout + SwappedGravatar SonofUgly2016-11-051-50/+36
| | | | | | Make small screen stay at 1x, and large screen maintain its aspect ratio.
* | Support additional screen layouts.Gravatar James Rowe2016-11-055-73/+382
|/ | | | | Allows users to choose a single screen layout or a large screen layout. Adds a configuration option to change the prominent screen.
* common: use system bswap* functions on more BSDsGravatar Jan Beich2016-10-271-2/+5
|
* common: use system CPUID routine on DragonFly as wellGravatar Jan Beich2016-10-271-2/+2
|
* common: some FreeBSD headers are incomplete to avoid namespace pollutionGravatar Jan Beich2016-10-271-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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; ^ [...]
* common: convert to standard stat()/fstat() interfacesGravatar Anthony J. Bentley2016-10-271-15/+10
| | | | | | | | | | | | | 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.
* common: stat64 is non-standard, hide on a random UnixGravatar Jan Beich2016-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* common: only FreeBSD has thread affinity compatible with LinuxGravatar Jan Beich2016-10-271-1/+5
| | | | | | | | | | | 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.
* common: define routines to set thread name on more BSDsGravatar Jan Beich2016-10-271-2/+4
| | | | | | | src/common/thread.cpp:123:5: error: use of undeclared identifier 'pthread_setname_np' pthread_setname_np(pthread_self(), szThreadName); ^ 1 error generated.
* Fix typosGravatar Ricardo de Almeida Gonzaga2016-10-202-2/+2
|
* Merge pull request #2024 from JamePeng/update-boss-codeGravatar bunnei2016-10-072-0/+2
|\ | | | | Update the stub code of BOSS
| * Update the stub code of BOSSGravatar JamePeng2016-10-022-0/+2
| |
* | Common: Remove dangerous Vec[234] array constructorsGravatar Yuri Kunde Schlesner2016-09-291-3/+0
|/ | | | | They're not currently used, and it's easy to accidentally pass a single pointer argument to them, causing an out-of-bounds read.
* Remove special rules for Windows.h and library includesGravatar Yuri Kunde Schlesner2016-09-213-1/+3
|
* Use negative priorities to avoid special-casing the self-includeGravatar Yuri Kunde Schlesner2016-09-2110-11/+11
|
* Remove empty newlines in #include blocks.Gravatar Emmanuel Gil Peyrot2016-09-2132-54/+13
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Manually tweak source formatting and then re-run clang-formatGravatar Yuri Kunde Schlesner2016-09-1815-61/+32
|
* Sources: Run clang-format on everything.Gravatar Emmanuel Gil Peyrot2016-09-1851-3389/+4172
|
* microprofile: Double buffer size to 16MB.Gravatar bunnei2016-09-151-1/+1
|
* Common: readdir_r() is deprecated, switch to readdir().Gravatar Emmanuel Gil Peyrot2016-09-131-6/+2
|
* Protection against a resize of size 0Gravatar Alexandre LittleWhite Laurent2016-07-231-4/+3
|
* Remove superfluous std::move in return std::move(local_var)Gravatar scurest2016-06-251-1/+1
|
* Fix recursive scanning of directoriesGravatar Yuri Kunde Schlesner2016-06-192-17/+12
| | | | | | ForeachDirectoryEntry didn't actually do anything with the `recursive` parameter, and the corresponding callback parameter was shadowing the actual recursion counters in the user functions.
* Merge pull request #1789 from wwylele/input-refactorGravatar bunnei2016-06-104-23/+232
|\ | | | | Refactor input mapping & implement circle pad modifier
| * fixup! fixup! Refactor input systemGravatar wwylele2016-05-152-7/+7
| |
| * fixup! Refactor input systemGravatar wwylele2016-05-152-20/+24
| |
| * implement circle pad modifierGravatar wwylele2016-05-152-4/+22
| |
| * Refactor input subsystemGravatar wwylele2016-05-154-23/+210
| |
* | Merge pull request #1751 from linkmauve/no-recursive-readdirGravatar bunnei2016-05-302-24/+36
|\ \ | | | | | | Make recursive FileUtil functions take a maximum recursion
| * | Common: Make recursive FileUtil functions take a maximum recursionGravatar Emmanuel Gil Peyrot2016-05-212-24/+36
| |/ | | | | | | | | | | | | | | | | | | Fixes #1115. Also improves the performances of DiskArchive’s directory implementation a lot, simply by not going through the entire tree instead of just listing the first level files. Thanks to JayRoxFox for rebasing this on current master!