Sat, 10 Mar 2007 10:08:38 +0000(svn r9094) -Codechange: Don't set up refit masks for engine types not in the current climate, and exclude engine types if their cargo type is invalid and they have no refittable type.
peter1138 [Sat, 10 Mar 2007 10:08:38 +0000] rev 6608
(svn r9094) -Codechange: Don't set up refit masks for engine types not in the current climate, and exclude engine types if their cargo type is invalid and they have no refittable type.

Sat, 10 Mar 2007 09:55:11 +0000(svn r9093) -Codechange: variable scope / type
peter1138 [Sat, 10 Mar 2007 09:55:11 +0000] rev 6607
(svn r9093) -Codechange: variable scope / type

Sat, 10 Mar 2007 09:23:33 +0000(svn r9092) -Codechange: (NewGRF) (re r8885) Also set cargo type as invalid if the chosen type is not available in the current climate.
peter1138 [Sat, 10 Mar 2007 09:23:33 +0000] rev 6606
(svn r9092) -Codechange: (NewGRF) (re r8885) Also set cargo type as invalid if the chosen type is not available in the current climate.

Sat, 10 Mar 2007 03:33:43 +0000(svn r9089) -Codechange: Remove the 32 widgets limit on News Options window.
belugas [Sat, 10 Mar 2007 03:33:43 +0000] rev 6605
(svn r9089) -Codechange: Remove the 32 widgets limit on News Options window.
-Codechange: Use the newly created WWT_TEXT widget.
-Cleanup: remove a lot of magic numbers, make the whole window more flexible, with now the possibility to easily add new type of news events.
Thanks glx for ideas from an old patch

Sat, 10 Mar 2007 03:25:15 +0000(svn r9088) -Add : a new type of widget, called WWT_TEXT. It is a simple truncated string. It will be usefull on windows where lot of simple text is always drawn on the WE_PAINT event, making the code clearer. For now, left, right (total size of the window), top, color and data are necessary to use it. Maybe more features will be available soon.
belugas [Sat, 10 Mar 2007 03:25:15 +0000] rev 6604
(svn r9088) -Add : a new type of widget, called WWT_TEXT. It is a simple truncated string. It will be usefull on windows where lot of simple text is always drawn on the WE_PAINT event, making the code clearer. For now, left, right (total size of the window), top, color and data are necessary to use it. Maybe more features will be available soon.

Sat, 10 Mar 2007 00:30:18 +0000(svn r9086) -Feature/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.
Darkvater [Sat, 10 Mar 2007 00:30:18 +0000] rev 6603
(svn r9086) -Feature/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.

Sat, 10 Mar 2007 00:29:20 +0000(svn r9085) -Codechange/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.
Darkvater [Sat, 10 Mar 2007 00:29:20 +0000] rev 6602
(svn r9085) -Codechange/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.

Sat, 10 Mar 2007 00:27:20 +0000(svn r9084) -Fix: [win9x] Clipboard paste for Windows95 (doesn't have CF_UNICODETEXT) correctly converts the input to the current locale.
Darkvater [Sat, 10 Mar 2007 00:27:20 +0000] rev 6601
(svn r9084) -Fix: [win9x] Clipboard paste for Windows95 (doesn't have CF_UNICODETEXT) correctly converts the input to the current locale.

Sat, 10 Mar 2007 00:26:19 +0000(svn r9083) -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.
Darkvater [Sat, 10 Mar 2007 00:26:19 +0000] rev 6600
(svn r9083) -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.

Sat, 10 Mar 2007 00:25:54 +0000(svn r9082) -Codechange: [win32] Update VS2003 and VS2005 project files to use the same outpath, and 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).
Darkvater [Sat, 10 Mar 2007 00:25:54 +0000] rev 6599
(svn r9082) -Codechange: [win32] Update VS2003 and VS2005 project files to use the same outpath, and 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).
-Remove: [os/2] Relic project file remains from watcom