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
Andrew Talbot
a0b2dbd1dc
kernel32: Remove superfluous semicolons.
2007-04-09 12:19:07 +02:00
Alexandre Julliard
aef2edb0cf
kernel32: Add a bit of slack to the mailslot timeout test.
2007-04-06 12:35:21 +02:00
Alexandre Julliard
4e5c7038da
server: Make timeout status for async I/O specifiable. Fix mailslots timeout handling.
2007-04-03 19:12:31 +02:00
Francois Gouget
0081b430e1
Assorted spelling and English fixes.
2007-04-03 11:23:12 +02:00
Alexandre Julliard
2a86f347fa
kernel32: Added some last error tests for mailslots.
2007-04-02 20:25:08 +02:00
Dmitry Timoshkov
bae3dc49cc
kernel32: Add GetCPInfo test.
2007-04-02 11:34:21 +02:00
Alexandre Julliard
a441935c37
kernel32: Better default for dwActiveProcessorMask in GetSystemInfo.
2007-03-30 12:22:13 +02:00
Alexandre Julliard
c4ad5eeb69
kernel32: Make default behavior more consistent when AeDebug key is not present.
2007-03-30 12:00:11 +02:00
Francois Gouget
d9e8a0f63e
Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll.
2007-03-28 12:36:13 +02:00
Paul Vriens
5de163f9d4
kernel32/profile: Some parameter tests for GetPrivateProfileSectionA.
2007-03-28 12:09:26 +02:00
Paul Vriens
4a431afd69
kernel32/profile: Add a few NULL checks (Coverity).
2007-03-28 12:07:36 +02:00
Paul Vriens
0230695a29
kernel32/profile: Move GetPrivateProfileSectionA to its own test.
2007-03-28 12:06:28 +02:00
Paul Vriens
2559440dc9
kernel32/profile: Rename a test.
2007-03-28 12:06:18 +02:00
Alexandre Julliard
6746209d4e
kernel32: Don't use the reserved argument of the APC routine callback.
2007-03-26 19:14:13 +02:00
Alexandre Julliard
ad3faa829c
kernel32: Fixed timeout calculation in WaitNamedPipe.
2007-03-23 13:06:44 +01:00
Louis Lenders
eafbf45fce
kernel32: Add stub for AttachConsole.
2007-03-23 13:04:36 +01:00
Louis Lenders
b335a25638
kernel32: Print a fixme only once.
2007-03-22 11:28:22 +01:00
Andrew Talbot
c261a75a6f
kernel32/tests: Replace inline static with static inline.
2007-03-21 22:51:50 +01:00
Paul Vriens
5b5d737111
kernel32/tests: Use skip.
2007-03-21 11:54:35 +01:00
Andrew Talbot
503b338e88
kernel32: Replace inline static with static inline.
2007-03-17 20:03:39 +01:00
Detlef Riekenberg
439b852dca
kernel32/tests: DuplicateTokenEx is not present on all platforms.
2007-03-17 19:51:55 +01:00
Rob Shearman
9dc55ab01d
kernel32: Fix several failing GetComputerNameA/W tests on Windows.
2007-03-16 11:20:58 +01:00
Fabian Bieler
70ff521a24
kernel32: GlobalMemoryStatusEx: always report at least 1 byte of virtual memory even if none is available.
2007-03-15 13:11:30 +01:00
Fabian Bieler
e1c6c97fc5
kernel32: GlobalMemoryStatusEx: return the size of physical memory + swapsize in ullTotalPageFile/ullAvailPageFile.
2007-03-15 13:11:11 +01:00
Fabian Bieler
7d1ffb564f
kernel32: GlobalMemoryStatusEx: memory usage reported only reflects physical memory.
2007-03-15 13:10:29 +01:00
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
Andrew Talbot
bc3e7263bc
kernel32/tests: Cast-qual warnings fix.
2006-12-11 12:15:44 +01:00
Dmitry Timoshkov
046814701e
kernel32: Add PE images with section alignment 1 and 2 to the loader test.
2006-12-07 15:34:43 +01:00
Alexandre Julliard
94ac989534
ntdll: Fix the failing loader tests.
2006-12-07 15:34:36 +01:00
Alexandre Julliard
9967d82146
kernel32: For LOCALE_NOUSEROVERRIDE, check locale against the appropriate default lcid.
2006-12-07 12:34:25 +01:00
Alexandre Julliard
82218fcf20
kernel32/tests: Added LOCALE_NOUSEROVERRIDE flag on time tests that rely on AM/PM.
2006-12-07 12:33:55 +01:00
Detlef Riekenberg
44f663e8a4
kernel32/tests: Add tests for GetWindowsDirectory.
2006-12-06 11:27:18 +01:00
Detlef Riekenberg
ef851bc6dd
kernel32/tests: Add tests for GetSystemDirectory.
2006-12-06 11:27:08 +01:00
Alexandre Julliard
e60a52e74a
kernel32: Always read a full block from the CD-ROM to avoid problems on raw devices.
2006-12-05 23:33:40 +01:00
Francois Gouget
bb8e625b5b
Assorted spelling fixes.
2006-12-05 10:31:47 +01:00
Alexandre Julliard
28c5396436
kernel32: Store the LC_MESSAGES value under the "Locale" value.
...
Some apps depend on the value. Reported by Karsten Elfenbein.
2006-12-04 18:00:55 +01:00
Alexandre Julliard
7cd9400b80
kernel32/tests: Added test case for . and .. directory entries.
2006-12-01 13:11:53 +01:00
Alexandre Julliard
df29fd3ab3
ntdll: Always return . and .. as the first two entries in directory searches.
2006-12-01 13:11:38 +01:00
Dmitry Timoshkov
a411b85868
kernel32: Skip the PE loader test under a Win9x platform.
2006-12-01 12:28:31 +01:00
Dmitry Timoshkov
924f73b861
kernel32: Make some data const.
2006-11-28 12:36:04 +01:00
Dmitry Timoshkov
720ab29a7f
kernel32: Add more obscure PE images that XP is able to load.
2006-11-28 12:35:56 +01:00
Dmitry Timoshkov
f4b444249b
kernel32: Improve the PE loader test.
2006-11-27 13:43:17 +01:00
Marcus Meissner
9e8b1259ca
kernel32/tests: Test -1 length for NULL ptr too.
2006-11-24 11:50:36 +01:00
Alex Villacís Lasso
cf0c21af47
kernel32: Restore C locale for LC_NUMERIC.
2006-11-22 11:42:17 +01:00
Alexander Nicolaysen Sørnes
0427c0ded3
Updated Norwegian Bokmål translations.
2006-11-20 12:03:44 +01:00
Detlef Riekenberg
c8a12d0f62
kernel32/tests: Avoid crash on Win95 (GetLongPathNameW).
2006-11-20 11:50:15 +01:00
Detlef Riekenberg
e33a6d61fe
kernel32/tests: Load tests on Win9x again (VirtualAllocEx+VirtualFreeEx).
2006-11-20 11:50:15 +01:00
James Hawkins
15fd7a028f
kernel32: Replace magic numbers with descriptive defines.
2006-11-20 11:24:48 +01:00
Marcus Meissner
87f9dcdb23
kernel32: Added missing shift by 8.
2006-11-20 11:23:32 +01:00
Alexandre Julliard
2b01f6e07c
kernel32: Use the appropriate Unix locale for GetLocaleInfo when a default LCID is used.
...
For instance LOCALE_SDATE is looked up in the lcid corresponding to
LC_TIME, LOCALE_IDIGITS in the LC_NUMERIC lcid, etc.
2006-11-16 22:11:58 +01:00
Alexandre Julliard
e8b8c5bf6a
kernel32: Added the locale name entry to all locale definitions.
2006-11-16 22:11:36 +01:00
Alexandre Julliard
123b6fec22
kernel32: Rewrote the locale matching to match more elements and to support Windows-format locale names.
...
Added implementation for LocaleNameToLCID and LCIDToLocaleName.
2006-11-16 22:11:19 +01:00
Dmitry Timoshkov
a77d00eabb
kernel32: Add a basic PE loader test.
2006-11-16 22:09:11 +01:00
Mike McCormack
f8829297da
kernel32: Downgrade a FIXME to a WARN.
2006-11-16 12:45:09 +01:00
Alexandre Julliard
6fa6cc7e83
kernel32/tests: Reserve some more memory for the environment.
2006-11-15 11:31:41 +01:00
Mike McCormack
15446fb9c0
kernel32: Print a FIXME only once.
2006-11-14 11:35:11 +01:00
Alexandre Julliard
7a1522a20f
kernel32: Use LC_NUMERIC instead of LC_ALL to determine the user locale.
...
Passing LC_ALL to setlocale() doesn't do what we want.
2006-11-13 14:27:00 +01:00
Francois Gouget
b2656633a6
Add some documentation headers to make winapi_check happy.
2006-11-13 13:01:15 +01:00
Francois Gouget
4c9f668e7c
kernel32: Fix the 'MAP_FOLDCZONE' ok() test.
2006-11-13 12:45:31 +01:00
Alexandre Julliard
91bb29ca4d
kernel32/tests: Fixed the pipe test for MacOS.
2006-11-09 15:40:36 +01:00
Eric Pouech
ab9fd793ce
kernel32: Changed encoding for Divehi (which has a 639-1 enconding).
2006-11-09 12:23:33 +01:00
Alexandre Julliard
63ca94c419
kernel32: Fixed buffer overrun in get_registry_locale_info.
2006-11-09 12:03:21 +01:00
Dmitry Timoshkov
ecdfa08364
kernel32: Add basic OpenProcess test.
2006-11-08 20:16:12 +01:00
Alexandre Julliard
ed58b1bad0
kernel32: Better workaround for the lack of locale environment variables on MacOS.
2006-11-07 18:24:15 +01:00
Francois Gouget
30e44c85c8
Assorted spelling fixes.
2006-11-07 15:25:24 +01:00
Alexandre Julliard
1f50b7f7eb
kernel32/tests: Don't wait for overlapped result if the previous test failed.
2006-11-04 12:07:10 +01:00
Mike McCormack
5c004898b9
kernel32: Add a stub for HeapSetInformation.
2006-11-02 12:24:27 +01:00
Alexandre Julliard
313d93e491
kernel32: Moved PeekNamedPipe implementation to ntdll.
2006-11-01 16:24:36 +01:00
Alexandre Julliard
2cb4361c06
kernel32: Reimplemented SetFilePointerEx on top of ntdll functions.
2006-11-01 16:12:57 +01:00
Andrew Talbot
ecd35a0267
kernel32: Cast-qual warnings fix.
2006-11-01 13:38:05 +01:00
Andrew Talbot
8125231e49
kernel32: Cast-qual warnings fix.
2006-11-01 13:37:34 +01:00
Alexandre Julliard
7472ffd8d2
kernel32: Use NT instead of Unix calls to identify VxD pseudo-files.
2006-10-31 20:23:56 +01:00
Alexandre Julliard
98a3912e9f
kernel32: Fixed behavior of FindFirstFile for DOS devices.
2006-10-31 12:05:19 +01:00
Alexandre Julliard
5e08230568
kernel32: Close the directory handle in FindNextFile as soon as we reach the end of the directory.
2006-10-27 12:27:33 +02:00
Hwang YunSong(황윤성)
ca2160acba
kernel32: Added winerr_kor.mc.
2006-10-25 20:23:59 +02:00
Dmitry Timoshkov
5ace8745ce
kernel32: Exit from initial thread with ExitThread not by ExitProcess.
2006-10-24 20:49:14 +02:00
Mikołaj Zalewski
e32aa55703
resources: Change German sublanguage code to SUBLANG_NEUTRAL.
2006-10-24 11:45:12 +02:00
Alexandre Julliard
b0ea577ae5
Avoid usage of sizeof in traces that causes warnings on MacOSX.
2006-10-20 12:16:45 +02:00
Robert Shearman
ed263ae48e
kernel32: Add support for detecting the user locale preference from the system on Mac OS X.
2006-10-16 20:10:25 +02:00
Francois Gouget
ef998ea6cb
Assorted spelling fixes.
2006-10-16 11:33:38 +02:00
Michael Stefaniuc
8c38b88068
kernel32: Win64 printf format warning fixes.
2006-10-13 12:08:25 +02:00
Ge van Geldorp
d642e11438
winapi_test: Regenerate tests.
...
Remove structs from test list which have preprocessor directives in
their definitions (winapi_test can't handle that).
2006-10-11 12:12:21 +02:00
Michael Stefaniuc
8218440c20
kernel32/tests: Win64 printf format warning fixes.
2006-10-10 16:11:27 +02:00
Frank Richter
ffe966f37d
kernel32: Fix typos in English messages.
2006-10-10 13:36:55 +02:00
Frank Richter
185526d35e
kernel32: Added German translation of messages.
2006-10-10 11:57:25 +02:00
Frank Richter
bfb8754ed5
kernel32: Translated some more NLS strings to German.
2006-10-10 11:57:22 +02:00
Mike McCormack
4661a825b7
kernel32: Return some fake data in FindActCtxSectionStringW.
2006-10-05 11:33:12 +02:00
Eric Pouech
d990c0d8e5
ntdll-kernel32: WaitCommEvent.
...
- implemented IOCTL_SERIAL_WAIT_ON_MASK for DeviceIoControl
on serial lines in ntdll
- now using thread pool (instead of simple thread) for the
background operations (this should help some high load
situations)
- used this to implement WaitCommEvent on top NtDll functions
- in kernel32, removed now the no longer used termios/ioctls...
for comm devices
2006-10-03 20:19:08 +02:00
Francois Gouget
38520a819c
Assorted spelling fixes.
2006-10-03 15:56:21 +02:00
Francois Gouget
17aa2c82d2
Add missing '\n's to ok() calls.
2006-10-03 15:56:16 +02:00
Louis. Lenders
ed4b6e91cb
kernel32: Add 2 simple tests for GetLongPathNameW.
2006-10-02 14:41:12 +02:00
Louis. Lenders
44da24759c
kernel32: Print an error instead of crashing in GetLongPathNameW if shortpath=0.
2006-10-02 14:41:08 +02:00
Michael Stefaniuc
85ce5117c5
Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int.
2006-09-29 16:08:30 +02:00
Andrew Talbot
10a0931ebe
kernel32: Cast-qual warnings fix.
2006-09-20 12:23:13 +02:00
Andrew Talbot
e595298a56
kernel32: Cast-qual warnings fix.
2006-09-20 12:23:08 +02:00
Andrew Talbot
ea117516a7
kernel32: Cast-qual warnings fix.
2006-09-20 12:23:03 +02:00
Andrew Talbot
2b164a2d41
kernel32: Cast-qual warnings fix.
2006-09-20 12:22:55 +02:00
Alexandre Julliard
a27d0aa4e9
include: Added definitions for the fault address exception information.
2006-09-20 11:27:53 +02:00
Alexandre Julliard
530e765035
include: Exception filters should return LONG, not DWORD.
...
Also move UnhandledExceptionFilter definitions to winbase.h since they
are there in the latest SDK.
2006-09-20 11:26:59 +02:00
Alexandre Julliard
32ab895e46
makefiles: Generate the dependencies line to avoid some code duplication.
2006-09-14 09:38:16 +02:00
Alexandre Julliard
489d87d1e5
kernel32: Renamed the kernel directory to kernel32.
...
Also get rid of the kernel/messages subdirectory.
2006-09-12 13:34:06 +02:00