aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
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
2010-01-31Slight formatting fixes to comply to our coding guidelines.Johannes Schickel
svn-id: r47744
2010-01-30- Call the special debug channels "channels" consistently. (Formerly ↵Johannes Schickel
sometimes they were refered to as "levels"). - Along with it add some more descriptive commentary about what is the intention behind debug channels. svn-id: r47727
2010-01-25Fix virtual-keyboard not changing size, when the user changes the scaler ↵Johannes Schickel
while it is not visible. svn-id: r47544
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-24Fix indentationJordi Vilalta Prat
svn-id: r47499
2010-01-11Move Mac Binary resource loader to common class. Plug tons of memory leaks ↵Eugene Sandulenko
along the way. svn-id: r47258
2010-01-08Move DisposeAfterUse::Flag from Common to global namespace, and into a new ↵Max Horn
header common/types.h svn-id: r47180
2010-01-08Fix documentation for setMouseCursor's format paramenter.Johannes Schickel
svn-id: r47173
2010-01-07- Adapt documentation, that keycolor in setMouseCursor may not exceed the ↵Johannes Schickel
maximum color value of the specified format. - Change SDL backend to assert out on invalid keycolor values In case we really need a way to specify "no keycolor" we need to discuss on how to do it *properly*. svn-id: r47123
2010-01-07The default keycolor for mouse pointers used to be 255.Marcus Comstedt
This makes sense as a default for CLUT8 modes, but not really for anything else. As part of the gsoc2009-16bit merge, the default was changed to "all ones", with extra code in the SDL backend to truncate this to the depth of the mode. However, "all ones" (white) still isn't a very useful default for RGB modes. So rather than jumping through hoops to provide a bad default, it's better to remove the default altogether. Engines which relied on the old default of 255 have been updated to specify it explicitly. svn-id: r47118
2010-01-04Implemented the same fix for tag2string() as in commit #44920, thereby ↵Filippos Karapetis
fixing an assert in MSVC with the QT player when playing Myst. The parameter passed to isprint() should always be unsigned svn-id: r46989
2010-01-03Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is nullTorbjörn Andersson
before freeing it, which isn't necessary. svn-id: r46941
2010-01-03Sort language list (and showing that Lure is really broken).Eugene Sandulenko
svn-id: r46932
2009-12-31Add support for Chinese translated games.Eugene Sandulenko
svn-id: r46805
2009-12-31Remove the getBeginOffset() hack from Common::SeekableReadStream and ↵Matthew Hoops
introduce QTPlayer::setChunkBeginOffset() to allow specifying what offset to use. svn-id: r46786
2009-12-30Get rid of Common::String::emptyString, and also of some port specific ↵Max Horn
hackery (getting rid of certain global C++ objs) svn-id: r46781
2009-12-30Rename Common::Stream::readLine_NEW to readLineMax Horn
svn-id: r46779
2009-12-30spellingMax Horn
svn-id: r46778
2009-12-30remove bad hackery caused by n64 port and avoid polluting StdioStream using ↵Fabio Battaglia
a custom Stream subclass svn-id: r46777