Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-05-23 | COMMON: Provide our own implementations for scumm_str(n)icmp | Max Horn | |
This takes up a tiny little bit of extra binary size, but gets rid of some awful #ifdef hackery. | |||
2011-05-18 | COMMON: Document that Stream API is meant to imitate ISO C FILE semantics | Max Horn | |
2011-05-17 | COMMON: Forbid use of some more symbols | Max Horn | |
2011-05-17 | COMMON: Remove unused RandomSource destructor, clarify comments, cleanup | Max Horn | |
2011-05-17 | COMMON: Remove auxillary RandomSource constructor | Max Horn | |
2011-05-17 | COMMON: Registers RandomSources in constructor with the event recorder | Max Horn | |
This also removes the dependency of engines on the event recorder header and API, and will make it easier to RandomSources that are not properly registered. | |||
2011-05-16 | IPHONE/OSX: Updated xcode project | Oystein Eftevaag | |
2011-05-16 | COMMON: Fix inserting an array into itself under certain conditions | Max Horn | |
2011-05-16 | COMMON: Don't allocate zero-sized storage in array | Willem Jan Palenstijn | |
2011-05-16 | COMMON: Unify Array memory allocation | Max Horn | |
We also change how alloc failures are handled: Instead of using assert(), which is usually disabled in release builds on various platforms, we now *always* catch this situation and invoke error() if necessary. | |||
2011-05-16 | COMMON: Change Array::insert_aux to immediately assign newly allocated ↵ | Max Horn | |
memory to _storage | |||
2011-05-16 | COMMON: Set _capacity to just _size in Common::Array::operator= | Max Horn | |
2011-05-14 | COMMON: RemoveAvoid redundant typedefs if config.h is present | Max Horn | |
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-05-10 | COMMON: Always prefer GCC 4.x versions of READ_UINT*/WRITE_UINT* | Max Horn | |
In addition, we use them if in GCC >= 3.3 if unaligned access is possible. The GCC variants of these macros also contain protection against overzealous compilers' static aliasing optimizations. | |||
2011-05-10 | COMMON: Refactor typedefs a bit | Max Horn | |
2011-05-09 | COMMON: Refactor scummsys.h | Max Horn | |
2011-05-09 | COMMON: Do not #undef _MSC_VER | Max Horn | |
2011-05-09 | COMMON: If config.h is present, don't use hardcoded settings from scummsys.h | Max Horn | |
2011-05-09 | COMMON: Unify definition of scumm_str(n)icmp | Max Horn | |
2011-05-09 | N64: Remove (u)int64 typedefs from common/scummsys.h | Max Horn | |
2011-05-09 | COMMON: Tweak some comments | Max Horn | |
2011-05-06 | COMMON: Add a class SafeSubReadStream | Sven Hesse | |
SafeSubReadStream is basically a SeekableSubReadStream that re-seek()s the parent stream before each read(). That way, more than one SafeSubReadStream of the same parent stream can be used safely at the same time, at the cost of increasing IO. | |||
2011-05-05 | COMMON: Remove convertCrsrCursor() | Matthew Hoops | |
Graphics::MacCursor is its replacement | |||
2011-05-03 | COMMON: Fix spelling of 'Philips' | Matthew Hoops | |
2011-05-03 | COMMON: Forbid use of getcwd&getwd; add macro to enable unistd.h compatibility | Max Horn | |
2011-05-03 | COMMON: Don't declare a fake printf | Max Horn | |
2011-05-02 | COMMON: Fix compilation when zlib support is enabled. | Johannes Schickel | |
2011-05-02 | ALL: Mark printf and various other symbols as forbidden | Max Horn | |
Right now, a few places in the frontend code still use printf and consorts. We mark the affected files with a FIXME for now, and add a dedicated exception for each. To be fixed! Also tweak FORBIDDEN_SYMBOL_REPLACEMENT to hopefully really always enforce a compiler error | |||
2011-04-29 | OSYSTEM: Clarify doc for getGraphicsMode() | Thierry Crozat | |
2011-04-28 | NDS: Fix compilation | Ori Avtalion | |
2011-04-28 | COMMON: Fix compilation on backends that USE_RGB_COLOR | Ori Avtalion | |
2011-04-28 | JANITORIAL: Reduce header dependencies in shared code | Ori Avtalion | |
Some backends may break as I only compiled SDL | |||
2011-04-28 | JANITORIAL: Format more forward declarations to follow convention | Ori Avtalion | |
2011-04-28 | JANITORIAL: Format forward declarations to follow convention | Ori Avtalion | |
2011-04-25 | COMMON: Add proper error handling to the ZipArchive class | Littleboy | |
- Add check in listMembers and skip files that can't be enumerated. - Add checks for all function calls in createReadStreamForMember (and no longer return a stream from an uninitialized buffer when the file cannot be read). | |||
2011-04-24 | COMMON: Fix MSVC warning in PEResources::parseResourceLevel() | Littleboy | |
2011-04-19 | COMMON: Do not call ReadStream::eos in SubReadStream::read. | Johannes Schickel | |
Instead I moved the call to ReadStream::eos into SubReadStream::eos. fuzzie pointed out that in certain cases this resulted in a lot of eos calls before. Those were rather needlessly, since checking the eos bit of the decorated stream in read does not give any advantage over checking it when the client code really wants to test the eos flag. | |||
2011-04-18 | COMMON: Cleanup names/handling of some error codes | Max Horn | |
2011-04-18 | COMMON: Clarify error naming conventions | Max Horn | |
Not all error codes comply with these yet. | |||
2011-04-18 | COMMON: Remove kInvalidPathError | Max Horn | |
2011-04-18 | COMMON: Tweak extra text handling in Common::Error | Max Horn | |
2011-04-18 | COMMON: Fix typo | Max Horn | |
2011-04-18 | COMMON: Cleanup error messages | Max Horn | |
2011-04-18 | COMMON: Rename Error to ErrorCode, introduce new Error class | Max Horn | |
2011-04-17 | COMMON: Partial fix for #3087922: COMMON/BASE/BACKENDS: Code analysis warnings | Eugene Sandulenko | |
2011-04-12 | COMMON: Let MKTAG always return an uint32 | Max Horn | |
2011-04-12 | COMMON: Use correct MKTAG definition, stupid | Max Horn | |
2011-04-12 | COMMON: Replace MKID_BE by MKTAG | Max Horn | |
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro. | |||
2011-04-12 | COMMON: Drop totally obsolete & outdated DEC C++ 'support' | Max Horn | |