Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-04-02 | common: fix swap functions on Bitrig and OpenBSD | Daniel Lim Wee Soong | 1 | -1/+13 | |
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. | |||||
2016-10-28 | common: use system bswap* functions on more BSDs | Jan Beich | 1 | -2/+5 | |
2016-09-21 | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 1 | -2/+0 | |
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | |||||
2016-09-19 | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 1 | -2/+1 | |
2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 1 | -140/+191 | |
2016-05-09 | swap: Get rid of pointer casting for swapping structs | Lioncash | 1 | -5/+5 | |
These shouldn't haphazardly convert types | |||||
2016-05-09 | swap: Get rid of undefined behavior in swapf and swapd | Lioncash | 1 | -14/+18 | |
This isn't well-defined in C++. | |||||
2016-05-09 | swap: Remove unused methods | Lioncash | 1 | -28/+0 | |
Also gets rid of pointer data variants as this prevents the use of the regular swapping routines as unary predicates in std lib functions. They also cast to stricter alignment types, which is undefined behavior. | |||||
2015-09-11 | common: Get rid of a cast in swap.h | Lioncash | 1 | -2/+2 | |
2015-06-28 | Common: Cleanup memory and misc includes. | Emmanuel Gil Peyrot | 1 | -3/+7 | |
2015-05-29 | Remove every trailing whitespace from the project (but externals). | Emmanuel Gil Peyrot | 1 | -1/+1 | |
2015-03-06 | Removed swap code redundancy and moved common swap code to swap.h | archshift | 1 | -14/+97 | |
2015-01-06 | Common: Remove dead platform #ifdefs to make the code more readable. | Emmanuel Gil Peyrot | 1 | -4/+0 | |
Symbian, Xbox, Blackberry and iOS got removed. FreeBSD and Android kept due to them potentially being able to run Citra in the future. The iOS specific part also got removed from PPSSPP in order to fix a bug there. | |||||
2014-10-26 | Fix compile errors in Clang | Yuri Kunde Schlesner | 1 | -1/+0 | |
2014-04-23 | fixes to build on linux | bunnei | 1 | -13/+13 | |
2014-04-09 | got rid of 'src' folders in each sub-project | bunnei | 1 | -0/+0 | |
2014-04-02 | convert tabs to spaces | bunnei | 1 | -335/+335 | |
2013-09-19 | added swap types to common | ShizZy | 1 | -0/+535 | |