rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
79f6fde5bf
(svn r17515) -Fix [FS#3189]: [Squirrel] In some cases the call stack would not be cleaned up properly during crash handling. Occasionally this causes asserts to be triggered or crashes.
15 years ago
rubidium
afc7f576f7
(svn r17515) -Fix [FS#3189]: [Squirrel] In some cases the call stack would not be cleaned up properly during crash handling. Occasionally this causes asserts to be triggered or crashes.
15 years ago
yexo
f38bb4cdb5
(svn r17499) -Fix (r17498): remove 2 unused functions so some compilers stop warning about them
15 years ago
yexo
c9a25c88fa
(svn r17499) -Fix (r17498): remove 2 unused functions so some compilers stop warning about them
15 years ago
yexo
f922a7ca8e
(svn r17498) -Add [NoAI]: Enable the squirrel std math library
15 years ago
yexo
ca6c4ee98a
(svn r17498) -Add [NoAI]: Enable the squirrel std math library
15 years ago
rubidium
791a308730
(svn r17403) -Fix [Squirrel]: guard against squirrel stack overflows; if assert is enabled assert (catch possible overflow bugs in nightlies/RCs), otherwise just increase the stack's size (don't get into invalid reads/writes in releases)
15 years ago
rubidium
5607a610d7
(svn r17403) -Fix [Squirrel]: guard against squirrel stack overflows; if assert is enabled assert (catch possible overflow bugs in nightlies/RCs), otherwise just increase the stack's size (don't get into invalid reads/writes in releases)
15 years ago
rubidium
aa67dd87c6
(svn r17284) -Fix [Squirrel]: stack was not always cleared properly with tail recursion
15 years ago
rubidium
4ac4c28a3b
(svn r17284) -Fix [Squirrel]: stack was not always cleared properly with tail recursion
15 years ago
yexo
650f36c08c
(svn r17283) -Cleanup [Squirrel]: remove a few unneeded changes to squirrel code
15 years ago
yexo
b9536e933f
(svn r17283) -Cleanup [Squirrel]: remove a few unneeded changes to squirrel code
15 years ago
yexo
fe4f55d0a4
(svn r17282) -Fix (r17195): the squirrel documentation files were not updated
15 years ago
yexo
c46c0a7c86
(svn r17282) -Fix (r17195): the squirrel documentation files were not updated
15 years ago
yexo
f66041e3c8
(svn r17273) -Fix [Squirrel]: calling a function that has default parameters with not enough parameters can cause a crash
15 years ago
yexo
f9c18ccc48
(svn r17273) -Fix [Squirrel]: calling a function that has default parameters with not enough parameters can cause a crash
15 years ago
rubidium
be9033295e
(svn r17247) -Change: move '3rd party' MD5 implementation also to the 3rdparty directory.
15 years ago
rubidium
60a3bc9034
(svn r17247) -Change: move '3rd party' MD5 implementation also to the 3rdparty directory.
15 years ago
rubidium
5efd5f1f68
(svn r17243) -Fix (r17216): undo 'damage' by svn:keywords
15 years ago
rubidium
d680be454e
(svn r17243) -Fix (r17216): undo 'damage' by svn:keywords
15 years ago
yexo
6b0520b3b4
(svn r17230) -Fix (r15027): don't assert when an AI uses AI*Mode objects incorrectly but crash the AI instead
15 years ago
yexo
14b5862c22
(svn r17230) -Fix (r15027): don't assert when an AI uses AI*Mode objects incorrectly but crash the AI instead
15 years ago
yexo
c22f60c812
(svn r17223) -Change [NoAI] [FS#2980]: Crash an AI when it uses a DoCommand / Sleep instead of just printing an error message in the AI Debug Window
15 years ago
yexo
a4afa140f3
(svn r17223) -Change [NoAI] [FS#2980]: Crash an AI when it uses a DoCommand / Sleep instead of just printing an error message in the AI Debug Window
15 years ago
glx
ae691ae28b
(svn r17218) -Fix (r17216): missing '(' causing compile error
15 years ago
glx
0fa0286ebb
(svn r17218) -Fix (r17216): missing '(' causing compile error
15 years ago
rubidium
2568643418
(svn r17217) -Fix (r17216): silence some warnings for the more exotic GCC-alikes
15 years ago
rubidium
40d1f1fedf
(svn r17217) -Fix (r17216): silence some warnings for the more exotic GCC-alikes
15 years ago
rubidium
5e40d05c51
(svn r17216) -Update: MiniLZO from 1.08 to 2.03.
15 years ago
rubidium
d4adee0b1d
(svn r17216) -Update: MiniLZO from 1.08 to 2.03.
15 years ago
rubidium
48e1a54c58
(svn r17212) -Change: move minilzo to its 'own' 3rdparty directory as it belongs there
15 years ago
rubidium
82105604c3
(svn r17212) -Change: move minilzo to its 'own' 3rdparty directory as it belongs there
15 years ago
yexo
2b2093a469
(svn r17195) -Update: squirrel to 2.2.3 stable
15 years ago
yexo
03d711add3
(svn r17195) -Update: squirrel to 2.2.3 stable
15 years ago
yexo
76b077ce25
(svn r16534) -Fix [Squirrel] [FS#2942]: fix crash that occured when an AI was halted while one or more generators were still in a 'running' state
16 years ago
yexo
1df029de1d
(svn r16534) -Fix [Squirrel] [FS#2942]: fix crash that occured when an AI was halted while one or more generators were still in a 'running' state
16 years ago
yexo
1c754c75d6
(svn r16532) -Fix [Squirrel]: Don't copy an object when we just checked that the pointer to it is NULL
16 years ago
yexo
9db1f5925c
(svn r16532) -Fix [Squirrel]: Don't copy an object when we just checked that the pointer to it is NULL
16 years ago
yexo
1df82e9702
(svn r16509) -Fix (r16502): All Sleep/DoCommand calls failed instead of only those via a call/acall/pcall function
16 years ago
yexo
13c69b897e
(svn r16509) -Fix (r16502): All Sleep/DoCommand calls failed instead of only those via a call/acall/pcall function
16 years ago
yexo
62a698df32
(svn r16502) -Fix [FS#2935]: when an AI was suspended while in a function called (indirectly) via call/acall/pcall OpenTTD crashed. Fix this by disallowing AIs to be suspended while called via call/acall/pcall.
...
IMPORTANT FOR AI WRITERS: AIs can no longer call any DoCommand functions (change anything, build vehicles, etc.) in a function called (indirectly) via call/acall/pcall. Where possible, please rewrite your code so it doesn't use call/acall/pcall
16 years ago
yexo
4ea3e511bd
(svn r16502) -Fix [FS#2935]: when an AI was suspended while in a function called (indirectly) via call/acall/pcall OpenTTD crashed. Fix this by disallowing AIs to be suspended while called via call/acall/pcall.
...
IMPORTANT FOR AI WRITERS: AIs can no longer call any DoCommand functions (change anything, build vehicles, etc.) in a function called (indirectly) via call/acall/pcall. Where possible, please rewrite your code so it doesn't use call/acall/pcall
16 years ago
yexo
5357fa2467
(svn r16454) -Fix (r16181, r16241): fix the try/catch bug fixed in r16181 and reintroduced in r16241 again, this time without breaking the regression test.
16 years ago
yexo
9bd64cf588
(svn r16454) -Fix (r16181, r16241): fix the try/catch bug fixed in r16181 and reintroduced in r16241 again, this time without breaking the regression test.
16 years ago
rubidium
d39f442bd0
(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
16 years ago
rubidium
e3c5bc8d2e
(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
16 years ago
rubidium
2832d69272
(svn r16422) -Codechange: use const_cast for removing const and warn when const is (accidentally?) removed using C-style casts.
16 years ago
rubidium
168ae6f7e2
(svn r16422) -Codechange: use const_cast for removing const and warn when const is (accidentally?) removed using C-style casts.
16 years ago
rubidium
7ffb421add
(svn r16241) -Fix (r16181): regression failing due to wrongly initialised amount of traps
16 years ago
rubidium
bb121a1510
(svn r16241) -Fix (r16181): regression failing due to wrongly initialised amount of traps
16 years ago
yexo
931e719ec7
(svn r16181) -Fix [Squirrel]: the traps variable wasn't restored, causing try/catch blocks to be 'forgotten' during a suspend.
16 years ago
yexo
e41886e78f
(svn r16181) -Fix [Squirrel]: the traps variable wasn't restored, causing try/catch blocks to be 'forgotten' during a suspend.
16 years ago
yexo
03bb87c6b8
(svn r15659) -Fix [Squirrel]: The garbage collection would sometimes loop (2^32 - small_value) times instead of only small_value times.
16 years ago
yexo
01167ea456
(svn r15659) -Fix [Squirrel]: The garbage collection would sometimes loop (2^32 - small_value) times instead of only small_value times.
16 years ago
rubidium
a9dd6dc2f5
(svn r15578) -Change: unexternalise squirrel.
16 years ago
rubidium
1ad50ce4e6
(svn r15578) -Change: unexternalise squirrel.
16 years ago