Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-08-12 | COMMON: Use Common::String::clear instead of assigning "". | Johannes Schickel | |
2014-08-07 | COMMON: Fix crash when quitting on "Game data not found" dialog | Torbjörn Andersson | |
ScummVM would try to look up "confirm_exit" in the active domain, even though the active domain had been removed and pointed to an invalid address. To avoid this, try to keep _activeDomain and _activeDomainName updated if removeGameDomain() removes the active domain. For good measure, also do it if the active domain is removed by renameGameDomain(), though I don't know if there was any case where this would have caused trouble. | |||
2014-08-07 | COMMON: Minor whitespace fix. | Torbjörn Andersson | |
2014-02-18 | COMMON: Make GPL headers consistent in themselves. | Johannes Schickel | |
2012-02-20 | COMMON: Move isFoo functions to namespace Common, add doxygen comments | Max Horn | |
2012-02-15 | ALL: Avoid using is* macros from ctype.h | Max Horn | |
On some systems, passing signed chars to macros like isspace() etc. lead to a runtime error. Hence, mark these macros as forbidden by default, and introduce otherwise equivalent alternatives for them. | |||
2011-08-07 | COMMON: Make constants actually const. | Christoph Mallon | |
2011-08-07 | COMMON: Remove superfluous Common:: qualifiers. | Christoph Mallon | |
2011-08-07 | JANITORIAL: Remove trailing empty lines. | Christoph Mallon | |
2011-06-30 | ALL: Require DECLARE_SINGLETON to be used in the Common namepsace | Ori Avtalion | |
Silences the clang warning: static data member specialization of '_singleton' must originally be declared in namespace 'Common'; accepted as a C++0x extension [-Wc++0x-extensions] Wrapping "namespace Common {}" around the macro assignment causes clang to complain about a spurious semicolon, and removing the semicolon at the end of the macro causes some editors to misbehave. Changing the requirement of using the macro in one namespace (the global) to another (Common) seems a small price to pay to silence a warning. | |||
2011-06-23 | ANALYSIS: Add static casts to is* functions | Littleboy | |
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx | |||
2011-06-17 | COMMON: Make use of Common::parseBool | Max Horn | |
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-04-28 | JANITORIAL: Reduce header dependencies in shared code | Ori Avtalion | |
Some backends may break as I only compiled SDL | |||
2011-04-12 | COMMON: Fix usage of wrong variable when keymapper is active | Klaus Reimer | |
2011-03-02 | COMMON: Remove newlines from debug() | dhewg | |
They were interfering with my precious debug spew :P | |||
2011-01-18 | COMMON: Some style fixes in config-manager.cpp. | Johannes Schickel | |
svn-id: r55315 | |||
2011-01-13 | COMMON: Some slight formatting fixes in config-manager.cpp. | Johannes Schickel | |
svn-id: r55228 | |||
2011-01-13 | CONFIGMANAGER: small changes to support old config files with no 'gameId' ↵ | Yotam Barnoy | |
keys. As discussed on -devel. svn-id: r55222 | |||
2010-12-29 | CONFIG-MGR: added ability to add other non-game domains | Yotam Barnoy | |
The way we determine if a domain is a game domain or not when loading from the config file is by checking for a 'gameId' key. This required changing the method of loading somewhat. MiscDomains (ie. non-game domains) are saved to the config file before game domains but after the main domains. This change shouldn't mess anything up but it could probably use a look-through just in case. svn-id: r55060 | |||
2010-11-16 | COMMON: Simplify DECLARE_SINGLETON macro | Max Horn | |
This makes it possible to write DECLARE_SINGLETON(foo); instead of DECLARE_SINGLETON(foo) without causing a warning about an extra semicolon. The extra semicolon helps some editors at parsing the C++ code. svn-id: r54258 | |||
2010-11-15 | CONFIGMAN: added defragmentation methods for one-plugin-at-a-time | Yotam Barnoy | |
One-plugin-at-a-time can have fragmentation caused by the ConfigManager if a game changes any configuration value. By reallocating and copying over the ConfigManager, we avoid this problem. svn-id: r54243 | |||
2010-11-01 | COMMON: Switch ConfigManager::setInt & ConfigManager::registerDefault to use ↵ | Max Horn | |
String::format svn-id: r54009 | |||
2010-11-01 | COMMON: Change some (f)printf to debug calls; clenaup hashmap.h | Max Horn | |
svn-id: r54003 | |||
2010-08-23 | CONFIG: Always sort 'scummvm' and keymapper domains first | Max Horn | |
svn-id: r52296 | |||
2010-04-13 | Print message when creating new INI; don't rewrite it directly after reading. | Max Horn | |
Together with the r48651, this addresses bug #2983718: "Incomprehensible message for missing scummvm.ini" svn-id: r48653 | |||
2010-03-29 | COMMON: Cleanup ConfigManager code | Max Horn | |
* get rid of ConfigManager::_emptyString * get rid of ConfigManager::Domain::get (use getVal instead) * remove some dead code svn-id: r48417 | |||
2010-03-18 | COMMON: Move typedef StringList from str.h to new header str-array.h | Max Horn | |
This removes the dependency on array.h from str.h. Also, begun migration from the confusing type name "StringList" to the more appropriate StringArray. svn-id: r48282 | |||
2010-03-13 | Fix our DECLARE_SINGLETON macro to conform to the C++ specs. | Johannes Schickel | |
We need to use a namespace Common { } there to make strict C++ compilers like clang++ and comeau happy. I also added a slight comment about why that is needed to the macro definition and a note that you need to use it from the global namespace. svn-id: r48254 | |||
2009-12-30 | Get rid of Common::String::emptyString, and also of some port specific ↵ | Max Horn | |
hackery (getting rid of certain global C++ objs) svn-id: r46781 | |||
2009-05-19 | COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are ↵ | Max Horn | |
deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses) svn-id: r40725 | |||
2009-05-10 | Store global keymaps into a separate section | Eugene Sandulenko | |
svn-id: r40427 | |||
2009-02-17 | typo | Willem Jan Palenstijn | |
svn-id: r38440 | |||
2009-01-29 | Be paranoid about g_system being set | Max Horn | |
svn-id: r36131 | |||
2009-01-23 | Renamed OSystem::openConfigFileForReading & openConfigFileForWriting to ↵ | Max Horn | |
createConfigReadStream & createConfigWriteStream, in order to make it clear that the *caller* is responsible for deleting the streams (i.e., 'owns' them) svn-id: r36013 | |||
2008-12-22 | Fixed indentation and removed whitespaces at the end of line | Jordi Vilalta Prat | |
svn-id: r35481 | |||
2008-10-23 | Pushed down some header deps | Max Horn | |
svn-id: r34845 | |||
2008-10-02 | Renamed FilesystemNode -> FSNode | Max Horn | |
svn-id: r34716 | |||
2008-09-30 | Fixing ConfigManager::loadConfigFile | Max Horn | |
svn-id: r34707 | |||
2008-09-03 | Changed some code to use the new Stream::readLine() method | Max Horn | |
svn-id: r34318 | |||
2008-08-09 | If no default config file is present, just don't load it, instead of crashing | Max Horn | |
svn-id: r33729 | |||
2008-08-03 | New OSystem API for loading/storing default config file | Max Horn | |
svn-id: r33584 | |||
2008-08-02 | Fix for bug #1972625 'ALL: On-the-fly targets are written to the config file' | Max Horn | |
svn-id: r33550 | |||
2008-07-30 | Revert my accidental commit of the OSystem changes (oops) | Max Horn | |
svn-id: r33456 | |||
2008-07-30 | Simplified advanced detector file sys scanning code | Max Horn | |
svn-id: r33455 | |||
2008-07-29 | CONFIGMAN: Store domains in the order they were added | Max Horn | |
svn-id: r33413 | |||
2008-07-29 | Changed 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-20 | Fix for bug #1971499: ALL: config manager crashes when reading too long lines | Max Horn | |
svn-id: r33140 | |||
2008-04-14 | Removed Common::Array::contains() | Max Horn | |
svn-id: r31501 | |||
2008-02-03 | Migration code for users updating to the 1.1.3 iPhone firmware, which has a ↵ | Oystein Eftevaag | |
different directory structure and permission setup svn-id: r30761 |