Commit Graph

440 Commits

Author SHA1 Message Date
Huw Davies 210b54670c We don't support GetDIBits with BI_RLE4/8, so for now return an
uncompressed bitmap if the bits buffer is large enough.
2004-03-30 20:39:09 +00:00
Dmitry Timoshkov d687ed2e28 Fix Slovenian keyboard layout to better match the XFree86 one. 2004-03-29 22:56:18 +00:00
Alexandre Julliard fac49cbae8 Avoid crash in X11DRV_IsSolidColor for TrueColor displays. 2004-03-27 01:37:32 +00:00
Huw Davies caab4c6f39 Build the correct colour map when the mode is DIB_PAL_COLORS. 2004-03-27 01:37:09 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Mike Hearn 99afa3a4a2 The KeymapNotify event does not use the window member, so don't warn
about it being unknown.
2004-03-19 01:17:32 +00:00
Dmitry Timoshkov 21fc3c8067 CreateDIBSection takes a const pointer to BITMAPINFO. 2004-03-12 19:46:12 +00:00
Dmitry Timoshkov 4edbbbd8ea Windows truncates windows coordinates at 16 bits when moving or
resizing a window.
2004-03-11 03:51:46 +00:00
Jason Edmeades af83e4cf91 Calculate the size of BI_BITFIELDS dib sections via the width and
height.
2004-03-07 03:47:55 +00:00
Alexandre Julliard 05df86a38f Moved more GDI definitions to gdi_private.h.
Get rid of bitmap.h and palette.h.
2004-03-04 20:41:12 +00:00
Alexandre Julliard 83decd25ad Changed the CreateDC driver entry point to use an HDC instead of a DC
pointer.
2004-03-04 06:26:11 +00:00
Alexandre Julliard 37fda71e41 Get rid of the X11DRV_DC_Funcs hack.
Removed a couple of unused bitmap functions.
2004-03-04 06:13:21 +00:00
Alexandre Julliard ebd24807fe Pass the gdiFont object to the SelectFont driver entry point so that
we don't need to look into the DC structure for it.
2004-03-04 04:05:04 +00:00
Alexandre Julliard 9b90e95d65 Avoid direct accesses to the xformWorld2Vport DC field. 2004-03-04 03:55:52 +00:00
Alexandre Julliard 8d18b2a518 Pass the breakExtra value in the ExtTextOut driver call, since there
is no function to retrieve it from the HDC.
2004-03-04 01:42:57 +00:00
Alexandre Julliard 45468c06df Changed the GetTextExtentPoint graphics driver entry point to return
device coordinates.
Removed not used breakCount field in the DC structure.
2004-03-03 21:32:15 +00:00
Francois Gouget 87f223a879 Assorted spelling and case fixes. 2004-03-02 20:55:57 +00:00
Huw Davies 10e05d02f2 Enable resizing if WS_THICKFRAME is set. 2004-03-02 20:54:41 +00:00
Patrik Stridvall 8f9b09e947 Fixed some issues found by winapi_check. 2004-02-27 21:32:54 +00:00
Patrik Stridvall ede82e3055 Fixed some issues found by winapi_check. 2004-02-20 20:19:23 +00:00
Ulrich Czekalla 455a22394a Implemented rendering synthesized BITMAP and DIB formats. 2004-02-20 05:43:00 +00:00
Finlo Boyde bb6fde284e Fix for deadlock when using private colormap. 2004-02-20 01:04:51 +00:00
Ulrich Czekalla 0bc05d41a3 Advance index as we set the atom values. 2004-02-19 01:10:16 +00:00
Alexandre Julliard 685b936214 The clip rectangle for ExtTextOut is in logical coords. 2004-02-16 20:35:52 +00:00
Alexandre Julliard e04fe7da4e Moved hGCClipRgn handling to the graphics driver. 2004-02-13 20:26:27 +00:00
Alexandre Julliard da6214a37d Get rid of a few more references to the DC structure. 2004-02-13 04:00:29 +00:00
Alex Pasadyn a4626a43f5 Update the desktop window size and send WM_DISPLAYCHANGE on resolution
changes.
2004-02-13 03:58:21 +00:00
Leonardo Quijano Vincenzi 9d956b2395 Fixed Latin American keyboard. 2004-02-10 01:35:57 +00:00
Francois Gouget ad5ff7ceeb Assorted spelling and case fixes. 2004-02-09 22:07:42 +00:00
Alex Pasadyn d18c8ca78f Make full-screen popup windows managed. 2004-02-06 05:17:55 +00:00
Dmitry Timoshkov ee2608d5aa Issue WARN instead of FIXME when there are mismatches between hard
coded and real keyboard layouts.
2004-02-03 21:28:39 +00:00
Alex Pasadyn 96bd8ea7d5 Use the first mode in the XVidMode mode list as the default. 2004-02-03 00:10:23 +00:00
Aric Stewart 04279d18cd The NVIDIA graphics device comes up as an X extension event, but
throws an error (BadMatch) when querying for the buttons. Catch this
error and and discard that device from being a tablet device.
2004-01-30 22:56:06 +00:00
Chris Morgan 98ae5ac103 If unable to open an X11 display mention that X needs to be running
and that $DISPLAY must be set correctly.
2004-01-30 22:54:39 +00:00
Aric Stewart fad2971151 Back out an unintentional change that snuck in with the XIM change. 2004-01-27 03:55:37 +00:00
Francois Gouget 6b6ed724ae Add missing '\n's to debug traces. 2004-01-27 00:01:43 +00:00
Aric Stewart 9672b791ee Use X11 XIM callbacks to enable full IME support.
Correct some timing issues with XIM input.
Start to provide the framework for the MSIME messages.
2004-01-21 02:22:26 +00:00
Alexandre Julliard 294c8af60b Removed some unnecessary inclusions of gdi.h. 2004-01-20 22:48:57 +00:00
Alexandre Julliard 50a783f734 Get rid of some direct accesses to the DC structure from outside GDI. 2004-01-20 22:04:00 +00:00
Alexandre Julliard 32f1ac3a66 Use the exported FONTENUMPROCW as parameter in the EnumDeviceFonts
driver function instead of defining a private function type.
2004-01-18 23:35:12 +00:00
Alexandre Julliard b89525fb06 Removed the bitsPerPixel field in the generic DC structure, and leave
it up to the graphics driver to define it if necessary.
2004-01-18 22:20:17 +00:00
Marcelo Duarte b12ecc0e8d Fixed typos. 2004-01-18 22:10:39 +00:00
Alexandre Julliard 7342390852 Get rid of the global INTERNAL_[XY]WSTODS macros. 2004-01-15 06:19:35 +00:00
Alexandre Julliard 6ec42c0c3b Moved a bunch of definitions from gdi.h into a new gdi_private.h to
make sure we don't use them outside of gdi32.
2004-01-15 00:35:38 +00:00
Alexandre Julliard 85dcf1e1a0 Moved SetDrawable, StartGraphicsExposures and EndGraphicsExposures
functionality to x11drv escapes so that we don't have to access the DC
structure directly.
2004-01-14 04:53:11 +00:00
Alexandre Julliard 53145d96f6 Moved some code around to avoid exporting DIB functions from gdi32. 2004-01-13 23:31:46 +00:00
Alexandre Julliard c0faca0755 Avoid direct access to the palette structure. 2004-01-13 05:25:30 +00:00
Alexandre Julliard a51bb8151d ScrollDC doesn't need to be in the graphics driver. 2004-01-12 21:15:16 +00:00
Alexandre Julliard 19dfc3ce74 Removed XInitThreads call, the X libraries still have too many bugs to
make this viable.
2004-01-09 01:10:59 +00:00
Aric Stewart 2eebf3c78e Enable Tablet support with both Tilt and Pressure. 2004-01-09 00:03:00 +00:00
Ulrich Czekalla 6af0df45d6 Add option to use the primary selection in addition to the clipboard
selection.
2004-01-08 00:43:46 +00:00
Francois Gouget 640cc3f3e1 Assorted spelling fixes. 2004-01-06 22:08:33 +00:00
Alexandre Julliard 446d8321a7 Store window icons in the window structure so that WM_SETICON can do
the right thing (based on a patch by Aric Stewart).
2003-12-31 23:51:52 +00:00
Zimler Attila 14f7446f70 Fixed Hungarian keyboard layout. 2003-12-30 19:14:59 +00:00
Sami Aario bee1f7c8df Fixed a typo. 2003-12-30 19:14:35 +00:00
Jerry Jenkins 4e6fab5349 Fix managed state of some windows. 2003-12-13 00:05:53 +00:00
Dimitrie O. Paun 2eaefbd1a4 Move content of global.h into the appropriate private headers. 2003-12-08 21:58:55 +00:00
Alexandre Julliard 5329fc8902 Get rid of clipboard.h. 2003-12-05 04:45:50 +00:00
Alexandre Julliard 4715f13209 Moved all the files in graphics/x11drv to dlls/x11drv. 2003-12-05 00:20:27 +00:00
Alexandre Julliard a4330f9363 Removed X11 display parameter from the config file, this is more
confusing than useful.
2003-12-05 00:11:48 +00:00
Alexandre Julliard e6d7d5ab2c Initialize Xlib threading support to see what it breaks... 2003-12-04 21:59:51 +00:00
Mike Hearn 27d972f22a Map (WS_EX_TOOLWINDOW & WS_CAPTION) to _NET_WM_WINDOW_TYPE_UTILITY. 2003-12-04 21:54:13 +00:00
Alexandre Julliard 1bacc584e3 Portability fixes. 2003-12-04 05:11:56 +00:00
Alexandre Julliard 402b79a1e8 Porting fixes. 2003-11-27 00:59:36 +00:00
Rein Klazes a97c7d2fb3 In clip_children() don't clip the visible region by children that have
a WS_EX_TRANSPARENT style.
2003-11-27 00:56:05 +00:00
Dmitry Timoshkov 985ae970fb Fix .spec file parameters for CreateDC driver API. 2003-11-26 22:03:34 +00:00
Huw Davies c2d3477556 Add support for display of dibs on MSB XServers. 2003-11-25 03:27:37 +00:00
Alexandre Julliard 15c64e704b Removed the ts_xlib files. 2003-11-21 21:50:59 +00:00
Alexandre Julliard 64c0e2ac96 Removed the remaining TSX calls. 2003-11-21 21:48:36 +00:00
Alexandre Julliard 8a7fbf542d Removed more TSX functions. 2003-11-21 05:41:56 +00:00
Alexandre Julliard 720af28ea4 Always ignore BadMatch errors resulting from XSetInputFocus so that we
don't need to wait for the reply.
2003-11-21 05:30:34 +00:00
Alexandre Julliard 3f6cb0cc3f Delay the creation of the X atoms until we really need them, to allow
getting more of them in one call.
Use XGetAtomNames to retrieve all the selection atoms at once.
2003-11-21 05:23:17 +00:00
Alexandre Julliard 2496c08b76 Get rid of a bunch of TSX functions. 2003-11-21 00:17:33 +00:00
Alexandre Julliard b539a571e3 There's no need to initialize XKB on the GDI display, this saves a
couple of server round trips.
2003-11-20 23:46:24 +00:00
Ulrich Czekalla 032bdc9f1d Initial implementation to support XDND protocol. 2003-11-20 22:09:51 +00:00
Alexandre Julliard d09c3289a2 Intern all the atoms we'll need in one step to avoid multiple server
round trips.
2003-11-20 04:24:18 +00:00
Grant Williamson 2a825b9e3b Dutch keyboard support. 2003-11-20 04:14:30 +00:00
Dmitry Timoshkov b0c2e54a03 Add preliminary support for keyboard layout APIs. 2003-11-14 03:32:43 +00:00
Dmitry Timoshkov 4f21b3cd64 Fix a bug in VkKeyScan. 2003-11-11 21:57:52 +00:00
Huw Davies b330df5665 Rewrite ScrollDC. 2003-11-11 00:43:16 +00:00
Huw Davies 9959aca826 GetTextExtentPoint should include an inter character spacing set by
SetTextCharacterExtra.
2003-11-11 00:28:19 +00:00
Alexandre Julliard 9f514fe239 Avoid the XSync call in X11DRV_expect_error by storing the current
request number and checking that on errors.
Moved the XSync call from X11DRV_check_error into the callers so that
it can be avoided for requests that already wait for a reply.
2003-11-09 00:34:43 +00:00
Ulrich Czekalla 16ff6689df Implemented SetDCPenColor and SetDCBrushColor. 2003-11-05 01:43:57 +00:00
Dmitry Timoshkov 9ac3bdd85f WM_WINDOWPOSCHANGING should receive original, not fixed values. 2003-11-04 04:21:42 +00:00
Alexandre Julliard 7fcc737faa Fixed type and protection values returned by NtQueryVirtualMemory to
be closer to what Windows does.
Allow using MEM_SYSTEM without MEM_RESERVE to avoid 64k alignment.
Use pread instead of lseek+read when faking mmap.
2003-11-03 22:21:55 +00:00
Dmitry Timoshkov 262b93caa3 Add support for QWERTZ virtual keys mapping, fix many keyboard layouts
to conform to the XFree86 ones, add support for Russian cp1251 and
phonetic keyboard layouts, Israelian phonetic and Saharon keyboard
layouts.
2003-11-03 22:13:48 +00:00
Gerald Pfeifer 6e17989681 Move event_names[] into EVENT_ProcessEvent(). 2003-10-28 21:09:47 +00:00
Dmitry Timoshkov c99317a8c9 Windows always sets cbtc.hwndInsertAfter to HWND_TOP. 2003-10-24 04:21:46 +00:00
Oleg Prokhorov b6ee614a81 Another portion of HeapReAlloc fixes. 2003-10-24 00:29:43 +00:00
Gerald Pfeifer 219b19f780 Remove unused variable depths[]. 2003-10-21 23:49:25 +00:00
Alex Pasadyn bab639e78a - Added support for XRandR extension.
- Added new debugging channels for resolution changing.
- Streamlined resolution changing and removed duplicated code.
2003-10-16 00:21:42 +00:00
Dmitry Timoshkov b27c09b25f Fix Finnish keyboard layout to better match the XFree86 one. 2003-10-14 20:07:03 +00:00
Dmitry Timoshkov 9bd1dbd0b4 Fix some cases when 'keysym' might be left uninitialized. 2003-10-14 01:17:37 +00:00
Dave Belanger 9973af57e9 Implementation of underline and strikeout text in xrender. 2003-10-11 05:24:22 +00:00
Dimitrie O. Paun fbdfd910c1 Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. 2003-10-11 01:09:15 +00:00
Alexandre Julliard e0c082b339 We only need to check for same process siblings in desktop mode for
top-level windows.
2003-10-03 03:38:05 +00:00
Alexandre Julliard 33fee69bf4 In desktop mode, only move the window in Z-order relative to siblings
belonging to the same process.
2003-10-02 04:47:35 +00:00
Salmela 2d7cc858d7 Updated Finnish keyboard layout. 2003-10-02 04:28:57 +00:00
Alex Pasadyn bd554e63fc - Add more logging to resolution changes and queries.
- Always enumerate and allow 8, 16, and 32-bit modes.
- Add more default choices to Wine desktop sizes.
- Renamed some variables to make things easier to follow.
2003-09-30 00:31:42 +00:00
Alexandre Julliard 90dc6580f5 Make sure all 16-bit system drivers are loaded for 16-bit apps. 2003-09-27 02:34:07 +00:00