Commit Graph

558 Commits

Author SHA1 Message Date
Patrik Stridvall a62a26ced0 Fixed some issues found by winapi_check. 2002-09-09 19:26:55 +00:00
Shachar Shemesh 8551a8f3fb - Return old code for handling parameters to GetCharacterPlacement (+
fix heap overrun in it). New code did not correctly match the Windows
  behaviour.
- Amend the BiDi algorithm so that many strings will now produce quite
  readable output.
2002-09-04 18:49:36 +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
Mike McCormack e9280a1eec Handle NULL buffer in GetObject. 2002-08-20 00:33:20 +00:00
Mike McCormack 36e72761d3 Added sanity checks on EMRCREATEDIBPATTERNBRUSHPT values.
Fix a memory leak.
2002-08-17 18:30:48 +00:00
Huw D M Davies 095e084d50 Allow an app to open the file of a disk based emf for reading while
the hemf is still open.
Implement SetWinMetaFileBits in a more sane fashion.
2002-08-17 01:37:50 +00:00
Huw D M Davies b482e9ac0c Fix for metafile ExtTextOut that only includes the rectangle if either
ETO_CLIPPED or ETO_OPAQUE is set.
Slightly less of a stub implementation for GetWinMetaFileBits.
2002-08-16 20:04:29 +00:00
Huw D M Davies 409000c36f Translate OutlineTextMetrics to logical co-ords. 2002-08-16 19:57:32 +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
Huw D M Davies 6b5aaa1162 DeleteObject() can fail if the object is a DC, however we've already
called GDI_ReleaseObj() so don't call it again.
2002-08-15 23:19:40 +00:00
Huw D M Davies b4bdd818e0 Add missing HeapFree. 2002-08-09 00:55:33 +00:00
Alexandre Julliard 93a6444b45 Don't set the DC_DIRTY flag in SetDCState since we just updated the DC. 2002-08-02 01:01:09 +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 7375597fe2 Fixed some handle type mismatches and added a few casts in prevision
of void* handles.
2002-07-31 19:26:03 +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
Lionel Ulmer e1ae23e094 Properly check that the font resource is not already there. 2002-07-24 01:58:01 +00:00
Shachar Shemesh e33f327fe9 Now checks that the GCP_REORDER flag is set before trying to access
any of the fields that depend on this flag.
2002-07-22 20:36:16 +00:00
Andreas Mohr 8ba0c715c7 CreateDCA should return failure if both driver and device are NULL. 2002-07-20 20:07:44 +00:00
Patrik Stridvall a3868218d0 Fixed some issues found by winapi_check. 2002-07-19 00:30:16 +00:00
Alexandre Julliard 4227bf4af2 BITMAP_SelectObject must return the old handle, not the current one. 2002-06-28 23:33:26 +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
Ulrich Czekalla 550b97e7cd Added temp fix for world transform bug in SetWindowOrgEx handler.
Added handlers for EMR_SETTEXTJUSTIFICATION and EMR_SETLAYOUT.
2002-06-24 23:09:19 +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
Shachar Shemesh 4ebb7b536e ExtTextOutW: if GetFontLanguageInfo says that the font may require
reordering, call GetCharacterPlacementW and print the result.
2002-06-14 23:29:16 +00:00
Shachar Shemesh 74bd0da3eb - Implemented a skeleton for GetFontLanguageInfo. Using const masks to
match against the result of GetTextCharsetInfo. Not all attributes are
  implemented yet.
- Enhanced the implementation of GetCharacterPlacementW to support
  basic reordering. Not implementing the full BiDi algorithm yet.
2002-06-14 23:28:55 +00:00
Dmitry Timoshkov 5cd279aae4 Fixed the names of some stock fonts. 2002-06-13 23:59:53 +00:00
Won Kyu Park c6228b36f9 Fixed defaultGuiFont for Korean. 2002-06-13 19:10: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
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 55e845d11b Removed most inclusions of options.h.
Removed a few no longer used PROFILE_* functions.
2002-05-23 19:40:18 +00:00
Alexandre Julliard 0aa28b5b8d Export the debugging API from libwine instead of ntdll.
Removed debugres_[aw].
2002-05-17 02:55:48 +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 da580c47ff Added ExtSelectClipRgn to the DC interface and implemented it for
standard and enhanced metafiles.
2002-05-09 04:03:46 +00:00
Andreas Mohr 757e7cb40d Replace SELECTOR_AllocBlock and SELECTOR_FreeBlock with standard Win16
selector calls.
2002-05-08 00:20:40 +00:00
Alexandre Julliard 7ac10d5007 Fixed vis region handling broken by last change. 2002-05-07 18:30:19 +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
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 0b87a19a35 Fixed handling of visible region in Save/RestoreDC. 2002-04-21 22:10:35 +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 8a32613886 Spout a FIXME if we try to call ExtTextOut on an open path. 2002-04-06 00:37:50 +00:00
Huw D M Davies 671577296e Added support for ResetDC. 2002-04-06 00:00:56 +00:00