Alexandre Julliard
15b9ed9f61
Converted PlayMetaFileRecord and related functions to 32-bit.
2002-10-18 03:33:37 +00:00
Alexandre Julliard
0ca051e555
Fixed wownt32.h to make it usable from inside Wine, and use it to
...
avoid some duplication of the handle conversion macros.
2002-10-17 16:43:42 +00:00
Patrik Stridvall
ebf582cd48
Updated the generated tests.
2002-10-15 01:53:45 +00:00
Alexandre Julliard
3b059b2a3e
Moved CreateBrushIndirect16 and CreateDIBPatternBrush16 to gdi16.c.
2002-10-03 19:48:59 +00:00
Patrik Stridvall
928ecb4891
Added some more autogenerated tests.
2002-10-02 19:58:27 +00:00
Alexandre Julliard
c728efc3c9
Added --disable-win16 configure option.
2002-10-02 02:34:09 +00:00
Patrik Stridvall
b5bb32c09a
Fixed some issues found by winapi_check.
2002-09-24 18:29:39 +00:00
Patrik Stridvall
1a4db3e72a
Cleaned up the code so it would be easier to parse with the new C
...
parser.
2002-09-23 20:45:57 +00:00
Alexandre Julliard
16a303b376
Replaced 'heap' .spec statement by a command line option.
...
Updated winebuild manpage.
2002-09-12 22:51:20 +00:00
Patrik Stridvall
9c1de6de30
Moved all the content of the DDK files ntdef.h and ntddk.h to
...
winternl.h.
2002-09-12 22:07:02 +00:00
Patrik Stridvall
a62a26ced0
Fixed some issues found by winapi_check.
2002-09-09 19:26:55 +00:00
Michael Stefaniuc
025c0b716b
Prepare dlls/{comctl32,gdi,msvideo,setupapi,shell32,twain,winmm} for
...
the conversion of HWND to a void*.
2002-09-06 19:41:17 +00:00
Alexandre Julliard
cea2e825b2
Link all remaining dlls except kernel32 as separated dlls, by
...
temporarily exporting the few functions that are not properly
separated yet.
2002-09-06 18:51:31 +00:00
Patrik Stridvall
51e6c0ccb1
MSVC compatibility fixes.
2002-08-31 19:04:14 +00:00
Alexandre Julliard
a0b32d7c1b
Added internal 32-bit versions of GDISelectPalette and
...
GDIRealizePalette.
2002-08-29 01:55:16 +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
e161c12e5b
BitBlt and StretchBlt generate META_DIBSTRETCHBLT records.
2002-08-28 00:55:52 +00:00
François Gouget
330098fa54
Detect the FreeType version and adapt the sfnt offset accordingly.
2002-08-17 18:34:34 +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
Dmitry Timoshkov
8f05f90fb2
Do not leave uninitialized pointer.
2002-08-17 01:38:48 +00:00
Huw D M Davies
908a2abe10
Implement simple ExtTextOut for enhmfdrv.
2002-08-17 01:36:55 +00:00
Patrik Stridvall
d016f819f1
Added include protection for unistd.h and sys/time.h.
2002-08-17 00:43:16 +00:00
Mike McCormack
368fab1432
Set cbBits in the EMRCREATEDIBPATTERNBRUSHPT structure when writing an
...
EMF record.
2002-08-17 00:26:57 +00:00
Huw D M Davies
0fc0ef2570
Fix for metafile ExtTextOut that only includes the rectangle if either
...
ETO_CLIPPED or ETO_OPAQUE is set.
2002-08-17 00:25:44 +00:00
Huw D M Davies
7318acaaca
Implemented a few device caps.
2002-08-17 00:25:05 +00:00
Huw D M Davies
bd0a567a2d
Fix for sign of font height in non MM_TEXT mode.
...
Fix GGO_NATIVE again.
2002-08-17 00:23:42 +00:00
Patrik Stridvall
d97f7cdecb
Fixed some issues found by winapi_check.
2002-08-17 00:21:53 +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
Alexandre Julliard
526531eb6c
Create at most one glue file for a single dll.
...
Avoid the intermediate .tmp.o file when building programs.
2002-08-01 18:36:58 +00:00
Alexandre Julliard
267ca68253
Fixed HANDLE<->HFILE conversions, since they will be different types
...
when handles are void*.
2002-07-31 17:20:00 +00:00
Andreas Mohr
7df2d9f187
Misc spelling fixes.
2002-07-24 19:02:50 +00:00
Alexandre Julliard
bc6c650db0
Quiet the font loading error.
2002-07-10 23:16:40 +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
Huw D M Davies
1d70715198
Don't map symbol charset through WCToMB.
2002-06-24 23:07:26 +00:00
Huw D M Davies
8da26fb26a
- Implement AddFontResource*, add stubs for RemoveFontResource*.
...
- Add support for GGO_BEZIER and a few bug fixes for GGO_NATIVE.
- Much better support for non ansi charsets in font matching.
- Proper implementation of GetTextFace for gdi font.
- Load fonts that are listed in the registry but aren't in
%WINDOWSDIR%\fonts.
- Revert TranslateCharsetInfo to use codepage 1252 with ANSI_CHARSET.
- Add support for VIETNAMESE_CHARSET and SYMBOL_CHARSET.
2002-06-22 01:19:29 +00:00
Alexandre Julliard
77afd6c47e
Made some more spec file entries optional or unnecessary.
...
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Alexandre Julliard
1c40426e95
Removed install_libdir targets and centralized the symlinks creation
...
in the main dll makefile.
2002-06-14 02:09:08 +00:00
Huw D M Davies
3955d1a94f
Added PatBlt support in enhanced metafiles.
2002-06-14 00:00:56 +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
Alexandre Julliard
7cae558bdc
Removed some more trailing whitespace.
2002-06-01 02:55:48 +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
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
Alexandre Julliard
99bb9f9775
Added GetDeviceCaps to the DC driver interface. Removed devCaps
...
pointer in the generic DC structure.
2001-07-28 00:18:02 +00:00
Alexandre Julliard
3dd63eb2ad
Build the DC function table by using GetProcAddress on the graphics
...
driver module. Moved driver support to dlls/gdi.
2001-07-27 19:37:31 +00:00
Alexandre Julliard
5f728cae70
Removed HEAP_strdupA.
2001-07-24 21:45:22 +00:00
Alexandre Julliard
f899ef07a6
Removed some unnecessary includes.
2001-07-23 00:04:00 +00:00
Alexandre Julliard
6bbc745dde
Moved the 16-bit pointer to the DIB bits out of the driver-specific
...
structure and into the main bitmap structure. Removed
CreateDIBSection16 from the driver interface.
2001-07-22 23:13:08 +00:00
Patrik Stridvall
01d5e5b071
Documentation fixes.
2001-07-02 19:59:40 +00:00
Patrik Stridvall
a274dd9105
Fixed some issues found by winapi_check.
2001-07-02 01:22:10 +00:00