Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-02 | Fix #9588, 140a96b: [Squirrel] Reaching memory limit during script ↵ | Loïc Guilloux | |
registration could prevent further script detections (#9589) Also the memory allocation triggering the limit was never freed. And if the exception was thrown in a constructor using placement new, the pre-allocated memory was not freed either. | |||
2021-06-17 | Cleanup: simplify some boolean expressions | Rubidium | |
2021-06-17 | Cleanup: [Squirrel] Use nullptr instead of 0 or NULL | Rubidium | |
2021-06-13 | Fix a99ac62: fmt's include of cassert breaks our assert logic | rubidium42 | |
2021-06-13 | Add: minimal set of headers from {fmt} 7.1.3 to 3rdparty | rubidium42 | |
2021-06-10 | Fix: [MinGW] Unused squirrel code triggering a warning | glx22 | |
2021-06-03 | Codechange: use "[[maybe_unused]]" instead of a wide variety of other ways ↵ | Patric Stout | |
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. | |||
2021-05-16 | Fix #9267, 47a99bb: [Squirrel] Heap use after free | Rubidium | |
Due to 47a99bb the order of elements in the garbage collection chain has changed causing the class to be finalised before the instances of that class. Since the instance's array of member values depends on the size of the values in the class, the class finalisation resetting that size to 0 causes not all finalisations to run, which subsequently causes a heap use after free. So, just set the SQObjectPtrs to 'null' during the finalisation of the SQClass so the SQInstance can release all instance variables during its finalisation. | |||
2021-04-17 | Fix #7513: recursive array/class/table release caused stack overflow | Rubidium | |
2021-04-17 | Fix #7513: recursive garbage collection caused stack overflow | Rubidium | |
2021-04-01 | Fix #8919: Release builds with asserts enabled (#8925) | Charles Pigott | |
2021-04-01 | Codechange: Suppress warnings when asserts are disabled (#8916) | Charles Pigott | |
2021-02-22 | Codechange: [Win32] Try to get an OpenGL 3.2+ context if possible. | Michael Lutz | |
2021-02-22 | Add: [Win32] Video driver that uses OpenGL to transfer the video buffer to ↵ | Michael Lutz | |
the screen. | |||
2021-01-08 | Codechange: Remove min/max functions in favour of STL variants (#8502) | Charles Pigott | |
2020-12-14 | Cleanup: use std::optional instead of custom implementation. | frosch | |
2020-06-27 | Codechange: Add WARN_FORMAT to vseprintf and fix the cascade of warnings ↵ | Charles Pigott | |
that followed | |||
2020-06-18 | Fix: Silence some warnings when building with clang-cl on VS 2019 | Niels Martin Hansen | |
Clang-cl presents as both _MSC_VER and __clang__ in the preprocessor which makes some things confusing. | |||
2020-06-05 | Add: introduce CMake for project management | Patric Stout | |
CMake works on all our supported platforms, like MSVC, Mingw, GCC, Clang, and many more. It allows for a single way of doing things, so no longer we need shell scripts and vbs scripts to work on all our supported platforms. Additionally, CMake allows to generate project files for like MSVC, KDevelop, etc. This heavily reduces the lines of code we need to support multiple platforms from a project perspective. Addtiionally, this heavily improves our detection of libraries, etc. | |||
2020-05-21 | Add: Optional implementation of std::optional for pre-C++17 compilers. | Michael Lutz | |
Sourced from https://github.com/akrzemi1/Optional, Boost Software License, Version 1.0. | |||
2020-02-01 | Fix #7966: SQInteger is 64-bit, print it as 64-bit | glx | |
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-09-30 | Codechange: Explicitly move a few variables to avoid a copy constructor ↵ | Charles Pigott | |
(fixes warning from clang) | |||
2019-09-30 | Fix: GCC9's warnings about deprecated implicit assignment operators | Charles Pigott | |
2019-05-11 | Change: Limit memory allocations for each Squirrel instance | Niels 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-27 | Codechange: Silence -Wclass-memaccess warnings with GCC8 | Charles Pigott | |
2018-06-15 | Codechange: Address some MSVC compiler warnings | Niels Martin Hansen | |
2017-08-20 | (svn r27896) -Fix: some warnings | frosch | |
2017-08-13 | (svn r27893) -Codechange: Use fallthrough attribute. (LordAro) | frosch | |
2016-06-27 | (svn r27605) -Fix: GCC 6 warning about misleading indentation | rubidium | |
2016-05-11 | (svn r27561) -Fix [Squirrel]: Fix typos in error messages | matthijs | |
2015-05-20 | (svn r27289) -Fix: some uninitialised instance variables | rubidium | |
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-12-24 | (svn r27092) -Fix/Add [FS#6186]: Compilation on OS/2 (smedles) | frosch | |
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 constructors | rubidium | |
2014-09-17 | (svn r26844) -Fix: clang compile error | rubidium | |
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 SQSharedState | rubidium | |
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 again | rubidium | |
2014-09-16 | (svn r26837) -Fix [Squirrel]: remove some pointless assignments | rubidium | |
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 lexer | rubidium | |
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 code | rubidium | |
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 switch | rubidium | |