aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
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
2011-05-03COMMON: Don't declare a fake printfMax Horn
2011-05-02COMMON: Fix compilation when zlib support is enabled.Johannes Schickel
2011-05-02ALL: Mark printf and various other symbols as forbiddenMax 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-29OSYSTEM: Clarify doc for getGraphicsMode()Thierry Crozat
2011-04-28NDS: Fix compilationOri Avtalion
2011-04-28COMMON: Fix compilation on backends that USE_RGB_COLOROri Avtalion
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-28JANITORIAL: Format more forward declarations to follow conventionOri Avtalion
2011-04-28JANITORIAL: Format forward declarations to follow conventionOri Avtalion
2011-04-25COMMON: Add proper error handling to the ZipArchive classLittleboy
- 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-24COMMON: Fix MSVC warning in PEResources::parseResourceLevel()Littleboy
2011-04-19COMMON: 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-18COMMON: Cleanup names/handling of some error codesMax Horn
2011-04-18COMMON: Clarify error naming conventionsMax Horn
Not all error codes comply with these yet.
2011-04-18COMMON: Remove kInvalidPathErrorMax Horn
2011-04-18COMMON: Tweak extra text handling in Common::ErrorMax Horn
2011-04-18COMMON: Fix typoMax Horn
2011-04-18COMMON: Cleanup error messagesMax Horn
2011-04-18COMMON: Rename Error to ErrorCode, introduce new Error classMax Horn
2011-04-17COMMON: Partial fix for #3087922: COMMON/BASE/BACKENDS: Code analysis warningsEugene Sandulenko
2011-04-12COMMON: Let MKTAG always return an uint32Max Horn
2011-04-12COMMON: Use correct MKTAG definition, stupidMax Horn
2011-04-12COMMON: Replace MKID_BE by MKTAGMax 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-12COMMON: Drop totally obsolete & outdated DEC C++ 'support'Max Horn
2011-04-12COMMON: Fix usage of wrong variable when keymapper is activeKlaus Reimer
2011-04-04COMMON: Fix (harmless) int <-> uint mismatchMax Horn
2011-03-29COMMON: Unbreak EventRecorder a littledhewg
2011-03-29JANITORIAL: Remove/comment unused varsdhewg
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-24COMMON: Add SaveFileManager::copySavefile() and update ↵Littleboy
SaveFileManager::renameSavefile() to use it
2011-03-23COMMON: Remove TODO from struct EventMax Horn
I moved this TODO to the Wiki TODO page and extended it there. Yet while I originally wrote it, I now think that we are probably best off keeping things as they are.
2011-03-19COMMON: Removed custom PI define (M_PI should be used instead)md5
2011-03-19COMMON: Enable math constants under Visual Studiomd5
2011-03-07Merge branch 'pe_exe' of https://github.com/clone2727/scummvm into ↵Matthew Hoops
clone2727-pe_exe
2011-03-07COMMON: Add TODO to make compressed NE EXE handling transparentMatthew Hoops
2011-03-07COMMON: Add a sanity assertMatthew Hoops
2011-03-07COMMON: Fix WinResourceID::getID()Matthew Hoops
2011-03-07COMMON: Make the operator=(String) function be a const reference insteadMatthew Hoops
2011-03-06SCUMM: Use the new WinCursor code in SCUMM HEMatthew Hoops
Also, updated the MacResManager cursor code to reflect the SCUMM resource extractor code changes