aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2007-04-26Removing more semicolaMax Horn
svn-id: r26597
2007-04-25Removing lots of superfluous semicola (see mail by David Weinehall on ↵Max Horn
scummvm-devel) svn-id: r26594
2007-04-24Patch #1706179: "GUI: Sort languages list"Eugene Sandulenko
svn-id: r26587
2007-04-15Added Common::String::contains() methodMax Horn
svn-id: r26514
2007-04-09also copy debug output to the (redirected) log filesKostas Nakos
svn-id: r26439
2007-04-09Improve report of unknown MD5, to ease copy-pasting to detection codeEugene Sandulenko
svn-id: r26433
2007-04-06Updating DS port for changes in main codebase. Code changes for DevkitArm ↵Neil Millstone
r20 and latest libnds. svn-id: r26394
2007-03-24Corrected some c&p error in the documentation.Johannes Schickel
svn-id: r26298
2007-03-17Moved Event/EventType/keyboard enum from common/system.h (part of class ↵Max Horn
OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again svn-id: r26180
2007-03-17fixed MSVC compiler warning because winnt.h defines its own ARRAYSIZE #defineRobert Göffringmann
svn-id: r26171
2007-03-17Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), withTorbjörn Andersson
Fingolfin's blessings. Keyboard repeat is now handled by the event manager, rather than by individual engines. Since this can cause problems with some engines (see the AGI engine), the extra "key down" events are marked as "synthetic", so that they can be ignored if necessary. svn-id: r26170
2007-03-17Added class NonCopyable, and made various things derive from itMax Horn
svn-id: r26163
2007-03-17Force all code to use EventManager::pollEvent instead of OSystem::pollEventMax Horn
svn-id: r26156
2007-03-17Implemented a simple EventManager classMax Horn
svn-id: r26154
2007-03-12Protect Array<> and HashMap<> instances against self assignmentsMax Horn
svn-id: r26115
2007-03-11Added shared filed support using native file APIs.Lars Persson
svn-id: r26087
2007-03-10Shut useless MSVC8 warning. We use pack-start.h and pack-end.h and itEugene Sandulenko
complained that alignment state changed after #include. I.e. exactly what we wanted to do. svn-id: r26061
2007-03-09Removing some unnecessary #includesMax Horn
svn-id: r26044
2007-03-09Avoid double frees in HashMap::eraseMax Horn
svn-id: r26040
2007-03-09reduced dependency from windows-specific header filesNicola Mettifogo
svn-id: r26034
2007-03-08removed kADFlagFilebasedFallback, this flag is never used (and filename ↵Gregory Montoir
based detection is done if fileBasedFallback is non-0 anyway) svn-id: r26032
2007-03-08cleaned up stdafx.h, removing various unnecessary #includes (there are still ↵Max Horn
some windows ones which look fishy, though) svn-id: r26031
2007-03-08added a flag to enable/disable printing a warning when filename based ↵Gregory Montoir
detection find a match, also updated some comments. svn-id: r26029
2007-03-08Moved the printf #define for the NDS into scummsys.h (not sure if that suits ↵Max Horn
your needs Neil, feel free to change it again if necessary) svn-id: r26024
2007-03-08common/util.cpp needs fprintf; various std I/O functions are not used by ↵Max Horn
anything in our code, so there is no need to emulate them -- mark these; my previous commits likely broke compilation of the DS backend, try to reduce the brokeness a bit svn-id: r26023
2007-03-08Moving Nintendo DS std C I/O emulation wrappers to common/file.cpp; also add ↵Max Horn
a FIXME comment (why is assert redefined in ds-fs.h ?) svn-id: r26020
2007-03-08Changed File::_handle to be of type void* instead of FILE* (to ease ↵Max Horn
porting); moved PS2 std C I/O defines to file.cpp (no code other than the file & savegame code should use fopen etc. directly) svn-id: r26017
2007-03-08Changed ConfigManager to use class File instead of std C I/O to write the ↵Max Horn
config file svn-id: r26016
2007-03-08Turning FilesystemNode comment into a doxygen commentMax Horn
svn-id: r26015
2007-03-04Removing _ptrOrig (hi Torbjorn, have fun recompiling)Max Horn
svn-id: r25980
2007-03-04Some HashMap cleanup:Max Horn
* Removed the odd return value of method erase() * Stopped erase() from leaking (oops!) * Added a (paranoia) consistency check to assign() svn-id: r25967
2007-03-04Paranoia: a hashmap node must never ever change its key after its creationMax Horn
svn-id: r25965
2007-03-03Allow PC Engine version of Loom to at least start up.Travis Howell
svn-id: r25951
2007-03-01Removed File::incRef and decRefMax Horn
svn-id: r25920
2007-02-28Fix spellingMax Horn
svn-id: r25908
2007-02-25TypoMax Horn
svn-id: r25861
2007-02-25Add some doxygen comments to Common::StreamMax Horn
svn-id: r25859
2007-02-25TypoMax Horn
svn-id: r25858
2007-02-20Added new ReadStream::readStream method which can be used to read a portion ↵Max Horn
of an arbitrary ReadStream into a memory buffer wrapped by a MemoryReadStream svn-id: r25754
2007-02-20Removed XORReadStream (it was unused); enhanced MemoryReadStream to be able ↵Max Horn
to dispose the memory block it wraps (simplifies memory management) svn-id: r25748
2007-02-19Enhance (Seekable)SubReadStream so be able to (optionally) dispose the ↵Max Horn
parent stream after it's been used (simplifies memory management for client code) svn-id: r25732
2007-02-18Made it possible to init a Stack<T> with an Array<T>; removed hack in ↵Max Horn
Stack<T>::top svn-id: r25696
2007-02-18Improved (I hope) the 'Unknown MD5' messages in our detectors a little bitMax Horn
svn-id: r25695
2007-02-18Renamed crc32 which conflicts with Tapwave system functionChris Apers
svn-id: r25692
2007-02-17Get rid of Common::SaveFileMax Horn
svn-id: r25666
2007-02-17Added finalize() method to Common::OutSaveFile (which by default just ↵Max Horn
flushes the stream), changed engines to call that before deleting OutSaveFile instances (instead of just flushing) svn-id: r25660
2007-02-14AdvancedDetector: revamped the file based fallback codeMax Horn
svn-id: r25599
2007-02-14Make use of md5_file_stringMax Horn
svn-id: r25593
2007-02-14Extended MD5 API a bit: added a variant of md5_file which takes an arbitrary ↵Max Horn
ReadStream; and added md5_file_string methods which directly produce a human readable md5 string (instead of a binary digest) svn-id: r25592
2007-02-14Some more cleanup, and that's it for tonightMax Horn
svn-id: r25580