summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
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.
2009-10-21(svn r17838) -Document: the Pool struct's template parametersrubidium
2009-10-17(svn r17790) -Feature: translatable base sound/graphics set descriptionsrubidium
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-19(svn r17579) -Fix: remove doxygen docs for removed parameters, or change ↵rubidium
@param to @tparam if necessary
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-09-14(svn r17541) -Feature: Filtering in Add-NewGRF dialog.frosch
2009-09-13(svn r17530) -Codechange: use QSortT instead of qsort for sorting EngineIDsrubidium
2009-09-13(svn r17527) -Codechange: use QSortT instead of qsort for sorting smallmapsrubidium
2009-08-27(svn r17292) -Codechange: use unified ToPercent() function to convert fract ↵smatz
numbers to percents
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-05(svn r16745) -Fix [FS#3011]: invalidate JoinStation window after removing ↵smatz
item from the pool
2009-07-04(svn r16736) -Codechange: give some station enums a name and use that ↵rubidium
instead of 'byte'.
2009-07-01(svn r16715) -Codechange: add attribute to assert_compile(), so it doesn't ↵smatz
warn when used inside function
2009-06-28(svn r16684) -Codechange: Add maxdim function for Dimension struct.alberth
2009-06-27(svn r16677) -Codechange: Dimension width and height are unsigned.alberth
2009-06-01(svn r16498) -Codechange: Remove hardly used HASBITS.frosch
2009-05-22(svn r16380) -Codechange: rename pool.hpp to pool_type.hppsmatz
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-19(svn r16356) -Codechange: use 'size_t' instead of 'uint' as parameter of ↵smatz
functions in mem_func.hpp
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-14(svn r16305) -Codechange: force-enable extra sync checking when random ↵rubidium
debugging is enable and give the calling location of Chance16(R) instead of the Random call within those functions.
2009-05-13(svn r16295) -Fix: ICC defined __GNUC__ but does not define ↵rubidium
__builtin_bswap32, so fall back to the default swap method for ICC.
2009-05-10(svn r16269) -Codechange: use gcc's ability to check parameters sent to ↵smatz
printf-like functions -Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
2009-04-25(svn r16148) -Fix [FS#2839]: misleading comment (part by Bilbo)smatz
2009-04-23(svn r16130) -Fix [FS#2855]: the overflowsafe type didn't like dividing by ↵rubidium
int64 larger than MAX_INT32 causing division by negative numbers and small anomolies when drawing graphs.
2009-04-09(svn r16006) -Fix (r0): Chance16() did not work for b = 1. Also transform ↵frosch
the formula to not use divisions.
2009-04-03(svn r15931) -Codechange: let the host and ban lists use of SmallVector.rubidium
2009-03-21(svn r15777) -Add: helper functions to get the least common multiple and the ↵rubidium
greatest common divisor (Alberth)
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
2009-03-09(svn r15649) -Fix (r15556): don't unnecessarily reallocaterubidium
2009-03-03(svn r15603) -Fix [FS#2696]: crash when using an extraordinarily large ↵rubidium
sprite as cursor.
2009-02-24(svn r15571) -Fix: incorrect use of memsetsmatz
2009-02-23(svn r15556) -Change: don't temporary malloc+free when encoding sprites, ↵rubidium
just reuse the same piece of allocated memory for each encoding.
2009-02-17(svn r15508) -Fix: three header files had incorrect ↵smatz
'anti-multiple-inclusion' header
2009-02-11(svn r15447) -Codechange: void functions don't tend to return true if and ↵peter1138
only if anyway