Luca Bennati
8e55a610b6
kernel32: Update Italian translation.
2010-06-21 11:47:19 +02:00
Henri Verbeet
772a5c7c09
ntdll: The FPU control word for newly created threads is 0x27f.
...
This fixes a regression introduced by
e6611e22fb
.
2010-06-17 11:50:23 +02:00
Andrew Nguyen
1029167232
kernel32/tests: Add tests to examine output file part pointer behavior for GetFullPathNameW.
2010-06-17 11:48:42 +02:00
Andrew Nguyen
70099e8971
kernel32/tests: Add tests to examine output file part pointer behavior for GetFullPathNameA.
2010-06-17 11:48:39 +02:00
Damjan Jovanovic
06de0195d0
kernel32: Stop CopyFile from overwriting a file with itself.
2010-06-16 19:38:58 +02:00
Damjan Jovanovic
6e5a22c733
kernel32: Add a CopyFile test.
2010-06-15 18:29:07 +02:00
Damjan Jovanovic
44aa45036b
kernel32: Revert 3f1404bf29
and add better CopyFile tests.
2010-06-14 14:14:16 +02:00
Nikolay Sivov
43d9c9bb41
kernel32: Export RtlPcToFileHeader on x86-64 platform.
2010-06-14 14:14:15 +02:00
Igor Paliychuk
4801209c5c
kernel32: Update Ukrainian translations.
2010-06-11 11:36:49 +02:00
Damjan Jovanovic
3f1404bf29
kernel32: CopyFile cannot overwrite a file with itself.
2010-06-11 11:36:42 +02:00
André Hentschel
b8ff44e627
kernel32/tests: Add a test about unicode collation.
2010-06-08 12:58:55 +02:00
Alexandre Julliard
2b99e1c17d
kernel32: Make sure we always have a valid process title.
2010-06-08 11:53:58 +02:00
Alexandre Julliard
e091c12b66
kernel32/tests: Fix the process title tests to actually test something.
2010-06-08 11:50:20 +02:00
Paul Vriens
30d535cf74
kernel32: Add the Danish translation.
...
Translation by Thomas Larsen <sikker2004@yahoo.com>
2010-06-07 12:22:57 +02:00
Frédéric Delanoy
da05cbd8ce
kernel32: Fix a spelling error in French locale definitions.
2010-06-02 10:53:21 +02:00
Paul Vriens
dda58216ea
kernel32: Fix the Korean resources.
2010-06-02 10:52:24 +02:00
Alexandre Julliard
48cffa0323
kernel32/tests: Restore the stderr handle after the closing test.
2010-05-28 11:21:44 +02:00
Alexandre Julliard
a10e9ba092
kernel32: Unalign the stack on process startup to work around Doom3 bug.
2010-05-28 11:20:28 +02:00
Alexandre Julliard
775e5f7b3e
kernel32: Reset stdio handles when they are closed.
2010-05-26 23:16:34 +02:00
Austin English
3fd4f68827
kernel32/tests: Check return value of alarmThread in test_NamedPipe_2().
2010-05-24 12:56:19 +02:00
Austin English
e0c7fb66c4
kernel32/tests: Use ret in load_blackbox().
2010-05-24 12:53:09 +02:00
Andrey Turkin
85cc2c13f6
server: Connect named pipe synchronously when overlapped param is NULL.
2010-05-24 12:39:35 +02:00
Andrey Turkin
de79a63838
kernel32: Implement CreateHardLink.
2010-05-17 14:43:26 +02:00
Alexandre Julliard
f3831cf2cb
configure: Rename the 64-bit loader to wine64 and keep wine always for the 32-bit loader.
...
This provides better backwards compatibility when running with a
32-bit prefix.
2010-05-17 12:42:30 +02:00
Detlef Riekenberg
69326aa246
kernel32: Move a 16 bit related comment to krnl386.
2010-05-14 18:03:03 +02:00
Paul Vriens
f3b4bd2bbc
kernel32: Return the correct processor arch and type in wow64 mode.
2010-05-13 11:51:11 +02:00
Nikolay Sivov
0597e659bd
kernel32: Fix return code from LocalUnlock for pointer passed to it.
2010-05-10 10:04:54 +02:00
Alexandre Julliard
383879f686
kernel32: Add an x86_64 implementation for the TEB access functions.
2010-05-07 14:15:25 +02:00
Alexandre Julliard
18dbaadfc5
kernel32: Define GetProcessHeap as an assembler function on i386.
2010-05-07 14:07:45 +02:00
André Hentschel
56d28f7d5b
kernel32: Double the alarm timeout to prevent a failed test.
2010-05-07 13:30:44 +02:00
Gerald Pfeifer
978b4898e5
kernel32/tests: Remove variable len which is not really used from test_CommandLine.
2010-05-05 10:56:39 +02:00
Alexandre Julliard
ac69fcb14f
server: Check that the prefix type can support the client architecture.
2010-05-04 20:27:20 +02:00
Andrew Nguyen
f2c91f0d3c
kernel32: Reject a format string with insertions if no variadic arguments are passed to FormatMessageA/W.
2010-05-03 13:56:53 +02:00
Andrew Nguyen
cff134daf4
kernel32/tests: Document a few FormatMessage tests which are broken on older Windows.
2010-04-28 07:39:10 -05:00
Andrew Nguyen
57636255ef
kernel32: Merge the insertion and non-insertion codepaths in the format_message helper together to share common functionality.
2010-04-28 07:39:03 -05:00
Andrew Nguyen
722fd58446
kernel32: Process CRLF escape sequences in normal insert sequence processing path in FormatMessageA/W.
2010-04-28 07:38:53 -05:00
Andrew Nguyen
1d18b890a6
kernel32: Remove a superfluous function call in the format_insert helper.
2010-04-28 07:38:23 -05:00
Andrew Nguyen
e724f6aa28
kernel32/tests: Centralize the FormatMessageW skip detection.
2010-04-28 07:38:05 -05:00
Andrew Nguyen
5505ae978b
kernel32: Handle some escape sequences with FORMAT_MESSAGE_IGNORE_INSERTS in FormatMessageA/W.
2010-04-28 07:37:58 -05:00
Andrew Nguyen
2193b9e887
kernel32: Correct output buffer behavior with empty input strings for FormatMessageA/W.
2010-04-28 07:37:49 -05:00
Andrew Nguyen
f50198f662
kernel32: Improve flag error handling in FormatMessageA/W.
2010-04-28 07:37:39 -05:00
Andrew Nguyen
9df55f06a2
kernel32: Remove leftover preprocessor undef directives in the FormatMessage implementation.
2010-04-28 07:37:20 -05:00
Andrew Nguyen
3cb43a081b
kernel32: Fail if a format placeholder is present without a format specifier in FormatMessageA/W.
2010-04-28 07:36:35 -05:00
Hans Leidekker
9b33b479d6
kernel32/tests: Fix test failures on certain versions of Windows.
2010-04-27 14:38:38 -05:00
Michael Stefaniuc
6450b76a51
kernel32: The Isle of Man uses the Manx Pound.
2010-04-22 11:28:37 +02:00
Michael Stefaniuc
40ea1a08a5
kernel32: Add some missing LOCALE_SNATIVECURRNAME constants.
2010-04-22 11:28:30 +02:00
Michael Stefaniuc
c8d0f70a5c
kernel32: Update the Dutch (Suriname) NLS file.
2010-04-22 11:28:28 +02:00
Andrew Nguyen
12efa6135c
kernel32: Rename the load_message helper to reflect its sole handling of Unicode strings.
2010-04-19 15:46:13 +02:00
Andrew Nguyen
43436f64d8
kernel32: Unify the format_message ANSI and Unicode helpers.
2010-04-19 15:46:11 +02:00
Andrew Nguyen
4c657b870f
kernel32: Unify the format_insert ANSI and Unicode helpers.
2010-04-19 15:46:08 +02:00
Andrew Nguyen
053d4385c9
kernel32: Transition FormatMessageA to the internal use of Unicode strings.
2010-04-19 15:46:05 +02:00
Andrew Nguyen
f199a83d47
kernel32: Separate format string parsing in FormatMessageA into a new function.
2010-04-19 15:44:34 +02:00
Andrew Nguyen
df83469258
kernel32: Separate format string parsing in FormatMessageW into a new function.
2010-04-19 15:44:27 +02:00
Andrew Nguyen
fcdd0d3040
kernel32: Consistify allocation behavior with FormatMessageA/W.
2010-04-19 15:44:05 +02:00
Andrew Nguyen
8e20322578
kernel32/tests: Add tests for buffer allocation in FormatMessage.
2010-04-19 15:43:31 +02:00
Andrew Nguyen
ce61b254d0
kernel32: Only check the buffer pointer in FormatMessageA if buffer allocation is requested.
2010-04-19 15:43:25 +02:00
Andrew Nguyen
8b28efaed7
kernel32: Reject an insufficiently sized buffer in FormatMessageA/W.
2010-04-19 15:43:07 +02:00
Andrew Nguyen
c0e7931954
kernel32: Remove superfluous heap reallocation calls in FormatMessageA/W.
...
The buffer in question is temporary and will be freed on function
return, so resizing and leaving the enlarged space unused is pointless.
2010-04-19 15:42:42 +02:00
Andrew Nguyen
f35ca2a77c
kernel32/tests: Remove a superfluous comment in the FormatMessage tests.
2010-04-19 15:42:39 +02:00
Eric Pouech
409033cb6a
kernel32: Added proper support for GetSystemInfo on x86_64.
2010-04-16 16:54:30 +02:00
Alexandre Julliard
d0578c080a
kernel32: Map the new detailed direction information back to the Windows constants.
2010-04-14 18:00:45 +02:00
Alexandre Julliard
5189eef6bb
ntdll: Fix affinity mask check for 64-bit.
2010-04-08 23:57:08 +02:00
Alexandre Julliard
a8e86e35dd
winapi: Generate the 64-bit variant of structure size/alignment tests.
2010-04-07 18:03:00 +02:00
Andrew Nguyen
39208d4d60
kernel32: Don't set last error on success in OpenConsoleW.
2010-04-01 18:12:40 +02:00
Andrew Nguyen
b7bf2abdff
kernel32: Improve parameter validation in OpenConsoleW.
2010-04-01 18:12:40 +02:00
Marcus Meissner
35dfd34a9f
kernel32: Initialize env (Coverity).
2010-03-31 11:44:30 +02:00
Alexandre Julliard
02aef1c3b8
kernel32: Increase the wineboot timeout.
2010-03-30 16:55:11 +02:00
Alexandre Julliard
be0db98a23
kernel32: Fix processing of spaces in command line for builtin exes.
2010-03-29 19:37:35 +02:00
Alexandre Julliard
808c29b908
kernel32: Add support for starting binaries in 32/64-bit mode from the other mode.
2010-03-29 17:57:15 +02:00
Michael Stefaniuc
8f7372488b
kernel32/tests: Remove superfluous casts of integer constants.
2010-03-29 11:48:58 +02:00
André Hentschel
a9a7d963c2
kernel32: Make process traces aware of 64-bit.
2010-03-25 16:08:27 +01:00
André Hentschel
e9be1b4094
kernel32: Fix return value of FlsFree.
2010-03-22 15:53:42 +01:00
Francois Gouget
3428b94a8d
Assorted spelling and case fixes.
2010-03-22 10:49:13 +01:00
Francois Gouget
891b1ce3de
kernel32/tests: Remove a space after a '\n' in a skip().
2010-03-22 10:48:17 +01:00
Alexandre Julliard
c7bed19c0b
kernel32: Don't try to open builtin exe files during CreateProcess, only check the path syntax.
2010-03-18 13:46:22 +01:00
Paul Vriens
b120836bd2
kernel32/tests: Run tests again on Win95.
2010-03-16 17:03:23 +01:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Henri Verbeet
ef058b3030
kernel32: Implement CheckRemoteDebuggerPresent().
2010-03-15 15:56:56 +01:00
Henri Verbeet
6c0ecd0955
server: Debugging our own process is disallowed.
2010-03-15 15:55:08 +01:00
Alexandre Julliard
2bb93d39be
kernel32: Abstract the key creation routine and move the key existence check to the top-level function.
2010-03-13 19:24:46 +01:00
Henri Verbeet
1970fb35d4
server: Allow the debugger to be debugged.
2010-03-05 13:21:22 +01:00
Alexandre Julliard
83c272a258
ntdll: Return STATUS_IMAGE_NOT_AT_BASE when an image mapping has to be relocated.
2010-03-03 20:05:40 +01:00
Reece Dunn
1b46c0660d
kernel32/tests: Add a test case for calling TlsFree on a freed index.
2010-03-03 11:49:35 +01:00
Alexandre Julliard
ea3f48ff11
kernel32: Create the Nls\CodePage key one element at a time.
2010-03-01 14:06:08 +01:00
Alexandre Julliard
f5248ef7c8
kernel32: Create the Control Panel\International key one element at a time.
2010-03-01 14:04:33 +01:00
Alexandre Julliard
6d4cf67a56
kernel32: Create the hardware registry keys one at a time, and bail out if the main key already exists.
2010-03-01 14:03:35 +01:00
Alexandre Julliard
61812d17f8
kernel32: Moved creation of the DynData registry keys to wineboot.
2010-03-01 14:03:35 +01:00
Alexandre Julliard
00ac7074df
kernel32: Move shared heap creation to krnl386 and load it by default on Win9x versions.
2010-03-01 11:34:34 +01:00
Nikolay Sivov
464ece6474
kernel32/lcformat: Get rid of back jumps on errors.
2010-03-01 11:34:09 +01:00
Alexandre Julliard
fbbac38e4e
kernel32/tests: Fix broken usage of the ok() macro return value.
...
Spotted by Yann Droneaud.
2010-02-24 16:47:48 +01:00
Andrey Turkin
2db497e89e
kernel32: Use TEB-based buffer in CreateMutexExA.
2010-02-24 12:16:33 +01:00
Alexandre Julliard
25718e1af3
kernel32/tests: Add a couple of last error codes for Win7.
2010-02-23 11:24:08 +01:00
Hans Leidekker
b7696db161
kernel32/tests: Fix a thread handle leak.
2010-02-22 13:15:43 +01:00
Erich Hoover
2902d8090a
kernel32/tests: Add test for 'all processors' flag on Vista and newer.
2010-02-22 11:57:12 +01:00
Ken Thomases
8c2b290d11
kernel32: Mac: If language is less specific variant of locale, keep locale.
...
For a Mac user in Australia, for example, the out-of-the-box configuration is
that the preferred language is generic English ("en"). Their formats locale
should be Australia ("en_AU"). Detect that case and don't override
LC_MESSAGES.
2010-02-22 11:41:38 +01:00
Alexandre Julliard
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Alexandre Julliard
fb950a6da5
kernel32/tests: Fix a test failure on xp64.
2010-02-17 12:04:42 +01:00
Alexandre Julliard
2530304f1c
ntdll: Fix the return status of NtQueryValueKey for a too small buffer.
2010-02-16 14:28:41 +01:00
Michael Stefaniuc
3f37e33497
kernel32: Avoid using HIWORD on types that are 64bit on Win64.
2010-02-10 14:33:52 +01:00
Michael Stefaniuc
0f5d042ff2
kernel32: Don't use HIWORD to check for swapped args in GetCurrentDirectoryA.
2010-02-10 14:33:35 +01:00
Alexandre Julliard
a53ca1abdc
kernel32: Do not load 16-bit krnl386.exe by default.
2010-02-08 17:49:48 +01:00
Alexandre Julliard
abf29377ba
kernel32: Export InterlockedCompareExchange64.
2010-02-05 13:14:20 +01:00
Peter Rosin
678cb27b3a
kernel32: Document SetThreadErrorMode and GetThreadErrorMode.
2010-02-05 10:07:40 +01:00
Peter Rosin
805f7d79db
kernel32: Add SetThreadErrorMode and GetThreadErrorMode.
2010-02-04 13:39:27 +01:00
Peter Rosin
e8a32ec2b8
kernel32: Add tests for SetThreadErrorMode and GetThreadErrorMode.
2010-02-04 13:39:27 +01:00
Alexandre Julliard
5c9753e2b6
kernel32/tests: Remove leftover Sleep() call.
2010-02-01 16:19:21 +01:00
Alexandre Julliard
5f9f260e42
kernel32: Avoid truncating the output buffer length in GetCurrentDirectoryA.
2010-02-01 13:22:41 +01:00
Alexandre Julliard
a86adcca61
kernel32/tests: Fix heap flag tests for the page alloc case.
2010-02-01 12:35:43 +01:00
Maarten Lankhorst
3d7aabd887
kernel32: Work around safety check on siglongjmp.
2010-01-29 14:59:03 +01:00
Alexandre Julliard
221c115e98
kernel32/tests: Fix some of the heap tests for 64-bit.
2010-01-29 13:29:21 +01:00
Alexandre Julliard
0692bfda5f
ntdll: Don't require heap sizes to be 64K aligned.
2010-01-28 19:47:01 +01:00
Alexandre Julliard
6beb82e2d6
kernel32: Append the user PATH value to the system one.
2010-01-28 14:53:24 +01:00
Alexandre Julliard
17dea24f48
kernel32: Make sure the volatile environment is always loaded.
2010-01-28 13:35:03 +01:00
Alexandre Julliard
0daf0528da
kernel32: Load USERNAME and USERPROFILE from the volatile environment.
2010-01-28 13:34:05 +01:00
Alexandre Julliard
2c0e31cfdc
kernel32: Treat PWD as a special environment variable.
2010-01-28 13:29:53 +01:00
Alexandre Julliard
31aa3900e4
ntdll: Add 8 more bytes to the block tail when tail checking is enabled.
2010-01-27 18:46:07 +01:00
Alexandre Julliard
356b06faea
kernel32/tests: Add tests for tail checking on large heap blocks.
2010-01-26 16:08:49 +01:00
Alexandre Julliard
b1c9ce44dd
kernel32/tests: Add tests for heap tail and free block checking.
2010-01-26 15:58:50 +01:00
Michael Stefaniuc
02bddd1caf
kernel32: Use IS_INTRESOURCE instead of HIWORD to check a resource.
2010-01-26 12:13:48 +01:00
André Hentschel
c008984a01
kernel32: Implement IsThreadAFiber function.
2010-01-25 12:56:26 +01:00
André Hentschel
a9353a1caf
kernel32/tests: Test Fiber callback count.
2010-01-25 12:55:41 +01:00
André Hentschel
30deb6b896
kernel32/tests: Test Fiber Local Storage functions.
2010-01-25 12:55:34 +01:00
André Hentschel
e0475a3e11
kernel32/tests: Test IsThreadAFiber function.
2010-01-25 12:55:22 +01:00
André Hentschel
f57dbecda8
kernel32/tests: Test fiber Ex functions.
2010-01-25 12:55:12 +01:00
André Hentschel
ffae80a39c
kernel32/tests: Run fiber tests on more platforms.
2010-01-25 12:55:00 +01:00
André Hentschel
2d956be11d
kernel32/tests: Fix header comments.
2010-01-25 12:46:00 +01:00
Alexandre Julliard
dabda7e3ee
kernel32/tests: Add tests for the global flag and its influence on the heap flags.
2010-01-22 12:33:24 +01:00
André Hentschel
643625b9e0
kernel32/tests: Initial fiber tests.
2010-01-20 15:35:38 +01:00
Alexandre Julliard
3b67ad9bd4
ntdll: Fix the NtCreateEvent prototype.
...
It takes an event type, not a manual reset flag.
2010-01-18 20:34:54 +01:00
Paul Vriens
6fd641aa05
kernel32/tests: Skip a test on Win9x/WinMe.
2010-01-18 14:39:11 +01:00
Andrew Nguyen
11dce800c1
kernel32/tests: Add tests for IsBadCodePtr.
2010-01-18 14:38:53 +01:00
Andrew Nguyen
5b9730c494
kernel32/tests: Add more tests for IsBadWritePtr.
2010-01-18 14:38:48 +01:00
Andrew Nguyen
4108fd0f35
kernel32/tests: Add tests for IsBadReadPtr.
2010-01-18 14:38:41 +01:00
Jason Edmeades
99a0376a4f
kernel32: Return error on second attempt to free a module.
2010-01-18 14:26:16 +01:00
André Hentschel
b45d4aa161
kernel32/tests: Simplify string generation.
2010-01-11 11:29:38 -06:00
Paul Vriens
a95e070824
kernel32: Add a stubbed GetConsoleProcessList().
2010-01-05 12:29:18 +01:00
Marcus Meissner
a55399f5b6
kernel32: Check if buffer is NULL before derefencing it (Coverity).
2010-01-04 11:49:45 +01:00
Michael Stefaniuc
4f60b6bf91
kernel32: Add missing stdarg.h includes.
2009-12-31 12:12:17 +01:00
Alexandre Julliard
a18bbec0f0
kernel: Add an import lib for krnl386, and stop importing 16-bit functions from kernel32.
2009-12-30 18:01:34 +01:00
Alexandre Julliard
475b7d226c
kernel32: Make krnl386.exe into a stand-alone 16-bit module.
2009-12-30 17:36:14 +01:00
Alexandre Julliard
8268ed9783
kernel32: Do not include 16-bit headers in 32-bit files.
2009-12-30 16:21:56 +01:00
Alexandre Julliard
e49c54d288
kernel32: Get rid of the support for 16-bit resources in 32-bit resource functions.
2009-12-29 11:44:41 +01:00
Alexandre Julliard
3a04f5abfc
kernel32: Don't include kernel_private.h in 16-bit files.
2009-12-29 11:44:25 +01:00
Alexandre Julliard
fc5c459d63
kernel32: Move the kernel thread data definitions to kernel16_private.h.
2009-12-29 11:44:13 +01:00
Alexandre Julliard
84e51e73b4
kernel32: Link directly to the thunk functions instead of looking up their entry point.
2009-12-29 11:44:02 +01:00
Alexandre Julliard
9ff8da5499
kernel32: Don't store the current codepage in the thread data.
2009-12-29 11:43:46 +01:00
Alexandre Julliard
40a264b0e7
winevdm: Move the loading of the system drivers into their specific 16-bit module.
2009-12-28 23:50:40 +01:00
Alexandre Julliard
a3e80956d1
kernel32: Handle the case where the 16-bit module is already loaded also for separated dlls.
2009-12-28 23:50:36 +01:00
Alexandre Julliard
eb4477120a
kernel32: Make GMEM_DDESHARE blocks owned by the calling module.
2009-12-28 12:27:17 +01:00
Andrew Nguyen
9294882b94
kernel32: Ignore empty environment values from registry.
2009-12-24 17:00:08 +01:00
Andrew Nguyen
542feda6b8
ntdll: Use the HKCU\Volatile Environment key when generating the initial process environment.
2009-12-24 16:59:00 +01:00
André Hentschel
b67820cea6
kernel32/nls: Fix German translation.
2009-12-24 12:15:40 +01:00
Alexandre Julliard
89c0b87fad
kernel32/tests: Fix the SetThreadIdealProcessor for WoW64.
2009-12-23 14:27:31 +01:00
Alexandre Julliard
221925ddbf
kernel32/tests: Get rid of API function typedefs.
2009-12-23 14:27:31 +01:00
Nikolay Sivov
14058ccf25
kernel32: Fix a leak in ReplaceFileW.
2009-12-22 13:48:26 +01:00
Nikolay Sivov
6d270a1d48
kernel32: Fix SearchPath parameter validation with tests.
2009-12-22 13:48:25 +01:00
Nikolay Sivov
08a778c568
kernel32/tests: Init pointers in common way, add some win_skip() while skipping.
2009-12-22 13:48:25 +01:00
Alexandre Julliard
ff04a5e830
kernel32: Load the DestroyIcon32 function from 16-bit user.exe.
2009-12-22 13:48:03 +01:00
Nikolay Sivov
8b805e48fb
kernel32/tests: Fix LocalAlloc() allocated leaks.
2009-12-21 15:36:52 +01:00
Nikolay Sivov
f33db8a02d
kernel32/tests: Fix some find handle leaks.
2009-12-21 15:36:52 +01:00
Nicolas Le Cam
7ae21483ec
kernel32/tests: Simplify dumpmem function.
2009-12-21 15:01:25 +01:00
Nikolay Sivov
a29bbda1a4
kernel32/tests: Print line numbers in tests.
2009-12-21 15:01:24 +01:00
Nikolay Sivov
1402e954ab
kernel32: Fix typo in a comment.
2009-12-18 13:14:02 +01:00
Nikolay Sivov
0fe54088bc
kernel32/tests: Fix few context leaks.
2009-12-18 11:43:48 +01:00
Paul Vriens
17eb00409c
kernel32/tests: Add some tests for GetLongPathNameW.
2009-12-17 13:25:51 +01:00
Paul Vriens
d58bd680b1
kernel32: Fix a crash with GetLongPathNameW and UNC path names.
2009-12-17 13:25:51 +01:00
James Hawkins
9b2af10f02
kernel32: Free the resource data if a matching resource exists and we choose not to overwrite the existing resource.
2009-12-17 12:53:39 +01:00
Paul Vriens
763694a646
kernel32/tests: Only set the size ourselves if we are on W2K.
2009-12-15 11:43:30 +01:00
Paul Vriens
4d6b74758f
kernel32: Add a define for UNICODE_STRING_MAX_CHARS.
2009-12-14 16:14:37 +01:00
Ken Thomases
18d9632914
kernel32: Consolidate some related code closer together.
2009-12-10 12:21:42 +01:00
Ken Thomases
b58cd975ba
kernel32: Mac lang. pref. overrides LANG, but not LC_ALL or LC_MESSAGES.
2009-12-10 12:21:25 +01:00
Ken Thomases
21acb71e42
kernel32: On Mac, construct locale string from language and country codes.
...
Don't rely on CFLocaleGetIdentifier(), whose result may not be sensible to
the C library.
2009-12-10 12:21:10 +01:00
Nikolay Sivov
59d250c4a4
kernel32/tests: Fix test failures on NT4.
2009-12-07 14:18:25 +01:00
Paul Vriens
c2f5442f2a
kernel32/tests: Skip some tests if needed (WinXP Home).
2009-12-04 14:44:11 +01:00
Paul Vriens
0c67d1bddb
kernel32/tests: Skip some tests on Win98/WinMe.
2009-12-04 14:44:03 +01:00
Paul Vriens
3b43c4e585
kernel32/tests: Correct some ok() statements.
2009-12-04 14:43:48 +01:00
Dmitry Timoshkov
2536bfd1d8
kernel32: Explicitly treat the current working directory name as a unix one.
2009-12-04 14:42:05 +01:00
Nikolay Sivov
8ea4102a6c
kernel32/lcformat: Add support for genitive month names in GetDateFormat().
2009-12-04 14:34:57 +01:00
Nikolay Sivov
8e4f283e2d
kernel32/lcformat: Don't use uneeded string conversion.
2009-12-04 14:34:56 +01:00
Nikolay Sivov
1a2609189f
kernel32/lcformat: Avoid back jumps on failure.
2009-12-04 14:34:56 +01:00
Alexandre Julliard
866db819b8
ntdll: Add stubs for RtlAddFunctionTable and RtlDeleteFunctionTable.
2009-12-04 14:34:45 +01:00
Paul Vriens
be3c97437f
kernel32/tests: Add some GetLongPathNameA tests.
2009-12-02 16:08:52 +01:00
Dan Kegel
1cd395153d
kernel32: Fix write buffer overrun in format_insertW.
2009-12-02 13:06:07 +01:00
Paul Chitescu
590cc1ad55
kernel32: Reduce registry access to KEY_READ wherever possible.
2009-11-30 16:33:54 +01:00
Alexandre Julliard
a045122754
kernel32: Pass the exe name as argument to FormatMessage.
2009-11-29 16:42:50 +01:00
Rob Shearman
47acaeaea8
kernel32: Fix uninitialised memory read in GetPrivateProfileStringA if GetPrivateProfileStringW returns 0.
...
The buffer that was passed into the function will remain
uninitialised. Fix reading from this by only reading retW characters
from bufferW and manually nul-terminating the string.
2009-11-29 16:42:10 +01:00
Paul Vriens
868d492cf7
kernel32/tests: Fix some intermittent crashes/failures on Vista+.
2009-11-29 16:37:59 +01:00
Alexandre Julliard
ac572be030
kernel32/tests: Specify the correct machine for the fake dll file.
2009-11-24 15:53:37 +01:00
Alexandre Julliard
181b3cf07f
server: Implement the file sharing check for delete on close with an existing image mapping.
2009-11-23 17:29:22 +01:00
Alexandre Julliard
923d582f07
server: Implement the file sharing check when truncating a file that has an existing mapping.
2009-11-23 17:24:45 +01:00
Alexandre Julliard
fd504b6289
server: Implement the special file sharing rules for memory mappings.
2009-11-23 17:10:28 +01:00
Alexandre Julliard
647491418b
kernel32/tests: Add more tests for file sharing with mappings, including SEC_IMAGE mappings.
2009-11-20 14:21:31 +01:00
Alexandre Julliard
c073ee54c9
kernel32/tests: Add some tests for file sharing against a memory mapping.
2009-11-19 16:16:52 +01:00
Henri Verbeet
d4fc2fd746
kernel32: Also accept STATUS_BUFFER_OVERFLOW as a valid return code in GetFileInformationByHandle().
...
FileAllInformation is supposed to also return the file name. If it did,
"all_info" would be too small for the returned data, but since it would still
return as much information as fits in the buffer, we don't need a larger
buffer either.
2009-11-19 12:22:51 +01:00
Austin Lund
f5271ce1e3
kernel32/tests: Fixed test for GetVolumeNameForVolumeMountPoint on directory.
2009-11-16 12:43:07 +01:00
Stefan Leichter
7f1fe90e7f
kernel32: Added stub for CreateMemoryResourceNotification.
2009-11-16 12:42:19 +01:00
Alexandre Julliard
935e06c5c3
kernel32: Null-terminate the buffer also on error in GetPrivateProfileString16.
2009-11-16 11:36:08 +01:00
Alexandre Julliard
18ddbc1c7d
kernel32: Use PeekMessageW instead of UserYield.
2009-11-12 23:09:21 +01:00
Viliam Lejcik
3dc8b28d84
kernel32: Fix GetCurrencyFormat grouping.
2009-11-11 11:24:09 +01:00
Paul Vriens
159506893b
kernel32/tests: Fix some test failures on Win9x/WinMe.
2009-11-10 15:18:05 +01:00
Francois Gouget
5fb3985fa5
Assorted spelling fixes.
2009-11-09 19:42:31 +01:00
Alexandre Julliard
1a3777e2dc
ntdll: Reject VirtualAlloc blocks in NtUnmapViewOfSection.
2009-11-04 19:53:00 +01:00
Michael Martin
39d8f13785
kernel32/tests: Additional tests for CopyFile/MoveFile used on mapped files.
2009-11-04 13:17:15 +01:00
Alexandre Julliard
cf8fa5459a
kernel32: Make sure the codepage registry keys are set correctly on wineprefix creation.
2009-10-30 15:14:49 +01:00
Alexandre Julliard
36e56ad1aa
kernel32/tests: Fix FormatMessage test failures on various Windows versions.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
0e26e741f7
kernel32: Replicate the MS bug with va_list argument counting in FormatMessage.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
24a8e33fb6
kernel32/tests: Use __ms_va_list in the FormatMessage test.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
b353401513
kernel32: Fix handling of width and precision arguments and remove assumptions about va_list implementation in FormatMessage.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
100131d4ca
kernel32: Propagate the error result from RtlFindMessage in FormatMessage.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
b381958f78
kernel32: Reimplement the formatting of inserts in FormatMessageW.
2009-10-30 11:03:21 +01:00
Alexandre Julliard
3307563a6c
kernel32: Reimplement the formatting of inserts in FormatMessageA.
2009-10-30 11:01:51 +01:00
Louis Lenders
1be99033b1
kernel32/tests: Add more tests for FormatMessageA.
2009-10-29 17:07:53 +01:00
Alexandre Julliard
549116bd68
kernel32/tests: Add some tests for width and precision formatting in FormatMessage.
2009-10-29 13:06:12 +01:00
Alexandre Julliard
c9e25dbe35
kernel32: Set the 64-bit flag for builtin executables based on their load directory.
2009-10-28 11:09:20 +01:00
Alexandre Julliard
4313c95526
kernel32: Retrieve the executable information as soon as we open the file.
2009-10-28 11:03:05 +01:00
Alexandre Julliard
28f13f83a6
kernel32: Add a structure to store all the information about an executable.
2009-10-28 11:03:04 +01:00
Alexandre Julliard
072b737059
kernel32: Specify the full application path when starting wineboot.exe.
2009-10-28 10:55:35 +01:00
Alexandre Julliard
aadf703fc0
ntdll: The meaning of the flag is inverted between RtlWow64EnableFsRedirection and RtlWow64EnableFsRedirectionEx.
2009-10-28 10:55:19 +01:00
Alexandre Julliard
e487b560d9
kernel32: Make GetQueuedCompletionStatus return failure for I/O errors, as per MSDN.
2009-10-27 16:52:48 +01:00
Alexander Nicolaysen Sørnes
fca16bc519
kernel32: Implement GetProductInfo on top of ntdll stub.
2009-10-26 11:37:04 +01:00
Louis Lenders
3c92b6c5e4
kernel32: Add stub for GetVolumePathNamesForVolumeNameW.
2009-10-23 12:38:31 +02:00
Paul Vriens
cde8673339
kernel32/tests: Fix an intermittent test failure on Vista+.
2009-10-23 12:02:54 +02:00
Nikolay Sivov
e94587c98d
kernel32: Fix copied data length.
2009-10-23 12:02:17 +02:00
Alexandre Julliard
c9689897d9
kernel32: Create the syswow64 directory if necessary.
2009-10-22 19:52:12 +02:00
Alexandre Julliard
985dd53712
kernel32: Store the symlink target directly into the correct buffer in GetVolumeNameForVolumeMountPointW.
2009-10-22 14:57:24 +02:00
Alexandre Julliard
f86d10ffb6
kernel32: Make sure the 32/64-bit state of the wineprefix matches the binary we are running.
2009-10-21 19:45:17 +02:00
Alexandre Julliard
11b0b0658d
kernel32: Return the appropriate binary type for 64-bit PE files.
2009-10-21 18:02:30 +02:00
Dan Kegel
4696a53679
kernel32: Fix two little leaks in heap test.
...
Found by valgrind.
2009-10-21 17:40:19 +02:00
Aurimas Fišeras
65fc5aa57e
kernel32/nls: Add genitive forms for Lithuanian locale.
2009-10-21 16:05:58 +02:00
Nikolay Sivov
2b7a3657f7
kernel32/locale: Add support for LOCALE_RETURN_GENITIVE_NAMES for LOCALE_SMONTHNAME* locale data, update Russian nls resource accordingly.
2009-10-21 16:05:57 +02:00
Nikolay Sivov
15c0f0a42d
kernel32/tests: Add tests for LOCALE_RETURN_GENITIVE_NAMES flag for GetLocaleInfoW.
2009-10-21 16:05:57 +02:00
Alexandre Julliard
87894c5f7b
kernel32: Use the PWD variable to set the initial current directory.
2009-10-15 12:06:23 +02:00
Paul Vriens
d11df5126d
kernel32/tests: Fix some test failures on Win9x/WinMe.
2009-10-14 14:24:29 +02:00
Ray Hinchliffe
2c725de6de
kernel32: Correct ullTotalVirtual for GlobalMemoryStatusEx().
2009-10-14 13:03:33 +02:00
Stefan Dösinger
282cc71aed
kernel32: Make some functions hookable.
2009-10-14 12:21:05 +02:00
Dmitry Timoshkov
27ebfdb879
kernel32: Implement HeapQueryInformation, add some basic tests for it.
2009-10-12 12:48:03 +02:00
Alexandre Julliard
42c5215133
kernel32: Moved the DeviceIoControl function to file.c.
2009-10-08 20:30:16 +02:00
Alexandre Julliard
69a1fba4c3
kernel32: Move some 16-bit definitions to kernel16_private.h.
2009-10-08 20:29:57 +02:00
Alexandre Julliard
e5288bf42f
kernel32: Move the DOS file handle functions to file16.c.
2009-10-08 19:22:17 +02:00
Alexandre Julliard
86c6021c71
kernel32: Reimplement GetPrivateProfileString16 on top of 32-bit functions and move it to file16.c.
2009-10-08 19:12:37 +02:00
Alexandre Julliard
362ecd06f6
kernel32: Fix handling of overflows in GetPrivateProfileSectionA.
2009-10-08 16:28:17 +02:00
Ge van Geldorp
55423d8df2
kernel32/tests: Check last error before calling lstrcmpA() since it may reset GLE.
2009-10-08 12:03:02 +02:00
Alexandre Julliard
21df49c8b5
kernel32: Don't export the large integer functions on 64-bit.
2009-10-08 11:12:21 +02:00
Alexandre Julliard
65bc15998d
kernel32: Move the k32 kernel32->user32 helpers to thunk.c.
2009-10-08 11:12:21 +02:00
Alexandre Julliard
e0ce6dc32e
kernel32: Move Get/SetProcessDword to kernel16.c.
2009-10-08 11:12:21 +02:00
Alexandre Julliard
806deab0b7
kernel32: Fix a couple of compiler warnings on 64-bit.
2009-10-08 11:12:21 +02:00
Alexandre Julliard
2f3e8d3c6e
kernel32: Move the 16-bit version functions to kernel16.c.
2009-10-08 11:12:20 +02:00
Alexandre Julliard
4496f281d8
kernel32: Move the 16-bit PE module functions to kernel16.c.
2009-10-08 11:12:20 +02:00
Alexandre Julliard
6404817de4
kernel32: Move the 16-bit handle functions to kernel16.c.
2009-10-08 11:12:14 +02:00
Alexandre Julliard
b6e0b3428d
kernel32: Move the 16-bit thread and process functions to kernel16.c.
2009-10-08 11:11:45 +02:00