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
Huw D M Davies
b8e94b6119
Move Bezier code out of x11drv into commmon GDI code; if any driver
...
does not implement PolyBezier[To] the curve is approximated to lines
and drawn with Polyline.
Implement many GDI-Path recording functions (at least the win9x subset).
Implement FlattenPath and FillPath.
1999-12-20 04:14:48 +00:00
Lionel Ulmer
c21de847ab
Adds resolution / depth switching with DGA 2.0.
1999-12-20 03:45:54 +00:00
Lionel Ulmer
3ba4be4054
- added support of DGA-2.0 events
...
- fixed the leaving of DGA-2.0 mode
1999-12-12 19:42:47 +00:00
Andreas Mohr
7fb732e597
Fixed compiler warnings.
1999-12-12 00:47:51 +00:00
Patrik Stridvall
cf84434213
Improved the TTY driver.
1999-12-11 23:08:48 +00:00
Dimitrie O. Paun
dd03cc19fd
Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
...
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Huw D M Davies
f0f8da5870
Fixes several bugs in gdi path handling.
...
Adds *Path functions to dc funcs table + add EnhMetaFile recording.
Separate out Polylne/PolylineTo and PolyBezier/PolyBezierTo in dc
funcs table to enable proper enhmetafile recording.
The current position update in *To functions is now handled by the
main function and not in the drivers.
Move USER functions from graphics/painting.c -> windows/painting.c
1999-12-05 23:54:02 +00:00
Marcus Meissner
867c436a48
Merged _all_ lpClipper into common_surface.
...
Add NULL ptr check to SetClipper.
Some more debug output.
1999-12-05 23:07:23 +00:00
Marcus Meissner
8b7c1906a7
Moved lpClipper into common_directdrawsurface struct
...
Release old clipper on new set
1999-12-05 02:19:56 +00:00
Lionel Ulmer
ba02d1d7d5
First support of DGA 2.0 for DirectDraw.
1999-12-04 04:22:04 +00:00
Peter Hunnisett
6db0502993
Improved stubs for the ddraw clipper routines.
1999-12-04 03:55:58 +00:00
Niels Kristian Bech Jensen
c69a80c31d
Compiler warnings fixed.
1999-11-28 20:31:04 +00:00
Bradley Baetz
7b5e33c6ac
Give the app back the exact font name it asked for.
1999-11-28 20:16:37 +00:00
Patrik Stridvall
4d715fd9dd
Improved the stubs.
1999-11-23 23:43:29 +00:00
Ulrich Weigand
d1682aab05
Removed some unaligned accesses.
1999-11-21 02:21:17 +00:00
Niels Kristian Bech Jensen
1d5bc469cc
Removed extra #include statements.
1999-11-21 02:14:36 +00:00
Eric Pouech
be62502611
Fixed a crash in IDirectDrawSurface:BltFast.
1999-11-21 00:51:29 +00:00
Huw D M Davies
395d3705cf
Move PostScript driver docs to documentation/ . Add instructions on
...
how to use regapi to get information into the registry. Supply sample
input to regapi.
1999-11-13 20:55:31 +00:00
Ove Kaaven
7da242dbd5
DirectX-XShm now waits for the X server to finish the previous frame
...
before sending another frame down its pipe, avoiding the X server
overload and resulting slowness that used to be.
1999-11-07 22:44:06 +00:00
Huw D M Davies
c6a03a70dd
If PageSize/InputSlot entry doesn't contain an options translation
...
string use the option name instead.
1999-11-07 05:32:28 +00:00
Huw D M Davies
815581a544
Add DC_VERSION and DC_TRUETYPE to win16drv DeviceCapabilities.
1999-11-04 01:59:38 +00:00
Huw D M Davies
cdeaa85206
Add `Cassette' to PPD -> windows printer-bin mapping.
1999-11-04 01:57:38 +00:00
Ivan de Saedeleer
b81e96eb2a
Fail when LPRECT contains negative values.
1999-10-31 21:32:42 +00:00
Jim Aston
5f930d89e4
Prevent FillRgn from using a NULL pointer.
1999-10-31 17:42:16 +00:00
Francois Gouget
01c9ac401f
Generalized the use of the new ICOM_VFIELD and ICOM_VTBL macros.
1999-10-31 01:59:23 +00:00
Huw D M Davies
c0da44e459
It appears that StartDoc sends the STARTDOC escape with the DOCINFO
...
structure pointed to with the output data parameter.
1999-10-31 01:49:30 +00:00
Huw D M Davies
0f2988565a
Stub for EngineRealizeFontExt (used by the win98 pscript driver).
1999-10-31 01:46:21 +00:00
Patrik Stridvall
96336324cf
- Added missing configuration #if:s and #includes:s.
...
- Minor configuration related changes.
1999-10-24 22:13:47 +00:00
Patrik Stridvall
900290aa9f
Added Win16 variants of existing Win32 functions.
1999-10-24 21:32:43 +00:00
Ulrich Czekalla
e6ab9d308a
Make sure that all calls use the extended structures which are a
...
superset of the regular structures.
1999-10-24 17:26:45 +00:00
Alexandre Julliard
8d29fa9877
Re-applied lost change.
1999-10-23 19:53:57 +00:00
Ove Kaaven
1d4bccc691
Fixed some anonymous union accesses.
1999-10-23 18:52:17 +00:00
Jim Aston
e0f604a3cd
Added another anonymous union using the DUMMYUNIONNAME style.
1999-10-23 16:55:28 +00:00
Francis Beaudet
be5753d35e
Removed an illegal character.
1999-10-23 14:50:56 +00:00
Luc Tourangeau
f0e0ded125
Some small corrections to the ExtTextOut function.
1999-10-23 14:05:58 +00:00
Eric Pouech
bbde86e7ac
Fixed X11DRV_DIB_SetImageBits when called for RLE encoded dibs.
1999-10-13 15:42:04 +00:00
Luc Tourangeau
81bc9dfbaa
Some adjustments to ExtTextOut.
1999-10-13 13:59:18 +00:00
Stephane Lussier
62efee2345
Fixed the clipping for the postscript driver and turned it on (by setting
...
PSDRV_SetDeviceClipping in the function table).
1999-10-13 13:58:45 +00:00
Rein Klazes
d18dd23598
Correct usage of a scratch array in X11DRV_PolyBezier.
1999-10-13 13:51:09 +00:00
Alexandre Julliard
d21dde71b3
Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
...
Fixes problems with color drift when switching to/from
logical/physical colors.
1999-10-13 13:48:11 +00:00
Marcus Meissner
2b31a87b5d
Use 1 macro for rgbbitdepth -> byte determination.
...
xshm/image creation now uses 1/8 of the space for every image.
1999-10-13 12:13:35 +00:00
Peter Hunnisett
89391af7e9
- Changed return code for failure on *_DllGetClassObject to
...
CLASS_E_CLASSNOTAVAILABLE from E_NOTAVAILABLE as documented.
- Replaced memcmps with equivalent IsEqualCLSID or IsEqualGUID macros.
- Changed "return 0;" with S_OK or DS_OK as appropriate.
1999-09-28 16:23:17 +00:00
Alexandre Julliard
3d06d20bab
Moved all signal support to a new platform-specific file.
...
Make use of the per-thread signal stack (Juergen Lock).
Fixed %fs in signal handler for non FS_sig case (Ulrich Weigand).
1999-09-27 10:58:45 +00:00
Noel Borthwick
d05b7beb5a
- Add clipboard support for copying/pasting bitmaps or Pixmaps between Wine
...
and native Linux applications.
- Respond to the MULTIPLE selection request target when Wine is the
selection owner.
- Relax type checking for TARGETS selection.
1999-09-20 15:42:47 +00:00
Ulrich Weigand
af1c41fb8d
Bugfix: create DDB in X11DRV_DIB_GetDIBits if necessary.
1999-09-19 18:58:16 +00:00
Karl Lessard
c73a1fd62d
Some more minor GDI fixes.
1999-09-19 14:15:41 +00:00
Huw D M Davies
56a8644718
Extend DRAWMODE struct to win95 spec.
...
Add some more Escape -> Escape16 conversions.
1999-09-19 14:13:39 +00:00
Huw D M Davies
0098ab6732
Stop trashing devmode if in and out devmodes are the same.
1999-09-19 14:12:52 +00:00
Luc Tourangeau
3471f0f527
Implemented invisible pens.
1999-09-19 12:04:42 +00:00
Huw D M Davies
1bb9860547
Small DIB fixes.
1999-09-19 12:04:17 +00:00
Karl Lessard
dee464c4c6
Fixed GetDIBits problems.
1999-09-14 11:51:01 +00:00
Huw D M Davies
304d9a4737
Change interfaces to THUNK_Alloc/Free slightly and make them non-static.
...
Remove relays for win16drv from CallBack table, instead use build to
generate them directly in graphics/win16drv/prtdrv.c.
If Printer AbortProc is 16bit then allocate thunk and store that as a
32bit proc in DC. Setting of abortprocs now done in the correct place
(i.e. not in the driver).
1999-09-13 15:15:45 +00:00
Lionel Ulmer
5b68233d57
- fixed the creation of back-buffers in DGA mode
...
- added a check on the validity of the Locking rectangle
- fixed the enumeration for DX-6.0
1999-09-11 16:24:28 +00:00
Huw D M Davies
fd24362356
Winspool DocumentProperties and DeviceCapabilities should now work on
...
native 16 bit drivers.
1999-09-10 14:38:19 +00:00
Huw D M Davies
6dd35697f9
Add support for a large number of different paper sizes to PostScript
...
driver.
1999-09-10 14:36:49 +00:00
Nick Holloway
0eac06cce1
If there is not an exact match found for the requested font name,
...
instead of using the first font defined for the printer, map some
common font families (e.g. Arial -> Helvetica), and search again.
1999-09-10 14:18:18 +00:00
Richard Cohen
8dde3c7f60
Various fixes for the X11 font mapper, particularly:
...
- size fonts with negative heights correctly
- calculate average width correctly.
1999-09-05 12:18:57 +00:00
Noomen Hamza
b309b37385
The fast window frame size should be the same as the frame size used
...
by NC_DrawFrame function.
1999-09-04 14:25:55 +00:00
Karl Lessard
41875795cc
Ian Ward
...
Dan Langlois
Speed up conversion between XImages and DIBSections.
1999-09-03 16:49:17 +00:00
Kristian Nielsen
3e473f3e43
Fixed CreateDIBSection() called with negative height to set the height
...
positive in the created DIBSECTION, as per MS knowledgebase Q186586.
1999-08-21 13:07:27 +00:00
Pascal Lessard
dff30ac2c7
Now the conversion in the blt functions round up the result.
1999-08-15 14:18:59 +00:00
Marcus Meissner
af0cff550d
When flipping backbuffer -> frontbuffer, first exchange surfaces, then
...
copy XImage, since the palette might only be defined in the frontbuffer.
1999-08-04 14:26:50 +00:00
Ulrich Weigand
6c6da674ef
Moved various DLLs to dlls/
1999-08-04 09:49:49 +00:00
Patrik Stridvall
2c684081c1
Fixed some of the issues reported by Solaris Lint.
1999-07-31 17:36:48 +00:00
Patrik Stridvall
0e38aa7fda
Various ANSI C compability fixes.
1999-07-31 17:34:43 +00:00
Patrik Stridvall
26ffb3cd76
Fixed/added missing/wrong function prototypes and made internal
...
functions static.
1999-07-31 14:41:43 +00:00
Huw D M Davies
79e94a7483
PSDRV_WriteArc shouldn't write a newpath.
1999-07-31 11:11:21 +00:00
Luc Tourangeau
63ff31eacd
Added a call to the newpath operator immediately before the arc
...
operator.
1999-07-30 18:04:25 +00:00
Huw D M Davies
0f184bf01f
Added more paper sizes and bin names to PPD parser.
1999-07-27 16:09:40 +00:00
Huw D M Davies
815615025e
{Start|End}{Doc|Page} go through DCfuncs.
...
Implement these in the PostScript driver.
Change PSDRV_Escape to use them.
1999-07-25 11:25:59 +00:00
Huw D M Davies
1613e791ff
Rewrote PSDRV_SetDeviceClipping to use GetRegionData API.
1999-07-25 11:14:47 +00:00
Huw D M Davies
b0dd717da2
Implemented ExtEscape.
1999-07-24 12:13:46 +00:00
Huw D M Davies
28896ee7bf
For large font sizes call XLoadQueryFont with a 100 pixel high font
...
and rescale the metrics.
1999-07-24 12:10:23 +00:00
Huw D M Davies
d016b0a02d
Implement handling of 32 bit AbortProc.
1999-07-24 12:09:34 +00:00
Huw D M Davies
91547cbf6a
Fix stupid `rubbish at end of %%Title' bug.
...
Don't complain about palette relative RGBs.
If output param to CreateDC is NULL default to `LPT1:' - Hack.
1999-07-24 10:11:05 +00:00
Huw D M Davies
bb14056c16
EnumJobs stub.
...
Update graphics/psdrv/README.
Add warnings to DRIVER_GetDriverName.
1999-07-23 19:23:49 +00:00
Lionel Ulmer
2bce6fea7e
- Added a new option 'noxshm'
...
- Added a 16bpp -> 32 bpp conversion function
1999-07-23 19:19:56 +00:00
Luc Tourangeau
effc55ea83
- implementation of SetDeviceClipping
...
- coordinate system origin fix
1999-07-18 18:34:45 +00:00
Thuy Nguyen
4884396548
Introduced a [psdrv] section in wine.conf with a ppdfile value
...
specifying the path and name of the PPD file.
1999-07-18 15:25:34 +00:00
Ulrich Weigand
4b32fd0d43
Use position-independent code in assembly glue when building .so.
...
Include if1632/ and graphics/win16drv/ into WineLib.
Move miscemu/emulate.c into dlls/win87em/.
1999-07-15 14:51:40 +00:00
Marcus Meissner
2637ebc2bd
Fixed DirectDrawSurface::Flip, do not change flags, exchange the low
...
level physical surfaces (verified for XLIB with WC Prophecy).
1999-07-12 13:37:29 +00:00
Huw D M Davies
450270bb03
Implemented GetPrinterA and GetPrinterDriverA.
1999-07-10 11:58:50 +00:00
Huw D M Davies
e28224f0ea
Added patterned brushes (level 2 PostScript only).
...
Simple PatBlt for PATCOPY, WHITENESS and BLACKNESS.
1999-07-10 10:21:03 +00:00
Juergen Schmied
56c0bb8bf2
Fixed crash due to invalid GDI_Obj.
1999-07-10 10:10:43 +00:00
Patrik Stridvall
2d0bb2a78c
Started on an implementation of Win64 for use on 64 bit platforms.
1999-07-04 15:56:03 +00:00
Patrik Stridvall
d96e1f133e
Moved code to the X11 driver.
1999-07-04 13:31:03 +00:00
Marcus Meissner
f48db82876
Implemented chains of surfaces. This allows an unlimited number
...
of backbuffers, and other attached surfaces (zbuffers, alpha buffers,
whatever).
1999-07-03 11:57:29 +00:00
Eric Pouech
42ab9a5c3f
Converted to the new debug interface.
1999-06-27 15:40:44 +00:00
Alexandre Julliard
61fece0590
Converted to the new debug interface, using script written by Patrik
...
Stridvall.
1999-06-26 19:09:08 +00:00
Patrik Stridvall
1ed4ecffa8
ANSI C fixes.
...
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Thuy Nguyen
a319df3405
Implemented the underline and strikeout text attributes for the Wine
...
PostScript driver.
1999-06-26 10:18:00 +00:00
Alexander Kanavin
f26c89e83a
Standard dialog boxes resources and OLE strings are now in cp1251 encoding
...
Font mapper does not anymore use fonts in -koi8-r encoding
Font mapper now recognises fonts in -windows-* encodings (these are
provided by xfstt TrueType server)
Font mapper now sees max 16384 fonts (was 2048)
1999-06-22 19:14:40 +00:00
Eric Pouech
2e4c905755
Fixed error handling in DGA_IDirectDraw2Impl_GetCaps().
1999-06-22 19:04:44 +00:00
Eric Pouech
7ac5754626
Added missing GDI heap unlock.
...
Moved to new debug interface.
1999-06-22 19:03:26 +00:00
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