summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2014-09-02Removed common/atomic, instead using std::atomicarchshift
2014-09-01Remove hand-crafted Visual Studio solution.Yuri Kunde Schlesner
2014-09-01Avoid LOGGING redefinition warnings.Yuri Kunde Schlesner
2014-09-01CMake cleanupYuri Kunde Schlesner
Several cleanups to the buildsystem: - Do better factoring of common libs between platforms. - Add support to building on Windows. - Remove Qt4 support. - Re-sort file lists and add missing headers.
2014-08-21Merge pull request #58 from lioncash/clampbunnei
Common: Add a clamp function to math_utils.h
2014-08-19Common: Add a clamp function to math_utils.hLioncash
2014-08-18Common: Get rid of an unnecessary forward declaration in symbols.hLioncash
2014-08-18Common: Don't return a reference to a string when calling GetName in symbols.cppLioncash
Returning a copy of the string is what was likely meant to be done.
2014-08-17Merge pull request #52 from lioncash/memorybunnei
Common: Correctly set ptr to null if mmap fails in memory_util
2014-08-17Merge pull request #48 from linkmauve/masterbunnei
Replace insecure temporary file creation with devshm.
2014-08-17Common: Correctly set ptr to null if mmap fails in memory_utilLioncash
On POSIX systems mmap will return MAP_FAILED ((void*)-1) instead of a null pointer.
2014-08-17Common: Move remaining C header includes over to their C++ equivalentLioncash
2014-08-17Common: Move header guards over to pragma onceLioncash
Also replaced C headers with the C++ equivalent ones
2014-08-16mem_arena: Replace insecure temporary file creation with devshm, importing ↵Emmanuel Gil Peyrot
Dolphin’s code.
2014-08-12Simplified if-tree in extended_trace.cpparchshift
2014-08-12Merge pull request #41 from archshift/itrbunnei
Changed iterators to use auto, many of which using range-based loops
2014-08-12break_points.cpp: return directly from conditionalsarchshift
2014-08-12break_points: cleaned up, added `find_if`sarchshift
2014-08-11Changed iterators to use auto, some of which using range-based loopsarchshift
2014-08-12Remove the fancy RegisterSet class introduced in 4c2bff61e.Tony Wasserka
While it was some nice and fancy template usage, it ultimately had many practical issues regarding length of involved expressions under regular usage as well as common code completion tools not being able to handle the structures. Instead, we now use a more conventional approach which is a lot more clean to use.
2014-08-07Use pthread_set_name_np() on OpenBSD.Anthony J. Bentley
2014-07-23RegisterSet: Simplify code by using structs for register definition instead ↵Tony Wasserka
of unions.
2014-07-19[build] Search for the git binary in the default msysgit install dirYuri Kunde Schlesner
The Git for Windows installer doesn't add the Git binaries to the path by default. (Due to risk of conflicts with built-in windows commands.) Unless you have configured your system specially this causes the scm_rev_gen.js script to fail to find Git. Added more paths to the script so that it searches in the default msysgit installation directory, eliminating the need to set the PATH for most environments.
2014-07-16BitField: Cast enum values to proper integer type.Tony Wasserka
2014-07-16BitField: Add a static_assert.Tony Wasserka
Being able to store BitField within unions requires BitField to be of standard layout, which in turn is only given if the underlying type is also has standard layout.
2014-07-16BitField: Delete copy assignment to prevent obscure bugs.Tony Wasserka
Cf. https://github.com/dolphin-emu/dolphin/pull/483
2014-07-16BitField: Add an explicit evaluation method.Tony Wasserka
Sometimes it can be beneficial to use this in places where an explicit cast needs to happen otherwise. By using the evaluation method, it's not necessary anymore to explicitly write the underlying type in this case.
2014-06-14Merge branch 'threading' of https://github.com/bunnei/citrabunnei
Conflicts: src/core/hle/function_wrappers.h src/core/hle/service/gsp.cpp
2014-06-12Removed definition of MAX_PATH, this is already defined in common_paths.h.bunnei
2014-06-12Preprocessor: #if's out OSX-specific GL changes on other platformsarchshift
2014-06-12Common: Removed duplicate "LONG" and "MAX_PATH" definitions.bunnei
2014-06-12Pica: Use some template magic to define register structures efficiently.Tony Wasserka
2014-06-12Rename LCD to GPU.Tony Wasserka
2014-06-01log: updated MAX_LOGLEVEL to use correct log level enum typebunnei
2014-06-01log: updated GenericLog __attribute__ for newly added parameterbunnei
2014-05-29log: fixed to not print twice, enabled coloring, added OS print logging as ↵bunnei
its own type
2014-05-22Merge branch 'threading'bunnei
2014-05-19common_types: Changed BasicRect back to Rect, in the common namespacearchshift
Only Rect is in the namespace for now; the rest of common should be added in the future
2014-05-19Improved clarity and whitespacearchshift
Changed QGL version to 3,2 in order to be less restrictive, yet it should still change up to 4,1 on OSX on Qt5.
2014-05-19CMakeLists: rename HEADS, improved commentsarchshift
Changes for clarity of comments, removed redundant compiler flags.
2014-05-16Updated cmakelistsarchshift
2014-05-16Merge remote-tracking branch 'upstream/master' into issue-7-fixarchshift
2014-05-17added MIN, MAX, and CLAMP macros to common_funcsbunnei
2014-05-15added ThreadQueueList class to common (taken from PPSSPP)bunnei
2014-05-09added kernel logger to commonbunnei
2014-05-08removed incorrect dolphin copyright linebunnei
2014-05-07fixed include of common in bit_field.hbunnei
2014-05-07logger fix for linuxbunnei
2014-05-07added GSP to loggersbunnei
2014-05-07added BitField to commonbunnei