Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-09-27 | SWORD25: Remove explictit #includes | Eugene Sandulenko | |
Makes Coverity happier. | |||
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-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) | |||
2012-02-15 | ALL: Avoid using is* macros from ctype.h | Max Horn | |
On some systems, passing signed chars to macros like isspace() etc. lead to a runtime error. Hence, mark these macros as forbidden by default, and introduce otherwise equivalent alternatives for them. | |||
2011-08-07 | JANITORIAL: Remove trailing empty lines. | Christoph Mallon | |
2011-06-23 | ANALYSIS: Add static casts to is* functions | Littleboy | |
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx | |||
2011-06-20 | ALL: Remove trailing whitespaces | Max Horn | |
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//' | |||
2011-06-18 | SWORD25: Fix locale-related bug when reading the volume settings | eriktorbjorn | |
I don't really like this, but I can't think of any better way. It seems that Lua doesn't like decimal comma at all, so we have to format the volume settings with a decimal point instead. Otherwise, all I'll ever get is either full volume or no volume, with nothing in between. | |||
2011-06-18 | SWORD25: Fix getting volume settings from config file | eriktorbjorn | |
The tests had been inverted, so that if there were config file settings it would use the default settings instead. | |||
2011-06-06 | COMMON: Make more symbols forbidden | Max Horn | |
2011-05-26 | SWORD25 (LUA): Removed unused code for handling precompiled LUA scipts | md5 | |
2011-05-26 | SWORD25: Fix warning: double format, float arg on DC | Max Horn | |
2011-05-26 | SWORD25: Avoid using strcoll | Max Horn | |
2011-05-25 | ALL: behaviour -> behavior | Matthew Hoops | |
2011-05-25 | SWORD25: Remove more unused loadlib code + use of fopen | Max Horn | |
The functions loader_C and loader_Croot provably did not do anything besides returning an error, so removing them was safe. For loader_Lua, this was using luaL_loadfile. But that in turn now uses Sword25FileProxy, which only supports loading config.lua, and config.lua is not used via the loadlib mechanism. Therefore, I deemed it safe to also remove this third loader. This leaves loader_preload as only remaining loader. It is probably unused, too, but I did not both to investigate further, as I already achieved my primary goal (getting rid of fopen/fclose use). All other removed functions were unused due to the removal of the first three loader_* functions. | |||
2011-05-24 | SWORD25: Remove unused Lua print stuff | Max Horn | |
2011-05-23 | COMMON: Add exit() to list of forbidden symbols | Max Horn | |
2011-05-23 | SWORD25: Include scummsys.h from lua.h, partially deal with the consequences | Max Horn | |
This should help mark the spots that are still non-portable, just follow the FIXMEs. | |||
2011-05-23 | SWORD25: Replace some non-portable calls, add FIXMEs | Max Horn | |
2011-05-23 | SWORD25: Fix ambiguous typing | Max Horn | |
2011-05-23 | SWORD25: Fix error string parameter | Alyssa Milburn | |
2011-05-23 | SWORD25: Replaced accidental backslash in include filename | Paul Gilbert | |
2011-05-23 | SWORD25: Added proxy code for converting writing config.lua to update the ↵ | Paul Gilbert | |
ScummVM game settings | |||
2011-05-23 | SWORD25: Created proxy class that presents ScumMVM settings as a valid ↵ | Paul Gilbert | |
config.lua file | |||
2011-05-20 | SWORD25: Don't assume that all locales use decimal point | eriktorbjorn | |
The trydecpoint() function *is* used, though probably only in countries which don't use a decimal point. We can't use the ISO C locale functions here because they're not fully implemented on some platforms, e.g. Android. Hopefully this method will work. | |||
2011-05-20 | SWORD25: Re-implement two LUA library I/O functions necessary for detecting ↵ | Paul Gilbert | |
and creating the config.lua configuration file | |||
2011-05-15 | SWORD25 (LUA): Removed unused non-portable locale code | md5 | |
2011-05-15 | SWORD25 (LUA): Clarified the use of os_remove() | md5 | |
2011-05-14 | SWORD25 (LUA): Disabled a lot of non-portable LUA functions | md5 | |
sword25 doesn't use these (thankfully) | |||
2011-05-14 | SWORD25 (LUA): Some compilation optimizations | md5 | |
For Android, define stroll() inside luaconf.h For PS2, don't use the visibility attribute, as the PS2 gcc isn't particularly happy about it... | |||
2011-05-13 | SWORD25 (LUA): Whitespace fixes | md5 | |
2011-05-13 | SWORD25 (LUA): Hopefully fixed compilation for the Android platform | md5 | |
2011-03-19 | SWORD25: Fix MSVC Compilation. | D G Turner | |
2011-03-19 | ALL: s/PI/M_PI/ | dhewg | |
Tip of the day: git grep -w PI | |||
2011-01-19 | SWORD25: Strip off unportable functions | Eugene Sandulenko | |
svn-id: r55319 | |||
2010-11-04 | LUA: Tweak lua_ident to not conflict with SVN keywords (since this is not ↵ | Max Horn | |
used at all, only used to 'mark' binaries compiling Lua in, I think we could safely remove it, too) svn-id: r54056 | |||
2010-11-04 | Trying to fix weird keyword expansion quirk | Max Horn | |
svn-id: r54055 | |||
2010-10-19 | SWORD25: Work around for bug in Mac OS X 10.2 SDK | Max Horn | |
svn-id: r53604 | |||
2010-10-18 | SWORD25: Use const_cast to cast away constness. | Johannes Schickel | |
This fixes a few warnings/errors in the LUA code. I added some FIXMEs at the places where the casts happen, since usually this casting indicates bad design. svn-id: r53592 | |||
2010-10-18 | SWORD25: Renamed Lua .c files to .cpp and make it compilable | Eugene Sandulenko | |
svn-id: r53568 | |||
2010-10-16 | SWORD25: Use C-style comments in C files | Ori Avtalion | |
svn-id: r53538 | |||
2010-10-16 | SWORD25: Update svn keywords | Ori Avtalion | |
svn-id: r53537 | |||
2010-10-13 | SWORD25: Remove lua.c since it is not needed | Eugene Sandulenko | |
svn-id: r53452 |