Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-04-29 | COMMON: Add hasInstance() bool to singleton class | Lothar Serra Mari | |
2017-07-10 | Revert "COMMON: Change way the Singleton instances are instantiated" | Eugene Sandulenko | |
This reverts commit eefa72afa1978a9dea10f5b1833fcc8f58a3468e. With this patch ConfigManager is broken. | |||
2017-07-10 | COMMON: Change way the Singleton instances are instantiated | Thierry Crozat | |
This fixes tons of warnings with clang from a recent xcode version on macOS (and possibly other systems) complaining that an instantiation of _singleton is required but no definition is available. | |||
2014-06-21 | ALL: Remove support for MSVC8 and older | Joel Teichroeb | |
MSVC8 gives various compile error relating to templates that were changed back in 2008, leading me to belive that no one is using it, and that there is not point adding work arounds for a 9 year old compiler no one uses. | |||
2014-02-18 | COMMON: Make GPL headers consistent in themselves. | Johannes Schickel | |
2013-01-26 | JANITORIAL: Enforce "} // End of namespace" with a single space after }. | Johannes Schickel | |
2012-03-17 | ALL: Make use of defined() for the preprocessor consistent. | Johannes Schickel | |
This does not change the use of defined for some NDS source files, since they seem to be (based on?) third party code. | |||
2012-02-10 | JANITORIAL: Fix template definition whitespace | Tarek Soliman | |
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-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2010-11-16 | COMMON: Reverting r54257 as _singleton already was protected (and I am blind :) | Max Horn | |
svn-id: r54259 | |||
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-16 | COMMON: Make Common::Singleton::_singleton protected instead of public | Max Horn | |
svn-id: r54257 | |||
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-07-21 | Strip trailing whitespaces in our common code base. | Johannes Schickel | |
svn-id: r51094 | |||
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 | |||
2008-05-03 | Formatting. | Johannes Schickel | |
svn-id: r31852 | |||
2008-04-26 | Fixed segfault when trying to start invalid gameid from command line. | Johannes Schickel | |
svn-id: r31731 | |||
2008-03-26 | Modified Patch #1925352: Memory leak fixes | Max Horn | |
svn-id: r31244 | |||
2007-05-30 | Updated legal headers in source files, based on what Pidgin (the IM client ↵ | Max Horn | |
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024 | |||
2007-05-27 | Reverted r26922. | Johannes Schickel | |
svn-id: r26967 | |||
2007-05-22 | Simpilified Singleton implementation and usage. | Johannes Schickel | |
svn-id: r26922 | |||
2007-03-17 | Added class NonCopyable, and made various things derive from it | Max Horn | |
svn-id: r26163 | |||
2006-02-11 | Change CVS keywords to SVN keywords | Max Horn | |
svn-id: r20510 | |||
2006-01-18 | Update copyright notice | Eugene Sandulenko | |
svn-id: r20088 | |||
2005-10-18 | Update FSF address. Eek. Actually that took place on May 1, 2005 | Eugene Sandulenko | |
svn-id: r19142 | |||
2005-07-30 | Remove trailing whitespaces. | Eugene Sandulenko | |
svn-id: r18604 | |||
2005-06-21 | Patches needed to build for SYMBIAN32 WINS/GCC added. | Lars Persson | |
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-05-10 | Fix compilation | Eugene Sandulenko | |
svn-id: r18016 | |||
2005-05-09 | fixed compilation for evc4 and vc7 | Paweł Kołodziejski | |
svn-id: r18013 | |||
2005-01-27 | emsvc4 need public access, hmmm... | Paweł Kołodziejski | |
svn-id: r16650 | |||
2005-01-10 | yet another attempt to get makeInstance working for gcc 3.3, gcc 3.2, and ↵ | Max Horn | |
MSVC (thanks to wjp for the suggestion). Works fine with GCC 3.2 and 3.3 svn-id: r16525 | |||
2005-01-06 | Modify the singleton code once more to help overcome an issue with MSVC 7 ↵ | Max Horn | |
(see also patch #1095133) svn-id: r16454 | |||
2005-01-01 | Changed the singleton code to allow for custom object factories; this ↵ | Max Horn | |
allowed me to change OSystem to use the singleton base class, too svn-id: r16404 | |||
2005-01-01 | Updated copyright | Max Horn | |
svn-id: r16398 | |||
2004-12-30 | cleanup | Max Horn | |
svn-id: r16382 | |||
2004-12-29 | Compile fix from cyx | Travis Howell | |
svn-id: r16366 | |||
2004-12-28 | Fix running ScummVM in plugin-mode | Max Horn | |
svn-id: r16360 | |||
2004-01-06 | updated copyright notice | Max Horn | |
svn-id: r12176 | |||
2003-12-10 | slightly altered singleton implemention, might help MSVC6, or might screw it ↵ | Max Horn | |
even more :-) svn-id: r11543 | |||
2003-11-02 | turned NewGui into a singleton, and made OSystem a pseudo-singleton; added ↵ | Max Horn | |
Widget::findWidget (preparing to add support for nested widgets, for the tab widget) svn-id: r11045 | |||
2003-10-08 | new config manager. not everything is completed, and some things will still ↵ | Max Horn | |
be changed, but it seems to work well enough to put it into CVS svn-id: r10687 |