Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-04-01 | Fix: building on Raspberry Pi failed because of const vs constexpr (#8924) | Patric Stout | |
2020-12-27 | Codechange: Replace assert_compile macro with static_assert | Charles Pigott | |
2020-01-07 | Codechange: Remove std::function from Pool iteration wrapper | Jonathan G Rennison | |
Add a separate template wrapper for filtered iteration | |||
2019-12-21 | Fix: unused variable warnings | glx | |
2019-12-21 | Cleanup: remove FOR_ALL_ITEMS | glx | |
2019-12-21 | Add: Allow iteration of pools in range-based for loops | glx | |
2019-11-10 | Cleanup: Removed SVN headers | S. D. Cloudt | |
2019-09-29 | Fix: Some typos found using codespell | JMcKiern | |
2019-04-10 | Codechange: Use null pointer literal instead of the NULL macro | Henry Wilson | |
2019-03-26 | Codechange: Removed SmallVector completely | Henry Wilson | |
2019-03-26 | Codechange: Replaced SmallVector::Append() with ↵ | Henry Wilson | |
std::vector::[push|emplace]_back() | |||
2014-02-11 | (svn r26333) -Fix: Compilation without static_assert. | frosch | |
2014-02-10 | (svn r26331) -Fix: some inconsistencies regarding link graph (job) IDs. | fonsinchen | |
2013-10-20 | (svn r25887) -Fix: Ignore NULL pointers in delete operator of PoolItem. | fonsinchen | |
2013-08-09 | (svn r25705) -Fix: a number of typos (inspired by ↵ | rubidium | |
90c920601c84975acb694f3673e2beb08b013753) | |||
2013-06-15 | (svn r25402) -Fix-ish: Prevent copying of BasePool and WindowDesc, since ↵ | frosch | |
they register in static vectors. | |||
2013-01-08 | (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵ | planetmaker | |
Eagle_rainbow) | |||
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-02-24 | (svn r22136) -Fix (r22112): Silence compiler warning about non-virtual ↵ | planetmaker | |
destructor | |||
2011-02-19 | (svn r22116) -Codechange: use PoolBase::Clean() at more places | smatz | |
2011-02-19 | (svn r22115) -Fix (r22114): some comments and code ordering were wrong | smatz | |
2011-02-19 | (svn r22112) -Codechange: register all pools in a pool vector | smatz | |
2011-02-09 | (svn r22041) -Codechange: add a check that we called ↵ | smatz | |
PoolItem::CanAllocateItem() before actually allocating it | |||
2011-01-22 | (svn r21886) -Codechange: move documentation towards the code to make it ↵ | rubidium | |
more likely to be updated [n]. | |||
2009-11-11 | (svn r18045) -Fix: GCC 4.5@HEAD not compiling OpenTTD anymore because of a ↵ | rubidium | |
"non-placement deallocation function [is] selected for placement delete", or in other words delete(void *, size_t) is 'magic'. We implemented these delete(void *, size_t) operator functions because MSVC warned that "no matching operator delete found; memory will not be freed if initialization throws an exception" for new(size_t, size_t). This disables MSVC warning about this because we do not use exceptions in the (constructors that use the) overridden allocation functions, as such they will never be called; delete(void *) remains necessary though. | |||
2009-10-21 | (svn r17839) -Codechange: implement the concept of 'caching' pool items to ↵ | rubidium | |
pools, that is instead of 'free' push the unused items in a linked list and use them on 'malloc'. Also add the concept of zeroing, or actually not zeroing, on new for pool items. | |||
2009-10-21 | (svn r17838) -Document: the Pool struct's template parameters | rubidium | |
2009-08-21 | (svn r17248) -Fix: add GPL license notice where appropriate | rubidium | |
2009-07-05 | (svn r16745) -Fix [FS#3011]: invalidate JoinStation window after removing ↵ | smatz | |
item from the pool | |||
2009-05-22 | (svn r16380) -Codechange: rename pool.hpp to pool_type.hpp | smatz | |