summaryrefslogtreecommitdiffstats
path: root/src/common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Filesystem/Archives: Implemented the SaveData archiveSubv2014-12-183-0/+4
| | | | | | | | | | The savedata for each game is stored in /savedata/<ProgramID> for NCCH files. ELF files and 3DSX files use the folder 0 because they have no ID information Got rid of the code duplication in File and Directory Files that deal with the host machine's file system now live in DiskFile, similarly for directories and DiskDirectory and archives with DiskArchive. FS_U: Use the correct error code when a file wasn't found
* Restore the original console color after logging a message.Yuri Kunde Schlesner2014-12-142-13/+25
| | | | Fixes #277
* Remove old logging systemYuri Kunde Schlesner2014-12-136-850/+2
|
* Add configurable per-class log filteringYuri Kunde Schlesner2014-12-135-3/+205
|
* Convert old logging calls to new logging macrosYuri Kunde Schlesner2014-12-138-71/+94
|
* Implement text path trimming for shorter paths.Yuri Kunde Schlesner2014-12-133-1/+53
|
* Re-add coloring to the console logging output.Yuri Kunde Schlesner2014-12-131-0/+50
|
* New logging systemYuri Kunde Schlesner2014-12-1311-66/+716
|
* Add SCOPE_EXIT macro to conveniently execute cleanup actionsYuri Kunde Schlesner2014-12-132-0/+38
|
* Added missing include in common_funcs.hYuri Kunde Schlesner2014-12-131-0/+1
|
* Remove redundant include from common_funcs.hYuri Kunde Schlesner2014-12-131-2/+0
|
* Merge pull request #267 from bunnei/apt-shared-fontbunnei2014-12-133-26/+6
|\ | | | | APT shared font loading
| * APT_U: Added GetSharedFont service function.bunnei2014-12-131-0/+3
| |
| * Common: Add "sysdata" to GetUserPath and cleanup.bunnei2014-12-123-26/+3
| |
* | Merge pull request #261 from neobrain/boostTony Wasserka2014-12-121-3/+3
|\ \ | |/ |/| Add Boost as a submodule and add some minor cleanups using Boost.Range
| * StringUtil: Perform some minimal cleanup.Tony Wasserka2014-12-071-3/+3
| |
* | Explicitly specify LE strings to iconv, fixes paths in Steel Diverarchshift2014-12-101-2/+2
| |
* | Remove unused NDMA moduleYuri Kunde Schlesner2014-12-092-2/+0
| |
* | Some code cleanup.Tony Wasserka2014-12-091-0/+2
| |
* | Fix some headers to include their dependencies properly.Tony Wasserka2014-12-092-0/+7
|/
* Change NULLs to nullptrs.Rohit Nirmal2014-12-0317-92/+92
|
* Remove unused includes to common/thread.hEmmanuel Gil Peyrot2014-11-251-1/+0
|
* Remove tabs in all files except in skyeye imports and in generated GL codeEmmanuel Gil Peyrot2014-11-193-100/+100
|
* Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot2014-11-1923-160/+160
|
* Merge pull request #165 from neobrain/viewport-scalingbunnei2014-11-194-38/+101
|\ | | | | Stretch emulation output to render window and be display density independent
| * EmuWindow: Add some explicit documentation and set proper minimal client area size.Tony Wasserka2014-11-181-2/+4
| |
| * EmuWindow: Add a TODO.Tony Wasserka2014-11-181-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.
| * MathUtil: Make Rectangle work with unsigned types.Tony Wasserka2014-11-181-4/+5
| |
| * EmuWindow: Better document the purpose of OnMinimalClientAreaChangeRequest.Tony Wasserka2014-11-181-0/+7
| |
| * EmuWindow: Remove window title getters/setters.Tony Wasserka2014-11-181-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.
| * EmuWindow: Add documentation.Tony Wasserka2014-11-181-18/+57
| |
| * EmuWindow: Add support for specifying minimal client area sizes.Tony Wasserka2014-11-181-8/+26
| |
| * Fixup EmuWindow interface and implementations thereof.Tony Wasserka2014-11-181-28/+33
| |
| * Viewport scaling and display density independenceKevin Hartman2014-11-181-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.
| * Add a GUI logging channel.Tony Wasserka2014-11-182-0/+2
| | | | | | | | Replace asserts with _dbg_assert_.
* | Remove extraneous semicolonsLioncash2014-11-182-2/+2
|/
* emu_window: Fix initializer list order.Lioncash2014-11-171-2/+2
| | | | Gets rid of a warning on OSX.
* Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functionsarchshift2014-11-132-51/+115
|
* Renamed souce files of services to match port namesGareth Poole2014-10-291-1/+1
|
* Add `override` keyword through the code.Yuri Kunde Schlesner2014-10-262-3/+3
| | | | This was automated using `clang-modernize`.
* Fix compile errors in ClangYuri Kunde Schlesner2014-10-261-1/+0
|
* Merge pull request #150 from lioncash/typoTony Wasserka2014-10-251-1/+1
|\ | | | | bit_field: Fix a typo in the sample usage.
| * bit_field: Fix a typo in the sample usage.Lioncash2014-10-251-1/+1
| |
* | Removed uses of raw c-string manipulation functions.archshift2014-10-244-21/+10
|/
* Merge pull request #133 from archshift/sdmc-enabledbunnei2014-10-241-2/+4
|\ | | | | Use config files to store whether SDMC is enabled or not, auto-create SDMC dir.
| * Common: Return from CreateFullPath early if the directory creation failsarchshift2014-10-231-2/+4
| |
* | Use std sized types instead of platform specific typedefsYuri Kunde Schlesner2014-10-232-32/+12
|/
* Merge pull request #108 from archshift/configbunnei2014-10-086-69/+73
|\ | | | | Configuration files
| * Added configuration file system.archshift2014-10-086-69/+73
| | | | | | | | Uses QSettings on citra-qt, and inih on citra-cli.
* | Common: Add a helper function to generate a 8.3 filename from a long one.Emmanuel Gil Peyrot2014-10-062-0/+53
| | | | | | | | Core: Fix the SDMC Directory implementation to make blargSnes work.
* | Fix warnings in core and commonLioncash2014-09-283-15/+5
|/
* Merge pull request #118 from lioncash/chunk-filebunnei2014-09-231-244/+0
|\ | | | | chunk_file: General cleanup
| * chunk_file: General cleanupLioncash2014-09-221-244/+0
| | | | | | | | | | - Remove unnecessary ifdefs - Remove commented out code. Can be retrieved later if needed.
* | Use the citra user path for the sdmc directoryarchshift2014-09-213-0/+4
|/
* Common: Rename the File namespace to FileUtil, to match the filename and prevent collisions.Emmanuel Gil Peyrot2014-09-174-25/+25
|
* Common: Return the number of items read/written in IOFile’s methods instead of a boolean.Emmanuel Gil Peyrot2014-09-171-8/+20
|
* Added support for multiple input device types for KeyMap and connected Qt.Kevin Hartman2014-09-125-40/+61
|
* Initial HID PAD work, with GLFW only.Kevin Hartman2014-09-124-0/+77
|
* Merge pull request #99 from archshift/ext-checkbunnei2014-09-1112-40/+44
|\ | | | | loader.cpp: improved file extension checking, made Upper/LowerStr useful, moved string_util into Common namespace
| * Moved common_types::Rect from common to Common namespacearchshift2014-09-091-1/+1
| |
| * Added string_util to common, small changes in loader.cpparchshift2014-09-0911-32/+39
| |
| * loader.cpp: improved file extension checking, made Upper/LowerStr usefularchshift2014-09-092-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.
* | Merge pull request #103 from archshift/prunebunnei2014-09-1110-34/+3
|\ \ | | | | | | Prune redundant includes
| * | common: Prune all redundant includesarchshift2014-09-0910-34/+3
| |/
* | Merge pull request #104 from archshift/removalbunnei2014-09-102-71/+0
|\ \ | | | | | | Removed fixed_size_queue.h
| * | Removed fixed_size_queue.harchshift2014-09-092-71/+0
| |/ | | | | | | It's unused and doesn't look like it compiles anyway :/
* | Merge pull request #101 from lioncash/inf-loopbunnei2014-09-101-3/+8
|\ \ | | | | | | Common: Fix a potential infinite loop in StringUtil's ReplaceAll
| * | Common: Fix a potential infinite loop in StringUtil's ReplaceAllLioncash2014-09-081-3/+8
| |/
* / Common: Remove HAVE_CXX11_SYNTAX define from Common.hLioncash2014-09-081-6/+0
|/
* Removed common/std_xyz, instead using the std headerarchshift2014-09-077-856/+6
|
* Removed common/atomic, instead using std::atomicarchshift2014-09-034-198/+0
|
* Remove hand-crafted Visual Studio solution.Yuri Kunde Schlesner2014-09-014-453/+0
|
* Avoid LOGGING redefinition warnings.Yuri Kunde Schlesner2014-09-011-0/+2
|
* CMake cleanupYuri Kunde Schlesner2014-09-011-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.
* Merge pull request #58 from lioncash/clampbunnei2014-08-211-0/+7
|\ | | | | Common: Add a clamp function to math_utils.h
| * Common: Add a clamp function to math_utils.hLioncash2014-08-191-0/+7
| |
* | Common: Get rid of an unnecessary forward declaration in symbols.hLioncash2014-08-181-2/+0
|/
* Common: Don't return a reference to a string when calling GetName in symbols.cppLioncash2014-08-182-2/+2
| | | | Returning a copy of the string is what was likely meant to be done.
* Merge pull request #52 from lioncash/memorybunnei2014-08-181-5/+8
|\ | | | | Common: Correctly set ptr to null if mmap fails in memory_util
| * Common: Correctly set ptr to null if mmap fails in memory_utilLioncash2014-08-171-5/+8
| | | | | | | | On POSIX systems mmap will return MAP_FAILED ((void*)-1) instead of a null pointer.
* | Merge pull request #48 from linkmauve/masterbunnei2014-08-181-24/+23
|\ \ | | | | | | Replace insecure temporary file creation with devshm.
| * | mem_arena: Replace insecure temporary file creation with devshm, importing Dolphin’s code.Emmanuel Gil Peyrot2014-08-161-24/+23
| |/
* | Common: Move remaining C header includes over to their C++ equivalentLioncash2014-08-178-21/+20
| |
* | Common: Move header guards over to pragma onceLioncash2014-08-1733-146/+41
|/ | | | Also replaced C headers with the C++ equivalent ones
* Simplified if-tree in extended_trace.cpparchshift2014-08-121-13/+9
|
* Merge pull request #41 from archshift/itrbunnei2014-08-122-78/+67
|\ | | | | Changed iterators to use auto, many of which using range-based loops
| * break_points.cpp: return directly from conditionalsarchshift2014-08-121-6/+2
| |
| * break_points: cleaned up, added `find_if`sarchshift2014-08-122-59/+51
| |
| * Changed iterators to use auto, some of which using range-based loopsarchshift2014-08-121-27/+28
| |
* | Remove the fancy RegisterSet class introduced in 4c2bff61e.Tony Wasserka2014-08-123-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.
* Use pthread_set_name_np() on OpenBSD.Anthony J. Bentley2014-08-081-1/+3
|
* RegisterSet: Simplify code by using structs for register definition instead of unions.Tony Wasserka2014-07-231-6/+8
|
* [build] Search for the git binary in the default msysgit install dirYuri Kunde Schlesner2014-07-191-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.
* BitField: Cast enum values to proper integer type.Tony Wasserka2014-07-161-1/+1
|
* BitField: Add a static_assert.Tony Wasserka2014-07-161-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.
* BitField: Delete copy assignment to prevent obscure bugs.Tony Wasserka2014-07-161-0/+16
| | | | Cf. https://github.com/dolphin-emu/dolphin/pull/483
* BitField: Add an explicit evaluation method.Tony Wasserka2014-07-161-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.
* Merge branch 'threading' of https://github.com/bunnei/citrabunnei2014-06-144-43/+48
|\ | | | | | | | | | | Conflicts: src/core/hle/function_wrappers.h src/core/hle/service/gsp.cpp
| * log: updated MAX_LOGLEVEL to use correct log level enum typebunnei2014-06-013-5/+5
| |
| * log: updated GenericLog __attribute__ for newly added parameterbunnei2014-06-011-1/+1
| |
| * log: fixed to not print twice, enabled coloring, added OS print logging as its own typebunnei2014-05-304-37/+42
| |
* | Removed definition of MAX_PATH, this is already defined in common_paths.h.bunnei2014-06-121-2/+0
| |
* | Preprocessor: #if's out OSX-specific GL changes on other platformsarchshift2014-06-121-1/+1
| |
* | Common: Removed duplicate "LONG" and "MAX_PATH" definitions.bunnei2014-06-121-2/+0
| |
* | Pica: Use some template magic to define register structures efficiently.Tony Wasserka2014-06-123-3/+166
| |
* | Rename LCD to GPU.Tony Wasserka2014-06-122-2/+2
| |
* | Merge branch 'threading'bunnei2014-05-236-3/+228
|\|
| * added MIN, MAX, and CLAMP macros to common_funcsbunnei2014-05-171-0/+5
| |
| * added ThreadQueueList class to common (taken from PPSSPP)bunnei2014-05-163-0/+218
| |
| * added kernel logger to commonbunnei2014-05-102-3/+5
| |
* | common_types: Changed BasicRect back to Rect, in the common namespacearchshift2014-05-201-4/+6
| | | | | | | | Only Rect is in the namespace for now; the rest of common should be added in the future
* | Improved clarity and whitespacearchshift2014-05-201-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.
* | CMakeLists: rename HEADS, improved commentsarchshift2014-05-201-2/+2
| | | | | | | | Changes for clarity of comments, removed redundant compiler flags.
* | Updated cmakelistsarchshift2014-05-171-0/+1
| |
* | Merge remote-tracking branch 'upstream/master' into issue-7-fixarchshift2014-05-175-5/+179
|\|
| * removed incorrect dolphin copyright linebunnei2014-05-081-1/+0
| |
| * fixed include of common in bit_field.hbunnei2014-05-081-1/+1
| |
| * logger fix for linuxbunnei2014-05-082-3/+3
| |
| * added GSP to loggersbunnei2014-05-082-2/+2
| |
| * added BitField to commonbunnei2014-05-083-0/+175
| |
| * - added better SVC loggingbunnei2014-05-062-5/+5
| | | | | | | | - added stubs for GetResourceLimit and GetResourceLimitCurrentValues SVCs
* | Support for C++11 on OSXarchshift2014-05-011-2/+2
| |
* | Fixed indentsarchshift2014-05-011-1/+1
| |
* | Some more experimentationarchshift2014-04-301-3/+3
| |
* | IT'S ALIVE!archshift2014-04-291-1/+39
| |
* | Fix complaints about functions that could not be foundarchshift2014-04-281-1/+1
| |
* | Problematic class with no current implementationarchshift2014-04-281-2/+2
| |
* | Rect to BasicRectarchshift2014-04-281-4/+4
| | | | | | | | Somewhere along the line an OSX header had already taken the name Rect.
* | add missing bswap functionsbunnei2014-04-281-0/+44
|/
* fix for issue Linux build #9, not sure why this is broken but its unused code I'm just getting rid of itbunnei2014-04-281-13/+0
|
* Merge branch 'hle-interface-updates'bunnei2014-04-281-5/+0
|\
| * removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable classbunnei2014-04-281-5/+0
| |
* | Resolved undefined Common::g_scm_branch error.Thomas Edvalson2014-04-251-1/+1
|/
* made qt window title consistentbunnei2014-04-241-1/+1
|
* fixes to scm_rev generation to make it conistent with windows buildbunnei2014-04-242-5/+5
|
* updated windows scm_rev code to use new styleShizZy2014-04-245-66/+53
|
* added scm rev generation on Linux/cmakebunnei2014-04-246-51/+37
|
* fixes to build on linuxbunnei2014-04-232-14/+14
|
* removed duplicate rotl/rotr functionsShizZy2014-04-231-26/+0
|
* updated CMakeLists for missing filesShizZy2014-04-231-0/+1
|
* Merge branch 'hle-interface'bunnei2014-04-184-5/+27
|\
| * added NDMA hardware interfacebunnei2014-04-182-2/+2
| |
| * added helper functions for upper/lowercase stringsbunnei2014-04-152-0/+22
| |
| * added logger for generic HLEbunnei2014-04-112-3/+3
| |
* | Add symbols mapMathieu Vaillancourt2014-04-134-0/+100
|/
* removed scm_rev.h from version controlbunnei2014-04-111-4/+0
|
* added missing const to GetWindowTitlebunnei2014-04-111-1/+1
|
* updated CMakeListsbunnei2014-04-101-16/+17
|
* - removed deprecated version.hbunnei2014-04-094-72/+52
| | | | | - cleaned up window title - cleaned up emu_window_glfw/emu_window
* fixed scm_rev_genbunnei2014-04-092-5/+5
|
* fixed project includes to use new directory structurebunnei2014-04-0944-211/+201
|
* got rid of 'src' folders in each sub-projectbunnei2014-04-0954-0/+0
|
* added "citra" instead of "emu" to title barbunnei2014-04-071-1/+1
|
* added logger option specifically for the rendererbunnei2014-04-062-2/+2
|
* added missing includes to common_types.hbunnei2014-04-051-0/+3
|
* Updated common_types.h to use Gekko's version w/ Rect and some useful unionsbunnei2014-04-051-30/+102
|
* added DISALLOW_COPY_AND_ASSIGN macrobunnei2014-04-051-0/+5
|
* added LCD loggerbunnei2014-04-052-2/+2
|
* added a HW option to loggingbunnei2014-04-052-48/+48
|
* convert tabs to spacesbunnei2014-04-0247-5298/+5298
|
* grabbed ppsspp's MemArenabunnei2014-04-012-221/+428
|
* added TIME logger for core timingShizZy2013-10-022-2/+2
|
* renamed GC_ALIGNED* macros to MEMORY_ALIGNED*ShizZy2013-10-021-12/+12
|
* upgraded proj files to vs 2013ShizZy2013-09-272-2/+16
|
* renamed from citrus to citraShizZy2013-09-264-5/+5
|
* moved file_sys back to coreShizZy2013-09-265-973/+0
|
* removed <windows.h> include from common.h and added it only where neededShizZy2013-09-242-5/+1
|
* moved file_sys to commonShizZy2013-09-245-0/+973
|
* added localtime_r for use on windowsShizZy2013-09-241-0/+8
|
* added utf8 to common module, utils for dealing with utf8ShizZy2013-09-244-0/+534
|
* updated to chunk_file module from ppssppShizZy2013-09-201-133/+623
|
* added a module for loading bootable binariesShizZy2013-09-202-4/+4
|
* added swap types to commonShizZy2013-09-194-0/+549
|
* removed CORE and LOADER from LogTypesShizZy2013-09-191-2/+0
|
* added CORE and LOADER to LogTypesShizZy2013-09-191-0/+2
|
* changed log CPU from PPC to ARM11ShizZy2013-09-182-2/+3
|
* added default windows includeShizZy2013-09-181-0/+4
|
* added file platform.hShizZy2013-09-164-0/+137
|
* renamed project to 'citrus'ShizZy2013-09-143-3/+3
|
* added scm_rev_gen project to automatically create a header with the git revision on buildShizZy2013-09-134-3/+162
|
* cleaned up VS project filesShizZy2013-09-091-11/+9
|
* fixed some code warningsShizZy2013-09-091-1/+1
|
* removed unneeded dolphin paths code, fixed linker problems with common.libShizZy2013-09-093-132/+118
|
* re-enabled GetLastErrorMsgShizZy2013-09-091-19/+23
|
* updated common pathsShizZy2013-09-082-4/+7
|
* start of 3DS memory mapShizZy2013-09-063-12/+3
|
* various fixes to be able to build projectShizZy2013-09-051-17/+13
|
* added emu_window.h to define interface to drawing to a windowShizZy2013-09-053-0/+108
|
* updated CMakeLists.txt file for new common filesShizZy2013-09-051-9/+16
|
* replaced common code with dolphin commonShizZy2013-09-0551-107/+8640
|
* deleted gekko's common filesShizZy2013-09-0428-4543/+0
|
* adding initial project layoutShizZy2013-08-3031-0/+4777