Commit Graph

697 Commits

Author SHA1 Message Date
Duane Clark bc6faeba52 If bit/stretchblt source and destination DCs are the same, make sure
the changes are committed before unlocking.
2003-01-09 05:59:47 +00:00
Dan Kegel 0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Dmitry Timoshkov e8ccafe4f7 Separate XShm using code. 2002-12-16 22:11:35 +00:00
Alexandre Julliard 435e2e63f4 winnt.h should not be self-contained, it must depend on windef.h so
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Alexandre Julliard 9169729b0b Merged font.h and path.h into gdi.h. Moved x11font.h to
dlls/x11drv. Removed a number of unnecessary #includes.
2002-12-03 19:18:41 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Patrik Stridvall 6cd866b0e6 Fixed some issues found by winapi_check. 2002-11-27 20:21:24 +00:00
Uwe Bonnes c124fd6f04 X11DRV_DrawArc: Don't overwrite the ENDCAP style. 2002-11-25 02:46:15 +00:00
Uwe Bonnes 47977c4f8b X11DRV_SelectPen(): Don't use a pen with half the width. 2002-11-25 02:45:47 +00:00
Alexandre Julliard 547cdc2b02 Made gdi compile with -DSTRICT. 2002-11-22 22:16:53 +00:00
Michael Stefaniuc 28a632a830 Some -DSTRICT fixes. 2002-11-21 21:50:04 +00:00
Alexandre Julliard e301564170 Added empty X11DRV_OpenGL_Init for the non-OpenGL case. 2002-11-18 19:50:02 +00:00
Lionel Ulmer 56ab2b3e91 Load OpenGL library dynamically from x11drv. 2002-11-15 04:16:38 +00:00
Huw Davies 94705862d6 Client side render fonts for XServers without the Render extension
using X11 core requests.
2002-11-14 22:31:34 +00:00
Patrik Stridvall ba9dc78e39 Fixed mismatches between the Wine headers and the Microsoft headers. 2002-11-04 22:43:24 +00:00
Alexandre Julliard e0315e4433 Converted x11drv to -DSTRICT. 2002-10-31 02:38:20 +00:00
Alexandre Julliard 9376fb30c5 Fixed a number of -DSTRICT warnings. 2002-10-31 02:12:18 +00:00
Malte Starostik f9a486b10b Added progress messages while building font metrics. 2002-10-17 01:22:56 +00:00
Michael Stefaniuc bc54d78532 - change the internal functions in windows/cursoricon.c to use 32bit
handles
- move the implementation of ExtractAssociatedIcon16 to
  ExtractAssociatedIconA
- convert HICON to a void*
- fixed some handle conversions that happened to be in the way while
  doing the above
2002-10-10 21:22:09 +00:00
Patrik Stridvall 65f4436566 Fixed some issues found by winapi_check. 2002-10-02 01:24:27 +00:00
Alexandre Julliard 2c40e29987 Import wine_tsx11_lock/unlock directly from x11drv in opengl32 and
ddraw, so that they don't need to link with libwine_tsx11.
Removed header wine_gl.h.
2002-09-25 00:29:56 +00:00
Alexandre Julliard e9119c198d Removed some more TSX11 functions and files. 2002-09-24 18:36:51 +00:00
Alexandre Julliard df8e6eeb0f Removed a bunch of no longer used TSX wrappers. 2002-09-24 03:17:31 +00:00
Michael Stefaniuc 1033ffe423 Convert HPALETTE to a void*. 2002-08-29 01:55:55 +00:00
Patrik Stridvall 9aab47ed24 MSVC compatibility fixes. 2002-08-28 23:42:34 +00:00
Alexandre Julliard aface53759 Fixed a number of dll separation issues. 2002-08-28 22:35:23 +00:00
Huw D M Davies 3d10c1fc6e Mapping mode functions should change dc settings when dc is an enhmf. 2002-08-17 18:32:12 +00:00
Patrik Stridvall d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
Alexandre Julliard 1c4b5c40bf Moved a large number of 16-bit functions to a separate gdi16.c file. 2002-08-16 00:42:06 +00:00
Mike McCormack 94fa372b8f Avoid dodgy asm optimization if the server's byte order is not
LSBFirst.
2002-08-14 21:07:40 +00:00
Huw D M Davies ff6bda8960 At the end of PATH_StrokePath, update dc->CurPosX|Y so that their
values are in logical co-ords.
2002-08-13 18:12:52 +00:00
Dave Hawkes 392c54e1c0 Fonts with an incomplete character set could cause a fault. 2002-08-09 19:50:20 +00:00
Rob McClinton 580d7c9be3 X11DRV_GetDIBits: Don't clear the biCompression==BI_BITFIELDS flag
after creating the bits.
2002-07-16 01:13:55 +00:00
Gregg Mattinson 7c4cb515b6 Cast void* to char* for pointer arithmetic. 2002-07-03 21:10:43 +00:00
Alexandre Julliard 44e97f020d Fixed X11DRV_SetDIBitsToDevice to do the right thing for top-down
and/or partial bitmaps.
2002-07-03 01:22:13 +00:00
Lionel Ulmer a3f4e7ff3f Detect DCs without fonts and return an error in wglUseBitmapFonts. 2002-07-03 01:16:45 +00:00
Alexandre Julliard 5dcd27c94f Fixed typo in X11DRV_SetPixel. 2002-06-28 17:38:59 +00:00
Alexandre Julliard 5ee1599d59 Replaced LPTODP/DPTOLP macros by calls to LPtoDP/DPtoLP (with the help
of Huw Davies).
2002-06-25 23:29:51 +00:00
Alexandre Julliard 4144b5b8fc Create the server directory and socket file in /tmp.
Use fcntl file locking to ensure exclusion on the server socket and to
better recover from crashes.
Flush the registry before closing the socket to avoid timeouts on the
client side.
Moved get_config_dir functionality to libwine.
2002-06-20 23:21:27 +00:00
Alexandre Julliard a5755b10a7 Authors: Mike McCormack <mikem@codeweavers.com>, Jeremy White <jwhite@codeweavers.com>
Fixed memory leaks.
2002-06-13 23:54:55 +00:00
Alexandre Julliard d3cab1857a Moved DC origin into device-specific structure.
Fixed handling of DC origin in X11 driver.
2002-06-10 22:52:47 +00:00
Alexandre Julliard 78b041cf52 Better encapsulation of the font and metafile objects. 2002-06-04 01:02:51 +00:00
Alexandre Julliard 376e65092a Better separation of the palette functions.
Removed the palette driver.
2002-06-02 21:40:24 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard d8a9244fc4 Added function table to GDI objects for better encapsulation.
Removed some direct accesses to the bitmap structure.
Fixed handling of stock bitmap if selected in multiple DCs.
Some minor fixes to the DC function table.
2002-05-31 18:43:22 +00:00
Vincent Béron 6a5ba8fba2 Fixed some more missing \n in traces. 2002-05-29 19:09:54 +00:00
Gregg Mattinson 9c90cc89ba Replaced 0 by -1 to indicate free entry in
X11DRV_PALETTE_XPixelToPalette.
2002-05-29 00:33:44 +00:00
Alexandre Julliard 07439cd2d0 Removed dependencies on the internals of the region object.
Do not store the region type in the object, it's trivial to determine
from the rectangle count.
Rewrote a few routines to not depend on internal clipping or region
functions.
2002-05-25 22:16:12 +00:00
James Juran 32886f6b88 Add missing \n to output messages. 2002-05-24 21:17:59 +00:00
Lionel Ulmer 236893c620 Support querying of number of visuals without reporting an error or
crashing.
2002-05-24 21:14:16 +00:00