Commit Graph

700 Commits

Author SHA1 Message Date
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
Patrik Stridvall 2c684081c1 Fixed some of the issues reported by Solaris Lint. 1999-07-31 17:36:48 +00:00
Patrik Stridvall b8684a266b Fixed some of the issues reported by winapi-check. 1999-07-31 17:32:05 +00:00
Eric Kohl 539b7b416b Added stub for _except_handler2(). 1999-07-31 13:05:53 +00:00
Ove Kaaven 1c08ac604e Bugfixes and a fake GETBASEIRQ. 1999-07-31 13:00:24 +00:00
Huw D M Davies 815615025e {Start|End}{Doc|Page} go through DCfuncs.
Implement these in the PostScript driver.
Change PSDRV_Escape to use them.
1999-07-25 11:25:59 +00:00
Ulrich Weigand 2f4bd6617f Unify startup sequence for Wine and WineLib. 1999-07-24 12:20:24 +00:00
Huw D M Davies d016b0a02d Implement handling of 32 bit AbortProc. 1999-07-24 12:09:34 +00:00
Alexandre Julliard e02a540bf6 Fixed GetW32SysVersion16 return type. 1999-07-24 10:28:37 +00:00
Ulrich Weigand 22d2c527b8 Bugfix: Reverted CallTo16 routines to STDCALL convention. 1999-07-23 19:27:36 +00:00
Lionel Ulmer 2bce6fea7e - Added a new option 'noxshm'
- Added a 16bpp -> 32 bpp conversion function
1999-07-23 19:19:56 +00:00
Albert den Haan 3dc0421938 Remove string.c because all of its functions were moved to crtdll.c
where they belonged.
1999-07-18 18:42:29 +00:00
Ian Schmidt d736ef4b1d Added version information for Win98. 1999-07-18 15:33:25 +00:00
Eric Pouech ffbaf243cd debug_(snoop|relay)_(exclude|include)list => fixed allocation, modules
are now stored uppercase.
1999-07-18 15:30:29 +00:00
Ove Kaaven 832565dc68 Added missing include netinet/tcp.h, for TCP_NODELAY. 1999-07-18 13:26:57 +00:00
Keith Matthews f73b72b557 Minor bug fixes in DdeNameService, also changes to move towards
process-safe code.
1999-07-15 16:08:32 +00:00
Marcus Meissner fe9bdf9543 ERROR_MORE_DATA requires to write the needed number of bytes into the
lpcchX value (verified against NT3.51 advapi32.dll).
1999-07-15 14:33:17 +00:00
Eric Pouech 5d04f652f6 Compiler warnings fix. 1999-07-12 13:41:20 +00:00
Eric Pouech f216310866 Dumb fixes. 1999-07-12 13:39:58 +00:00
Alexandre Julliard 4220b29be9 Take advantage of the new registers saved in the STACK16FRAME to turn
some 'register' functions into normal functions.
Removed the few remaining 'return' functions to simplify relay
handling.
1999-07-11 17:20:01 +00:00
Marcus Meissner e32a317b76 Removed the old, historical and no longer working IPC support. 1999-07-11 14:13:56 +00:00
Ulrich Weigand 3dff7bb842 Modularized CallFrom/To16 routines. Adapted dependent routines,
16-bit snoop/relay debugging, and make rules.
1999-07-11 13:58:31 +00:00
Howard Abrams 132774804e Added checks for sys/errno.h, sys/signal.h and sys/mman.h. 1999-07-10 13:16:29 +00:00
Ulrich Weigand ee1e4ce4b9 Bugfix: exit() replaced by ExitProcess(). 1999-07-10 11:45:51 +00:00
Huw D M Davies df088c6949 Added `const's to some registry API functions. 1999-07-10 11:41:24 +00:00
Juergen Schmied 8d79990591 Added stub for WNetGetUniversalName[A|W]. 1999-07-10 10:11:40 +00:00
Patrik Stridvall a4b80d4495 Fixes for compile on non-Intel platforms. 1999-07-04 11:05:57 +00:00
Marcus Meissner 623c0d6f94 some small include fixes, some checks for NULL ptrs,
loader/elf.c: fixed the "lib" insertion
crtdll: added fsopen()
dinput: return that we are attached.
1999-07-03 16:01:42 +00:00
Alexandre Julliard 61fece0590 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-06-26 19:09:08 +00:00
Alexandre Julliard 617955db88 Changed CONTEXT into CONTEXT86 everywhere we really want an i386
context.
Added #ifdef __i386__ around accesses to 386 registers in the generic
CONTEXT structure.
1999-06-26 18:40:24 +00:00
Patrik Stridvall 1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Eric Kohl dd5bf84c0d Added WNetRemoveCachedPassword() stub. 1999-06-26 11:52:52 +00:00
Marcus Meissner f2ef1455a4 Fixed the stringcompare in _find_or_add_*() (was missing tolower()s). 1999-06-26 11:41:33 +00:00
Alexandre Julliard ebe29ef376 Further server optimizations:
- merged request and reply structures
- build requests directly into the buffer to avoid a copy
1999-06-26 08:43:26 +00:00
Alexandre Julliard 5bc78089db Made server communication faster by using a shared memory block.
A few other optimizations in request processing in the server.
Moved automatically generated request definitions to server.h and
removed include/server/request.h.
1999-06-22 17:26:53 +00:00
Andreas Mohr d1fc9e80ac Bug fix. 1999-06-18 17:00:58 +00:00
Patrik Stridvall 857eb39206 Mad the include files idempotent using a consistent macro naming
scheme.
1999-06-12 18:36:54 +00:00
Patrik Stridvall 4bf335497d Removed direct references to CLASS internals. 1999-06-12 14:52:15 +00:00
Andreas Mohr cd3278be3f Rearrange winver detection code and cache the winver value we
determined in the PDB to speed up.
1999-06-12 14:46:54 +00:00
Marcus Meissner adf8a0cbe6 Use @sysconfdir@ for the default registries in misc/registry.c too. 1999-06-12 08:18:38 +00:00
Ove Kaaven a88444e1b3 Implementation of EV_RXFLAG. 1999-06-12 06:43:48 +00:00
Keith Matthews edc3faede3 1st cut implementation of DdeNameService (omits monitor callback)
1st cut implementation of DdeKeepStringHandle (probably complete)
DdeInitializeW - minor changes to initialise service names structure
DdeGetLastError - start of proper last error retrieval
DdeCreateStringHandle16 - added code for default codepage where not
supplied.
Various documentary/comment corrections.
1999-06-12 06:33:14 +00:00
Ulrich Weigand 5cec819d11 Removed Callback.CallTaskRescheduleProc(). 1999-06-06 14:52:05 +00:00
Robert W Hall 1c9b13e9d6 Added 2 stubs. 1999-06-05 11:51:40 +00:00
Marcus Meissner 230599aadf Fixed some warnings. 1999-05-29 11:08:36 +00:00
Ove Kaaven a811ea5d82 Fixed a couple of missing event notifications. Some more debugging
messages.
1999-05-29 11:05:38 +00:00
Alexandre Julliard c2bc2ef162 Release the Win16Lock before calling WinExec. 1999-05-24 15:02:18 +00:00
Ulrich Weigand 89fc6fda97 Moved WINSOCK network IO event handling to special thread.
Removed EVENT_WaitNetEvent, introduced a global scheduler event.
1999-05-24 08:13:02 +00:00
Alexandre Julliard 4cc1b339cf Implemented the Win32 debug API functions. 1999-05-23 19:57:42 +00:00
Ulrich Weigand d30821a0ff Added _DebugOutput (KERNEL.328), LogApiThk (KERNEL.423), LogApiThkLSF
(KERNEL32.42), LogApiThkSL (KERNEL32.44), LogCBThkSL (KERNEL32.47),
and SSConfirmSmallStack (KERNEL.704).
1999-05-23 09:19:52 +00:00
Marcus Meissner ddca315388 Replaced all occurences of SYSMETRICS_xx and sysMetrics[SM_xx] by
GetSystemMetrics(SM_xx), removed no longer needed includes of
sysmetrics.h.
1999-05-22 11:33:23 +00:00
Marcus Meissner 090e2d873e Added init function for CRTDLL, allocate stdio/stderr/stdout on
DLL_PROCESS_ATTACH, increase buffer for vfprintf() (Win95 arp.exe
needs 1.3KB).
1999-05-22 10:37:57 +00:00
James Juran 407f6ba571 Print a more effective (and visible) error message when an application
can't create a socket with type == SOCK_RAW.
1999-05-22 10:35:19 +00:00
Juergen Schmied 155168eb6d Implemented printing out of some structures. 1999-05-22 10:32:09 +00:00
Huw D M Davies e39b676ae9 Implement DocumentProperties, DeviceCapabilities, beginnings of
Open/Get/ClosePrinter.  Additions to PSDRV_DeviceCapabilities.
Split off WINSPOOL into its own directory.
Several functions added to DC_Funcs.
Based largely on a patch by Pascal Lessard <pascal@macadamian.com>
1999-05-17 16:20:51 +00:00
Ulrich Weigand 73cf91e00a Some stubs added. 1999-05-17 14:56:23 +00:00
Alexandre Julliard 89fae7eb30 Moved some exception definitions to winnt.h and ntddk.h. 1999-05-12 12:47:01 +00:00
Marcus Meissner 01f3dc3eba WSOCK32/WINSOCK uses SetLastError() to keep its own WSALastErrors,
replaced all pwsi->err references.
1999-05-12 10:34:03 +00:00
Marcus Meissner 450bc798c2 More debug output for RegQueryInfoKey. 1999-05-09 15:59:27 +00:00
Patrik Stridvall 1bb9403938 ANSI C fixes. 1999-05-08 15:47:44 +00:00
Patrik Stridvall 896889f317 ANSI C fixes. 1999-05-08 12:50:36 +00:00
Huw D M Davies a9f55c46c1 Split off wingdi16.h from wingdi.h. Add many more #defines/typedefs
to bring wingdi.h almost upto a complete NT4.0 interface.
Fix return value of SetRectRgn().
1999-05-08 12:45:18 +00:00
Noomen Hamza c4cd0bf6c8 Bug fixes. 1999-05-08 10:50:34 +00:00
Eric Pouech 739c318fff Inverted class/channel in __(SET|GET)_DEBUGGING macros. 1999-05-04 16:23:03 +00:00
Ulrich Weigand 208dd97c1b Fixed off-by-one ordinals in MPR.
Added MPR_Alloc/ReAlloc/Free (MPR.22-24).
1999-05-03 09:24:00 +00:00
Alexandre Julliard 06c275a643 Converted to the new debugging interface (done with the help of the
script written by Patrik Stridvall).
1999-05-02 14:32:27 +00:00
Alexandre Julliard 50b3d7b3e3 Misc fixes and improvements. 1999-05-02 14:24:15 +00:00
Michael Veksler 92ae219e04 Removed redundant include of winbase.h from winuser16.h.
Moved types from winbase.h to winuser16.h .
1999-05-02 11:39:09 +00:00
Klaas van Gend 89faa56700 Bugfix for EnumPrinters level 2. 1999-05-02 09:14:00 +00:00
Juergen Schmied 96ed828d92 Fixed typo. 1999-05-01 10:21:06 +00:00
Ove Kaaven e85220dd0b Fixed off-by-one bug in async output buffers. 1999-05-01 10:18:21 +00:00
Alexandre Julliard 154c99b8c2 Use $HOME instead of getpwuid for user's home directory.
Fixed messed up indentation.
1999-04-25 12:41:36 +00:00
Patrik Stridvall c7a8dde118 #pragma pack(?) changed to #include "*pack*.h" 1999-04-25 12:36:53 +00:00
Andreas Mohr c264f2e020 Improved VERSION_GetVersion. 1999-04-25 10:54:16 +00:00
Uwe Bonnes 2df1afdfa9 Add a stub for GlobalMasterHandle. 1999-04-25 09:22:13 +00:00
Noomen Hamza 9adef53dee Set (when registry loaded) data to "\0" and length to 2 in empty
string value case, in place of setting data to NULL and length to 0,
and this is without initializing output buffer parameter of
RegQueryValue*.
1999-04-24 11:49:26 +00:00
Patrik Stridvall 0f8bc5b5c7 Fixed ANSI compabillity. 1999-04-22 16:27:50 +00:00
Michael Veksler ff5ae3dd65 Removed some includes of 16 bit API. 1999-04-22 15:26:11 +00:00
Noomen Hamza 7a0c2e6294 Initialize the output buffer parameters to 0 in RegQueryValue*
functions. This is important specially when there's no data to return.
1999-04-22 09:05:19 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Eric Pouech b3c7f84563 Bug fix in GetLen. 1999-04-18 12:16:22 +00:00
Bertho Stultiens c1d1cfe976 Reorganization of the loader to correctly load and free libraries and
implementation of load order to load different types of libraries.
1999-04-18 12:14:06 +00:00
Keith Matthews 364c12413d DdeNameService: expansion of stub to trap unused instanceids at start of run.
DdeGetLastError: catch 'not initialized' situation and return correct response.
DdeFreeStringHandle: complete test for error set by previous call of
something and ignore it, also release handle table mutex on normal exit.
DdeQueryStringA, DdeQueryStringW, DdeCreateStringHandleW: Release
handle table mutex on normal exit.
1999-04-18 09:29:00 +00:00
Uwe Bonnes 67183eb9e1 Don't announce the WNetDirectoryNotify capability WNetGetConnection.
Change the return value for local files.
1999-04-18 09:27:07 +00:00
Juergen Schmied 459e0b829e SystemParametersInfo SPI_GETNONCLIENTMETRICS: implemented menu part. 1999-04-18 09:21:38 +00:00
Michael Veksler 58abac376f Fixed warnings. 1999-04-16 09:41:22 +00:00
Pablo Saratxaga 002106ac22 Added walon language support (I also moved Cz -> Cs, Sw -> Sv, and Po
-> Pt; to conform to standard names for those languages).
1999-04-16 09:06:58 +00:00
Ove Kaaven 9c1a05ab4e _CIpow argument order was confirmed with Starcraft v1.05. 1999-04-15 16:45:17 +00:00
Keith Matthews 8065188d74 More of DdeCreateStringHandleA, DdeFreeStringHAndle, DdeQueryStringA
and DdeCreateStringHandleW and tidy up of RemoveHSZNodes, and
DdeCreateStringHandleA.
1999-04-15 15:55:44 +00:00
Andreas Mohr eed049426f Fixed a crash due to invalid OpenComm return value for busy comm port.
Cleaned up/fixed several things.
1999-04-11 18:47:07 +00:00
Ulrich Weigand 06bcab8a50 Use services thread instead of timer signals. 1999-04-11 15:04:00 +00:00
Klaas van Gend f66bf56609 Added stub for PrinterProperties. 1999-04-11 14:56:45 +00:00
Ove Kaaven f8de23e32e Made _ftol take argument from FPU stack. Starcraft v1.04 (*not* Brood
Wars) now works perfectly with Wine's crtdll. Wrote a test
implementation of _CIpow too, which those who do have Brood Wars can
report on, so it can be implemented correctly.
1999-04-11 14:50:34 +00:00
Michael Veksler 6c30886daf - Fix comments after the big renaming (xxxx32y --> xxxxy).
- Declare the WPRINTF_DATA union, and use it instead of LPCVOID and WORD.
  Avoid ugly type casting, and fix compilation warnings of wsprintf.c
1999-04-11 14:44:54 +00:00
David Gay 6f0056d0bd Fixed crash due to a value of name length 0, value length 0 at the end
of the registry.
1999-04-11 12:00:15 +00:00
Juergen Schmied a9e93b35cf Fixed buffer overrun. 1999-04-11 11:49:46 +00:00
Marcus Meissner bdb6bec83a Reimplemented winsock asynchronous DNS services. No longer use a
fork()ed process, but either a service thread or inline blocking calls
for non-threading architectures. (Makes Free Agent16 work again.)
1999-04-10 16:58:55 +00:00
Sylvain St.Germain e533222a6c Implementation of HKU key saving and loading. Add new supported data
type in debug_print_value.
1999-04-10 16:46:15 +00:00
James Juran fcf353f2b9 Check for drivers==NULL before trying to delete them at exit. This
could happen if the emulator initialization failed for some reason and
the drivers hadn't been initialized yet.
1999-04-10 16:33:56 +00:00
Ulrich Weigand 73663071c6 Call InitApp16 (using Callout) for initial process. 1999-04-10 16:32:45 +00:00
Klaas van Gend 7dae09fb5e Bugfix EnumPrintersA: lpbPrinters=NULL or cbBuf=0 would crash Wine,
instead of returning the right buffersize.
1999-04-10 16:26:15 +00:00
Keith Matthews 32b0162e26 Correction of Mutex handling in DdeInitializeW for cases other than
1st call. Addition of instance handling to DdeCreateStringHandleA,
DdeCreateStringHandleW, RemoveHSZNodes, FreeAndRemoveHSZNodes.  1st
cut implementation of DdeUnitialize, move of internal structure defs
in from ddeml.h. Removed non-ANSI comment.
1999-04-06 07:04:45 +00:00
Lawson Whitney 96b93bb7f7 Fixed the modem control part of EscapeCommFunction16. 1999-04-04 12:38:35 +00:00
Christian Schlaile cc08b38f95 Implemented makepath, rand() returns correct range, fixed fputc. 1999-04-03 16:22:01 +00:00
Francois Boisvert d96bc15580 Suspend all windows locks before the control is passed to the
application.
Also fixed some bugs in dce.c
1999-04-02 10:34:43 +00:00
Ove Kaaven a4dd1bee31 Implemented async comm buffers (but probably not bugfree), and along
with them, the functionality of async event notifications, mong them
EnableCommNotification. Removed a previous hack that was faking the
buffers, since we now have real buffers...
1999-04-01 11:52:16 +00:00
Ulrich Weigand e392a0c975 Added USER32.UserSignalProc to Callout table.
Implemented built-in UserSignalProc().
Don't announce Win3.1-style USER handler any more.
1999-04-01 11:44:52 +00:00
Ulrich Weigand 6903156eb5 Allow NULL NE resource handler; call the default handler directly.
Removed WPROCS / Callbacks support for WineLib resource handlers.
1999-04-01 10:08:21 +00:00
Patrik Stridvall b87fe2e9bf More code moved to the X11 driver (bitmap and palette and misc). 1999-04-01 08:16:08 +00:00
Dimitrie O. Paun 05c0c8ef13 Changed some debug messages from one channel to another, to clean up a
bit the debug channel usage.
1999-03-28 15:07:41 +00:00
Andreas Mohr faa05bd20d Added missing WINAPIs. 1999-03-28 13:13:03 +00:00
Klaas van Gend 7f73a082a1 Rewrote EnumPrintersA, added CriticalSection around Registry reads and
implemented PRINTER_INFO_2 request.
1999-03-28 12:37:34 +00:00
David Luyer cb40df2749 Changed "strings.h" to "string.h". 1999-03-25 15:52:09 +00:00
Marcus Meissner 751dc4cb01 Added translation for SO_RCVTIMEO (as seen by IE4). 1999-03-24 14:53:55 +00:00
Rein Klazes 58a38b89d9 Corrected small bug in GetCommState16. Parity check can be disabled
even when a parity bit is used. SetCommState16() can override baudrate
setting in wine.conf.
1999-03-23 13:44:51 +00:00
Marcus Meissner 461ded42ac Added -dll option for winelib programs. (Note: will not print warnings
on failure currently).
1999-03-22 14:54:05 +00:00
Veksler Michael e94e35431e Removed winuser16.h from x11drv.h. 1999-03-22 12:41:26 +00:00
Klaas van Gend fdedc34872 Implementation of EnumPrintersA, info level 4 and 5. 1999-03-22 12:40:24 +00:00
Ove Kaaven a1c45a52b9 Made commerror and eventmask local to each port (for win16), made the
win16 routines use port indices instead of UNIX fds (this should make
some Visual Basic stuff and similar garbage start working), moved some
stuff around (win16 routines at top of file, win32 routines at
bottom), made a couple of win32 routines use win32 handles, and added
a few hints as to how to implement asynchronous buffers, based on
which EnableCommNotification can eventually be implemented.
1999-03-21 15:45:41 +00:00
Alexandre Julliard 14200e2b4c No longer need to delete system heap critical section. 1999-03-20 07:18:26 +00:00
Marcus Meissner 6b9dd2e098 Lots of warning fixed, one missing WINAPI in ddraw.c added. 1999-03-18 17:39:57 +00:00
Marcus Meissner e3e268e3d5 Added Module32* stubs. 1999-03-18 17:29:40 +00:00
Marcus Meissner f3f08f168f Make cdrom.c compile on FreeBSD (FreeBSD does not seem to have *SEEK,
strange).
1999-03-17 15:10:17 +00:00
Marcus Meissner 7bea869337 debug.h must be last, or we get ERR() macro problems again. 1999-03-16 10:52:17 +00:00
Ulrich Weigand b211ec4c95 Fix compiler warnings. 1999-03-16 10:39:16 +00:00
Eric Pouech 52c97d4e99 Added new function CDAUDIO_Seek(). 1999-03-15 15:14:43 +00:00
Francois Boisvert 6b1b41cf85 Made access to the wnd struct thread-safe. 1999-03-14 17:25:32 +00:00
Jim Aston 2e1cafa288 Renamed wintypes.h to windef.h. 1999-03-14 16:35:05 +00:00
Nathan Zorich bd3771c2ee Allow the file names and paths for the registry files (user.reg and
system.reg) to be specified in a [Registry] section of wine.ini or
other config file.
1999-03-14 15:12:48 +00:00
Andreas Mohr 5aa96c1906 Implemented (nearly) all TAPI functions as stubs. 1999-03-14 12:34:25 +00:00
Michael McCormack a84860785a Basic support for WIN32 serial communications API.
Modify DOSFS_OpenDevice to allow opening of COM ports.
Change Win32 comm functions to accept file handle.
Add declaration of COMSTAT32 structure.
1999-03-14 12:25:36 +00:00
Ulrich Weigand 48241e999a Implemented UTRegister and UTUnRegister. 1999-03-13 12:54:55 +00:00
Keith Matthews 397964746f Added coded stubs for DdeQueryConvInfo (16 & 32 bit), DdeAddData (32
bit), DdeAbandonTransaction (32 bit), DdeImpersonateClient (32)
DdeSetQualityOfService, DdeSetUserHandle.
Corrected heap handling in DdeInitializeW, refined CreateMutex error
handling.
General tidying.
1999-03-13 12:53:39 +00:00
Marcus Meissner a71e1b4961 Removed use of WND struct. 1999-03-12 17:29:26 +00:00
Alexander Kanavin 91d72b9964 Added support for Russian language. 1999-03-10 18:01:35 +00:00
Ulrich Weigand e562453dae Added USER.DestroyIcon32 to Callout struct. 1999-03-10 14:06:53 +00:00
Marcus Meissner 5eaf775dae Fix broken _convert_sockopt for IPPROTO_TCP cases, added TCP_NODELAY. 1999-03-09 17:31:42 +00:00
Klaas van Gend c912749be5 Create a new subdirectory for the common dialog box DLL and move all
code from /misc/commdlg.c to this directory.  Also made a start in
documenting the API calls.
1999-02-28 20:05:11 +00:00
Marcus Meissner b0d52b0071 More include optimizations. 1999-02-28 19:59:00 +00:00
Marcus Meissner 064f170f76 More include optimisations and fixes. 1999-02-28 19:14:33 +00:00
Alexandre Julliard 96c08d817c Use server handles directly for Win32 handles. Removed use of K32OBJ. 1999-02-28 13:27:56 +00:00
David Luyer ee517e863e - fixed missing stdlib.h and string.h includes everywhere
- removed a couple of unneeded stdlib.h and stdio.h includes
1999-02-28 12:27:56 +00:00
Marcus Meissner 664c2727cf Some Solaris fixes. <resolv.h> needs <arpa/nameser.h>, sig_context.h
needs to define HANDLER_CONTEXT, wctype.h does not like 'wsprintf'
defined, msdos/dpmi.c needs "stackframe.h" too, and multimedia/dsound.c
needs "winuser.h".
1999-02-28 11:23:44 +00:00
Klaas van Gend ab1bea1552 Preliminary implementation of the PrintDlgA stub. 1999-02-28 11:10:50 +00:00
Marcus Meissner a538888e11 We got passed a NULL Dialect ptr and accessed it unprotected. 1999-02-28 11:03:33 +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
Albert den Haan 8b99c944ed For various reasons some of our libwine executables must have a "." in
their file names. The "." causes trouble when the file name is used as
the class name for an X resource as wine does for command line parsing
under X.
1999-02-25 18:11:40 +00:00
Alexandre Julliard b24fc081cf Authors: Paul Quinn <paulq@corel.ca>, Zygo Blaxell <zygob@corel.ca>
Modifies parameter list of a couple of functions to comply with SDK.
1999-02-25 16:36:07 +00:00
Marcus Meissner 219cfd8387 Optimized away more includes, readded some #includes for necessary
prototypes.
1999-02-24 13:05:13 +00:00
Zygo Blaxell 6d7773c974 Implemented some CRTDLL string functions. 1999-02-22 10:21:56 +00:00
Michael Veksler 3fbb8dc829 - Fix headers to include less or smaller header files.
- Fix header and source files to include missing header files to avoid
  warnings and errors.
1999-02-21 18:23:26 +00:00
Marcus Meissner 4ede296356 Change "g" (general regs) into "r" (hardregs) in clone / modify_ldt /
wine_sigaction __PIC__ cases, since "g" will not work with
-fomit-frame-pointer ("g" is referenced using %esp which was
invalidated before). Bug found and (other) fix suggested by
<daniel@mat.utfsm.cl> Daniel Serpell.
1999-02-21 18:18:42 +00:00
Marcus Meissner 3b092846c4 Problems reported by Donald Page, PR 105-107. 1999-02-20 16:46:39 +00:00
Huw D M Davies 34acebc14b Fixed a few broken includes. 1999-02-19 16:03:19 +00:00
Ove Kaaven a0a719e2fe Fix redraw problems for ChooseColor dialog. 1999-02-19 14:03:11 +00:00
Marcus Meissner 04c3e1d456 Removed a lot of occurences of windows.h (and added necessary other
includes).
1999-02-19 10:37:02 +00:00
Pascal Lessard 88bd84abbb Applied the changes of the resulting color of the choose color dialog.
Initialize values in the choose color dialog.
1999-02-18 16:35:22 +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
Francis Beaudet b9f85a7751 Changed WPRINTF_ExtractVAPtr to take the address of the va_list to be
able to modify it.
1999-02-17 10:29:03 +00:00
Alexandre Julliard fdc92bae07 Added server snapshot support (processes only for now). 1999-02-14 18:03:15 +00:00
Paul Quinn 97c1c836f7 Fixed some Winelib names. 1999-02-14 13:48:43 +00:00
Gavriel State 8c8a3a526d A few non-x86 Winelib fixes. 1999-02-14 11:35:29 +00:00
Joseph Pranevich ebc0e5e0a4 Moved initialization until later. Also moved around code a bit to be
consistant.
1999-02-14 11:15:47 +00:00
Patrik Stridvall 779352b579 Fixed wrong typecasts. 1999-02-14 09:37:45 +00:00