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
Dimitrie O. Paun
e361ceab45
Remove the --managed option, and make wine use the managed mode by
...
default.
2002-05-23 02:43:09 +00:00
Alexandre Julliard
9bb05fc48e
Specify the complete source file list for a dll inside the main
...
makefile and get rid of the subdirectories makefiles.
2002-05-14 18:36:54 +00:00
David Hammerton
5d01936771
Lock/unlock (and hence maybe coerce) DIBSections into GdiMod during
...
the SetDIBits and GetDIBits functions, before actually accessing the X
Pixmap.
2002-05-11 22:51:34 +00:00
Alexandre Julliard
92b376d61d
Moved parts of the DC initialisation and bitmap selection out of the
...
drivers into the common code.
2002-05-07 02:08:46 +00:00
David Hammerton
7e15e5d5c3
In initial dibsection creation, the dibsection should always be in
...
appmod because the app memory is initialized to zero if no
offset/section is specified, while the DIBitmap is not.
2002-05-04 18:32:48 +00:00
Alexandre Julliard
5cab46ee58
Cleaned up some inter-dll dependencies in palette management.
2002-05-02 21:49:50 +00:00
Alexandre Julliard
dec2cee2fb
Removed some direct accesses to the DC structure.
2002-05-02 01:39:48 +00:00
Alexandre Julliard
5769d1de00
Better support for configure detection of missing types, added check
...
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +00:00
Alexandre Julliard
64896d03da
Added support for installing an error callback when expecting an X11
...
error.
2002-04-24 21:32:11 +00:00
Alexandre Julliard
ab246a679b
Pass a PHYSDEV to EnumDeviceFont and release the GDI lock in
...
FONT_EnumInstance instead.
2002-04-14 19:42:43 +00:00
Christoph Frick
069dd51eb7
Reuse visuals to avoid MAX_PIXELFORMATS limit.
...
Activated the code to support the stencil buffer.
2002-04-11 23:48:42 +00:00
Hidenori Takeshima
6aadb22bfb
Use hard-coded font name bindings only with the ANSI_CHARSET (non-US
...
charsets with no font name shouldn't be bound to US charset).
2002-04-11 23:45:15 +00:00
Huw D M Davies
0f55bdd43b
We don't handle STRETCH_HALFTONE mode yet; make this do the same as
...
STRETCH_DELETESCANS for now.
2002-04-09 01:34:06 +00:00
Alexandre Julliard
a0320042c6
Fixed compile when HAVE_OPENGL is not defined.
2002-04-08 23:47:25 +00:00
Michael Karcher
ea9cf5c531
Fixed OpenGL routines broken by the DC -> PHYSDEV change.
2002-04-08 22:43:58 +00:00
Huw D M Davies
c2c8bf1bdd
If lfFaceName == "", then we patch up the names according to
...
lfPitchAndFamily. This is not very pretty I'm afraid...
2002-04-03 22:09:58 +00:00
Huw D M Davies
e1e51f9922
Don't calculate cached metrics or enumerate X11 fonts if we're using
...
client side fonts.
2002-04-03 21:18:50 +00:00
Patrik Stridvall
14c96c1017
Fixed some issues found by winapi_check.
2002-04-03 02:37:09 +00:00
Alexandre Julliard
c71417ce24
Fixed crash in BitBlt when source DC is NULL.
2002-04-02 03:00:00 +00:00
Alexandre Julliard
e21c15e39d
Changed the GDI driver interface to pass an opaque PHYSDEV pointer
...
instead of a DC structure.
Removed some direct accesses to the DC structure from the drivers.
Got rid the bitmap driver.
2002-03-28 22:22:05 +00:00
Alexandre Julliard
8911856858
Moved metafiles and win16 drivers to dlls/gdi.
2002-03-27 21:13:40 +00:00
Alexandre Julliard
ced71edbd7
Added support for driver-specific escapes in the x11drv to retrieve
...
X11 information. Finished dll separation of opengl32.
2002-03-23 21:43:56 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Andreas Mohr
8bc7f16caa
Spelling/alignment fixes.
2002-02-27 01:34:08 +00:00
Dmitry Timoshkov
a24551e638
Do not write beyond end of color table in X11DRV_DIB_SetDIBColorTable.
2002-01-29 17:50:26 +00:00
Guy Albertelli
63ba55b00c
Don't fill colormap beyond end of screen depth.
2002-01-29 17:04:16 +00:00
Uwe Bonnes
6e5f6d0ce0
XFONT_GetAvgCharWidth: Always round up.
2002-01-29 16:48:20 +00:00
Dimitrie O. Paun
693cca5d4d
Make FIXMEs more grep-able.
2002-01-29 03:12:19 +00:00
Huw D M Davies
6f7fc50424
Uses Xrender extension to allow client side font rendering.
...
Adds nice things like anti-aliased text.
2002-01-29 03:07:21 +00:00
Alexandre Julliard
80a3bb4fc0
Removed LoadOEMResource from USER driver.
2002-01-04 18:27:41 +00:00
Gavriel State
9e7c1111a6
Speed up the GetImageBits case where we have an XShm image.
2002-01-04 18:23:17 +00:00
Alexandre Julliard
2cc54c8c49
Moved the OEM bitmaps that don't depend on the Wine look into the
...
user32 resources.
2002-01-02 21:49:23 +00:00
Alexandre Julliard
193cf50a09
Removed some of the calls to HEAP_strdup* functions.
2002-01-01 00:24:30 +00:00
François Gouget
6add87e608
Handle more than 8 bits per color component.
2001-12-21 19:18:48 +00:00
François Gouget
de02bdf37e
Merged the handling of 15 and 16 bits X server depths.
...
Use the masks to distinguish between 15 and 16 bits.
Check the masks better and call generic code if they are not
supported directly.
Changed the 'notsupported' traces from FIXMEs to WARNs.
2001-12-21 19:18:30 +00:00
Alexandre Julliard
d7b76822ef
Use MapLS/UnMapLS instead of SEGPTR_* macros.
2001-12-20 00:19:40 +00:00
Alexandre Julliard
b0f586178a
Moved heap functions to ntdll.
...
Got rid of internal heap flags.
Reimplemented MapLS to not depend on the segptr heap.
2001-12-19 19:16:27 +00:00
Alexandre Julliard
9fcd89a5d8
Removed unnecessary includes.
2001-12-17 22:12:23 +00:00
Alexandre Julliard
7d155d6706
Changed DC hook and abort proc handling to avoid having to allocate
...
thunks dynamically.
2001-12-17 20:58:06 +00:00
Alexandre Julliard
8cd55d0eba
Moved most of the real-mode stuff to dlls/winedos.
2001-12-04 19:54:44 +00:00
Francois Gouget
070e749cfb
Don't prefix %p with 0x.
...
Various English fixes.
2001-11-06 21:01:32 +00:00
François Gouget
74c2cbeecf
Add traces to help diagnose systematic cached-metrics regeneration
...
problems.
2001-11-06 00:46:36 +00:00
Dmitry Timoshkov
3f8e407d48
Convert GetCharWidth to Unicode.
2001-11-05 23:56:22 +00:00
François Gouget
69f8b8f63e
Fix line length calculation in X11DRV_DIB_Convert_any_asis.
...
Correctly initialize the color masks of 24bpp DIBs.
2001-11-05 23:52:18 +00:00
Huw D M Davies
8bf8021f94
ExtTextOutW with symbol fonts works with chars in the ranges
...
0x0000 -- 0x00ff and 0xf000 -- 0xf0ff and not, for example, with
chars in the Unicode Greek range.
2001-10-23 19:54:27 +00:00
Andreas Mohr
e15badb478
Cosmetics.
2001-10-21 15:18:15 +00:00
Francois Gouget
4e31b8b34b
Fix tons of color conversion bugs.
...
Reorganize things more rationally and so that more code is shared.
2001-10-17 19:41:54 +00:00
Francois Gouget
88372a6aef
Use the same color conversion algorithm as the DIB code (and Windows),
...
i.e. shifts, not MulDivs.
Fix the grayscale formula.
2001-10-17 17:45:33 +00:00
Francois Gouget
e5ddd26dd7
When including config.h, include it first.
2001-10-14 16:18:52 +00:00
Francois Gouget
58b299521d
Small typo fixes/updates.
2001-10-08 20:40:09 +00:00
Alexandre Julliard
c8f3fed5cb
Ignore RLE data that goes past the line end (found by Uwe Bonnes).
...
General cleanup of the RLE routines.
2001-10-04 18:16:37 +00:00
Alexandre Julliard
3c76b14474
Skip BitBlt DIB optimization if source and dest DCs have different
...
depths.
2001-10-03 18:45:41 +00:00
Huw D M Davies
6e24a0a46e
Avoid calling RestoreDC with gdi lock.
2001-09-14 21:28:36 +00:00
Huw D M Davies
bed56ddbc7
Release gdi lock before calling DeleteDC.
2001-09-14 00:11:16 +00:00
Huw D M Davies
814654ef9f
Lay down the infrastructure for gdi font rendering.
...
Partial implementation of GetGylphOutline and GetOutlineTextMetrics
for gdi fonts.
2001-09-12 20:21:06 +00:00
Patrik Stridvall
3c0211f969
Cleanup code that is strange or difficult to parse.
2001-09-11 00:32:32 +00:00
Jukka Heinonen
6b9d4ab65d
Changing DIB color table now updates the DIB visible state.
2001-09-07 19:47:10 +00:00
Guy L. Albertelli
342b5a861a
Prevent bomb when GDI_ObjPtr returns null object.
2001-09-07 15:28:10 +00:00
Gerard Patel
e8829c01e6
Default bitmap is not subject to reference counting.
2001-08-21 17:03:39 +00:00
Alexandre Julliard
3036fef6a7
Refuse to select a bitmap that is already selected in another DC.
2001-08-20 19:19:18 +00:00