Commit Graph

366 Commits

Author SHA1 Message Date
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
Marcus Meissner 65e1f75f58 Some warnings fixed, one useless VERSION warning removed (winelib). 1999-02-13 17:38:16 +00:00
Andreas Mohr 743885a914 RegFlushKey: wrong error code. 1999-02-13 12:40:22 +00:00
Juergen Schmied 1ed51af346 Small fixes to compile with the headers (mostly nt-security). 1999-02-12 17:47:07 +00:00
Klaas van Gend 4a8639cc4b Added support for the Dutch language. 1999-02-11 16:32:16 +00:00
Alexandre Julliard 5954560598 Authors: Paul Quinn <paulq@corel.ca>, Albert Den Haan <albertd@corel.ca>
Moves files from print.h to winspool.h for better SDK header compliance
for Winelib programs.
1999-02-10 06:52:57 +00:00
Patrik Stridvall 8d8703cb48 Moved some more code to the X11 driver. 1999-02-04 14:05:38 +00:00
Eric Pouech a3e27393b2 New Wine internal interface for handling CD Rom (especially audio CD
ROM).
1999-02-02 15:22:03 +00:00
Uwe Bonnes 72b76a9ebb Fixed GET_LZ_STATE macro. 1999-02-02 13:55:12 +00:00
Alexandre Julliard 73e6d8cd40 Fixed error handling in 16-bit functions (untested). 1999-01-31 15:05:28 +00:00
Ulrich Weigand ccdbcd6edf Removed old VER.DLL code. 1999-01-31 10:12:28 +00:00
Pascal Cuoq 7607815b74 IsCharAlpha32A: use look-up table from ole2nls.c. 1999-01-31 10:03:18 +00:00
Juergen Schmied f74fa4e6c8 Implemented handling of REG_MULTI_SZ and fixed small bug in
RegSetValue.
1999-01-31 09:19:46 +00:00
Marcus Meissner 3ad2b93f2d Enable/disable relay32 debugging on the fly. Start app with
-debugmsg +relay or warn+relay. Suggested by Juergen Schmied.
1999-01-30 15:55:28 +00:00
Bernd Herd 3747221dfa Use proper 16->32 message conversion in FILEDLG_CallWindowProc. 1999-01-30 15:51:54 +00:00
Keith Matthews e32abe8a76 1st cut implementation of DdeInitialize32W and supporting code. 1999-01-28 16:26:39 +00:00
Marcus Meissner 03479f8adb Fixed a lot of warnings for possible problems. 1999-01-28 10:06:38 +00:00
Herbert Rosmanith 1f52db16f2 Fixed typo. 1999-01-28 09:57:43 +00:00
Marcus Meissner 01c7ee2f45 Allocate a DOS handle if we open a normal file with LZOpenFile16. 1999-01-26 16:51:15 +00:00
Huw D M Davies d92c95d522 Make sure DrvGetPrinterData returns the correct data if cbData <= 1 1999-01-26 10:07:39 +00:00
Geoff Clare bf310b8bbf Moved process.h higher up the include list, to avoid a problem with
"ERR" being redefined in sys/regset.h.
1999-01-24 19:04:04 +00:00
Geoff Clare a551238249 The B57600 and B115200 symbols are not defined in Unixware. 1999-01-24 19:03:27 +00:00
Nick Holloway 36a806cfae Internal PostScript printer driver improvements. 1999-01-24 18:59:58 +00:00
Marcus Meissner 40c11ebfa2 Allow switching off/on of debugmsgs in the debugger. 1999-01-24 09:37:33 +00:00
Andreas Mohr 94e4485bff Implemented WIN16_CallMsgFilter32, WIN16_DispatchMessage32,
DrawAnimatedRects16 (stub), FormatMessage16, WIN16_GetMessage32,
WIN16_PeekMessage32 and WIN16_TranslateMessage32.
1999-01-23 14:15:17 +00:00
Juergen Schmied ba28ba171f - some fixes, cleaned up includes, fixed leaks
- clean DllReferenceCount, better DllMain()
- dynamically linking LookupIconIdFromDirectoryEx32 and
  CreateIconFromResourceEx32 to USER32
- moved guid's instances to new file shellguid.c
- implemented  ShellExecuteEx32W
1999-01-23 14:12:48 +00:00
Morten Welinder 65e95f3365 Missing WINAPI. 1999-01-23 12:23:13 +00:00
Juergen Schmied 26cae9dd30 New functions lmemcpynAtoW and lmemcpynWtoA for converting
REG_MULTI_SZ (including \0x00)
Better debug output for REG_BINARY and REG_MULTI_SZ
Rewritten RegQueryValueEx32[A|W]
1999-01-23 12:11:09 +00:00
Marcus Meissner 628e3e0f01 Implemented ExtractIconEx16, added some consts to ExtractIconEx*. 1999-01-23 11:56:39 +00:00
Francis Beaudet f25ac7ccc5 There were two copies of the DdeCmpStringHandles (A and W) and that
API does not have 2 versions. Removed the extra version.
1999-01-21 14:05:11 +00:00
Marcus Meissner 592ba10565 autoconf: added checks for libio.h, elf.h, curses.h,ncurses.h and
fixed includers.
1999-01-20 14:18:55 +00:00
Alexandre Julliard 8da12c43a9 Group commit for recovery after disk crash.
See Changelog for changes WRT release 990110.
1999-01-17 16:55:11 +00:00
Alexandre Julliard 638f169b1e Recovery of release 990110 after disk crash.
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00
Marcus Meissner 2cc30a6f30 Try to autodetect NT4. 1999-01-03 16:18:57 +00:00
Alexandre Julliard 0562539d18 Implemented file sharing checks in the server.
Added set file time server request.
Overall clean up of the file handling (DOS device handling is now
broken, should be redone).
1999-01-03 11:55:56 +00:00