Commit Graph

50 Commits (ed1457dca335a68b74603b619584eff9f7231ef4)

Author SHA1 Message Date
Rubidium 92559e6f3a Fix #9388: thread unsafe use of NetworkAdminConsole/IConsolePrint 3 years ago
rubidium42 7d79180040 Codechange: use fmt in DebugPrint where applicable 3 years ago
rubidium42 352dbdd570 Cleanup: remove old DEBUG macro and debug function 3 years ago
rubidium42 55a11710a6 Codechange: convert printf DEBUG statements to fmt Debug statements 3 years ago
rubidium42 a99ac62c1a Codechange: use the fmt library for simpler debug formats 3 years ago
Patric Stout fe451b8dc7 Codechange: remove _realtime_tick variable 3 years ago
S. D. Cloudt 13cc8a0cee Cleanup: Removed SVN headers 5 years ago
JMcKiern 04f659e768 Fix: Some typos found using codespell 5 years ago
Gabda 7e7563f15f Add: Chrono based TIC() and TOC() in debug 5 years ago
Gabda 4be2c1022e Cleanup: changing variable names in TIC() and TOC()
Removing double underscores to be ANSI-C standard compliant.
5 years ago
Patric Stout 17bd580630
Remove: NO_DEBUG_MESSAGES was only read and setting it broke compilation (#6703)
Given any speed issue cannot be attributed to checking for _debug_NNN_level, removing this is a safe action

This fixes #6652.
6 years ago
rubidium 59ff2836d4 (svn r26195) -Codechange: move debug's ottd_rdtsc (CPU specific high precision timer) into cpu.h/cpp 11 years ago
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
alberth b57bef91a1 (svn r24099) -Add: Output list of -d option facilities with in the help text. 12 years ago
rubidium a48e3cb891 (svn r23854) -Codechange: make it easier to put random debug stuff into the random log 13 years ago
truebrain a8b22e5292 (svn r23386) -Fix: debug script related events to 'script' (removes 'ai') 13 years ago
rubidium 4d5dbf5170 (svn r22410) -Document: some more bits ;) 13 years ago
alberth dfeac6ba2e (svn r20784) -Doc: Doxyment a few debug line printing functions. 14 years ago
rubidium 34764feac2 (svn r20186) -Codechange: remove VARDEF from _realtime_tick and _rightclick_emulate 14 years ago
frosch 1d3adb2b66 (svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation. 14 years ago
smatz 0ef33548c2 (svn r19614) -Codechange: "it's" => "its" where appropriate 14 years ago
smatz 78ce2858fc (svn r19080) -Cleanup: remove unused _debug_ntp_level and _debug_ms_level 15 years ago
smatz ac6ff0de9b (svn r19079) -Codechange: use _debug_console_level instead of _stdlib_con_developer 15 years ago
rubidium b2e9b5d612 (svn r18683) -Fix: it's not an other 15 years ago
rubidium 0ef0e13795 (svn r18385) -Cleanup: remove the now unneeded multistop slot management code 15 years ago
rubidium 629b7fcfe5 (svn r18070) -Fix: some possible unwanted side effects if using some sorts of boolean expressions in DEBUG 15 years ago
rubidium b1561fcb52 (svn r17778) -Fix: remove unneeded newline from 'TOC' debug lines. 15 years ago
rubidium 324389cf0b (svn r17488) -Feature [FS#2339]: add the date to all logging in the (real, not in-game) console if show_date_in_console is set. For dedicated server binaries the default is 'on', for the rest it is 'off'. 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
smatz 8bc244d14e (svn r16653) -Fix (r16269): TOC() macro was broken 15 years ago
smatz 64455d14ea (svn r16637) -Cleanup: remove unused _debug_station_level 15 years ago
smatz c03ce4b1c7 (svn r16492) -Remove: support for gcc2. It hasn't been able to compile OTTD for months. All attempts to do another workaround failed. 15 years ago
smatz f5316c5cbd (svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
15 years ago
rubidium 3c6add5293 (svn r14772) -Codechange: make the "dump log of game to reproduce" desync debug stuff a runtime configurable debug option instead of a compile time option. 16 years ago
rubidium 69eb6978e7 (svn r14634) -Change: _rdtsc is defined by some platforms so we can't use that name. 16 years ago
smatz b3bafb1d9c (svn r13728) -Codechange: define DEBUG as an empty block so compiler warns us less 16 years ago
smatz 927507818f (svn r13727) -Fix (r13375): compilation with NO_DEBUG_MESSAGES was broken 16 years ago
smatz c7a9637834 (svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details 16 years ago
rubidium d03994098b (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 16 years ago
smatz 305dc1001b (svn r12685) -Codechange: DebugDumpCommands() couldn't be inlined, define it as a macro instead 16 years ago
rubidium bbdc5a9314 (svn r11979) -Codechange: drop MSVC 2003 support because MSVC 2003 is broken in such a manner that it triggers an internal compiler error without any clue what of the code is wrong. Even trying to bisect the problem does not give a single line of code that causes the trouble. 17 years ago
rubidium 04f936c2c6 (svn r11811) -Fix: make compilation without networking work again (and thus move the debugdumpcommand stuff out of the network 'area'). 17 years ago
rubidium 429521a7d1 (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' 17 years ago
truelight d3a7fb8d73 (svn r10069) -Documentation: some documentation for TIC/TOC, as it isn't what I expected... 17 years ago
rubidium 36bb92ae24 (svn r9050) -Codechange: Foo(void) -> Foo() 17 years ago
belugas 978d7da818 (svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style. 18 years ago
bjarni ca1a88f6c4 (svn r8605) -Codechange: [OSX] changed all objective C to objective C++
This will permanently solve the issue where compilation on OSX broke because C++ code was added to some header files

   -Note: (important if you develop mac specific code)
   taken from http://developer.apple.com/releasenotes/Cocoa/Objective-C++.html           
    gdb lacks an integrated C++ with Objective-C parser. This means that gdb won't be able to evaluate expressions that contain both C++ and Objective-C constructs.
    gdb assumes that the language for ".mm" files is C++.
    you can change it to objective C by typing: (gdb) set language objc 
    Mixing C++ and objective C has some limitation (see link for all of them)
18 years ago
KUDr d57b290474 (svn r8124) -Add [DEBUG]: _debug_station_level 18 years ago
rubidium f35ed4bbc2 (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 18 years ago
rubidium 66bbf336c6 (svn r7759) -Merge: makefile rewrite. This merge features:
- A proper ./configure, so everything needs to be configured only once, not for every make.
 - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies.
 - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC.
 - Proper support for OSX universal binaries.
 - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files.
 - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files.

Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
18 years ago