Detlef Riekenberg
508c95f343
kernel32/nls: Translation-fix for deu.nls.
2009-05-29 15:34:08 +02:00
Hans Leidekker
7797bc0714
kernel32: Improve the GetSystemPowerStatus stub.
2009-05-28 15:28:24 +02:00
Peter Hedlund
7d47feaebe
kernel32: Mask out obsolete flags in GlobalAlloc.
2009-05-28 14:11:32 +02:00
Alexandre Julliard
9ccc9bd6a9
kernel32/tests: Run file tests in the temp directory if we don't have access to the drive root.
2009-05-27 12:47:33 +02:00
Paul Vriens
7750e36be5
kernel32/tests: Fix some test failures on Vista.
2009-05-27 11:10:25 +02:00
Guy Albertelli
c1f161a678
kernel32: Fix GetVolumeNameForVolumeMountPointW to match Mountmgr.
2009-05-26 15:36:53 +02:00
Alexandre Julliard
2cd36b6b60
kernel32: Remove the file parameter check again in LoadLibraryExW since some broken apps pass garbage here.
2009-05-26 14:26:42 +02:00
Paul Vriens
bb4168ab73
kernel32/tests: Fix comment.
2009-05-25 11:24:03 +02:00
Paul Vriens
a15282371b
kernel32: Use Polish translations.
2009-05-25 11:23:59 +02:00
Paul Vriens
43ccb8abd8
kernel32/tests: Fix test failure on older W2K boxes.
2009-05-22 15:22:54 +02:00
Alexandre Julliard
8e6e015eb5
kernel32: Add missing terminator on %wc format conversion.
2009-05-21 16:17:52 +02:00
Lionel Debroux
e85a037516
kernel32: Fix doc header for SetThreadIdealProcessor.
2009-05-21 16:17:50 +02:00
Alexandre Julliard
d5d0738fb9
ntdll: Tweak the file mapping permission checks some more, with tests.
2009-05-19 21:36:05 +02:00
Hans Leidekker
0eb5893ea6
kernel32: Add tests for FormatMessageA/W.
2009-05-19 11:58:53 +02:00
Hans Leidekker
0f1ecf2819
kernel32: Add support for %ws and %wc format specifiers to FormatMessageA/W.
2009-05-19 11:58:53 +02:00
Andrew Nguyen
786158796b
kernel32/tests: Correctly skip when the Unicode communications functions are not available.
2009-05-19 11:58:53 +02:00
Paul Vriens
37babfcece
kernel32/tests: Fix some test failures on Win9x/WinME.
2009-05-19 11:25:23 +02:00
Andrew Nguyen
94945af556
kernel32/tests: Use named constants for a drive test.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
7c2c6a575c
kernel32: Correct the last error of CreateProcessW with an empty command line string.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
645e59c490
kernel32: Correct the last error of CreateProcessW with an empty application name string.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
6c27fa1038
kernel32: Don't validate the command line parameter of CreateProcessW.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
b0abafe70f
kernel32/tests: Correctly skip when Unicode thread functions are not available.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
fda79ef217
kernel32/tests: Correctly skip when GetTempPathW is not available.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
1e74b21f18
kernel32/tests: Correctly skip when Unicode locale functions are not available.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
38f7d54fe0
kernel32/tests: Correctly skip when the Unicode file functions are not available.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
a85dc85960
kernel32/tests: Correctly skip tests when the Unicode drive functions are not available.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
4f7f110c5e
kernel32/tests: Correctly skip tests when the Unicode directory functions are not available.
2009-05-18 14:31:06 +02:00
Guy Albertelli
7d4bbe9e79
kernel32/tests: Add more tests for GetVolumeNameForVolumeMountPointA.
2009-05-11 14:51:27 +02:00
Dmitry Kislyuk
8d9434eefe
kernel32/tests: Show that NULLs need to be preserved in data before first section.
2009-05-07 15:16:15 +02:00
Dmitry Timoshkov
545b40adf7
kernel32: Make SystemTimeToTzSpecificLocalTime and TzSpecificLocalTimeToSystemTime prototypes match PSDK.
2009-05-04 12:53:32 +02:00
Francois Gouget
fc7a85470c
kernel32/tests: Add a trailing '\n' to ok() calls.
2009-05-04 12:53:24 +02:00
Guy Albertelli
1016bd7ec4
kernel32/tests: Fix new problems with volume tests.
2009-04-30 12:47:14 +02:00
Eric Pouech
883d32dd70
kernel32: Completely get rid of ENHANCED_KEY entry in the keymap.
...
This fixes the ctrl-arrow support which has been broken by 67be353040
.
2009-04-29 15:50:25 +02:00
Guy Albertelli
fce0f9ab8a
kernel32/tests: Add tests to verify GetVolumeNameForVolumeMountPointA returns correct string.
2009-04-29 13:39:21 +02:00
Guy Albertelli
f7e6777e6e
kernel32: Fix GetVolumeInformation[AW] to require trailing \.
2009-04-29 13:38:56 +02:00
Guy Albertelli
6f1390646c
kernel32/tests: Add tests for GetVolumeInformationA and QueryDosDevice.
2009-04-29 13:38:51 +02:00
Eric Pouech
88bdc0c110
kernel32: In editline's keys table, use constants instead of numeric constants.
2009-04-28 11:58:41 +02:00
Alexandre Julliard
72f89d6bfc
Revert "kernel32: Report unixfs instead of ntfs for unknown filesystem type."
...
This reverts commit 8044c11ecf
.
2009-04-27 13:25:53 +02:00
Dan Kegel
3e6d0789d0
ntdll: Add missing RtlReAllocateHeap Valgrind hook, add tests.
2009-04-27 13:22:49 +02:00
Hans Leidekker
9b9d8dc3e8
kernel32: Improve GetVolumePathName stub.
2009-04-23 18:14:26 +02:00
Łukasz Wojniłowicz
1e0caf7dfd
kernel32: Added Polish translations.
2009-04-23 14:21:44 +02:00
Mikołaj Zalewski
1e256e426d
winedbg: Add a crash dialog for --auto mode.
2009-04-22 17:00:34 +02:00
Alexandre Julliard
c6083037a8
kernel32: Make sure the string is properly terminated in QueryFullProcessImageNameW.
2009-04-22 16:56:37 +02:00
Dmitry Kislyuk
182e75140e
kernel32: Added GetPrivateProfileSection and GetPrivateProfileString tests for empty section scenario.
2009-04-20 17:40:33 +02:00
Frans Kool
6a13a1f589
kernel32: Added Dutch translations.
2009-04-16 11:28:46 -05:00
Alexandre Julliard
4b9bba163e
kernel32/tests: Use the appropriate processor architecture in generated manifests.
2009-04-06 20:57:47 +02:00
Paul Vriens
9a10234ef2
kernel32: Fix creation of empty sections in ini files.
2009-04-02 16:28:30 +02:00
Alexandre Julliard
fc87182d19
kernel32: Set argv[0] to the full path of the binary when starting from Unix.
2009-04-02 12:59:32 +02:00
Alexandre Julliard
7b7f35aee5
kernel32: Use __wine_main_environ by default, environ is broken on FreeBSD too.
2009-04-02 12:03:35 +02:00
Alexandre Julliard
8edf353bd2
libwine: Export __wine_get_main_environment on Mac OS to make sure it's reevaluated when used.
2009-04-01 15:07:42 +02:00
Mikołaj Zalewski
9c9532265d
kernel32: Implement QueryFullProcessImageFileNameW.
2009-03-31 18:05:55 +02:00
Paul Vriens
a61e117781
kernel32/tests: Fix some test failures on Win9x and WinME.
2009-03-30 13:58:12 +02:00
Paul Vriens
7eca8022df
kernel32/tests: Fix some test failures on NT4 and below.
2009-03-27 15:51:25 +01:00
Christian Costa
de90eccd1a
kernel32: Add stub for GetSystemTimes.
2009-03-27 11:23:21 +01:00
Paul Vriens
9e82e50eb3
kernel32/tests: Fix crash on NT4 and higher.
2009-03-26 16:21:59 +01:00
Alexandre Julliard
79cd9183e8
kernel32: Revert incorrect part of commit 7c3529f1cc
.
2009-03-25 14:19:02 +01:00
James Hawkins
87847b47cd
kernel32: Don't try to load an empty initialization file.
2009-03-24 11:37:01 +01:00
James Hawkins
7c3529f1cc
kernel32: Handle writing empty sections and keys in WritePrivateProfileString.
2009-03-24 11:36:52 +01:00
James Hawkins
f1308f9b40
kernel32: Set last error to ERROR_FILE_NOT_FOUND if lpAppName is NULL.
2009-03-24 11:36:03 +01:00
James Hawkins
287b07fddc
kernel32: Add tests for WritePrivateProfileString.
2009-03-24 11:35:52 +01:00
Aric Stewart
8044c11ecf
kernel32: Report unixfs instead of ntfs for unknown filesystem type.
...
This avoids programs such as the .Net2.0 installer trying to do ntfs
specific functions on the disk.
2009-03-23 12:41:36 +01:00
Alexandre Julliard
009342a88c
kernel32: Make the load order for a 16-bit stand-alone dll match its 32-bit owner.
2009-03-11 16:51:08 +01:00
Michael Stefaniuc
9b2730eb88
kernel32: Remove superfluous pointer casts.
2009-03-11 13:03:31 +01:00
Alexandre Julliard
f4a19c8463
loader: Merge the first and second stage loaders into a single wine binary.
2009-03-10 18:22:38 +01:00
Alexandre Julliard
598e6f09c8
kernel32/tests: Stop testing integer atoms if the first one doesn't work.
2009-03-05 12:47:18 +01:00
Alexandre Julliard
3e84960c20
kernel32/tests: Improve some failure messages in the pipe tests.
2009-03-04 15:45:48 +01:00
Paul Vriens
54845cd40a
kernel32/tests: Correct an ok() statement.
2009-03-04 14:42:30 +01:00
Alexandre Julliard
6cebffcd70
kernel32: Make windebug.dll into a stand-alone 16-bit module.
2009-03-04 14:24:30 +01:00
Alexandre Julliard
41600a8226
kernel32: Make comm.drv into a stand-alone 16-bit module.
2009-03-04 14:22:24 +01:00
Alexandre Julliard
a9e81624b7
kernel32: Make win87em.dll into a stand-alone 16-bit module.
2009-03-04 14:19:49 +01:00
Alexandre Julliard
e4085d75df
kernel32: Make stress.dll into a stand-alone 16-bit module.
2009-03-04 14:16:18 +01:00
Vincent Povirk
392537bb33
kernel32/tests: Add named pipe test using i/o completion ports.
2009-03-03 11:59:48 +01:00
Alexandre Julliard
c47e32a7cc
kernel32: Fix the last error code for timeout in GetQueuedCompletionStatus.
2009-03-03 11:59:48 +01:00
Vincent Povirk
311d260ac1
kernel32/tests: Fix overlapped named pipe test.
...
The overlapped named pipe test calls GetOverlappedResult after all
operations in which it passes an overlapped structure, but it seems we
only get one when the functions fail with ERROR_IO_PENDING. I've
modified the test to account for that, and it seems to pass
consistently on Windows and Wine.
2009-02-27 13:16:11 +01:00
Vincent Povirk
545b6989f2
kernel32/tests: Remove a redundant check for ERROR_CALL_NOT_IMPLEMENTED.
2009-02-27 13:15:52 +01:00
Alexandre Julliard
3f0d9d12c3
kernel32: Make winhelp.exe into a stand-alone 16-bit executable.
2009-02-26 13:25:45 +01:00
Alexandre Julliard
a1cf6485df
kernel32: Make winoldap.mod into a stand-alone 16-bit executable.
2009-02-26 13:25:45 +01:00
Alexandre Julliard
825d7fda6c
kernel32: Make sure the process has an entry point before starting it.
2009-02-26 13:25:40 +01:00
Alexandre Julliard
cd6295d276
kernel32: Add support for loading stand-alone 16-bit modules.
2009-02-26 13:23:00 +01:00
Alexandre Julliard
af2e40ea26
winecrt0: Add entry point code for stand-alone 16-bit executables.
2009-02-26 13:23:00 +01:00
Francois Gouget
41360cc161
kernel32/tests: Change to a win_skip() because we don't want to skip the GetConsoleCursorInfo(,NULL) test in Wine.
2009-02-24 16:57:26 +01:00
Francois Gouget
5989534540
kernel32/tests: Use win_skip() to skip over unimplemented functionality.
2009-02-24 16:57:26 +01:00
Alexandre Julliard
3d0cf96f01
kernel32: Print a nicer error message when 16-bit/DOS apps cannot be launched.
2009-02-24 16:57:25 +01:00
Vitaliy Margolen
908eab4f1f
kernel32: Implement GetShortPathName16.
2009-02-23 12:19:29 +01:00
Austin English
68cc3ff120
kernel32: Add test for renaming file over itself.
2009-02-20 11:11:31 +01:00
Michael Karcher
abf9cd0993
kernel32: Free profile before reloading.
2009-02-18 14:58:27 +01:00
Francois Gouget
4a8e1feeb4
kernel32: Fix an off-by-one error in build_envp().
...
We need to take into account the trailing NULL in envp.
2009-02-18 12:17:41 +01:00
Alexandre Julliard
5720375fec
kernel32/tests: Add a few more error codes for GetDiskFreeSpace.
2009-02-16 12:02:46 +01:00
Alexandre Julliard
9849c99d1b
kernel32/tests: Fix the last remaining failure on NT4.
2009-02-16 12:02:25 +01:00
Juan Lang
d1dc7e5be4
kernel32: Fix test failures on NT4.
2009-02-13 13:34:28 +01:00
Juan Lang
705cdc88c4
kernel32: Fix some more failures on systems with reduced privilege.
2009-02-13 13:33:11 +01:00
Juan Lang
5dd87ec9b1
kernel32: Log more information in case of a test failure, and don't run tests that are guaranteed to fail.
2009-02-13 13:33:03 +01:00
Juan Lang
0edcef6d5e
kernel32: Fix some test failures on systems with reduced privilege.
2009-02-13 13:32:56 +01:00
Juan Lang
c82722b3dc
kernel32: Add more tests for getting/setting a named pipe's state.
2009-02-12 11:59:15 +01:00
Alexandre Julliard
fb04bcf638
Fix position of CDECL qualifier for functions that return pointers.
2009-02-06 14:54:01 +01:00
Christoph von Wittich
4192d34dd9
kernel32: DeviceIoControl: lpBytesReturned must not be NULL if lpOverlapped is NULL.
2009-02-06 13:03:06 +01:00
Alexandre Julliard
5d0f3aa33b
kernel32/tests: Add another error code in the CreateDirectory test.
2009-02-03 22:23:19 +01:00
Alexandre Julliard
3cd4150059
kernel32/tests: Don't hardcode C drive for CreateDirectory tests.
2009-02-03 15:21:47 +01:00
Alexandre Julliard
1a28fb6c16
kernel32/tests: Use a better invalid filename than "foo".
2009-02-03 15:15:49 +01:00
Alexandre Julliard
bdfa9c3a1b
kernel32/tests: Allow more error codes from GetDiskFreeSpace.
2009-02-03 15:04:24 +01:00
Alexandre Julliard
e8d36ff9a1
kernel32/tests: Print some more details on directory test failures.
2009-02-03 15:01:41 +01:00
Marcus Meissner
5493b77290
kernel32: Handle username conversion failure (Coverity).
2009-02-02 15:21:43 +01:00
Paul Vriens
047a43f084
kernel32/tests: Fix remaining failures on Win9x and WinME.
2009-02-02 12:12:24 +01:00
Paul Vriens
a8c24d343c
kernel32/tests: Fix some test failures on Win9x and WinME.
2009-02-02 12:12:16 +01:00
Paul Vriens
2bac661c2f
kernel32/tests: Fix some tests on Win9x and WinME (GetPrivateProfileSection).
2009-02-02 12:12:09 +01:00
Paul Vriens
b7b59236cf
kernel32/tests: Fill the buffer and check for double-NULL to show a bug in Wine.
2009-02-02 12:12:03 +01:00
Paul Vriens
8236f362ff
kernel32/tests: Fix some test failures on Win9x and WinME.
2009-01-30 11:43:21 +01:00
Paul Vriens
a21ea16f90
kernel32/tests: Skip some tests on Win9x and WinME.
2009-01-30 11:43:16 +01:00
Alexandre Julliard
3e88d45f7c
kernel32/tests: Don't test the implementation details of the SList structure.
2009-01-29 22:08:07 +01:00
Alexandre Julliard
b8712b7f8a
kernel32/tests: Support broken GetTempPath return value on WinME.
2009-01-29 22:07:50 +01:00
Paul Vriens
407f0d9f56
kernel32/tests: Fix some test failures on Win9x and WinME (GetPrivateProfileString).
2009-01-29 12:19:35 +01:00
Paul Vriens
48f035bd4c
kernel32/tests: Fix some test failures on Win9x and WinME (GetPrivateProfileSectionNames).
2009-01-29 12:19:29 +01:00
Paul Vriens
7099cdebd5
kernel32/tests: Fix some test failures on several platforms.
2009-01-29 12:19:19 +01:00
Hans Leidekker
2095ba19bb
kernel32: Add stub implementations of Wow64DisableWow64FsRedirection and Wow64RevertWow64FsRedirection.
2009-01-29 12:17:58 +01:00
Paul Vriens
cca75cc147
kernel32/tests: Don't crash when run as a normal user.
2009-01-28 12:32:22 +01:00
Paul Vriens
dda0fe451d
kernel32/tests: Fill the buffer to show a bug in Wine.
2009-01-28 12:32:05 +01:00
Austin English
eb877e4421
kernel32: Add a stub for OpenProfileUserMapping.
2009-01-28 12:11:22 +01:00
Alasdair Sinclair
116886cf0a
kernel32/tests: Fix missing void in empty parameter list.
2009-01-28 12:10:55 +01:00
Alexandre Julliard
a79868e09d
kernel32/tests: Don't hardcode C drive for SetCurrentDirectory tests.
...
Also handle the case where TMP and TEMP are not defined.
2009-01-27 14:55:30 +01:00
Marcus Meissner
e1d9a793be
kernel32: Initialize events correctly.
2009-01-27 11:09:24 +01:00
Ge van Geldorp
ee3a743e6c
kernel32/tests: "none" debugger test needs user interaction.
2009-01-26 16:08:30 +01:00
Nikolay Sivov
2ddcb295b6
kernel32: Added DeleteTimerQueue.
2009-01-23 13:12:31 +01:00
Nikolay Sivov
32cc4011ee
kernel32: Make GetOverlappedResult crash on NULL args as native does.
2009-01-22 15:28:24 +01:00
Alexandre Julliard
6d0a0fb182
kernel32/nls: Use a codepage 950 encoding that round trips correctly for Unicode char 0x5341.
2009-01-20 16:43:08 +01:00
Francois Gouget
89c63fd32b
kernel32: Fix some bad left-over uses of value in the CPU detection code.
2009-01-20 12:33:44 +01:00
Alexandre Julliard
317ad64985
kernel32: LCMapString should include the terminating NULL also for LCMAP_SORTKEY.
2009-01-19 13:46:30 +01:00
Austin English
7f3439d556
kernel32: Fix a compiler warning on NetBSD.
2009-01-19 13:36:26 +01:00
Andrew Nguyen
976d5cae8d
kernel32: Ensure that WriteConsoleW succeeds with an empty input buffer.
2009-01-19 13:36:25 +01:00
Andrew Nguyen
1571c05ad5
kernel32/tests: Simplify a test function's parameters.
2009-01-19 13:36:25 +01:00
Alexandre Julliard
31fd066393
kernel32/tests: Add test cases for reading/writing process memory from an invalid buffer address.
2009-01-15 12:06:16 +01:00
Alexandre Julliard
e016d2ec5e
kernel32: Remove the DIB section hack in WriteFile now that NtWriteFile takes care of it.
2009-01-15 12:06:16 +01:00
Alexandre Julliard
8de57bd541
kernel32/tests: Add test cases for reading/writing from an invalid buffer address.
2009-01-15 12:05:53 +01:00
Nikolay Sivov
4e12b8efc8
kernel32/tests: Some todo tests for CompareStringA and lstrcmpi.
2009-01-14 15:54:41 +01:00
Nikolay Sivov
2013cdc604
kernel32: Implemented GetErrorMode().
2009-01-13 16:39:45 +01:00
Andrey Turkin
d2685e7bd7
ntdll: Add RtlCaptureStackBackTrace stub.
2009-01-12 14:37:57 +01:00
Francois Gouget
b881cfc541
kernel32: Fix the sysctl() usage and the CPU detection on NetBSD.
2009-01-09 14:06:13 +01:00
Alexandre Julliard
02a1c0d7ee
kernel32/tests: Fix some integer to pointer conversion warnings.
2009-01-08 13:17:53 +01:00
Alexandre Julliard
1f83e7d9fd
kernel32/tests: Use _lclose instead of CloseHandle to avoid handle casts.
2009-01-08 13:05:16 +01:00
Francois Gouget
581e390115
winapi_test: The tests don't support WIN64 yet so disable them there.
2009-01-08 12:47:22 +01:00
Francois Gouget
411f5d22c0
winapi_test: The real tests are done at compile time so use C_ASSERT() instead of ok(). Do only one test per line so one can know exactly what went wrong.
2009-01-08 12:46:39 +01:00
Francois Gouget
9f62c9b7a8
winapi_test: Fix TEST_FIELD() so it correctly tests the field size.
2009-01-08 12:44:49 +01:00
Francois Gouget
43c18c1321
winapi_test: FIELD_ALIGNMENT() is redundant so remove it.
2009-01-08 12:43:15 +01:00
Francois Gouget
2e668d2572
winapi_test: Updated so the generated tests work.
2009-01-08 12:42:12 +01:00
Alexandre Julliard
13df062d36
kernel32: #ifdef out some code that is not needed on non-i386.
2009-01-07 11:10:16 +01:00
Alexandre Julliard
27bb18a531
kernel32: Moved the 16-bit WOW thunk routines to thunk.c.
2009-01-06 20:28:08 +01:00
Alexandre Julliard
1b2ceb5718
kernel32: Moved _DebugOutput to kernel16.c.
2009-01-06 20:27:51 +01:00
Alexandre Julliard
e31188d9da
winebuild: Improve the calling sequence for register functions.
...
Pass parameters on the stack instead of retrieving them from the code
stream; this ensures that the code contains only valid instructions.
2009-01-06 12:51:18 +01:00
Alexandre Julliard
9f6ff3d5af
kernel32: Change the DEFINE_REGS_ENTRYPOINT macro to use a number of args instead of a size.
...
Also assume that all register functions are stdcall.
2009-01-06 12:49:38 +01:00
Austin English
f4d7369ba3
kernel32: Fix a compiler warning on non-i386.
2009-01-05 12:34:25 +01:00
Alexandre Julliard
c9b4210b9c
kernel32/tests: Use the actual name of the exe module in toolhelp tests.
2009-01-04 14:59:34 +01:00