Max Horn
2bbf708dea
Introduced new type Common::DisposeAfterUse::Flag
...
svn-id: r45233
2009-10-18 19:41:59 +00:00
Max Horn
65b5d31814
COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
...
svn-id: r40725
2009-05-19 11:42:14 +00:00
Max Horn
c397b37bfb
Modified ZipArchive::createReadStreamForMember to check whether the zip archive contains a file with the given name
...
svn-id: r38786
2009-02-22 16:27:48 +00:00
Max Horn
14c5bbbccf
Renamed Archive::openFile to createReadStreamForMember
...
svn-id: r36021
2009-01-23 04:45:44 +00:00
Max Horn
9861afd8fd
Renamed ArchiveMember::open -> createReadStream, and made it a cv member (const); same for Archive::openFile
...
svn-id: r36020
2009-01-23 04:36:18 +00:00
Max Horn
8f16458e9b
Renamed FSNode::openForReading / openForWriting to createReadStream / createWriteStream, again to make ownership of the returned stream clear
...
svn-id: r36014
2009-01-23 03:41:36 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Max Horn
b3e72347a3
Improved ZipArchive to take arbitrary SeekableReadStream; also, the variant which is inited using a filename now uses SearchMan to lookup the filename's file
...
svn-id: r34899
2008-11-04 20:04:25 +00:00
Johannes Schickel
282ebbb0e5
Commit of patch #2207782 "ARCHIVE: New method 'getMember'".
...
svn-id: r34871
2008-11-01 12:49:29 +00:00
Vicent Marti
bb619b4578
- Fixed theme loading from Zip files.
...
- Changed Common::ZipArchive to use FSNodes instead of full paths (external API unchanged).
svn-id: r34761
2008-10-09 17:56:07 +00:00
Johannes Schickel
e417471177
Committed slightly modified patch #2034983 "Case-insensitivy and directory handling for engines".
...
svn-id: r34734
2008-10-03 16:57:40 +00:00
Max Horn
c7fde102e3
Renamed FilesystemNode -> FSNode
...
svn-id: r34716
2008-10-02 16:58:59 +00:00
Vicent Marti
87917e06d9
Fixed functionality of ZipArchive::getAllNames(). Now it expects a possibly non-empty string list and returns the amount of new filenames added to it.
...
svn-id: r34698
2008-09-30 11:53:37 +00:00
Vicent Marti
d11fa6484a
Ported ZipArchive::getAllNames() implementation from GUI branch.
...
svn-id: r34691
2008-09-29 22:29:07 +00:00
Max Horn
65ef827349
Perform error checking when reading from a ZIP file
...
svn-id: r34634
2008-09-23 10:10:29 +00:00
Max Horn
20aea4e5fa
cleanup
...
svn-id: r34633
2008-09-23 10:08:45 +00:00
Max Horn
9216eeabce
Moved ZipArchive to namespace Common; moved unzip internals from unzip.h to unzip.cpp (to be cleaned up)
...
svn-id: r34632
2008-09-23 09:50:03 +00:00
Max Horn
bfdff06e32
Moved ZipArchive implementation into unzip.cpp, added new ZipArchive::isOpen method
...
svn-id: r34630
2008-09-23 09:39:37 +00:00
Lars Persson
967e56996a
Different zlib.h included paths for Symbian OS to differenciate between system and user includes
...
svn-id: r30189
2008-01-03 08:39:49 +00:00
Kostas Nakos
31b77a48ee
some source formatting fixes
...
svn-id: r29297
2007-10-28 17:45:34 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Chris Apers
5b214090f7
Renamed crc32 which conflicts with Tapwave system function
...
svn-id: r25692
2007-02-18 17:47:24 +00:00
Oystein Eftevaag
0aa06392f8
Applied the patch included in bug rep [ 1503716 ] Leak in File::Open (on OS X) and unzOpen (on all)
...
svn-id: r23019
2006-06-11 02:23:17 +00:00
Max Horn
a4338aeb19
Use File::size to determine the size of a file, instead of doing a seek(0, SEEK_END)
...
svn-id: r22184
2006-04-26 14:35:53 +00:00
Max Horn
36934b611d
Change CVS keywords to SVN keywords
...
svn-id: r20510
2006-02-11 09:53:53 +00:00
Eugene Sandulenko
fef533e93e
Proper RCS IDs
...
svn-id: r20236
2006-01-27 19:05:24 +00:00
Johannes Schickel
5051b080a2
- adds the new gui renderer also a new implementation for the classic gui
...
- adds a ImageMan and ImageDec class for loading and managing image files
- adds a loader for zip files which is used by the new theme and the image manager
- changes the widgets to use the new gui code
- changes the scumm dialogs to use the new gui code
- fixes a #include problem in the sky debugger with the new gui code
To use the new gui copy gui/themes/default-theme.zip to your extrapath.
If the theme zip can not be found the gui will fallback to the classic theme.
If you want to change the gui styles use "gui_theme=classic" for the classic theme
and "gui_theme=default-theme" for the new theme.
Thanks to eriktorbjorn for testing and help with the new theme and to sev for
reviewing this patch.
svn-id: r20227
2006-01-27 15:43:23 +00:00