Wed, 27 Dec 2006 23:11:43 +0000(svn r7585) -Codechange: CheckStationSpreadOut() took too much CPU. Station rectangle is now maintained instead of calculating it each time by walking through whole map. Should help with the performance issue related to AIs trying to build road stops too often. (idea by Celestar)
KUDr [Wed, 27 Dec 2006 23:11:43 +0000] rev 5395
(svn r7585) -Codechange: CheckStationSpreadOut() took too much CPU. Station rectangle is now maintained instead of calculating it each time by walking through whole map. Should help with the performance issue related to AIs trying to build road stops too often. (idea by Celestar)

Wed, 27 Dec 2006 18:29:34 +0000(svn r7583) -Fix (r7573): Merging of bridge branch broke (partially reverted?) automatic railtype conversion when building track on existing rail.
peter1138 [Wed, 27 Dec 2006 18:29:34 +0000] rev 5394
(svn r7583) -Fix (r7573): Merging of bridge branch broke (partially reverted?) automatic railtype conversion when building track on existing rail.

Wed, 27 Dec 2006 18:25:17 +0000(svn r7582) -Fix (r7490): appending static GRFs to the list of to-be loaded GRF for a game could result in duplicate GRFs in that list, which can cause a segmentation fault while loading the GRFs.
rubidium [Wed, 27 Dec 2006 18:25:17 +0000] rev 5393
(svn r7582) -Fix (r7490): appending static GRFs to the list of to-be loaded GRF for a game could result in duplicate GRFs in that list, which can cause a segmentation fault while loading the GRFs.

Wed, 27 Dec 2006 16:18:59 +0000(svn r7581) [Translations] -Change: overhaul of the Polish language file by MeusH to make use of the Unicode characters where needed.
rubidium [Wed, 27 Dec 2006 16:18:59 +0000] rev 5392
(svn r7581) [Translations] -Change: overhaul of the Polish language file by MeusH to make use of the Unicode characters where needed.

Wed, 27 Dec 2006 16:14:21 +0000(svn r7580) -Fix (r7182): UTF8-merge changed the string handling a bit, now the str pointer for
Darkvater [Wed, 27 Dec 2006 16:14:21 +0000] rev 5391
(svn r7580) -Fix (r7182): UTF8-merge changed the string handling a bit, now the str pointer for
control characters is at the next character, so take value and THEN increase
pointer, not the other way around. This bug could result in incorrect bb's computed
for strings.

Wed, 27 Dec 2006 14:51:55 +0000(svn r7579) -Fix: upon merging the bridge branch, I accidently reverted 7571. Re-revert it. Sorry.
celestar [Wed, 27 Dec 2006 14:51:55 +0000] rev 5390
(svn r7579) -Fix: upon merging the bridge branch, I accidently reverted 7571. Re-revert it. Sorry.

Wed, 27 Dec 2006 14:34:09 +0000(svn r7578) -Fix r7577: fixed typo
bjarni [Wed, 27 Dec 2006 14:34:09 +0000] rev 5389
(svn r7578) -Fix r7577: fixed typo

Wed, 27 Dec 2006 14:27:30 +0000(svn r7577) -Fix (r7565): Missed out some OSX files (Bjarni)
Darkvater [Wed, 27 Dec 2006 14:27:30 +0000] rev 5388
(svn r7577) -Fix (r7565): Missed out some OSX files (Bjarni)

Wed, 27 Dec 2006 13:48:57 +0000(svn r7575) -Codechange: Allow the AI to build signals under bridges (revert r4911)
celestar [Wed, 27 Dec 2006 13:48:57 +0000] rev 5387
(svn r7575) -Codechange: Allow the AI to build signals under bridges (revert r4911)

Wed, 27 Dec 2006 13:24:36 +0000(svn r7574) WebTranslator2 update to 2006-12-27 14:23:53
miham [Wed, 27 Dec 2006 13:24:36 +0000] rev 5386
(svn r7574) WebTranslator2 update to 2006-12-27 14:23:53
bulgarian - 7 fixed, 55 changed by kokobongo (62)
catalan - 2 changed by arnaullv (2)
estonian - 26 fixed by kristjans (26)
lithuanian - 10 fixed by Plyta (10)
norwegian - 53 fixed by oletk (53)
slovak - 2 fixed by lengyel (2)
turkish - 3 fixed by jnmbk (3)
ukrainian - 28 fixed by znikoz (28)

Wed, 27 Dec 2006 12:38:02 +0000(svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals)
celestar [Wed, 27 Dec 2006 12:38:02 +0000] rev 5385
(svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals)

Wed, 27 Dec 2006 12:22:25 +0000(svn r7571) -Fix (r7565): Older GCC versions do not have __VA_ARGS__ support (C99), work around
Darkvater [Wed, 27 Dec 2006 12:22:25 +0000] rev 5384
(svn r7571) -Fix (r7565): Older GCC versions do not have __VA_ARGS__ support (C99), work around
this (tokai)

Tue, 26 Dec 2006 22:04:53 +0000(svn r7569) -Fix (r7565): cocoa files were (somehow) forgotten.
rubidium [Tue, 26 Dec 2006 22:04:53 +0000] rev 5383
(svn r7569) -Fix (r7565): cocoa files were (somehow) forgotten.
-Change: messages about failures is cocoa should be debug level 0 and show what went wrong. " failed with message X" isn't really descriptive.
-Change: remove unneeded level 1 debug messages for entering some cocoa functions.

Tue, 26 Dec 2006 21:48:15 +0000(svn r7568) -Fix [r7564]: buf+4 is the same as &buf[4], not buf[4] for a char*.
Darkvater [Tue, 26 Dec 2006 21:48:15 +0000] rev 5382
(svn r7568) -Fix [r7564]: buf+4 is the same as &buf[4], not buf[4] for a char*.

Tue, 26 Dec 2006 18:27:40 +0000(svn r7566) -Fix: only send commands to the new client from the map, that is going to be transfered to the new client, is saved on the server and not while waiting for the 'map download slot' as that will add commands for already passed frames in the command queue of the new client.
rubidium [Tue, 26 Dec 2006 18:27:40 +0000] rev 5381
(svn r7566) -Fix: only send commands to the new client from the map, that is going to be transfered to the new client, is saved on the server and not while waiting for the 'map download slot' as that will add commands for already passed frames in the command queue of the new client.

Tue, 26 Dec 2006 17:36:18 +0000(svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to
Darkvater [Tue, 26 Dec 2006 17:36:18 +0000] rev 5380
(svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to
use in debug.h. grfmsg() is now used as a specific debug-function for grf.

Tue, 26 Dec 2006 17:22:47 +0000(svn r7564) -Codechange: Some newgrf changes. FFIR/EVAW endian-swapping, functionalize
Darkvater [Tue, 26 Dec 2006 17:22:47 +0000] rev 5379
(svn r7564) -Codechange: Some newgrf changes. FFIR/EVAW endian-swapping, functionalize
check_length, don't print copyright message for grfinfo (it is shown in newgrf
window), have action 0x0B print out the messages with severity 0.

Tue, 26 Dec 2006 15:28:11 +0000(svn r7563) -Fix (FS#468): removing towns in the scenario editor could leave subsidies with that town as source/destination, resulting in an assertion when displaying the Subsidies Window.
rubidium [Tue, 26 Dec 2006 15:28:11 +0000] rev 5378
(svn r7563) -Fix (FS#468): removing towns in the scenario editor could leave subsidies with that town as source/destination, resulting in an assertion when displaying the Subsidies Window.

Tue, 26 Dec 2006 13:30:48 +0000(svn r7562) -Fix (r7060, 5874): It seems windows doesn't have the same functionality for CreateWindow when starting a program from the console or from the GUI. Because of this starting OpenTTD from the desktop wouldn't maximize the window, even if the config file said so. So work around this...
Darkvater [Tue, 26 Dec 2006 13:30:48 +0000] rev 5377
(svn r7562) -Fix (r7060, 5874): It seems windows doesn't have the same functionality for CreateWindow when starting a program from the console or from the GUI. Because of this starting OpenTTD from the desktop wouldn't maximize the window, even if the config file said so. So work around this...

Tue, 26 Dec 2006 12:56:48 +0000(svn r7561) -Fix (FS#431): core and (patches) GUI were not in-sync with respect to autorenew settings. This is only a temporary fix, as the definite fix needs to move the autorenew settings to a per-company settings window.
rubidium [Tue, 26 Dec 2006 12:56:48 +0000] rev 5376
(svn r7561) -Fix (FS#431): core and (patches) GUI were not in-sync with respect to autorenew settings. This is only a temporary fix, as the definite fix needs to move the autorenew settings to a per-company settings window.

Tue, 26 Dec 2006 11:47:31 +0000(svn r7560) -Fix (r2300): p2 is not a PlayerID when creating a new company, but the ClientID (index in _network_client_info). Therefore it was not possible to create a new company if 8 or more clients were connected. Thanks to FlashFF for noticing this bug.
rubidium [Tue, 26 Dec 2006 11:47:31 +0000] rev 5375
(svn r7560) -Fix (r2300): p2 is not a PlayerID when creating a new company, but the ClientID (index in _network_client_info). Therefore it was not possible to create a new company if 8 or more clients were connected. Thanks to FlashFF for noticing this bug.

Tue, 26 Dec 2006 00:33:07 +0000(svn r7559) -Fix (FS#456): clicking the 'Full Load' button when the 'current' order is selected in the Order GUI and one has instructed the train to go to the depot, via the button in the Train View GUI, changed the depot order by switching from 'service at depot' to 'stop at depot' and vice versa.
rubidium [Tue, 26 Dec 2006 00:33:07 +0000] rev 5374
(svn r7559) -Fix (FS#456): clicking the 'Full Load' button when the 'current' order is selected in the Order GUI and one has instructed the train to go to the depot, via the button in the Train View GUI, changed the depot order by switching from 'service at depot' to 'stop at depot' and vice versa.

Mon, 25 Dec 2006 16:14:36 +0000(svn r7558) -Fix (FS#464): do not wait till a crashed vehicle is removed before starting to load other vehicles.
rubidium [Mon, 25 Dec 2006 16:14:36 +0000] rev 5373
(svn r7558) -Fix (FS#464): do not wait till a crashed vehicle is removed before starting to load other vehicles.

Mon, 25 Dec 2006 09:50:56 +0000(svn r7557) -Fix: [OSX] FS#463 libfontconfig not present on OSX by default
bjarni [Mon, 25 Dec 2006 09:50:56 +0000] rev 5372
(svn r7557) -Fix: [OSX] FS#463 libfontconfig not present on OSX by default
By adding CUSTOM_FONTCONFIG flag to the Makefile (not Makefile.config) to overwrite default locations of this library
This allows static linking

Mon, 25 Dec 2006 01:40:33 +0000(svn r7556) -Fix(r7153): By handling the KeyEvent sooner in the events loops, the console command "screenshot no_con" did not had time to actually repaint the screen without the console before the screenshot. Forcing a redraw before it ensure that the feature acts as required. (to be ported to 0.5.0)
belugas [Mon, 25 Dec 2006 01:40:33 +0000] rev 5371
(svn r7556) -Fix(r7153): By handling the KeyEvent sooner in the events loops, the console command "screenshot no_con" did not had time to actually repaint the screen without the console before the screenshot. Forcing a redraw before it ensure that the feature acts as required. (to be ported to 0.5.0)
(thanks glx)

Sun, 24 Dec 2006 22:10:09 +0000(svn r7555) -Fix (r5479): off-by-one error due do truncation on division by 2. Thanks to Ben_Robbins_ for providing the test case.
rubidium [Sun, 24 Dec 2006 22:10:09 +0000] rev 5370
(svn r7555) -Fix (r5479): off-by-one error due do truncation on division by 2. Thanks to Ben_Robbins_ for providing the test case.

Sun, 24 Dec 2006 19:20:28 +0000(svn r7554) -Fix (r7496): In Action 0xE, don't deactivate the current GRF (to be ported to 0.5)
peter1138 [Sun, 24 Dec 2006 19:20:28 +0000] rev 5369
(svn r7554) -Fix (r7496): In Action 0xE, don't deactivate the current GRF (to be ported to 0.5)

Sat, 23 Dec 2006 13:08:32 +0000(svn r7553) WebTranslator2 update to 2006-12-23 14:07:59
miham [Sat, 23 Dec 2006 13:08:32 +0000] rev 5368
(svn r7553) WebTranslator2 update to 2006-12-23 14:07:59
american - 3 fixed by WhiteRabbit (3)
hungarian - 4 fixed by miham (4)

Sat, 23 Dec 2006 10:42:48 +0000(svn r7552) WebTranslator2 update to 2006-12-23 11:41:58
miham [Sat, 23 Dec 2006 10:42:48 +0000] rev 5367
(svn r7552) WebTranslator2 update to 2006-12-23 11:41:58
american - 1 fixed by WhiteRabbit (1)
bulgarian - 1 changed by kokobongo (1)
catalan - 2 fixed, 3 changed by arnaullv (5)
dutch - 3 fixed by habell (3)
french - 2 fixed by glx (2)
german - 2 fixed by Neonox (2)
italian - 3 fixed by sidew (3)
portuguese - 2 fixed by izhirahider (2)
russian - 2 fixed by Smoky555 (2)
slovak - 1 fixed by lengyel (1)
turkish - 3 fixed by jnmbk (3)

Sat, 23 Dec 2006 09:06:37 +0000(svn r7551) -Fix (r7523): segmentation fault on showing NewGRF settings of a network game.
rubidium [Sat, 23 Dec 2006 09:06:37 +0000] rev 5366
(svn r7551) -Fix (r7523): segmentation fault on showing NewGRF settings of a network game.