Commit Graph

225 Commits

Author SHA1 Message Date
Huw Davies 3f49239063 kernel32: Fix GetPrivateProfileSectionNamesA when the file does not exist. 2007-03-14 18:49:40 +01:00
Alexandre Julliard a79b26284a libwine: Pass flags to wine_utf8_wcstombs to allow supporting WC_ERR_INVALID_CHARS. 2007-03-14 15:57:50 +01:00
Mikołaj Zalewski c5082679e5 kernel32: Fix LANGID for Korean resource. 2007-03-13 20:49:49 +01:00
Stefan Huehner 4d1d01f266 Mark several functions as static. 2007-03-13 13:35:12 +01:00
Jan Zerebecki f7c4b25723 kernel32: Add DebugInfo to critical sections. 2007-03-12 13:37:27 +01:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Paul Vriens 281ebbb5d6 kernel32/tests: Use skip. 2007-03-12 12:21:57 +01:00
Alasdair Sinclair 81c922398e kernel32: Fix GetComputerNameA to not count trailing NULL, with test. 2007-03-09 13:55:43 +01:00
Alexandre Julliard 82274f8b16 kernel32: Implemented GetSystemInfo() for Solaris. 2007-03-08 23:01:03 +01:00
Alexandre Julliard 849ee1c2bb kernel32: Fixed DosDateTimeToFileTime behavior when timegm() is missing.
The tm_isdst field needs to be initialized for mktime to do the right thing.
2007-03-08 21:06:41 +01:00
Alexandre Julliard 544a32f0e1 kernel32: Add missing limits.h include. 2007-03-08 13:12:59 +01:00
Konstantin Kondratyuk aefbef00f9 kernel32: Allow to execute .cmd files. 2007-03-07 21:34:03 +01:00
Rob Shearman 1fa2a2b649 kernel32: Add tests for ImpersonateNamedPipeClient. 2007-03-07 20:10:31 +01:00
Detlef Riekenberg 20a3298312 serialui: Fix return type for CommConfigDialog. 2007-03-06 12:25:06 +01:00
Rob Shearman 5267e36ad0 kernel32: Implement CallNamedPipeW. 2007-03-05 16:43:26 +01:00
Jason Edmeades 9d00aeafd7 kernel32/tests: Show wrong behaviour with current directory. 2007-03-05 12:59:19 +01:00
Aric Stewart 00eca70b2a kernel32: Allow for non base-10 int values in ini file. 2007-02-27 12:34:21 +01:00
Detlef Riekenberg ade9fd6400 kernel32: Remove duplicate code (use serialui instead). 2007-02-27 12:25:49 +01:00
Rob Shearman e716c5b1ef kernel32: Fix crash in dns_gethostbyname. 2007-02-23 11:18:40 +01:00
Rob Shearman a5317eb846 kernel32: Fix an off-by-one error in GetComputerNameExA/W.
The dns_* functions expect the input buffer to have space for size 
characters plus the nul terminating character.
2007-02-21 19:50:57 +01:00
Detlef Riekenberg d7e88ff996 kernel32: Display correct parameters in comm traces. 2007-02-20 20:52:41 +01:00
Rob Shearman ea8ccb2590 kernel32: Don't run the CreateRemoteThread tests if the child process isn't mapped at the same address as the parent process. 2007-02-20 11:39:23 +01:00
Stefan Dösinger e90635f5b6 kernel32: Add a CheckRemoteDebuggerPresent stub. 2007-02-19 13:11:08 +01:00
Hans Leidekker c56eafcb80 kernel32: Add a stub implementation for FindFirstVolumeMountPoint{A, W}. 2007-02-19 12:40:09 +01:00
Rob Shearman fc5b795f7c kernel32: Fix the GetComputerName* functions to not write to the buffer at all if there is not enough space.
Add tests for the GetComputerName* functions that show this issue.

Fix an off-by-one error in setting the size when there is not enough space.

Remove the exception handlers for GetComputerNameW,
GetComputerNameExA/W, since testing on XP SP2 shows that access
violations are not caught and these are not present on Win9x, which
does have an exception handler.
2007-02-16 13:13:17 +01:00
Marcus Meissner beb603e908 kernel32/tests: Fixed several uninitialized variables. 2007-02-09 12:07:14 +01:00
Marcus Meissner c05b43f464 kernel32: Remove CloseHandle call. 2007-02-09 11:49:56 +01:00
Misha Koshelev 12e3d642dd kernel32: CreateThread returns NULL on error, not INVALID_HANDLE_VALUE. 2007-02-06 20:23:12 +01:00
Francois Gouget 0271a09d4c Add missing '\n's in traces. 2007-02-06 13:20:59 +01:00
Damjan Jovanovic 07db8882c2 ntdll: Slist support.
Implemented ntdll's RtlInitializeSListHead, RtlQueryDepthSList,
RtlInterlockedFlushSList, RtlFirstEntrySList,
RtlInterlockedPushEntrySList, RtlInterlockedPopEntrySList, their
kernel32 equivalents, and tests.
2007-02-05 21:46:28 +01:00
Misha Koshelev d6d6ce299f kernel32: Added conformance test for nested thread wakeups in the server. 2007-02-05 18:07:24 +01:00
Marcus Meissner 67b6044de7 kernel32: Initialize owner_exists (Coverity). 2007-02-05 14:02:35 +01:00
Dmitry Timoshkov d32d5a4706 kernel32: Add a trace to MultiByteToWideChar. 2007-02-05 12:28:57 +01:00
Anatoly Lyutin 8ffdf9b45a kernel32: Add comment for GetConsoleWindow. 2007-01-23 13:06:29 +01:00
Mike McCormack 71a2f4d184 kernel32: Forward EncodePointer and DecodePointer to their ntdll counterparts. 2007-01-22 12:45:46 +01:00
Detlef Riekenberg dc577ed685 kernel32/tests: GetVolumeNameForMountPoint not present before w2k. 2007-01-22 12:08:25 +01:00
Detlef Riekenberg 9b8f699a08 kernel32/tests: VirtualAllocEx not present in Win95. 2007-01-22 12:08:16 +01:00
Detlef Riekenberg fb9df99dc0 kernel32/tests: Fix a declaration and use skip for the message. 2007-01-22 12:08:13 +01:00
Rob Shearman 8132707bce kernel32: Handle the SECURITY_* flags passed into CreateFileW by filling out the SECURITY_QUALITY_OF_SERVICE structure and passing it to NtCreateFile.
Print a fixme in NtCreateFile if the SECURITY_QUALITY_OF_SERVICE
structure is specified, since it isn't handled yet.
2007-01-22 12:02:04 +01:00
Alexandre Julliard 02e2fa7798 ntdll: Implementation of inter-process NtMapViewOfSection and NtUnmapViewOfSection. 2007-01-18 15:17:51 +01:00
Alexandre Julliard 8025f79ce1 ntdll: Implementation of inter-process RtlCreateUserThread. 2007-01-18 15:02:55 +01:00
Alexandre Julliard 7a383cf83f ntdll: Abuse RtlCreateUserThread to call the thread function for CreateThread directly. 2007-01-18 15:02:11 +01:00
Alexandre Julliard 21d631e270 ntdll: Move the LDT section to ntdll and make it an uninterruptible section. 2007-01-18 15:01:45 +01:00
Francois Gouget aab5e5856e Don't put single quotes around '%s' when using the debugstr_*() functions. 2007-01-18 12:55:50 +01:00
Joel Parker 2319999a05 Remove redundant semicolons for ANSI compatibility. 2007-01-17 11:58:15 +01:00
Jonathan Ernst 6a058830f3 kernel: Beginning of French translation of error messages. 2007-01-16 11:44:55 +01:00
Alexandre Julliard 1ea968016f ntdll: Implementation of inter-process VirtualProtectEx. 2007-01-15 22:30:04 +01:00
Alexandre Julliard 3d00239586 ntdll: Implementation of inter-process VirtualQueryEx. 2007-01-15 22:28:42 +01:00
Alexandre Julliard 7a00142bc1 ntdll: Implementation of inter-process VirtualAllocEx and VirtualFreeEx. 2007-01-15 22:27:40 +01:00
Alexandre Julliard 0df37dd9e3 kernel32: Use the proper codepage for console functions.
Based on a patch by Anatoly Lyutin.
2007-01-15 16:49:08 +01:00
Anatoly Lyutin 11e7b64ec9 kernel32: Add details in description function MultiByteToWideChar and WideCharToMultiByte. 2007-01-15 13:00:53 +01:00
Felix Nawothnig 89d8b47547 kernel32: Forward CopyLZFile() to LZCopy() instead of wrapping it. 2007-01-15 13:00:24 +01:00
Alexandre Julliard 1db223954f server: Set the specified in/out buffer sizes on named pipes using SO_SND/RCVBUF. 2007-01-12 20:59:22 +01:00
Mike McCormack f01707dfc1 kernel32: Merge existing resources in EndUpdateResource. 2007-01-11 12:12:00 +01:00
Mike McCormack 38e27fa9f8 kernel32: Split update_add_resource() into two functions. 2007-01-11 12:09:49 +01:00
Mike McCormack 8f8fecd00e kernel32: Create a simple abstraction for file mappings. 2007-01-11 12:07:40 +01:00
Andrew Talbot e994f88cc2 kernel32: Declare some functions static. 2007-01-10 22:25:41 +01:00
Dmitry Timoshkov 13dfa9a711 kernel32: Do not forget to cleanup if the test is skipped. 2007-01-10 11:59:02 +01:00
Hans Leidekker 7918c59f86 kernel32: Add a stub implementation for GetVolumeNameForVolumeMountPoint{A, W}. 2007-01-09 12:46:37 +01:00
Samuel Lidén Borell a7c9970762 kernel32: Add SetTermsrvAppInstallMode stub. 2007-01-09 12:46:28 +01:00
Mike McCormack 4d72d7897f kernel32: Implement EndUpdateResource for the case existing resources are deleted. 2007-01-09 12:22:21 +01:00
Ken Thomases 5a220321df kernel32: Don't release preferred_locales until we're done with its members. 2007-01-09 12:04:30 +01:00
Michael Stefaniuc 22684cc767 janitorial: Remove stray '\' at end of lines. 2007-01-09 12:04:26 +01:00
Paul Vriens aea09ade58 kernel32/tests: Prevent memory leak. 2007-01-08 21:13:54 +01:00
Dmitry Timoshkov 67568764e5 kernel32: Print more information about the reason of a test failure. 2007-01-08 12:52:52 +01:00
Dmitry Timoshkov 1e7ba7c2ce kernel32: Fix the file sharing test to pass cleanly under XP and Win9x. 2007-01-08 12:52:46 +01:00
Dmitry Timoshkov cda3968693 kernel32: Skip the VirtualAllocEx test under Win9x. 2007-01-08 12:51:40 +01:00
Francois Gouget 9299c4985e kernel32/tests: Replace some '#if 0's with 'if (0)'s.
Fix the code so it compiles without warnings.
2007-01-08 12:09:07 +01:00
Dmitry Timoshkov 3d01fc39aa kernel32: Skip the OpenProcess test under Win9x. 2007-01-08 11:46:05 +01:00
Dmitry Timoshkov f70fb8ec4c kernel32: GetTimeFormat and GetDateFormat should fail if LOCALE_NOUSEROVERRIDE is specified simultaneously with a format string. 2007-01-05 18:24:12 +01:00
Francois Gouget 14918e293a kernel32/tests: Use '%d' to print GetLastError(). 2007-01-04 11:26:22 +01:00
Mike McCormack b4bc2c3628 kernel32: Don't try update version resources with invalid data, as it fails on Windows 2003. 2007-01-04 09:56:00 +01:00
Rob Shearman 140a610e2a kernel32: Be more verbose about the expected and received values for failures in the resource function tests. 2007-01-04 09:50:25 +01:00
Thomas Kho f9cbc4c70d kernel32: Add CreateRemoteThread remote thread conformance tests. 2007-01-03 14:22:02 +01:00
Thomas Kho 91c7c7bf43 kernel32: Add VirtualAllocEx remote thread conformance tests. 2007-01-03 14:13:12 +01:00
Mike McCormack 9196a37201 kernel32: Store resources to be updated in a tree. 2007-01-03 11:54:41 +01:00
Dmitry Timoshkov 361ea6e4dc kernel32: Remove a line that was supposed to be deleted by the previous patch. 2007-01-02 20:31:15 +01:00
Hans Leidekker a2705da378 kernel32: Add a stub implementation for TermsrvAppInstallMode. 2007-01-02 20:30:32 +01:00
Mike McCormack 794dbe4f93 kernel32: Remove incorrect and incomplete implementation of BeginResourceUpdate. 2007-01-02 13:20:21 +01:00
Mike McCormack 1cd16ed7f3 kernel32: Add a short test for Begin/EndUpdateResource. 2007-01-02 13:20:11 +01:00
Mike McCormack b9910cb36d kernel32: Implement CopyFileWithProgress. 2007-01-02 12:08:53 +01:00
Dmitry Timoshkov ebd57713aa kernel32: Make the locale test pass without errors under XP SP2. 2007-01-01 17:15:27 +01:00
Paul Vriens bafefecaa2 kernel32/tests: Run tests on NT4 again. 2007-01-01 17:03:47 +01:00
Paul Vriens 85b52e5693 kernel32/tests: Moved ok-statement to the appropriate place. 2007-01-01 17:03:38 +01:00
Paul Vriens 83f071cf7b kernel32/tests: Move USE_EXTENDED_PRIORITIES outside the if-statement. 2007-01-01 17:03:30 +01:00
Michael Stefaniuc 5263b5ec24 kernel32/tests: In multiline strings there is no need for '\' at the end of the lines. 2006-12-27 13:10:03 +01:00
Dmitry Timoshkov efb1e8eb75 kernel32: Fix a typo. 2006-12-22 10:21:48 +01:00
Alexandre Julliard 9fed1205ca ntdll: File positions should be aligned to sector boundaries in PE loader. 2006-12-21 12:34:44 +01:00
Paul Vriens 11c186fbe7 kernel32/tests: Don't use full path for executable in tests. 2006-12-21 12:20:44 +01:00
Juan Lang c2da099e29 kernel32: Suppress an unneeded warning. 2006-12-21 11:24:56 +01:00
Alexandre Julliard 2a1dc15790 ntdll: Fix the libdl refcount when loading the same builtin twice. 2006-12-20 15:54:27 +01:00
Francois Gouget 1d6db94ee2 kernel32/tests: Test loading and unloading of builtin dlls. 2006-12-20 15:48:22 +01:00
Dmitry Timoshkov 5fc9ffd500 kernel32: Add a minimal PE image that XP is able to load. 2006-12-19 12:38:56 +01:00
Rob Shearman c3b4fe3919 kernel32: Protect global alloc functions against integer overflows on the size parameter. 2006-12-18 11:54:54 +01:00
Francois Gouget 367f91fb5c Assorted spelling fixes. 2006-12-14 20:25:05 +01:00
Paul Vriens 96bc4517c3 kernel32/tests: Be a bit more verbose on failure. 2006-12-14 20:10:49 +01:00
Pierre d'Herbemont 5ff751156d kernel32: Remove unneeded headers. 2006-12-13 16:05:11 +01:00
Alexandre Julliard 3dc21d387b ntdll: Map the PE header up to the specified size, and clear the rest of the page. 2006-12-13 16:04:49 +01:00
Dmitry Timoshkov 64b2ca2573 kernel32: Add the data that mimics the PE image which upack creates. 2006-12-13 16:04:48 +01:00
Pierre d'Herbemont 3c0d2e3808 kernel32: Allow the preferred language to be different from the preferred locale on Mac OS X. 2006-12-12 20:17:19 +01:00