summaryrefslogtreecommitdiffstats
path: root/src/common (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-11-29Fix MinGW builddarkf7-21/+34
2014-11-25Remove unused includes to common/thread.hEmmanuel Gil Peyrot1-1/+0
2014-11-19Remove tabs in all files except in skyeye imports and in generated GL codeEmmanuel Gil Peyrot3-100/+100
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot23-160/+160
2014-11-18Remove extraneous semicolonsLioncash2-2/+2
2014-11-18EmuWindow: Add some explicit documentation and set proper minimal client area size.Tony Wasserka1-2/+4
2014-11-18EmuWindow: Add a TODO.Tony Wasserka1-0/+1
Implementing this function currently is not critical, as we don't perform any configuration changes, yet. However, the interface is a good starting point for adding this functionality.
2014-11-18MathUtil: Make Rectangle work with unsigned types.Tony Wasserka1-4/+5
2014-11-18EmuWindow: Better document the purpose of OnMinimalClientAreaChangeRequest.Tony Wasserka1-0/+7
2014-11-18EmuWindow: Remove window title getters/setters.Tony Wasserka1-16/+1
The window title is none of the emulation core's business. The GUI code is free to put whatever it wants there. Providing properly thread-safe window title getters and setters is a mess anyway.
2014-11-18EmuWindow: Add documentation.Tony Wasserka1-18/+57
2014-11-18EmuWindow: Add support for specifying minimal client area sizes.Tony Wasserka1-8/+26
2014-11-18Fixup EmuWindow interface and implementations thereof.Tony Wasserka1-28/+33
2014-11-18Viewport scaling and display density independenceKevin Hartman1-2/+5
The view is scaled to be as large as possible, without changing the aspect, within the bounds of the window. On "retina" displays, or other displays where window units != pixels, the view should no longer draw incorrectly.
2014-11-18Add a GUI logging channel.Tony Wasserka2-0/+2
Replace asserts with _dbg_assert_.
2014-11-17emu_window: Fix initializer list order.Lioncash1-2/+2
Gets rid of a warning on OSX.
2014-11-13Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functionsarchshift2-51/+115
2014-10-29Renamed souce files of services to match port namesGareth Poole1-1/+1
2014-10-26Add `override` keyword through the code.Yuri Kunde Schlesner2-3/+3
This was automated using `clang-modernize`.
2014-10-26Fix compile errors in ClangYuri Kunde Schlesner1-1/+0
2014-10-25bit_field: Fix a typo in the sample usage.Lioncash1-1/+1
2014-10-24Removed uses of raw c-string manipulation functions.archshift4-21/+10
2014-10-23Use std sized types instead of platform specific typedefsYuri Kunde Schlesner2-32/+12
2014-10-23Common: Return from CreateFullPath early if the directory creation failsarchshift1-2/+4
2014-10-08Added configuration file system.archshift6-69/+73
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 Peyrot2-0/+53
Core: Fix the SDMC Directory implementation to make blargSnes work.
2014-09-28Fix warnings in core and commonLioncash3-15/+5
2014-09-22chunk_file: General cleanupLioncash1-244/+0
- Remove unnecessary ifdefs - Remove commented out code. Can be retrieved later if needed.
2014-09-21Use the citra user path for the sdmc directoryarchshift3-0/+4
2014-09-17Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions.Emmanuel Gil Peyrot4-25/+25
2014-09-17Common: Return the number of items read/written in IOFile’s methods instead of a boolean.Emmanuel Gil Peyrot1-8/+20
2014-09-12Added support for multiple input device types for KeyMap and connected Qt.Kevin Hartman5-40/+61
2014-09-12Initial HID PAD work, with GLFW only.Kevin Hartman4-0/+77
2014-09-09Removed fixed_size_queue.harchshift2-71/+0
It's unused and doesn't look like it compiles anyway :/
2014-09-09common: Prune all redundant includesarchshift10-34/+3
2014-09-09Moved common_types::Rect from common to Common namespacearchshift1-1/+1
2014-09-09Added string_util to common, small changes in loader.cpparchshift11-32/+39
2014-09-09loader.cpp: improved file extension checking, made Upper/LowerStr usefularchshift2-12/+9
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.hLioncash1-6/+0
2014-09-08Common: Fix a potential infinite loop in StringUtil's ReplaceAllLioncash1-3/+8
2014-09-07Removed common/std_xyz, instead using the std headerarchshift7-856/+6
2014-09-03Removed common/atomic, instead using std::atomicarchshift4-198/+0
2014-09-01Remove hand-crafted Visual Studio solution.Yuri Kunde Schlesner4-453/+0
2014-09-01Avoid LOGGING redefinition warnings.Yuri Kunde Schlesner1-0/+2
2014-09-01CMake cleanupYuri Kunde Schlesner1-7/+16
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-19Common: Add a clamp function to math_utils.hLioncash1-0/+7
2014-08-18Common: Get rid of an unnecessary forward declaration in symbols.hLioncash1-2/+0
2014-08-18Common: Don't return a reference to a string when calling GetName in symbols.cppLioncash2-2/+2
Returning a copy of the string is what was likely meant to be done.
2014-08-17Common: Correctly set ptr to null if mmap fails in memory_utilLioncash1-5/+8
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++ equivalentLioncash8-21/+20
2014-08-17Common: Move header guards over to pragma onceLioncash33-146/+41
Also replaced C headers with the C++ equivalent ones
2014-08-16mem_arena: Replace insecure temporary file creation with devshm, importing Dolphin’s code.Emmanuel Gil Peyrot1-24/+23
2014-08-12Simplified if-tree in extended_trace.cpparchshift1-13/+9
2014-08-12break_points.cpp: return directly from conditionalsarchshift1-6/+2
2014-08-12break_points: cleaned up, added `find_if`sarchshift2-59/+51
2014-08-12Changed iterators to use auto, some of which using range-based loopsarchshift1-27/+28
2014-08-12Remove the fancy RegisterSet class introduced in 4c2bff61e.Tony Wasserka3-165/+0
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-08Use pthread_set_name_np() on OpenBSD.Anthony J. Bentley1-1/+3
2014-07-23RegisterSet: Simplify code by using structs for register definition instead of unions.Tony Wasserka1-6/+8
2014-07-19[build] Search for the git binary in the default msysgit install dirYuri Kunde Schlesner1-1/+8
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 Wasserka1-1/+1
2014-07-16BitField: Add a static_assert.Tony Wasserka1-0/+1
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 Wasserka1-0/+16
Cf. https://github.com/dolphin-emu/dolphin/pull/483
2014-07-16BitField: Add an explicit evaluation method.Tony Wasserka1-0/+5
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-12Removed definition of MAX_PATH, this is already defined in common_paths.h.bunnei1-2/+0
2014-06-12Preprocessor: #if's out OSX-specific GL changes on other platformsarchshift1-1/+1
2014-06-12Common: Removed duplicate "LONG" and "MAX_PATH" definitions.bunnei1-2/+0
2014-06-12Pica: Use some template magic to define register structures efficiently.Tony Wasserka3-3/+166
2014-06-12Rename LCD to GPU.Tony Wasserka2-2/+2
2014-06-01log: updated MAX_LOGLEVEL to use correct log level enum typebunnei3-5/+5
2014-06-01log: updated GenericLog __attribute__ for newly added parameterbunnei1-1/+1
2014-05-30log: fixed to not print twice, enabled coloring, added OS print logging as its own typebunnei4-37/+42
2014-05-20common_types: Changed BasicRect back to Rect, in the common namespacearchshift1-4/+6
Only Rect is in the namespace for now; the rest of common should be added in the future
2014-05-20Improved clarity and whitespacearchshift1-0/+1
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-20CMakeLists: rename HEADS, improved commentsarchshift1-2/+2
Changes for clarity of comments, removed redundant compiler flags.
2014-05-17Updated cmakelistsarchshift1-0/+1
2014-05-17added MIN, MAX, and CLAMP macros to common_funcsbunnei1-0/+5
2014-05-16added ThreadQueueList class to common (taken from PPSSPP)bunnei3-0/+218
2014-05-10added kernel logger to commonbunnei2-3/+5
2014-05-08removed incorrect dolphin copyright linebunnei1-1/+0
2014-05-08fixed include of common in bit_field.hbunnei1-1/+1
2014-05-08logger fix for linuxbunnei2-3/+3
2014-05-08added GSP to loggersbunnei2-2/+2
2014-05-08added BitField to commonbunnei3-0/+175
2014-05-06- added better SVC loggingbunnei2-5/+5
- added stubs for GetResourceLimit and GetResourceLimitCurrentValues SVCs
2014-05-01Support for C++11 on OSXarchshift1-2/+2
2014-05-01Fixed indentsarchshift1-1/+1
2014-04-30Some more experimentationarchshift1-3/+3
2014-04-29IT'S ALIVE!archshift1-1/+39
2014-04-28Fix complaints about functions that could not be foundarchshift1-1/+1
2014-04-28Problematic class with no current implementationarchshift1-2/+2
2014-04-28Rect to BasicRectarchshift1-4/+4
Somewhere along the line an OSX header had already taken the name Rect.
2014-04-28add missing bswap functionsbunnei1-0/+44
2014-04-28fix for issue Linux build #9, not sure why this is broken but its unused code I'm just getting rid of itbunnei1-13/+0
2014-04-28removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable classbunnei1-5/+0
2014-04-25Resolved undefined Common::g_scm_branch error.Thomas Edvalson1-1/+1
2014-04-24made qt window title consistentbunnei1-1/+1
2014-04-24fixes to scm_rev generation to make it conistent with windows buildbunnei2-5/+5
2014-04-24updated windows scm_rev code to use new styleShizZy5-66/+53
2014-04-24added scm rev generation on Linux/cmakebunnei6-51/+37
2014-04-23fixes to build on linuxbunnei2-14/+14
2014-04-23removed duplicate rotl/rotr functionsShizZy1-26/+0
2014-04-23updated CMakeLists for missing filesShizZy1-0/+1
2014-04-18added NDMA hardware interfacebunnei2-2/+2
2014-04-15added helper functions for upper/lowercase stringsbunnei2-0/+22
2014-04-13Add symbols mapMathieu Vaillancourt4-0/+100
2014-04-11added logger for generic HLEbunnei2-3/+3
2014-04-11removed scm_rev.h from version controlbunnei1-4/+0
2014-04-11added missing const to GetWindowTitlebunnei1-1/+1
2014-04-10updated CMakeListsbunnei1-16/+17
2014-04-09- removed deprecated version.hbunnei4-72/+52
- cleaned up window title - cleaned up emu_window_glfw/emu_window
2014-04-09fixed scm_rev_genbunnei2-5/+5
2014-04-09fixed project includes to use new directory structurebunnei44-211/+201
2014-04-09got rid of 'src' folders in each sub-projectbunnei54-0/+0
2014-04-07added "citra" instead of "emu" to title barbunnei1-1/+1
2014-04-06added logger option specifically for the rendererbunnei2-2/+2
2014-04-05added missing includes to common_types.hbunnei1-0/+3
2014-04-05Updated common_types.h to use Gekko's version w/ Rect and some useful unionsbunnei1-30/+102
2014-04-05added DISALLOW_COPY_AND_ASSIGN macrobunnei1-0/+5
2014-04-05added LCD loggerbunnei2-2/+2
2014-04-05added a HW option to loggingbunnei2-48/+48
2014-04-02convert tabs to spacesbunnei47-5298/+5298
2014-04-01grabbed ppsspp's MemArenabunnei2-221/+428
2013-10-02added TIME logger for core timingShizZy2-2/+2
2013-10-02renamed GC_ALIGNED* macros to MEMORY_ALIGNED*ShizZy1-12/+12
2013-09-27upgraded proj files to vs 2013ShizZy2-2/+16
2013-09-26renamed from citrus to citraShizZy4-5/+5
2013-09-26moved file_sys back to coreShizZy5-973/+0
2013-09-24removed <windows.h> include from common.h and added it only where neededShizZy2-5/+1
2013-09-24moved file_sys to commonShizZy5-0/+973
2013-09-24added localtime_r for use on windowsShizZy1-0/+8
2013-09-24added utf8 to common module, utils for dealing with utf8ShizZy4-0/+534
2013-09-20updated to chunk_file module from ppssppShizZy1-133/+623
2013-09-20added a module for loading bootable binariesShizZy2-4/+4
2013-09-19added swap types to commonShizZy4-0/+549
2013-09-19removed CORE and LOADER from LogTypesShizZy1-2/+0
2013-09-19added CORE and LOADER to LogTypesShizZy1-0/+2
2013-09-18changed log CPU from PPC to ARM11ShizZy2-2/+3
2013-09-18added default windows includeShizZy1-0/+4
2013-09-16added file platform.hShizZy4-0/+137
2013-09-14renamed project to 'citrus'ShizZy3-3/+3
2013-09-13added scm_rev_gen project to automatically create a header with the git revision on buildShizZy4-3/+162
2013-09-09cleaned up VS project filesShizZy1-11/+9
2013-09-09fixed some code warningsShizZy1-1/+1
2013-09-09 removed unneeded dolphin paths code, fixed linker problems with common.libShizZy3-132/+118
2013-09-09re-enabled GetLastErrorMsgShizZy1-19/+23
2013-09-08updated common pathsShizZy2-4/+7
2013-09-06start of 3DS memory mapShizZy3-12/+3
2013-09-05various fixes to be able to build projectShizZy1-17/+13
2013-09-05added emu_window.h to define interface to drawing to a windowShizZy3-0/+108
2013-09-05updated CMakeLists.txt file for new common filesShizZy1-9/+16
2013-09-05replaced common code with dolphin commonShizZy51-107/+8640
2013-09-04deleted gekko's common filesShizZy28-4543/+0
2013-08-30adding initial project layoutShizZy31-0/+4777