Commit Graph

71 Commits

Author SHA1 Message Date
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 383da68cf9 Optimized debugging API to reduce code size. 2000-02-10 22:15:21 +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
Alexandre Julliard b2f6f0e7d2 Removed resource.h. 2000-02-03 01:54:36 +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
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
Niels Kristian Bech Jensen c69a80c31d Compiler warnings fixed. 1999-11-28 20:31:04 +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
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 cdeaa85206 Add `Cassette' to PPD -> windows printer-bin mapping. 1999-11-04 01:57:38 +00:00
Luc Tourangeau f0e0ded125 Some small corrections to the ExtTextOut function. 1999-10-23 14:05:58 +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
Luc Tourangeau 3471f0f527 Implemented invisible pens. 1999-09-19 12:04:42 +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
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
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 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
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
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
Alexandre Julliard 61fece0590 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-06-26 19:09:08 +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
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
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 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
Huw D M Davies 79641da5e5 Small fix to help native win95 PrintDlg on the way. 1999-05-13 18:44:44 +00:00
Patrik Stridvall 896889f317 ANSI C fixes. 1999-05-08 12:50:36 +00:00
Huw D M Davies a9f55c46c1 Split off wingdi16.h from wingdi.h. Add many more #defines/typedefs
to bring wingdi.h almost upto a complete NT4.0 interface.
Fix return value of SetRectRgn().
1999-05-08 12:45:18 +00:00
Huw D M Davies 1d4af587fc Small update to the PostScript encoding vector. 1999-05-03 09:21:21 +00:00
Huw D M Davies 7603deae21 General tidy up of the MetaFile driver - make sure that everything
goes through the DCFuncs table.
1999-04-25 09:24:23 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Robert Pouliot 0a9975242a A few patches to help Wine to compile on OS/2. 1999-04-16 06:55:26 +00:00
Huw D M Davies 0d211d1cf5 Limit lastChar to 0xff in PSDRV_GetCharWidth. 1999-04-15 15:13:54 +00:00
Patrik Stridvall b87fe2e9bf More code moved to the X11 driver (bitmap and palette and misc). 1999-04-01 08:16:08 +00:00
Huw D M Davies 610b001de5 More Escapes for the PostScript driver. 1999-03-28 09:13:26 +00:00
Huw D M Davies 44a79c4925 Added StretchDIBits for the PostScript driver. 1999-03-23 13:46:04 +00:00