Commit Graph

2604 Commits

Author SHA1 Message Date
Johannes Schickel
5a1c593bf2 Removed assert leftover.
svn-id: r34579
2008-09-16 11:54:37 +00:00
Max Horn
f3dfb5ebab Merged common/gzip-stream.* and common/zlib.*
svn-id: r34578
2008-09-16 11:50:10 +00:00
Max Horn
706fb37061 Modified uncompress in common/zlib.h to return a bool, so that we don't have to #include the real zlib.h; fixed PSP backend to not run uncompress inside an assert (which would cause it to not be invoked when turning off asserts)
svn-id: r34576
2008-09-16 11:42:21 +00:00
Max Horn
05d78c26b4 DS: Backported 0.12 changes to trunk
svn-id: r34568
2008-09-15 22:43:20 +00:00
Max Horn
7df6071a77 Turned compressed savefile wrapper into a generic stream wrapper
svn-id: r34566
2008-09-15 21:55:50 +00:00
Willem Jan Palenstijn
eef9a003ba fix eos() behaviour for CompressedInSaveFile
svn-id: r34562
2008-09-15 19:19:30 +00:00
Max Horn
ace51b317a DS: Some more compile fixes (prope solution would of course be to overload ::openForReading & ::openForWriting)
svn-id: r34550
2008-09-14 22:44:49 +00:00
Willem Jan Palenstijn
c8eeae8d4d Big patch changing semantics of ReadStream::eos():
eos() now only returns true _after_ trying to read past the end of the stream.

This has a large potential for regressions. Please test!

svn-id: r34549
2008-09-14 22:28:53 +00:00
Max Horn
fbfe30bf86 DS: Removed legacy GCC 2.x build code (NDS/DevKitPro uses GCC 3 or newer anyway); thinned down INCLUDES some more; added a FIXME to the elf->bin rule
svn-id: r34548
2008-09-14 22:24:35 +00:00
Max Horn
a7076b1f89 NDS: Replaced -I- by modern -iquote
svn-id: r34547
2008-09-14 22:15:13 +00:00
Max Horn
3c63c8688d Another NDS compilation fix, plus a warning fix
svn-id: r34546
2008-09-14 22:12:59 +00:00
Max Horn
5719225367 Changed VPATH to vpath, to allow building NDS port in parallel to another port (for the records, this patch went to Neil in January, and he didn't complain)
svn-id: r34544
2008-09-14 21:39:45 +00:00
Max Horn
02a846c669 Compilation fix for NDS
svn-id: r34542
2008-09-14 21:32:45 +00:00
Max Horn
655ce26b3f Big patch changing the signature of various Stream methods (some ports may need to be slightly tweaked to fix overloading errors/warnings)
svn-id: r34514
2008-09-13 16:51:46 +00:00
Lars Persson
2befee869b Fixed rev nr. 130 will give wrong ver. in installation.
svn-id: r34512
2008-09-13 08:35:38 +00:00
Lars Persson
472fc70b4d Fixed drascula dat path and version nr.
svn-id: r34511
2008-09-13 08:34:38 +00:00
Lars Persson
169edfccf3 Added SymbianStream.h for SymbianStdioStream definition
Renamed Symbian stream implementation to
SymbianStdioStream instead of StdioStream.

svn-id: r34498
2008-09-11 21:32:40 +00:00
Max Horn
14ac01a11a Simplify check for a slash in the string *g*
svn-id: r34485
2008-09-11 09:25:13 +00:00
Oystein Eftevaag
3b83564ad5 Merged up iPhone backend changes from 0.12 to trunk
svn-id: r34483
2008-09-10 19:46:08 +00:00
Max Horn
4a2a9f49ca Small fix to help with compile problems on Amiga
svn-id: r34474
2008-09-10 09:20:38 +00:00
Lars Persson
c331a92243 Updated/Fixed Symbian Filesystem handling.
Does not store ending backslash on path, and will list any sub folder properly, by adding '\' when needed.

svn-id: r34453
2008-09-08 21:54:04 +00:00
Max Horn
4f9dc05731 Add a priority param to OSystem::addSysArchivesToSearchSet (still in search for a better name ;)
svn-id: r34432
2008-09-07 21:59:25 +00:00
Max Horn
38a44f85ae Added new OSystem method addSysArchivesToSearchSet() [better name pending, suggestions welcome]
svn-id: r34424
2008-09-07 21:30:55 +00:00
Lars Persson
46c2c4300b Slightly updated built script. Faster?
svn-id: r34419
2008-09-07 18:30:07 +00:00
Lars Persson
87688f1044 Updated with two new variations, scumm and brokensword
svn-id: r34418
2008-09-07 18:28:58 +00:00
Lars Persson
864c2244f0 Set default save path via save manager.
Fix bug in symbian-fs GetChild function.

svn-id: r34417
2008-09-07 16:43:03 +00:00
Lars Persson
b3a48455db Updated readme about usage of snprintf source
Added vsnprintf implementation.
Cleanout SymbianOS.cpp from old file functions.

svn-id: r34407
2008-09-07 13:40:30 +00:00
Lars Persson
5c903a8bcb H file cleanup, remove old vibra support
svn-id: r34405
2008-09-07 13:17:21 +00:00
Lars Persson
aabf8ab1f4 Remove SYMBIAN special handing from default handler.
svn-id: r34403
2008-09-07 12:54:26 +00:00
Lars Persson
0d762f5260 Need to have own implementation of snprintf and vsnprintf.
svn-id: r34402
2008-09-07 12:39:56 +00:00
Lars Persson
951ab1878a Updated to include SymbianStream instead of StdioStream
svn-id: r34401
2008-09-07 12:38:35 +00:00
Lars Persson
c9262dd6e2 StdioStream implemented with Symbian file handling.
svn-id: r34400
2008-09-07 12:37:14 +00:00
Lars Persson
c4fcd2b578 Remove symbian defines from stdiostream.cpp
svn-id: r34399
2008-09-07 10:57:28 +00:00
Max Horn
f8bcb0782b Unlike ferror, our Stream::ioFailed() is also supposed to return true when the end of stream has been reached
svn-id: r34385
2008-09-06 17:00:50 +00:00
Lars Persson
5756308cec Portdefs cleanup, use snprintf from SDL and not sprintf (Which can cause memory overwrites).
Use bsearch implementation from WINCE port.

svn-id: r34382
2008-09-06 10:30:05 +00:00
Max Horn
e994723e7c Some tweaks to help (?) OS/2
svn-id: r34368
2008-09-05 20:42:41 +00:00
Lars Persson
5388ecf722 Add symbian implementations to create read/write configfile handles
svn-id: r34363
2008-09-05 19:03:30 +00:00
Lars Persson
f88ad12952 Change location of create fs factory for Symbian!
svn-id: r34362
2008-09-05 18:49:13 +00:00
Lars Persson
2c36f00ff2 Remove usage of main_features.inl and the file
svn-id: r34361
2008-09-05 18:45:04 +00:00
Lars Persson
51e93cadbe ADded Tinsel as supported engine strings
svn-id: r34351
2008-09-05 13:13:51 +00:00
Lars Persson
207efcc359 Add missing dialogs.cpp
svn-id: r34350
2008-09-05 13:03:31 +00:00
Lars Persson
531ff7b33c Still need to get that build working. Readjust buildscript
svn-id: r34348
2008-09-05 12:53:43 +00:00
Lars Persson
fe3c9b0176 Updated build script with new dialog.cpp
svn-id: r34347
2008-09-05 12:30:19 +00:00
Lars Persson
80dd18a820 Updated filehandling for Symbian OS
svn-id: r34346
2008-09-05 12:02:15 +00:00
Max Horn
5308f12c75 Ported AMIGA specific file buffering 'hack' from class File to StdioStream
svn-id: r34345
2008-09-05 11:59:33 +00:00
Lars Persson
d98161fc05 Added two new files
svn-id: r34344
2008-09-05 11:55:58 +00:00
Lars Persson
5c0b91397d Updated Symbian OS file actions with ferror and fflush.
svn-id: r34340
2008-09-05 11:31:51 +00:00
Lars Persson
53f6725596 Updated package revision no to 0.13. Updated default engine list
svn-id: r34339
2008-09-05 11:09:29 +00:00
Lars Persson
1a258a36d0 Updated buildscripts to support tinsel
svn-id: r34338
2008-09-05 11:06:27 +00:00
Joost Peters
3930783928 move save directory detection/creation from main() to OSystem_PSP::initBackend()
svn-id: r34326
2008-09-04 08:34:02 +00:00