console.c
Thu, 28 Jun 2007 13:58:39 +0000 rubidium (svn r10372) [0.5] -Backport from trunk (r10288, r10290, r10293, r10294, r10295, r10347, r10348): 0.5
Wed, 29 Nov 2006 21:38:19 +0000 Darkvater (svn r7292) -Codechange: Also validate an strip of colours the console string passed to the dedicated
Tue, 21 Nov 2006 22:10:52 +0000 Darkvater (svn r7233) -Codechange: get rid of three console.c globals
Sun, 19 Nov 2006 22:24:18 +0000 Darkvater (svn r7219) -Fix: Several warnings by gcc introduced in r7206 which MSVC found not of a problem. Thanks Tron
Sat, 18 Nov 2006 17:07:05 +0000 Darkvater (svn r7207) -Codechange: Pass the (unchanged) windowpointer to the console window and do it only once.
Sat, 18 Nov 2006 00:14:43 +0000 Darkvater (svn r7200) -Codechange: remove unneeded redraw (console.c), coding style, use FindWindowById
Thu, 16 Nov 2006 22:05:33 +0000 peter1138 (svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come.
Thu, 16 Nov 2006 17:41:24 +0000 Darkvater (svn r7172) -Fix [r6931]: The console showed '?' characters instead of colours. Now strip all
Sat, 21 Oct 2006 22:24:28 +0000 Darkvater (svn r6875) -Feature: Allow for " to be in console tokens. Escape them with \. eg \".
Sat, 23 Sep 2006 02:39:24 +0000 belugas (svn r6499) -Codechange: Finally, got "byte event" outside of the union WindowEvent, which is now a struct
Sun, 20 Aug 2006 17:22:03 +0000 truelight (svn r5993) -Fix r5974: a cause-no-warning commit caused a warning ;) (glx)
Sun, 20 Aug 2006 12:09:32 +0000 truelight (svn r5974) -Codechange: added casts all around the place to make Windows 64bit happy (michi_cc)
Sat, 19 Aug 2006 09:31:22 +0000 truelight (svn r5944) -Merge TGP (r5578, r5579, r5724, r5726): -Feature: filter for textboxes to only
Wed, 26 Jul 2006 03:33:12 +0000 belugas (svn r5609) CodeChange : Apply coding style
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Sat, 15 Apr 2006 19:52:58 +0000 Darkvater (svn r4434) - Codechange: use str_validate for the console as well instead of custom function doing the same.
Thu, 06 Apr 2006 19:11:41 +0000 Darkvater (svn r4301) - Fix: the maxlength parameter of Textbuf is supposed to be the size of the buffer (so length of string + '\0'), but in the code it was a mix of both. It didn't cause any problems though, only an occasionaly one-less character than allowed. (thanks Tron for noticing)
Mon, 13 Feb 2006 21:15:00 +0000 tron (svn r3597) Miscellaneous (I like that word) changes: Fix some indentation, add consts, reduce indentation level by short-circuit logic, convert if cascades to switch, whitespace, bracing, plus some minor stuff
Thu, 05 Jan 2006 12:40:50 +0000 tron (svn r3365) Staticise 36 functions
Sat, 24 Dec 2005 20:54:31 +0000 tron (svn r3339) Remove unnecessary includes
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files
Fri, 22 Jul 2005 07:02:20 +0000 tron (svn r2673) Include functions.h directly, not globally via openttd.h
Wed, 20 Jul 2005 19:12:30 +0000 tron (svn r2655) An uint16 is an uint16, not a byte - fix wrong cast
Sat, 04 Jun 2005 07:35:12 +0000 tron (svn r2405) Simplify a few '? true : false' and '? false : true', especially the latter is confusing
Thu, 02 Jun 2005 19:30:21 +0000 Darkvater (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
Thu, 02 Jun 2005 15:48:28 +0000 Darkvater (svn r2395) - Fix: oops, forgot a break in a console switch.
Mon, 30 May 2005 16:03:21 +0000 Darkvater (svn r2385) - Feature: shortcut CTRL + U that clears the commandline of the current input-box. As requested by Tron.
Sat, 28 May 2005 16:59:51 +0000 Darkvater (svn r2372) - Fix (console): update the example scripts in the scripts/ directory to reflect the new console functionality
Tue, 17 May 2005 16:07:48 +0000 Darkvater (svn r2338) - CodeChange: only call the variable hooks when you set their value not when you query them
Mon, 16 May 2005 15:05:49 +0000 Darkvater (svn r2333) - CodeChange: also don't execute command if user has typed all spaces (eg nothing worthwhile). Suggested and implemented by Tron.
Mon, 16 May 2005 13:46:26 +0000 Darkvater (svn r2332) - Feature: Add 'clear' command and CTRL+L to empty the console window
Sun, 15 May 2005 18:43:36 +0000 tron (svn r2323) Remove unused dereferencing
Sat, 14 May 2005 19:34:59 +0000 Darkvater (svn r2309) - CodeChange: Change all _iconsole_color_whatever into _icolour_wtv (abbreviated). Besides the changed into proper english, yes this commit is pretty useless ;)
Fri, 06 May 2005 22:06:40 +0000 Darkvater (svn r2277) - Codechange: change sscanf() into stroul() Which Does The Right Thing tm. Thanks tron
Fri, 06 May 2005 18:34:28 +0000 Darkvater (svn r2275) - Fix: [ 1196662 ] scrollto doesn't accept hexadecimal numbers
Tue, 03 May 2005 11:48:55 +0000 Darkvater (svn r2259) - Fix (regression): remove a warning and make the help for variables behave the same as for commands
Tue, 03 May 2005 11:14:06 +0000 Darkvater (svn r2258) - Fix (regression): game crashes on resizing window. Windows is a bit too aggressive with its _assume(0), and it did not even belong there
Mon, 02 May 2005 17:58:11 +0000 Darkvater (svn r2250) - Fix (regression): arguments with spaces in them were incorrectly parsed
Mon, 02 May 2005 17:05:59 +0000 Darkvater (svn r2247) - Fix (regression): executing scripts now works (remove newline character(s)).
Mon, 02 May 2005 15:52:19 +0000 Darkvater (svn r2243) -Fix: Rework of console. Use 'help command|variable' to get help about it. You can assign variables with =, ++, --, or just new value. Console parser is now lenient towards typed spaces, and more robust in general (at least readable). Removed the 'set' command, instead implemented all such variables as 'variables'.
Sun, 24 Apr 2005 21:56:46 +0000 Darkvater (svn r2230) Oops, revert wrongly committed local console.c. Also add the endian_target.h and endian_host.h to the ignore list
Sun, 24 Apr 2005 21:44:45 +0000 Darkvater (svn r2229) - Fix: [ 1188777 ] Non-existing sprite #5125 (presignal). The DOS grf file trgi.grf has 6 less sprites than the windows one. This results in some segfaults for certain sprites. Fixed it by added a dummy grf file consisting ofr 6 sprites and loaded when using DOS gfx at the appropiate place.
Sun, 27 Mar 2005 17:20:27 +0000 Darkvater (svn r2092) - Fix: old commands/lines in the console (history) did not show when they used 'special' characters like ??, etc. Diff approved by the code-police.
Thu, 10 Mar 2005 22:03:55 +0000 Darkvater (svn r1987) - Cleanup: remove the last remaining dinosaurs of a dead console
Tue, 22 Feb 2005 14:52:20 +0000 Darkvater (svn r1901) - Fix: unwanted behaviour of the savegame dialog, as well as a bug with a sloppy termination of a string. When any editbox is open, scrolling is disabled. If any new types of editboxes come up, please use SET/CLRBIT of _no_scroll with its unique identifier (ttd.h)
Mon, 21 Feb 2005 18:59:54 +0000 Darkvater (svn r1894) - Codechange: cleaned up the console a bit, wholly unified handling of text with that of editboxes
Thu, 17 Feb 2005 17:38:17 +0000 tron (svn r1883) -Fix: [1109400] Better test if a string actually contains any console command
Mon, 31 Jan 2005 00:12:44 +0000 darkvater (svn r1747) - Fix: [network] ottd should compile when networking is disabled.
Sun, 30 Jan 2005 16:54:39 +0000 darkvater (svn r1734) - Fix: [ 1112253 ] hijacking of arrow keys, game also scrolled when it was out of focus (dominik)
Sun, 23 Jan 2005 21:42:29 +0000 darkvater (svn r1628) -Fix: [1107893] script command; log file pointer was not reset to NULL after logging was closed
Sun, 23 Jan 2005 13:09:35 +0000 tron (svn r1610) Remove trailing whitespace (last time ever, i hope)
Sat, 22 Jan 2005 22:47:58 +0000 tron (svn r1596) Add some more statics
Sun, 16 Jan 2005 18:19:33 +0000 darkvater (svn r1547) -Feature: windows dedicated (if anyone would run that, but ok), is now functioning correctly. There is no other way but to create a new thread, but that's only MS braindeadness
Sat, 15 Jan 2005 20:09:16 +0000 truelight (svn r1527) -Add: RCon (Remote Connection). A server can set:
Fri, 14 Jan 2005 19:39:06 +0000 tron (svn r1507) Remove unreachable code
Tue, 11 Jan 2005 23:39:21 +0000 darkvater (svn r1484) -Fix: [1099197] scrolling through console sometimes crashed the whole game. Also added MarkWholeScreenDirty() to have redrawing of console resize instant (sign_de)
Sun, 09 Jan 2005 21:25:44 +0000 tron (svn r1451) Fix some of the signed/unsigned comparison warnings
Sat, 08 Jan 2005 00:48:10 +0000 darkvater (svn r1420) -Fix: Console alias, load_game functionality and load fix (sign_de)
Wed, 15 Dec 2004 21:30:20 +0000 darkvater (svn r1110) -Fix: Empty console commands were executed and returned error message (sign_de for GeniusDex)
Wed, 15 Dec 2004 00:31:08 +0000 darkvater (svn r1093) -Fix: Hopefully fixed windows revision issues once and for all. Removed globalness of _openttd_revision and put all such ifdefs into one place. If server has a revision only the same revisions can join; if the server has no revision everyone can join. I reckon this should be a server-side option to allow people to join or not to join.