summaryrefslogtreecommitdiffstats
path: root/src/common (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-03-18vector_math: Add missing member in Vec4's SetZero functionLioncash1-1/+4
2016-03-14Reorganize the ndm service path for dummy implement functionJamePeng2-0/+2
SuspendDaemons , ResumeDaemons , OverrideDefaultDaemons The NDM file move to /core/hle/service/ndm/ now!
2016-03-13PICA: Align vertex attributesJannik Vogel2-0/+23
2016-03-13common_types: Make NonCopyable constructor constexprLioncash1-1/+1
2016-03-13common_types: Specify const in deleted copy constructor/assignment operatorLioncash1-2/+2
2016-03-09emitter: templatize ImmPtrLioncash1-2/+6
2016-03-09emitter: constexpr-ify helper functionsLioncash1-19/+17
2016-03-09emitter: Get rid of CanDoOpWithLioncash1-7/+0
This was removed in Dolphin as there were no particular uses for it. I'm sure the same will apply to citra.
2016-03-09emitter: constexpr-ify OpArgLioncash1-30/+30
2016-03-09emitter: friend class OpArg with XEmitterLioncash1-3/+4
2016-03-09emitter: Remove unimplemented prototypeLioncash1-1/+0
2016-03-09Common: Get rid of alignment macrosLioncash1-9/+1
The gl rasterizer already uses alignas, so we may as well move everything over.
2016-02-27x64 Emitter: Fix L bit in VEX prefixMerryMage1-2/+2
2016-02-26Initial implementation ir:usermailwl2-0/+2
2016-02-21AudioCore: Skeleton ImplementationMerryMage3-1/+5
This commit: * Adds a new subproject, audio_core. * Defines structures that exist in DSP shared memory. * Hooks up various other parts of the emulator into audio core. This sets the foundation for a later HLE DSP implementation.
2016-02-12BitField: Make trivially copyable and remove assignment operatorMerryMage2-26/+22
2016-02-05backend: defaulted move constructor/assignmentLioncash1-18/+2
2016-01-28color: Make trivial helpers constexprLioncash1-8/+8
2016-01-25key_map: Use std::tie for comparisonsLioncash1-7/+7
2016-01-16DiskDirectory: Initialize the directory member with valid info.Subv1-1/+1
2015-12-23Add missing return values in ForeachDirectoryEntryLFsWang1-4/+14
ForeachDirectoryEntry is changed by #1256 ,but return value at last line was missing.
2015-11-27Refactor ScanDirectoryTreeAndCallback to separate errors and retvalsarchshift2-50/+53
ScanDirectoryTreeAndCallback, before this change, coupled error/return codes and actual return values (number of entries found). This caused confusion and difficulty interpreting the precise way the function worked. Supersedes, and closes #1255.
2015-11-23Services/Cam: Added new log type and camera enums from 3dbrew.Subv2-0/+2
Followup to #1102 Original author @mailwl
2015-11-12fix failure on gcc and clangwwylele1-3/+3
2015-11-12disable unary minus when the type is not signedwwylele1-0/+4
silent warning C4146 on msvc
2015-10-22gl_rasterizer: Use MMH3 hash for shader cache hey.bunnei1-18/+0
- Includes a check to confirm no hash collisions.
2015-10-22renderer_opengl: Refactor shader generation/caching to be more organized + various cleanups.bunnei1-0/+18
2015-10-04Implement gdbstubpolaris-2-0/+2
2015-10-01bit_field: Re-enable code on MSVCLioncash1-11/+0
2015-10-01Split up FileUtil::ScanDirectoryTree to be able to use callbacks for custom behaviorarchshift2-103/+83
Converted FileUtil::ScanDirectoryTree and FileUtil::DeleteDirRecursively to use the new ScanDirectoryTreeAndCallback function internally.
2015-09-30symbols: Replace an insert call with emplaceLioncash1-1/+1
2015-09-30symbols: Get rid of initial underscores in variable namesLioncash2-20/+20
2015-09-30symbols: Directly initialize TSymbol membersLioncash1-8/+3
2015-09-30symbols: Simplify GetSymbolLioncash1-8/+5
2015-09-20Implement gdbstubpolaris-2-0/+2
2015-09-16hash: Get rid of unused functionsLioncash1-16/+0
2015-09-16general: Silence some warnings when using clangLioncash1-2/+2
2015-09-12memory_util: Remove unnecessary assignment in FreeMemoryPagesLioncash1-3/+0
2015-09-12memory_util: Remove commented out printf statementsLioncash1-10/+0
2015-09-12general: Replace 0 literals with nullptr where applicableLioncash2-6/+6
2015-09-12synchronized_wrapper: Add missing return in SynchronizedRef move assignment operatorLioncash1-0/+1
2015-09-11common: Get rid of a cast in swap.hLioncash1-2/+2
2015-09-11common: Get rid of debug_interface.hLioncash4-176/+0
This is technically unused. Also removes TMemChecks because it relies on this. Whenever memory breakpoints are implemented for real, it should be designed to match the codebase debugging mechanisms.
2015-09-01x64: Proper stack alignment in shader JIT function callsaroulin3-424/+90
Import Dolphin stack handling and register saving routines Also removes the x86 parts from abi files
2015-09-01Common: Import BitSet from Dolphinaroulin2-0/+190
2015-08-28Common: Fix MicroProfile compilation in MSVC2015Yuri Kunde Schlesner1-0/+5
2015-08-25Integrate the MicroProfile profiling libraryYuri Kunde Schlesner4-0/+51
This brings goodies such as a configurable user interface and multi-threaded timeline view.
2015-08-23x64-emitter: add RCPSS SSE instructionaroulin2-0/+2
2015-08-21emitter: Remove pointer castsLioncash2-4/+27
This should also technically silence quite a few ubsan warnings.
2015-08-20emitter: Remove unnecessary definesLioncash1-5/+1
2015-08-20emitter: Remove unnecessary else keywordsLioncash1-7/+7
2015-08-20emitter: Remove unused codeLioncash2-44/+0
2015-08-20emitter: Remove unimplemented JMP prototypeLioncash1-1/+0
2015-08-20emitter: Pass OpArg by reference where possibleLioncash2-763/+763
2015-08-20emitter: Remove unnecessary inline specifiersLioncash1-33/+33
Functions implemented in a class definition are already implicitly inline.
2015-08-18Fix building under MinGWdarkf2-4/+10
2015-08-16videocore: Added RG8 texture supportPatrick Martin1-0/+18
2015-08-16VMManager: Make LogLayout log level configurable as a parameterYuri Kunde Schlesner1-8/+7
2015-08-16Rename ARCHITECTURE_X64 definition to ARCHITECTURE_x86_64.bunnei8-14/+14
2015-08-16Common: Cleanup CPU capability detection code.bunnei4-198/+141
2015-08-16Common: Move cpu_detect to x64 directory.bunnei4-5/+5
2015-08-16x64: Refactor to remove fake interfaces and general cleanups.bunnei10-516/+26
2015-08-15Common: Added MurmurHash3 hash function for general-purpose use.bunnei5-2/+158
2015-08-15Common: Ported over boilerplate x86 JIT code from Dolphin/PPSSPP.bunnei9-4/+4380
2015-08-15Common: Ported over Dolphin's code for x86 CPU capability detection.bunnei4-17/+273
2015-08-15Handle invalid `Log::Class`Benjamin Barenblat1-1/+2
Add a case of `Log::Class::Count` to the switch statement that dispatches on `Log::Class`. The case simply calls the `UNREACHABLE` macro.
2015-08-12Stop defining GCC always_inline attributes as __forceinlinearchshift2-7/+8
__forceinline is a MSVC extension, which may confuse some people working on the codebase. Furthermore, the C++ standard dictates that all names which contain adjacent underscores are reserved.
2015-08-03Use UNREACHABLE macro for impossible cases in previous commitBenjamin Barenblat2-4/+3
Use the UNREACHABLE macro instead of `ASSERT(false, ...);`.
2015-08-03Common: Work around bug in MSVC2015 standard libraryYuri Kunde Schlesner1-0/+14
The char16_t/char32_t implementations aren't present in the library and cause linker errors. This is a known issue that wasn't fixed in VS2015 RTM.
2015-08-02Handle invalid `Log::Level::Count`Benjamin Barenblat2-1/+9
Add a case of `Log::Level::Count` to all switch statements that dispatch on `Log::Level`. The case simply asserts `false` and notes the invalid log level.
2015-07-19Common : Fix Conversion Warningszawata1-1/+1
2015-07-18Common: Remove the unused and commented GetThemeDir prototype from FileUtil.Emmanuel Gil Peyrot1-3/+0
2015-07-13Pica: Implement stencil testing.Tony Wasserka1-1/+26
2015-07-13FileUtil: Add a WriteObject method for writing a single, POD-type object.Tony Wasserka1-0/+10
2015-07-12don´t define snprintf on Visual Studio 2015Apology111-2/+4
Visual Studio 2015 defines this in stdio now
2015-07-11Common: Remove thunk.hLioncash2-43/+0
This isn't used, and there's no implementations of the member functions.
2015-07-10Common: Remove redundant masking in BitFieldYuri Kunde Schlesner1-1/+1
For the signed case, the shifts already remove the rest of the value, so ANDing by the mask is redundant.
2015-07-10Common: Fix mask generation in BitFieldYuri Kunde Schlesner1-1/+1
Fixes #913
2015-06-28Common: Remove unused type unions breaking aliasing rules in horrible ways.Emmanuel Gil Peyrot1-26/+0
2015-06-28Core: Cleanup file_sys includes.Emmanuel Gil Peyrot1-0/+1
2015-06-28Core: Cleanup core includes.Emmanuel Gil Peyrot1-1/+2
2015-06-28CitraQt: Cleanup includes.Emmanuel Gil Peyrot2-1/+1
2015-06-28Common: Cleanup emu_window includes.Emmanuel Gil Peyrot2-3/+15
2015-06-28Common: Remove unused ROUND_UP_POW2 macro.Emmanuel Gil Peyrot1-7/+0
2015-06-28Common: Cleanup key_map includes.Emmanuel Gil Peyrot1-0/+1
2015-06-28Common: Cleanup memory and misc includes.Emmanuel Gil Peyrot7-22/+18
2015-06-28Common: Cleanup profiler includes.Emmanuel Gil Peyrot4-7/+10
2015-06-28Common: Cleanup thread includes.Emmanuel Gil Peyrot2-18/+15
2015-06-28Common: Fix string_util includes.Emmanuel Gil Peyrot2-3/+9
2015-06-28Common: Fix FileUtil includes, and everything relying on those.Emmanuel Gil Peyrot3-7/+14
2015-06-27Common: Remove now-unused EMU_PLATFORM define, fixes issue #373.Emmanuel Gil Peyrot1-30/+0
2015-06-27Common: Remove unused SSE version checking and a GCC macro.Emmanuel Gil Peyrot1-25/+0
2015-06-27Common: Remove unused fifo_queue.h.Emmanuel Gil Peyrot2-112/+0
2015-06-12Services: Continue separation of services into their own folderspurpasmart962-2/+4
2015-06-09Render-to-texture flush, interval math fixtfarley1-1/+1
2015-05-30Move video_core/color.h to common/color.harchshift2-0/+215
2015-05-30Move video_core/math.h to common/vector_math.harchshift2-0/+641
The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core.
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot3-3/+3
2015-05-23OpenGL renderertfarley1-0/+4
2015-05-22Service::Y2R: Support for grayscale decoding of specific formatsYuri Kunde Schlesner2-0/+2
Implements unrotated planar YUV 4:2:0 -> RGB24 conversions in Y2R. Currently only the Y (luma) channel is used, so the results don't contain color. This will be added in a later PR at some point. This is enough to get all currently know Moflex videos to decode. (Some don't display on-screen due to seemingly unrelated reasons.) Thanks to @archshift for doing the initial implementation which I cleaned up and then fixed the 8x8 block mode.
2015-05-16Remove unused concurrent_ring_buffer.hYuri Kunde Schlesner2-164/+0
2015-05-14Common: Remove unused cruft from math_util, and remove a duplicated Rect class in common_types.Emmanuel Gil Peyrot4-409/+3
2015-05-12Common: Use the log system to print assert messagesYuri Kunde Schlesner1-7/+3
2015-05-12Common: Remove async loggingYuri Kunde Schlesner7-210/+32
It provided a large increase in complexity of the logging system while having a negligible performance impact: the usage patterns of the ring buffer meant that each log contended with the logging thread, causing it to effectively act as a synchronous extra buffering. Also removed some broken code related to filtering of subclasses which was broken since it was introduced. (Which means no one ever used that feature anyway, since, 8 months later, no one ever complained.)
2015-05-09Common: Remove the BIT macroYuri Kunde Schlesner1-2/+0
When the macro was introduced in 326ec51261299e48de97592631c02523da9c8118 it wasn't noticed that it conflicted in name with a heavily used macro inside of dyncom. This causes some compiler warnings. Since it's only lightly used, it was opted to simply remove the new macro.
2015-05-09Common: Add BIT macroYuri Kunde Schlesner1-0/+2
2015-05-08Common: Add StringFromFixedZeroTerminatedBufferYuri Kunde Schlesner2-0/+14
2015-05-08Profiler: Fix off-by-one error when computing average.Yuri Kunde Schlesner1-2/+1
2015-05-08Common: Remove mem_arena.cpp/hYuri Kunde Schlesner3-466/+0
It is superfluous for Citra. (It's only really necessary if you're doing JIT. We were using it but not taking any advantage from it.) This should make 32-bit builds work again.
2015-05-07Common: Remove hash.cpp/hYuri Kunde Schlesner3-543/+0
Currently unused and the code quality is pretty questionable.
2015-05-07Common: Add proper macros to test for architecture pointer sizeYuri Kunde Schlesner5-17/+11
The old system of just defining macros available in some other platform was susceptible to silently using the wrong code if you forgot to include a particular header. This fixes a crash on non-Windows platforms introduced by e1fbac3ca13d37d2625c11d30cfdece4327b446b.
2015-05-07string_util: Get rid of UriDecode/UriEncodeLioncash2-127/+0
2015-05-07Common: Remove common.hYuri Kunde Schlesner29-56/+43
2015-05-07Common: Move alignment macros to common_funcs.hYuri Kunde Schlesner2-21/+21
2015-05-07Common: Move SSE detection ifdefs to platform.hYuri Kunde Schlesner3-16/+21
2015-05-07Common: Remove more unused compatibility definesYuri Kunde Schlesner1-45/+0
2015-05-07Common: Move IO-specific compatibility macros to file_util.cppYuri Kunde Schlesner2-26/+26
2015-05-07Common: Remove many unnecessary cross-platform compatibility macrosYuri Kunde Schlesner5-88/+10
2015-05-07Clean-up includesYuri Kunde Schlesner1-0/+1
2015-05-07Move typedefs from kernel.h to more appropriate placesYuri Kunde Schlesner1-0/+5
2015-05-07Common: Move NonCopyable to common_types.hYuri Kunde Schlesner2-10/+10
2015-05-07Common: Use C++11 deleted functions for NonCopyableYuri Kunde Schlesner1-8/+6
2015-05-07Common: Remove unused enumsYuri Kunde Schlesner1-17/+0
2015-05-02EmuWindow: Clip mouse input coordinates to emulated screen dimensions.Zaneo2-6/+21
If the mouse position for a mouse move/drag would take it outside the emulated screen dimensions, clip the coordinates to the emulated screen dimensions. Qt and GLFW will report negative coordinates for mouse positions to the left, or above citra window. Added restriction to mouse coordinates passed to touchmoved by Qt/GLFW to be greater or equal to zero.
2015-04-16Common: thread.h cleanupsYuri Kunde Schlesner1-65/+16
The helper classes are rendered obsolete by C++11 lambdas. Also made formatting conform to our code style.
2015-04-10Thread: Implement priority boost for starved threads.bunnei1-0/+18
SVC: Return correct error code on invalid CreateThread processor ID. SVC: Assert when creating a thread with an invalid userland priority.
2015-04-03Services: Stubs and minor changespurpasmart962-0/+4
2015-03-30disassembler: Get rid of a const_castLioncash2-4/+4
2015-03-16Common: Fix logic for setting EMU_DATA_DIR.Emmanuel Gil Peyrot1-6/+5
2015-03-16Common: Make a #else more apparent.Emmanuel Gil Peyrot1-5/+1
2015-03-14EmuWindow: Fixed a reference to a temporary variableSubv1-1/+1
in GetTouchState()
2015-03-11HID: Complete refactor of pad/touch input to fix threading issues.bunnei2-68/+63
2015-03-10EmuWindow: Made pad/touch functions non-static.bunnei2-11/+6
2015-03-10EmuWindow: Added infrastructure code to enable touchpad support.bunnei2-1/+93
2015-03-09Added LCD registers, and implementation for color filling in OGL code.archshift2-0/+2
2015-03-08Fixed EmuWindow typo (fixes OSX build)bunnei2-2/+2
2015-03-07Set framebuffer layout from EmuWindow.bunnei2-7/+75
2015-03-06Logging: check for filter before sending to the queue, to skip all heavy formatting on the other thread.Emmanuel Gil Peyrot5-7/+17
2015-03-06Removed swap code redundancy and moved common swap code to swap.harchshift3-127/+97
2015-03-02Profiler: Implement QPCClock to get better precision on Win32Yuri Kunde Schlesner2-1/+42
MSVC 2013 (at least) doesn't use QueryPerformanceCounter to implement std::chrono::high_resolution_clock, so it has bad precision. Manually implementing our own clock type using it works around this for now.
2015-03-02Add profiling infrastructure and widgetYuri Kunde Schlesner6-0/+493
2015-02-25Common: Switch to the XDG Base Directory Specification for directory selection.Emmanuel Gil Peyrot2-10/+69
This allows for easily movable and independent configuration and data directories, using standardized paths.
2015-02-22Added information reporting from ThrowFatalErrorarchshift3-2/+2
This was RE'd from the errdisp applet.
2015-02-20Common: Change names containing “Dolphin” or “PPSSPP” to something more generic.Emmanuel Gil Peyrot2-8/+8
2015-02-20Misc cleanup of common and related functionsarchshift3-79/+28
2015-02-20Remove duplication of INSERT_PADDING_WORDS between pica.h and gpu.harchshift2-3/+3
2015-02-19Remove "super lame/broken" file_search compilation unit that was leftover from Dolphinarchshift3-128/+0
2015-02-19Remove redundant utf8 compilation unit that was leftover from Dolphinarchshift3-528/+0
2015-02-19Remove useless extended_trace compilation unit that was leftover from Dolphinarchshift3-480/+0
2015-02-19Remove the useless msg_handler compilation unit that was left over from Dolphinarchshift7-178/+11
2015-02-18Asserts: Use lambdas to keep assertion code away from the main code pathYuri Kunde Schlesner1-6/+25
2015-02-17ConfigMem: Clean up the Config memory to be more like the shared page and movedpurpasmart961-0/+7
the helper macro for padding to common_funcs.h
2015-02-13backend: Add logging subentry for ldrLioncash1-0/+1
Fixes an assertion upon executing citra in debug mode.
2015-02-12Build: Fixed some warningsSubv1-3/+3
2015-02-11Asserts: break/crash program, fit to style guide; log.h->assert.harchshift15-105/+73
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft.
2015-02-08Services: Stub some functionspurpasmart961-0/+1
2015-02-07Fix a wrong file name in a commentchinhodado1-1/+1
2015-01-30Common: Fix SCOPE_EXIT to actually create unique identifiers.Yuri Kunde Schlesner2-1/+7
2015-01-21Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxxarchshift3-10/+10
2015-01-10Logging: Log all called service functions (under trace). Compile out all trace logs under release for performance.archshift3-24/+8
2015-01-07Common: Clean up ThreadQueueListYuri Kunde Schlesner1-144/+74
Replace all the C-style complicated buffer management with a std::deque. In addition to making the code easier to understand it also adds support for non-POD IdTypes. Also clean the rest of the code to follow our code style.
2015-01-07CoreTiming: Ported the CoreTiming namespace from PPSSPPSubv2-0/+2
Implemented the required calls to make it work. CoreTiming: Added a new logging class Core_Timing.
2015-01-06Common: Remove dead platform #ifdefs to make the code more readable.Emmanuel Gil Peyrot5-101/+2
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.
2015-01-05Common: Use std::abs instead of abs, using abs with cmath fails on some systems.Emmanuel Gil Peyrot1-2/+3
2015-01-05Common: Remove the unused x86-specific 128-bit float type.Emmanuel Gil Peyrot1-11/+0
2015-01-04Archives: Changed the way paths are built for the archives.Subv3-20/+4
Each archive now takes a mount point of either NAND or SDMC, and builds its own directory structure there, trying to simulate an HLE-friendly hardware layout
2015-01-04SaveDataCheck: Move the files to nand/titleSubv1-1/+1
under /nand/title/high/low/content/00000000.app.romfs
2015-01-03Archives: Change the folder layout of some archives.Subv3-20/+24
This is to better represent the hardware layout, they are still aren't quite accurate, but this better and will help a bit when implementing the other archives like NAND-RO and NAND-RW
2015-01-03Archives: Reduced duplicate code in RomFS and SaveCheck.Subv3-0/+4
Fixed a few warnings and cleaned up the code
2014-12-31SOC_U: Preliminary implementation of sockets.Subv2-0/+2
Stubbed CreateMemoryBlock Using Berkeley sockets, and Winsock2.2 on Windows. So far ftpony creates the socket and accepts incoming connections SOC_U: Renamed functions to maintain consistency Also prevents possible scope errors / conflicts with the actual Berkeley socket functions SOCU: Close all the opened sockets when cleaning up SOCU
2014-12-30Fix MSVC-related #defines and add CMakeLists commentdarkf5-10/+10
2014-12-30Archives: Implemented ExtSaveData and SharedExtSaveDataSubv3-0/+4
They will be stored in /extsavedata/SDMC and /extsavedata/NAND respectively. Also redirect some APT_A functions to their APT_U equivalents. Implemented the gamecoin.dat file in SharedExtSaveData in the PTM module. Implemented formatting the savegame. Retake a previous savegame if it exists instead of reporting them as not formatted every time a game is loaded.
2014-12-21More warning cleanupsChin1-0/+6
2014-12-21License changepurpasmart9646-74/+74
2014-12-20BitField: Add an explicit Assign method.Tony Wasserka1-1/+5
This is useful when doing crazy stuff like inheriting from BitField.
2014-12-20Common: Add a clone of std::make_uniqueYuri Kunde Schlesner2-0/+17
2014-12-18SaveData: Implemented the SystemSaveData archive.Subv3-0/+4
It will be stored in the /syssavedata folder. This archive is user by various Services and possibly games via the FS:U service.
2014-12-18Filesystem/Archives: Implemented the SaveData archiveSubv3-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
2014-12-14Restore the original console color after logging a message.Yuri Kunde Schlesner2-13/+25
Fixes #277
2014-12-13Remove old logging systemYuri Kunde Schlesner6-850/+2
2014-12-13Add configurable per-class log filteringYuri Kunde Schlesner5-3/+205
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner8-71/+94
2014-12-13Implement text path trimming for shorter paths.Yuri Kunde Schlesner3-1/+53
2014-12-13Re-add coloring to the console logging output.Yuri Kunde Schlesner1-0/+50
2014-12-13New logging systemYuri Kunde Schlesner11-66/+716
2014-12-13Add SCOPE_EXIT macro to conveniently execute cleanup actionsYuri Kunde Schlesner2-0/+38
2014-12-13Added missing include in common_funcs.hYuri Kunde Schlesner1-0/+1
2014-12-13Remove redundant include from common_funcs.hYuri Kunde Schlesner1-2/+0
2014-12-13APT_U: Added GetSharedFont service function.bunnei1-0/+3
2014-12-12Common: Add "sysdata" to GetUserPath and cleanup.bunnei3-26/+3
2014-12-10Explicitly specify LE strings to iconv, fixes paths in Steel Diverarchshift1-2/+2
2014-12-09Remove unused NDMA moduleYuri Kunde Schlesner2-2/+0
2014-12-09Some code cleanup.Tony Wasserka1-0/+2
2014-12-09Fix some headers to include their dependencies properly.Tony Wasserka2-0/+7
2014-12-07StringUtil: Perform some minimal cleanup.Tony Wasserka1-3/+3
2014-12-03Change NULLs to nullptrs.Rohit Nirmal17-92/+92
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