summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/StringUtil.cpp
AgeCommit message (Collapse)Author
2013-09-01A few more warnings.comex
2013-09-01MSVC warnings.comex
2013-08-29[Android] Add in a static libiconv library so non English games don't crash ↵Ryan Houdek
Dolphin Mobile.
2013-08-09Use a multibyte-neutral codepage when calling *printf on Windows.Pierre Bourdon
More explanation in code comments. Fixes issue 4046.
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-03-19Android mega commit of trash.Ryan Houdek
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-03-17Fix converting the charset of an empty string. Thanks to MrData on the ↵Pierre Bourdon
forums for reporting this issue.
2013-03-03Fix more of what I broke.Jordan Woyak
2013-03-03Fix what I broke.Jordan Woyak
2013-03-02Eliminate the wstring game name.Jordan Woyak
Some cleanup throughout related code. (try to make logic in ISOFile understandable by a human) Encode strings in UTF-8 rather than somehow trying to determine the encoding in the GUI code. Non-windows OSes temporarily broken.
2013-03-02Merge branch 'master' into windows-unicodeJordan Woyak
2013-02-28Fix a StringUtil regression from the arm-noglsl mergePierre Bourdon
Fixes issue 6048. Thanks to Starscream for locating the regression.
2013-02-27Add functions for converting between UTF-8/16.Jordan Woyak
2013-02-26ARM Support without GLSLRyan Houdek
2013-01-31Fix remaining compiler warnings.Glenn Rice
2011-12-29Reset errno to zero before testing it after the strtoul call. Fixes issue 5078.skidau
2011-12-13Fixed range check on TryParse() for u32, again.Maarten ter Huurne
The code from 748be364e5ee incorrectly accepted -0x100000000 on x86_64. Also if ERANGE is returned by strtoul(), reject the parsed value regardless of what that value is. This fixes invalid values being returned when compiling with Visual C++. Thanks to "cotton" for testing this.
2011-12-02Fixed range check on TryParse() for u32.Maarten ter Huurne
On x86-64, "unsigned long" is 64 bits wide, so it is possible for a number to not trigger a range error on strtoul() but still not fit inside an u32. An extra check is added to ensure that 32-bit and 64-bit builds will accept the same numbers.
2011-07-09Make PatchAddEdit complain and not modify entry if fields are invalid ↵Shawn Hoffman
instead of just filling in zeros. Fixes issue 4291. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7672 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-25Added an option for opening up the wiki entry in the compatibility list. ↵skidau
The option is in the right click menu of the games list. The game entries in the wiki are currently manually added by the administrator. Based on an idea by JPeterson. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7250 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-02-02Remove the global namespace a bit and remove some dead code.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7043 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-11Fix StringFromFormat hopefully for the last time. This should be more ↵Glenn Rice
efficient than before. Thanks to shuffle2 for the windows code. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6379 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-10The change to StringFromFormat was overwriting the last character with the ↵Glenn Rice
NULL terminating character. Also update a deprecated function call. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6374 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-10StringUtil fixJordan Woyak
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6370 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-10Fix for my tweak in the last commit. I knew I had that working at one point.Glenn Rice
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6369 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-10Linux build fix. stricmp does not exist on linux. Also a small tweak to ↵Glenn Rice
the StringFromFormat routine. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6368 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-10StringUtil cleanup. Nothing seems broken.Jordan Woyak
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6367 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-07-20Prevent double inclusion of CommonPaths.h as pointed out by Glenn.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5922 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-04Nits.Soren Jorvang
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5606 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-06-04Refactor the original and much more compatible IniFile implementation to ↵hrydgard
work more like Billiard's, with a public Section interface, but keep the old interface as well. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5603 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-23Replace the calls to sscanf(for number parsing) and number parsers with ↵pierre
strto(u)l The wcsto(u)l functions are available for your wide character needs. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5471 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-23Fix Linux build broken by use of stricmp and vsnwprintf.pierre
strcasecmp is provided by Source/Core/Common/Src/CommonFuncs.h and vswprintf is overloaded in C++ to take the same parameters as vsnwprintf, according to MSDN. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5470 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-05-23add some dx checking routines to the dx plugin + some minor stuffluisr142004
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5466 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-11-18allow dumping of all symbols to a signature fileShawn Hoffman
*hopefully* fix the memleak when scrubbing wii discs. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4588 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-07GUI: Fixed some GUI related start/stop crashesJohn Peterson
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4223 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04Revert accidental change to stringutilnakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4198 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04Fixed up the filemon a bit, added isEnable function to the logmanagernakeee
and moved the FileMonitor from debug to discio to prevert cross dependencies git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4197 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-09-02GUI: Added restart option to File menuJohn Peterson
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4173 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-04Path is now correctly X:\ on windows instead of X:\/LPFaint99
Allows booting from drive root Fixes issue 1035. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3672 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28Misc warning fixes.magumagu9
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3583 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-21New DSP debugger: step one. (not ready yet, but try loading zelda WW and ↵hrydgard
look at the dsp debugger..). Had to shuffle around quite a lot of code to be able to extract the CodeView into a library nicely so it can be used from both the main dolphin and the LLE plugin... also extracted the symboldb code. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3517 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-17DSPCodeUtil some code fixingnakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3485 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06When searching iso directories subfolders, do not include folders multiple timesLPFaint99
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2892 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-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-25Revering stringutil (don't you hate it when ector is right?;)nakeee
And small compile fix on linux git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2434 8ced0084-cf51-0410-be5f-012b33b47a6e