Commit Graph

604 Commits

Author SHA1 Message Date
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
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
Michael Veksler ca1bc866cf Moves more stuff from windows.h.
- include/winuser.h - interface relevant to user32.spec
- include/wine/winuser16.h - the old 16 bit interface (internal use)
- include/winbase.h - some minor updates to keep things coherent.
- Lot of other files made to include wine/winuser16.h, which is no
  longer included from windows.h
1999-01-01 18:57:33 +00:00
NF Stevens 954303d678 Initialize lpdwNeeded. 1999-01-01 18:44:39 +00:00
Alexandre Julliard 56d236f0b0 Hacked stdio functions to use Win32 file handles. Still needs a proper
stdio emulation.
1999-01-01 16:56:22 +00:00
Alexandre Julliard 55443878fc Removed client-side wait functions; all waiting is now done through
the server.
1998-12-31 15:52:06 +00:00
Alexandre Julliard 338e757d08 Added beginnings of server-side file handling.
Added -debugmsg +server support.
Better server request dumping for varargs requests.
1998-12-27 15:28:54 +00:00
Marcus Meissner 73458b03cd Changed // comments to /* */ so WINE compiles with non-gcc compilers
again.
1998-12-26 12:54:29 +00:00
Pavel Roskin 94d99642bd configure first checks whether it is possible to compile IPX code with
Glibc headers. If it fails, next check determines whether direct inclusion
of <linux/ipx.h> works.
1998-12-26 11:52:51 +00:00
Joseph Pranevich 06591f671f Add support for selection of console mode drivers to use using the
-console option. Currently "tty", "ncurses", and "xterm" are
supported.
Add stubs for resizing the screen on mode changes.
1998-12-25 08:48:56 +00:00
Jean-Claude Cote c65f4a4757 Partial implementation for the following DDE APIs:
DdeCmpStringHandles, DdeCreateStringHandle, DdeFreeStringHandle,
DdeQueryString, DdeUninitialize.
1998-12-25 08:46:42 +00:00
Ulrich Weigand 61439d27fb Callout table (for KERNEL->USER calls) added.
Callbacks->CallPostAppMessageProc removed.
1998-12-24 15:12:20 +00:00
Ulrich Weigand be672fe587 Handle non-hardware X events correctly with native USER
(removed reference to MESSAGEQUEUE from KERNEL code).
Handle Expose events with native USER.
1998-12-24 14:59:53 +00:00
Andreas Mohr a6ceb0feec Better _ultoa(). 1998-12-24 14:41:28 +00:00
Juergen Schmied c81a9ed826 Getting strings with VerQueryValue32W was broken. Complete
reconstruction of the function.
1998-12-24 14:27:23 +00:00
Huw D M Davies b803e1cc78 Fix number and type of args in debugging statements. 1998-12-24 14:25:31 +00:00
Paul Quinn 1beaae5f9e Lots of new defines and stubs. 1998-12-15 15:38:36 +00:00
Marcus Meissner ad7538bfc5 Made async IO (SIGIO) stuff from WINSOCK generic useable.
Added async IO support to FILE and CONSOLE objects.
1998-12-14 18:15:10 +00:00
Stephen Langasek 0875d6e923 Prevent segfault in setsockopt when optname is SO_LINGER and optval is
null.
1998-12-14 18:11:24 +00:00
Marcus Meissner 870dda5bcc _ultoa implemented. 1998-12-14 14:45:21 +00:00
Patrick Spinler 3f8e1e4d44 Implemented CreateToolhelp32Snapshot, including two of the routines
using snapshots, Process32First and Process32Next.
1998-12-11 15:04:11 +00:00
Huw D M Davies 5a50273f5b Implement AbortDoc16, move AbortDoc32 and StartDoc32W to
misc/printdrv.c and fix a few compile warnings.
1998-12-11 10:17:31 +00:00
Alexandre Julliard 0c0e3bebb8 Authors: Francis Beaudet <francis@macadamian.com>, Sylvain St-Germain <sylvain@macadamian.com>, Thuy Nguyen <thuy@macadamian.com>
Lots of new stubs.
1998-12-10 15:49:22 +00:00
Ulrich Weigand f6c4828c13 Cleaned up CreateSystemTimer interface for use with 32-bit callbacks.
(NOTE: 16-bit callbacks still don't work!)
1998-12-10 10:44:38 +00:00
Uwe Bonnes 298ea099cd Fixed GetFileTitle32A not filling up lpTitle if lpFile didn't
contain '/','\\' or ':'.
1998-12-10 09:52:23 +00:00
Marcus Meissner d5e7c7927c Some unnecessary #include and messages removed. 1998-12-09 11:06:00 +00:00
Pablo Saratxaga 0e40582d55 Fixed dummy entries in MAIN_ParseLanguageOption(). 1998-12-08 10:40:19 +00:00
Huw D M Davies 7d5fd8dc3a Fix for SetAbortProc16, stub for SetAbortProc32 and tidy up some other
printing functions.
1998-12-08 09:44:30 +00:00
Huw D M Davies 2d617be099 Replace GRAPH_ functions with Win SDK equivalents. 1998-12-08 09:14:09 +00:00
Marcus Meissner c0fbd7e2a7 Stub for NPSGetProviderHandleA. 1998-12-07 16:03:04 +00:00
Gael de Chalendar 49e2773ddf Stub for WNetOpenEnum32W. 1998-12-07 12:15:34 +00:00
Andreas Mohr a00b49f068 - Several kernel.spec return type mismatch fixes
- [GS]etSelectorBase Win32s offset support by Ulrich Weigand (thanks v.m. !!)
- Move AppToWine/WineToApp macros as W32S_APP2WINE etc. to ldt.h
- LocalNotify() basic support
- Fixes for local heap handling with heap handles created by Virtual*()
1998-12-07 10:48:09 +00:00
Joseph Pranevich 791cd6a342 Added console support. 1998-12-02 19:58:08 +00:00
Ulrich Weigand 829445172e Renamed KERNEL.327 to HandleParamError (as in 'Undoc. Windows').
Fixed wrong ordinals/prototype for MapProcessHandle/GetModuleFileName32.
Added names for some undocumented exports.
1998-12-01 16:23:19 +00:00
Juergen Schmied 24ab0f1f77 New parameter SPI_GETDRAGFULLWINDOW.
One missing break in SPI_GETDRAGFULLWINDOW.
1998-12-01 11:19:51 +00:00
Juergen Schmied 07b6939bdf VerQueryValue, bugfix: we cant convert binary data with
HEAP_strdupWtoA (\VarFileInfo\Translation).
1998-12-01 08:25:38 +00:00
Gavriel State d290aa4488 Fixed registry query error value: now returns ERROR_FILE_NOT_FOUND. 1998-11-30 12:43:34 +00:00
Uwe Bonnes 94113fa10e - fixed a minimal error in GetCommMask definition.
- adds stubs for GetCommModemStatus and WaitCommEvent.
1998-11-30 10:40:02 +00:00
Stephen Crowley 8e06d90e4d Added a new cmdline switch to disable XF86 DGA Extensions, -nodga. 1998-11-27 15:12:33 +00:00
Huw D M Davies 9c68faadab Remove X_DC_INFO from DC and make it behave like any other PDEVICE. 1998-11-25 12:36:03 +00:00
Juergen Schmied 324ea57239 Small fixes to get the default language to a sensible value.
Thanks to Pablo.
1998-11-22 17:43:30 +00:00
Juergen Schmied 057d9f23d2 New stubs strdate, strtime. 1998-11-22 15:06:56 +00:00
Cliff Wright 28d3d213f1 Fixed a mask set, and other parity setting bugs for serial ports. 1998-11-22 15:05:18 +00:00
Huw D M Davies 9650864743 Takes print spooler functions out of win16drv.
Allows the PostScript driver to go into libwine.
1998-11-22 12:55:24 +00:00
Alexandre Julliard 737fa07db7 Small atom fixes. 1998-11-15 17:29:15 +00:00
Juergen Schmied 72b76d1a41 Cleanup, small fixes, a few new stubs. 1998-11-15 13:28:00 +00:00
Marcus Meissner e47ac35d4b Own X11 errorhandler to locate X11 errors. Useful only with -sync. 1998-11-15 09:17:08 +00:00
Juergen Schmied ebc2b778d5 Fixed warnings, some only visible with -Wstrict-prototypes or -pedantic. 1998-11-14 18:59:30 +00:00
Ulrich Weigand afac2e476c Some fixes to Wine startup/termination sequence with native USER.
Do not call built-in USER signal handler when using native USER.
1998-11-14 18:45:25 +00:00
Huw D M Davies 980992a3ca Should get win16drv AbortProc working. Hopefully. 1998-11-14 18:28:50 +00:00
Stephen Langasek 12392cd220 ugfixes for IPX code and preliminary groundwork for other address
family support.
1998-11-14 16:47:09 +00:00
David A. Cuthbert 7c4ce41803 gets() fixes. 1998-11-14 16:37:04 +00:00
Juergen Schmied fdf6aa4eed Fixes: LB_/CB_/EM_ messages for getting/setting text and a bug in
16->32 bit conversion.
1998-11-08 16:28:49 +00:00
Stephen Langasek dc163422a1 Support for IPX networking via winsock under Linux. 1998-11-08 15:42:40 +00:00
Uwe Bonnes 877634420f API documentation says that RegEnumKeyEx, RegEnumValue and
RegQueryInfoKey takes the size of the buffers as characters.
1998-11-08 14:22:31 +00:00
Andreas Mohr 1f0f4829ad Added stub WNetEnumCachedPasswords. 1998-11-07 12:38:07 +00:00
John Richardson 2bb013b155 Fix wide character functions to return character count in character
quantities not byte quantities.  Make RegQueryInfoKey and
RegQueryInfoKey behave correctly in win95 mode.
1998-11-06 17:36:13 +00:00
Juergen Schmied 85082f6267 Changed the default from 0 to 0x409 (eng-us). 1998-11-06 10:19:47 +00:00
Juergen Schmied 1c8659331e Fixed some compiler warnings. 1998-11-04 18:08:33 +00:00
Jesper Skov 5c3e457b16 egcs 'ambiguous else' warnings fixes. 1998-11-01 19:27:22 +00:00
Ulrich Weigand 7df1fbb3df Run Winelib applications as 32-bit processes in the initial task.
Simplified/removed several special 'if (__winelib)' cases in
Wine main code obsoleted by that change.
1998-11-01 18:01:53 +00:00
Marcus Meissner 9cfe2d5384 Added stubs for user32,advapi32 functions. 1998-11-01 14:02:57 +00:00
Marcus Meissner 51505b12b3 More Nt* and Rtl* function stubs, moved ntdll.c to dlls/ntdll/. 1998-11-01 14:00:21 +00:00
Ove Kaaven 7f740cbb04 Indirection for INSTR_EmulateInstruction for use by DOS code.
Added support for a 55Hz system timer, letting DOS apps calibrate
their delay loops and such. Calls INSTR_EmulateInstruction for
instruction emulation (principally I/O port access). Added macro
V86_FLAG.
1998-11-01 12:41:19 +00:00