Commit Graph

86 Commits

Author SHA1 Message Date
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Patrik Stridvall 3ca9823941 Documentation ordinal fixes. 2001-06-20 23:03:14 +00:00
Patrik Stridvall dae8de69e2 Documentation ordinal fixes (using winapi_fixup). 2001-06-13 20:13:18 +00:00
Marcus Meissner ee6ea51c02 Check for enough buffer space in PROFILE_GetSection(). 2001-06-06 21:03:40 +00:00
Francois Gouget e76218dd61 Add '\n' at the end of traces. 2001-05-09 17:31:31 +00:00
Francois Gouget 09a17830ac Potential buffer overflow in PROFILE_CopyEntry. 2001-05-07 18:11:57 +00:00
Alexandre Julliard 9515336378 Small dll separation fixes. 2001-03-23 19:13:23 +00:00
Gerard Patel 151023d15a Display the config file location in the incorrect config file error
message.
2001-01-22 19:27:06 +00:00
Chris Morgan 4a3d508b33 Removed use of outdated WINE_INI environment variable. Removed
obsolete --config option.  Removed loading of global wine config file.
Cleaned up some messages.
2001-01-10 22:57:34 +00:00
Alexandre Julliard 550ba5b47a Avoid crashing on invalid lines during config file conversion. 2001-01-05 22:23:37 +00:00
Dmitry Timoshkov fdc78a3ed0 Protect against NULL buffer in the profile functions. 2000-12-19 19:37:03 +00:00
Alexandre Julliard 73be8d1cfd Added automatic translation of the config file to the new
format. Updated documentation.
2000-12-06 20:25:11 +00:00
Alexandre Julliard 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Marcus Meissner 25e7403a27 Removed strange checkj for !filename, so we don't get section NULL
accesses later.
2000-11-26 22:36:19 +00:00
Andreas Mohr 3ac104face Fixed the default value handling (trailing spaces of the default value
are clipped).
section == NULL, key_name == NULL undoc. feature is only valid in Win32.
2000-09-29 21:04:44 +00:00
Alexandre Julliard 072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
Alexandre Julliard 6c8d9171cd Added a real root key and simplified creation of the HKEY_* special root keys.
Do not prefix all keys with the name of the top key when saving to a file.
Try to load $WINEPREFIX/config into the Wine config branch at startup.
2000-08-26 04:40:07 +00:00
Alexandre Julliard dcd247e55f Moved CharUpper* and CharLower* functions to dlls/user. 2000-08-14 17:39:15 +00:00
Uwe Bonnes d88fbb7a78 Make WritePrivateProfileSectionA care for "" and NULL as the
string argument. New function PROFILE_DeleteAllKeys.
2000-06-20 20:48:46 +00:00
Marcus Meissner a6ae55542f Strip whitespace from front of profile values. 2000-06-13 01:06:22 +00:00
Dimitrie O. Paun abdbced4fd Removed some HEAP_xalloc calls. 2000-04-29 14:20:28 +00:00
Alexandre Julliard 86ff8c0826 Make sure HKLM\Software\Wine\Wine is a non-volatile key. 2000-04-13 16:10:20 +00:00
Alexandre Julliard 227a0894d4 Removed a number of global handle allocations and critical section
initializations.
2000-04-08 21:06:06 +00:00
Alexandre Julliard de1d5ad444 Added support for WINEPREFIX environment variable. 2000-04-06 20:36:17 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Uwe Bonnes b2ccbb2926 PROFILE_GetString: only accept NULL for keyname to return the list of
keys as Win95 does.
2000-03-04 19:03:15 +00:00
Alexandre Julliard e4960a1f0f Make profile key a global handle. 2000-02-29 22:19:57 +00:00
Eric Pouech 0521a541f8 While creating the wine config key, make sure that only Wine's subkeys
are volatile.
2000-02-20 13:39:42 +00:00
Alexandre Julliard 00377a78b7 Store config file contents in the registry so we only have to load it
once per session.
Replaced PROFILE_EnumerateWineIniSection by PROFILE_EnumWineIniString.
Removed a few unnecessary/unused command-line options.
2000-02-19 20:50:00 +00:00
Alexandre Julliard 90476d6b4a Moved SystemHeap allocations to the process heap. 2000-02-16 22:47:24 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Andreas Mohr 17b1f46150 - Windows skips the '\t' and ' ' at the beginning and end of section
key names of .INI files.
- Fixed Get/WritePrivateProfileStructA():
  - (re-)translate the binary data into ASCII hex chars
  - add checksum / checking of it
2000-01-30 21:15:14 +00:00
Alexandre Julliard 647876e598 Added PROFILE_GetConfigDir function. 2000-01-25 01:35:01 +00:00
Rein Klazes 7458be0243 Implement WritePrivateProfileSectionA(). 2000-01-05 01:42:51 +00:00
Francois Gouget baa9bf9a23 Buffer overflows and strncpy fixes. 1999-12-27 05:24:06 +00:00
Marcus Meissner 9b4fcf721d Stub for CloseProfileUserMapping. 1999-12-04 04:19:55 +00:00
Andreas Mohr 87bff28c18 Flush current profile before using a newly opened one. 1999-11-21 02:03:03 +00:00
Eric Pouech f54c95ff07 When reading a profile entry remove trailing quote when there's an
opening one.
1999-10-31 17:32:57 +00:00
Thuy Nguyen 7c7f155be3 Resolve environment variable when enumerating values. 1999-09-04 11:03:22 +00:00
Alexandre Julliard e61b792f97 Remove file from cache when flushing it (based on a patch by Ian
Schmidt).
1999-07-31 19:24:11 +00:00
Alexandre Julliard 359f497e97 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-07-04 16:02:24 +00:00
Andreas Mohr adfeec96dd Added support for the undocumented combination
GetPrivateProfileStringA(section == NULL, entry == NULL, ...
1999-05-22 16:04:57 +00:00
Marcus Meissner acfae0c117 Fixed off by 1 error in section code (did not return len-2 on buffer
overflow in some cases, but len-1).
1999-05-08 18:29:10 +00:00
Marcus Meissner 264360fc21 Return the correct value from GetPrivateProfileSectionA.
Copy/convert back the buffer in GetPrivateProfileSectionW.
Replace some output pointers str/wstr->ptr in kernel32.spec.
1999-05-08 10:02:05 +00:00
Ulrich Weigand 8228bd6792 Added missing profile KERNEL routines (call 32-bit versions). 1999-04-22 09:56:09 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Eric Pouech ed15575954 Thread-safe implementation of profile functions (Windows and Wine). 1999-03-25 13:24:08 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00