Rubidium
|
281a65b3e1
|
Cleanup: simplify some boolean expressions
|
3 years ago |
Rubidium
|
a9774f3e34
|
Cleanup: [Squirrel] Use nullptr instead of 0 or NULL
|
3 years ago |
Patric Stout
|
28e90769f7
|
Codechange: use "[[maybe_unused]]" instead of a wide variety of other ways we had
While at it, replace OTTD_ASSERT with WITH_ASSERT, as this
is always set if assert() is valid. No matter if NDEBUG is set
or not.
|
3 years ago |
Charles Pigott
|
dd798d688b
|
Fix #8919: Release builds with asserts enabled (#8925)
|
3 years ago |
Charles Pigott
|
591ea9862d
|
Codechange: Suppress warnings when asserts are disabled (#8916)
|
3 years ago |
Charles Pigott
|
64b1c70fdd
|
Codechange: Add WARN_FORMAT to vseprintf and fix the cascade of warnings that followed
|
4 years ago |
Charles Pigott
|
5f86e1a390
|
Codechange: Silence -Wclass-memaccess warnings with GCC8
|
6 years ago |
frosch
|
062c736437
|
(svn r27896) -Fix: some warnings
|
7 years ago |
frosch
|
b4b98e5165
|
(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
|
7 years ago |
rubidium
|
771dcf3b7b
|
(svn r27003) -Cleanup: fix the use of spaces and asterices "around" some comments
|
10 years ago |
rubidium
|
3c85109c49
|
(svn r26842) -Codechange [Squirrel]: other simple cases of non-initialised instance variables
|
10 years ago |
rubidium
|
22fc96ad6b
|
(svn r26839) -Fix [Squirrel]: some dead code and making switch fall throughs more explicit
|
10 years ago |
rubidium
|
9b0c01e9bf
|
(svn r26781) -Codechange [Squirrel]: remove includes/definitions that are already in stdafx.h
|
10 years ago |
rubidium
|
9543f4ed1e
|
(svn r26778) -Codechange: remove pointless rsl macro
|
10 years ago |
rubidium
|
eb52e65bec
|
(svn r26777) -Codechange: use safe string functions in squirrel code as well, and prevent using the ones that are deemed unsafe
|
10 years ago |
rubidium
|
e63ca12ab8
|
(svn r26775) -Cleanup [Squirrel]: "resolve" several of the unicode wrapper defines
|
10 years ago |
rubidium
|
33ab505567
|
(svn r26774) -Cleanup [Squirrel]: remove _SC macro
|
10 years ago |
rubidium
|
8e87ae9120
|
(svn r26609) -Fix: compile warnings on MSVC for 32 bits builds due to assigning values to variables with smaller integer size
|
10 years ago |
rubidium
|
39e90ec6e0
|
(svn r26584) -Codechange: [Squirrel] Make the internal integer for scripts always 64 bits, so scripts behave the same on 32 or 64 bits architectures
|
10 years ago |
rubidium
|
2d459b2fc0
|
(svn r25585) -Fix [FS#5320]: [Squirrel] Stack overflow did not show an error, due to the stack to throw the error already being full
|
11 years ago |
rubidium
|
124f0fc7a3
|
(svn r24970) -Fix [FS#5346]: crash when infinite loop occured during loading a script
|
11 years ago |
yexo
|
8f36e70e35
|
(svn r23496) -Fix: [Squirrel] Provide a proper error message when the _cmp meta-function doesn't return an integer
|
13 years ago |
truebrain
|
0c2bbdde5c
|
(svn r23383) -Update: bring Squirrel to 2.2.5; besides some nice bug fixes, it mostly solves the sort() issues
|
13 years ago |
rubidium
|
4f87d2e88c
|
(svn r23194) -Codechange: don't cast away const needlessly
|
13 years ago |
rubidium
|
92da292fbc
|
(svn r20162) -Fix [FS#3954]: integer comparison failed in case the difference was more than "MAX_UINT"/2
|
14 years ago |
frosch
|
c07c7a3818
|
(svn r18832) -Fix: some indentation whitespace.
|
15 years ago |
rubidium
|
9574371e53
|
(svn r18639) -Update: Squirrel from 2.2.3 to 2.2.4
-Revert (r17273): this fix is included in Squirrel 2.2.4
|
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 |
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
|
4ac4c28a3b
|
(svn r17284) -Fix [Squirrel]: stack was not always cleared properly with tail recursion
|
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 |
yexo
|
03d711add3
|
(svn r17195) -Update: squirrel to 2.2.3 stable
|
15 years ago |
yexo
|
9db1f5925c
|
(svn r16532) -Fix [Squirrel]: Don't copy an object when we just checked that the pointer to it is NULL
|
15 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.
|
15 years ago |
rubidium
|
168ae6f7e2
|
(svn r16422) -Codechange: use const_cast for removing const and warn when const is (accidentally?) removed using C-style casts.
|
15 years ago |
rubidium
|
bb121a1510
|
(svn r16241) -Fix (r16181): regression failing due to wrongly initialised amount of traps
|
15 years ago |
yexo
|
e41886e78f
|
(svn r16181) -Fix [Squirrel]: the traps variable wasn't restored, causing try/catch blocks to be 'forgotten' during a suspend.
|
15 years ago |
rubidium
|
1ad50ce4e6
|
(svn r15578) -Change: unexternalise squirrel.
|
15 years ago |