Commit Graph

109 Commits

Author SHA1 Message Date
michi_cc f227e90c24 (svn r22875) -Codechange: Add some asserts and checks to better prevent overflow of the argument to malloc. (monoid) 2011-09-02 20:54:51 +00:00
rubidium fb5ecb9499 (svn r22411) -Document: another bunch of bits 2011-05-02 17:42:12 +00:00
smatz 9eafc6c28f (svn r22351) -Revert (r17101): and reinstall r16546. Hash tables are much smaller now, so it shouldn't cause crash anymore 2011-04-19 18:20:34 +00:00
alberth 31386c42a7 (svn r22145) -Codechange: Do explicit test for non-bool values. 2011-02-25 22:04:38 +00:00
alberth 1dbc0a20be (svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)' 2011-02-25 21:53:43 +00:00
alberth 41a67a9b94 (svn r22101) -Codechange (r22098): Unify a bit of code. 2011-02-18 20:51:05 +00:00
alberth 8c2fc45153 (svn r22098) -Codechange: Have an array of option data, use it in the option parsing routine. Adapt openttd option processing too. 2011-02-18 20:28:25 +00:00
alberth b0b1c0dea9 (svn r22097) -Fix (r22096): Add files before commit. 2011-02-18 20:23:11 +00:00
rubidium 7eba2bf4d3 (svn r21890) -Cleanup: remove some unneeded includes 2011-01-22 14:52:20 +00:00
alberth 67cd2cd6be (svn r21594) -Codechange: Whitespace fixes in ifndef/define lines. 2010-12-22 11:24:38 +00:00
alberth 7e48d85104 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 2010-10-30 17:51:07 +00:00
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
rubidium da4dc61f76 (svn r20603) -Codechange: silence some ICC warnings 2010-08-23 22:03:36 +00:00
yexo 241d705406 (svn r20474) -Cleanup: remove some unused code 2010-08-12 21:36:43 +00:00
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +00:00
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
alberth a825b4fa5f (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 2010-07-31 21:02:56 +00:00
alberth be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
smatz 0ef33548c2 (svn r19614) -Codechange: "it's" => "its" where appropriate 2010-04-12 14:12:47 +00:00
glx 7bd95ed04e (svn r19517) -Fix (r19516): compile before commit (a gcc warning was hidden) 2010-03-24 21:30:12 +00:00
glx a89fcf53b6 (svn r19516) -Fix (r19467): MSVC 64bit warnings 2010-03-24 21:24:31 +00:00
smatz 23041d9720 (svn r19509) -Codechange: remove superfluous semicolons after function definitions 2010-03-23 22:37:18 +00:00
yexo f439b5767a (svn r19477) -Fix (r1946x): removed a few too functions including the copy constructor 2010-03-19 22:46:22 +00:00
yexo ea58a697c1 (svn r19474) -Cleanup: remove ByteBlob::Append(T*, num_items) 2010-03-19 20:44:23 +00:00
yexo aaa8fc7a4c (svn r19473) -Codechange: remove unused variables in the Blob::SmartAlloc code (skidd13) 2010-03-19 20:28:28 +00:00
yexo 787ccc692c (svn r19472) -Codechange: reorder the static members of ByteBlob and add Zero() (skidd13) 2010-03-19 20:13:15 +00:00
yexo e70bfdf789 (svn r19471) -Codechange: rename ByteBlob methods to fit common style (skidd13) 2010-03-19 20:08:40 +00:00
yexo 6f1a0f890b (svn r19470) -Codechange: rename blob internals (skidd13) 2010-03-19 20:06:33 +00:00
yexo 767259853b (svn r19469) -Codechange: remove unused functions from Blob (skidd13) 2010-03-19 20:05:49 +00:00
yexo 0d29c5aff2 (svn r19468) -Codechange: make ptr_u union in Blob anonymous (skidd13) 2010-03-19 20:04:24 +00:00
yexo 1834e0edb5 (svn r19467) -Codechange: Use uint and byte direct instead of declaring internal types (skidd13)
-Codechange: remove now unneeded asserts
-Codechange: Set CBlobBaseSimple as absolute base class of CBlobT
2010-03-19 20:03:25 +00:00
yexo 1a89a5fc92 (svn r19247) -Codechange: Rename methods to fit better to common style (skidd13) 2010-02-25 11:52:04 +00:00
yexo 433e1d884c (svn r19246) -Doc: CBinaryHeapT (skidd13) 2010-02-25 11:51:38 +00:00
yexo 0973a9e624 (svn r19245) -Codechange: apply coding style to binary heap (skidd13) 2010-02-25 11:50:58 +00:00
yexo 87ff9ebd7b (svn r19244) -Codechange: Remove function call if consistency-check is not used (skidd13) 2010-02-25 11:50:30 +00:00
yexo 09335c74a2 (svn r19243) -Codechange: rename var's to fit better to common style (skidd13) 2010-02-25 11:49:17 +00:00
yexo dd03cd54ee (svn r19242) -Codechange: Perfer pointer instead of reference (skidd13)
-Cleanup: merge PopHead() and RemoveHead() into Shift()
2010-02-25 11:48:50 +00:00
yexo 7537fb18bc (svn r19241) -Cleanup: Move the HeapifyUp code into its own method (skidd13) 2010-02-25 11:48:09 +00:00
yexo eeb8189745 (svn r19240) -Codechange: Unify HeapifyUp code (skidd13) 2010-02-25 11:47:44 +00:00
yexo b4c51f2ccd (svn r19239) -Cleanup: Move the HeapifyDown code into its own method (skidd13) 2010-02-25 11:47:18 +00:00
yexo 7e403a761d (svn r19238) -Codechange: Unify the HeapifyDown code (skidd13) 2010-02-25 11:46:41 +00:00
yexo 48ee211c1e (svn r19237) -Codechange: use types directly and prefer uint instead of int (skidd13) 2010-02-25 11:46:20 +00:00
yexo cc413b8f6e (svn r19236) -Codechange: move method code into class definition (skidd13) 2010-02-25 11:45:47 +00:00
smatz b1151645c0 (svn r19207) -Fix (r19127): compilation was broken for gcc 3.3 2010-02-22 16:24:38 +00:00
yexo 3a36964734 (svn r19161) -Codechange: make the default size of the open list used for yapf a lot lower to reduce memory usage 2010-02-18 18:04:02 +00:00
yexo 1abc0db336 (svn r19160) -Codechange: Enlarge a CBinaryHeapT if the heap is full instead of dropping the added item
-Fix: CBinaryHeapT::CheckConsistency compared pointers instead of the actual items (skidd13)
2010-02-18 14:23:18 +00:00
frosch 30b215a82b (svn r19134) -Fix (r16983, r17219): YAPF debug output was quite broken. 2010-02-14 18:33:57 +00:00
frosch 151babee57 (svn r19127) -Codechange: Add printf-like warnings to more functions. 2010-02-14 13:01:33 +00:00
frosch 6101ad8396 (svn r18828) -Fix (r18823): Decrementing uints is different to ints. 2010-01-16 16:44:59 +00:00
frosch 6465f02fba (svn r18826) -Codechange: Unifiy return value of (SmallArray|FixedSizeArray)::(Append|AppendC) with other containers. (skidd13) 2010-01-16 14:22:19 +00:00