Tue, 10 Apr 2007 09:40:36 +0000(svn r9582) [0.5] -Backport from trunk (r9425, r9437, r9455, r9519): 0.5
truelight [Tue, 10 Apr 2007 09:40:36 +0000] rev 5481
(svn r9582) [0.5] -Backport from trunk (r9425, r9437, r9455, r9519):
- Fix: housekeeping in convert rail functions (r9425)
- Fix: dedicated server crashed when the y part of the resolution was less than 10 (r9437)
- Fix: values of diff_custom and snow_line in .cfg weren't checked properly (r9455)
- Fix: free the malloc'd variable, not the pointer to that variable (r9519)

Mon, 26 Mar 2007 00:20:22 +0000(svn r9471) [0.5] -Backport from trunk (r9467 & r9469): 0.5
belugas [Mon, 26 Mar 2007 00:20:22 +0000] rev 5480
(svn r9471) [0.5] -Backport from trunk (r9467 & r9469):
Reset the whole currency array while preserving custom one. Also, max data of to_euro is now 300, not 1000, disabling any proper loading of the patch setting

Sat, 24 Mar 2007 15:16:41 +0000(svn r9430) [0.5] -Backport r9429: when deleting a vehicle which has shared orders with one more vehicle and no orders, segfaulted 0.5
truelight [Sat, 24 Mar 2007 15:16:41 +0000] rev 5479
(svn r9430) [0.5] -Backport r9429: when deleting a vehicle which has shared orders with one more vehicle and no orders, segfaulted

Fri, 23 Mar 2007 22:54:19 +0000(svn r9422) [0.5] -Prepare 0.5 branch for release of 0.5.1-RC2. 0.5 0.5.1-RC2
rubidium [Fri, 23 Mar 2007 22:54:19 +0000] rev 5478
(svn r9422) [0.5] -Prepare 0.5 branch for release of 0.5.1-RC2.

Fri, 23 Mar 2007 22:44:03 +0000(svn r9421) [0.5] -Backport from trunk (r9392, r9415, r9420, custom): 0.5
rubidium [Fri, 23 Mar 2007 22:44:03 +0000] rev 5477
(svn r9421) [0.5] -Backport from trunk (r9392, r9415, r9420, custom):
- Fix: crashes when the chatbox would be drawn outside of the main window [FS#701] (r9420)
- Language updates (r9392, r9414, custom Simplified Chinese)

Wed, 21 Mar 2007 23:06:01 +0000(svn r9394) [0.5] -Fix (r9343): reading out of an array caused a segmentation fault. 0.5
rubidium [Wed, 21 Mar 2007 23:06:01 +0000] rev 5476
(svn r9394) [0.5] -Fix (r9343): reading out of an array caused a segmentation fault.

Wed, 21 Mar 2007 00:00:08 +0000(svn r9384) [0.5] -Fix: [MorphOS] updated make release to avoid the need to specify RELEASE when building 0.5
bjarni [Wed, 21 Mar 2007 00:00:08 +0000] rev 5475
(svn r9384) [0.5] -Fix: [MorphOS] updated make release to avoid the need to specify RELEASE when building

Tue, 20 Mar 2007 21:12:18 +0000(svn r9382) [0.5] -Prepare 0.5 branch for release of 0.5.1-RC1. 0.5 0.5.1-RC1
rubidium [Tue, 20 Mar 2007 21:12:18 +0000] rev 5474
(svn r9382) [0.5] -Prepare 0.5 branch for release of 0.5.1-RC1.

Tue, 20 Mar 2007 20:36:45 +0000(svn r9380) [0.5] -Backport from trunk (r9378): 0.5
rubidium [Tue, 20 Mar 2007 20:36:45 +0000] rev 5473
(svn r9380) [0.5] -Backport from trunk (r9378):
- Fix: cancel in password queries reduces amount of players in the network game when they haven't joined the game yet (r9378)

Tue, 20 Mar 2007 00:02:18 +0000(svn r9358) [0.5] -Backport from trunk (r9055, r9082, r9083, r9084, r9085, r9086): 0.5
glx [Tue, 20 Mar 2007 00:02:18 +0000] rev 5472
(svn r9358) [0.5] -Backport from trunk (r9055, r9082, r9083, r9084, r9085, r9086):
- Codechange: Change windows unicode handling and allow a pure non-unicode build to function. (r9055)
- Codechange: [win32] Update VS2003 and VS2005 project files to build in UNICODE mode. When making a release it is probably better to make two binaries, one without UNICODE, the other with, guaranteeing full Win9x compatibility (UNICODE with MSLU also works, without it's even better). (r9082)
- Codechange: Be more lenient when trimming UTF-8 strings and don't terminate the string when an invalid encoding is encountered, but only focus on maximum length. (r9083)
- Fix: [win9x] Clipboard paste for Windows95 (doesn't have CF_UNICODETEXT) correctly converts the input to the current locale. (r9084)
- Fix: [win32] Move the initialisation of _codepage (non-UNICODE) to winMain as a dedicated server, or different video driver will not have a win32 messageloop. (r9085)
- Fix: [win32] Rewrite keyboard input and handle all keypresses in a WM_CHAR event. This saves us from doing translation (ToUnicode[Ex], ToAscii[Ex]), and we get free IME-input support as a plus. (r9086)

Mon, 19 Mar 2007 22:08:18 +0000(svn r9355) [0.5] -Backport from trunk (r8906): 0.5
rubidium [Mon, 19 Mar 2007 22:08:18 +0000] rev 5471
(svn r9355) [0.5] -Backport from trunk (r8906):
- Feature: translation dependant formatting of dates (r8906)

Mon, 19 Mar 2007 21:42:05 +0000(svn r9354) [0.5] -Backport from trunk (r8975, r9003, r9011, r9012): 0.5
glx [Mon, 19 Mar 2007 21:42:05 +0000] rev 5470
(svn r9354) [0.5] -Backport from trunk (r8975, r9003, r9011, r9012):
-Regression: [win32] Possible buffer overflow if unicode text is pasted into an input box and needs trimming. (r8975)
-Codechange: Introduce a function Utf8PrevCharLen that finds the starting character of an UTF-8 sequence from a given position and returns the length to the first UTF-8 encoding byte of that sequence. (r9003)
-Codechange: Rework Utf8PrevChar so that it returns a pointer to the previous UTF8 character's first byte instead of a byte-length offset (r9011)
-Fix: When cutting strings into multiple lines also take into consideration whitespace characters of more than 1 byte length (eg IDEOGRAPHIC SPACE, IsWhitespace() function). When trimming such strings, account for multiple-byte long sequences so use *Utf8PrevChar(v) = '\0'. (r9012)
-Codechange: Add a function Utf8TrimString() that properly trims a string to an UTF8 encoding seperation instead of somewhere in the wild (and use it in the chat area) (r9012)

Mon, 19 Mar 2007 21:04:06 +0000(svn r9353) [0.5] -Backport language updates from trunk (r8957, r9002, r9005, r9013, r9014, r9020, r9021, r9054, r9116, r9118, r9132, r9286, r9292) 0.5
rubidium [Mon, 19 Mar 2007 21:04:06 +0000] rev 5469
(svn r9353) [0.5] -Backport language updates from trunk (r8957, r9002, r9005, r9013, r9014, r9020, r9021, r9054, r9116, r9118, r9132, r9286, r9292)

Mon, 19 Mar 2007 20:38:26 +0000(svn r9351) [0.5] -Backport from trunk (r9147, r9205, r9251, r9298): 0.5
rubidium [Mon, 19 Mar 2007 20:38:26 +0000] rev 5468
(svn r9351) [0.5] -Backport from trunk (r9147, r9205, r9251, r9298):
- Fix: when loadin games, enroute_from was updated in the wrong place, causing issues with TTD savegames/scenarios (r9147)
- Fix: when you started openttd with '-g' you got the same map every run (r9205)
- Fix: use a less CPU-intensive algorithm to find a random industry for the AI to prevent it slowing down the game (r9251)
- Fix: A34-1000, Z-Shuttle, and Kelling K1 are now listed as small aircraft (r9298)

Mon, 19 Mar 2007 20:23:27 +0000(svn r9350) [0.5] -Backport from trunk (r9105, r9115, r9117, r9146): 0.5
rubidium [Mon, 19 Mar 2007 20:23:27 +0000] rev 5467
(svn r9350) [0.5] -Backport from trunk (r9105, r9115, r9117, r9146):
- Fix: disable the ability to make flooding water with the canal build tool. In the scenario editor you can still make both canals and flooding water at height level 0 (r9105)
- Fix: make clear in the tooltips when the canal build tool (in the scenario editor) makes flooding water (r9115)
- Fix: difficulty level button was not selected when opening the difficulty window (r9117)
- Fix: "Train is lost" message is generated incorrectly (r9146)

Mon, 19 Mar 2007 20:17:24 +0000(svn r9349) [0.5] -Backport from trunk (r9043, r9062, r9064, r9070): 0.5
rubidium [Mon, 19 Mar 2007 20:17:24 +0000] rev 5466
(svn r9349) [0.5] -Backport from trunk (r9043, r9062, r9064, r9070):
- Fix: the personal (.openttd) directories were hidden in the load/save directory listings (r9043)
- Fix: the station list, sorted by cargo rating, now takes stations into account that have no cargo waiting (r9062)
- Fix: don't keep on scrolling for non-numeric values in settings, but require reclick (r9064)
- Fix: when a bribe failed and you haven't picked up cargo yet, you would never be able to do so for a given station (r9070)

Mon, 19 Mar 2007 20:05:49 +0000(svn r9348) [0.5] -Backport from trunk (r8974, r8994, r9074): 0.5
rubidium [Mon, 19 Mar 2007 20:05:49 +0000] rev 5465
(svn r9348) [0.5] -Backport from trunk (r8974, r8994, r9074):
- Fix: support compilation with the Vista Platform SDK (r8974)
- Fix: resolution doubled in cfg file when fullscreen mode used (r8994)
- Fix: win32 dedicated console now doesn't need an extra 'enter' to fully quit (r9074)

Mon, 19 Mar 2007 19:56:16 +0000(svn r9347) [0.5] -Backport from trunk (r9019, r9076, r9077): 0.5
rubidium [Mon, 19 Mar 2007 19:56:16 +0000] rev 5464
(svn r9347) [0.5] -Backport from trunk (r9019, r9076, r9077):
- Fix: use <> for system-headers (r9019)
- Fix: the intercontinental airport used 'T-junction' runway sprites when there is no exit in the middle of the runway as in the city airport (r9076)
- Fix: the wrong catenary wires were drawn for tunnel entrances (r9077)

Mon, 19 Mar 2007 19:42:40 +0000(svn r9345) [0.5] -Backport from trunk (r9277, r9337, r9338): 0.5
rubidium [Mon, 19 Mar 2007 19:42:40 +0000] rev 5463
(svn r9345) [0.5] -Backport from trunk (r9277, r9337, r9338):
- Fix: shared orders got messed up when the 'first' trains got removed in the depot (r9277)
- Fix: assert() when you removed the orders of a shared list while having the shared order vehicle list open (r9337)
- Fix: close the Shared Order Vehicle List if you remove the shared link with only 2 vehicles (r9338)

Mon, 19 Mar 2007 19:34:44 +0000(svn r9344) [0.5] -Backport from trunk (r9027, r9038, r9061, r9071): 0.5
rubidium [Mon, 19 Mar 2007 19:34:44 +0000] rev 5462
(svn r9344) [0.5] -Backport from trunk (r9027, r9038, r9061, r9071):
- Fix: desync caused by buffer overflow (r9027)
- Feature: kick inactive initial network connections after some time (r9038, r9061)
- Fix: take over companies properly in multiplayer games (r9071)

Mon, 19 Mar 2007 19:22:26 +0000(svn r9343) [0.5] -Backport from trunk (r9000, r9001, r9097, r9137): 0.5
rubidium [Mon, 19 Mar 2007 19:22:26 +0000] rev 5461
(svn r9343) [0.5] -Backport from trunk (r9000, r9001, r9097, r9137):
- Fix: new locomotive names were not announced in the news, it said "new railway locomotive available - railway locomotive" (r9000, r9001)
- Feature: add an extra news group for opening and closing of industries (r9097)
- Fix: when all news-setting buttons are 'full', make the for-all button show 'full' too (r9137)

Mon, 19 Mar 2007 18:54:48 +0000(svn r9342) [0.5] -Backport from trunk (r8980, r9065, r9339): 0.5
rubidium [Mon, 19 Mar 2007 18:54:48 +0000] rev 5460
(svn r9342) [0.5] -Backport from trunk (r8980, r9065, r9339):
- Fix: the industry list should also be (re)set when the number of industries is 0 (r8980)
- Fix: possible dereference of NULL pointer (r9065)
- Codechange: disable shares by default and increase the default maximum distance from edge for oil refineries (r9339)

Mon, 19 Mar 2007 18:47:10 +0000(svn r9341) [0.5] -Backport from trunk (r8943, r8955, r8976, r8999, r9009): 0.5
rubidium [Mon, 19 Mar 2007 18:47:10 +0000] rev 5459
(svn r9341) [0.5] -Backport from trunk (r8943, r8955, r8976, r8999, r9009):
- Fix: NewGRF support for vehicle variable 48 (r8943)
- Fix: crash on loading savegames with GRFs that do not have their GRF info/name set (r8955)
- Fix: reinitialize all engines after grf files have been reloaded/changed (r8976)
- Fix: do not select a disabled platform length/number of track count when going out of drag-drop mode (r8999)
- Fix: play the correct engine sound based on the engine type instead of the sprite (r9009)

Sun, 11 Mar 2007 23:03:14 +0000(svn r9128) [0.5] -Fix: trains slow down under bridges when they were going down on the tile before the bridge tile. 0.5
rubidium [Sun, 11 Mar 2007 23:03:14 +0000] rev 5458
(svn r9128) [0.5] -Fix: trains slow down under bridges when they were going down on the tile before the bridge tile.

Tue, 27 Feb 2007 22:13:15 +0000(svn r8930) [0.5] -Backport from trunk (r8929): 0.5
Darkvater [Tue, 27 Feb 2007 22:13:15 +0000] rev 5457
(svn r8930) [0.5] -Backport from trunk (r8929):
- [win32] Installer update (r8929)

Tue, 27 Feb 2007 16:29:22 +0000(svn r8923) [0.5] -Prepare (again) 0.5 branch for release, update a few dates and changelog 0.5 0.5.0
Darkvater [Tue, 27 Feb 2007 16:29:22 +0000] rev 5456
(svn r8923) [0.5] -Prepare (again) 0.5 branch for release, update a few dates and changelog

Tue, 27 Feb 2007 16:23:02 +0000(svn r8922) [0.5] -Backport from trunk (r8907, r8919, r8920, r8921): 0.5
Darkvater [Tue, 27 Feb 2007 16:23:02 +0000] rev 5455
(svn r8922) [0.5] -Backport from trunk (r8907, r8919, r8920, r8921):
- [OSX] Reading from an unitialized variable (r8907)
- [Win9x] FindFile with C:\\* doesn't work, don't append a slash doubly (r8919)
- Do not require to press 'Apply changes' in the newgrf GUI if the changes in there are not activated (this happens in the title screen) (r8920)
- Possible crashes, problems with aircraft and airport removal (r8921)

Tue, 27 Feb 2007 15:51:52 +0000(svn r8917) [0.5] -Codechange (win32): Do not empty the data-path for the installer if you press the 'Back' button. 0.5
Darkvater [Tue, 27 Feb 2007 15:51:52 +0000] rev 5454
(svn r8917) [0.5] -Codechange (win32): Do not empty the data-path for the installer if you press the 'Back' button.

Tue, 27 Feb 2007 15:29:11 +0000(svn r8916) [0.5] -Codechange (win32): Update the installer, add proper indentation, use MUI throughout and add a custom page about UNICODE and MSLU (remove some obsolete files) 0.5
Darkvater [Tue, 27 Feb 2007 15:29:11 +0000] rev 5453
(svn r8916) [0.5] -Codechange (win32): Update the installer, add proper indentation, use MUI throughout and add a custom page about UNICODE and MSLU (remove some obsolete files)

Tue, 27 Feb 2007 15:19:36 +0000(svn r8915) [0.5] -Codechange: Renamed remotely 0.5
Darkvater [Tue, 27 Feb 2007 15:19:36 +0000] rev 5452
(svn r8915) [0.5] -Codechange: Renamed remotely