Dan Kegel
88eba44645
Added check for illegal pipe names.
...
Added regression test.
2003-02-19 22:06:36 +00:00
Jukka Heinonen
1868b026c1
When updating the edited line, remember to update attributes, too.
2003-02-19 03:42:06 +00:00
Martin Fuchs
95ffdc1db4
Fixed time zone calculation.
2003-02-11 22:12:41 +00:00
Alexandre Julliard
b7a8eefb2b
Authors: Francois Gouget <fgouget@free.fr>, With help from Enio Schutt Jr <enio.s.jr@operamail.com>
...
Skip the overlapped I/O tests on files on Win9x.
2003-02-11 22:11:56 +00:00
Alexandre Julliard
43690e9e47
Removed no longer needed inclusion of heap.h.
2003-01-24 00:54:58 +00:00
Francois Gouget
2a56437f72
{Get,Set}ThreadPriorityBoost are stubs on Win98.
2003-01-20 23:26:09 +00:00
Bill Medland
37bbb1c26e
Correct GetDateFormat handling of uninitialised fields: only the year,
...
month and day fields matter; the rest may be uninitialised.
2003-01-16 00:18:34 +00:00
Francois Gouget
9b0b1e078a
Remove (POINTER)NULL casts.
2003-01-14 23:43:41 +00:00
Robert Shearman
bda22de541
- Add some stubs.
...
- Implement kernel32.FatalExit.
2003-01-13 20:44:13 +00:00
Eric Pouech
a2534ca00f
Added tests for environment variables, debug and suspend flags.
2003-01-13 18:28:43 +00:00
Eric Pouech
fa8b85aa5c
Set the edition mode as a specific attribute, not an extension of the
...
console mode.
2003-01-09 06:01:32 +00:00
Dimitrie O. Paun
4a883a55f6
Collapse the -hHrs options into the -O option.
...
Generate .res files by default.
2003-01-09 00:03:53 +00:00
Eric Pouech
2359b57574
- no longer depend on toolhelp definitions for generating snapshots
...
- added get_dll_info request
2003-01-09 00:01:28 +00:00
Dimitrie O. Paun
297f3d898d
Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them.
2003-01-07 20:36:20 +00:00
Dominik Strasser
ab8247ae5f
Implement VerSetConditionMask by forwarding to ntdll.
2003-01-03 03:03:07 +00:00
Alberto Massari
c019f53568
Add stub implementation for ReplaceFile.
2003-01-02 19:24:42 +00:00
Eric Pouech
0fcada9fa7
Removed unused #include of module.h.
2003-01-02 17:59:47 +00:00
Chris Morgan
761dc0d626
Use the locale id we created instead of the system or user default,
...
otherwise some tests are broken on systems where things aren't
english/us.
2003-01-02 17:47:22 +00:00
Francois Gouget
979770b1ca
On Win9x "hi\n" gives us "hi\r\n".
2002-12-19 21:12:48 +00:00
Chris Morgan
8bf2c059bc
Add additional tests for GetTimeFormat() and GetDateFormat().
...
Uncomment wine_todo tests that now succeed with fixes to
GetTime/DateFormat().
2002-12-19 21:12:09 +00:00
Martin Fuchs
09746293f3
Implementation of SystemTimeToTzSpecificLocalTime() and
...
TzSpecificLocalTimeToSystemTime().
2002-12-19 04:12:42 +00:00
Francois Gouget
305ead6205
Declare LocalDiscard and GlobalDiscard (used by kernel/tests/alloc.c)
...
Remove the DISCARD_DEFINED #ifdefs.
Remove another double HeapFree (caused an assert when run on NT4),
and a HeapSize on a freed heap (the test failed on Win9x).
Fix the LocalLock/LocalUnlock tests (the memory must be allocated
with LMEM_MOVEABLE otherwise the tests don't make sense).
Remove many unnecessary casts.
Improved error reporting somewhat.
2002-12-19 01:03:48 +00:00
Francois Gouget
4b1479c990
Improve error reporting.
2002-12-18 20:52:00 +00:00
Francois Gouget
52614c62e4
All filenames containing a ":" are invalid on Win9x and 2000 but are
...
valid on NT4 -> remove these tests.
2002-12-18 20:51:48 +00:00
Francois Gouget
4f38047987
#ifdef-out decodeW since it is not used yet.
...
Fix the lpDesktop and lpTitle checks on NT platforms.
2002-12-18 20:51:33 +00:00
Francois Gouget
45d261374c
Use strlen or lstrlenA as appropriate to avoid signed/unsigned
...
warnings.
2002-12-18 02:22:51 +00:00
Alexandre Julliard
9e8e5ff71d
Implemented the Fiber* functions (with the help of Huw Davies).
2002-12-17 21:06:25 +00:00
Andreas Mohr
3873fb8958
Added some Win3.1 export stubs.
2002-12-16 22:10:10 +00:00
Alexandre Julliard
470cbf2757
Added support for defining forward functions as stdcall so that we can
...
get the proper number of arguments for stdcall decoration.
2002-12-15 01:22:40 +00:00
Alexandre Julliard
dcc3afd259
Avoid casts between LARGE_INTEGER and FILETIME.
...
Fixed day of week of epoch.
Small cleanups.
2002-12-13 20:53:04 +00:00
György 'Nog' Jeney
f7694794de
- Reimplement time functions using ntdll functions.
...
- Some cleanups.
2002-12-13 20:30:06 +00:00
Dimitrie O. Paun
737d4be892
Move excpt.h out of include/msvcrt/ as it does not conflict with any
...
standard Unix header.
2002-12-12 23:34:01 +00:00
Francois Gouget
b42b9ddb73
Mention the applications that depend on the behavior checked by the
...
GetLocaleInfoA partial buffer test.
2002-12-12 22:25:23 +00:00
Alexandre Julliard
dbf8b78acd
Added .spec.def files.
2002-12-12 22:04:04 +00:00
Francois Gouget
f73e00873c
Don't test whether Get{Currency,Date,Number,Time}FormatA writes as
...
much as possible in the buffer even if it is too small. This is
undocumented and does not match the Win9x behavior.
Skip Unicode tests on Win9x.
Fix usage of memset/sizeof/COUNTOF.
Fix signed/unsigned warnings (in MSVC) by using lstrlenA instead of
strlen.
2002-12-12 03:56:09 +00:00
Francois Gouget
4b97e24380
Add stubs for missing APIs.
2002-12-12 03:55:05 +00:00
Francois Gouget
50c433bba9
Skip the Unicode tests on Win9x.
...
Test Get{System,Windows}Directory{A,W}(NULL, 0). This is a more
standard way to get len_with_null too.
Adapt the error code checks to take into account variations between
Win9x and NT.
2002-12-12 03:54:23 +00:00
Francois Gouget
e948ad1fc7
Fix the error codes returned by DeleteFile{A,W} to match NT.
...
Adapt the DeleteFileA error code checks to take into account variations
between Win9x and NT.
Test DeleteFile(NULL).
Add tests for DeleteFileW.
On NT, calling _lclose on an already closed handle will cause memory
corruption and thus sometimes crash -> removed the relevant test.
Skip the Unicode tests when on Win9x.
2002-12-12 03:54:01 +00:00
Francois Gouget
3773035a6d
The Win9x platforms support WideCharToMultiByte and
...
MultiByteToWideChar but not lstrcmpW! So I implemented our own so
that we can have a meaningful test.
2002-12-12 02:16:29 +00:00
Alexandre Julliard
2a93f8505c
Pass the -J option to wrc to avoid including installed headers.
2002-12-11 01:34:51 +00:00
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
Alexandre Julliard
7aee90762a
Merged wine_call_to_16_long and wine_call_to_16_short into a single
...
function.
2002-10-18 00:29:32 +00:00
Stefan Leichter
acbb639240
BuildCommDCBAndTimeoutsA: Made the argument parsing case insensitive.
2002-10-18 00:21:39 +00:00
Alexandre Julliard
011605edf3
Use the WOWHandle functions to convert between task handle and thread
...
id. Stop exporting TASK_GetPtr and THREAD_IdToTEB from kernel.
2002-10-17 18:26:53 +00:00
Patrik Stridvall
ebf582cd48
Updated the generated tests.
2002-10-15 01:53:45 +00:00
Jeff Smith
28f14ba5ff
Spelling corrections.
2002-10-09 18:14:24 +00:00
Steve Lustbader
5795143368
Provide stubs for Create/DeleteTimerQueueTimer.
2002-10-07 21:46:02 +00:00
Steve Lustbader
2fbd4a0118
Implement GetUserDefaultUILanguage and GetSystemDefaultUILanguage.
2002-10-07 18:27:06 +00:00
Dmitry Timoshkov
c8ab54d158
Fixed atom test to work on Windows.
2002-10-04 17:45:00 +00:00
Dmitry Timoshkov
3139b927b2
Added a prototype code page test. Fixed issue regarding negative
...
source length handling.
2002-10-04 17:42:27 +00:00
Alexandre Julliard
54f228733a
Added process_id_t and thread_it_t types to the server interface
...
instead of using void*, and removed a number of type casts.
2002-10-03 19:54:57 +00:00