Commit Graph

105 Commits

Author SHA1 Message Date
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
Alexandre Julliard e8a1a232b6 A few fixes in ExtSelectClipRgn metafile functions. 2002-05-28 22:47:49 +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
Alexandre Julliard 7fbd74ea55 Replaced the GET/PUT_UA macros by memcpy. Fixed a few big-endian
issues.
2002-05-23 02:53:10 +00:00
Alexandre Julliard 67e8dc6861 Added configure check for the soname of libraries that we load
dynamically.  Added a few other configure macros, and moved all macros
into aclocal.m4.
2002-05-20 18:29:58 +00:00
Alexandre Julliard 2ab7625934 Removed most imports of ntdll since we no longer import Wine internal
functions from there.
2002-05-17 03:37:12 +00:00
Alexandre Julliard ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +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
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard da580c47ff Added ExtSelectClipRgn to the DC interface and implemented it for
standard and enhanced metafiles.
2002-05-09 04:03:46 +00:00
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +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
Andreas Mohr 3fc3d06a66 Replace DOSFS_GetFullName with wine_get_unix_file_name. 2002-05-07 01:53:51 +00:00
Patrik Stridvall fc2be7edcc Fixed some issues found by winapi_check. 2002-04-29 18:48:56 +00:00
Alexandre Julliard 7418d39f5a Export a few more 16-bit GDI functions. Finished wineps separation. 2002-04-17 16:51:47 +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
Huw D M Davies 671577296e Added support for ResetDC. 2002-04-06 00:00:56 +00:00
Alexandre Julliard 9302f85da8 Fixed compile without freetype. 2002-04-04 15:30:29 +00:00
Aric Stewart 1e6063d531 Use rect only if there are flags. 2002-04-03 22:49:26 +00:00
Huw D M Davies 160be64e9e Added writing META_ESCAPE records. 2002-04-03 22:47:50 +00:00
Huw D M Davies f641cf4724 Removed old FF_ code. 2002-04-03 22:44:35 +00:00
Huw D M Davies 5b01b50631 Implement GetTextExtentPointI and add support for ETO_GLYPH_INDEX. 2002-04-03 22:08:27 +00:00
Huw D M Davies afd519be0e Fix a few font problems with rotated text and non MM_TEXT mapping
modes. Do slightly better with the FF_ flags in WineEngGetTextMetrics.
2002-04-03 21:06:09 +00:00
Huw D M Davies 43b62092a0 Add font substitution lookup in the registry. We look under the key
HKLM\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes for
"fromName[,cp]"="toName[,cp]" where cp can be an optional codepage.
Substitution occurs before scanning the available font list, as is the
case with Windows.
2002-04-03 20:51:20 +00:00
Dmitry Timoshkov 2903ca1bbb Implement GetGlyphIndices. Tweak GetCharacterPlacement to use it. 2002-04-03 20:41:14 +00:00
Huw D M Davies d14b2f0f0b Load libfreetype.so on the fly with dlopen and friends. 2002-04-03 20:02:39 +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 a05e448d90 Renamed some 16-bit spec files to match the dll name. 2002-03-26 19:56:06 +00:00
Eric Pouech 630cde9008 Changed fixed fonts family name. 2002-03-23 18:45:25 +00:00
Alexandre Julliard c1bfca04e1 Changed builtin dlls file names to make it clear they are not normal
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +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
Patrik Stridvall 651a8ba880 Added some defines for compatibility with Windows headers. 2002-02-15 19:12:35 +00:00
Patrik Stridvall 57e5784c21 Move __stdcall/__cdecl to the right place. 2002-02-02 18:42:11 +00:00
Alexandre Julliard 64781643dd Do not use the PEB lock as loader lock, use a separate critical
section for that (and for the graphics drivers).
2002-02-02 18:13:50 +00:00
Alexandre Julliard 18d7573c5e Authors: Huw D M Davies <hdavies@codeweavers.com>, Charles Loep <charles@codeweavers.com>
Various fixes for gdi font handling code including:
- Using TTs VDMX table to ensure that we get exactly that same size
  font that Windows uses.
- Fixes to many members of the metrics structures.
- Font cache.
- Rotated text support.
- Support for GGO_GRAY?_BITMAP (ready for anti-aliased text).
- Support for GGO_NATIVE.
2002-01-29 03:02:50 +00:00
Patrik Stridvall 19d66cc1f6 Fixed some issues found by winapi_check. 2002-01-07 21:16:46 +00:00
Francois Gouget 809c45fc50 Include ftsnames.h or ftnames.h, not both. 2001-12-24 21:10:31 +00:00
Alexandre Julliard ed29c905a8 Changed 16-bit GDI Enum* functions to not use thunks, now that 16-bit
Winelib is no longer supported.
2001-12-17 21:01:58 +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
Huw D M Davies 4e2024e8a8 Implement GetFontData. 2001-10-23 20:06:32 +00:00
Andreas Mohr cf67b00a6a Added stub for GdiInit2(). 2001-09-20 19:32:39 +00:00
Dmitry Timoshkov 123d266965 Do not hold the GDI lock while 16-bit ExtDeviceMode is called. 2001-09-14 01:00:57 +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
Marcus Meissner 83e0bac511 Do not hold the GDI lock when the ABORTDOC procedure is called. 2001-08-18 16:06:47 +00:00
Alexandre Julliard 2fe7c11014 Fixed win16drv initialisation. 2001-08-15 23:30:15 +00:00
Jukka Heinonen cce6dd0033 Include device name in call to CreateIC. 2001-07-31 17:25:47 +00:00
Alexandre Julliard 9208301d16 Rewrote Escape to avoid calling down to Escape16.
Replaced Escape by ExtEscape in the DC function table.
2001-07-29 20:25:14 +00:00