Commit Graph

862 Commits

Author SHA1 Message Date
Ulrich Weigand
7581f85617 Moved X input event handling out of EVENT_WaitNetEvent and into
service thread callback; moved EVENT_WaitNetEvent out of the EVENT_
driver.  Changed winContext to hold HWND instead of WND *.
1999-05-22 18:57:17 +00:00
Huw D M Davies
ee2d9d5849 Implemented AddPrinterA, AddPrinterDriverA and GetPrinterDriverDirectory
Moved some 16bit GDI function declarations from winspool.h -> wingdi16.h
1999-05-22 18:53:56 +00:00
Eric Pouech
338d3b2d1b Create a new configuration manifest constant HAVE_OSS_MIDI. 1999-05-22 18:52:21 +00:00
Ulrich Weigand
c5b8b3aeae Improved syslevel handling, store currently held syslevels in thread
database, WIN_CritSection converted to syslevel.
1999-05-22 16:28:47 +00:00
Joshua Thielen
2431488775 Added mmsystem.h include. 1999-05-22 16:19:20 +00:00
Ulrich Weigand
c319c669fb Added ExitKernel16 (replacing USER_ExitWindows), ExitProcess16, and
MapProcessHandle; stub for BUNNY_351.
1999-05-22 16:18:36 +00:00
Paul Quinn
2305f3c06d Microsoft com vtable compatibility workaround for g++. Basically adds
an optional 8 bytes padding to COM objects where the RTTI would be.
1999-05-22 11:41:38 +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
Eric Kohl
654ee2c132 Toolbar customization dialog (take one). 1999-05-22 10:52:31 +00:00
Ulrich Weigand
6315a7f334 Fix swapped FreeLibary return values. Handle FreeLibrary( 0 ) better.
Fix DLL_PROCESS_DETACH call sequence bugs resulting from nested
FreeLibrary calls.
1999-05-22 10:44:39 +00:00
Ove Kaaven
59c827325c Changed global DOS_LOL into function DOSMEM_LOL() in order to operate
on the correct address space. Added DOSMEM_MovePointers() that
relocates selectors when the DOS address space changes (i.e. when
dosmod is spawned, particularly from Win16 apps that uses DPMI to
execute real-mode code). More complete DOS device implementation.
1999-05-22 10:41:28 +00:00
Ove Kaaven
e54d4d15c4 Added MZ_Current() (returns current LPDOSTASK) and DOSVM_Wait()
(DOSVM idle message loop), and fields hConInput and hConOutput.
1999-05-22 10:40:15 +00:00
Eric Pouech
b82727b66e Some more defines for multimedia. 1999-05-22 10:34:30 +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
Alexandre Julliard
1ab8c680a2 Added a few missing debug event definitions. 1999-05-16 17:11:58 +00:00
Alexandre Julliard
e29a001a85 Added TEB in init_thread request. 1999-05-16 16:51:28 +00:00
Alexandre Julliard
43c190e7ba Server reorganization:
- moved request handlers to the specific C files
- moved handle management to handle.c
- moved server private includes to server/ instead of include/server/
1999-05-15 10:48:19 +00:00
Marcus Meissner
d7c565f5de Replaced WIN_GetWindowInstance by GetWindowLongA(GWL_HINSTANCE),
removed unnecessary win.h includes, added syslevel.h to queue.c.
1999-05-14 18:39:37 +00:00
Alexandre Julliard
0691998e45 Fixed a few bugs, and improved the exception macros (based on
suggestions by Sergei Turchanov).
1999-05-14 18:21:55 +00:00
Lionel Ulmer
ad7258517e Replaced all the Mesa specific code by GLX code. Should work now on
any OpenGL implementation.
1999-05-13 18:53:05 +00:00
Andreas Mohr
506fb71043 Implemented InsertInASPIChain and fixed minor things. 1999-05-13 18:44:14 +00:00
Alexandre Julliard
0a277b638c Adapted for new register functions support (ESP_reg in register
functions now points after the arguments).
1999-05-13 16:21:37 +00:00
Alexandre Julliard
3b3ff2bb06 Added macros and definitions for using exception inside Wine or
Winelib code.
1999-05-12 13:10:39 +00:00
Alexandre Julliard
89fae7eb30 Moved some exception definitions to winnt.h and ntddk.h. 1999-05-12 12:47:01 +00:00
Alexandre Julliard
80a740f076 Added ERROR_sig. 1999-05-12 10:42:02 +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
Alexandre Julliard
e4177e67cf Added import declaration for Win32 built-ins. 1999-05-12 09:57:37 +00:00
Alexandre Julliard
3eb441c7c4 Added support for forwarded ordinals in built-in dlls. 1999-05-10 14:44:47 +00:00
Alexandre Julliard
dd93d25577 Improved exception handling.
Based on the work of Sergey Turchanov <turchanov@usa.net>.
1999-05-09 16:12:19 +00:00
Alexandre Julliard
1e1eb509ea Release 990508. 1999-05-08 18:55:06 +00:00
Alex Korobka
98447497b7 Rearranged PAINT_RedrawWindow() so that it first recursively updates
invalid regions and only then starts sending out messages. This should
help with reentrancy during message processing and now it needs just
one (or none) scratch region for all there is to do. Also, small fixes
for SetWindowPos().
1999-05-08 17:57:09 +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
Michael Veksler
9d14a001f7 Removed #include "wine/winuser16.h" and use "struct tag????" instead. 1999-05-08 12:40:24 +00:00
Ove Kaaven
07d2a78993 Moved DOS List of Lists initialization, and added the beginnings of
the DOS device structures.
1999-05-08 10:54:04 +00:00
Noomen Hamza
c4cd0bf6c8 Bug fixes. 1999-05-08 10:50:34 +00:00
Ulrich Weigand
36a1a25f0e Call THREAD_FreeTHDB as service thread callback. 1999-05-08 10:48:03 +00:00
Ulrich Weigand
e9caf93bbb Removed TIMER_SwitchQueue. 1999-05-08 10:47:23 +00:00
Thuy Nguyen
ed1d88b610 Implementation of IStorage supported by an implementation of
ILockBytes on top of an HGLOBAL.
1999-05-08 10:05:08 +00:00
Ulrich Weigand
e6ea9ebb5e Check for busy DCE moved to DCHook16(). 1999-05-08 09:50:52 +00:00
Ulrich Weigand
ef61c0b632 Initialize WIN_CritSection earlier. 1999-05-08 09:45:50 +00:00
Luc Tourangeau
3d35e9894c Removed the timer that was used to queue TRACKBAR_Refresh calls.
Removed all direct calls to TRACKBAR_Refresh (except from within the
WM_PAINT handling section) and replaced them by calls to
InvalidateRect.
Fixed a bug in the TRACKBAR_SetPos function.
Fixed the behavior for different types of mouse input.
1999-05-08 09:44:45 +00:00
Francis Beaudet
ee3c1d7a27 Changed the return value of GetKeyboardState and SetKeyboardState from
VOID to BOOL.
1999-05-08 09:35:37 +00:00
Alexandre Julliard
6fbe079393 No longer necessary. 1999-05-05 13:20:50 +00:00
Francis Beaudet
179e8deb6d Check if DC is busy before deleting it. 1999-05-04 16:55:22 +00:00
Ulrich Weigand
70b2e383a0 Fixed various stupid bugs in services thread routines.
Added SERVICE_Exit routine to kill the services thread.
1999-05-04 16:43:38 +00:00
Alexandre Julliard
1459413518 Updated authors list from the Changelog. Please let me know if you
have been left out.
1999-05-02 18:13:33 +00:00
Alexandre Julliard
50b3d7b3e3 Misc fixes and improvements. 1999-05-02 14:24:15 +00:00
Alexandre Julliard
0e7bd08cbd Added check for -lmmap for OS/2. 1999-05-02 11:46:02 +00:00
Francis Beaudet
ec2edc7ee4 Fixed a few bugs in the OLE storage implementation, added a new set of
trace statements for the OLE storage related methods and introduced a
new debug channel for the storage subsystem.
1999-05-02 11:41:10 +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
Ulrich Weigand
9dcaeca29f Use SERVICES callback to implement Windows timers.
Timer expiration handling removed from EVENT_WaitNetEvent loop.
1999-05-02 11:30:39 +00:00
Ove Kaaven
d084a18cc6 Added prototype for TryEnterCriticalSection. 1999-05-02 11:26:07 +00:00
Klaas van Gend
b24a67f361 Make all structures packed and removal of some WINE_PACKED. 1999-05-02 11:22:50 +00:00
Juergen Schmied
466a65205b - default item handling
- small drawing fixes
1999-05-02 11:21:08 +00:00
Alexandre Julliard
944491bcae enhmetafile added 1999-05-02 10:23:40 +00:00
Eric Pouech
281c927317 - got rid of all the internal MM tweaks to load builtin MCI
drivers. They are all seen as drivers, loaded as DLLs and standard
  module loadorder is used to know which type to use (builtin vs
  native).
- first full working implementation of mmThread??? functions (to
  support gracefully native MCI drivers).
- support of mmShowMMCPLPropertySheet.
- fix of some heap validate bugs (thanks to Ulrich for reporting them).
1999-05-02 10:21:49 +00:00
Huw D M Davies
3a24f3f91e Started implementing Enhanced MetaFile driver. 1999-05-02 10:15:16 +00:00
Francis Beaudet
ebdea25edc Implemented the OLE object default handler and data cache. 1999-05-02 09:27:08 +00:00
Huw D M Davies
585c8466ab Several improvements to Enhanced MetaFile playback. 1999-05-02 09:23:51 +00:00
Marcus Meissner
89b1fc98ff MCI_ANIM_OPEN_PARMSW should be LPCWSTR, MCI_DefYieldProc should be WINAPI. 1999-05-01 10:39:28 +00:00
Alexandre Julliard
22a7d45276 Release 990426. 1999-04-26 18:19:22 +00:00
Marcus Meissner
1a8bbd7ca9 Added autoconf check for "inline". You can now use it, it will be
defined to (empty) for compilers that do not have it.
1999-04-26 14:58:58 +00:00
Patrik Stridvall
a9a671d7ca Fixed ANSI compabillity. 1999-04-25 19:01:52 +00:00
Bertho Stultiens
d1895a776c Built-in dlls now have resources attached via the PE-header like
normal dlls. This enables the use of the resource API.
1999-04-25 18:31:35 +00:00
Patrik Stridvall
c7a8dde118 #pragma pack(?) changed to #include "*pack*.h" 1999-04-25 12:36:53 +00:00
Jim Aston
10141fec52 Added some missing #defines I've run across. 1999-04-25 12:31:20 +00:00
Ove Kaaven
dda17c681f Added a possibility to let the internal debugger use a separate
heap. Not enabled by default, change #if in include/debugger.h to use
this (the heap allocator is very slow).
1999-04-25 12:24:42 +00:00
Adrian Thurston
4eb5edf961 Added support for strict handles. Only works on machines where
sizeof(UINT) == sizeof(void*).
1999-04-25 11:05:30 +00:00
Eric Pouech
33c5974f8e Added some missing manifest constants for Queue Status functions (QS_????). 1999-04-25 10:59:01 +00:00
Huw D M Davies
7603deae21 General tidy up of the MetaFile driver - make sure that everything
goes through the DCFuncs table.
1999-04-25 09:24:23 +00:00
Ove Kaaven
2d12743706 Made HeapValidate threadsafe, and added some macros to track callerEIP
a little better.
Added HEAP_xrealloc.
1999-04-25 09:09:15 +00:00
Marcus Meissner
f070fda20d autoconf fixes and cleanups (check for dlopen() in libc too). 1999-04-24 12:02:14 +00:00
Huw D M Davies
ad1e06ef76 Added Panose defines and EXTLOGFONT[A|W]. 1999-04-24 11:47: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
Adrian Thurston
17551f9863 ICOMization of remaining interfaces. 1999-04-22 15:23:18 +00:00
Adrian Thurston
c9105da048 Clean up objbase.h. Makes the STDMETHOD set of macros available to the winelib user. 1999-04-22 14:56:14 +00:00
Juergen Schmied
28613d3d0e Moved stuff to the right place. 1999-04-22 10:11:04 +00:00
Huw D M Davies
a7f2140ae9 Add Enhanced MetaFile record structures. 1999-04-22 09:51:53 +00:00
Thuy Nguyen
44bd9f06e4 First patch implementing property sheets. 1999-04-22 09:24:47 +00:00
Juergen Schmied
55c0bcaf5c - corrected parameter count for SHGetSettings
- stub SHValidateUNC
1999-04-22 09:18:33 +00:00
Bertho Stultiens
3b5c29f539 Change wine's dlopen search-patch strategy not using the environment
and added #if:s to seperate the code out if libdl isn't availble.
1999-04-22 09:13:38 +00:00
Huw D M Davies
56166a6f85 Implemented recording of StretchDIBits and SetDIBitsToDevice and
playback of SetDIBitsToDevice. Cleaned up PlayMetaFileRecord a bit.
1999-04-19 16:45:24 +00:00
Bertho Stultiens
94bb5bb1a7 Removed non-portable hacks and replaced them with more general
versions.
1999-04-19 16:44:22 +00:00
Patrik Stridvall
b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Alexandre Julliard
2487ccea81 Removed check for union semun; cleaned up a bit. 1999-04-18 14:43:16 +00:00
Alexandre Julliard
1ae869c9a3 Added env ptr to new_process request 1999-04-18 14:41:41 +00:00
Juergen Schmied
7851394159 - use fonts/fontsizes given by SystemParametersInfo
- drawing/alignment fixes, win98 style for menubar
- ownerdrawn menus are working now for the first time
- complete constants magic items
- use right owner for popupmenus
- new: Get/SetMenuInfo
- implemented: Get/SetMenuContextHelpId
- more flags for Get/SetMenuItemInfo
1999-04-18 14:40:32 +00:00
Ulrich Weigand
a44f9f8e1b Merged Linux/FreeBSD reentrant errno handler, added Solaris.
Preliminary support for Solaris low-level threads (LWPs) added.
1999-04-18 13:20:43 +00:00
Ulrich Weigand
715a55e75f Reentrant libc check for Solaris added.
Fixed reentrant X11 check for FreeBSD and Solaris.
Added check for Solaris low-level thread routines.
1999-04-18 13:19:56 +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
Bertho Stultiens
cebb2f1157 New files to support load order and partial stubs for elfdlls. 1999-04-18 12:09:21 +00:00
Huw D M Davies
608629bc13 Fixes for upside-down DIBs. 1999-04-18 12:07:00 +00:00
Luc Tourangeau
c4a01c3cc7 -Implemented TCS_BUTTONS, TCS_FIXEDWIDTH, TCM_GETITEMRECT,
TCM_SETITEMSIZE and TCM_DELETEITEM.
1999-04-18 09:35:42 +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
Marcus Meissner
69289f6d46 Only declare console "driver" once, use external refs elsewhere. 1999-04-18 09:25:27 +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
Andreas Mohr
dca5e56b90 - Implemented proper ("real", compressed) Win16 entry tables.
- Fixed MyAlloc (AKA NE_AllocateSegment).
- Implemented PatchCodeHandle16.
1999-04-16 08:17:17 +00:00