aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2008-07-30fix for new read-only File objectStephen Kennedy
svn-id: r33451
2008-07-30Merged revisions ↵Stephen Kennedy
33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33450
2008-07-30Finished documentation.Vicent Marti
svn-id: r33449
2008-07-30Rewrote most of the XML parser class.Vicent Marti
Added support for defining the XML layout when parsing, allows for safer parsing. Updated all the documentation regarding the usage of the XMLParser class. svn-id: r33447
2008-07-30Changed BufferedReadStream to not permanently decrease its buffer size at ↵Max Horn
the end of a stream (this would fail when using BufferedSeekableReadStream and then seeking back from the end); this also fixes a bug which let you seek back beyond the start of a stream (not that we currently support that in other streams) svn-id: r33436
2008-07-29- FormattingJohannes Schickel
- Improved Functor#Mem::isValid implementations. svn-id: r33427
2008-07-29Little fix for documentation.Johannes Schickel
svn-id: r33426
2008-07-29Documentation for func.h.Johannes Schickel
svn-id: r33425
2008-07-29Added two new classes, BufferedReadStream & BufferedSeekableReadStream, as ↵Max Horn
proposed on scummvm-devel svn-id: r33419
2008-07-29Added documentation for the functions in algorithm.h.Johannes Schickel
svn-id: r33416
2008-07-29CONFIGMAN: Store domains in the order they were addedMax Horn
svn-id: r33413
2008-07-29Changed class File (and derived classes) to only support read-only access; ↵Max Horn
added a new class DumpFile for writing svn-id: r33412
2008-07-29Formatting.Johannes Schickel
svn-id: r33401
2008-07-29Added a reset method to SharedPtr, which allows NULLifying it.Johannes Schickel
svn-id: r33400
2008-07-29Changed advanced detector to *always* use the FSNode API for detection (i.e. ↵Max Horn
killed second code path which used File::open trial&error directory 'scanning') svn-id: r33388
2008-07-25Added Common::Rect::isEmpty() methodMax Horn
svn-id: r33279
2008-07-23Reorder stuff a little bit, moving private String methods together: cleanupMax Horn
svn-id: r33248
2008-07-23Added convenience method String::makeUnique(); simplified ↵Max Horn
String::operator=(char c); extended String unit tests svn-id: r33246
2008-07-23Fix String::trim to work right for shared strings; augemented test cases to ↵Max Horn
cover this svn-id: r33234
2008-07-22Dirty rectangle handling, round four. :/Vicent Marti
svn-id: r33216
2008-07-22Disable hashmemory pool for Symbian OSLars Persson
svn-id: r33212
2008-07-22Added String::trim() methodMax Horn
svn-id: r33203
2008-07-22Merged revisions ↵Stephen Kennedy
32879,32883,32895,32899,32902-32904,32910-32912,32923-32924,32930-32931,32938,32940,32948-32949,32951,32960-32964,32966-32970,32972-32974,32976,32978,32983,32986-32990,32992,32994,33002-33004,33006-33007,33009-33010,33014,33017,33021-33023,33030,33033,33052-33053,33056-33058,33061-33064,33068,33070,33072,33075,33078-33079,33083,33086-33087,33089,33094-33096,33098-33099,33104,33108-33109,33114-33117,33120,33135-33146,33160,33162,33165,33167-33169 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33185
2008-07-21Merged revisions ↵Christopher Page
33052-33053,33056-33058,33061-33064,33068,33070,33072,33075,33078-33079,33083,33086-33087,33089,33094-33096,33098-33099,33104,33108-33109,33114-33117,33120,33135-33146,33160,33162,33165,33167-33169 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33183
2008-07-21Separated Speech from SFX in SAGA, improved configuration of SAGA sound ↵Christopher Page
settings through the GMM svn-id: r33176
2008-07-21Changed pushEvent to use a const& argumentStephen Kennedy
svn-id: r33175
2008-07-21Silence a warning which complains about using an uninitialized variable.Kari Salminen
svn-id: r33169
2008-07-21Moved UserAction and HardwareKey classes into their own respective header files.Stephen Kennedy
Added HardwareKeySet class to manage a devices set of hardware keys. Started implementing Keymapper class. svn-id: r33157
2008-07-20Fix for bug #1971499: ALL: config manager crashes when reading too long linesMax Horn
svn-id: r33140
2008-07-20New SeekableReadStream::readLine_NEW() method, closely modelled after fgets, ↵Max Horn
w/o the line length limitations of the old eekableReadStream::readLine() (which it will replace, after the feature freeze has been lifted) svn-id: r33139
2008-07-20Two new TODO/FIXME comments for class FileMax Horn
svn-id: r33138
2008-07-20Fixed potential issue in Common::String when asserting a substring of a ↵Max Horn
string X back to X (memcpy -> memmove); also added some other sanity checks, and merged some duplicate code into a new method String::initWithCStr svn-id: r33137
2008-07-16Quit and RTL code is more modular now. EVENT_RTL no longer sets ↵Christopher Page
_shouldQuit, shouldQuit is only set if there's an EVENT_QUIT. EVENT_RTL and EVENT_QUIT are completely separate from each other. Engine::quit() method now checks both _shouldQuit and _shouldRTL to determine if the engine should exit. There is no longer a need for resetQuit(), so it's removed svn-id: r33082
2008-07-15Reverted some incorrect changes and fixed sound settings issues for LURE. ↵Christopher Page
Fixed issues with quitting and calling GMM during intro sequences in LURE. Added a KEYCODE_MAINMENU in common/keyboard.h for the GMM. svn-id: r33081
2008-07-14Merged revisions ↵Christopher Page
32744-32745,32747,32750-32759,32762-32764,32769,32777,32783,32785-32786,32789-32791,32798-32799,32801-32807,32809-32812,32816-32817,32819-32821,32823-32830,32832-32836,32838-32844,32846-32850,32852-32854,32858-32859,32865-32868,32873-32874,32879,32883,32895,32899,32902-32904,32910-32912,32923-32924,32930-32931,32938,32940,32948-32949,32951,32960-32964,32966-32970,32972-32974,32976,32978,32983,32986-32990,32992,32994,33002-33004,33006-33007,33009-33010,33014,33017,33021-33023,33030,33033 via svnmerge from https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk svn-id: r33051
2008-07-11Better handling of virtual keyboard and gui being displayed at the same ↵Stephen Kennedy
time. VK now also uses its own cursor. svn-id: r33008
2008-07-09Added pushEvent to EventManager (from cpage88's branch) and changed ↵Stephen Kennedy
VirtualKeyboard so that it uses this method to feed key presses its resulting key press events. svn-id: r32977
2008-07-09- keyboard fully tested with multiple modes - key press events successfully ↵Stephen Kennedy
passed back to engine, mode switching also works - added support to re-parse keyboard pack if overlay size changes (to find more suitable layouts) svn-id: r32975
2008-07-09Reimplemented pushEvent() and artificialEventQueue to work with Events ↵Christopher Page
instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM svn-id: r32971
2008-07-08- Virtual keyboard now can now be dragged, when the user clicks on any part ↵Stephen Kennedy
of it that is not a special area. - Fixed non-virtual destructor warnings for Shape and Rect classes svn-id: r32965
2008-07-08Improved GMM implementation by adding unified quit() and quitGame() methods ↵Christopher Page
for all engines. Also implemented a Queue class before and forgot to svn add, common/queue.h is added here. svn-id: r32958
2008-07-07Implemented Common::EventManager::pushEvent() to insert fake events into the ↵Christopher Page
event queue. Quit and RTL events have been added, and are now tracked by the DefaultEventManager using shouldQuit() and shouldRTL(). AGOS is working with this new implementation, other engines to follow. svn-id: r32952
2008-07-07MILESTONE: bitmap showing with key color transparency implemented!Stephen Kennedy
- SurfaceKeyColored class handles blitting of keycolor transparency data - ImageMap tested - Rect and Polygon areas seem to be working as expected svn-id: r32950
2008-07-07- updates for GCC compilation - still having linker errors though :(Stephen Kennedy
svn-id: r32944
2008-07-07- changed VirtualKeyboard classes to Common namespaceStephen Kennedy
- updated XMLParser from Tanoku's branch svn-id: r32943
2008-07-07- renaming of filesStephen Kennedy
svn-id: r32942
2008-07-04closedKeyCallback on XMLParser (as asked by Kenny)Vicent Marti
svn-id: r32909
2008-07-04Memory leaks.Vicent Marti
Bug fixes. svn-id: r32908
2008-07-04- Added alignment and initial mode options to keyboard pack fileStephen Kennedy
- More functionality to VirtualKeyboard class, including handling mouse clicks svn-id: r32907
2008-07-04- XMLParser - small improvement to allow "key=value" syntax as well as "key ↵Stephen Kennedy
= value" syntax svn-id: r32906