summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/FileUtil.cpp
AgeCommit message (Collapse)Author
2010-05-30De-inline StripTailDirSlashes() to work around a weird code generation bug.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5549 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-12OSX fix Dolphin not actually using the Application Support path.Shawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5445 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-06apply soren.jorvang's case-sensitivity patch (closes issue 2656) :Pluisr142004
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5436 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-08Random fixes and cleanupsNeoBrainX
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5297 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-04-06Fix wrong sprintf usage: the parameters use the restrict keyword so they may ↵NeoBrainX
not point to the same location. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5286 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-08make ESC quit the game instead of toggling out of/into full screen mode ↵luisr142004
(fixes issue 2246), implement proper window handling (d3d/sw) which i believe fixes a hang that occurs when a game is stopped (plz test this :)) + some minor stuff git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5030 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-03some cleanup, housekeeping for error cases and increased a few buffer sizes ↵j4ck.fr0st
that are overflown by its content. Thanks to Fatalis for the initial patch and pointing us to cppcheck. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5004 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-02-03Revert commit 4997 and fix in a way that is more consistent with the structureGlenn Rice
before the global build patch git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4999 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-02-01Fixes issue 1777.luisr142004
plus a fix for wiimote detection on win32 when using the default MS stack git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4989 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-29Fixes Issue 2176 (SysConf on OSX), plus some initialization order warning ↵j4ck.fr0st
fix in VolumeDirectory.cpp git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4985 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-31remove some newlines from FileUtil logs.Shawn Hoffman
add ___blank to HLE'd debug logging. add long long support to HLE_OS::GetStringVA take care of those annoying sdio 0x40 and 0x41 commands...not that they do much in the first place... some cleanup on the IPC net devices git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4488 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-21fix some path issues on OSX, also libao for osx only supports ↵Shawn Hoffman
44.1kHz...awesome...who calls writing the CoreAudio backend so we can kill libao? :D git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4311 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13patch by Daco for extracting directory contents from a gcm (which also ↵LPFaint99
allows dumping an entire partion other than 0 from a wii disc) plus a small fix for File::GetSize log git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4258 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-06revert changes to GetSysDirectory from last commit, I was trying to fix my ↵Shawn Hoffman
issue with CWD going all wacky (unsuccessfully). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3943 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-08-06misc cleanupShawn Hoffman
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3942 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-30dolphinwx and debuggerwx can now be compiled with unicodeLPFaint99
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3906 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-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-06-12Fix for tatsunoko vs capcom and those wii games getting corrupted memory errorsl1nk3.s
+ a couple of (serious...) fixes for some of my mistakes, and some warning fixes git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3411 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-05-04fix plugin dir for nongui version for osxtmator
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3155 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-25Completely fixed DSPTool, on all of its memory leaks, bad API and bad C++. ↵XTra.KrazzY
(compiling with include works perfectly) More small leftover fixes git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3071 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-18DSP: More work on dsptool. Minor bugfixes. Add some testdata for dsptool.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2993 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-16fix CreateFullPath, fix memcards not being created if the path didn't exist ↵Shawn Hoffman
for some reason, don't put dsptool .pdb files in the binary dir git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2984 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-14DSP: Give the assembler and disassembler saner public APIs. Fix bug in ↵hrydgard
fileutil ReadFileToString. More cleanup. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2970 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-12DSP assembler: Error message improvements.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2956 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-12DSP: Move the LLE core to a library. Added DSP assembler from gdtool, start ↵hrydgard
cleaning it up. Create a new program called "DSPTool" which will become a more up to date replacement for gdtool from the devkitpro, automatically incorporating all our findings as we make them. This program depends on the new library. It can *ALMOST* roundtrip (asm->disasm->asm) hermes' DSP mixer at this point. Sorry about the unfinished Sconscript work - I'll fix it soon if nobody else does it first. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2955 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-28Some code cleanupomegadox
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2768 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-20Don't log when File::Exist fails - that's just obnoxious. fix a const.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2692 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-09fix main config dir on osx and autodetect ogl version when it buildtmator
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2630 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-03fixed crash on linux, added DISCIO logging type, some extra logging messages ↵nakeee
and some logging cleanup git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2533 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-01osx compile fixnakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2508 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-01Small fixnakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2492 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28fix compile on osx and linuxnakeee
added GetPluginDirectory (please check on windows) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2490 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28add missing ;hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2466 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-28Merge large parts of nakeee's "Soap" branch into trunk, after fixing a few ↵hrydgard
crash bugs in FileUtil.cpp. Not really anything interesting, just some better comments, some slightly more portable/cleaner code in places. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2459 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-26fix plugin dir on osxtmator
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2443 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-25Added set and get in ini for comma seperated listnakeee
Also merged the StripSpaces with StripNewline and cleaned it up a bit. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2433 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24Ported wxutils from soap branch (Should make launch and explore work in ↵nakeee
Linux and osx as well) please test on windows. Fixed a compile bug and a small bug in the cdutils(thanks lp). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2420 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24Added cdutils which suppose to scan for devices in a portable way (ripped ↵nakeee
from cdio) Changed the Code to use it instead of DriveUtil code. Please test the code git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2413 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24Attempt at raw drive access for linux / osx, test please :)LPFaint99
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2410 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-24added check if "file open dialog" changes the working directory. i dunno why ↵fires.gc
but some times the file open dialog changes my working directory... the code is for further investigations git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2408 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-21Adds IsDrive to FileUtil for win32,LPFaint99
Adds booting from drive to gui. disabled as it is currently too slow unless it is a virtual drive Changes DriveUtil to start checking at D: as it is unlikely that a, b, or c will be a cd/dvd drive Addes DriveBlob functions, untested on linux/osx probably needs more work Removes duplicate message from EXI_DeviceMemoryCard.cpp when creating a brand new memcard git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2345 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-16Revert r1861LPFaint99
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1879 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15nakee's work on dolphin events. Also get wxw out of logmanager. This commit ↵Shawn Hoffman
wants your comments git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1875 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-13Move #include <window.h> from all files that include it and common.h to common.hLPFaint99
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1861 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-30unexplained warning fixnakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1722 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-29implement ScanDirectoryTree for POSIXbushing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1710 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-17Comment out slightly annoying error message - not even sure that creating a ↵hrydgard
directory that exists should be called an error. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1558 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-09Fix filesize computation broken by XtraKrazzy in R1405hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1468 8ced0084-cf51-0410-be5f-012b33b47a6e