Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-11-12 | SWORD25: Suppress GCC Cast Qualification Warnings. | D G Turner | |
Since lua_pushlightuserdata and lua_touserdata operate on (void *) values, it is tricky to fix these warnings "correctly" without looking at invasive changes to a significant amount of Lua internal code. Since these pointers to consts are already being recast to drop the const qualifications, then removing the const on the underlying value declaration does not further expose this to change and stops the compiler warnings associated with this. Anyone with a better fix for this can restore the const qualifications later. | |||
2017-08-06 | JANITORIAL: Silence some more GCC 7 fall through warnings | Torbjörn Andersson | |
I think these are the last one that were already flagged as being deliberate. | |||
2017-08-06 | SWORD25: Increase buffer length to silence GCC 7 warning | Torbjörn Andersson | |
2017-08-06 | JANITORIAL: Silence GCC 7 fall through warning | Torbjörn Andersson | |
2017-01-28 | SWORD25: Use direct integer index into indexTbl | Willem Jan Palenstijn | |
This matches the behaviour of the Pluto rewrite Eris, and avoids casting the integer indices to void *. I verified this code by running this method in parallel with the current lightuserdata/void* approach and asserting the retrieved objects were identical when loading a savegame. | |||
2016-02-19 | SWORD25: Fixing bug #7041: SWORD25: Crash in final scene | Eugene Sandulenko | |
The original was ignoring Lua errors in that scene and was restoring the state with longjmp. We are yet to see the platform compatibility, but Lua's code is too tangled to make simple replacement with error() work. Another possible alternative would be to rework the original game scripts. We will do it if this commit is problematic. | |||
2016-02-15 | JANITORIAL: Typos detected with lintian & grep | Alexandre Detiste | |
2016-02-02 | SWORD25: Remove now unused function | Willem Jan Palenstijn | |
2016-02-02 | SWORD25: Use more appropriate function for growing the stack | Willem Jan Palenstijn | |
The call to lua_growstack in unpersistThread would unconditionally at least double the size of the stack. This caused memory usage to grow exponentially (literally) with the number of serialized threads. Bugs #6977, #6999. | |||
2015-11-19 | SWORD25: Fix Hungarian version support | Eugene Sandulenko | |
2015-04-11 | SWORD25: Use fabs for absolute value of doubles | Matthew Hoops | |
2015-01-07 | SWORD25: Remove unused code | RichieSams | |
The original idea was to keep the code variation and pick the best one. However, these two methods we're portable enough for our needs. | |||
2015-01-04 | SWORD25: Commend unused and unportable functions | Eugene Sandulenko | |
2015-01-04 | SWORD25: Hopefully fix compilation errors | Eugene Sandulenko | |
2015-01-04 | SWORD25: Fix warning | Eugene Sandulenko | |
2014-12-30 | SWORD25: Remove the option to persist a double as a string | RichieSams | |
Since the current method *should* be more accurate | |||
2014-12-30 | SWORD25: Change function names to use persist instead of serialize | RichieSams | |
Same argument as in 97c35714ce3986b99848a780f6b195a63f8910b7. To match the rest of the SWORD25 code base | |||
2014-12-30 | SWORD25: Add Pluto copyright message to new persistence code | RichieSams | |
Since the code is based off the Pluto code | |||
2014-12-30 | SWORD25: Correct include guards to reflect the changes to the file names | RichieSams | |
2014-12-30 | SWORD25: Remove old lua persistence files | RichieSams | |
2014-12-30 | SWORD25: Fix how nils are persisted | RichieSams | |
The unpersist code expects nils to be represented as an index with value 0. The persist code incorrectly wrote out this data | |||
2014-12-30 | SWORD25: Rename double serialization file to better represent what it is | RichieSams | |
AKA functions, rather than a class | |||
2014-12-30 | SWORD25: Rename lua serialization functions to use 'persist' in order to ↵ | RichieSams | |
match the rest of the engine | |||
2014-12-30 | SWORD25: Move all lua serialization helper functions to their own file | RichieSams | |
2014-12-19 | SWORD25: Fix code formatting | Adrian Astley | |
... with AStyle | |||
2014-12-19 | SWORD25: Re-write the pluto unserializing function(s) | Adrian Astley | |
2014-12-19 | SWORD25: Move common functions to their own set of files so they can be shared | Adrian Astley | |
2014-12-19 | SWORD25: Create a function for serializing lua objects | Adrian Astley | |
This function is very similar to the Pluto function. However, this code is much cleaner and is endian-safe | |||
2014-12-19 | SWORD25: Create a set of functions for manually serializing a double | Adrian Astley | |
Since we can't assume IEEE. | |||
2014-12-07 | SWORD25: Disable unused code | Filippos Karapetis | |
Thanks to fingolfin for pointing out this unused code | |||
2014-10-28 | SWORD25: Remove trailing whitespace | Filippos Karapetis | |
2014-09-12 | SWORD25: Make save files x32/x64 agnostic | Adrian Astley | |
2014-04-28 | Merge pull request #426 from sunmax/master | Eugene Sandulenko | |
PS2: Pull request to master for latest PS2 code | |||
2014-02-18 | SWORD25: Make GPL headers consistent in themselves. | Johannes Schickel | |
2014-01-19 | PS2: modified sword25 loslib.cpp to support PS2 | Max Lingua | |
2013-11-24 | SWORD25: Janitorial - Fix spacing errors | Strangerke | |
2013-11-04 | SWORD25: Revert "Fix compilation on some 32-bit systems" | Willem Jan Palenstijn | |
This reverts commit 6dc3768faaa272a12e3c6e7ce0965905338132ad. This commit was the wrong fix to the compilation problem later fixed by 8e9aefbf6edafa9eed41bd90e5579e5bcde34b03. | |||
2013-09-27 | SWORD25: Remove explictit #includes | Eugene Sandulenko | |
Makes Coverity happier. | |||
2013-07-15 | SWORD25: Fix compilation on some 32-bit systems | Eugene Sandulenko | |
2013-07-15 | SWORD25: Replace Pluto with Tamed Pluto for increased compatibility | Eugene Sandulenko | |
Still saves are incompatible but at least this now has enhanced debugging capabilities. | |||
2013-04-18 | SWORD25: Silence warning in the Lua code | Max Horn | |
This fixes warnings like this that crop up when compiling sword25 with Apple clang 4.2 (clang-425.0.28) (based on LLVM 3.2svn) | |||
2013-02-03 | SWORD25: Fix some spacing in LUA | Filippos Karapetis | |
2013-02-03 | SWORD25: Replace calls to LUAI_THROW() with error() in LUA | Filippos Karapetis | |
This removes one of the uses of setjmp(), but its use in LUAI_TRY still remains | |||
2012-12-13 | COMMON: Forbid symbols for the rest of is* from ctype.h. | Johannes Schickel | |
I also moved the isprint case to the correct position. This adds a FIXME to our lua code from sword25, which uses iscntrl directly. | |||
2012-08-20 | SWORD25: Fix loading savegames on 64-bit archs. | upthorn | |
2012-03-17 | ALL: Use GCC_ATLEAST(). | Christoph Mallon | |
2012-02-26 | COMMON: Move Language and Platform functionality into separate files | Max Horn | |
2012-02-21 | Merge pull request #182 from fingolfin/forbid-ctype | Willem Jan Palenstijn | |
ALL: Avoid using is* macros from ctype.h | |||
2012-02-20 | COMMON: Move isFoo functions to namespace Common, add doxygen comments | Max Horn | |
2012-02-15 | JANITORIAL: Fix missing whitespace in pointer cast | Tarek Soliman | |
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h) |