Commit Graph

436 Commits

Author SHA1 Message Date
Dave Hawkes d8459f322c MoveToEx: return TRUE even if there is no driver implementation. 2000-06-20 20:15:38 +00:00
Dmitry Timoshkov 4d4e121759 Do not assume that double byte font == unicode font. 2000-06-18 19:28:42 +00:00
Stephane Lussier 626691c4b8 Fixed memory access outside of the range for source bits in 24-bit bitmaps. 2000-06-18 17:17:31 +00:00
Ken Coleman 0571af43d4 Fixes to CreateDIBSection and other areas where biSizeImage is
incorrectly assumed to be correct if it non-zero.  This fixes a
crashing problem in Sid Meier's Alpha Centauri.
2000-06-16 21:48:02 +00:00
Alexandre Julliard efefecd000 Use the font default char for undefined characters when mapping from
Unicode.
2000-06-12 01:23:33 +00:00
John Elliot 7bfa21cb80 Some fonts may have no characters at all for some reason, avoid crashes. 2000-06-11 19:59:37 +00:00
James Abbatiello 852e73a5ce Use XCreateImage/XGetSubImage instead of XGetImage for
X11DRV_DIB_GetImageBits.
2000-06-11 19:58:03 +00:00
Dmitry Timoshkov 2850b6628e Assign codepage for every X11 font suffix, and use it for converting
text to display.
2000-06-10 04:44:12 +00:00
Alexandre Julliard 960dc908b4 Shi Quan He (of Corel)
The implementation of StretchBlt in WINE does not use the foreground and
background color when a bitmap is copied from mono to mono.  This is
not the case in the actual implementation under Windows but MSDN did
not document it.
2000-06-08 19:23:12 +00:00
Alexandre Julliard 036de6e5cc Replaced GetDC by CreateDC. 2000-06-03 20:45:57 +00:00
Dimitrie O. Paun 84bde6a4a4 Separate wineps out of Wine's core. 2000-05-30 20:27:23 +00:00
Rob Farnum c5384f14b7 Separate out the 32bit case from the 24bit case, and copy 3bytes of
source for every 4bytes of input, into the destination for the 24bit
case.
2000-05-24 21:04:42 +00:00
Ove Kaaven 3be104e0ef Improved DirectDrawPalette handling (set it on init, not every time it
changes). Added VGA_WriteChars() function.
2000-05-23 21:14:11 +00:00
Ove Kaaven d3e7e214e2 Made X11DRV_DIB_MapColor map back to the original color index if the
XImage pixel's physical color is still the same.
2000-05-18 00:03:09 +00:00
Alexandre Julliard adcf7b455f Use the correct display for cached metrics file name.
Store metrics in specified config dir.
2000-05-15 02:47:25 +00:00
Lionel Ulmer 61e4283585 - set debug messages after a TRACE_ON test
- prevent crash when making the NULL context current
2000-05-14 22:53:17 +00:00
Lionel Ulmer bedf40b58b Added support for OpenGL. 2000-05-12 20:18:14 +00:00
Marcus Meissner 11353fcb6c Fixed asm() constraints. 2000-05-11 21:45:09 +00:00
Alexandre Julliard 8c8237b756 Specify the service thread timers in ms instead of us. 2000-05-10 04:43:32 +00:00
Marcus Meissner 3cec2ce3d3 SetImageBits_8: added ->15 conversion in optimized assembler. 2000-05-07 20:24:08 +00:00
Alexandre Julliard 40aa8c92a8 Jean-Claude Batista (Macadamian/Corel)
Top-down images have a negative biHeight, the scanlines of theses
images were inverted in X11DRV_DIB_GetImageBits_xx. To prevent this I
simply changed the sign of lines, the scanlines were correctly handled
afterwards
2000-05-07 18:27:57 +00:00
Rob Farnum ebe7831a75 Removed warnings from freeing path in DeleteDC. 2000-05-05 18:25:29 +00:00
Alexandre Julliard f818d42fae Fixed COORD structure definition.
Fixed GetLargestConsoleWindowSize to not return a structure when
called from the Window binary.
2000-05-03 17:48:21 +00:00
Dimitrie O. Paun 4d48dd3048 Removed HEAP_xalloc. 2000-04-30 12:22:18 +00:00
Ove Kaaven 8b9f33851a Added DIB_CreateDIBSection with extra parameter ovr_pitch, added
ovr_pitch to pCreateDIBSection in DC_FUNCS. If ovr_pitch is nonzero,
it is a pitch override (specifies bytes per line), and tells to treat
the offset parameter as an already-mapped virtual memory address (if
the section parameter is zero). Fixed a DIB status init bug in
creating DIB sections from file mappings (if created from mapping, the
DIB is *not* really InSync).
2000-04-29 16:47:07 +00:00
Eric Pouech 12222f0d54 Fixed a few compilation warnings. 2000-04-29 14:29:41 +00:00
Dimitrie O. Paun abdbced4fd Removed some HEAP_xalloc calls. 2000-04-29 14:20:28 +00:00
Patrik Stridvall 3d511617f4 Removed X_DISPLAY_MISSING. 2000-04-25 19:55:35 +00:00
Dimitrie O. Paun cb18dbf9ce Removed the last xmalloc calls. 2000-04-24 17:33:06 +00:00
Huw D M Davies a3d3ff8d34 Implement StrokeAndFillPath.
Call DeleteObject when finished with hrgn in PATH_FillPath.
2000-04-18 11:54:12 +00:00
Sheri Steeves 118ce5dec1 EMR_SELECTOBJECT records stock objects with their id as the object
handle and the high bit set.
2000-04-18 11:53:23 +00:00
Patrik Stridvall f0deb8a17e Fixed some issues reported by winapi_check. 2000-04-15 20:44:21 +00:00
Huw D M Davies 000facfb8d A few corrections to bounding boxes. 2000-04-14 14:07:51 +00:00
Huw D M Davies e5b3a693dd Don't close groups of polylines. 2000-04-14 14:07:30 +00:00
Marcus Meissner 4b34a45203 Only copy dstwidth*3 bytes in the 24bit case. 2000-04-11 19:38:12 +00:00
Dimitrie O. Paun a20b7921ad Replaced xmalloc calls with malloc/HeapAlloc calls. 2000-04-09 18:41:15 +00:00
Alexandre Julliard 227a0894d4 Removed a number of global handle allocations and critical section
initializations.
2000-04-08 21:06:06 +00:00
Gerard Patel 66e47407d0 Fixed pixmap leak with the 1x1 bitmap in memory DCs. 2000-04-08 20:21:01 +00:00
Patrik Stridvall 54fe8380a1 Fixed some issues reported by winapi_check. 2000-04-06 20:21:16 +00:00
Alexandre Julliard f64c404ea6 Fixed ttydrv compile when using curses. Cleaned up a few #ifdefs. 2000-03-30 19:26:44 +00:00
Niels Kristian Bech Jensen c9742b3204 - Fix some compiler warnings.
- Remove superfluous #include statement.
2000-03-28 20:44:59 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Alexandre Julliard a7116b0559 Fixed memory allocations. 2000-03-28 20:02:37 +00:00
Alexandre Julliard a08e2cf19f Merged DDBitmap and physBitmap into the generic bitmap structure
(suggested by Andrew Lewycky).
2000-03-28 13:37:50 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Alexandre Julliard 7f3418fba0 Store monitor size and depth in the generic structure.
Merged monitor driver into USER driver.
2000-03-25 17:30:13 +00:00
Alexandre Julliard 9383eb94a7 A few simplifications and optimizations in the x11 driver. 2000-03-25 14:05:06 +00:00
Patrik Stridvall 3b233623cc Fixed some warnings. 2000-03-24 21:19:02 +00:00
Patrik Stridvall bbaf0ea799 Made the include files self sufficient. 2000-03-24 21:13:57 +00:00
Patrik Stridvall 98fde73f14 Fixed some issues reported by winapi_check. 2000-03-24 20:43:33 +00:00