Commit Graph

113 Commits

Author SHA1 Message Date
rubidium
b886c8db8c (svn r26506) -Codechange: replace most of vsnprintf with vseprintf 2014-04-24 19:51:45 +00:00
rubidium
2be4215f43 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
planetmaker
f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 2013-01-08 22:46:42 +00:00
truebrain
aa1a0053b0 (svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC) 2011-12-20 17:57:56 +00:00
michi_cc
dcef62040f (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
9fc2798baf (svn r22411) -Document: another bunch of bits 2011-05-02 17:42:12 +00:00
smatz
b4967c5659 (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
9222a30173 (svn r22145) -Codechange: Do explicit test for non-bool values. 2011-02-25 22:04:38 +00:00
alberth
a14f4eb271 (svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)' 2011-02-25 21:53:43 +00:00
alberth
ccfaac0d34 (svn r22101) -Codechange (r22098): Unify a bit of code. 2011-02-18 20:51:05 +00:00
alberth
95b6644592 (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
a7a3a87c68 (svn r22097) -Fix (r22096): Add files before commit. 2011-02-18 20:23:11 +00:00
rubidium
05199a641a (svn r21890) -Cleanup: remove some unneeded includes 2011-01-22 14:52:20 +00:00
alberth
84c9201e0c (svn r21594) -Codechange: Whitespace fixes in ifndef/define lines. 2010-12-22 11:24:38 +00:00
alberth
063931d435 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 2010-10-30 17:51:07 +00:00
rubidium
360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
rubidium
c370ab2f27 (svn r20603) -Codechange: silence some ICC warnings 2010-08-23 22:03:36 +00:00
yexo
b4ec144af2 (svn r20474) -Cleanup: remove some unused code 2010-08-12 21:36:43 +00:00
frosch
c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +00:00
frosch
5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
alberth
1743c86610 (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 2010-07-31 21:02:56 +00:00
alberth
137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
smatz
258b128a56 (svn r19614) -Codechange: "it's" => "its" where appropriate 2010-04-12 14:12:47 +00:00
glx
6a35870e1d (svn r19517) -Fix (r19516): compile before commit (a gcc warning was hidden) 2010-03-24 21:30:12 +00:00
glx
ad0854c2b4 (svn r19516) -Fix (r19467): MSVC 64bit warnings 2010-03-24 21:24:31 +00:00
smatz
52050197ea (svn r19509) -Codechange: remove superfluous semicolons after function definitions 2010-03-23 22:37:18 +00:00
yexo
608d5bdd97 (svn r19477) -Fix (r1946x): removed a few too functions including the copy constructor 2010-03-19 22:46:22 +00:00
yexo
ceba15f114 (svn r19474) -Cleanup: remove ByteBlob::Append(T*, num_items) 2010-03-19 20:44:23 +00:00
yexo
762fbc70c0 (svn r19473) -Codechange: remove unused variables in the Blob::SmartAlloc code (skidd13) 2010-03-19 20:28:28 +00:00
yexo
e0187a0ea5 (svn r19472) -Codechange: reorder the static members of ByteBlob and add Zero() (skidd13) 2010-03-19 20:13:15 +00:00
yexo
40765d328e (svn r19471) -Codechange: rename ByteBlob methods to fit common style (skidd13) 2010-03-19 20:08:40 +00:00
yexo
33946d3c2c (svn r19470) -Codechange: rename blob internals (skidd13) 2010-03-19 20:06:33 +00:00
yexo
4850c91b76 (svn r19469) -Codechange: remove unused functions from Blob (skidd13) 2010-03-19 20:05:49 +00:00
yexo
7744ec0870 (svn r19468) -Codechange: make ptr_u union in Blob anonymous (skidd13) 2010-03-19 20:04:24 +00:00
yexo
75c520cd08 (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
5e48066824 (svn r19247) -Codechange: Rename methods to fit better to common style (skidd13) 2010-02-25 11:52:04 +00:00
yexo
9ab9cf06bf (svn r19246) -Doc: CBinaryHeapT (skidd13) 2010-02-25 11:51:38 +00:00
yexo
f6ea57d2c4 (svn r19245) -Codechange: apply coding style to binary heap (skidd13) 2010-02-25 11:50:58 +00:00
yexo
f8a67c21e4 (svn r19244) -Codechange: Remove function call if consistency-check is not used (skidd13) 2010-02-25 11:50:30 +00:00
yexo
55e5a38d15 (svn r19243) -Codechange: rename var's to fit better to common style (skidd13) 2010-02-25 11:49:17 +00:00
yexo
4b6c04585e (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
a44f12ade5 (svn r19241) -Cleanup: Move the HeapifyUp code into its own method (skidd13) 2010-02-25 11:48:09 +00:00
yexo
37b4da9f4b (svn r19240) -Codechange: Unify HeapifyUp code (skidd13) 2010-02-25 11:47:44 +00:00
yexo
71aedf247e (svn r19239) -Cleanup: Move the HeapifyDown code into its own method (skidd13) 2010-02-25 11:47:18 +00:00
yexo
baf9c32900 (svn r19238) -Codechange: Unify the HeapifyDown code (skidd13) 2010-02-25 11:46:41 +00:00
yexo
b7d2c74b0b (svn r19237) -Codechange: use types directly and prefer uint instead of int (skidd13) 2010-02-25 11:46:20 +00:00
yexo
9ed0a64d04 (svn r19236) -Codechange: move method code into class definition (skidd13) 2010-02-25 11:45:47 +00:00
smatz
4357e8db1e (svn r19207) -Fix (r19127): compilation was broken for gcc 3.3 2010-02-22 16:24:38 +00:00
yexo
d06407b06c (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
0f6e4a5cce (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