Commit Graph

1085 Commits

Author SHA1 Message Date
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