Commit Graph

81 Commits

Author SHA1 Message Date
Max Horn
805f21e369 Removed Common::Array::contains()
svn-id: r31501
2008-04-14 12:11:10 +00:00
Oystein Eftevaag
deb6baf0db Migration code for users updating to the 1.1.3 iPhone firmware, which has a different directory structure and permission setup
svn-id: r30761
2008-02-03 12:36:51 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Oystein Eftevaag
05b5a493f8 Initial commit of the iPhone/iPod Touch backend
svn-id: r29488
2007-11-13 08:06:15 +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
Johannes Schickel
86104e0bf0 Reverted r26922.
svn-id: r26967
2007-05-27 11:40:03 +00:00
Johannes Schickel
8ff17142c5 Simpilified Singleton implementation and usage.
svn-id: r26922
2007-05-22 14:17:44 +00:00
Robert Göffringmann
4a11e7299a fixed MSVC compiler warning because winnt.h defines its own ARRAYSIZE #define
svn-id: r26171
2007-03-17 15:45:05 +00:00
Nicola Mettifogo
1e985051a9 reduced dependency from windows-specific header files
svn-id: r26034
2007-03-09 00:13:07 +00:00
Max Horn
33a4f8c378 Changed ConfigManager to use class File instead of std C I/O to write the config file
svn-id: r26016
2007-03-08 16:43:33 +00:00
Gregory Montoir
1ce912e106 made rtrim() and ltrim() global functions, to reduce code duplication (it seems parallaction/parser.cpp code re-use them too
svn-id: r25564
2007-02-13 21:06:57 +00:00
Eugene Sandulenko
3d84f11046 Patch #1432376: "Very basic GP2X Backend"
svn-id: r24144
2006-10-06 19:01:39 +00:00
Max Horn
4ee581adb5 Fixed some broken #include's (the PS2 and Symbian may need more fixed, though)
svn-id: r23666
2006-08-04 17:47:57 +00:00
Travis Howell
175c951e8e Add cyx's patch for #1497725 - GUI: trying to enter empty CD drive
svn-id: r23475
2006-07-10 11:12:11 +00:00
Travis Howell
53aa4f054a Change default config file location to 'Application Data\ScummVM' directory of the user's profile, when using Windows NT4/2000/XP/Vista
svn-id: r23465
2006-07-10 01:25:52 +00:00
Torbjörn Andersson
07ffde9270 Fixed typo in comment.
svn-id: r23435
2006-07-08 20:20:07 +00:00
Robert Göffringmann
7e65543482 cleanup, made osystem for .ini on different devices.
svn-id: r22984
2006-06-08 06:53:00 +00:00
Marcus Comstedt
2f935da61f Don't try to save settings on the Dreamcast, CD-ROM:s are read only...
svn-id: r22890
2006-06-03 15:34:48 +00:00
Lars Persson
5b776e3e28 Return of void value is not valid for all platforms. Changed to call function and then plain return;
svn-id: r22075
2006-04-21 20:59:05 +00:00
Max Horn
74edd90aba Fix for bug #1471383: Instead of overloading ConfigManager::set, we now have new setInt and setBool methods (matching getInt/getBool), which avoids strange quirks & bugs caused by (char *) being implicitly cast to int (ouch)
svn-id: r21951
2006-04-16 19:23:14 +00:00
Max Horn
555a568e59 Fixed some breakage in the 'Add Game' code I recently introduced; added a FIXME comment regarding the 'description' config file key
svn-id: r21943
2006-04-16 13:58:11 +00:00
Max Horn
ebea155b8e Always use base 0 in strtol when parsing integer command line options / config file entries (this makes it possible to optionally use hex values)
svn-id: r21911
2006-04-15 13:58:01 +00:00
Max Horn
aa4214f940 Properly init _activeDomain to 0
svn-id: r21908
2006-04-15 13:34:02 +00:00
Max Horn
3628629007 - Replaced ConfigManager::_globalDomains by _appDomain (we don't support multiple global domains anymore)
- Restructured parts of the ConfigManager to be more consistent and a bit easier to understand
- Introduced ConfigManager::getDomain, potentially useful for code that needs to edit a specific domain (like the option dialogs)
- Allow passing an empty string to ConfigManager::setActiveDomain(), to reset the active domain
- Discard all transient config options (i.e. mostly command line settings) when entering the launcher, and after an engine exits
- Introduced various hidden easter bugs. Happy easter, and have fun searching!

svn-id: r21906
2006-04-15 13:12:03 +00:00
Max Horn
1470dadb1d Changed File::open to take a Common::String as file name parameter
svn-id: r21867
2006-04-14 01:48:51 +00:00
Lars Persson
595a48a87e Small updates to intiate variable and member visibility.
svn-id: r21604
2006-04-04 21:32:19 +00:00
Max Horn
a23fba7a42 Avoid using Map::merge
svn-id: r21511
2006-03-31 07:30:43 +00:00
Max Horn
62da4eec26 Get rid of Map::addKey
svn-id: r21480
2006-03-28 15:15:45 +00:00
Max Horn
37c79be740 - Renamed Map::remove to Map::erase (matching the STL and HashMap)
- Added Map::find() (see also HashMap), and made the ConfigManager use it

svn-id: r21477
2006-03-28 12:35:50 +00:00
Max Horn
9f93e5bb81 Renamed various container isEmpty() methods to empty() to match STL conventions
svn-id: r21472
2006-03-28 09:42:54 +00:00
Lars Persson
0b847325e1 'Changed Symbian configuration handling so it is using the basepath of the application installation as a path for Savegames, ini files etc
*Updated list.h so it also compiles for Symbian codewarrior and gcce compilers

svn-id: r20586
2006-02-12 00:33:04 +00:00
Max Horn
36934b611d Change CVS keywords to SVN keywords
svn-id: r20510
2006-02-11 09:53:53 +00:00
Max Horn
2f8dacd617 Clarified comment, cleanup
svn-id: r20111
2006-01-21 11:57:19 +00:00
Eugene Sandulenko
ea42bad781 Update copyright notice
svn-id: r20088
2006-01-18 17:39:49 +00:00
Travis Howell
64f1955745 Leave as warning.
svn-id: r20043
2006-01-15 10:22:44 +00:00
Travis Howell
1b18b98ca5 Update confusing warning.
Check that config file location is writable.

svn-id: r20034
2006-01-15 00:22:29 +00:00
Eugene Sandulenko
edfae828f6 Patch #1341626: "New GP32 port"
svn-id: r19710
2005-11-27 02:35:57 +00:00
Max Horn
0063257a2b Fix another HOME buffer overflow attack vector
svn-id: r19376
2005-10-31 01:50:51 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Chris Apers
8b4f59dc7a PalmOS:
- fix crash trying to use emptyString
- debug option

svn-id: r18963
2005-10-08 19:10:05 +00:00
Chris Apers
09b0f765d4 Change PalmOS ident and fix ARM bug using global initializers
svn-id: r18744
2005-09-03 16:08:27 +00:00
Joost Peters
bc394b6ea3 Added: PSP backend
svn-id: r18696
2005-08-16 17:15:37 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Lars Persson
1c69696a9a Patches needed to build for SYMBIAN32 WINS/GCC added.
Test built for Symbian and run on P910i without any major problems.
Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA).

svn-id: r18430
2005-06-21 22:08:21 +00:00
Max Horn
cca744f69a Comply to our coding conventions
svn-id: r17975
2005-05-08 21:49:52 +00:00
Torbjörn Andersson
b56824d0cf Don't assert that "domain" is valid. One of the cases where this function
is called is when parsing the command-line, and we can't really expect the
user to always type something sensible.

svn-id: r17893
2005-05-02 05:29:50 +00:00
Max Horn
fa224cbb3f Use class File instead of FILE (not finished)
svn-id: r17753
2005-04-22 18:10:02 +00:00
Robert Göffringmann
bd81feb996 Playstation2 Port: initial import
svn-id: r17305
2005-03-31 05:35:04 +00:00