Commit Graph

48 Commits

Author SHA1 Message Date
Alexandre Julliard 362ecd06f6 kernel32: Fix handling of overflows in GetPrivateProfileSectionA. 2009-10-08 16:28:17 +02:00
Dmitry Kislyuk c81d1e78f7 kernel32/tests: Pass test on error code returned by Windows 7. 2009-10-05 13:46:01 +02:00
Stefan Leichter 88a019956e kernel32: Test GetPrivateProfileString with empty string as key and section. 2009-08-21 13:49:45 +02:00
Paul Vriens eca3d74877 kernel32/tests: Skip WritePrivateProfileString tests on Win9x/WinME. 2009-06-04 12:11:56 +02:00
Dmitry Kislyuk 8d9434eefe kernel32/tests: Show that NULLs need to be preserved in data before first section. 2009-05-07 15:16:15 +02:00
Dmitry Kislyuk 182e75140e kernel32: Added GetPrivateProfileSection and GetPrivateProfileString tests for empty section scenario. 2009-04-20 17:40:33 +02:00
Paul Vriens 9a10234ef2 kernel32: Fix creation of empty sections in ini files. 2009-04-02 16:28:30 +02:00
Paul Vriens a61e117781 kernel32/tests: Fix some test failures on Win9x and WinME. 2009-03-30 13:58:12 +02:00
Paul Vriens 7eca8022df kernel32/tests: Fix some test failures on NT4 and below. 2009-03-27 15:51:25 +01:00
Paul Vriens 9e82e50eb3 kernel32/tests: Fix crash on NT4 and higher. 2009-03-26 16:21:59 +01:00
James Hawkins 87847b47cd kernel32: Don't try to load an empty initialization file. 2009-03-24 11:37:01 +01:00
James Hawkins 7c3529f1cc kernel32: Handle writing empty sections and keys in WritePrivateProfileString. 2009-03-24 11:36:52 +01:00
James Hawkins f1308f9b40 kernel32: Set last error to ERROR_FILE_NOT_FOUND if lpAppName is NULL. 2009-03-24 11:36:03 +01:00
James Hawkins 287b07fddc kernel32: Add tests for WritePrivateProfileString. 2009-03-24 11:35:52 +01:00
Paul Vriens 047a43f084 kernel32/tests: Fix remaining failures on Win9x and WinME. 2009-02-02 12:12:24 +01:00
Paul Vriens a8c24d343c kernel32/tests: Fix some test failures on Win9x and WinME. 2009-02-02 12:12:16 +01:00
Paul Vriens 2bac661c2f kernel32/tests: Fix some tests on Win9x and WinME (GetPrivateProfileSection). 2009-02-02 12:12:09 +01:00
Paul Vriens b7b59236cf kernel32/tests: Fill the buffer and check for double-NULL to show a bug in Wine. 2009-02-02 12:12:03 +01:00
Paul Vriens 8236f362ff kernel32/tests: Fix some test failures on Win9x and WinME. 2009-01-30 11:43:21 +01:00
Paul Vriens a21ea16f90 kernel32/tests: Skip some tests on Win9x and WinME. 2009-01-30 11:43:16 +01:00
Paul Vriens 407f0d9f56 kernel32/tests: Fix some test failures on Win9x and WinME (GetPrivateProfileString). 2009-01-29 12:19:35 +01:00
Paul Vriens 48f035bd4c kernel32/tests: Fix some test failures on Win9x and WinME (GetPrivateProfileSectionNames). 2009-01-29 12:19:29 +01:00
Paul Vriens 7099cdebd5 kernel32/tests: Fix some test failures on several platforms. 2009-01-29 12:19:19 +01:00
Paul Vriens cca75cc147 kernel32/tests: Don't crash when run as a normal user. 2009-01-28 12:32:22 +01:00
Paul Vriens dda0fe451d kernel32/tests: Fill the buffer to show a bug in Wine. 2009-01-28 12:32:05 +01:00
Alasdair Sinclair 116886cf0a kernel32/tests: Fix missing void in empty parameter list. 2009-01-28 12:10:55 +01:00
Alexandre Julliard 181e4f08b6 kernel32/tests: Fix some profile test failures on NT4. 2008-11-10 11:09:02 +01:00
Erik Inge Bolsø e8754b8ea6 kernel32: Fix PROFILE_Load to handle mac line endings. 2008-09-23 13:07:40 +02:00
Dmitry Timoshkov 4d672ba090 kernel32: Use a kernel error code. 2008-09-11 11:46:02 +02:00
Michael Karcher 34aa6b7002 kernel32: Fix profile cache logic and don't cache new files. 2008-08-20 14:56:15 +02:00
Michael Karcher c2a26cee16 kernel32/tests: Fix profile crash on NT and up. 2008-08-19 15:19:29 +02:00
Michael Karcher 33ca67dcab kernel32: Fix profile sharing mode.
Based on a patch from Austin English.
2008-08-18 17:15:56 +02:00
Francois Gouget a793888a28 Assorted spelling fixes. 2008-08-04 13:04:48 +02:00
Detlef Riekenberg 5437f4ce9c kernel32/tests: Fix a crash on win9x (lpDefault is truncated inplace). 2008-07-28 11:35:38 +02:00
James Hawkins 3fb196fb57 kernel32: Return the default value if lpKeyName is empty. 2008-07-17 11:38:19 +02:00
James Hawkins 7e9df53f38 kernel32: Fix removing trailing spaces from lpDefault for GetPrivateProfileString. 2008-07-17 11:37:55 +02:00
James Hawkins e5705eae84 kernel32: Add tests for GetPrivateProfileString. 2008-07-17 11:37:02 +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 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
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
Francois Gouget 0081b430e1 Assorted spelling and English fixes. 2007-04-03 11:23:12 +02:00
Paul Vriens 5de163f9d4 kernel32/profile: Some parameter tests for GetPrivateProfileSectionA. 2007-03-28 12:09:26 +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
Huw Davies 3f49239063 kernel32: Fix GetPrivateProfileSectionNamesA when the file does not exist. 2007-03-14 18:49:40 +01: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