summaryrefslogtreecommitdiff
path: root/src/win32.cpp
AgeCommit message (Collapse)Author
2007-03-10(svn r9085) -Codechange/Fix: [win32] Move the initialisation of _codepage ↵Darkvater
(non-UNICODE) to winMain as a dedicated server, or different video driver will not have a win32 messageloop.
2007-03-10(svn r9084) -Fix: [win9x] Clipboard paste for Windows95 (doesn't have ↵Darkvater
CF_UNICODETEXT) correctly converts the input to the current locale.
2007-03-07(svn r9055) -Codechange: Change windows unicode handling and allow a pure ↵Darkvater
non-unicode build to function. Win9x binaries will be possible with mingw/nightly system.
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-03-06(svn r9043) -Fix [FS#652]: the personal (.openttd) directories were hidden ↵rubidium
in the load/save directory listings (stepancheg).
2007-03-02(svn r8975) -Regression: [win32] Possible buffer overflow if unicode text is ↵Darkvater
pasted into an input box and needs trimming. The last character was wrongly assumed to be of length 1 (tb->maxlength - 1), while a unicode character can be up to 4 long.
2007-02-27(svn r8933) -Fix [Win64]: rdtsc now uses intrinsic on VC8 (michi_cc)KUDr
2007-02-27(svn r8919) -Regression (UTF8) (try #2): Win9x is very picky about trailing ↵Darkvater
slashes in paths, so C:\\* will not work (but C:\Windows\\* does; go figure). Thanks glx for pointing it out and for the initial fix.
2007-02-23(svn r8860) -Cleanup: some style changes, proper #endif comments, variable ↵Darkvater
initialisation, WINCE ifdef and a vsprintf to vsnprintf change.
2007-02-23(svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp ↵belugas
files with the @file tag as well as a few general comments style
2007-02-20(svn r8824) -Fix (r8821): don't use MSVC2005 runtime library-only ↵Darkvater
_snwprintf_s function, but use 'insecure/deprecated' version and zero-terminate string ourselves. Thanks for testing glx.
2007-02-20(svn r8821) -Regression: Unable to browse directories on *nix if the ↵Darkvater
filesystem is not in UTF-8 charset and special characters are used. The string passed to opendir() which is UTF-8 was not parsed back to the filesystem format. Use a wrapper called ttd_opendir() instead of redefining opendir itself.
2007-02-01(svn r8508) -Codechange (r5762): [win32] Use an atomic operation to query ↵Darkvater
and set the value of _global_dir_is_in_use for opendir etc to guarantee concurrency.
2007-01-21(svn r8309) [WinCE] -Fix: WinCE doesn't know resolution changingtruelight
-Fix: WinCE doesn't know GetKeyboardState -Fix: made a replacement of GetCurrentDirectory, where CurDir is assumed to be the dir the executable is located (esoftinteractive.com) -Fix: the GCC compiler is more happy if the WinMain is called that -Fix: a really old typo (missing ')') ;) -Fix: GdiFlush() isn't supported on WinCE
2007-01-18(svn r8239) -Regression (r7278): Help window was empty for UNICODE buildsDarkvater
2007-01-14(svn r8134) -Fix (r8013): Add a newline after the ShowInfo console outputDarkvater
2007-01-11(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the ↵KUDr
pointer to allocated memory instead of modifying the pointer given as parameter
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)