summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2014-10-07Merge pull request #108 from archshift/configbunnei
Configuration files
2014-10-07Added configuration file system.archshift
Uses QSettings on citra-qt, and inih on citra-cli.
2014-10-06Common: Add a helper function to generate a 8.3 filename from a long one.Emmanuel Gil Peyrot
Core: Fix the SDMC Directory implementation to make blargSnes work.
2014-09-28Fix warnings in core and commonLioncash
2014-09-22Merge pull request #118 from lioncash/chunk-filebunnei
chunk_file: General cleanup
2014-09-21chunk_file: General cleanupLioncash
- Remove unnecessary ifdefs - Remove commented out code. Can be retrieved later if needed.
2014-09-21Use the citra user path for the sdmc directoryarchshift
2014-09-17Common: Rename the File namespace to FileUtil, to match the filename and ↵Emmanuel Gil Peyrot
prevent collisions.
2014-09-17Common: Return the number of items read/written in IOFile’s methods ↵Emmanuel Gil Peyrot
instead of a boolean.
2014-09-12Added support for multiple input device types for KeyMap and connected Qt.Kevin Hartman
2014-09-11Initial HID PAD work, with GLFW only.Kevin Hartman
2014-09-11Merge pull request #99 from archshift/ext-checkbunnei
loader.cpp: improved file extension checking, made Upper/LowerStr useful, moved string_util into Common namespace
2014-09-10Merge pull request #103 from archshift/prunebunnei
Prune redundant includes
2014-09-09Merge pull request #104 from archshift/removalbunnei
Removed fixed_size_queue.h
2014-09-09Merge pull request #101 from lioncash/inf-loopbunnei
Common: Fix a potential infinite loop in StringUtil's ReplaceAll
2014-09-08Removed fixed_size_queue.harchshift
It's unused and doesn't look like it compiles anyway :/
2014-09-08common: Prune all redundant includesarchshift
2014-09-08Moved common_types::Rect from common to Common namespacearchshift
2014-09-08Added string_util to common, small changes in loader.cpparchshift
2014-09-08loader.cpp: improved file extension checking, made Upper/LowerStr usefularchshift
Instead of forcibly taking the last 4 characters, it now finds the last extension separator (the period) and takes a substr of its location.
2014-09-08Common: Remove HAVE_CXX11_SYNTAX define from Common.hLioncash
2014-09-08Common: Fix a potential infinite loop in StringUtil's ReplaceAllLioncash
2014-09-07Removed common/std_xyz, instead using the std headerarchshift
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.