Erik Inge Bolsø
e8754b8ea6
kernel32: Fix PROFILE_Load to handle mac line endings.
2008-09-23 13:07:40 +02:00
Paul Vriens
1c5043e73d
kernel32/tests: Add extra tests for SetCurrentDirectory.
2008-09-22 12:16:46 +02:00
Paul Vriens
7cb7c14476
kernel32/tests: Make sure we can remove a test directory.
2008-09-22 12:16:07 +02:00
Paul Vriens
e23904ceb9
kernel32/tests: Fix tests on NT4.
2008-09-22 12:16:00 +02:00
Paul Vriens
40a94e04b4
kernel32/tests: Skip some tests on win9x.
2008-09-22 12:15:24 +02:00
Paul Vriens
ed55217444
kernel32/tests: Use skip instead of trace.
2008-09-22 12:15:17 +02:00
Francois Gouget
7af03a041a
kernel32/tests: Fix compilation on systems that don't support nameless unions.
2008-09-22 11:51:56 +02:00
Alexandre Julliard
7e54db23e9
kernel32/tests: Fix a couple of tests failing on NT4.
2008-09-19 14:03:40 +02:00
Alexandre Julliard
ea39761d3a
kernel32/tests: Fix race condition in the thread test.
2008-09-19 12:21:45 +02:00
Jeff Zaroyko
22a33168c9
kernel32: Modify DeleteFileW to fail on directories.
2008-09-18 12:32:57 +02:00
Alexandre Julliard
382ef908f1
kernel32/tests: Handle the win2k3 version check behavior.
2008-09-17 16:29:53 +02:00
Rob Shearman
1229e0ab29
kernel32: Fix character count passed to GlobalGetAtomNameW in test_get_atom_name.
2008-09-17 12:01:57 +02:00
Dmitry Timoshkov
b4e6aa645b
kernel32: Fix the target buffer size.
2008-09-17 10:54:48 +02:00
Vitaliy Margolen
c51ca17892
kernel32: Use NULL attributes if name and SA are not not specified.
2008-09-17 10:54:32 +02:00
Alexandre Julliard
b1412422ad
kernel32/tests: Comment out an UpdateResource call that causes failures.
2008-09-16 22:36:58 +02:00
Alexandre Julliard
337fa823d2
kernel32/tests: Support alternate results in the loader test on Vista.
2008-09-16 22:36:42 +02:00
Alexandre Julliard
9f0773587b
kernel32/tests: Fix a test on win9x.
2008-09-16 22:36:04 +02:00
Roy Shea
91e33020f0
kernel32/test: Test import entries of a core windows DLL.
2008-09-15 11:55:04 +02:00
Marcus Meissner
395c4163b8
kernel32/tests: Pass correct size to MultiBytetoWideChar.
2008-09-15 11:44:14 +02:00
Michael Karcher
fe09bc1a39
kernel32: Clean up PROFILE_isspaceW.
2008-09-15 11:43:13 +02:00
Vitaliy Margolen
0b6f677d10
kernel32: Use FileStandardInformation to get file size.
2008-09-15 11:28:37 +02:00
Paul Vriens
d81aff24c6
kernel32/tests: Skip tests on Win95.
2008-09-15 11:23:34 +02:00
Alexandre Julliard
c9f84aa9f9
kernel32/tests: Fix the ResumeThread on win9x.
2008-09-11 14:10:35 +02:00
Alexandre Julliard
33c5d44d49
kernel32/tests: Fix the BindIoCompletionCallback test on Vista.
2008-09-11 14:07:54 +02:00
Alexandre Julliard
f0bf098e16
kernel32/tests: Fix the async I/O test to handle errors properly.
2008-09-11 13:49:16 +02:00
Alexandre Julliard
ee375f7c22
kernel32: Added implementation for UnregisterWaitEx.
2008-09-11 11:49:40 +02:00
Dmitry Timoshkov
4d672ba090
kernel32: Use a kernel error code.
2008-09-11 11:46:02 +02:00
Paul Vriens
5737fb815c
kernel32/tests: Fix a few failures on win98.
2008-09-08 12:49:12 +02:00
Paul Vriens
c461eba067
kernel32/tests: Fix 2 tests on win9x.
2008-09-08 12:49:12 +02:00
Paul Vriens
c3a58cc7d8
kernel32/tests: Fix a few tests on win9x.
2008-09-08 12:49:12 +02:00
Francois Gouget
d8914673ba
kernel32/tests: Add a trailing '\n' to an ok() call.
2008-09-05 13:39:13 +02:00
Paul Vriens
94b73a6d04
kernel32/tests: Split the test for ret and last error.
2008-09-05 11:20:59 +02:00
Alexandre Julliard
b44a109b8c
kernel32: Implemented the wrapper functions for job objects.
2008-09-04 22:51:02 +02:00
Jeff Zaroyko
1b5873accc
kernel32: Add some tests for DeleteFile.
2008-09-03 14:21:44 +02:00
James Hawkins
d6bb1d9a70
kernel32: Fix a failing test in win95.
2008-09-03 14:21:42 +02:00
James Hawkins
57cda911a9
kernel32: Fix a test that fails in win2k3.
2008-09-03 13:14:50 +02:00
James Hawkins
731306bf78
kernel32: Fix two tests that fail in win2k3 and modify LoadLibraryEx to match this behavior.
2008-09-03 13:14:50 +02:00
James Hawkins
b1ff962182
kernel32: Fix a failing test in Vista.
2008-09-03 13:14:50 +02:00
James Hawkins
816f57cbb1
kernel32: Add tests for LoadLibraryEx.
2008-08-29 13:29:36 +02:00
James Hawkins
7d7d799284
kernel32: Trace the last error on failure.
2008-08-29 13:23:03 +02:00
James Hawkins
806edcc496
kernel32: Fix two failing tests in win95.
2008-08-29 13:22:55 +02:00
James Hawkins
39732cf927
kernel32: Trace the modified buffer on error.
2008-08-29 13:22:50 +02:00
James Hawkins
9aef134bdc
kernel32: Fix a failing test in win95.
2008-08-29 13:22:31 +02:00
Paul Vriens
56ba2baa01
kernel32/tests: Use skip instead of trace.
2008-08-26 10:57:50 +02:00
Paul Vriens
ac07480fab
kernel32/tests: Use a file that is available on all platforms.
2008-08-26 10:57:05 +02:00
Paul Vriens
920c1fc77a
kernel32/tests: Fix two failures on win9x.
2008-08-26 10:56:58 +02:00
Alexandre Julliard
49421014b7
kernel32: Fix a compiler warning on Mac OS.
2008-08-21 16:04:58 +02:00
Alexander Nicolaysen Sørnes
edf48ea287
kernel32/winerr: Add Norwegian Bokmål translation.
2008-08-21 12:51:56 +02:00
Michael Karcher
34aa6b7002
kernel32: Fix profile cache logic and don't cache new files.
2008-08-20 14:56:15 +02:00
Alexander Morozov
ea1e7555a9
kernel32: Fix a typo.
2008-08-20 10:23:17 +02:00
Michael Karcher
c2a26cee16
kernel32/tests: Fix profile crash on NT and up.
2008-08-19 15:19:29 +02:00
Rob Shearman
e1e6caf81c
kernel32: Fix a typo in the leadin check in WaitNamedPipeW.
2008-08-18 17:34:13 +02:00
Michael Karcher
33ca67dcab
kernel32: Fix profile sharing mode.
...
Based on a patch from Austin English.
2008-08-18 17:15:56 +02:00
Ken Thomases
59bf036c80
kernel32: Strip modifiers from the Mac locale so setlocale can parse it.
...
The CFLocale API can produce locale identifiers with modifiers, such as
"pl_PL@currency=EUR". However, the Mac setlocale() can't understand such
locale strings.
2008-08-18 14:34:10 +02:00
Huw Davies
d5f6d841c1
kernel32: GetCalendarInfo shouldn't return HRESULT codes. Change a MESSAGE to a FIXME.
2008-08-18 13:37:31 +02:00
Paul Vriens
0d88bf89dc
kernel32/tests: Show the setting of the debugger registry value.
2008-08-05 14:09:37 +02:00
Paul Vriens
7661c6989d
kernel32/tests: Fix a test failure on Win9x.
2008-08-05 14:09:34 +02:00
Francois Gouget
a793888a28
Assorted spelling fixes.
2008-08-04 13:04:48 +02:00
Paul Vriens
b2093dc86a
kernel32/tests: Skip tests when codepage is not available.
2008-08-04 13:01:24 +02:00
Colin Finck
eb8a6f70f5
kernel32/tests: Fix a wrong length passed to a WideCharToMultiByte test, which led to a use of uninitialized stack memory.
2008-08-01 11:18:11 +02:00
Colin Finck
c2c1a55f1c
kernel32: Add a lot of new tests for the actual WideCharToMultiByte string conversion as well.
2008-07-31 14:09:07 +02:00
Dan Hipschman
54752c4f87
kernel32/tests: Add tests for undocumented default timer queue "features".
2008-07-30 12:44:31 +02:00
Dan Hipschman
a148e190af
ntdll: Add support for a default timer queue.
2008-07-30 12:44:25 +02:00
Detlef Riekenberg
5437f4ce9c
kernel32/tests: Fix a crash on win9x (lpDefault is truncated inplace).
2008-07-28 11:35:38 +02:00
Dan Hipschman
2b287a4489
ntdll: Fix a small timer-queue bug whereby a deleted timer may still expire.
2008-07-28 11:32:21 +02:00
Dan Hipschman
4c64d0cdfa
ntdll: Implement RtlDeleteTimer for kernel32's DeleteTimerQueueTimer.
2008-07-25 14:09:15 +02:00
Dan Hipschman
396e47ef5c
ntdll: Implement RtlUpdateTimer for kernel32's ChangeTimerQueueTimer.
2008-07-25 14:09:15 +02:00
Dan Hipschman
5ef54c4cec
ntdll: Implement the timer queue thread.
2008-07-25 14:09:15 +02:00
Cesar Eduardo Barros
fee6b384e1
kernel32: Add stub for CreateHardLink.
2008-07-25 13:21:23 +02:00
Nicolas Le Cam
eb612fd4dc
kernel32/tests: Fix a failing test in Vista.
2008-07-23 13:54:06 +02:00
Dan Hipschman
d343f2baf7
ntdll: Implement RtlCreateTimer for kernel32's CreateTimerQueueTimer.
2008-07-23 11:24:03 +02:00
H. Verbeet
ff870e0132
server: Calling ResumeThread() on a terminated thread is valid.
2008-07-23 11:21:47 +02:00
Dan Hipschman
20a1ca2bbf
ntdll: Implement [Rtl]Create/DeleteTimerQueue[Ex].
2008-07-22 13:24:21 +02:00
Dan Hipschman
09f4ca64e2
kernel32/tests: Check that timers are not NULL in timer queue tests.
2008-07-22 13:21:48 +02:00
Dan Hipschman
bf0f78b11a
kernel32/tests: Add tests for Change/DeleteTimerQueueTimer.
2008-07-22 13:21:29 +02:00
Detlef Riekenberg
f8dea7ab2d
kernel32/tests: Run the tests again on Win9x.
2008-07-22 13:21:12 +02:00
Dan Hipschman
ecd76fb77c
kernel32: Add a stub for ChangeTimerQueueTimer.
2008-07-22 13:21:01 +02:00
Francois Gouget
bc5ce27947
Assorted spelling fixes.
2008-07-21 13:00:01 +02:00
James Hawkins
978a931781
kernel32: Don't get the profile string if the buffer length is zero.
2008-07-18 11:31:59 +02:00
Dan Hipschman
fc325c7674
kernel32/tests: Add tests for timer queues.
2008-07-17 13:15:29 +02:00
James Hawkins
3fb196fb57
kernel32: Return the default value if lpKeyName is empty.
2008-07-17 11:38:19 +02:00
James Hawkins
7e9df53f38
kernel32: Fix removing trailing spaces from lpDefault for GetPrivateProfileString.
2008-07-17 11:37:55 +02:00
James Hawkins
e5705eae84
kernel32: Add tests for GetPrivateProfileString.
2008-07-17 11:37:02 +02:00
Dan Hipschman
c70e6125bf
kernel32/tests: Fix p_BindIoCompletionCallback declaration so it compiles with the MS compiler.
2008-07-16 17:54:59 +02:00
Andrew Talbot
dffba6aa4b
kernel32: Remove unneeded address-of operators from array names.
2008-07-11 14:06:06 +02:00
Alexandre Julliard
5861612e86
kernel32: Set the stdin/stdout file descriptors to match the specified Win32 handles when possible.
2008-07-10 12:20:56 +02:00
Alexandre Julliard
f3bf2a7045
kernel32: Use a proper structure for thunks instead of an array of WORDs.
2008-07-03 18:15:03 +02:00
Alexandre Julliard
94e217891c
exception.h: Make the RtlUnwind wrapper available separately.
...
Also avoid dependency on winternl.h.
2008-07-03 13:08:19 +02:00
James Hawkins
c737542782
kernel32: Fix test failures because of a broken ReplaceFile in win2k.
2008-07-02 12:05:34 +02:00
James Hawkins
63ac79f4d5
kernel32: Don't test for HARDDISK and RAMDISK on win9x.
2008-06-30 15:05:40 +02:00
James Hawkins
03d23bd43d
kernel32: Fix a few test failures in win9x.
2008-06-30 15:05:32 +02:00
James Hawkins
ac5885ef41
kernel32: Fix a few test failures in win9x.
2008-06-30 15:05:19 +02:00
James Hawkins
3361f0c4fd
kernel32: Fix a test failure in win9x.
2008-06-30 15:05:13 +02:00
Kirill K. Smirnov
a470c0b017
kernel32: Add stubs for [G|S]etConsoleDisplayMode.
2008-06-27 11:29:07 +02:00
Paul Vriens
dd01d39f3b
kernel32: Fix return values of GetConsoleCursorInfo.
2008-06-24 12:47:18 +02:00
Paul Vriens
296bbde1c1
kernel32/tests: Add some tests for GetConsoleCursorInfo.
2008-06-24 12:45:25 +02:00
Zhangrong Huang
ebe2ae146c
kernel32: Add locale script tag resources.
2008-06-24 12:39:27 +02:00
Dan Hipschman
e22af18e7a
kernel32/tests: Add tests for TLS functions.
2008-06-23 14:04:31 +02:00
Jon Griffiths
1ad733e4e0
ntdll: Implement [Rtl]InitializeCriticalSectionEx.
2008-06-23 14:04:24 +02:00
Mikołaj Zalewski
dfe4747b1e
kernel32: Improve Esperanto locale definition.
2008-06-23 12:46:45 +02:00
Dan Kegel
98fba5e56a
kernel32/tests: Initialize a few variables.
2008-06-23 12:46:20 +02:00
Huw Davies
6e2827ec29
kernel32: Fix typo.
2008-06-20 11:19:30 +02:00
Louis Lenders
d9fa87382e
kernel32: Fix typo in SetProcessAffinityMask.
2008-06-20 11:18:06 +02:00
Alexandre Julliard
122055effd
kernel32: The first argument of GetBinaryType is a string.
2008-06-20 09:38:33 +02:00
Dmitry Timoshkov
2a98f9b0b0
kernel32: Make GetModuleFileName set ERROR_INSUFFICIENT_BUFFER like win2k3 and vista do.
2008-06-18 15:21:49 +02:00
Paul Vriens
8fb9503c6d
kernel32/tests: Skip tests if function is not implemented.
2008-06-13 12:07:49 +02:00
Paul Vriens
e7f5c45cf9
kernel32/tests: Fix a few typos.
2008-06-13 12:07:43 +02:00
Alexandre Julliard
3cb0bcff83
kernel32/tests: Use Local instead of Global prefix to avoid permission issues.
2008-06-10 17:44:57 +02:00
Alexandre Julliard
af785c4d0f
kernel32/tests: Fix the change notification test on Vista.
2008-06-10 17:44:41 +02:00
Alexandre Julliard
5b0c326679
kernel32/tests: Limit the number of failures in the ligatures test.
2008-06-10 11:55:01 +02:00
Alexandre Julliard
a991afae9b
kernel32/tests: Make the toolhelp test less verbose by default.
2008-06-10 11:34:11 +02:00
Dan Kegel
3b0924cf83
kernel32/tests: Initialize buffer.
2008-06-09 19:39:49 +02:00
Alexandre Julliard
3a84cbe742
kernel32: Add support for the execute protection values in CreateFileMappingW.
2008-06-09 19:11:25 +02:00
Paul Vriens
fe5b8ada64
kernel32/tests: Add a skip message for win95.
2008-06-09 12:39:29 +02:00
Jonathan Ernst
bcdfb88e53
kernel: Updated French translation.
2008-06-09 12:39:08 +02:00
Alexandre Julliard
ebb8311a4b
kernel32/tests: Don't check every single Unicode char if the tables are clearly not compatible.
2008-06-04 12:33:38 +02:00
James Hawkins
c81d36e989
kernel32: Remove two tests that produce different results for win9x and NT platforms.
2008-05-29 12:12:43 +02:00
Francois Gouget
2321017707
kernel32/tests: Get the tests running again on Win95.
2008-05-26 18:01:06 +02:00
James Hawkins
e92f9054dd
kernel32: Don't test the invalid locale 0 if it is enumerated.
2008-05-23 12:10:10 +02:00
Alexandre Julliard
284335229a
kernel32: Don't require write access on profile file when only reading.
2008-05-22 12:15:37 +02:00
Alexandre Julliard
9f76085c06
kernel32: File mapping names are case sensitive.
2008-05-21 20:45:11 +02:00
Alexandre Julliard
b62f3dee2d
kernel32: Waitable timer names are case sensitive.
2008-05-21 20:44:36 +02:00
Alexandre Julliard
116297d0c1
kernel32: Semaphore names are case sensitive.
2008-05-21 20:43:43 +02:00
Alexandre Julliard
c96752c044
kernel32: Event names are case sensitive.
2008-05-21 20:42:54 +02:00
Alexandre Julliard
e9793cc183
kernel32: Mutex names are case sensitive.
2008-05-21 20:41:45 +02:00
Alexandre Julliard
1dcaddee99
kernel32: Add some test cases for profile file sharing modes.
...
Based on a patch by Louis Lenders.
2008-05-21 14:23:44 +02:00
Alexandre Julliard
8b97263dae
kernel32: Fix the profile file sharing modes.
...
Based on a patch by Louis Lenders.
2008-05-21 14:23:29 +02:00
Dmitry Timoshkov
248cc53d86
kernel32: Update locale info for Esperanto.
2008-05-21 11:43:11 +02:00
James Hawkins
ed4e0a08bc
kernel32: Remove a test that fails on all platforms.
2008-05-20 15:43:54 +02:00
James Hawkins
362f2ceeaf
kernel32: Fix a debugger test that fails in win2k3.
2008-05-19 16:11:05 +02:00
Dan Kegel
fbaf037581
kernel32: comm.c: increase time slop.
2008-05-14 13:36:26 +02:00
Alexandre Julliard
12de7d7591
kernel32: Move the wineboot event wait so that 16-bit processes wait too.
2008-05-13 20:26:37 +02:00
Alexandre Julliard
4d1cf9c8c4
kernel32: Add a builtin 16-bit winhelp.exe.
...
This should be moved to winhlp32.exe once we support 16-bit modules in executables.
2008-05-13 18:50:50 +02:00
Paul Vriens
6e8f8a0529
kernel32/tests: Skip tests if codepage is not installed/available.
2008-05-12 11:41:51 +02:00
Maarten Lankhorst
864e24d2e5
kernel32: Fix temporary path test.
2008-05-08 11:10:44 +02:00
Maarten Lankhorst
db8e63af27
kernel32: Fix process tests to pass in Windows.
2008-05-08 11:10:40 +02:00
Alexandre Julliard
2dc9ed3006
winedos: Print better diagnostics when a DOS app fails to start.
2008-05-07 17:33:50 +02:00
Francois Gouget
633ee950a1
Assorted spelling fixes.
2008-05-07 12:07:11 +02:00
Alexandre Julliard
6477a1c1bf
kernel32: Set the USERPROFILE and ALLUSERSPROFILE environment variables based on the ProfileList registry keys.
2008-05-06 16:07:13 +02:00
Dmitry Timoshkov
fab78cdc8d
kernel32: Print in the trace pid and tid of the created process.
2008-05-06 11:25:50 +02:00
Dmitry Timoshkov
dca9f314a8
winoldap.mod: Wait until the 32-bit process starts up.
2008-05-05 19:46:16 +02:00
Paul Vriens
1cfad7f07f
kernel32/tests: Skip some tests on win98.
2008-05-02 16:18:02 +02:00
Paul Vriens
0a4eebd744
kernel32/tests: Don't run tests on win9x if we are out of memory.
2008-05-02 12:55:12 +02:00
Paul Vriens
d3c4e3d4a7
kernel32/tests: Fix tests on win9x.
2008-05-01 12:42:22 +02:00
James Hawkins
ed714d09b7
kernel32: Fix a test that fails in win2k3.
2008-04-25 14:53:22 +02:00
Alexandre Julliard
4073805aeb
kernel32: If necessary reload the environment after wineboot has run.
2008-04-24 11:53:45 +02:00
James Hawkins
4d07047d4e
kernel32: Fix a test that fails on win9x.
2008-04-23 14:29:50 +02:00
Austin English
c531e2abdb
Spelling fixes.
2008-04-23 12:31:07 +02:00
James Hawkins
603822ca8b
kernel32: Fix two tests that fail in win9x.
2008-04-21 13:36:02 +02:00
James Hawkins
99949cb21a
kernel32: Fix a test that fails in win9x.
2008-04-21 13:20:12 +02:00
James Hawkins
430a46fdf7
kernel32: Skip the screen buffer tests if codepage 866 is not available.
2008-04-21 13:20:12 +02:00
Andrew Talbot
7d2c11e3a4
kernel32: Remove unused variables.
2008-04-21 12:10:36 +02:00
Alexandre Julliard
05e55edd82
kernel32: Create the windows and system directories if necessary.
2008-04-17 20:33:47 +02:00
James Hawkins
c5ebc4acb0
kernel32: Fix a test that fails in win2k and up.
2008-04-17 12:51:06 +02:00
James Hawkins
c009d1e9c4
kernel32: Fix a test that fails in win2k.
2008-04-17 12:50:56 +02:00
James Hawkins
cd2f10a6d0
kernel32: Remove an invalid trace and comment.
2008-04-17 11:40:07 +02:00
James Hawkins
a4f733ab0b
kernel32: Fix a few failing tests in win2k.
2008-04-17 11:40:00 +02:00
James Hawkins
25c02c884f
kernel32: Split the GetComputerName/Ex tests into their own test functions.
2008-04-17 11:39:55 +02:00
Alexandre Julliard
f02ef19fdb
kernel32: Reserve the low 64Kb area separately from the rest of the DOS memory.
2008-04-14 20:39:27 +02:00
James Hawkins
e314ef699e
kernel32: Add traces to see why the tests fail in win2k.
2008-04-11 11:16:29 +02:00
Francois Gouget
8a18e0e43a
Assorted spelling fixes.
2008-04-07 13:36:18 +02:00
Austin English
cb2274e690
Spelling fixes.
2008-04-04 11:51:40 +02:00
Alexander Nicolaysen Sørnes
10e9c6bfd1
kernel32: Set processorLevel to cpu family.
2008-03-31 12:14:41 +02:00
Michael Stefaniuc
c90baaf7f1
kernel32: Add the NLS file for Romansh (Switzerland).
2008-03-28 09:51:52 +01:00
Dan Kegel
dcefb67781
kernel32: Test negative dest len in WideCharToMultiByte.
2008-03-26 23:38:36 +01:00
Alexandre Julliard
7a7ef6a64c
kernel32: Moved the allocation of the process stack to ntdll.
2008-03-26 17:08:38 +01:00
Dmitry Timoshkov
fed582de5c
kernel32: Make the test compatible with win9x.
2008-03-26 11:18:21 +01:00
Anatoly Lyutin
f773e148b0
kernel32: Implement IsWow64Process.
2008-03-24 20:39:22 +01:00
Alexandre Julliard
c3ae7d1983
kernel32/tests: Fix the FindFirstVolume test on Vista.
2008-03-22 13:09:57 +01:00
Alexandre Julliard
9879f78c13
kernel32/tests: Added some tests for FindResource.
2008-03-22 13:09:44 +01:00
Michael Moss
ded68372a2
kernel32/tests: Test notifications for overlapping directory watches.
2008-03-20 20:16:08 +01:00
Michael Moss
ef7c4a8b6d
kernel32/tests: Fix false positive file notification tests.
2008-03-20 14:27:44 +01:00
Austin English
d5de9977df
kernel32: Spelling fixes.
2008-03-18 11:44:09 +01:00
Alexandre Julliard
5c5b997dc2
kernel32: Implemented ReadFileScatter and WriteFileGather.
2008-03-15 10:58:38 +01:00
Alexandre Julliard
db1b9a9f62
kernel32: Propagate the FILE_FLAG_NO_BUFFERING CreateFile flag to ntdll.
2008-03-15 10:58:38 +01:00
Dan Hipschman
0e8f193184
kernel32: Add the MOVEFILE_WRITE_THROUGH flag for MoveFileEx (stub).
2008-03-14 11:53:15 +01:00
Paul Vriens
371afffd35
kernel32/tests: Add a few skips instead of just returning.
2008-03-12 12:02:04 +01:00
Paul Vriens
a558bfad99
kernel32/tests: DATE_YEARMONTH is only present on W2K and later.
2008-03-12 12:02:00 +01:00
Paul Vriens
b0f7dcdf88
kernel32/tests: Skip some tests on win95.
2008-03-12 12:01:48 +01:00
Paul Vriens
4ca754d9a9
kernel32: Fix/change tests for systems with no ServicePack.
2008-03-11 12:11:52 +01:00
Francois Gouget
508d58c210
kernel32/tests: Don't use 0xaa to avoid any confusion when running with +heap.
2008-03-05 12:18:31 +01:00
Rob Shearman
48000893f9
makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
...
Only specify the root to keep platform-specifics out of the individual
DLL makefiles.
2008-03-04 20:55:01 +01:00
Andrew Talbot
54a376f228
kernel32: Assign to structs instead of using memcpy.
2008-03-04 11:54:20 +01:00
Alexandre Julliard
c52d921f34
kernel32: Added a winoldap.mod 16-bit exe to launch 32-bit processes.
...
Based on a patch by Dmitry Timoshkov.
2008-03-03 15:25:50 +01:00
Maarten Lankhorst
1032ba6dc3
kernel32: Fix GetVolumeInformation for fat32 partitions.
2008-03-01 12:32:27 +01:00
Alexandre Julliard
5625c6079e
Get rid of the global thread.h header.
2008-03-01 11:57:00 +01:00
Alexandre Julliard
b2ad268a8b
kernel32: Implement the fiber local storage functions.
2008-02-29 19:56:04 +01:00
Rob Shearman
8d2af8e3f3
kernel32: Fix typo in UTUnRegister.
2008-02-29 12:37:01 +01:00
Rob Shearman
45ba200f19
kernel32: Fix use of uninitialised nameW and typeW in find_resourceA.
2008-02-29 12:36:55 +01:00
Dmitry Timoshkov
e49e8b20db
kernel32: Add stubs for fiber local storage APIs.
2008-02-29 11:48:13 +01:00
Dmitry Timoshkov
aebcbf0f6e
kernel32: Return upper cased drive letters in paths, some applications depend on it.
2008-02-27 14:52:26 +01:00
Paul Vriens
ad697ecdc4
kernel32/tests: Win9x doesn't change last error.
2008-02-27 14:52:24 +01:00
Rob Shearman
492be1b5e3
kernel32: Fix the number of characters passed to GetAtomNameW in test_local_get_atom_name.
2008-02-25 13:31:47 +01:00
Alexandre Julliard
3d418add04
kernel32: Fixed the active processor mask on Mac OS.
2008-02-18 14:09:49 +01:00
Rob Shearman
7ed33ae721
kernel32: Fix handle leak in start_console_renderer_helper.
2008-02-18 12:20:38 +01:00
Rob Shearman
a82f4dd9b7
Don't use GetExceptionCode and GetExceptionInformation in exception filter functions.
...
When using native compiler exceptions, it isn't valid to use
GetExceptionCode and GetExceptionInformation anywhere other than in the
filter or handler blocks since it would be very hard for the compiler to
work out where to retrieve the exception information from on the stack.
Therefore, remove the WINE_EXCEPTION_FILTER and WINE_FINALLY_FUNC macros
which enabled GetExceptionCode, GetExceptionInformation and
AbnormalTermination to be used inside of the functions they declared and
fix up all callers to access the information directly.
2008-02-16 14:57:44 +01:00
Alexandre Julliard
58913b439b
kernel32: On Mac OS, recompose the Unicode strings we get from the OS.
2008-02-15 12:07:56 +01:00
Francois Gouget
148061814c
kernel32/tests: Fix the time tests when 'Automatically adjust clock for daylight saving changes' has been unset.
2008-02-15 09:56:12 +01:00
Paul Vriens
fc82d8c221
kernel32/tests: ReplaceFile[AW] doesn't exist on win9x.
2008-02-13 16:41:54 +01:00
Erich Hoover
664c68a2c9
kernel32: Add tests for ReplaceFileA and ReplaceFileW.
2008-02-12 23:03:37 +01:00
Rob Shearman
c72de7bce2
kernel32: Implement ReplaceFileW.
...
Based on a patch by Erich Hoover.
2008-02-12 23:03:09 +01:00
Erich Hoover
06a3c3a281
kernel32: Implement ReplaceFileA.
2008-02-12 23:02:55 +01:00
Alexandre Julliard
b1789fc73f
kernel32: Don't save the signal mask in sigsetjmp.
...
This shouldn't be needed anymore now that exceptions are not handled
on the signal stack, and signal mask handling is broken on Mac OS.
2008-02-12 22:39:54 +01:00
Dmitry Timoshkov
667dad2331
kernel32: Separate modifier from charset before detecting the charset codepage.
2008-02-08 13:13:20 +01:00
Alexandre Julliard
05c7174909
tests: Add a helper routine to wait for a child process and propagate its result correctly.
2008-02-07 12:56:00 +01:00
Jens Nestler
6d59ddf67b
kernel32: Don't fail unconditionally in MoveFile for directories with flag MOVEFILE_REPLACE_EXISTING.
2008-02-06 13:49:29 +01:00
James Hawkins
ea41e863ad
kernel32: Factor out the VerifyVersionInfo tests into their own function.
2008-02-05 12:19:36 +01:00
Alistair Leslie-Hughes
9d36b416a7
kernel32: Add RegisterApplicationRestart stub.
2008-02-05 12:06:09 +01:00
Dmitry Timoshkov
21204f579e
kernel32: LOADPARAMS16->showCmd can be NULL, do not crash in that case.
2008-02-04 11:49:37 +01:00
Paul Vriens
71f81bf1f5
kernel32/tests: Win9x returns a different last error.
2008-01-24 14:04:07 +01:00
Alexandre Julliard
e84daed485
Avoid sizeof in traces.
2008-01-24 14:03:10 +01:00
Francois Gouget
d0794c4aeb
Assorted spelling fixes.
2008-01-23 21:16:22 +01:00
Francois Gouget
e7e998004a
kernel32/tests: Test the expansion of indirect environment variable references.
2008-01-23 20:39:35 +01:00
Gerald Pfeifer
39f672798b
kernel32: Use setproctitle where applicable to set the process name.
...
Based on a patch by Kris Moore.
2008-01-21 11:52:33 +01:00
Rob Shearman
71e0e1ca63
kernel32: Initialise the top 16-bit stack frame to zero.
2008-01-18 11:56:13 +01:00
Alexandre Julliard
9261c63ab3
kernel32: Fix the system affinity returned by GetProcessAffinityMask.
2008-01-16 21:01:33 +01:00
Alexandre Julliard
1d6d080d4b
wineboot: Add a --init option used when launched automatically at startup.
...
Don't execute Run entries in that case.
2008-01-16 19:51:14 +01:00
Francois Gouget
44b52b128c
Assorted spelling fixes.
2008-01-16 12:48:29 +01:00
Francois Gouget
12689d9b0f
kernel32/tests: Small spelling fix in a parameter name.
2008-01-16 12:46:38 +01:00
Francois Gouget
f6fab295f3
Fix spelling error in the generated conformance test files.
2008-01-16 12:46:18 +01:00
Alexandre Julliard
93cdead182
kernel32/tests: Avoid size_t in traces.
2008-01-15 17:08:09 +01:00
Paul Vriens
4111ea931c
kernel32/tests: FindFirstVolumeA is not available on win98.
2008-01-15 12:35:42 +01:00
Marcus Meissner
3bf54c2950
server: Enumerate process in reverse.
2008-01-14 16:24:55 +01:00
Alexandre Julliard
9c00a78da5
kernel32: Don't inherit stdin/stdout handles in wineboot.
2008-01-14 15:49:56 +01:00
Alexandre Julliard
5a3132343d
kernel32: Close the stdio handles when creating a detached process.
2008-01-14 15:49:12 +01:00
Gerald Pfeifer
221a8048b9
kernel32: Fix type of a loop variable in SNOOP16_Entry().
2008-01-14 15:31:37 +01:00
Francois Gouget
0069651056
kernel32/tests: Despite the MSDN claims, GetComputerName() does not return the required buffer size... except on Vista. So update the tests accordingly.
2008-01-11 12:25:39 +01:00
Francois Gouget
e3e2a5c0ac
kernel32/tests: Add more ExpandEnvironmentStringsA() tests.
...
Document the observed ExpandEnvironmentStrings() behavior.
2008-01-11 12:25:33 +01:00
Paul Vriens
e1f88e5f69
kernel32/tests: Skip not implemented functions.
2008-01-10 12:15:44 +01:00
Paul Vriens
c9434956d5
kernel32/tests: Skip not implemented functions.
2008-01-10 12:15:39 +01:00
Paul Vriens
7b7838289f
kernel32/tests: Skip not implemented functions.
2008-01-10 12:15:30 +01:00
Andrew Talbot
272fb14e70
kernel32: Remove unneeded casts.
2008-01-09 12:26:04 +01:00
Alexandre Julliard
c486d8774f
kernel32: Fail more gracefully in GetVolumeInformation for fake drive devices.
2008-01-07 23:17:42 +01:00
Michael Stefaniuc
46f8b23eb7
kernel32: Add missing HeapFree(). Found by Smatch.
2008-01-07 22:57:08 +01:00
Alexandre Julliard
f53bb857ac
kernel32/tests: Avoid using size_t in traces.
2008-01-07 17:18:35 +01:00
Rob Shearman
628a515b83
kernel32: Implement RegisterWaitForSingleObjectEx.
2008-01-07 12:04:07 +01:00
Hans Leidekker
16d5be1f2f
kernel32: Add Surinam Dutch and Belgian Dutch translations of language group names.
2008-01-07 12:02:26 +01:00
Hans Leidekker
b7917bcfda
kernel32: Fix two test failures on Win98 due to missing GetTempPathW.
2008-01-07 12:02:19 +01:00
Alexandre Julliard
d17b29303c
kernel32/tests: Added tests for FindFirstVolume/FindNextVolume.
2008-01-04 14:31:55 +01:00
Alexandre Julliard
7f508df25b
kernel32: Implemented FindFirstVolume/FindNextVolume using the mount point manager.
2008-01-04 14:31:40 +01:00
Kirill K. Smirnov
24f78d7366
kernel32: Convert newborn wineserver handle to kernel32 console handle.
2008-01-04 13:46:13 +01:00
Alexandre Julliard
d55b2de574
kernel32: Launch wineboot on first startup of a wine process.
2008-01-04 12:51:04 +01:00
Rob Shearman
910cf61723
kernel32: Add tests for RegisterWaitForSingleObject and UnregisterWait.
2008-01-02 14:30:14 +01:00
Rob Shearman
1822a722d9
kernel32: Implement RegisterWaitForSingleObject and UnregisterWait.
2008-01-02 14:30:11 +01:00
Gerald Pfeifer
f41d0cb530
kernel32/tests: Remove extraneous check.
2007-12-31 19:21:25 +01:00
Stefan Leichter
20c0ba2341
kernel32: Silence a fixme in GetNativeSystemInfo.
2007-12-23 14:17:12 +01:00
Alexandre Julliard
201fc77fd6
winedos: Add the possibility of refusing to emulate some interrupts.
2007-12-23 13:55:12 +01:00
Alexandre Julliard
28aed6d9c8
kernel32: Initialize MaximumLength of the user params directory too.
2007-12-23 13:54:31 +01:00
Alexandre Julliard
16aadb2785
kernel32: Yet another workaround for broken apps in GlobalMemoryStatus.
2007-12-21 14:27:40 +01:00
Kirill K. Smirnov
b7f617c916
kernel32: Invalidate local copy of console input event handle while reallocating console.
2007-12-21 14:27:10 +01:00
Andrey Turkin
343f2c1b30
ntdll: Implement BindIoCompletionCallback.
2007-12-21 13:52:34 +01:00
Alexandre Julliard
a4269c8eed
kernel32: Store the initial directory as a full path in the process parameters.
2007-12-21 12:42:28 +01:00
Rob Shearman
e55854ddc5
kernel32: Add a test for calling VirtualAlloc on a view of a SEC_RESERVE file mapping.
2007-12-21 12:41:24 +01:00
Andrew Talbot
4a35f62deb
kernel32: Revert the removal of a cast from a macro.
2007-12-21 12:40:50 +01:00
Andrew Talbot
ca6003b8f0
kernel32: Remove unneeded casts.
2007-12-21 12:40:32 +01:00
Alexandre Julliard
e2a366ce33
kernel32: Forward interrupts in 32-bit code to winedos too.
2007-12-20 12:18:19 +01:00
Andrew Talbot
7bce56881f
kernel32: Remove unneeded casts.
2007-12-20 10:47:00 +01:00
Andrew Talbot
650b273361
kernel32: Remove unneeded casts.
2007-12-19 12:18:48 +01:00
Kirill K. Smirnov
c9700896fe
kernel32: ReadConsoleW should wait for at least one character before returning.
2007-12-18 19:48:36 +01:00
Rico Schüller
d8570f7aae
kernel32: Fix typo.
2007-12-18 19:48:13 +01:00
Stefan Dösinger
70868dfa61
kernel32: Add a test for BindIoCompletionCallback.
2007-12-18 14:07:48 +01:00
Michael Stefaniuc
8c6fdf19a9
kernel32: Do not reuse the name of a function argument for a local variable.
2007-12-14 12:26:07 +01:00
Andrew Talbot
a9b05bea3f
kernel32: Remove unneeded casts.
2007-12-14 12:25:06 +01:00
Alexandre Julliard
a5fb981ace
Makedll.rules: Add a generic EXTRADLLFLAGS variable instead of defining a specific variable for every possible parameter.
2007-12-11 14:59:54 +01:00
Hans Leidekker
c6dd1f1599
kernel32: GetConsoleInputExeNameW returns TRUE even when it fails.
2007-12-10 12:27:04 +01:00
Francois Gouget
8ee430d146
kernel32/tests: Get the test to run on Windows 95.
2007-12-10 12:06:01 +01:00
Francois Gouget
c43f61461f
kernel32/tests: dll_capable() makes no sense since it's only used on APIs we link with. So remove it.
2007-12-10 12:05:55 +01:00
Detlef Riekenberg
efb13b28df
Assorted spelling fixes.
2007-12-08 19:55:39 +01:00
Alexandre Julliard
c5d63b5535
kernel32: Read label and serial from the filesystem when the device is accessible but unknown.
2007-12-08 19:53:24 +01:00
Alexandre Julliard
6a3dd1ecf9
kernel32: Revert change that slipped in commit db24d3af9a
by mistake.
2007-12-08 19:49:52 +01:00
Francois Gouget
5f7a9cea38
Assorted spelling fixes.
2007-12-07 16:35:32 +01:00
Michael Stefaniuc
d457af740d
kernel32: Pass HEAP_ZERO_MEMORY to HeapAlloc() instead of clearing the memory with a separate memset() call.
2007-12-06 12:07:17 +01:00
Paul Vriens
5e30e5a0f2
kernel32/tests: Test for functions should be or-ed.
2007-12-06 12:05:37 +01:00
Paul Vriens
0ada917873
kernel32: Make tests run on Win98 again.
2007-12-05 13:48:57 +01:00
Alexandre Julliard
0f6e826fe0
kernel32: Remove the no-exec fault workaround, it shouldn't be needed anymore.
2007-12-05 12:35:47 +01:00
Hans Leidekker
8f3afb4120
kernel32: Implement and test {G, S}etConsoleInputExeName{A, W}.
2007-12-03 16:03:23 +01:00
Paul Vriens
b3a85a3fc4
kernel32: Add some simple tests for GetVersionExA.
2007-12-03 11:52:01 +01:00
Stefan Leichter
db24d3af9a
kernel32: Added stub for FindVolumeClose.
2007-11-30 12:43:59 +01:00
Gerald Pfeifer
3ce295a1ef
kernel32: Handle default case in Local32_FromHandle().
2007-11-29 15:33:15 +01:00
Jacek Caban
8c2b994c46
kernel32: Terminate child process in virtual tests.
2007-11-26 12:35:55 +01:00
Rob Shearman
361a98c561
kernel32: Change the shared manifest test to depend on a build number that isn't currently published on at least XP, showing that assemblies with higher build numbers can be used.
2007-11-26 12:27:06 +01:00
Alexandre Julliard
58b85bba3e
kernel32/tests: Don't crash the test if GetThreadContext fails.
2007-11-20 17:53:43 +01:00
Michael Stefaniuc
e973a193b7
kernel32: Remove duplicate includes.
2007-11-19 13:54:14 +01:00
Hans Leidekker
23e995e3a7
kernel32: Add stub implementations for FindFirstVolume{A, W}.
2007-11-19 13:53:17 +01:00
Dmitry Timoshkov
d1a3025826
kernel32: Mask out FILE_ATTRIBUTE_NOT_CONTENT_INDEXED to prevent a test failure under Windows.
2007-11-16 12:33:24 +01:00
Dmitry Timoshkov
07efb2740b
kernel32: Set last error to ERROR_ALREADY_EXISTS if CreateFile succeeds and file existed before for CREATE_ALWAYS and OPEN_ALWAYS.
2007-11-16 12:33:18 +01:00
Francois Gouget
b734dee31e
kernel32/tests: Fix a signed/unsigned warning.
2007-11-13 23:28:06 +01:00
EA Durbin
661755b69f
kernel32: Add stub for GetConsoleKeyboardLayoutNameW.
2007-11-13 15:10:12 +01:00
EA Durbin
592fc26b09
kernel32: Add stub implementation of GetConsoleKeyboardLayoutNameA.
2007-11-13 15:09:08 +01:00
EA Durbin
6e6a2a5856
kernel32: Add stub implementation of GetConsoleInputExeNameW.
2007-11-13 15:08:28 +01:00
EA Durbin
4a0833c2d0
kernel32: Add stub implementation of GetConsoleInputExeNameA.
2007-11-13 15:07:54 +01:00
Rob Shearman
8296548bb5
kernel32: Implement GetThreadId.
2007-11-13 13:29:27 +01:00
Hans Leidekker
addf895c87
kernel32: Loosen requirements on what QueryDosDevice returns.
2007-11-12 12:56:28 +01:00
Francois Gouget
81a5701ca9
Assorted spelling fixes.
2007-11-09 13:07:12 +01:00
Alexandre Julliard
964d83501a
kernel32: Add spec entries for LocaleNameToLCID and LCIDToLocaleName.
2007-11-06 20:37:54 +01:00
Rob Shearman
92db6d2c2f
server: Don't do access checks on the security descriptors of newly created objects.
2007-11-06 14:52:21 +01:00
Francois Gouget
94799c3cc7
kernel32: Fix the image size in a test to avoid a BSOD on Windows XP SP1.
2007-11-05 15:06:40 +01:00
Vitaliy Margolen
eb31959ab9
kernel32: Implement GetProcessHandleCount.
2007-11-01 12:41:48 +01:00
Chris Wulff
8cf7cb32c5
kernel32: Added a stub for FindVolumeMountPointClose.
2007-10-31 12:39:55 +01:00
Detlef Riekenberg
f2e7c43d3c
kernel32: Fix description for SetDefaultCommConfig.
2007-10-29 12:02:44 +01:00
Aric Stewart
6a8219a6b1
kernel32: Set last error to ERROR_INSUFFICIENT_BUFFER in LCMapString when the sort key buffer is too small.
2007-10-26 14:03:46 +02:00
Rob Shearman
512239d515
kernel32: Add tests for creating events with different initial security descriptors.
2007-10-25 12:47:28 +02:00
Lionel Debroux
938f748b20
kernel32/tests: Fix memory leaks (found by Smatch).
2007-10-22 15:58:29 +02:00
Mikolaj Zalewski
25e15ddb51
kernel32: FindExSearchLimitToDirectories has no effect on FindFirstFileEx.
2007-10-19 12:26:49 +02:00
EA Durbin
9984ac8a12
kernel32: Partially implement GetUserGeoID().
2007-10-18 14:18:35 +02:00
Mikolaj Zalewski
5bfd7044ea
ntdll: Support for UTF-16 manifests with reverse endianness.
2007-10-18 12:20:52 +02:00
Mikolaj Zalewski
9f4001f7e0
ntdll: Manifests should be parsed as UTF-16 only if there is a BOM (with testcase).
2007-10-18 12:11:06 +02:00
Mikolaj Zalewski
e361c0d284
kernel32/tests: Make the actctx test pass when the application is run from a different directory.
2007-10-18 12:10:51 +02:00
Mikolaj Zalewski
ba24af0c34
kernel32/tests: Support for spaces in actctx test executable path.
2007-10-18 12:10:44 +02:00
Mikolaj Zalewski
47e59d994f
kernel32/tests: Don't close an invalid handle if the process is being debugged as this will raise an exception.
2007-10-18 12:10:37 +02:00
Alexandre Julliard
00193610f0
kernel32/tests: Replace a couple of macros by a function to avoid compiler warnings.
2007-10-17 14:15:40 +02:00
Alexandre Julliard
b22183703f
kernel32: Fix GlobalMemoryStatus to take into account the IMAGE_FILE_LARGE_ADDRESS_AWARE flag.
...
Also the page file size must not be truncated to 2Gb no matter what
the flag is set to.
2007-10-15 22:32:36 +02:00
Gerald Pfeifer
1a0f1bc6ce
kernel32: Use FIELD_OFFSET instead of pointer cast.
2007-10-15 17:50:07 +02:00
Alexandre Julliard
60c562446c
kernel32: Get rid of the NLS_RegOpenSubKey function, its behavior is broken.
2007-10-12 11:47:34 +02:00
Alexandre Julliard
3eea9a6193
kernel32: Use FIELD_OFFSET instead of pointer cast.
2007-10-10 12:38:58 +02:00
EA Durbin
64dda7f317
kernel32: Implement SetUserGeoID.
2007-10-10 11:18:21 +02:00
Alexandre Julliard
4a5ba4c732
kernel32: Improve tracing in GlobalAlloc.
2007-10-02 13:31:59 +02:00
Marcus Meissner
524caf26c6
kernel32: Test IsBadReadPtr/ IsBadCodePtr / IsBadWritePtr.
2007-10-02 13:31:31 +02:00
Gerald Pfeifer
9498ada7a2
kernel32: Fix types for the FreeBSD implementation of GlobalMemoryStatusEx().
2007-10-02 11:45:14 +02:00
Gerald Pfeifer
d328c07bd3
kernel32: Fix signedess for FreeBSD-specific implementation of GetSystemInfo().
2007-10-02 11:44:31 +02:00
Stefan Leichter
f81f82f3ed
kernel32: Define WINE_FILEVERSION in version resource of krnl386.exe.
2007-10-01 14:17:41 +02:00
Andrey Turkin
308f73c06d
kernel32: Pass completion value to ntdll layer.
2007-09-28 13:20:36 +02:00
Andrew Talbot
344e8acb8e
kernel32: Fix a memory leak.
2007-09-27 19:25:06 +02:00
Hans Leidekker
2c061dbae6
kernel32: Check for NULL output buffer in FormatMessage{A, W}.
2007-09-27 12:47:07 +02:00
Dmitry Timoshkov
5be5b9c5c7
kernel32: Add a test for read-only mapping of a write-only section, test actual page access rights of the mapping.
2007-09-25 11:58:11 +02:00
Michael Stefaniuc
ebd1ba807e
kernel32: Fix a memory leak. Found by cross referencing Andrew Talbot's list of potential memory leaks with Smatch's view of the same problem.
2007-09-21 12:05:35 +02:00
Dmitry Timoshkov
808d38fdb6
kernel32: Print last error in failure messages of the MapViewOfFile test.
2007-09-20 15:52:05 +02:00
James Hawkins
8e90c6099e
kernel32: Don't crash accessing an invalid handle in GlobalSize.
2007-09-20 14:27:13 +02:00
Dmitry Timoshkov
c6b7f7ccbe
kernel32: Add a test for rw mapping of a read-only section.
2007-09-19 14:57:19 +02:00
James Hawkins
72a3f18338
kernel32: Return TRUE for all pointer params in GlobalUnlock.
2007-09-17 13:41:53 +02:00
James Hawkins
40dff81b5a
kernel32: Fix the case where memory is freed twice in GlobalFree.
2007-09-17 13:41:49 +02:00
Rob Shearman
3f431a0646
server: Add get_token_statistics server call and use it to implement the TokenStatistics and TokenType levels for NtQueryInformationToken.
2007-09-14 14:43:46 +02:00
Rob Shearman
247b0c9b8e
ntdll: Add a stub implementation of FSCTL_PIPE_IMPERSONATE that just impersonates the token of the current process.
2007-09-14 14:23:38 +02:00
Alexandre Julliard
0a134e9e3f
kernel32: GetTempPath should try the USERPROFILE and the Windows directory too.
2007-09-12 16:52:59 +02:00
Dmitry Timoshkov
dbd9c8db51
kernel32: Skip the comm test if the found com port doesn't respond.
2007-09-12 11:33:11 +02:00
Damjan Jovanovic
f3c9a9b1b6
kernel32: Use sysconf instead of the obsolete CLK_TCK.
2007-09-11 11:49:14 +02:00
Rob Shearman
11d75beeed
kernel32: Remove an unused #define in time.c.
2007-09-10 16:13:57 +02:00
Dmitry Timoshkov
0aec2623c5
kernel32: Fix some compiler warnings.
2007-09-10 15:29:46 +02:00
Francois Gouget
015dc79cd4
version: Fix some Ver*() prototypes (especially wrt constness).
...
Better match the PSDK types and fix the winapi_check warnings.
2007-09-10 12:13:41 +02:00
Francois Gouget
9dc6f6cf54
kernel32/tests: Add tests for DebugActiveProcessStop() and DebugSetProcessKillOnExit().
2007-08-31 12:08:58 +02:00
Francois Gouget
b6aa247093
server: Fix the crashed process exit code when the debugger exits without detaching. Add a conformance test.
2007-08-31 12:08:58 +02:00
Francois Gouget
9271fcc86d
winedbg: 'winedbg --auto' and 'winedbg --minidump' should detach when done so as to not mess up the crashed process exit code.
2007-08-31 12:08:58 +02:00
Lionel Debroux
79326157f9
kernel32: Fix memory leak in CopyFileW.
2007-08-30 17:02:48 +02:00
Francois Gouget
1f0fb354f5
kernel32/tests: Don't call ok() in child processes.
2007-08-30 12:25:55 +02:00
Francois Gouget
a86c035d7f
kernel32/tests: If the registry happens to be set up right, check that winedbg does not mess up the crashed process exit code (unfortunately it does).
2007-08-30 12:25:52 +02:00
Francois Gouget
2993785f3a
Assorted non-ANSI function declaration fixes (missing void).
2007-08-30 11:57:18 +02:00
Dmitry Timoshkov
afc85e91ab
kernel32: Fix a compiler warning.
2007-08-30 11:49:02 +02:00
Dmitry Timoshkov
a76ef05c90
ntdll: Do not leave not initialized cached timezone information if a timezone doesn't have daylight saving rules.
2007-08-29 14:08:20 +02:00
Alexandre Julliard
2e55b3d6ab
kernel32: Store a few more locale values in the registry.
2007-08-28 11:36:45 +02:00
Kirill K. Smirnov
f3e13174c7
wineconsole: Implement GetConsoleWindow.
2007-08-24 12:03:22 +02:00
Dmitry Timoshkov
18060ed7d4
kernel32: Restore check for StandardDate.wMonth being 0.
2007-08-21 21:39:06 +02:00
Paul Vriens
7626e5ec77
kernel32/tests: Skip some not implemented functions and add a few skip's.
2007-08-21 21:38:35 +02:00
Dmitry Timoshkov
87f119cfe0
kernel32: Fix test case failures for time zones with absolute transition dates.
2007-08-21 12:40:46 +02:00
Dmitry Timoshkov
d666143f88
ntdll: Detect current time zone settings.
2007-08-21 12:40:37 +02:00
Louis Lenders
7475599b40
kernel32: Set USERNAME environment variable.
2007-08-17 12:21:45 +02:00
Marcus Meissner
f2ccdecd4b
kernel32: Initialize variable to a known bad value.
2007-08-16 12:01:50 +02:00
Francois Gouget
d18cf0c4f1
kernel32/tests: Remove a redundant RegSetValueExA() call.
2007-08-16 11:09:31 +02:00
Mikołaj Zalewski
7e79b5656e
kernel32: Return error code if WOWCallback16Ex of a real-mode function failed.
2007-08-15 11:10:54 +02:00
Mikołaj Zalewski
216c3b0d0a
kernel: Allocate global memory with execute permission.
2007-08-14 13:24:47 +02:00
Francois Gouget
6493c30c90
kernel32/tests: Test the debugger startup and crashed processes exit code.
2007-08-10 12:58:17 +02:00
Francois Gouget
2bdf6c75ec
kernel32: Don't get stuck if the debugger exits without signaling the event.
2007-08-09 14:12:13 +02:00
Luis C. Busquets Pérez
a02ccd9a15
kernel32: Export RestoreLastError.
2007-08-08 15:32:04 +02:00
Kirill K. Smirnov
5217ea7a1b
kernel32: Do not append empty lines to the console history.
2007-08-08 15:32:04 +02:00
Paul Vriens
5cb50202a0
kernel32/tests: Create paths after checking availability of functions.
2007-08-08 15:32:00 +02:00
Paul Vriens
e90f1e3568
kernel32/tests: Changed skip message.
2007-08-08 15:32:00 +02:00
Francois Gouget
f74d2a8fbf
kernel32/tests: Re-balance the curly parentheses so winapi_check can parse the file.
2007-08-06 12:29:50 +02:00
Marcus Meissner
1ad6abfbbc
kernel32/tests: Fixed size to MultiByteToWideChar.
2007-08-01 12:13:44 +02:00
Francois Gouget
5266e57975
Assorted spelling fixes.
2007-07-31 21:37:50 +02:00
Dmitry Timoshkov
9472e04447
kernel32: Skip remainder of the time zone test if SystemTimeToTzSpecificLocalTime not present.
2007-07-31 12:35:00 +02:00
Dmitry Timoshkov
ae271f275c
kernel32: Fix TIME_CompTimeZoneID return type.
2007-07-30 13:39:18 +02:00
Dmitry Timoshkov
a68059f4b7
kernel32: Add more tests for time zone info.
2007-07-30 13:39:10 +02:00
Jacek Caban
43adec3e81
kernel32: Added a number of activation context tests.
2007-07-26 19:42:06 +02:00
Jacek Caban
dcbbd30064
kernel32: Added FindActCtxSectionStringA implementation.
2007-07-26 11:05:32 +02:00
Eric Pouech
6792a9a92e
ntdll: Implemented RtlFindActivationContextSectionString.
2007-07-26 11:05:32 +02:00
Alexandre Julliard
3a71513d99
ntdll: Initial implementation of RtlQueryInformationActivationContext.
...
Partially based on a patch by Eric Pouech.
2007-07-26 11:05:32 +02:00
Matt Jones
6763742090
server: Only commit SetThreadPriority if new priority is correct.
2007-07-25 13:59:17 +02:00
Matt Jones
f204ed1d19
kernel32: Added test for bad arguments to SetThreadPriority, test for correct error value.
2007-07-25 13:56:29 +02:00
Andrew Talbot
6c0ccbc23a
kernel32: Cast-qual warning fix.
2007-07-23 11:53:41 +02:00
Anatoly Lyutin
857ff080eb
kernel32/tests: Add test for GetShortPathNameW.
2007-07-20 11:45:02 +02:00
Alexandre Julliard
797dd942ec
ntdll: Implemented handling of the per-thread activation context stack.
2007-07-19 17:07:48 +02:00
Alexandre Julliard
64f6fdc57e
kernel32: Move activation context creation to ntdll (based on a patch by Eric Pouech).
2007-07-19 17:01:04 +02:00
Alexandre Julliard
cd33692fa1
kernel32: Always clear the I/O status block count before calling ntdll functions.
2007-07-16 16:20:29 +02:00
Alexandre Julliard
fec5117e91
server: Merge APC processing into the select request.
...
This is needed to return the correct value when one of the handles
being waited on is set to signaled state by the APC.
2007-07-16 16:14:45 +02:00
Alexandre Julliard
acb43cfef2
kernel32: Wait in overlapped Read/WriteFile even when no overlapped structure is passed.
2007-07-16 15:27:53 +02:00
Huw Davies
e59a947c88
kernel32: Overlapped pipe tests.
2007-07-16 14:53:42 +02:00
Huw Davies
154389ce8e
kernel32: SetNamedPipeHandleState() is a stub, so for now don't check its return value.
2007-07-12 14:40:52 +02:00
Huw Davies
f2894533d5
kernel32: Swap incorrect use of buffers.
2007-07-12 14:40:47 +02:00
Alexandre Julliard
40fb7ca168
kernel32: Implemented GetTickCount64.
2007-07-11 14:04:54 +02:00
Paul Vriens
7a6fbf2b09
kernel32/tests: Add a forgotten if statement.
2007-07-09 11:46:22 +02:00
Paul Vriens
35edd40f33
kernel32/tests 2/2: Use skip for not implemented function.
2007-07-05 19:54:26 +02:00
Paul Vriens
4f86b5cd07
kernel32/tests: Don't crash on win98.
2007-07-05 19:54:19 +02:00
Paul Vriens
203bcf4271
kernel32/tests: Use skip when functions are not available.
2007-07-05 19:54:07 +02:00
Michael Stefaniuc
7596e3dd91
kernel32: Remove superfluous casts of void pointers to other pointer types.
2007-06-27 12:53:31 +02:00
Paul Vriens
d40233a448
kernel32/tests: Don't crash (on Vista).
2007-06-25 13:23:31 +02:00
Paul Vriens
71054631b2
kernel32/tests: Don't crash on Vista.
2007-06-25 13:23:26 +02:00
Alexandre Julliard
8e53a00282
kernel32: Fix VxD open code for the new NtCreateFile syntax for Unix files.
2007-06-18 12:53:27 +02:00
Andrey Turkin
6310819afb
kernel32: Implement IO completion functions on top of the NT IoCompletion API.
2007-06-08 13:38:58 +02:00
Andrey Turkin
dd49801752
kernel32: Factor out all kernel32 timeout-conversion snippets to one helper functions.
2007-06-08 13:32:25 +02:00
Alexandre Julliard
35ef5df76c
kernel32: Rewrite GetOverlappedResult for the new async I/O behavior.
2007-06-04 23:03:15 +02:00
Mikołaj Zalewski
2e5a48be43
kernel: Fix clearing of memory in LocalReAlloc16(..., LMEM_ZEROMEMORY).
2007-06-04 12:49:38 +02:00
Mikołaj Zalewski
db4586d274
kernel32: Clear the extra memory in LocalReAlloc16(h, bigger_size, LMEM_ZEROINIT).
2007-05-30 13:25:14 +02:00
Dmitry Timoshkov
545a71302b
kernel32: Fix some compilation warnings in 64-bit mode.
2007-05-30 13:24:21 +02:00
Alexandre Julliard
63322dbaa5
kernel32: Store global arena base as a pointer.
2007-05-30 13:23:30 +02:00
Alexandre Julliard
2835d78d8d
kernel32: Remove the fixme about MB_USEGLYPHCHARS.
2007-05-29 23:31:35 +02:00
Francois Gouget
ed94ca1e4f
kernel32/tests: src[i] is a char so there is no point trying to stuff 0xcafedead into it.
2007-05-29 12:13:35 +02:00
Francois Gouget
e5b1ca4cf5
kernel32/tests: Fix a signed/unsigned int mismatch.
2007-05-29 12:11:55 +02:00
Dmitry Timoshkov
3c9e7a7f33
wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility.
2007-05-25 20:37:56 +02:00
Dmitry Timoshkov
c28ffeeb9a
kernel32/tests: Fix a problem revealed by compilation in 64-bit mode.
2007-05-24 11:36:27 +02:00
Dmitry Timoshkov
a67b689121
kernel32: Fix compilation warnings in 64-bit mode.
2007-05-23 13:13:54 +02:00
Alexandre Julliard
cc54b7d9bd
ntdll: Avoid overflows in heap allocations. Based on a patch by Rob Shearman.
2007-05-22 11:59:18 +02:00
Dmitry Timoshkov
5f1a234731
kernel32: Fix the size of ThreadAffinityMask to match PSDK.
2007-05-21 19:11:01 +02:00
Marcus Meissner
b45367347a
kernel32: Skip modem status tests if GetModemStatus failed.
2007-05-21 12:38:56 +02:00
Alexandre Julliard
73cc00f9a5
ntoskrnl.exe: Reuse the kernel32 instruction emulation support for kernel-mode drivers.
2007-05-18 16:37:23 +02:00
Dmitry Timoshkov
e690916f68
kernel32: Add an overflow test for MultiByteToWideChar.
2007-05-18 14:12:20 +02:00
Dmitry Timoshkov
90bafb3cc1
kernel32: Print last error value as unsigned, printing error in hex is useless.
2007-05-18 14:12:16 +02:00
Alexandre Julliard
8530cb0aec
kernel32: Check for already loaded module also for LOAD_LIBRARY_AS_DATAFILE.
2007-05-16 16:58:51 +02:00
Alexandre Julliard
306d71c3fe
kernel32: Support incrementing the module refcount in GetModuleHandleEx.
2007-05-16 16:47:11 +02:00
Dmitry Timoshkov
59a2686ae4
kernel32: Add a test for LoadLibraryEx(LOAD_LIBRARY_AS_DATAFILE).
2007-05-16 11:55:32 +02:00
Kirill K. Smirnov
24bf66180b
kernel32/tests: Add tests for console codepages.
2007-05-11 12:41:34 +02:00
Kirill K. Smirnov
9d74661856
server: Move console codepages to the server.
2007-05-11 12:41:29 +02:00
Alexandre Julliard
b504d05022
kernel32: Fix typo in CreateActCtxA.
2007-05-11 11:19:38 +02:00
Kirill K. Smirnov
8f45938013
kernel32/tests: Add tests for console screen buffer.
2007-05-10 14:23:46 +02:00
Eric Pouech
fe3869388a
kernel32: Set the new definition for an activation context, and implement adding/releasing references to it.
2007-05-09 12:24:14 +02:00
Eric Pouech
80f41b4937
kernel32: Implemented CreateActCtxA on top of CreateActCtxW.
2007-05-09 12:15:45 +02:00
Alexandre Julliard
6604181c85
kernel32: Set the dll file name with the correct case to make EXECryptor happy.
2007-05-08 13:25:48 +02:00
Andrew Talbot
7919badd70
kernel32: Exclude unused headers.
2007-05-07 20:35:07 +02:00
Andrew Talbot
fe933b022a
kernel32: Exclude unused headers.
2007-05-07 20:34:58 +02:00
Andrew Talbot
072e7d0438
kernel32: Exclude unused headers.
2007-05-07 20:34:49 +02:00
Andrew Talbot
59651999b3
kernel32: Exclude unused headers.
2007-05-07 20:34:41 +02:00
Alexandre Julliard
3baf4dbe76
kernel32: Disable FT_Thunk entry point when Windows version is NT.
2007-05-07 17:10:18 +02:00
Bill Medland
a70df444ae
kernel32/tests: Boundary test cases for SystemTimeToFileTime and GetDateFormat.
2007-05-04 13:39:09 +02:00
Andrew Talbot
a22c7a6c34
kernel32: Constify a variable.
2007-05-03 14:23:31 +02:00
Alexandre Julliard
f807f2d457
kernel32: Don't skip directory symlinks when looking for a specific file.
2007-05-01 14:32:33 +02:00
Louis Lenders
f9a54ebc51
kernel32: Add stub for BindIoCompletionCallback.
2007-05-01 11:42:25 +02:00
Vitaliy Margolen
2bd4d6b180
kernel32: Fix off by one error.
2007-04-30 12:32:58 +02:00
Kirill K. Smirnov
9eb0c87204
kernel32/tests: Add tests for NeedCurrentDirectoryForExePath.
2007-04-27 13:05:19 +02:00
Kirill K. Smirnov
fff6db62f3
kernel32: Add partial stub for NeedCurrentDirectoryForExePath.
2007-04-27 13:05:12 +02:00
Paul Vriens
87e8204365
kernel32/tests: Resource functions are not implemented on win98.
2007-04-26 14:25:04 +02:00
Paul Vriens
67c26f4ec3
kernel32/tests: GetLongPathNameW is not implemented on win98.
2007-04-25 13:48:14 +02:00
Paul Vriens
c1f6501808
kernel32/tests: GetComputerNameW is not implemented on win98.
2007-04-25 13:48:09 +02:00
Paul Vriens
9dafa1fc11
kernel32/tests: CreateRemoteThread is not implemented on win98.
2007-04-25 13:48:04 +02:00
Rob Shearman
27412837b9
kernel32: Add the directory the executable was loaded from to the module search path if the module file name doesn't contain a path.
2007-04-25 11:49:37 +02:00
Alexandre Julliard
3684dc181c
server: Move the FSCTL_PIPE_WAIT ioctl implementation to the server.
2007-04-17 22:07:07 +02:00
Alexandre Julliard
aaf477f292
server: Change the timeout handling to use NT-style 64-bit timeouts everywhere.
2007-04-17 20:08:59 +02:00
Alexandre Julliard
8c46095484
server: Implement the FSCTL_PIPE_DISCONNECT ioctl on the server side.
2007-04-16 14:51:29 +02:00
Alexandre Julliard
9eaaadbb47
kernel32: Use the correct access rights when opening named pipes.
2007-04-16 14:32:18 +02:00
Chia-I Wu
bbbd42787c
kernel32: Fix non-terminated separator string.
2007-04-16 12:07:44 +02:00
Hans Leidekker
ce0da3e75f
kernel32: Allow any amount of whitespace between the words ANSI and SCSI in /proc/scsi/scsi.
2007-04-12 16:16:36 +02:00
Alexandre Julliard
83cef86f29
kernel32: Add SYNCHRONIZE access to mailslot handles.
...
Don't bother to request write access.
2007-04-10 22:24:40 +02:00
Alexandre Julliard
c915215ba6
ntdll: Use send(2) instead of write(2) for zero-byte writes to sockets.
2007-04-09 12:21:24 +02:00