Commit Graph

286 Commits

Author SHA1 Message Date
Ulrich Weigand e6ea9ebb5e Check for busy DCE moved to DCHook16(). 1999-05-08 09:50:52 +00:00
Francis Beaudet 179e8deb6d Check if DC is busy before deleting it. 1999-05-04 16:55:22 +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
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
Huw D M Davies 585c8466ab Several improvements to Enhanced MetaFile playback. 1999-05-02 09:23:51 +00:00
Pavel Roskin ffd5e82b97 LoadImageW fixed for hicolor displays. 1999-05-01 10:41:02 +00:00
Patrik Stridvall a9a671d7ca Fixed ANSI compabillity. 1999-04-25 19:01:52 +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
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
Karl Lessard b5e41aa5e2 Fixed coordinates conversion in OffsetClipRgn. 1999-04-22 14:59:21 +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
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Huw D M Davies 608629bc13 Fixes for upside-down DIBs. 1999-04-18 12:07:00 +00:00
Pavel Roskin 5b14b535c8 LookupIconIdFromDirectoryEx16() fixed: if GetSystemPaletteEntries()
returns 0, it is interpreted as if it were 256.
1999-04-18 09:34:51 +00:00
Huw D M Davies b94e43303a Change (32 bit) HMETAFILEs to GDI objects (HMETAFILE16s remain as
global memory handles).  Fixed disk-based MetaFiles.  Better
separation between MetaFile playback and the metafiledrv.
1999-04-15 16:46:51 +00:00
Juergen Schmied c45bbee66b Changed ressource dir structures.
Adapted FindBestIccon/FindBestCursor.
1999-04-11 11:46:32 +00:00
Luc Tourangeau 3ef75725fd Ensure that the bitmap is properly initialized when created with the
LR_CREATEDIBSECTION flag.
1999-04-10 16:36:15 +00:00
Ulrich Weigand 466cd44484 Added GdiSignalProc() stub. 1999-04-01 11:46:02 +00:00
Ulrich Weigand d8379a64cc LoadBitmap16()/LoadImage16() calling sequence simplified. 1999-04-01 10:08:58 +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
Alex Korobka 4f1ac05dea Moved hrgnUpdate from client to window coordinates, made nonclient
painting depend on the update region, reworked SetWindowPos() and
RedrawWindow() to speed up update region calculation, made -desktop
work properly, added WM_CANCELMODE here and there, fixed several
window activation bugs that crept in since the last time.
1999-03-28 09:37:57 +00:00
Huw D M Davies e42ee26d9a Fixed {S|G}etBitmapBits in x11drv. Removed BITMAP_GetPadding. 1999-03-27 15:59:12 +00:00
Huw D M Davies 8a5eb4de6a Fixed metafile recording of CreatePatternBrush. 1999-03-27 15:55:00 +00:00
Huw D M Davies cc3e5d7823 Allow depth of DIB to differ from depth of bitmap in GetDIBits. 1999-03-25 10:48:01 +00:00
Marcus Meissner c600afbd4b CURSORICON_Destroy: missing WINAPI added. 1999-03-24 14:55:37 +00:00
Marcus Meissner 6b9dd2e098 Lots of warning fixed, one missing WINAPI in ddraw.c added. 1999-03-18 17:39:57 +00:00
Jim Aston 2e1cafa288 Renamed wintypes.h to windef.h. 1999-03-14 16:35:05 +00:00
Caolan McNamara ae8a748aa1 Added metafile support for ExtFloodFill. 1999-03-14 13:40:12 +00:00
Caolan McNamara 8e5e588b8e Added support for alternate DIBBITBLT layout. 1999-03-13 12:47:36 +00:00
Ulrich Weigand 50a0915101 Implemented Win95-style shared cursor/icon cache.
Merged NE and PE resource handling.
1999-03-10 14:00:29 +00:00
Marcus Meissner de43ef45ec Fixed a lot of warnings using WINE_UNUSED, casts, commenting out and
additional {}. Rewrote GetCreationModeFromSTGM so we don't get
"possible use of uninitialized variable".
1999-02-28 19:56:59 +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
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
Huw D M Davies 3da9ff32ff Fixes buffer overrun problems with GetDIBits. 1999-02-24 09:47:37 +00:00
Marcus Meissner 61afa33b03 Some more recursive include fixes/optimizations. 1999-02-22 10:16:00 +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
Eric Pouech b9544f159d Changed some functions prototypes (were returning void). 1999-02-14 14:09:42 +00:00
Brad Pepers 0bdff36d38 WinG fixes. 1999-02-09 15:37:16 +00:00
Huw D M Davies 7bb6fd1db3 GetMetaFileBitsEx should work in bytes not words. 1999-02-09 15:32:19 +00:00
Ulrich Weigand 4f85bad39e Change fault handler 'addr' argument to LPCVOID. 1999-02-09 15:30:22 +00:00
Paul Quinn f8db63bbc0 GetCursorPos is actually a BOOL. 1999-02-09 14:24:45 +00:00
Zygo Blaxell 1084b2cbff Fix types of GetDIBits functions (LPSTR should be LPVOID). 1999-02-09 14:13:12 +00:00
Jason McMullan e113b094f2 Adds support for EMR_STRETCHDIBITS in EMFs. 1999-02-09 14:08:57 +00:00
Patrik Stridvall 8d8703cb48 Moved some more code to the X11 driver. 1999-02-04 14:05:38 +00:00
Marcus Meissner 03479f8adb Fixed a lot of warnings for possible problems. 1999-01-28 10:06:38 +00:00
Marcus Meissner ffb912e692 Fixed GetIconInfo16 (.spec,ICONINFO struct is different for Win16/Win32). 1999-01-28 09:14:38 +00:00
Andreas Mohr 22c904d3ca Implemented GetIconInfo16 -> call to GetIconInfo32. 1999-01-26 14:56:01 +00:00
Guy Albertelli 532921729e Finished GetTextCharsetInfo routine. 1999-01-24 09:50:09 +00:00
Marcus Meissner 16af9baf41 Check opened enhmetafile for magic values. 1999-01-23 12:20:41 +00:00
Juergen Schmied 58b2f0a0a2 Implemented CreateHalftonePalette.
Fixed 3 crashes (1 real, 2 potential).
1999-01-23 12:09:30 +00:00
Marcus Meissner ae0a73d442 Some small fixes to enhmetafiles. 1999-01-20 14:11:07 +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
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 16f0dfbaa5 Delphi 2.0 needs to allocate a bitmap bigger than 4096 bits wide. 1999-01-01 18:45:03 +00:00
Douglas Ridgway ab9e8bc9f7 Implement TranslateCharsetInfo, change charset type to BYTE. 1999-01-01 18:41:22 +00:00
Patrik Stridvall 151170c437 Moved more things to the X11 driver. 1998-12-26 12:00:43 +00:00
Francois Gouget 815d320795 Fixed the prototype of CreateDIBPatternBrushPt 1998-12-26 11:57:38 +00:00
Douglas Ridgway 4f7d9ed1ac Documentation for TranslateCharsetInfo. 1998-12-18 17:38:39 +00:00
Paul Quinn 1beaae5f9e Lots of new defines and stubs. 1998-12-15 15:38:36 +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
Huw D M Davies d6a91b7a74 Move OEM resources to the x11drv. 1998-12-02 10:29:04 +00:00
Ulrich Weigand 87dbaa9a05 Implemented GdiFreeResources (GDI.609). 1998-12-01 13:00:05 +00:00
Juergen Schmied 4493a74c23 Load now the first icon from the *.ani file instead of crashing. 1998-11-30 17:29:28 +00:00
Huw D M Davies a38d84d854 GetSystemPaletteEntries returns palette size if entries==NULL.
Use this instead of COLOR_GetSystemPaletteSize.
1998-11-30 11:18:26 +00:00
Ulrich Weigand e62cbca0fb Removed some unnecessary FIXME outputs. 1998-11-26 15:06:47 +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
Huw D M Davies 2bd3acf7c8 Moved DC_SetupGC functions to graphics/x11drv/graphics.c. 1998-11-22 17:45:06 +00:00
Andreas Mohr 1e360ebbf9 Added Win16 implementation for GetRegionData(). 1998-11-22 16:54:26 +00:00
Juergen Schmied c509615f51 Checking for NULL-pointer. 1998-11-22 16:16:58 +00:00
Ian Schmidt 8150b52c36 Added stubs for two undocumented GDI routines, SetMagicColors and
SetSolidBrush. This allows Win98 native USER to start up.
1998-11-22 12:54:38 +00:00
Gael de Chalendar d5af0175c7 Partially complete GetTextCharsetInfo and corrects return values for
this family of functions.
1998-11-22 12:19:49 +00:00
Eric Kohl c011267b97 Fixed retrieval of invalid palette data in GetDIBits(). 1998-11-15 18:10:11 +00:00
Dirk Thierbach f1ac4ef72b Fixed bug in StretchDIBits32 (wrong origin). 1998-11-15 17:25:44 +00:00
Ulrich Weigand 431d1a0ce2 Moved X11 mouse cursor handling to the DISPLAY driver. 1998-11-14 18:57:47 +00:00
Huw D M Davies 7b06d98404 Fixes a few of the many compiler warnings. 1998-11-14 17:13:51 +00:00
Huw D M Davies d03d23d999 Fix allocation size in CreateDIBPatternBrush*. 1998-11-14 11:20:51 +00:00
Eric Pouech cd67edd365 Prevent CreateDIBSection from seg faulting when one dimension of
section is 0.
1998-11-08 16:27:02 +00:00
Jeff Johann 471b5dff8d Added CreateDIBPatternBrushPt (GDI32.35) with minor documentation
updates.
1998-11-08 15:07:22 +00:00
Rein Klazes c66d9af7e7 ExtSelectClipRgn fix: RGN_DIFF did not work. 1998-11-08 13:01:41 +00:00
Ulrich Weigand a11ce32ad4 Adapted to new input event handling. 1998-11-08 12:27:26 +00:00
Charles Suprin 4104301e6d Added stubs for SetWinMetaFileBits and GetEnhMetaFilePaletteEntries. 1998-11-07 12:56:31 +00:00
Uwe Bonnes 1f43de3456 Fail if less then one entire line requested in GetBitmapBits32. 1998-11-07 12:25:18 +00:00
Rein Klazes 8a91b4ad3e ExtSelectClipRgn() with RGN_COPY copies the wrong region. 1998-11-06 17:20:24 +00:00
Huw D M Davies 91d1608a59 Moved X11 DIB stuff to x11drv. 1998-11-06 11:03:00 +00:00
Jesper Skov 5c3e457b16 egcs 'ambiguous else' warnings fixes. 1998-11-01 19:27:22 +00:00
Huw D M Davies 82617362a5 More bitmap fixes. 1998-11-01 16:35:42 +00:00
Ulrich Weigand 7119a6ea5e Bugfix: SetDCState did not reset clipping region to empty. 1998-11-01 14:05:33 +00:00
Marcus Meissner d982a71b8a Don't HeapFree() colormap if we didn't allocate one. 1998-11-01 14:04:15 +00:00
François Gouget 241c730d54 Fixed some LPPOINT/LPSIZE mismatches and some missing "const" in the
headers prototypes.
1998-10-28 10:47:09 +00:00
Huw D M Davies 87f87bf61c Added pBitmapBits and pCreateBitmap to the GDI function table and
moved the X11 dependent stuff out of objects/bitmap.c into x11drv.
1998-10-28 09:53:53 +00:00
Huw D M Davies e0a25722ac Fixed differences between SetRectRgn16 and SetRectRgn32. Also a bug fix for
CreateRoundRectRgn.
1998-10-28 09:24:02 +00:00
Huw D M Davies 14c99d0036 Adds Arc, Chord, GetCharWidth, Pie, PolyPolygon, PolyPolyline, RoundRect,
SetPixel, hatched brushes and a stub for StretchDIBits to the PostScript
driver.
1998-10-24 10:44:05 +00:00
Juergen Schmied cba848847b New FONT_GetObject32W(), GetObject32W(). 1998-10-23 13:27:36 +00:00
NF Stevens 47c7334a81 Fixed a bug in RectInRegion. 1998-10-21 14:23:38 +00:00
Turchanov Sergey 62d6e98152 Implemented LoadCursorFromFile, fixed DrawIconEx to support offscreen
drawing, fixed CURSORICON_CreateFromResource to support LR_ semantics.
1998-10-18 13:42:55 +00:00
Turchanov Sergey 07d7d7986f Fixed LoadImage to support almost all LR_ flags. 1998-10-18 13:41:15 +00:00
Turchanov Sergey 9cd4df11a3 Fixed bug in DIB_SetImageBits_RLE8 (because 'color' var was WORD, all
COLOREFs had red part zeroed) that made plenty of cyan colors, minor
bug fixes, changes to support LR_ flags.
1998-10-18 13:39:41 +00:00