aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2010-05-18Added getBaseFileName() method and enhanced open() with trying macbinary ↵Eugene Sandulenko
format in plain files svn-id: r49074
2010-05-17Minor formatting.Johannes Schickel
svn-id: r49067
2010-05-17Get rid of Common::Rational::normalize and other redundant codeMax Horn
svn-id: r49066
2010-05-17Some tweaks and fixes for Common::RationalMax Horn
* Fix Common::gcd to work with negative input * This fixes a bug in Common::Rational's multiplication code * Add some more basic unit tests (including one which checks for the now fixed multiplication bug) * cleanup svn-id: r49064
2010-05-17Add the Common::Rational class from patch #2963496 (VideoDecoder Rewrite)Matthew Hoops
svn-id: r49061
2010-05-17Restrict MIPSpro workaround to non-gcc compilers -- fixes compilation with ↵Joost Peters
gcc on irix. svn-id: r49060
2010-05-12Fix mismatched new[]/delete[]Matthew Hoops
svn-id: r49018
2010-05-11Pass by reference instead of value to getResource(String)Matthew Hoops
svn-id: r49008
2010-05-11Add support for getting a resource from the resource fork by name.Matthew Hoops
svn-id: r49004
2010-05-10Add support to the MacResManager and AdvancedDetector to take the md5 of a ↵Matthew Hoops
resource fork. This introduces a new flag, ADGF_MACRESFORK, which when set will take the md5 and size from the resource fork instead of the data fork. svn-id: r48997
2010-05-10Minor fix for using the MacResManager with a regular file; switch ↵Matthew Hoops
MacBinary's data fork to using a SeekableSubReadStream instead of a MemoryReadStream. svn-id: r48995
2010-05-09Patch #2901515: HE: Resource Forks on Mac OS XEugene Sandulenko
svn-id: r48984
2010-05-05Replace various strncpy usages by strlcpy.Johannes Schickel
svn-id: r48955
2010-05-05Add a custom implementation of OpenBSD's strlcat and strlcpy.Johannes Schickel
This includes both an implementation and some basic unit tests for the above mentioned functions. svn-id: r48953
2010-05-04Reduce indirect header dependencies furtherMax Horn
svn-id: r48936
2010-05-04Move DebugChannel related code to new headerMax Horn
svn-id: r48935
2010-04-27correct indentionMax Horn
svn-id: r48822
2010-04-27COMMON: Move DebugChannel stuff into a new DebugMan singletonMax Horn
svn-id: r48821
2010-04-27cleanupMax Horn
svn-id: r48820
2010-04-20Document setPalette() and grabPalette() changes, fix some incorrect 8bit ↵Andre Heider
statements. svn-id: r48758
2010-04-19Fix regression introduced with r46130, which caused debugN strings to be ↵Johannes Schickel
post processed via debugOutputFormatter. Formerly all debugN strings were not post processed via "errorString" (or the "debugOutputFormatter" as it is called nowadays). This revision did change how debug strings are post processed and removed the special case for debugN by accident. svn-id: r48716
2010-04-13Whitespace fix.Johannes Schickel
svn-id: r48654
2010-04-13Print message when creating new INI; don't rewrite it directly after reading.Max Horn
Together with the r48651, this addresses bug #2983718: "Incomprehensible message for missing scummvm.ini" svn-id: r48653
2010-04-13Patch #2985205: "GSoC: Improve FSNode warning messages"Max Horn
svn-id: r48651
2010-04-12Apply patch #2982163 - CONFIG: Use HE keyword instead of HB for the Hebrew ↵Ori Avtalion
language svn-id: r48645
2010-04-11Rest of patch #2982224: GSoC: Added unit test and unified error message displayMax Horn
svn-id: r48627
2010-04-06COMMON: Add Common::parseBoolMax Horn
svn-id: r48566
2010-03-29COMMON: Cleanup ConfigManager codeMax Horn
* get rid of ConfigManager::_emptyString * get rid of ConfigManager::Domain::get (use getVal instead) * remove some dead code svn-id: r48417
2010-03-22Patch #2973290: Semicolon cleanupMax Horn
svn-id: r48359
2010-03-20- Renamed SharedPtr<T>::Pointer to SharedPtr<T>::PointerTypeJohannes Schickel
- Introduced ReferenceType to SharedPtr and ScopedPtr svn-id: r48337
2010-03-20Style fixes / cleanup.Johannes Schickel
svn-id: r48336
2010-03-20added ScopedPtr templateVladimir Menshakov
svn-id: r48334
2010-03-20Some style fixes.Johannes Schickel
svn-id: r48313
2010-03-20Remove unused stdarg.h include.Johannes Schickel
svn-id: r48312
2010-03-20Sort object files.Johannes Schickel
svn-id: r48311
2010-03-20Move StringTokenizer to its own files (tokenizer.h/tokenizer.cpp).Johannes Schickel
svn-id: r48310
2010-03-20Add common/util.h include to common/algorithm.h for SWAP.Johannes Schickel
This should fix the compilation with clang++, see bug report #2971226 "COMMON: Compile error - SWAP undeclared in algorithm.h". svn-id: r48307
2010-03-18COMMON: Get rid of Common::StringListMax Horn
svn-id: r48287
2010-03-18COMMON: Move typedef StringList from str.h to new header str-array.hMax Horn
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282
2010-03-18COMMON: Move tag2str from util.h to str.hMax Horn
svn-id: r48281
2010-03-18COMMON: Move port specific '#define fputs' from util.cpp to textconsole.cppMax Horn
svn-id: r48280
2010-03-18COMMON: Move Common::RandomSource to common/random.*Max Horn
svn-id: r48279
2010-03-13Fix our DECLARE_SINGLETON macro to conform to the C++ specs.Johannes Schickel
We need to use a namespace Common { } there to make strict C++ compilers like clang++ and comeau happy. I also added a slight comment about why that is needed to the macro definition and a note that you need to use it from the global namespace. svn-id: r48254
2010-02-28Add a comment to document my removal of stream delete in previous commitFabio Battaglia
svn-id: r48155
2010-02-28do not delete the stream twice in makeZipArchive as it's already deleted by ↵Fabio Battaglia
unzOpen if a problem is encountered svn-id: r48154
2010-02-23Update Common::KeyState commentsMax Horn
svn-id: r48120
2010-02-21Patch for bug 2943361 by littleboy, adding full kb modifier support to all ↵Yotam Barnoy
engines + GUI and proper keypad handling svn-id: r48101
2010-02-13cleanupMax Horn
svn-id: r48041
2010-02-13Hide ZipArchive implementation, only expose it via factory functions: ↵Max Horn
makeZipArchive() svn-id: r48040
2010-02-09Remove last traces of File::addDefaultDirectoryMax Horn
svn-id: r48027