Commit Graph

693 Commits

Author SHA1 Message Date
Marcus Meissner 63200de91a Fixed undefined C constructs (val assignment in expressions using it,
postinc operators in macros).
2001-03-28 19:35:57 +00:00
Gavriel State 4d73ba6e21 - Always use a double-buffered visual if one is available.
- Ensure that all colormaps created use the double-buffered visual if
  it exists. This prevents problems where DRI GL implementations fail
  to work unless the colormap visual matches the window visual matches the
  glX visual.
- Get around similar visual issue with the default GL context created for
  apps that don't create their own contexts before trying to use GL functions.
2001-03-28 01:45:08 +00:00
Alexandre Julliard 26320d1f75 Cleanup properly on x11drv unloading.
Moved --synchronous option into config file.
Removed --desktop, --display and --language command-line options.
2001-03-23 23:45:45 +00:00
Ove Kaaven 27398d4966 Implemented Get/SetDeviceGammaRamp. 2001-03-20 01:55:18 +00:00
Huw D M Davies 39f54283fc Moved GetTextMetrics to unicode. 2001-03-16 16:43:14 +00:00
Vedran Rodic 817b134e05 Made 8 bpp to 24 bit depth conversion in X11DRV_DIB_SetImageBits_8
faster by using inline asm.
2001-03-05 19:59:29 +00:00
Alexandre Julliard 566a52ad8c Changed isolated for loops to while loops (based on a patch by Andreas
Mohr).
2001-03-05 19:34:17 +00:00
Ian Pilcher 9005a21f6f Don't load the WINEPS driver until it's needed. 2001-03-05 19:30:18 +00:00
Francois Gouget 282f7270c1 Small 'typos in comments' fixes. 2001-02-28 05:31:02 +00:00
François Gouget 4e92e6533b Added DIB/pixmap synchronization for {Get,Set}Pixel. 2001-02-16 19:38:50 +00:00
Patrik Stridvall d0a41774a3 Documentation ordinal fixes. 2001-02-14 23:11:17 +00:00
Huw D M Davies 2aa85eed18 Change FONTOBJ to use LOGFONTW rather than LOGFONT16.
Updated parameters of DEVICEFONTENUMPROC.
2001-02-14 22:56:38 +00:00
Lionel Ulmer 103712f1c4 Added RGB 565 => RGB 0888 conversion. 2001-02-13 20:16:46 +00:00
James Abbatiello c559f3fc69 In CreateDIBSection, the offset into the file mapping does not have to
be a multiple of the memory allocation granularity.
2001-02-12 19:40:28 +00:00
Andreas Mohr 312303acaf - move TSXGrabServer after a possible return FALSE;
- move misplaced comment
- optimize TSXGrabServer use
2001-02-12 18:10:27 +00:00
Ove Kaaven e1ba4bb49e In CopyDIBSection, use source DIB colormap instead if no palette has
been selected into the source DC, to work around some X11-imposed
DIBsection implementation deficiencies.
2001-02-12 01:20:30 +00:00
Eric Kohl d5354961d6 Fixed text size calculation bug in GetTextExtentPoint() for window dc's. 2001-02-12 01:15:06 +00:00
James Juran f4d5fefb0a Add <string.h> to files that needed it. 2001-01-26 20:43:40 +00:00
Alexandre Julliard 803dbb6f00 Removed non-standard OBM_RADIOCHECK bitmap. 2001-01-24 19:48:39 +00:00
Eric Kohl 08936ff97a Partial implementation of world transform support. 2001-01-24 19:38:11 +00:00
Alexandre Julliard 16cbf4022c Store USER icons and cursors as resources instead of xpm bitmaps. 2001-01-18 20:32:01 +00:00
Alexandre Julliard ee21c443c6 Replaced X11DRV_CritSection references by wine_tsx11_(un)lock. 2001-01-15 22:31:24 +00:00
Alexandre Julliard 8efd454067 Removed CALL_LARGE_STACK support. 2001-01-15 22:30:50 +00:00
Alexandre Julliard a41b2cfdd0 Moved tweak support to USER dll. Removed tweak.h and cache.h. 2001-01-15 20:12:55 +00:00
François Gouget da2b6a9f26 Fixed some HFILE vs. HANDLE mismatches.
If not used the last parameter of CreateFile must be 0, not -1.
2001-01-06 01:29:18 +00:00
Andreas Mohr 7f6c84b591 Starcraft was confused by a wrong FALSE BitBlt return. 2001-01-04 19:28:33 +00:00
François Gouget 55146dbe18 Fixed a few type clashes in preparation for the switch to STRICT. 2000-12-24 20:33:01 +00:00
Francois Gouget 345acc90fd Updated the look of dots and dashes to match the Win32 look.
Issue a FIXME about PS_USERSTYLE.
2000-12-24 20:16:25 +00:00
Alexandre Julliard 5801723b50 Replaced WIN16_GlobalLock16 by "official" function K32WOWGlobalLock16. 2000-12-22 01:09:26 +00:00
Alexandre Julliard 3f75eaacdc Authors: Ove Kaaven <ovek@transgaming.com>, Gavriel State <gav@transgaming.com>
More DIB section copy-blitting improvements: Handle 8bpp DIBs, DC
mapping modes, and clipping. Take advantage of the DIBsection's
XShmImage mechanism to get a really fast blit to the display.
2000-12-22 01:07:57 +00:00
Gerard Patel cb0ce33877 Set the color mask with BI_BITFIELD dibs, don't use the
application-provided value.
2000-12-20 18:39:41 +00:00
Alexandre Julliard db0747d095 Removed some unnecessary includes.
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Alexandre Julliard 982a223f36 Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Alexandre Julliard 447ddfd37d Authors: Ove Kaaven <ovek@transgaming.com>, Andrew Lewycky <andrew@transgaming.com>, Gavriel State <gav@transgaming.com>
DIB section improvements; UpdateDIBSection has been replaced with
LockDIBSection and UnlockDIBSection, for improved thread safety.
DIB_Status_* is now driver-independent, and there's a new
DIB_Status_AuxMod. Better handling of DIB surfaces with nonstandard
pitch. Slight optimization of DIBsection->display BitBlt.
2000-12-06 20:15:43 +00:00
Guy L. Albertelli 7897de4ef8 - correct number of colormap entries looked at in GetDIBColorTable.
- correct number of colormap entries processed in SetDIBColorTable.
2000-12-05 03:53:23 +00:00
Patrik Stridvall 2b3aa616e8 Added/modified documentation for function arguments. 2000-12-01 23:58:28 +00:00
Alexandre Julliard ef57e18f99 Removed some unnecessary includes. 2000-12-01 21:32:55 +00:00
Alexandre Julliard 71d68bbae0 Use the HEAP_WINE_SEGPTR flag to specify allocations on the segptr heap.
Added a hack in MapLS to recognize such allocations and use the heap
selector in this case.
2000-11-30 01:19:51 +00:00
Alexandre Julliard 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Dimitrie O. Paun 529da54394 Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; 2000-11-27 23:54:25 +00:00
Andreas Mohr 172495530b Also mention xpm-devel in the error msg. 2000-11-27 22:56:03 +00:00
Alexandre Julliard ac7efef3b5 Changed GetProcAddress16 and 16-bit resource functions to take normal
pointers instead of SEGPTRs.
Removed WIN16_GetTempDrive.
2000-11-27 21:54:01 +00:00
Dimitrie O. Paun 470acf831f Do not compile code that makes use of the X Shm extension. 2000-11-26 03:59:20 +00:00
Ove Kaaven a092dbfc88 Made X11DRV_DIB_GetImageBits_16 aware of 565 DIBs. 2000-11-25 23:51:59 +00:00
Ove Kaaven a32ddc0f8d Implemented Get/SetDIBColorTable. 2000-11-25 21:42:00 +00:00
Marcus Meissner ad62f823f4 GetPixel needs to return CLR_INVALID if not inside clipping region. 2000-11-25 01:22:54 +00:00
Alexandre Julliard 914406f854 Moved LDT handling to libwine.so. Changed the interface to use the
exported LDT_ENTRY structure.
2000-11-14 01:54:49 +00:00
Alexandre Julliard 8c540c657e Replaced a few internal functions by exported ones. 2000-11-13 04:16:05 +00:00
Nerijus Baliunas c4b8b266a9 Add new encodings ISO 8859-10 (cp28600), 8859-13 (cp28603), 8859-14 (cp28604),
8859-15 (cp28605). Add Lithuanian (Baltic) keyboard layout.
2000-11-11 00:34:32 +00:00
Patrik Stridvall d3534c3957 Optimized {,p}MoveTo{,Ex}{,16}. 2000-11-05 03:28:18 +00:00
Alexandre Julliard 2239abb9f9 Allocate DC objects on the process heap, and removed WIN_DC_INFO
structure (based on a patch by Ken Coleman).
2000-11-05 02:05:07 +00:00
Alexandre Julliard 908464d448 Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
Various warning fixes.
2000-11-01 03:11:12 +00:00
Mark Dufour 704c67505d Make the functions Pie, Chord, RoundRect, AngleArc, PolyDraw and
Ellipse work with an open path.
2000-11-01 02:12:52 +00:00
Francois Gouget 5f74d679ab Use sizeof for maintainability. 2000-10-31 02:02:42 +00:00
Francois Gouget 1746d5fe96 Fixed a few device caps values. 2000-10-31 01:48:34 +00:00
Alexandre Julliard 4c18636d4e Use GetStockObject() instead of the magic STOCK_* handles. 2000-10-29 01:22:15 +00:00
Mark Dufour edfde7f96f Implemented PolyDraw() and AngleArc(). 2000-10-26 19:28:19 +00:00
Mark Dufour 8c538c8190 X11DRV_DrawArc: swap the start and end points when drawing in
clockwise direction.
2000-10-25 21:21:50 +00:00
Ulrich Weigand 8862a4ee71 Don't hold the X11 lock while calling GDI object routines. 2000-10-19 20:23:35 +00:00
Chris Morgan 56af064e01 Implemented the IDC_HAND cursor. 2000-10-13 23:43:45 +00:00
Ove Kaaven 1cbaad7fba Fill in the dsBmih.biSizeImage field of DIBSections with the
calculated bitmap size.
2000-10-13 20:21:45 +00:00
Hidenori Takeshima beca6ada2a Added support for cp936. 2000-10-12 23:05:21 +00:00
Alexandre Julliard 15bfcd0398 Moved $(MODULE).o rule out of Make.rules into the individual
Makefiles.
2000-09-29 00:28:25 +00:00
Hidenori Takeshima dc71c0c954 Code cleanup.
Add checking for invalid DBCS trailer bytes.
2000-09-26 00:37:32 +00:00
Alexandre Julliard 072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
Hidenori Takeshima 2cc15088e0 Use appropriate charset if facenames of font is known.
Use CP_ACP if DEFAULT_CHARSET is requested.
2000-09-24 19:31:12 +00:00
Gerald Pfeifer 1b490b42bf Fixed format strings. 2000-09-24 03:05:11 +00:00
Damyan Ognyanoff ab965d9541 Added error correction when using symbol offsets. 2000-09-22 20:57:36 +00:00
Andreas Mohr 007fb24088 Added support for non-deletable system brushes and pens created by
USER.
2000-09-16 20:53:51 +00:00
Gerard Patel 0ca52b2e42 Fix a memory leak in X11DRV_GetTextExtentPoint. 2000-09-12 23:34:30 +00:00
Hidenori Takeshima 36456e64c2 Added support for cp949. 2000-09-07 18:37:32 +00:00
Hidenori Takeshima e3deda3711 Add jisx0212 encoding.
Remove FIXMEs for implemented DBCS handling.
2000-09-04 20:19:59 +00:00
Albert den Haan 618ce03ed3 Convert the Unicode Character id to a glyph id in
X11DRV_GetTextExtentPoint.
2000-08-29 03:51:45 +00:00
Albert den Haan 2ca7b74846 - enhanced reporting of unsupported X font encodings
- added -cp-*- data to font encoding lookup structures
2000-08-29 03:51:21 +00:00
Hidenori Takeshima 080957a599 implements DrawText for cp932.
-----
2000-08-26 20:26:13 +00:00
Andreas Mohr 217a682b4f Minor cosmetic changes. 2000-08-25 21:56:19 +00:00
Alexandre Julliard 2ad1a94d28 Backed out font codepage change. 2000-08-25 21:35:11 +00:00
Alexandre Julliard c1c94ec80c Cleaned up major ugliness in __lfCheckSum. 2000-08-23 19:15:02 +00:00
Alexandre Julliard 0baa4e0b3b Removed unnecessary calls to CLIPPING_UpdateGCRegion. Fixed PatBlt to
use DC_GetDCUpdate.
2000-08-22 20:01:47 +00:00
Hidenori Takeshima 7901c0b505 Handle the codepage of fonts if supported by the graphics driver. 2000-08-20 20:08:35 +00:00
Hidenori Takeshima 5b1b512020 Added internal charsets for supporting DBCS charsets. 2000-08-20 19:04:04 +00:00
Marcus Meissner 1c2ff71cef Set X11DRV_DeviceCaps.numColors according to doc (fixes Cubase VST24
startup problem).
2000-08-20 18:48:24 +00:00
Alexandre Julliard 2a2321bbca Authors: Alexandre Julliard <julliard@codeweavers.com> (for Corel), Albert den Haan <albertd@corel.com>
Added syslevel locking for GDI operations.
Propagate the changes through the graphics code.
2000-08-19 21:38:55 +00:00
Hidenori Takeshima b7392f5c2e Separate GetTextMetrics and implement it for SBCS/Unicode/cp932. 2000-08-18 23:44:58 +00:00
Dmitry Timoshkov 5138a35295 Append .DRV to name only if no extension present. 2000-08-18 23:43:37 +00:00
Hidenori Takeshima 67ccc0880c Fixed for DBCS(cp932/cp949) codepage conversion.
Implemented cp932 handling partly(but still incomplete).
Added supporting multiple fonts for DBCS handling.
2000-08-15 12:01:47 +00:00
Hidenori Takeshima c86cb24ec2 Added support for special treatments (use 2 or more fonts, codepage
conversion, etc...) for DBCS text.
2000-08-14 17:25:13 +00:00
Alexandre Julliard c7e7df8b17 Replaced all lstr* calls from inside Wine code by their str* equivalent. 2000-08-14 14:41:19 +00:00
Hidenori Takeshima d80ce30090 Added checking for broken font cache.
Added supporting for iso10646 encoding.
2000-08-14 13:25:43 +00:00
Alexandre Julliard 42d20f9dca Merged clipboard driver into USER driver.
Moved all ttydrv source files to dlls/ttydrv.
Load functions pointer for the USER driver from the graphics driver
dll with GetProcAddress.
2000-08-10 01:16:19 +00:00
Alexandre Julliard 5ab9d860f2 Removed some unnecessary #includes and dll dependencies. 2000-08-09 22:35:05 +00:00
Alexandre Julliard a007f3364a Moved a few non-standard headers into their respective dlls. 2000-08-09 00:54:58 +00:00
Alexandre Julliard 6113975a1e Moved struct32.c to windows directory. 2000-08-09 00:38:18 +00:00
Uwe Bonnes 52034b00eb X11DRV_DIB_SetImageBits_RLE8: break image lines. 2000-08-07 02:33:26 +00:00
Alexandre Julliard cb10fdab99 Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need
to trap exceptions.
2000-08-06 02:41:16 +00:00
Alexandre Julliard 93652e1a68 Moved a bunch of functions out of libwine/kernel/gdi into USER. 2000-08-04 04:21:02 +00:00
Alexandre Julliard b0efe28f6c Removed a few dependencies on GDI internals from USER dll. 2000-08-04 04:18:04 +00:00
Alexandre Julliard 15467bfb1f Moved MulDiv() and VGA routines out of GDI. 2000-08-01 22:03:18 +00:00
Alexandre Julliard 646c562f9c Cleaned up some more USER dependencies. 2000-07-31 23:32:47 +00:00
Alexandre Julliard 58d5a0a786 Removed some unnecessary inclusions of wingdi.h and winuser.h 2000-07-29 21:58:17 +00:00
Ove Kaaven 97e482bc95 Add X11DRV_DIB_UpdateDIBSection2 that takes a HBITMAP parameter. 2000-07-28 23:59:06 +00:00
Andreas Mohr 2caee712a2 Spelling fixes. 2000-07-16 15:44:22 +00:00
Stephane Lussier 96754f5ec6 New version of the patch from Francois Jacques with a modification of
my own that makes everybody happy :-)
2000-07-15 21:37:33 +00:00
Hidenori Takeshima 1dde1e536a Added DBCS/unicode encoding templates. 2000-07-15 21:28:05 +00:00
Drew Ronneberg f6e4096194 Ignore broken fonts when building cache file. 2000-07-15 19:43:33 +00:00
Alexandre Julliard d5d8480fa5 Backed out previous patch. 2000-07-10 10:59:35 +00:00
Francois Jacques 7d35413162 Updated X11DRV_DIB_GetDIBits to properly handle bottom-up DIBs
manipulation.
Corrected XGetSubImage arguments order.
2000-07-08 18:34:39 +00:00
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
Alexandre Julliard 28c3a1baf3 Moved graphics initialisation to the x11drv/ttydrv dll init code.
Merged event, keyboard and mouse drivers into USER driver.
2000-03-20 18:21:19 +00:00
Alexandre Julliard aafd54dab9 Moved font resource functions out of the X11 driver. 2000-03-19 21:20:54 +00:00
Alexandre Julliard 07e4213642 Added GetDCOrgEx in graphics device interface and removed X11 code
from dc.c.
2000-03-19 21:19:21 +00:00
Dimitrie O. Paun 9ad9636725 Removed most calls to xmalloc/xrealloc. 2000-03-19 14:29:50 +00:00
Andrew Lewycky e4c4651833 Delete the shm segment as soon as wine and X have attached it. 2000-03-19 12:41:20 +00:00
Alexandre Julliard 9b59da0dd9 Misc small cleanups. 2000-03-18 22:25:41 +00:00
Alexandre Julliard 62f824f7cb Avoid calling the *Rect USER functions from inside GDI.
Moved a few USER functions to a more appropriate location.
2000-03-18 22:12:33 +00:00
Alexandre Julliard fe08568a0d Moved command-line option handling out of the X11 driver.
Added support for "--" prefix on options.
Replaced a few X11 command-line options by wine.conf parameters.
2000-03-18 21:56:10 +00:00
Alexandre Julliard ddce652cae Made ddraw and dinput separate dlls. 2000-03-17 16:58:10 +00:00
Karl Lessard 38828c4e3a Update DIB sections in text output and for graphics primitives. 2000-03-15 19:56:40 +00:00
Marcus Meissner 87a2cc134e Implemented stretched blts for depth 24 (unoptimized). 2000-03-12 20:15:28 +00:00
Huw D M Davies a4caf05179 Add Black as a valid font weight.
Cope with afm files that do not contain {Family|Full}Name entries.
2000-03-09 18:44:38 +00:00
Jim Aston d78e2e5ed0 Handle 24 bit DIBs <-> 24 bit deep/24 bits per pixel XImages. 2000-03-09 18:41:36 +00:00
Rein Klazes a99fa8601b Include in the AddFontResourceA/W fixme message a pointer to the fonts
document. In this document tell the user how to find the needed tools.
2000-03-07 12:24:26 +00:00
Joerg Mayer f02fcfc33c Fix a sign bug where memcpy was called with negative length. 2000-03-04 19:00:42 +00:00
Patrik Stridvall 0ee98cc39f Fixed ANSI C violations. 2000-02-26 13:17:55 +00:00
James Abbatiello 1758f2d81a Misc. fixes for compiler warnings. 2000-02-25 21:01:50 +00:00
Marcus Meissner e8742dddde Check for NULL ptr in PSDRV_GetDeviceCapabilities. 2000-02-20 13:35:54 +00:00
Alexandre Julliard 00377a78b7 Store config file contents in the registry so we only have to load it
once per session.
Replaced PROFILE_EnumerateWineIniSection by PROFILE_EnumWineIniString.
Removed a few unnecessary/unused command-line options.
2000-02-19 20:50:00 +00:00
Alexandre Julliard 90476d6b4a Moved SystemHeap allocations to the process heap. 2000-02-16 22:47:24 +00:00
James Abbatiello b96c6e2b1f Moved CLIPPING_UpdateGCClipping call outside of the X11 section. 2000-02-13 16:08:19 +00:00
Lionel Ulmer c3bc0fa2e3 Replaced fprintfs by proper debug macros and fixed some compilation warnings. 2000-02-12 13:20:20 +00:00
Alexandre Julliard 383da68cf9 Optimized debugging API to reduce code size. 2000-02-10 22:15:21 +00:00
Alexandre Julliard fc296da4e2 Removed extra includes from ole.h and wingdi.h. 2000-02-10 19:39:48 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Marcus Meissner d16895beef Use window properties instead of window long, also use them to
determine if we really own a window and can destroy it.
The pixelformat for 256 colors has PALETTE|RGB flags (Tomb Raider 2)
Set paintable flag for application passed cooperative/drawing window.
GetDisplayMode: We might have and do support 2 backbuffers.
2000-02-07 16:02:13 +00:00
Alexandre Julliard b2f6f0e7d2 Removed resource.h. 2000-02-03 01:54:36 +00:00
Ove Kaaven c9307edf0c Added alphanumeric mode to the VGA emulation.
Use service thread for the periodic refresh.
2000-02-03 00:46:29 +00:00
Andreas Mohr 8cd93514f0 - add some documentation items
- fix some spelling
- fix some warnings
2000-01-29 21:12:58 +00:00
Ove Kaaven b44a83cf67 Wait for ShmCompletion during Flip. 2000-01-26 02:03:32 +00:00
Ove Kaaven 2527a33351 Added -dxgrab command line option, which confines cursor motion to the
DirectX primary surface.
2000-01-23 22:31:24 +00:00
Marcus Meissner 6fdd8ada09 Corrected arguments to VirtualFree(). 2000-01-23 21:58:56 +00:00
Ove Kaaven b030d20fc4 Supercharged XShm implementation for DirectDraw. 2000-01-23 02:28:48 +00:00
Alexandre Julliard 681c75bf17 Added debugstr_guid function and used it to replace
WINE_StringFromCLSID in all debugging messages.
2000-01-18 05:09:49 +00:00
Marcus Meissner 243f76963d EnumDisplayModes must pass lPitch. 2000-01-17 22:22:41 +00:00
Peter Hunnisett 40d5f4cddc Store reference hdc size into enhanced metafile header when creating. 2000-01-15 22:16:51 +00:00
Alexandre Julliard 24ea884488 Backed out scalable bitmap change (gives ugly results). 2000-01-08 22:27:31 +00:00
Lionel Ulmer 48c0816476 - detect if the OpenGL implementation defines the paletted texture and
color table extensions
- small warning fixes
- fix the double '-lXxf86dga' when having DGA 2.0
2000-01-05 01:51:02 +00:00
Alexandre Julliard 81ee21ddff Cosmetics. 1999-12-27 05:26:00 +00:00
Francois Gouget baa9bf9a23 Buffer overflows and strncpy fixes. 1999-12-27 05:24:06 +00:00
Huw D M Davies c553924ddd Move DCFuncs ExtTextOut and GetTextExtentPoint to Unicode.
Map a few Unicode chars to the first 0xff in psdrv.
Don't expect x11drv to display Unicode chars yet.
1999-12-26 00:47:03 +00:00
Huw D M Davies e175445eae Fix PSDRV_StretchDIBits for non-integer byte src widths (1 & 4bpp). 1999-12-25 22:56:13 +00:00
Dmitry Timoshkov 2da48e3c87 Don't skip usable X fonts. Add support for koi8 fonts. 1999-12-25 22:47:09 +00:00