aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2011-06-03COMMON: Cleanup QuickTime variable and struct namingMatthew Hoops
2011-06-02COMMON: Begin objectifying QuickTimeParser::SampleDesc furtherMatthew Hoops
This is preparation for multiple video and audio tracks
2011-06-01COMMON: Implement two simple workaround wrappers for _vsnprintf and ↵Johannes Schickel
_snprintf for MSVC. This should assure vsnprintf and snprintf will now also always null terminate the result even for MSVC. Currently the functions are placed in scummsys.h, but that causes us to include two standard C library headers there (for MSVC at least). This is not particulary nice, so we should think of a better solution here.
2011-06-01COMMON: Add note about us defining vsnprintf as _vsnprintf for older MSVC ↵Johannes Schickel
versions.
2011-06-01COMMON: Add comment about MSVC's _snprintf.Johannes Schickel
This includes a FIXME, since _snprintf behaves differently to snprintf. Not only in the return value (which is a minor difference, since we usually do not use it), but also since it does not always include a terminating null.
2011-06-01Merge pull request #20 from scott-t/t7g-iosclone2727
T7G iOS support
2011-06-01COMMON: Move SDL endian check a bit downMax Horn
2011-05-31Merge remote branch 'upstream/master' into t7g-iosMatthew Hoops
Conflicts: engines/groovie/script.cpp
2011-05-31COMMON: Include SDL_endian.h instead of SDL_byteorder.hMax Horn
2011-05-31COMMON: Simplify OverlayColor definitionMax Horn
This typedef still should be moved somewhere else. Maybe a header file of its own?
2011-05-31COMMON: Move scumm_str(n)icmp declaration to str.hMax Horn
2011-05-31COMMON: Move some weird WinCE/MSVC snprintf-#define aroundMax Horn
2011-05-31COMMON: Shorten endianess / mem align guessing logic in scummsys.hMax Horn
2011-05-31COMMON: Move more stuff from scummsys.h to portdefs.hMax Horn
2011-05-31COMMON: Move some code from scummsys.h to relevant portdefs.h filesMax Horn
2011-05-29COMMON: Limit pragma warning use in algorithm.h to MSVC.Johannes Schickel
Since we only want to disable a MSVC specific warning with it and other compilers might have different warnings numbers it is safer to only target MSVC here.
2011-05-25ALL: initialise -> initializeMatthew Hoops
2011-05-25ALL: behaviour -> behaviorMatthew Hoops
2011-05-25BUILD: Rename UNIX #define to POSIXMax Horn
2011-05-24COMMON: Silence MSVC warning for Common::gcd calls with an unsigned typeLittleboy
2011-05-24COMMON: Add putc(har) and getc(har) to forbidden symbolsMax Horn
Sorry, buildbot...
2011-05-23COMMON: Modify Base::processSettings, get rid of Common::kArgumentNotProcessedMax Horn
Instead of defining a hacked up Common::Error code, split the return value of processSettings into two parts: An error code, and a value which indicates whether the specified command was completely handled by processSettings or not.
2011-05-23COMMON: Mark more symbols as forbiddenMax Horn
2011-05-23COMMON: Provide our own implementations for scumm_str(n)icmpMax Horn
This takes up a tiny little bit of extra binary size, but gets rid of some awful #ifdef hackery.
2011-05-18COMMON: Document that Stream API is meant to imitate ISO C FILE semanticsMax Horn
2011-05-17COMMON: Forbid use of some more symbolsMax Horn
2011-05-17COMMON: Remove unused RandomSource destructor, clarify comments, cleanupMax Horn
2011-05-17COMMON: Remove auxillary RandomSource constructorMax Horn
2011-05-17COMMON: Registers RandomSources in constructor with the event recorderMax 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-16IPHONE/OSX: Updated xcode projectOystein Eftevaag
2011-05-16COMMON: Fix inserting an array into itself under certain conditionsMax Horn
2011-05-16COMMON: Don't allocate zero-sized storage in arrayWillem Jan Palenstijn
2011-05-16COMMON: Unify Array memory allocationMax 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-16COMMON: Change Array::insert_aux to immediately assign newly allocated ↵Max Horn
memory to _storage
2011-05-16COMMON: Set _capacity to just _size in Common::Array::operator=Max Horn
2011-05-14COMMON: RemoveAvoid redundant typedefs if config.h is presentMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-11Merge remote branch 'upstream/master' into t7g-iosMatthew Hoops
Conflicts: audio/decoders/qdm2.h common/util.cpp engines/groovie/music.cpp engines/groovie/resource.h video/qt_decoder.cpp video/qt_decoder.h
2011-05-10COMMON: 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-10COMMON: Refactor typedefs a bitMax Horn
2011-05-09COMMON: Refactor scummsys.hMax Horn
2011-05-09COMMON: Do not #undef _MSC_VERMax Horn
2011-05-09COMMON: If config.h is present, don't use hardcoded settings from scummsys.hMax Horn
2011-05-09COMMON: Unify definition of scumm_str(n)icmpMax Horn
2011-05-09N64: Remove (u)int64 typedefs from common/scummsys.hMax Horn
2011-05-09COMMON: Tweak some commentsMax Horn
2011-05-06COMMON: Add a class SafeSubReadStreamSven 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-05COMMON: Remove convertCrsrCursor()Matthew Hoops
Graphics::MacCursor is its replacement
2011-05-03COMMON: Fix spelling of 'Philips'Matthew Hoops
2011-05-03COMMON: Forbid use of getcwd&getwd; add macro to enable unistd.h compatibilityMax Horn