Commit Graph

408 Commits

Author SHA1 Message Date
György 'Nog' Jeney 4d6ba25d4b - Implement RtlLocalTimeToSystemTime and RtlSystemTimeToLocalTime.
- Use new time functions to reimplement FileTimeToLocalTime and
  LocalTimeToFileTime.
2002-12-11 00:19:56 +00:00
Francois Gouget d705b7c019 '"' is an illegal character on Win9x so we cannot test it.
GetShortPathNameA behaves differently on Win9x and NT: on NT it
succeeds even if not all path components exist, as long as they are
already in the 8.3 format.
Wine apparently implements the NT behavior thus many todo_wine went
away.
Fixed some error code checks to take into account all possible return
values.
GetTempFileNameA appears to only use the lower 16bits of the id on
Win95 (and never returns more than 16 bits on other platforms).
GetLongPathNameA is missing on some Windows versions.
Modified the GetTempPath tests to make sure they return the expected
value. Removed the redundant tests (e.g. if buf[0]==0 then buf!="foo",
no need to test both).
The 'len_with_null - 1' case is not testable as the Windows behavior
varies too much between versions.
We cannot check whether Windows touches the buffer either as this
heavily depends on the Windows version and specific circumstances of
the call.
Finally NT4 sometimes exaggerates the required buffer size.
2002-12-11 00:16:31 +00:00
Jukka Heinonen 1cfc850b2c Move int08 stub and LOL to upper memory.
Move simple int21 functions to winedos.
2002-12-07 23:46:41 +00:00
Jukka Heinonen 7b7f198786 Move DPMI segments to winedos. 2002-12-02 21:39:58 +00:00
Jukka Heinonen 742142521a Rename old DOS3Call as INT_Int21Handler and make new DOS3Call call
directly winedos int21 handler.
2002-12-02 18:58:32 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Hleb Valoska 684444e67b Some fixes to Belarusian locale. 2002-11-30 19:05:59 +00:00
Francois Gouget 952407b1e0 {Get,Set}ThreadPriorityBoost and SetThreadIdealProcessor are missing
on Win95 -> use GetProcAddress.
Cleanup the handling of OpenThread.
Check SuspendThread after a thread terminates (needed by Ipix).
Remove unnecessary version checks (check for
ERROR_CALL_NOT_IMPLEMENTED and similar instead).
Cleanup casts, signed/unsigned comparisons.
2002-11-30 19:03:19 +00:00
Francois Gouget f465a8d658 GetDiskFreeSpace(all NULLs) crashes on NT4 -> removed.
GetDiskFreeSpace("." | "..") fails on Win98 and NT4 but succeeds on XP
-> removed.
Skip the GetDiskFreeSpace tests on floppy drives because NT pops up a
MessageBox if no floppy is present.
Fix the error code checks to take into account the differences between
Win9x, NT4 and XP.
Skip the unicode tests if the first call returns
ERROR_CALL_NOT_IMPLEMENTED.
Whenever a test fails, print sufficient information (typically return
code and GetLastError()!) to let the developer figure out what is
wrong.
2002-11-30 19:02:53 +00:00
Francois Gouget 3475b9edc9 SetEnvironmentVariableA(NULL, NULL) crashes on Win98 -> removed.
SetEnvironmentVariableA("", value) crashes on NT4 -> removed.
The behavior of SetEnvironmentVariableA("", "") varies to much ->
removed.
Test the behavior of SetEnvironmentVariable{A,W}(name, "") taking into
account the differences between Win9x and NT.
Test the behavior of GetEnvironmentVariable{A,W}(name, buf, 0).
Fix the error code checks to take into account the differences between
Win9x, NT4 and XP.
Skip the unicode tests if the first call returns
ERROR_CALL_NOT_IMPLEMENTED.
Whenever a test fails, print sufficient information (typically return
code and GetLastError()!) to let the developer figure out what is
wrong.
2002-11-30 19:02:22 +00:00
Alexandre Julliard 5926cea79f Partially implemented kernel/user times in GetThreadTimes (based on a
patch by Ryan Cumming).
2002-11-30 01:56:56 +00:00
Steve Lustbader e45b1e5cd8 Provide stubs for DnsHostnameToComputerNameA/W. 2002-11-27 21:38:06 +00:00
Patrik Stridvall 6cd866b0e6 Fixed some issues found by winapi_check. 2002-11-27 20:21:24 +00:00
Jukka Heinonen 3546290285 Moved handlers for int25 and int26 to winedos. 2002-11-27 20:18:50 +00:00
Bill Medland 5a29089727 Correct GetNumberFormatA for zero decimals and for zero grouping. 2002-11-27 20:13:22 +00:00
Steve Lustbader a2e1222486 Stubs for CreateTimerQueue and DeleteTimerQueueEx. 2002-11-25 20:51:31 +00:00
Alexandre Julliard 2696ae4c4b Moved some GetThreadTimes tests out of the todo block. 2002-11-25 01:34:23 +00:00
György 'Nog' Jeney 6f3015b8ee - Move SetSystemTime, GetTimeZoneInformation and
SetTimeZoneInformation implementation to ntdll.
- Docu updates.
2002-11-25 01:12:39 +00:00
Jukka Heinonen 98058eb14d Moved handlers for int11, int15 and int5c to winedos. 2002-11-24 22:34:04 +00:00
Jukka Heinonen ab163db7c0 Move int2f handler to winedos.
Clean winedos headers a bit.
2002-11-23 02:23:54 +00:00
Marcus Meissner 5163752e8e Handle the COORD <-> DWORD conversion the canonical way. 2002-11-21 23:45:31 +00:00
Jukka Heinonen 1a665058e8 Removed last users of msdos/interrupts.c. 2002-11-21 00:02:09 +00:00
Jukka Heinonen 56dff0d4df Remove some Win32s specific code. 2002-11-20 19:40:12 +00:00
Jukka Heinonen 1a6afad1a4 Removed obsolete code. 2002-11-20 19:39:11 +00:00
Alexandre Julliard a9135e8333 Removed support for 'rsrc' spec file statement. 2002-11-18 23:16:09 +00:00
Vincent Béron 2b226866e3 Added netdb.h protection. 2002-11-18 23:12:15 +00:00
Jukka Heinonen 02e177759d Removed obsolete INT_Int31Handler. 2002-11-18 22:53:38 +00:00
Alexandre Julliard 9f029b7d5e Warning fixes. 2002-11-15 04:17:00 +00:00
Ryan Cumming 4cda16e03b Implemented GetFileSizeEx (based on a patch by Steve Lustbader). 2002-11-15 04:12:10 +00:00
Martin Wilck 6d886a52b3 - Allow setting NetBIOS ComputerName through registry.
- Keep old behavior as default, using new config option to change.
- Implement SetComputerName(), SetComputerNameEx(),
  GetComputerNameEx().
- ComputerName initialization moved to kernel32.
2002-11-15 01:01:47 +00:00
Jukka Heinonen 416c2aeb00 Move simple interrupt handlers to winedos. 2002-11-12 23:29:48 +00:00
Ryan Cumming c4aa073705 Add test for DeleteFileA with empty paths. 2002-11-12 02:11:52 +00:00
Patrik Stridvall 9398d9c129 Updated the generated tests. 2002-11-12 01:13:10 +00:00
Jukka Heinonen 69f74dbf0e Move all int31 functions to winedos.
Fix some obvious bugs in int31 functions.
2002-11-11 19:55:52 +00:00
Ryan Cumming 1bc18f3da7 Remove OLE_GetFormatA, reimplement GetDateFormatA and GetTimeFormatA
as wrappers around their Unicode versions.
2002-11-08 18:51:56 +00:00
Patrik Stridvall 74476416b0 Updated the generated tests. 2002-11-06 21:59:15 +00:00
Alexandre Julliard 910851a20e Added winebuild -e option to specify the entry point and removed the
'init' spec file directive.
Winebuild long options now use a more standard double dash format
(older format still supported for backwards compatibility).
2002-11-06 20:02:59 +00:00
Ryan Cumming 937d0b2411 Handle FORMAT_MESSAGE_FROM_HMODULE and FORMAT_MESSAGE_FROM_SYSTEM both
being set at once.
2002-11-04 23:49:53 +00:00
Patrik Stridvall df7ffb8017 Updated the generated tests. 2002-11-04 22:40:40 +00:00
Jukka Heinonen 6f6abac4f1 Modify winedos interrupt handlers so that they work with PM
interrupts.
Add forwarding functions for handlers in other DLLs.
Make DOSVM_GetBuiltinHandler use static table instead of
GetProcAddress.
2002-10-29 23:09:30 +00:00
Patrik Stridvall 199acb77f1 Added some defines for compatibility with Windows headers. 2002-10-29 21:26:42 +00:00
Eric Pouech 6b2057174b Silence unneeded ERR while converting tasks. 2002-10-29 21:26:23 +00:00
Patrik Stridvall 7d226139e9 Updated the generated tests. 2002-10-29 21:24:09 +00:00
Michael Stefaniuc 308e04fc61 Compile the kernel dll with -DSTRICT. 2002-10-25 21:02:30 +00:00
Andreas Mohr 6e256c72fe - fix some pselling
- enhance some TRACEs
2002-10-25 19:09:02 +00:00
Bill Medland 9134f37e27 Fix OLE_GetFormatW so that GetDateFormatW works.
Rearranged for simplicity.
2002-10-25 19:02:26 +00:00
Patrik Stridvall 1298eb4053 Fixed mismatches between the Wine headers and the Microsoft headers. 2002-10-23 18:50:10 +00:00
Patrik Stridvall ab974c310c Updated the generated tests. 2002-10-23 18:45:15 +00:00
Alexandre Julliard 23bb3715f7 Added support for building certain dlls with -DSTRICT.
Added -DWINE_NO_STRICT flag to dlls that don't support STRICT yet.
2002-10-18 23:46:28 +00:00
Alexandre Julliard 168284318b Added FIXMEs for metafile and fullhwnd handle conversions that aren't
supported properly yet.
2002-10-18 23:35:24 +00:00