summaryrefslogtreecommitdiff
path: root/src/3rdparty/squirrel
AgeCommit message (Collapse)Author
2019-05-11Change: Limit memory allocations for each Squirrel instanceNiels Martin Hansen
This can avoid out-of-memory situations due to single scripts using up the entire address space. Instead, scripts that go above the maximum are killed. The maximum is default 1 GB per script, but can be configured by a setting.
2018-06-27Codechange: Silence -Wclass-memaccess warnings with GCC8Charles Pigott
2018-06-15Codechange: Address some MSVC compiler warningsNiels Martin Hansen
2017-08-20(svn r27896) -Fix: some warningsfrosch
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2016-06-27(svn r27605) -Fix: GCC 6 warning about misleading indentationrubidium
2016-05-11(svn r27561) -Fix [Squirrel]: Fix typos in error messagesmatthijs
2015-05-20(svn r27289) -Fix: some uninitialised instance variablesrubidium
2015-04-11(svn r27233) -Fix [FS#6272]: crash when no AIs were installed due to ↵rubidium
improper handling of non-ASCII characters by the string pointer lexer
2014-10-12(svn r27003) -Cleanup: fix the use of spaces and asterices "around" some ↵rubidium
comments
2014-09-19(svn r26853) -Cleanup [Squirrel]: remove some stuff that we never did and ↵rubidium
especially never should use
2014-09-17(svn r26845) -Fix [Squirrel]: more uninitialized variables in constructorsrubidium
2014-09-17(svn r26844) -Fix: clang compile errorrubidium
2014-09-16(svn r26842) -Codechange [Squirrel]: other simple cases of non-initialised ↵rubidium
instance variables
2014-09-16(svn r26841) -Codechange [Squirrel]: move the actual initialisation of ↵rubidium
instance variables of SQString into the constructor
2014-09-16(svn r26840) -Fix [Squirrel]: merge Init and constructor of SQSharedStaterubidium
2014-09-16(svn r26839) -Fix [Squirrel]: some dead code and making switch fall throughs ↵rubidium
more explicit
2014-09-16(svn r26838) -Fix (r26831): attempt to make MSVC like the code againrubidium
2014-09-16(svn r26837) -Fix [Squirrel]: remove some pointless assignmentsrubidium
2014-09-16(svn r26836) -Fix [Squirrel]: merge SQLexer::Init with the constructor; ↵rubidium
there's no need to construct first and then call init in the next line
2014-09-16(svn r26835) -Fix [Squirrel]: remove dead code from the lexerrubidium
2014-09-16(svn r26834) -Fix [Squirrel]: prevent unitialized memory warning by moving ↵rubidium
code from (static) Init to constructure for SQFunctionProto
2014-09-16(svn r26833) -Fix [Squirrel]: remove a few bits of dead coderubidium
2014-09-16(svn r26832) -Fix [Squirrel]: ensure instance variable of SQNativeClosure is ↵rubidium
properly initialized
2014-09-16(svn r26831) -Fix [Squirrel]: (bogus) warning about falling through in a switchrubidium
2014-09-07(svn r26784) -Codechange [Squirrel]: use WChar for the lexerrubidium
2014-09-06(svn r26783) -Fix (r26781): removed one include too manyrubidium
2014-09-06(svn r26781) -Codechange [Squirrel]: remove includes/definitions that are ↵rubidium
already in stdafx.h
2014-09-06(svn r26780) -Cleanup: remove unused SQUIRREL_API macrorubidium
2014-09-06(svn r26779) -Cleanup [Squirrel]: remove extern "C" statements; we won't be ↵rubidium
exporting things to C from our squirrel
2014-09-06(svn r26778) -Codechange: remove pointless rsl macrorubidium
2014-09-06(svn r26777) -Codechange: use safe string functions in squirrel code as ↵rubidium
well, and prevent using the ones that are deemed unsafe
2014-09-06(svn r26775) -Cleanup [Squirrel]: "resolve" several of the unicode wrapper ↵rubidium
defines
2014-09-06(svn r26774) -Cleanup [Squirrel]: remove _SC macrorubidium
2014-09-06(svn r26772) -Cleanup [Squirrel]: remove traces to SQUNICODE definerubidium
2014-09-06(svn r26770) -Fix [Squirrel]: in case SQChar is a char (previously ↵rubidium
everything non-Windows or non-Unicode, now everything), the lexer throws away the higher bytes of characters
2014-09-06(svn r26769) -Codechange [Squirrel]: remove the difference between some ↵rubidium
platforms having wchar for SQChar and others just char; always use char (and UTF-8) like in the rest of (internal) OpenTTD
2014-08-31(svn r26764) -Fix: Buffer overrun in SQCompiler::Error. (kalenz)frosch
2014-05-24(svn r26609) -Fix: compile warnings on MSVC for 32 bits builds due to ↵rubidium
assigning values to variables with smaller integer size
2014-05-11(svn r26584) -Codechange: [Squirrel] Make the internal integer for scripts ↵rubidium
always 64 bits, so scripts behave the same on 32 or 64 bits architectures
2013-07-11(svn r25585) -Fix [FS#5320]: [Squirrel] Stack overflow did not show an ↵rubidium
error, due to the stack to throw the error already being full
2013-07-04(svn r25558) -Fix [FS#5568]: [Squirrel] Infinite recursion loop in freeing ↵rubidium
data via a looping set of references
2013-02-05(svn r24970) -Fix [FS#5346]: crash when infinite loop occured during loading ↵rubidium
a script
2013-01-20(svn r24928) -Fix [FS#5408]: [Squirrel] Update line information before ↵frosch
processing 'while' token of 'do'-'while' statement.
2012-04-18(svn r24153) -Fix [FS#5160]: [Squirrel] Crash when trying to create an array ↵rubidium
with negative size
2012-02-17(svn r23962) -Fix [FS#5068]: [Script] Infinite recursion within a script ↵rubidium
wasn't caught properly, so they could cause crashes of OpenTTD instead of the AI
2012-01-29(svn r23870) -Fix [FS#5004]: scripts with a bad comparator could lock up OpenTTDrubidium
2012-01-15(svn r23801) -Fix: reading the utf-8 BOM from AI/GS files on big-endian ↵yexo
machines failed
2011-12-20(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the ↵truebrain
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-12-11(svn r23496) -Fix: [Squirrel] Provide a proper error message when the _cmp ↵yexo
meta-function doesn't return an integer