Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-04-22 | COMMON: changed class StringList to a simple typedef; enhanced the ↵ | Max Horn | |
Common::Array constructor which converts regular arrays to Array objects to be more flexible in its type (allows e.g. to assign an array of char* to a StringList svn-id: r40077 | |||
2009-04-21 | COMMON: Removed copy constructors / assignment operators in cases where they ↵ | Max Horn | |
are identical to the automatically generated ones. Also removed a pointless 'explicit' svn-id: r40049 | |||
2009-04-20 | COMMON & TESTS: Added new constructor to Array<T>, namely Array(const T* ↵ | Max Horn | |
data, int n), which makes it possible to clone a regular array into a Common::Array; added a unit test for that and slightly extended existing Common::Array unit tests svn-id: r40027 | |||
2009-04-11 | COMMON: Added unit test for Common::List::size(); made List::size() slightly ↵ | Max Horn | |
more efficient; same for remove() and operator= svn-id: r39921 | |||
2009-04-09 | Rewrote Common::Rect::contains(Rect) to do what the name suggests (check ↵ | Max Horn | |
whether one rect contains the other). Previously, foo.contains(foo) would return false. Added/enabled unit tets for this svn-id: r39911 | |||
2009-04-01 | Formatting. | Johannes Schickel | |
svn-id: r39789 | |||
2009-03-25 | Allow building of psp backend via configure (Part 1 - Still need to add the ↵ | Joost Peters | |
fixup + EBOOT packing steps). Thanks dhewg and fingolfin for assistance. :) svn-id: r39693 | |||
2009-03-24 | cleanup | Max Horn | |
svn-id: r39658 | |||
2009-03-20 | Removed #include nds/jtypes.h from common/scummsys.h -- it already gets ↵ | Max Horn | |
loaded by portdefs.h svn-id: r39562 | |||
2009-03-19 | COMMON: Added a new IS_ALIGNED macro (for now using size_t, we can change it ↵ | Max Horn | |
if this turns out to be not portable enough. Also added a doxygen comment to the ARRAYSIZE macro svn-id: r39542 | |||
2009-03-16 | Added a syncString variation needed for the Cruise engine | Paul Gilbert | |
svn-id: r39442 | |||
2009-03-15 | Moved Tinsel::Serializer to Common::Serializer, so that I can use it in the ↵ | Max Horn | |
SCI engine svn-id: r39428 | |||
2009-03-10 | Fixed warning in list code | Max Horn | |
svn-id: r39287 | |||
2009-03-09 | Rewrote Common::List iterator code to ensure const correctness is preserved. | Max Horn | |
We tried to implement the list iterators in a clever way, to reduce code duplication. But this is essentially impossible to do properly, sadly -- this is one of the places where the ugly drawbacks of C++ really show. As a consequence, our implementation had a bug which allowed one to convert any const_iterator to an iterator, thus allowing modifying elements of const lists. This rewrite reintroduces code duplication but at least ensures that no const list is written to accidentally. Also fix some places which incorrectly used iterator instead of const_iterator or (in the kyra code) accidentally wrote into a const list. svn-id: r39279 | |||
2009-03-07 | Modified HashMap ctr to skip _defaultVal() on PS2 to avoid gcc 3.2.2 ICE | Max Lingua | |
svn-id: r39174 | |||
2009-03-05 | Fix for bug #2664460: Various SeekableReadStream::seek() implementations (as ↵ | Max Horn | |
well as our unit tests, ouch) handled SEEK_END incorrectly (using -offset instead of offset), contrary to what the docs said and what fseek does. Hopefully I found and fixed all affected parts, but still watch out for regressions svn-id: r39135 | |||
2009-03-01 | Fix documentation, debug(C/N) prints to stdout not stderr. | Johannes Schickel | |
svn-id: r39058 | |||
2009-03-01 | COMMON: added a debugC variant which only takes a debug channel mask | Max Horn | |
svn-id: r39054 | |||
2009-02-28 | Patch #2638336: Broken Sword PSX Support | Eugene Sandulenko | |
svn-id: r38956 | |||
2009-02-27 | Clarify timer API. | Willem Jan Palenstijn | |
svn-id: r38938 | |||
2009-02-26 | Commit patch #2641592 "Wrong type promotion for SharedPtr" with a slight ↵ | Johannes Schickel | |
formatting change. svn-id: r38901 | |||
2009-02-24 | Fix my wrong comment on OSystem::updateScreen(). Now it is hopefully correct | Max Horn | |
svn-id: r38860 | |||
2009-02-24 | Add some remarks on OSystem::updateScreen() properties | Max Horn | |
svn-id: r38859 | |||
2009-02-24 | Moved FSDirectory implementation from common/archive.cpp to common/fs.cpp | Max Horn | |
svn-id: r38824 | |||
2009-02-22 | Modified FSDirectory::lookupCache to return a FSNode *pointer*, so that we ↵ | Max Horn | |
can distinguish between lookup failures and invalid cache entries. Also changed SearchSet::createReadStreamForMember to not use hasFile anymore, based on the assumption that any Archive::createReadStreamForMember implementation has to verify whether the member name is valid anyway (clarified the doxygen docs accordingly) svn-id: r38787 | |||
2009-02-22 | Modified ZipArchive::createReadStreamForMember to check whether the zip ↵ | Max Horn | |
archive contains a file with the given name svn-id: r38786 | |||
2009-02-22 | Changed Common::File and FSDirectory to invoke FSNode::exists a few times ↵ | Max Horn | |
less, reducing overhead svn-id: r38780 | |||
2009-02-20 | Disable MSVC warning, which is frequently paranoid. | Travis Howell | |
svn-id: r38575 | |||
2009-02-18 | Fix documentation, warning prints to stderr not stdout. | Johannes Schickel | |
svn-id: r38490 | |||
2009-02-17 | typo | Willem Jan Palenstijn | |
svn-id: r38440 | |||
2009-02-17 | Added an "equals" function to Common::Rect (used by SCI) | Filippos Karapetis | |
svn-id: r38428 | |||
2009-02-16 | More paranoia checks | Max Horn | |
svn-id: r38339 | |||
2009-02-16 | cleanup | Max Horn | |
svn-id: r38338 | |||
2009-02-15 | - Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel. | Johannes Schickel | |
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated). - Update all client code which relied on OSystem::clearScreen so far. svn-id: r38304 | |||
2009-02-15 | Merged internal 'matchPath' method of class Archive into global matchString ↵ | Max Horn | |
function (via an optional 'path mode' in the latter). Also changed Archive::listMatchingMembers to use path mode when matching, just like FSDirectory::listMatchingMembers svn-id: r38277 | |||
2009-02-15 | Merged rev 38209 from 0.13 to trunk: XML parsing fix | Oystein Eftevaag | |
svn-id: r38241 | |||
2009-02-13 | Changed OverlayColor from int16 to uint16 to fix the strange colours that | Torbjörn Andersson | |
appeared in the GUI with r36288. At least, it fixes the problem for me. I hope I didn't accidentally break anything else. svn-id: r36298 | |||
2009-01-30 | Removed default implementations of OSystem::getOverlayHeight() and ↵ | Max Horn | |
getOverlayWidth() svn-id: r36152 | |||
2009-01-30 | Document OSystem::copyRectToOverlay params more explicitly (esp. the pitch ↵ | Max Horn | |
param, which differs from that of copyRectToScreen) svn-id: r36150 | |||
2009-01-30 | do not include common/debug.h from common/util.h | Max Horn | |
svn-id: r36143 | |||
2009-01-30 | Renamed SpecialDebugLevel to DebugChannel | Max Horn | |
svn-id: r36142 | |||
2009-01-30 | Switched special debug levels to using a hashmap internally | Max Horn | |
svn-id: r36141 | |||
2009-01-30 | Some more 'special debug levels' tweaks | Max Horn | |
svn-id: r36140 | |||
2009-01-30 | Some work on the 'special debug levels' aka 'engine debug levels' code | Max Horn | |
svn-id: r36139 | |||
2009-01-30 | Moved default implementations for various OSystem methods into a new class ↵ | Max Horn | |
BaseBackend svn-id: r36135 | |||
2009-01-30 | Moved debug() etc. and special debug flag handling code to common/debug.*; ↵ | Max Horn | |
also some tweaks to the code svn-id: r36134 | |||
2009-01-29 | Moved AdvancedDetector from common/ to engines/ | Max Horn | |
svn-id: r36132 | |||
2009-01-29 | Be paranoid about g_system being set | Max Horn | |
svn-id: r36131 | |||
2009-01-29 | cleanup | Max Horn | |
svn-id: r36128 | |||
2009-01-29 | A ton of code formatting fixes; also fixed warnings about single line loops ↵ | Max Horn | |
like 'while(cond);' by inserting newlines svn-id: r36127 |