Commit Graph

663 Commits

Author SHA1 Message Date
Alexandre Julliard eac0e1837c Removed MSG_WineStartTicks (does not work for multiple address spaces
anyway).
2000-06-03 20:46:53 +00:00
Juergen Schmied 0dc0d4461b Fixed crash. 2000-06-03 00:08:24 +00:00
Andreas Mohr 2e011a5243 Lots of spelling fixes that accumulated in my tree again, made several
error msgs more verbose, doc updates.
2000-06-01 23:28:25 +00:00
Zoran Dzelajlija 846880b7e6 Basic Croatian language support. 2000-05-30 20:50:45 +00:00
Alexandre Julliard eeaae3cae9 Make child processes inherit command-line options through the
WINEOPTIONS environment variable.
2000-05-30 17:51:44 +00:00
Gerald Pfeifer 093af59b74 Fixed warning. 2000-05-30 15:28:37 +00:00
Alexandre Julliard c192ba2468 Exec a separate wine binary for every win32 process so that they run
in separate address spaces.
Run 16-bit tasks as Win32 threads, not processes.
2000-05-29 21:25:10 +00:00
James Juran 2fc028977d DEBUG_ExternalDebugger() needs to be a part of wine, not winedbg. 2000-05-26 01:14:55 +00:00
Patrik Stridvall cbab7705f1 Fixed issues found by winapi_test. 2000-05-18 00:52:08 +00:00
Dimitrie O. Paun 81eafedaf1 Moved DDEML into dlls/user. 2000-05-14 23:34:41 +00:00
Alexandre Julliard a01004d828 Added support for registry values larger than the server buffer.
When loading a registry file, automatically determine overlap between
key name and file contents based on the first key name.
Removed v1 saving code.
Save USER\.Default separately into ~/.wine/userdef.reg.
2000-05-14 22:57:57 +00:00
Alexandre Julliard 8c8237b756 Specify the service thread timers in ms instead of us. 2000-05-10 04:43:32 +00:00
Alexandre Julliard 246c360631 Reserve space for the PE header at the start of the .so file.
Store the export table inside the data section so that sections can be
properly aligned.
Build the relay function table directly in the .spec.c file.
Moved relay debugging functions to relay386.c.
2000-05-10 03:48:00 +00:00
Huw D M Davies e5565ff049 Strip the $$$PROTO.HIV bit from win2k SYSTEM and SOFTWARE hives. 2000-05-05 18:19:03 +00:00
Bertho Stultiens 5b8eb2d838 Mmap does not fail on zero-length files. 2000-05-03 17:35:10 +00:00
Patrik Stridvall c77ff5ef67 Fixed issues reported by winapi_check. 2000-04-29 14:26:13 +00:00
Juergen Schmied 6889c68680 Small fixes, removed asserts. 2000-04-28 19:59:48 +00:00
Rein Klazes 0a54d5a39f Implement mark and space parity generation. Accept one-and- a-half
stopbits: the most common uarts will generate this automatically when
there are 5 databits.
2000-04-28 14:44:33 +00:00
Patrik Stridvall e29dbc5814 Fixed some warnings. 2000-04-24 18:04:24 +00:00
Dimitrie O. Paun cb18dbf9ce Removed the last xmalloc calls. 2000-04-24 17:33:06 +00:00
Gerard Patel a7adda8280 Do not initialize dcb in BuildCommDCB[AndTimeouts]. 2000-04-23 19:58:44 +00:00
Alexandre Julliard 07d8446918 Implemented thread and (partial) module snapshots, based on the work
of Andreas Mohr <amohr@student.ei.uni-stuttgart.de>.
2000-04-16 19:45:05 +00:00
Alexandre Julliard c970904c2c Save the registry on server exit without client intervention.
Removed "alt" registry files since we now have symlinks and
WINEPREFIX to replace them.
2000-04-16 17:21:13 +00:00
Alexandre Julliard b44595283f Improved Winelib apps initialisation code. No longer need to link
winestub.o with Winelib apps.
2000-04-15 21:00:55 +00:00
Marcus Meissner a76eee94f0 Do not dereference a ptr we just checked being NULL. 2000-04-14 14:07:13 +00:00
Ove Kaaven b43b9d931b Follow symlinks when saving registry. 2000-04-14 14:05:43 +00:00
Eric Pouech 5f6419fafa Got rid of -debug wine's option (wine now requires an external debugger). 2000-04-13 19:29:11 +00:00
Alexandre Julliard 08b289d7a6 Moved SaveOnlyUpdatedKeys to wine.ini.
Use get_config_dir() instead of hardcoding ~/.wine
Simplified loading and saving routines.
2000-04-06 20:37:37 +00:00
Patrik Stridvall 54fe8380a1 Fixed some issues reported by winapi_check. 2000-04-06 20:21:16 +00:00
Alexandre Julliard fbace6eefe Added a per-drive FailReadOnly flag, and removed the global
--failreadonly option.
2000-04-04 20:35:45 +00:00
Alexandre Julliard a57d77a750 Call PROFILE_GetWineIniBool before starting to fill the request
buffer. Made new registry format the default.
2000-04-04 19:56:49 +00:00
Alexandre Julliard ef76a1c97d Michael Abd-El-Malek (Corel)
Changed irl.nls to eni.nls. Reviewed and fixed a lot of the NLS files
to be more compatible to Windows.
Added en_GB (used by Corel Linux 1.0,1.1) as alias for en_UK.

Jeff Tranter <jefft@corel.ca>
The measurement unit for Canadian English should be metric.
LANG_SUB_ENTRY did always return the first language due to missing {}.
2000-04-04 18:53:37 +00:00
Rein Klazes 7f383a88cb Added CTS, DSR and RingIndicator states to Window's semi-documented
modem line status register.
2000-03-30 20:23:32 +00:00
Ron Gage 7bfd079b37 Fixed bug reported by winapi_check. 2000-03-28 20:41:46 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Patrik Stridvall 39fc90a7b2 Fixed some warnings. 2000-03-28 19:30:06 +00:00
Uwe Bonnes e7c6f50626 Use strerror in debug output. 2000-03-26 18:17:09 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Alexandre Julliard 7f3418fba0 Store monitor size and depth in the generic structure.
Merged monitor driver into USER driver.
2000-03-25 17:30:13 +00:00
Alexandre Julliard 6ec108ab6e Moved FatalAppExit functions to win32/except.c.
Added a few uses of Callout instead of referencing USER functions
directly.
2000-03-24 21:42:15 +00:00
Patrik Stridvall fcfacb95a7 Added/fixed some documentation reported by winapi_check. 2000-03-24 20:46:04 +00:00
Alexandre Julliard 28c3a1baf3 Moved graphics initialisation to the x11drv/ttydrv dll init code.
Merged event, keyboard and mouse drivers into USER driver.
2000-03-20 18:21:19 +00:00
Dimitrie O. Paun 9ad9636725 Removed most calls to xmalloc/xrealloc. 2000-03-19 14:29:50 +00:00
Alexandre Julliard 1dac57f05f Created separate dlls for user,gdi,ttydrv,x11drv.
Fixed Winelib argc handling (thanks to Eric Pouech).
2000-03-19 12:08:09 +00:00
Alexandre Julliard 9b59da0dd9 Misc small cleanups. 2000-03-18 22:25:41 +00:00
Alexandre Julliard 62f824f7cb Avoid calling the *Rect USER functions from inside GDI.
Moved a few USER functions to a more appropriate location.
2000-03-18 22:12:33 +00:00
Alexandre Julliard fe08568a0d Moved command-line option handling out of the X11 driver.
Added support for "--" prefix on options.
Replaced a few X11 command-line options by wine.conf parameters.
2000-03-18 21:56:10 +00:00
Alexandre Julliard ebc32253bc Made MPR a separate dll. 2000-03-17 15:09:48 +00:00
Simen Zamecnik 5f3b1b0c83 Added Slovak language support. 2000-03-08 18:59:20 +00:00
Junichi Kuchinishi 51854be791 Added some Japanese resources. 2000-03-08 18:50:45 +00:00
Patrik Stridvall 6cc47d4924 Removed a lot of unnecessary includes and fixed the compile errors. 2000-03-08 18:26:56 +00:00
Patrik Stridvall 7e9913f463 Fixed some warnings. 2000-03-08 18:25:22 +00:00
Hidenori Takeshima 146b16a9c4 Added a few messages for IME. 2000-03-08 18:22:21 +00:00
Huw D M Davies 4688c7ca1e Implement SPI_GETICONMETRICS.
Change WARN -> FIXME for unimplemented SPI_s and set appropriate error.
2000-03-07 12:25:40 +00:00
Alexandre Julliard f53aba8acd Fixed error checking in registry saving. 2000-03-04 19:33:38 +00:00
Alexandre Julliard 916f975624 Improved the selector get/set functions.
Support ANSI-compatible inline asm (with the help of Patrik Stridvall).
2000-02-26 16:51:13 +00:00
Patrik Stridvall 0ee98cc39f Fixed ANSI C violations. 2000-02-26 13:17:55 +00:00
Alexandre Julliard d6dff398a4 Release unused space in debug strings to avoid too frequent
wrap-arounds in the circular buffer.
2000-02-25 21:44:49 +00:00
Hidenori Takeshima 45daffaafe Fixed CharNextA/CharNextExA for DBCS. 2000-02-25 21:34:48 +00:00
James Abbatiello 1758f2d81a Misc. fixes for compiler warnings. 2000-02-25 21:01:50 +00:00
Alexandre Julliard ec74593be2 Avoid crash on usage message. 2000-02-20 14:02:47 +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
Hidenori Takeshima be7aba013a The maximum size of the buffer is 1024 bytes in Win32. 2000-02-18 19:04:28 +00:00
Alexandre Julliard 90476d6b4a Moved SystemHeap allocations to the process heap. 2000-02-16 22:47:24 +00:00
Alastair McKinstry 33536e2753 Added support for the following celtic languages: Irish Gaelic, Scots
Gaelic, Manx Gaelic, Breton, Welsh, Cornish.
2000-02-16 21:21:51 +00:00
Juergen Lock 3d54d6a7eb Fixed CDROM_Audio_Seek for non-linux systems. 2000-02-13 16:00:53 +00:00
Juergen Lock 7dcd343fa8 VERSION_GetSystemDLLVersion crashed when being called on a .so. 2000-02-13 15:58:44 +00:00
Juergen Schmied bd1dcd7520 Reading of ri blocks.
Better error handling.
2000-02-13 15:05:39 +00:00
Marcus Meissner 087a397bcf Initialize the NONCLIENTMETRICS with 0 (helps moorhuhn.exe). 2000-02-10 22:36:17 +00:00
Alexandre Julliard 383da68cf9 Optimized debugging API to reduce code size. 2000-02-10 22:15:21 +00:00
Alexandre Julliard fc296da4e2 Removed extra includes from ole.h and wingdi.h. 2000-02-10 19:39:48 +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 a16c0e19a7 - implemented serial numbers for audio CDs and data CDs
- big clean up of misc/cdrom.c and dlls/winmm/mcicda/mcicda.c function
  naming and such
- split debug channel cdaudio into cdrom and mcicda
- fixed some typos
2000-02-07 16:28:52 +00:00
Juergen Schmied 8573cc7faf - fixes, loading of settings per user
- autodetecting of windows registry version
2000-01-30 03:03:23 +00:00
Andreas Mohr 1fe93345c4 - support for reading labels and serial nums from device
- "reasonable" misc/cdrom.c device handling
- much improved audio CD support
- serial number overwrite bug fix
- spelling fixes
2000-01-29 21:11:47 +00:00
Alexandre Julliard 01de6dce46 Bug fix: added temp structure to cope with debug traces during thread
startup.
2000-01-29 20:02:07 +00:00
Alexandre Julliard 8bc1d837d2 Use a per-thread buffer and write(2) for debug traces.
Removed debug_dumpstr.
2000-01-29 19:46:50 +00:00
Alexandre Julliard eafa391081 Use argv[0] to locate the server executable. 2000-01-25 21:19:58 +00:00
Alexandre Julliard 2fe57779fb Made the server listen for new clients on a Unix socket in
$HOME/.wine. Newly started wine processes now attach to an existing
server if one is running.
2000-01-25 01:40:27 +00:00
Ove Kaaven 2527a33351 Added -dxgrab command line option, which confines cursor motion to the
DirectX primary surface.
2000-01-23 22:31:24 +00:00
Alexandre Julliard de07869657 Moved winsock implementation to dlls/winsock. 2000-01-23 22:07:15 +00:00
Alexandre Julliard 681c75bf17 Added debugstr_guid function and used it to replace
WINE_StringFromCLSID in all debugging messages.
2000-01-18 05:09:49 +00:00
Juergen Schmied 0311eb3716 Better error handling, less keys held open. 2000-01-17 22:23:10 +00:00
Juergen Schmied 271ba29e39 New implementation of the win95 registry loader. 2000-01-15 23:42:50 +00:00
Juergen Schmied 5d0ae2dcd9 - removed copying of HKEY_USERS to HKEY_CURRENT_USER
- HKEY_CURRENT_USER is now subkey of HKEY_USERS
- changed query_key_info_request to return the key name too (NtQueryKey needs this)
- the rootkeys (MACHINE and USER) do have names
2000-01-09 21:07:01 +00:00
Erez Volk 8f74d8e610 Added stubs for some BiDi API functions. 2000-01-09 02:39:15 +00:00
Marcus Meissner 7547d4defa Some comm clean up, much more error messages, only use TIOCOUTQ if
defined [wine-bugs/104], tried implementing SetCommTimeouts.
2000-01-05 01:46:53 +00:00
Patrik Stridvall 6afc68aabd Fixed some issues found by winapi_check. 2000-01-04 00:32:38 +00:00
Alexandre Julliard f1f68312e7 Fixed potential buffer overflows (spotted by Francois Gouget). 2000-01-01 22:22:21 +00:00
Alexandre Julliard 81ee21ddff Cosmetics. 1999-12-27 05:26:00 +00:00
Francois Gouget baa9bf9a23 Buffer overflows and strncpy fixes. 1999-12-27 05:24:06 +00:00
Francois Gouget bdceab650a debugstr_w now returns something looking like 'L"xxxx"...' 1999-12-26 00:37:58 +00:00
Eric Pouech b4b9303e07 Fixed first/last playable frame referencing. 1999-12-25 22:54:54 +00:00
Juergen Schmied c35cce2ecc NT loader: don't stop loading a hive when an error occurs. 1999-12-20 03:58:44 +00:00
Marcus Meissner ed0da3f66c Removed 2 useless include winversion.h
Do not make autodetected version fix on first calls if it is Win31.
1999-12-12 00:44:06 +00:00
Juergen Schmied 9e6b1d14ce Added loader for NT registry files. 1999-12-11 23:22:52 +00:00
Marcus Meissner 4249a91b0a Do not confuse the 0 fill magic of wsprintf with the "0x" hex prefix. 1999-12-11 23:07:27 +00:00
Patrik Stridvall 9af5e69107 Fixed some issues found by winapi_check. 1999-12-11 23:02:15 +00:00
Dimitrie O. Paun dd03cc19fd Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Andreas Mohr ffdd1717d4 - the OLE version returned was too low
- renamed OABuildVersion16 to OaBuildVersion16
- spelling fixes
1999-12-05 23:52:56 +00:00
Andreas Mohr f4077e6623 Added Thread32First/Next stubs. 1999-12-05 23:11:10 +00:00
Marcus Meissner 2d7be870cc Use the real glibc openpty if present. 1999-12-05 23:06:40 +00:00
Marcus Meissner ac28aa245f Fixed _copy_registry(). 1999-12-05 23:03:15 +00:00
Alexandre Julliard 6b34fedc8c Several bug fixes in save_key(). 1999-11-25 22:15:11 +00:00
Ove Kaaven 542b29db13 Made win16 serial comms less of a CPU hog. 1999-11-25 21:57:32 +00:00
Alexandre Julliard 705686e24e Added wine.conf option for new format registry files.
Added optional periodic saving of the registry.
1999-11-24 19:34:32 +00:00
Alexandre Julliard 53f3a831c2 Added support to the server for loading new format (version 2) files. 1999-11-24 04:19:43 +00:00
Alexandre Julliard b3d90e4b6b Bug fixes (thanks to Juergen Schmied). 1999-11-24 02:46:27 +00:00
Moses DeJong e0a3ba54c6 Added implementation for WSARecvEx function. This is a Microsoft
specific extension to the winsock API.
1999-11-23 22:29:00 +00:00
Alexandre Julliard 2fab2ef11f Changed to use new server-side registry support. 1999-11-23 19:41:34 +00:00
Niels Kristian Bech Jensen 1d5bc469cc Removed extra #include statements. 1999-11-21 02:14:36 +00:00
Patrik Stridvall b9010214d2 Added better missing function emulation. 1999-11-13 22:23:35 +00:00
Jeremy White 321a197209 Add debugstr_hex_dump to allow display hex dumps of data in any
debugging message.
1999-11-12 01:38:12 +00:00
Huw D M Davies f49cb52c69 Fix save_check_tainted to properly scan the tree so that all tainted
branches get saved.
1999-11-12 00:58:15 +00:00
Rein Klazes 077ec0cffd Send WM_CTLCOLOREDIT not WM_CTLCOLORSTATIC messages to parent of a
disabled edit control if the application expects a windows version
before WIN95 and NT40.
1999-11-10 19:55:29 +00:00
Eric Pouech c0bcf26d05 Enable safe reading of registry file, even if file is broken. 1999-11-04 01:38:11 +00:00
Juergen Schmied a72a398ff4 Better version autodetection. 1999-10-31 21:38:31 +00:00
Huw D M Davies 13d00c8dd1 Fixed a few problems with RegEnumKey*. 1999-10-31 17:40:21 +00:00
Patrik Stridvall 2c92835f7b Added missing configuration #if:s and #includes:s. 1999-10-31 02:07:54 +00:00
Huw D M Davies 71c0b94db2 Better handling of newlines in FormatMessage*. 1999-10-31 01:54:17 +00:00
Huw D M Davies c0da44e459 It appears that StartDoc sends the STARTDOC escape with the DOCINFO
structure pointed to with the output data parameter.
1999-10-31 01:49:30 +00:00
Marcus Meissner 31b9dab10b Made LoadHomeRegistryFiles default to TRUE. 1999-10-24 22:08:33 +00:00
Nathaniel 7bf36ad35d Improved registry isolation possibilities. 1999-10-24 19:35:47 +00:00
Ove Kaaven f45608f639 Winsock rewrite. Sockets are now proper win32 handles.
Internal structures are now really internal.
1999-10-23 16:53:34 +00:00
Uwe Bonnes 22d4b0afdd Use LoadString16 for FormatMessage16 and handle
FORMAT_MESSAGE_ALLOCATE_BUFFER flag.
1999-10-13 14:00:09 +00:00
Ulrich Weigand 9f14ca6360 Bugfix: DdeNameService was broken. 1999-10-13 12:21:52 +00:00
Andreas Mohr 8670b6f227 Added warning for future VERSION_GetVersion() (mis-)users and made
OSVERSIONINFO warning more detailed.
1999-10-13 12:19:51 +00:00
Marcus Meissner 229a28fc34 Also escape characters >=0x80 within the wineregistry savefile. 1999-10-13 12:15:19 +00:00
Marcus Meissner 17d455b71d Set refcounter to 1 on initial init or WSAStartup/WSAStartup with
following WSACleanup will already free the structures.
1999-09-29 12:10:44 +00:00
Patrik Stridvall 8276f696fc Fixed some of the issues reported by winapi-check. 1999-09-23 11:48:02 +00:00
Patrik Stridvall fe28f25fcb Modification due to problems with winapi-check. 1999-09-23 11:44:52 +00:00
David Luyer 63682fd9c2 getpeername() and getsockname() return errors in errno not h_errno. 1999-09-22 15:09:22 +00:00
Patrik Stridvall e92331ffd0 Fixed ANSI C violations. 1999-09-20 18:52:06 +00:00
Ulrich Weigand 974fd10c69 System timer proc thunk creation moved out of if1632/thunk.c. 1999-09-20 18:45:53 +00:00
Huw D M Davies 103f3b0548 Fix FormatMessage16 at least enough to get win95 16bit printdlg working. 1999-09-19 12:13:46 +00:00
Patrik Stridvall 32b4325d6b Add support for anonymous struct/unions on compilers that implement it. 1999-09-14 07:52:16 +00:00
Huw D M Davies 304d9a4737 Change interfaces to THUNK_Alloc/Free slightly and make them non-static.
Remove relays for win16drv from CallBack table, instead use build to
generate them directly in graphics/win16drv/prtdrv.c.
If Printer AbortProc is 16bit then allocate thunk and store that as a
32bit proc in DC.  Setting of abortprocs now done in the correct place
(i.e. not in the driver).
1999-09-13 15:15:45 +00:00
Richard Cohen c397a84115 Consequential changes to default system font sizes 1999-09-05 12:24:30 +00:00
Alexandre Julliard 3b96efc0f7 Added configure check for str[n]casecmp. 1999-09-04 14:36:02 +00:00
Marcus Meissner 1c40562bc1 subkey_found did not search for _all_ sub keys. 1999-09-03 12:19:34 +00:00
Juergen Schmied d50f64244d Added resolution of LVM messages. 1999-08-15 16:54:58 +00:00
Juergen Schmied f7a3fc105d Fixed ascii/unicode issue for naming of the mutexes.
Made mutex handles global.
Fixed incorrect interpretation of return values of WaitForSingleObject.
1999-08-15 14:23:41 +00:00
Uwe Bonnes 684ee2ce21 - implemented GetCommModemStatus
- fixed the DTR, CTS and COMMBREAK related subfunctions of EscapeCommFunction
- added more verbose TRACEing
1999-08-14 15:53:50 +00:00
Morten Eriksen 594af0de05 Made GetVersionEx() behave in accordance with the specification with
regard to error handling.
1999-08-14 15:53:07 +00:00
Ulrich Weigand bb1984e6bd Separated Win16 (USER) and Win32 (MPR) network routines.
Moved implementation of MPR to dlls/mpr/.
Added proper headers and stubs for missing MPR routines.
1999-08-07 14:32:33 +00:00
Andreas Mohr d4b13da309 Improved (sort of) RegFlushKey. 1999-08-07 14:17:10 +00:00
Uwe Bonnes f57ef1d4a9 - added some more Baudrates
- fixed a hang in tcsetattr when the input buffer isn't empty
- added more verbosity for debugging
1999-08-07 12:28:09 +00:00
Ulrich Weigand 6c6da674ef Moved various DLLs to dlls/ 1999-08-04 09:49:49 +00:00
Alexandre Julliard 7d8cfeb95c Removed IP_reg, SP_reg and FL_reg definitions to avoid potential
aliasing optimization problems.
1999-08-01 14:58:01 +00:00
Alexandre Julliard c9c2a59c62 Use the service thread for comm notifications. 1999-08-01 14:46:51 +00:00