Commit Graph

121 Commits

Author SHA1 Message Date
Eric Pouech c962a6997c - in kernel32, replaced all {Enter|Leave}CriticalSection calls with
ntdll counterparts
- {Enter|Leave}CriticalSection is now a pure forward from kernel32 to
  ntdll (we now longer can use {Enter|Leave}CriticalSection in kernel32)
- replaced a few kernel32 heap management calls from ntdll, with
  RtlHeap* equivalents
2003-06-23 18:12:28 +00:00
Francois Gouget 61aac4eaa1 Fix some typos. 2003-06-04 20:29:05 +00:00
Adam Gundy 8e94fbf305 Don't read uninitialized data when a '$' is found. 2003-03-30 01:35:07 +00:00
Stefan Leichter b56950864b Moved implementation of GetPrivateProfileInt from ascii to unicode. 2003-03-23 20:03:13 +00:00
Gerald Pfeifer 181dfdde77 Tweak error message in PROFILE_UsageWineIni(). 2003-03-20 19:22:24 +00:00
Alexandre Julliard 6bf8542dd5 Fixed int conversion in GetPrivateProfileInt so that all the tests
succeed.
2003-03-04 04:40:01 +00:00
Marcus Meissner f63e5b646a Remove errno.h from files that do not need it. 2003-01-23 22:51:04 +00:00
Alexandre Julliard 11f361a29c Removed no longer needed PROFILE_LoadWineIni(). 2002-11-23 02:24:53 +00:00
Alexandre Julliard d16a64e327 Removed support for converting old format config, everybody should
have converted by now.
Removed log info from wineinstall, this info is already in ChangeLog.
2002-11-22 20:44:13 +00:00
Dmitry Timoshkov db45e1ea28 Maintain lower cased file names in the Wine config directory. 2002-11-13 19:47:22 +00:00
Alexandre Julliard 81bdcf126f Removed references to advapi32 registry functions from some of the
kernel functions.
2002-09-13 17:47:44 +00:00
Patrik Stridvall 9c1de6de30 Moved all the content of the DDK files ntdef.h and ntddk.h to
winternl.h.
2002-09-12 22:07:02 +00:00
Patrik Stridvall 51e6c0ccb1 MSVC compatibility fixes. 2002-08-31 19:04:14 +00:00
Alexandre Julliard dba83c8bfc Added wine_get_user_name function and got rid of some of the getpwuid
portability stuff.
More portable printf formats for 64-bit types.
2002-08-27 18:30:53 +00:00
Dmitry Timoshkov d75aed2c92 Convert most of the file APIs to Unicode. 2002-08-27 01:13:58 +00:00
Patrik Stridvall d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
Patrik Stridvall 4325554aef Fixed some issues found by winapi_check. 2002-08-09 01:07:29 +00:00
Mike McCormack e921e4664d Return the correct length when getting a complete section in
PROFILE_GetString.
2002-07-01 18:12:47 +00:00
Alexandre Julliard 4144b5b8fc Create the server directory and socket file in /tmp.
Use fcntl file locking to ensure exclusion on the server socket and to
better recover from crashes.
Flush the registry before closing the socket to avoid timeouts on the
client side.
Moved get_config_dir functionality to libwine.
2002-06-20 23:21:27 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 55e845d11b Removed most inclusions of options.h.
Removed a few no longer used PROFILE_* functions.
2002-05-23 19:40:18 +00:00
Andreas Mohr 470a3f93eb Make PROFILE_GetString account for default value in all cases. 2002-05-11 22:59:41 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Andreas Mohr c8dcafc65e Fixed overflow and signed/unsigned behaviour. 2002-02-27 18:49:06 +00:00
Gerhard Gruber 024a0ac158 WritePrivateProfileSection should allow to create duplicate keys
because it takes the buffer as it is without any modifications.
2002-02-05 19:44:54 +00:00
Marcus Meissner 4589a07499 Handle section==NULL (error) in WritePrivateProfileStringA. 2002-01-21 23:36:53 +00:00
Mehmet Yasar 39e001962b Do not save empty sections names. 2002-01-04 18:24:37 +00:00
Andreas Mohr e15badb478 Cosmetics. 2001-10-21 15:18:15 +00:00
Andreas Mohr f359895daf Yet another documentation/message text patch. 2001-10-02 17:49:20 +00:00
Francois Gouget 19b05e5f28 Reimplement PROFILE_GetSectionNames to match the NT & MSDN behavior.
The 32A version is now the reference implementation (instead of the
16bit version).
2001-08-28 18:39:26 +00:00
Alexandre Julliard 301df6b5cd Added names to standard critical sections (suggested by Andreas
Mohr).
2001-08-16 18:12:56 +00:00
Alexandre Julliard 5f728cae70 Removed HEAP_strdupA. 2001-07-24 21:45:22 +00:00
Lionel Ulmer f89722dbdb Fix 'undocumented' behaviour of GetPrivateProfileString. 2001-07-20 17:55:39 +00:00
Alexandre Julliard 37e9503ae8 Moved server.h to include/wine. 2001-07-19 00:39:09 +00:00
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
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