Commit Graph

649 Commits

Author SHA1 Message Date
Huw Davies 6e2827ec29 kernel32: Fix typo. 2008-06-20 11:19:30 +02:00
Louis Lenders d9fa87382e kernel32: Fix typo in SetProcessAffinityMask. 2008-06-20 11:18:06 +02:00
Alexandre Julliard 122055effd kernel32: The first argument of GetBinaryType is a string. 2008-06-20 09:38:33 +02:00
Dmitry Timoshkov 2a98f9b0b0 kernel32: Make GetModuleFileName set ERROR_INSUFFICIENT_BUFFER like win2k3 and vista do. 2008-06-18 15:21:49 +02:00
Paul Vriens 8fb9503c6d kernel32/tests: Skip tests if function is not implemented. 2008-06-13 12:07:49 +02:00
Paul Vriens e7f5c45cf9 kernel32/tests: Fix a few typos. 2008-06-13 12:07:43 +02:00
Alexandre Julliard 3cb0bcff83 kernel32/tests: Use Local instead of Global prefix to avoid permission issues. 2008-06-10 17:44:57 +02:00
Alexandre Julliard af785c4d0f kernel32/tests: Fix the change notification test on Vista. 2008-06-10 17:44:41 +02:00
Alexandre Julliard 5b0c326679 kernel32/tests: Limit the number of failures in the ligatures test. 2008-06-10 11:55:01 +02:00
Alexandre Julliard a991afae9b kernel32/tests: Make the toolhelp test less verbose by default. 2008-06-10 11:34:11 +02:00
Dan Kegel 3b0924cf83 kernel32/tests: Initialize buffer. 2008-06-09 19:39:49 +02:00
Alexandre Julliard 3a84cbe742 kernel32: Add support for the execute protection values in CreateFileMappingW. 2008-06-09 19:11:25 +02:00
Paul Vriens fe5b8ada64 kernel32/tests: Add a skip message for win95. 2008-06-09 12:39:29 +02:00
Jonathan Ernst bcdfb88e53 kernel: Updated French translation. 2008-06-09 12:39:08 +02:00
Alexandre Julliard ebb8311a4b kernel32/tests: Don't check every single Unicode char if the tables are clearly not compatible. 2008-06-04 12:33:38 +02:00
James Hawkins c81d36e989 kernel32: Remove two tests that produce different results for win9x and NT platforms. 2008-05-29 12:12:43 +02:00
Francois Gouget 2321017707 kernel32/tests: Get the tests running again on Win95. 2008-05-26 18:01:06 +02:00
James Hawkins e92f9054dd kernel32: Don't test the invalid locale 0 if it is enumerated. 2008-05-23 12:10:10 +02:00
Alexandre Julliard 284335229a kernel32: Don't require write access on profile file when only reading. 2008-05-22 12:15:37 +02:00
Alexandre Julliard 9f76085c06 kernel32: File mapping names are case sensitive. 2008-05-21 20:45:11 +02:00
Alexandre Julliard b62f3dee2d kernel32: Waitable timer names are case sensitive. 2008-05-21 20:44:36 +02:00
Alexandre Julliard 116297d0c1 kernel32: Semaphore names are case sensitive. 2008-05-21 20:43:43 +02:00
Alexandre Julliard c96752c044 kernel32: Event names are case sensitive. 2008-05-21 20:42:54 +02:00
Alexandre Julliard e9793cc183 kernel32: Mutex names are case sensitive. 2008-05-21 20:41:45 +02:00
Alexandre Julliard 1dcaddee99 kernel32: Add some test cases for profile file sharing modes.
Based on a patch by Louis Lenders.
2008-05-21 14:23:44 +02:00
Alexandre Julliard 8b97263dae kernel32: Fix the profile file sharing modes.
Based on a patch by Louis Lenders.
2008-05-21 14:23:29 +02:00
Dmitry Timoshkov 248cc53d86 kernel32: Update locale info for Esperanto. 2008-05-21 11:43:11 +02:00
James Hawkins ed4e0a08bc kernel32: Remove a test that fails on all platforms. 2008-05-20 15:43:54 +02:00
James Hawkins 362f2ceeaf kernel32: Fix a debugger test that fails in win2k3. 2008-05-19 16:11:05 +02:00
Dan Kegel fbaf037581 kernel32: comm.c: increase time slop. 2008-05-14 13:36:26 +02:00
Alexandre Julliard 12de7d7591 kernel32: Move the wineboot event wait so that 16-bit processes wait too. 2008-05-13 20:26:37 +02:00
Alexandre Julliard 4d1cf9c8c4 kernel32: Add a builtin 16-bit winhelp.exe.
This should be moved to winhlp32.exe once we support 16-bit modules in executables.
2008-05-13 18:50:50 +02:00
Paul Vriens 6e8f8a0529 kernel32/tests: Skip tests if codepage is not installed/available. 2008-05-12 11:41:51 +02:00
Maarten Lankhorst 864e24d2e5 kernel32: Fix temporary path test. 2008-05-08 11:10:44 +02:00
Maarten Lankhorst db8e63af27 kernel32: Fix process tests to pass in Windows. 2008-05-08 11:10:40 +02:00
Alexandre Julliard 2dc9ed3006 winedos: Print better diagnostics when a DOS app fails to start. 2008-05-07 17:33:50 +02:00
Francois Gouget 633ee950a1 Assorted spelling fixes. 2008-05-07 12:07:11 +02:00
Alexandre Julliard 6477a1c1bf kernel32: Set the USERPROFILE and ALLUSERSPROFILE environment variables based on the ProfileList registry keys. 2008-05-06 16:07:13 +02:00
Dmitry Timoshkov fab78cdc8d kernel32: Print in the trace pid and tid of the created process. 2008-05-06 11:25:50 +02:00
Dmitry Timoshkov dca9f314a8 winoldap.mod: Wait until the 32-bit process starts up. 2008-05-05 19:46:16 +02:00
Paul Vriens 1cfad7f07f kernel32/tests: Skip some tests on win98. 2008-05-02 16:18:02 +02:00
Paul Vriens 0a4eebd744 kernel32/tests: Don't run tests on win9x if we are out of memory. 2008-05-02 12:55:12 +02:00
Paul Vriens d3c4e3d4a7 kernel32/tests: Fix tests on win9x. 2008-05-01 12:42:22 +02:00
James Hawkins ed714d09b7 kernel32: Fix a test that fails in win2k3. 2008-04-25 14:53:22 +02:00
Alexandre Julliard 4073805aeb kernel32: If necessary reload the environment after wineboot has run. 2008-04-24 11:53:45 +02:00
James Hawkins 4d07047d4e kernel32: Fix a test that fails on win9x. 2008-04-23 14:29:50 +02:00
Austin English c531e2abdb Spelling fixes. 2008-04-23 12:31:07 +02:00
James Hawkins 603822ca8b kernel32: Fix two tests that fail in win9x. 2008-04-21 13:36:02 +02:00
James Hawkins 99949cb21a kernel32: Fix a test that fails in win9x. 2008-04-21 13:20:12 +02:00
James Hawkins 430a46fdf7 kernel32: Skip the screen buffer tests if codepage 866 is not available. 2008-04-21 13:20:12 +02:00
Andrew Talbot 7d2c11e3a4 kernel32: Remove unused variables. 2008-04-21 12:10:36 +02:00
Alexandre Julliard 05e55edd82 kernel32: Create the windows and system directories if necessary. 2008-04-17 20:33:47 +02:00
James Hawkins c5ebc4acb0 kernel32: Fix a test that fails in win2k and up. 2008-04-17 12:51:06 +02:00
James Hawkins c009d1e9c4 kernel32: Fix a test that fails in win2k. 2008-04-17 12:50:56 +02:00
James Hawkins cd2f10a6d0 kernel32: Remove an invalid trace and comment. 2008-04-17 11:40:07 +02:00
James Hawkins a4f733ab0b kernel32: Fix a few failing tests in win2k. 2008-04-17 11:40:00 +02:00
James Hawkins 25c02c884f kernel32: Split the GetComputerName/Ex tests into their own test functions. 2008-04-17 11:39:55 +02:00
Alexandre Julliard f02ef19fdb kernel32: Reserve the low 64Kb area separately from the rest of the DOS memory. 2008-04-14 20:39:27 +02:00
James Hawkins e314ef699e kernel32: Add traces to see why the tests fail in win2k. 2008-04-11 11:16:29 +02:00
Francois Gouget 8a18e0e43a Assorted spelling fixes. 2008-04-07 13:36:18 +02:00
Austin English cb2274e690 Spelling fixes. 2008-04-04 11:51:40 +02:00
Alexander Nicolaysen Sørnes 10e9c6bfd1 kernel32: Set processorLevel to cpu family. 2008-03-31 12:14:41 +02:00
Michael Stefaniuc c90baaf7f1 kernel32: Add the NLS file for Romansh (Switzerland). 2008-03-28 09:51:52 +01:00
Dan Kegel dcefb67781 kernel32: Test negative dest len in WideCharToMultiByte. 2008-03-26 23:38:36 +01:00
Alexandre Julliard 7a7ef6a64c kernel32: Moved the allocation of the process stack to ntdll. 2008-03-26 17:08:38 +01:00
Dmitry Timoshkov fed582de5c kernel32: Make the test compatible with win9x. 2008-03-26 11:18:21 +01:00
Anatoly Lyutin f773e148b0 kernel32: Implement IsWow64Process. 2008-03-24 20:39:22 +01:00
Alexandre Julliard c3ae7d1983 kernel32/tests: Fix the FindFirstVolume test on Vista. 2008-03-22 13:09:57 +01:00
Alexandre Julliard 9879f78c13 kernel32/tests: Added some tests for FindResource. 2008-03-22 13:09:44 +01:00
Michael Moss ded68372a2 kernel32/tests: Test notifications for overlapping directory watches. 2008-03-20 20:16:08 +01:00
Michael Moss ef7c4a8b6d kernel32/tests: Fix false positive file notification tests. 2008-03-20 14:27:44 +01:00
Austin English d5de9977df kernel32: Spelling fixes. 2008-03-18 11:44:09 +01:00
Alexandre Julliard 5c5b997dc2 kernel32: Implemented ReadFileScatter and WriteFileGather. 2008-03-15 10:58:38 +01:00
Alexandre Julliard db1b9a9f62 kernel32: Propagate the FILE_FLAG_NO_BUFFERING CreateFile flag to ntdll. 2008-03-15 10:58:38 +01:00
Dan Hipschman 0e8f193184 kernel32: Add the MOVEFILE_WRITE_THROUGH flag for MoveFileEx (stub). 2008-03-14 11:53:15 +01:00
Paul Vriens 371afffd35 kernel32/tests: Add a few skips instead of just returning. 2008-03-12 12:02:04 +01:00
Paul Vriens a558bfad99 kernel32/tests: DATE_YEARMONTH is only present on W2K and later. 2008-03-12 12:02:00 +01:00
Paul Vriens b0f7dcdf88 kernel32/tests: Skip some tests on win95. 2008-03-12 12:01:48 +01:00
Paul Vriens 4ca754d9a9 kernel32: Fix/change tests for systems with no ServicePack. 2008-03-11 12:11:52 +01:00
Francois Gouget 508d58c210 kernel32/tests: Don't use 0xaa to avoid any confusion when running with +heap. 2008-03-05 12:18:31 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Andrew Talbot 54a376f228 kernel32: Assign to structs instead of using memcpy. 2008-03-04 11:54:20 +01:00
Alexandre Julliard c52d921f34 kernel32: Added a winoldap.mod 16-bit exe to launch 32-bit processes.
Based on a patch by Dmitry Timoshkov.
2008-03-03 15:25:50 +01:00
Maarten Lankhorst 1032ba6dc3 kernel32: Fix GetVolumeInformation for fat32 partitions. 2008-03-01 12:32:27 +01:00
Alexandre Julliard 5625c6079e Get rid of the global thread.h header. 2008-03-01 11:57:00 +01:00
Alexandre Julliard b2ad268a8b kernel32: Implement the fiber local storage functions. 2008-02-29 19:56:04 +01:00
Rob Shearman 8d2af8e3f3 kernel32: Fix typo in UTUnRegister. 2008-02-29 12:37:01 +01:00
Rob Shearman 45ba200f19 kernel32: Fix use of uninitialised nameW and typeW in find_resourceA. 2008-02-29 12:36:55 +01:00
Dmitry Timoshkov e49e8b20db kernel32: Add stubs for fiber local storage APIs. 2008-02-29 11:48:13 +01:00
Dmitry Timoshkov aebcbf0f6e kernel32: Return upper cased drive letters in paths, some applications depend on it. 2008-02-27 14:52:26 +01:00
Paul Vriens ad697ecdc4 kernel32/tests: Win9x doesn't change last error. 2008-02-27 14:52:24 +01:00
Rob Shearman 492be1b5e3 kernel32: Fix the number of characters passed to GetAtomNameW in test_local_get_atom_name. 2008-02-25 13:31:47 +01:00
Alexandre Julliard 3d418add04 kernel32: Fixed the active processor mask on Mac OS. 2008-02-18 14:09:49 +01:00
Rob Shearman 7ed33ae721 kernel32: Fix handle leak in start_console_renderer_helper. 2008-02-18 12:20:38 +01:00
Rob Shearman a82f4dd9b7 Don't use GetExceptionCode and GetExceptionInformation in exception filter functions.
When using native compiler exceptions, it isn't valid to use 
GetExceptionCode and GetExceptionInformation anywhere other than in the 
filter or handler blocks since it would be very hard for the compiler to 
work out where to retrieve the exception information from on the stack.

Therefore, remove the WINE_EXCEPTION_FILTER and WINE_FINALLY_FUNC macros 
which enabled GetExceptionCode, GetExceptionInformation and 
AbnormalTermination to be used inside of the functions they declared and 
fix up all callers to access the information directly.
2008-02-16 14:57:44 +01:00
Alexandre Julliard 58913b439b kernel32: On Mac OS, recompose the Unicode strings we get from the OS. 2008-02-15 12:07:56 +01:00
Francois Gouget 148061814c kernel32/tests: Fix the time tests when 'Automatically adjust clock for daylight saving changes' has been unset. 2008-02-15 09:56:12 +01:00
Paul Vriens fc82d8c221 kernel32/tests: ReplaceFile[AW] doesn't exist on win9x. 2008-02-13 16:41:54 +01:00
Erich Hoover 664c68a2c9 kernel32: Add tests for ReplaceFileA and ReplaceFileW. 2008-02-12 23:03:37 +01:00
Rob Shearman c72de7bce2 kernel32: Implement ReplaceFileW.
Based on a patch by Erich Hoover.
2008-02-12 23:03:09 +01:00
Erich Hoover 06a3c3a281 kernel32: Implement ReplaceFileA. 2008-02-12 23:02:55 +01:00
Alexandre Julliard b1789fc73f kernel32: Don't save the signal mask in sigsetjmp.
This shouldn't be needed anymore now that exceptions are not handled
on the signal stack, and signal mask handling is broken on Mac OS.
2008-02-12 22:39:54 +01:00
Dmitry Timoshkov 667dad2331 kernel32: Separate modifier from charset before detecting the charset codepage. 2008-02-08 13:13:20 +01:00
Alexandre Julliard 05c7174909 tests: Add a helper routine to wait for a child process and propagate its result correctly. 2008-02-07 12:56:00 +01:00
Jens Nestler 6d59ddf67b kernel32: Don't fail unconditionally in MoveFile for directories with flag MOVEFILE_REPLACE_EXISTING. 2008-02-06 13:49:29 +01:00
James Hawkins ea41e863ad kernel32: Factor out the VerifyVersionInfo tests into their own function. 2008-02-05 12:19:36 +01:00
Alistair Leslie-Hughes 9d36b416a7 kernel32: Add RegisterApplicationRestart stub. 2008-02-05 12:06:09 +01:00
Dmitry Timoshkov 21204f579e kernel32: LOADPARAMS16->showCmd can be NULL, do not crash in that case. 2008-02-04 11:49:37 +01:00
Paul Vriens 71f81bf1f5 kernel32/tests: Win9x returns a different last error. 2008-01-24 14:04:07 +01:00
Alexandre Julliard e84daed485 Avoid sizeof in traces. 2008-01-24 14:03:10 +01:00
Francois Gouget d0794c4aeb Assorted spelling fixes. 2008-01-23 21:16:22 +01:00
Francois Gouget e7e998004a kernel32/tests: Test the expansion of indirect environment variable references. 2008-01-23 20:39:35 +01:00
Gerald Pfeifer 39f672798b kernel32: Use setproctitle where applicable to set the process name.
Based on a patch by Kris Moore.
2008-01-21 11:52:33 +01:00
Rob Shearman 71e0e1ca63 kernel32: Initialise the top 16-bit stack frame to zero. 2008-01-18 11:56:13 +01:00
Alexandre Julliard 9261c63ab3 kernel32: Fix the system affinity returned by GetProcessAffinityMask. 2008-01-16 21:01:33 +01:00
Alexandre Julliard 1d6d080d4b wineboot: Add a --init option used when launched automatically at startup.
Don't execute Run entries in that case.
2008-01-16 19:51:14 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Francois Gouget 12689d9b0f kernel32/tests: Small spelling fix in a parameter name. 2008-01-16 12:46:38 +01:00
Francois Gouget f6fab295f3 Fix spelling error in the generated conformance test files. 2008-01-16 12:46:18 +01:00
Alexandre Julliard 93cdead182 kernel32/tests: Avoid size_t in traces. 2008-01-15 17:08:09 +01:00
Paul Vriens 4111ea931c kernel32/tests: FindFirstVolumeA is not available on win98. 2008-01-15 12:35:42 +01:00
Marcus Meissner 3bf54c2950 server: Enumerate process in reverse. 2008-01-14 16:24:55 +01:00
Alexandre Julliard 9c00a78da5 kernel32: Don't inherit stdin/stdout handles in wineboot. 2008-01-14 15:49:56 +01:00
Alexandre Julliard 5a3132343d kernel32: Close the stdio handles when creating a detached process. 2008-01-14 15:49:12 +01:00
Gerald Pfeifer 221a8048b9 kernel32: Fix type of a loop variable in SNOOP16_Entry(). 2008-01-14 15:31:37 +01:00
Francois Gouget 0069651056 kernel32/tests: Despite the MSDN claims, GetComputerName() does not return the required buffer size... except on Vista. So update the tests accordingly. 2008-01-11 12:25:39 +01:00
Francois Gouget e3e2a5c0ac kernel32/tests: Add more ExpandEnvironmentStringsA() tests.
Document the observed ExpandEnvironmentStrings() behavior.
2008-01-11 12:25:33 +01:00
Paul Vriens e1f88e5f69 kernel32/tests: Skip not implemented functions. 2008-01-10 12:15:44 +01:00
Paul Vriens c9434956d5 kernel32/tests: Skip not implemented functions. 2008-01-10 12:15:39 +01:00
Paul Vriens 7b7838289f kernel32/tests: Skip not implemented functions. 2008-01-10 12:15:30 +01:00
Andrew Talbot 272fb14e70 kernel32: Remove unneeded casts. 2008-01-09 12:26:04 +01:00
Alexandre Julliard c486d8774f kernel32: Fail more gracefully in GetVolumeInformation for fake drive devices. 2008-01-07 23:17:42 +01:00
Michael Stefaniuc 46f8b23eb7 kernel32: Add missing HeapFree(). Found by Smatch. 2008-01-07 22:57:08 +01:00
Alexandre Julliard f53bb857ac kernel32/tests: Avoid using size_t in traces. 2008-01-07 17:18:35 +01:00
Rob Shearman 628a515b83 kernel32: Implement RegisterWaitForSingleObjectEx. 2008-01-07 12:04:07 +01:00
Hans Leidekker 16d5be1f2f kernel32: Add Surinam Dutch and Belgian Dutch translations of language group names. 2008-01-07 12:02:26 +01:00
Hans Leidekker b7917bcfda kernel32: Fix two test failures on Win98 due to missing GetTempPathW. 2008-01-07 12:02:19 +01:00
Alexandre Julliard d17b29303c kernel32/tests: Added tests for FindFirstVolume/FindNextVolume. 2008-01-04 14:31:55 +01:00
Alexandre Julliard 7f508df25b kernel32: Implemented FindFirstVolume/FindNextVolume using the mount point manager. 2008-01-04 14:31:40 +01:00
Kirill K. Smirnov 24f78d7366 kernel32: Convert newborn wineserver handle to kernel32 console handle. 2008-01-04 13:46:13 +01:00
Alexandre Julliard d55b2de574 kernel32: Launch wineboot on first startup of a wine process. 2008-01-04 12:51:04 +01:00
Rob Shearman 910cf61723 kernel32: Add tests for RegisterWaitForSingleObject and UnregisterWait. 2008-01-02 14:30:14 +01:00
Rob Shearman 1822a722d9 kernel32: Implement RegisterWaitForSingleObject and UnregisterWait. 2008-01-02 14:30:11 +01:00
Gerald Pfeifer f41d0cb530 kernel32/tests: Remove extraneous check. 2007-12-31 19:21:25 +01:00
Stefan Leichter 20c0ba2341 kernel32: Silence a fixme in GetNativeSystemInfo. 2007-12-23 14:17:12 +01:00
Alexandre Julliard 201fc77fd6 winedos: Add the possibility of refusing to emulate some interrupts. 2007-12-23 13:55:12 +01:00
Alexandre Julliard 28aed6d9c8 kernel32: Initialize MaximumLength of the user params directory too. 2007-12-23 13:54:31 +01:00
Alexandre Julliard 16aadb2785 kernel32: Yet another workaround for broken apps in GlobalMemoryStatus. 2007-12-21 14:27:40 +01:00
Kirill K. Smirnov b7f617c916 kernel32: Invalidate local copy of console input event handle while reallocating console. 2007-12-21 14:27:10 +01:00
Andrey Turkin 343f2c1b30 ntdll: Implement BindIoCompletionCallback. 2007-12-21 13:52:34 +01:00