summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/LogManager.cpp
AgeCommit message (Collapse)Author
2013-04-24Merge branch 'master' into wii-networkMatthew Parlane
Conflicts: Source/Core/Core/Src/Boot/Boot_BS2Emu.cpp Source/Core/Core/Src/ConfigManager.cpp Source/Core/Core/Src/HLE/HLE_OS.h Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_es.cpp Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_es.h Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.cpp Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_net.h
2013-04-17New license header introduced for DiscIO, AudioCommon, InputCommon, ↵Lioncash
VideoCommon, and Common projects.
2013-04-15Update the license file text (change SVN to Git) in all projects except Core ↵lioncash
since I was told a merge was happening soon. So for the sake of the merge going smoothly, I'll fix that when I remove the tab/space mismatches from the Core project. Also, some tab/space mismatches removed from VideoOGL, and some places I missed in VideoDX[number] projects. Now, the Core is literally the only project with tab/space mismatches (on a large scale).
2013-04-11Merge branch 'master' into wii-networkMatthew Parlane
Conflicts: Source/Core/Core/CMakeLists.txt
2013-03-27Fix a slight leak in LogManager.Lioncash
m_debuggerLog wasn't ever deleted in the destructor.
2013-03-27Merge branch 'master' into wii-networkskidau
# By Ryan Houdek (185) and others # Via degasus (12) and others * master: (625 commits) Revert "Don't open/close file for every file operation." as it was crashing PokePark in Windows builds. Array overrun fixed in VertexShaderCache for the DX11 plugin. Fixed DSPTool build. Windows build fix Go back to assuming every HID device is a wiimote on Windows. Fixed issue 6117. Unfixed issue 6031. VideoSoftware: Improve fog range adjustment by using less magic and more comments. revert RasterFont for VideoSoftware ogl: fix virtual xfb Windows build fix from web interface... Adjusted the audio loop criteria, using >= on the Wii and == on GC. This fixes the audio static that occurred in Wii games after hours of play. Forced the exception check only for ARAM DMA transfers. Removed the Eternal Darkness boot hack and replaced it with an exception check. VideoSoftware: Implement fog range adjustment, fixing issue 6147. implement 4xSSAA for OGL move ogl-only settings into backend Fix description of disable fog, and move it to enhancements tab. Reverted rd76ca5783743 as it was made obsolete by r1d550f4496e4. Removed the tracking of the FIFO Writes as it was made obsolete by r1d550f4496e4. Forced the external exception check to occur sooner by changing the downcount. Mark the Direct3D9 backend deprecated. Prefer D3D11 and OpenGL over D3D9 by default. ... Conflicts: CMakeLists.txt Source/Core/Common/Common.vcxproj.filters Source/Core/Common/Src/CommonPaths.h Source/Core/Core/Core.vcxproj.filters Source/Core/Core/Src/Core.cpp Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp Source/VSProps/Dolphin.Win32.props Source/VSProps/Dolphin.x64.props
2013-03-19Clean up more space/tab mismatches in AudioCommon, Common, and VideoCommon.lioncash
Not planning to touch Core since it's the most actively changed part of the project.
2013-02-28Open std::fstream in a unicode-safe manner.Jordan Woyak
2013-02-26ARM Support without GLSLRyan Houdek
2013-01-11Merge branch 'wii-usb' into temp merge branchMatthew Parlane
Conflicts: Source/Core/Common/Src/Log.h Source/Core/Core/Core.vcxproj Source/Core/Core/Core.vcxproj.filters Source/VSProps/Dolphin.Win32.props Source/VSProps/Dolphin.x64.props
2013-01-08Merge branch 'gdbstub' into wii-networkMatthew Parlane
Conflicts: Source/Core/Core/Src/ConfigManager.cpp
2013-01-06Started gdb stub support.Matthew Parlane
2013-01-04Add generate id support.Matthew Parlane
Add hollywood id to config file. SSL and WC24 have their own logs now.
2012-04-04Implemented /dev/usb/hid as libusb, but this will not work on mac. Code ↵Matthew Parlane
started for using hidapi instead.
2012-01-07added an option to log to the attached Windows debugger (so e.g. NOTICE_LOG ↵nitsuja
messages can show up in Visual Studio's output window)
2011-04-01Use mutexes in LogManager to make it threadsafe, as suggested by beistin's ↵Jordan Woyak
patch. Change some LogManager function names to be consistent with Dolphin's naming conventions. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7433 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-11Wrapped fopen/close/read/write functions inside a simple "IOFile" class. ↵Jordan Woyak
Reading, writing, and error checking became simpler in most cases. It should be near impossible to forget to close a file now that the destructor takes care of it. (I hope this fixes Issue 3635) I have tested the functionality of most things, but it is possible I broke something. :p git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7328 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-11Remove the need for the less than standard strnlen()/strndup().Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7326 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-03-05Replaced Common::CriticalSection with a std::mutex implementation. 64bit ↵Jordan Woyak
Windows builds now use SRWLocks and ConditionVariables(requires Vista/7, x64 builds will no longer work on Windows XP x64). Tell me if you hate that. Removed Common::EventEx. Common::Event now uses a std::condition_variable impl.(using ConditionVariables on Windows x64, Events on x86, or posix condition variables elsewhere). I experience slight speed improvements with these changes. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7294 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-28Convert GetUserPath to return a std::string instead of a const char *. This ↵Glenn Rice
simplifies its usage in most cases. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7265 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-22Build Speaker.cpp.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7226 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-14Some work on changing comments, log messages, and variable and function ↵Glenn Rice
names to reflect that the plugins are not plugins anymore. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7170 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-27Core/DSPCore: Improve Interpreter address register add/sub, convert topierre
assembler for JIT. Replace JIT ToMask() with a different variant. Remove superfluous zeroWriteBackLog calls(added by me). Core/Common: Don't bother creating a string and calling into a Logs trigger() when there is noone listening. Change AtomicLoadAcquire for gcc to just make the compiler not reorder memory accesses around it instead of doing a full memory barrier, per the comment in the win32 variant. Core/AudioCommon: Fix a use of uninitialized variable inside libalsa. Microbenchmarking results for ToMask variants:(1 000 000 000 iterations): cpu\variant| shifts | bit scan intel mobile C2D@2.5GHz | 5.5s | 4.0s amd athlon64x2@3GHz | 6.1s | 6.4s (including some constant overhead identical to both variants) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6667 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-14Revert back to LogTypes. Fixes issue 3668.Glenn Rice
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6580 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-12-05First pass at dealing with different size_t/off_t sizes in C90 environments.Soren Jorvang
Most of the code dealing with the LogTypes namespace was C which lead to a lot of nonsensical casting, so I have dumbed LOG_TYPE and LOG_LEVEL down to plain C even though the move of wiiuse into Source means we don't currently call GenericLog from C. Set logging threshold to MAX_LOGLEVEL at startup so debug builds will also p rint debugging messages before the GUI is running. For some reason the way we use SetDefaultStyle doesn't play nice with wx 2.9 so we just get the default black text on a black background. Using a gray background works around that problem, but I found it to also be much easier on the eyes so I have switched the background color on all versions. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6528 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-13Simplify GenericLog() for C/C++.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6391 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-16Allow C code to use the Dolphin log manager so that Wiiuse text outputSoren Jorvang
can go to the log window like with other subsystems. Remove a Wiiuse dependency on libm from when it was a shared library. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5885 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-29Changed both video plugins to save PNG screenshots. Made GCPad New default ↵Jordan Woyak
in trunk (it already is in stable). Fixed a hack in new wiimote plugin. Other minor changes. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5532 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-28Improve iterator usage.Jordan Woyak
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5528 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-10JIT single steppingskidau
Enable it by uncommenting the defines in JitBase.h. For breakpoints to work in JIT mode, the block cache must be disabled. The PPC instruction trace, regs, fpu regs, flags, generated x86 binary and generated x86 disasm are logged in the Dynamic Recompiler log. Fixes issue 1052. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5314 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-03-18Did some clean up of the GUI main. Also, parse command line options first, ↵Glenn Rice
then set up directories (linux and apple), then load the log manager, sconfig, etc. Removes the need for my silly log manager and sysconf reload. Changed the default font for the log window to the local font (why was a Japanese font the default?). Also fixed an issue that prevented the log windows settings from being saved properly. Lots more needs to be done with the AUI manager. That stuff doesn't work. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5213 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-16Fixed a few memory leaks. Made Init and Shutdown functions for some core ↵donkopunchstania
systems. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5064 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-02Linux global build. At least the basic footwork is done here.Glenn Rice
Basic usage: "sudo scons install=global install" Hopefully this doesn't break builds on Macs. I have tested this on linux and windows. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4994 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-19JitIL is no longer a separate .exe/binary - it's now a simple option, ↵hrydgard
Dolphin.exe now contains both cores. Advantages: * Less confusion for users * No need to build twice to make sure you didn't break something * Easier to switch between the cores for testing Disadvantages: * None, as far as I can tell :) Maybe some extra code complexity, but not much. Also break some include chains that caused <windows.h> to get included into everything, slowing down the build on Windows. There's more to do here though, there's still a lot of files that get it included that don't need it at all. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4891 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-03Adding line and file name to the log.nakeee
This makes the log line a bit too long in my taste so if anyone got an idea of how to make it look nicer i.e making it optional or adding it only to errors/warnings do share git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4776 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-06Add ability to use Reset (reset button interrupt, still figuring out the ↵Shawn Hoffman
other reset modes) Add support for button combos that are built-in to controllers: y+x+start for three seconds updates the origin b+x+start for three seconds resets Changed CPeripheralInterface to a namespace and renamed to ProcessorInterface git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4366 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-15normalize wiimote logging: no more crazy newlines, plugin logs to...wiimote ↵Shawn Hoffman
plugin log, ipc wiimote stuff logs to...WII_IPC_WIIMOTE git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4270 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-03GUI: Added file monitor logJohn Peterson
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4185 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-31Some code cleanup, disabled listchilren as it seems to move Pods where nakeee
they should be causing crashes (until someone feels like fixing it) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4123 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-15NETPLAY : display game name correctly in gui , added netplay to logmanager ↵daco65
(netplay is horribly in seeing what its doing). hoping to get netplay to work again cause its borked LLE: warning fix (would linux hate {} ? ) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3987 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-28Now ALL copyright dates are fixed to the legally correct year: The year in ↵XTra.KrazzY
which the project began. Now we don't have to change it every year :) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3898 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18Add log for MEMCARD_MANAGER (requires an almost complete rebuild :( sorry)LPFaint99
Fix a crash when trying to delete a save from a memcard that the DEntry order does not match the starting block order add the option to export saves as GCS and SAV Buildfix for external MEMCARD_MANAGER git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3826 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-12Rearrange LogManager includes. The main purpose is to make it possible to ↵Nolan Check
modify Thread.h without recompiling the whole entire project. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3770 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-07Various changes: Fixed linux build, added some zelda ucode RE, added HLE ↵XTra.KrazzY
mail logging features git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3704 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-09Debugging: Added 'insert nop' to menu, added 'show history' code for ↵John Peterson
interpreter mode git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3388 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-04give serial port 1 it's own logShawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3154 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-01DSPSpy: Hide loop stack registers - they aren't relevant for most ↵hrydgard
investigations. Highlight differences on both sides. Show the accelerator subregs in order. Make it possible to include some code from Dolphin into DSPSpy, good for grabbing useful #defines. (had to change the GEKKO log to POWERPC). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3120 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-24get rid of annoying extra null byte at the end of log lines written to file.Shawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3057 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-19give /dev/stm it's own logShawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3008 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06Added separate log for DSP LLE.XTra.KrazzY
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2901 8ced0084-cf51-0410-be5f-012b33b47a6e