Commit Graph

249 Commits

Author SHA1 Message Date
Alexandre Julliard 1eeed68514 Moved signal handling to exception.c, generate exceptions on signals.
Added hook for debugger in exception handling (temporary).
1999-06-18 18:21:24 +00:00
Uwe Bonnes 63ec7daa69 X11DRV_DIB_SetImageBits_24/32: Fix the case for bits_per_pixel == 32
and negative lines.
1999-06-12 10:46:31 +00:00
Marcus Meissner e1f81a6814 Added generic pixel converter for 8->24. 1999-06-12 08:16:40 +00:00
Marcus Meissner 8c7266009c Remove DIABLO_HACK (does not work anymore), add 1 FIXME, fix GetCaps()
with caps1==NULL.
1999-06-12 06:48:08 +00:00
Huw D M Davies 83d4560ca4 PSDRV_StretchDIBits should use logical co-ords.
Some versions of ghostscript seem to eat one too many characters of
image data. Add a '%' to the output file to work around this.
1999-06-12 06:37:05 +00:00
Noel Borthwick 86b686fb8c From CreateCompatibleDC, pass the device name associated with the
source DC in order to allow PSDRV_CreateDC to locate the printer info
for the device.
1999-06-05 08:52:30 +00:00
Marcus Meissner 4ebd9d85aa Speedup enhancement for the 8->16 and 8->32 copy loop hotspots,
using a faster generic routine and some inline assembly for i386
(cleanups by Ove).
1999-06-05 08:45:32 +00:00
Joshua Thielen 0f44fb362d Fixed a bug which causes the PolyBezier to not be updated on redraw
(when you want them to be).
1999-05-29 14:03:42 +00:00
Lionel Ulmer 34d6c9f7fb - better debug output for surface creation
- added (experimental) DIBSection implementation of GetDC / ReleaseDC
1999-05-29 11:00:27 +00:00
Lionel Ulmer 0ed42588ff Corrected warning. 1999-05-29 10:59:06 +00:00
Eric Pouech 258bb10864 Changed printf into TRACE. 1999-05-24 08:15:07 +00:00
Lionel Ulmer 37b200627a - added some more debug output
- corrected a slight bug in DGA DirectDraw creation
1999-05-22 19:22:26 +00:00
Pavel Roskin d1bb7f7145 Disable passing device context to X11DRV_DIB_BuildColorMap when RGB
colormap is used.
1999-05-22 19:19:19 +00:00
Kevin Holbrook 7894c2212b Should compare to X11 constant "None" since a colormap is an X
Resource ID and not a pointer.
1999-05-22 18:46:51 +00:00
Huw D M Davies d0cbe85d05 Add a few more 32->16 Escape conversions. 1999-05-22 18:40: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
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
Marcus Meissner 66f2aac4e3 Xlib_IDirectDrawSurface4Impl_Flip should show 'flipto' surface, not
previous one. (reported by Ove)
1999-05-17 14:52:05 +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
Lionel Ulmer 3899c021a1 Check if in depth-conversion mode before returning an error message
in IDirectDrawPaletteImpl_GetEntries.
1999-05-14 08:07:56 +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
Huw D M Davies 911e19078d Fixed a couple of memcpy errors. 1999-05-13 18:46:46 +00:00
Huw D M Davies 79641da5e5 Small fix to help native win95 PrintDlg on the way. 1999-05-13 18:44:44 +00:00
Pavel Roskin a59cc65d1a Fixed palette handling for true/high-color X11. 1999-05-08 18:22:11 +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
Huw D M Davies 1d4af587fc Small update to the PostScript encoding vector. 1999-05-03 09:21:21 +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
Huw D M Davies 3a24f3f91e Started implementing Enhanced MetaFile driver. 1999-05-02 10:15:16 +00:00
Patrik Stridvall a9a671d7ca Fixed ANSI compabillity. 1999-04-25 19:01:52 +00:00
Alexandre Julliard f62b48712e Use $HOME instead of getpwuid for user's home directory. 1999-04-25 12:39:33 +00:00
Patrik Stridvall c7a8dde118 #pragma pack(?) changed to #include "*pack*.h" 1999-04-25 12:36:53 +00:00
Karl Lessard d096d773f2 SetMapMode should not reset the window and viewport origins to 0. 1999-04-25 12:19:30 +00:00
Alexandre Julliard bc49a36f56 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
More appropriate default size for fonts with invalid sizes.
1999-04-25 10:57:03 +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
Ulrich Weigand 3458987ec9 Added prototypes (stubs) for GDI32.100-104. 1999-04-22 09:20:55 +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 0b52adaac4 Fixed typo. 1999-04-19 16:30:51 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Eric Pouech dc7c1b87d4 Fixed a few bugs (typos from cut & paste & invalid heap block
freeing).
1999-04-18 13:12:02 +00:00
Huw D M Davies 608629bc13 Fixes for upside-down DIBs. 1999-04-18 12:07:00 +00:00
Lionel Ulmer 251ed43b98 Changed 'GetDisplayMode' to return the mode previously set by
'SetDisplayMode' (and not the current monitor mode).
1999-04-18 12:03:02 +00:00
Brian Gerst 8d4f85071d - Removed all floating point math.
- Implemented stretching in X and Y directions for 8, 16, and 32 bit color.
- Implemented source and dest color-keying for 8, 16, and 32 bit color.
- Implemented some trivial raster operations.
- Minimized inner loops for maximum speed.
- Use memcpy whenever possible.
1999-04-18 09:31:50 +00:00
Robert Pouliot 0a9975242a A few patches to help Wine to compile on OS/2. 1999-04-16 06:55:26 +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
Pavel Roskin 6f01462b8b Fixed ugly disabled controls and black background in Write and Lotus
Notes.
1999-04-15 15:52:59 +00:00
Huw D M Davies 0d211d1cf5 Limit lastChar to 0xff in PSDRV_GetCharWidth. 1999-04-15 15:13:54 +00:00
Karl Lessard 183f8841db Optimized code for SetImageBits_X, making bitmap creation faster. 1999-04-11 17:04:16 +00:00