aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
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
2010-02-09Merged _headers and _filemap.Nicola Mettifogo
svn-id: r48012
2010-02-08Reduce header interdependenciesMax Horn
svn-id: r48010
2010-02-08Introduce factory function makeArjArchive, hide ArjArchive class implementationMax Horn
svn-id: r48009
2010-02-08Renamed ArjFile to ArchiveMan, and _arj to _archives.Nicola Mettifogo
svn-id: r48000
2010-02-08Moved ArjFile to drascula.Nicola Mettifogo
svn-id: r47999
2010-02-08Fix trunk after fscking up.Nicola Mettifogo
svn-id: r47998
2010-02-08Made ArjFile use a new ArjArchive class.Nicola Mettifogo
svn-id: r47997
2010-02-08Objectified CRC32 calculator.Nicola Mettifogo
svn-id: r47996
2010-02-08Shuffled code around a bit.Nicola Mettifogo
svn-id: r47995
2010-02-08Let ArjFile return a SeekableReadStream instead of implementingNicola Mettifogo
the same interface itself. The caller is now responsible for deleting the returned streams. svn-id: r47994