Commit Graph

868 Commits

Author SHA1 Message Date
Alexandre Julliard 935a406b27 include: Fix data structures for processor affinity on 64-bit. 2009-01-04 14:47:24 +01:00
Alexandre Julliard 9e070a6108 kernel32/tests: Use the correct SIZE_T type instead of unsigned long. 2009-01-03 20:21:43 +01:00
Alexandre Julliard b712358152 kernel32/tests: Fix the NT header initialization for 64-bit. 2009-01-03 20:21:25 +01:00
Alexandre Julliard 52f99aeacb kernel32/tests: Don't compare the result of llseek or hwrite against HFILE_ERROR. 2009-01-03 20:21:01 +01:00
Alexandre Julliard bb7de132dd kernel32/tests: Fix pointer casting warnings on 64-bit. 2009-01-03 20:20:14 +01:00
Alexandre Julliard 6a548b1e9d ntdll: Fix the various structures returned by NtQuerySystemInformation for 64-bit. 2009-01-03 14:55:32 +01:00
Austin English d760ec8410 kernel32: Add heap support for OpenBSD. 2009-01-03 14:55:31 +01:00
Alexandre Julliard 9f365e7705 server: Replace EXCEPTION_RECORD by an explicit definition in debug events. 2009-01-02 20:12:46 +01:00
Alexandre Julliard bc03f0ee39 server: Simplify the debug_event_t structure. 2009-01-02 20:09:25 +01:00
Alexandre Julliard 02229896be kernel32/tests: Use the correct value for invalid heap sizes on 64-bit. 2009-01-02 12:20:53 +01:00
Austin English e9569d9c4e kernel32/tests: Fix compile on powerpc. 2009-01-02 11:51:41 +01:00
Alexandre Julliard 5f36d0239f kernel32: Convert FormatMessageA/W to use an MS ABI vararg list for x86_64. 2008-12-31 20:59:51 +01:00
Alexandre Julliard fb7acdcb28 user32: Convert wvsprintfA/W to use an MS ABI vararg list for x86_64. 2008-12-31 20:59:33 +01:00
Alexandre Julliard fa8643805b server: Make TEB and PEB client_ptr_t instead of void pointers. 2008-12-31 15:09:59 +01:00
Alexandre Julliard c6c335d70e server: Make thread entry points client_ptr_t instead of void pointers. 2008-12-31 15:09:59 +01:00
Alexandre Julliard 93737d5575 server: Store debugging output strings as client_ptr_t instead of void pointers. 2008-12-29 17:16:46 +01:00
Alexandre Julliard 947976f22c server: Store module names as client_ptr_t instead of void pointers. 2008-12-29 17:10:11 +01:00
Alexandre Julliard f2c4e09e80 server: Make module handles always 64-bit. 2008-12-29 16:47:51 +01:00
Ge van Geldorp c7905ffebc kernel32/tests: Use shared Windows directory on TS to find regedit.exe. 2008-12-29 12:11:41 +01:00
Francois Gouget 770d28d180 kernel32: Fix a comment in LocalInit16(). 2008-12-29 11:35:36 +01:00
Alexandre Julliard 3ece9e9002 include: Move the DEFINE_REGS_ENTRYPOINT macros to the dlls that use it. 2008-12-27 19:47:46 +01:00
Alexandre Julliard 0ce0af5f16 kernel32: Move AllocMappedBuffer/FreeMappedBuffer to thunk.c. 2008-12-27 19:45:52 +01:00
Maarten Lankhorst 70441d5bb8 kernel32: Change all functions to use CDECL. 2008-12-23 13:09:45 +01:00
Andrew Talbot a1e31e580e kernel32: Remove unused Wine debug channel. 2008-12-19 17:36:35 +01:00
Maarten Lankhorst 768160e944 ntdll: Make all exported wine functions CDECL. 2008-12-17 15:02:25 +01:00
Alexander Nicolaysen Sørnes 93488b19dc kernel32: Add stub for GetConsoleAliasW. 2008-12-15 13:27:03 +01:00
Francois Gouget 0f305929bc kernel32: Make some functions static. 2008-12-15 12:25:39 +01:00
Francois Gouget 7271ed5532 kernel32: Remove _hread16() as it is not used. Move _hwrite16() next to the other related functions. 2008-12-12 11:46:25 +01:00
Alexandre Julliard a2089abd94 ntdll: Enforce correct protection values in virtual memory functions. 2008-12-11 14:05:42 +01:00
Austin English 7a92db4e8b kernel32: Convert a warn to an err. 2008-12-10 11:23:37 +01:00
Alexandre Julliard ffb44032ad kernel32/tests: Fixed the handle test for Win9x. 2008-12-08 21:19:39 +01:00
Alexandre Julliard 50d6b7fb54 ntdll: Added stubs for RtlLookupFunctionEntry and RtlVirtualUnwind. 2008-12-08 19:29:06 +01:00
Alexandre Julliard f06d99f67a include: Implemented inline asm functions for x86_64. Export Interlocked* only on i386. 2008-12-08 19:25:25 +01:00
Alexandre Julliard 7fdadbb377 server: Add functions for conversions between server user handles and pointer-style handles. 2008-12-08 16:58:20 +01:00
Alexandre Julliard d1b3d484f7 server: Add functions for conversions between server object handles and pointer-style handles. 2008-12-08 16:05:17 +01:00
Alexandre Julliard fea2aa55d0 include: Fix the 64-bit value of magic handle constants. 2008-12-08 15:51:22 +01:00
Alexandre Julliard 7749b6e2dd kernel32/tests: Added some tests for behavior of 64-bit kernel handles. 2008-12-08 13:39:31 +01:00
Francois Gouget 7e43f8a4fe kernel32: Remove unneeded casts of zero. 2008-12-08 12:05:39 +01:00
Alexandre Julliard a840b6a7f8 Avoid including time.h before winsock.h in tests. 2008-12-04 12:42:53 +01:00
Alexandre Julliard 31a641aa59 ntdll: Implemented RtlCaptureContext. 2008-12-04 12:42:53 +01:00
Alexandre Julliard c03917c173 Define _WIN32_WINNT before including any headers. 2008-12-04 12:10:16 +01:00
Jeff Zaroyko afce615830 wineserver: Don't use O_CREAT and O_EXCL when attempting to open directories. 2008-12-03 09:58:21 +01:00
Jeff Zaroyko f8b5aa34dc kernel32: Add a test for CreateFile when using OPEN_ALWAYS on directories. 2008-12-03 09:57:52 +01:00
Kai Blin a30724304c kernel32/tests: logfile can be NULL, avoid dereferencing it (Coverity). 2008-12-01 14:26:02 +01:00
Vitaly Lipatov aa5358fdae kernel32: gethostname returns string in CP_UNIXCP encoding. 2008-12-01 14:01:10 +01:00
Michael Stefaniuc d26b02960c kernel32: Remove some superfluous casts of void pointers. 2008-12-01 12:45:51 +01:00
Maarten Lankhorst 5f4275970e kernel32: Fix 64-bits error in profile. 2008-11-26 13:38:27 +01:00
Francois Gouget b3bf746ff9 Straighten out some ellipses. 2008-11-26 12:33:34 +01:00
Alexandre Julliard f0483957dd kernel32/tests: Fix the unimplemented check for EnumSystemLanguageGroupsA. 2008-11-26 12:04:32 +01:00
Alexandre Julliard af8bb2e922 ntdll: Add support for virtual write watches. 2008-11-25 12:07:35 +01:00
Alexandre Julliard a488ee8e7a kernel32: Fix the base DOS memory address when the low 64K are not accessible. 2008-11-24 14:18:41 +01:00
Alexandre Julliard 752416f7c4 kernel32/tests: Fix the mailslot tests on Win9x. 2008-11-20 21:59:26 +01:00
Alexandre Julliard d523c86a1b kernel32/tests: Fix test failures on Win9x and NT4.
Get rid of most of the macros that make it hard to handle special cases.
2008-11-20 21:39:48 +01:00
Alexandre Julliard 8772c5f150 kernel32/tests: Add a couple of tests for write watches. 2008-11-20 14:27:35 +01:00
Francois Gouget 0a66633ce3 kernel32: Simplify and optimize create_(system,env)_registry_keys(). 2008-11-19 12:08:22 +01:00
Francois Gouget 24eb38bdd4 kernel32: Fix create_scsi_entry() so it puts properly '\0'-terminated strings in the registry. 2008-11-19 12:08:19 +01:00
Alexandre Julliard f4eaa15aec kernel32: Moved allocation of the DOS memory area to ntdll. 2008-11-18 20:11:49 +01:00
Alexandre Julliard 0d6415df16 kernel32/tests: Allow up to 2 seconds of difference in timestamps. 2008-11-18 13:52:25 +01:00
Alexandre Julliard 1e02c1c3c8 kernel32/tests: Fix the process tests on NT4. 2008-11-17 23:37:00 +01:00
Alexandre Julliard d68225eb41 kernel32/tests: Fix the mailslot tests on Vista. 2008-11-17 23:36:47 +01:00
Alexandre Julliard cf1116107f kernel32/test: Fix the timer queue tests on Vista. 2008-11-17 23:01:21 +01:00
Alexandre Julliard 61ea936d68 kernel32/tests: Fix pipe test on w2k3. 2008-11-17 13:16:26 +01:00
Alexandre Julliard e4d7d902d5 kernel32/tests: Fix the write watch tests on Win98 and Win2000. 2008-11-14 20:36:20 +01:00
Paul Vriens 21765291cf kernel32/tests: Fix timeouts on NT4 and W2K. 2008-11-14 14:28:29 +01:00
Alexandre Julliard 16feb03778 kernel32/tests: Fix the file test on various Windows versions. 2008-11-14 13:30:16 +01:00
Alexander Morozov f52402e71a kernel32: NT drivers can handle IOCTL codes with HIWORD == 0. 2008-11-14 11:19:21 +01:00
Alexandre Julliard 43fae4e425 kernel32/tests: Added a bunch of tests for write watches. 2008-11-14 11:02:15 +01:00
Alexandre Julliard 23be27ef80 kernel32: Added GetWriteWatch and ResetWriteWatch. 2008-11-14 11:02:15 +01:00
Alexandre Julliard f2f0dead61 kernel32/tests: Fix the thread test to cope with the Win95 InterlockedIncrement behavior. 2008-11-13 11:49:36 +01:00
Alexandre Julliard 22949d94f0 kernel32: Don't request unneeded access in OpenFileMapping. 2008-11-13 11:49:17 +01:00
Alexandre Julliard c1d2d86be7 kernel32: Implemented the Ex variants of CreateEvent/Mutex/Semaphore/WaitableTimer. 2008-11-11 14:03:00 +01:00
Alexandre Julliard 18ee259274 kernel32: Get the drive type from the mount manager instead of the registry. 2008-11-10 16:28:37 +01:00
Huw Davies 90ff82930a kernel32: Fix a few Welsh translations. 2008-11-10 14:30:06 +01:00
Alexandre Julliard b97d63d76f kernel32: Explicitly request execute permission in MapViewOfFile. 2008-11-10 11:09:40 +01:00
Alexandre Julliard 1ff8e7dd41 kernel32/tests: Fix the thread test on NT4. 2008-11-10 11:09:18 +01:00
Alexandre Julliard 220a2c2c0b kernel32/tests: Fix some resource test failures on NT4. 2008-11-10 11:09:11 +01:00
Alexandre Julliard 181e4f08b6 kernel32/tests: Fix some profile test failures on NT4. 2008-11-10 11:09:02 +01:00
Alexandre Julliard a6ce819ca2 kernel32/tests: Fix one more failing test on Win9x. 2008-11-07 10:50:57 +01:00
Alexandre Julliard cc49f6ba8b kernel32/tests: Fix a few more errors on Win9x. 2008-11-06 11:23:16 +01:00
Alexandre Julliard 5e2ed6bfe9 ntdll,server: Fixed access checks for OpenFileMapping and MapViewOfFile. 2008-11-05 20:32:32 +01:00
Alexandre Julliard f21096ad01 ntdll: Don't force anonymous file mappings to always be fully committed. 2008-11-05 12:31:49 +01:00
Alexandre Julliard 503269a4db kernel32/tests: Add a few more tests, fix some failures on Windows. 2008-11-04 16:23:16 +01:00
Alexandre Julliard fdf2e7a338 kernel32/tests: Fix a couple of failures on Windows. 2008-11-04 16:13:30 +01:00
Michael Stefaniuc c9a10b32b4 kernel32: Do not cast zero. 2008-11-04 11:26:09 +01:00
Alexandre Julliard 3d6313c9ce ntdll: Return more correct information for SystemBasicInformation and GetSystemInfo. 2008-11-03 13:34:13 +01:00
Alexandre Julliard a4e688218c kernel32: Call build_envp in the parent process so that it can use the Win32 heap. 2008-10-31 14:55:33 +01:00
Alexandre Julliard da03d9355d kernel32: Call build_argv in the parent process so that it can use the Win32 heap. 2008-10-31 14:02:04 +01:00
Alexandre Julliard 4932677e31 kernel32: Allocate global arenas on the Win32 heap. 2008-10-31 13:01:31 +01:00
Alexandre Julliard 5002bd21d1 kernel32: Moved the pthread emulation support to ntdll. 2008-10-30 15:39:50 +01:00
Alexandre Julliard 8551c8d50e kernel32: Use ntdll functions where possible to implement the pthread wrappers. 2008-10-30 15:38:59 +01:00
Alexandre Julliard 7c6302b7ff kernel32: Only try to open a VxD if opening a normal device failed. 2008-10-30 10:33:45 +01:00
Alexandre Julliard 74cdb539a4 ntdll: Store the exit code in the server in RtlExitUserThread. 2008-10-29 20:37:43 +01:00
Alexandre Julliard 21453b4c2e ntdll: Allocate a new virtual region for large blocks, and ensure 16-byte alignment. 2008-10-29 17:32:45 +01:00
Dmitry Timoshkov 67be353040 kernel32: Don't ignore extended keys. 2008-10-28 12:13:46 +01:00
Alexandre Julliard 6dee4c6e63 kernel32: Return the Windows symlink in QueryDosDevice instead of the Unix one. 2008-10-24 14:24:58 +02:00
Aric Stewart 65e677735e ntdll: Update behavior of ActivationContextBasicInformation. 2008-10-22 14:57:22 +02:00
Paul Vriens 61b84b0862 kernel32/tests: Skip a test if needed. 2008-10-22 13:54:54 +02:00
Paul Vriens dda38adce5 kernel32/tests: Fix a few failures on win9x and winme. 2008-10-22 13:54:54 +02:00
Paul Vriens 5b83196484 kernel32/tests: Free memory after use. 2008-10-21 11:43:18 +02:00
Francois Gouget 215738a140 dirent.h is a conditional include now. 2008-10-20 11:37:27 +02:00
Alexandre Julliard bcc77a89b2 kernel32: Convert source files to utf-8. 2008-10-18 19:20:02 +02:00
Rob Shearman 1b5e84a588 kernel32: Fix some Esperanto day and month names. 2008-10-17 20:15:57 +02:00
Alexandre Julliard 1873ebdddc kernel32: Delete the .windows-label file if the label is empty.
Add a trailing \n to the label file.
2008-10-17 14:12:19 +02:00
Rob Shearman d7944ae177 kernel32: Convert NLS resource files using hex-encoded UTF-16 strings into UTF-8. 2008-10-17 13:02:36 +02:00
Aric Stewart 0738505173 kernel32/tests: Add test for GetCommandLineW. 2008-10-16 11:42:50 +02:00
Aric Stewart 6ec0e71e17 kernel32/tests: Add a test for CreateProcess with an AppName set. 2008-10-16 11:41:50 +02:00
Jacek Caban a849136d5e kernel32: Added GetLogicalDriveStrings tests. 2008-10-16 11:21:46 +02:00
Jacek Caban 2e9aa16da9 kernel32: Return uppercase drive letter in GetLogicalDriveStrings. 2008-10-16 11:21:44 +02:00
Dmitry Timoshkov 228c52de57 kernel32: Add support for foreign process handles in GetProcessVersion. 2008-10-16 11:21:40 +02:00
Andrew Talbot 5ae5a68ed3 kernel32: Sign-compare warnings fix. 2008-10-15 14:01:53 +02:00
Andrey Turkin 7ba54ab45c kernel32: Add ExitProcess wrapper to please Shrinker. 2008-10-08 14:26:19 +02:00
Paul Vriens 839b5400cd kernel32/tests: Add a missing newline. 2008-10-07 15:20:24 +02:00
Paul Vriens 81f75c1840 kernel32/tests: Fix failures on WinMe. 2008-10-07 12:11:59 +02:00
Paul Vriens b16983c1bc kernel32/tests: We need the return value. 2008-10-07 12:11:52 +02:00
Paul Vriens a1131786e4 kernel32/tests: Add some skips to fix failures on WinMe. 2008-10-06 15:31:04 +02:00
Paul Vriens 32af90d53a kernel32/tests: Fix some failures on win9x. 2008-10-06 13:55:15 +02:00
Paul Vriens cc57b863b5 kernel32/tests: Fix the remaining errors on win95. 2008-10-06 13:55:12 +02:00
Reece Dunn 4193d78029 kernel32: Be more verbose when reporting the sync test failures. 2008-09-30 11:33:24 -05:00
Erik Inge Bolsø e8754b8ea6 kernel32: Fix PROFILE_Load to handle mac line endings. 2008-09-23 13:07:40 +02:00
Paul Vriens 1c5043e73d kernel32/tests: Add extra tests for SetCurrentDirectory. 2008-09-22 12:16:46 +02:00
Paul Vriens 7cb7c14476 kernel32/tests: Make sure we can remove a test directory. 2008-09-22 12:16:07 +02:00
Paul Vriens e23904ceb9 kernel32/tests: Fix tests on NT4. 2008-09-22 12:16:00 +02:00
Paul Vriens 40a94e04b4 kernel32/tests: Skip some tests on win9x. 2008-09-22 12:15:24 +02:00
Paul Vriens ed55217444 kernel32/tests: Use skip instead of trace. 2008-09-22 12:15:17 +02:00
Francois Gouget 7af03a041a kernel32/tests: Fix compilation on systems that don't support nameless unions. 2008-09-22 11:51:56 +02:00
Alexandre Julliard 7e54db23e9 kernel32/tests: Fix a couple of tests failing on NT4. 2008-09-19 14:03:40 +02:00
Alexandre Julliard ea39761d3a kernel32/tests: Fix race condition in the thread test. 2008-09-19 12:21:45 +02:00
Jeff Zaroyko 22a33168c9 kernel32: Modify DeleteFileW to fail on directories. 2008-09-18 12:32:57 +02:00
Alexandre Julliard 382ef908f1 kernel32/tests: Handle the win2k3 version check behavior. 2008-09-17 16:29:53 +02:00
Rob Shearman 1229e0ab29 kernel32: Fix character count passed to GlobalGetAtomNameW in test_get_atom_name. 2008-09-17 12:01:57 +02:00
Dmitry Timoshkov b4e6aa645b kernel32: Fix the target buffer size. 2008-09-17 10:54:48 +02:00
Vitaliy Margolen c51ca17892 kernel32: Use NULL attributes if name and SA are not not specified. 2008-09-17 10:54:32 +02:00
Alexandre Julliard b1412422ad kernel32/tests: Comment out an UpdateResource call that causes failures. 2008-09-16 22:36:58 +02:00
Alexandre Julliard 337fa823d2 kernel32/tests: Support alternate results in the loader test on Vista. 2008-09-16 22:36:42 +02:00
Alexandre Julliard 9f0773587b kernel32/tests: Fix a test on win9x. 2008-09-16 22:36:04 +02:00
Roy Shea 91e33020f0 kernel32/test: Test import entries of a core windows DLL. 2008-09-15 11:55:04 +02:00
Marcus Meissner 395c4163b8 kernel32/tests: Pass correct size to MultiBytetoWideChar. 2008-09-15 11:44:14 +02:00
Michael Karcher fe09bc1a39 kernel32: Clean up PROFILE_isspaceW. 2008-09-15 11:43:13 +02:00
Vitaliy Margolen 0b6f677d10 kernel32: Use FileStandardInformation to get file size. 2008-09-15 11:28:37 +02:00
Paul Vriens d81aff24c6 kernel32/tests: Skip tests on Win95. 2008-09-15 11:23:34 +02:00
Alexandre Julliard c9f84aa9f9 kernel32/tests: Fix the ResumeThread on win9x. 2008-09-11 14:10:35 +02:00
Alexandre Julliard 33c5d44d49 kernel32/tests: Fix the BindIoCompletionCallback test on Vista. 2008-09-11 14:07:54 +02:00
Alexandre Julliard f0bf098e16 kernel32/tests: Fix the async I/O test to handle errors properly. 2008-09-11 13:49:16 +02:00
Alexandre Julliard ee375f7c22 kernel32: Added implementation for UnregisterWaitEx. 2008-09-11 11:49:40 +02:00
Dmitry Timoshkov 4d672ba090 kernel32: Use a kernel error code. 2008-09-11 11:46:02 +02:00
Paul Vriens 5737fb815c kernel32/tests: Fix a few failures on win98. 2008-09-08 12:49:12 +02:00
Paul Vriens c461eba067 kernel32/tests: Fix 2 tests on win9x. 2008-09-08 12:49:12 +02:00
Paul Vriens c3a58cc7d8 kernel32/tests: Fix a few tests on win9x. 2008-09-08 12:49:12 +02:00
Francois Gouget d8914673ba kernel32/tests: Add a trailing '\n' to an ok() call. 2008-09-05 13:39:13 +02:00
Paul Vriens 94b73a6d04 kernel32/tests: Split the test for ret and last error. 2008-09-05 11:20:59 +02:00