summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2011-12-09(svn r23466) -Fix [FS#4871, FS#4874]: assertion triggered when resizing a ↵rubidium
window during ReInit by an amount that's not a multiple of the resize interval
2011-12-03(svn r23415) -Feature: Infrastructure maintenance costs.michi_cc
2011-09-06(svn r22898) -Codechange: use MSVC compiler intrinsics for byte swappingglx
2011-09-03(svn r22881) -Fix (r22875): GCC warnings on 64bit systems.frosch
2011-09-02(svn r22875) -Codechange: Add some asserts and checks to better prevent ↵michi_cc
overflow of the argument to malloc. (monoid)
2011-05-02(svn r22411) -Document: another bunch of bitsrubidium
2011-03-03(svn r22177) -Fix: make sure the right endianness is chosen with ↵rubidium
cross-compiling, and strndup is available in the binary for more exotic platforms
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 placessmatz
2011-02-19(svn r22115) -Fix (r22114): some comments and code ordering were wrongsmatz
2011-02-19(svn r22112) -Codechange: register all pools in a pool vectorsmatz
2011-02-09(svn r22041) -Codechange: add a check that we called ↵smatz
PoolItem::CanAllocateItem() before actually allocating it
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-22(svn r21886) -Codechange: move documentation towards the code to make it ↵rubidium
more likely to be updated [n].
2010-12-26(svn r21645) -Doc: Document SmallPair and SmallMap template parameters.alberth
2010-11-27(svn r21336) -Fix (r21030) [FS#4274]: compile failure when desync debugging ↵rubidium
is enabled (fonsinchen)
2010-10-16(svn r20951) -Codechange: Add SmallMap::Contains() and use it.frosch
2010-09-22(svn r20838) -Fix [FS#4136]: Cast '1' in bitmath functions to width of ↵alberth
result before shifting.
2010-09-03(svn r20731) -Fix (r20739): SmallVector did not have an assignment operator, ↵yexo
causing invalid memory reads / double free
2010-09-03(svn r20729) -Fix [FS#4107]: assert when overbuilding objectyexo
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-31(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.alberth
2010-06-13(svn r19970) -Fix (r14742): SmallMap::Insert() did not compile. Construct ↵frosch
new items like operator[].
2010-06-05(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into ↵frosch
DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
2010-05-31(svn r19914) -Codechange: Wrap a helper class around temporary assignments ↵frosch
of _current_company to ensure proper restoration.
2010-05-30(svn r19909) -Doc: Typo fixes, small doxygen improvements.alberth
2010-05-11(svn r19789) -Add [FS#3519]: a typed FOR_EACH_SET_BIT (adf88)rubidium
2010-05-11(svn r19788) -Codechange: make FOR_EACH_SET_BIT not change the value of the ↵rubidium
passed bit variable, i.e. allow expressions as parameter
2010-04-18(svn r19671) -Fix (r19670): RoundDiv() needs to deal with signed numerators.frosch
2010-04-18(svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer ↵frosch
divisions with rounding.
2010-04-17(svn r19652) -Fix: RandomRange() is used for bigger ranges in many cases, so ↵frosch
generally extent it to handle 32 bits.
2010-04-16(svn r19643) -Fix (r19120): Industry generation failed for large maps and ↵frosch
lots of industry types.
2010-04-12(svn r19614) -Codechange: "it's" => "its" where appropriatesmatz
2010-04-11(svn r19605) -Codechange: Merge ExtractBits into EnumPropsT.frosch
2010-02-14(svn r19133) -Fix [FS#3621]: [Mac OS X] --enable-desync-debug failed ↵rubidium
compiling (planetmaker)
2010-02-13(svn r19125) -Fix (r18809): Compiling with desync-debug failed.frosch
2010-02-05(svn r19019) -Codechange: use HasExactlyOneBit() and HasAtMostOneBit() ↵smatz
instead of CountBits() where possible
2010-02-03(svn r18996) -Fix (r18993, r18994): MSVC 64 bits had somethings to complain ↵rubidium
about
2010-02-03(svn r18993) -Codechange: allow allocating multiple items in a SmallVector ↵rubidium
with one call.
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-12-26(svn r18640) -Fix (r18633): don't assert when accessing first invalid item, ↵smatz
it's used quite often in the code -Revert (r18637): it's not needed any more
2009-12-25(svn r18633) -Codechange: fortify SmallVector a bit moresmatz
2009-12-15(svn r18508) -Fix [FS#3372]: if a rail station class had less data than ↵rubidium
capacity it would try to set a negative position
2009-12-09(svn r18443) -Fix (r18438): MSVC thinks, in it's infinite wisdom, that int ↵rubidium
min(int, int) is a better match for min(uint64, uint) than uint64 min(uint64, uint64). As such we need to cast the UINT16_MAX to prevent MSVC from displaying it's infinite wisdom with loads of warnings.
2009-12-09(svn r18438) -Codechange [FS#3337]: introduce a template for Clamp ↵rubidium
(fonsinchen) and reuse template functions in their non-template counterparts.
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-11-11(svn r18042) -Cleanup: remove some stale commentsrubidium
2009-11-11(svn r18040) -Codechange: the size parameter (if it's that actually) isn't ↵rubidium
needed for the delete operator
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.