Commit Graph

98 Commits

Author SHA1 Message Date
Alexandre Julliard f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Alexandre Julliard 088a787a2c makefiles: Make -mno-cygwin the default.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Michael Stefaniuc 783d71366a wintab32: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-12 11:15:26 +01:00
Jacek Caban ca8de0e9f8 wintab32: Fix -Wabsolute-value warning.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-28 20:10:53 +02:00
John Chadwick 27afc0d3ab wintab32: Use 64-bit math in ScaleForContext.
With some tablet configurations, the InExt value passed to
ScaleForContext can be very large, leading to an integer overflow.

Signed-off-by: John Chadwick <john@jchw.io>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-18 19:12:14 +01:00
Alexandre Julliard 57d5db5d64 wintab32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-27 09:29:13 +02:00
Alistair Leslie-Hughes 911e9dad02 wintab32/tests: Improve WTInfoA tests.
Some older WACOM tables dont support DVC_Z, DVC_TPRESSURE.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 20:09:56 +02:00
Alistair Leslie-Hughes 9b7b9fa0f5 wintab32/tests: Add WTInfoA tests.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-11 19:29:41 +02:00
Alistair Leslie-Hughes 810201cf4d wintab32: Improve tracing of LOGCONTEXT.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-11 19:29:41 +02:00
Alistair Leslie-Hughes 0652a2ccc9 winex11: Implement PK_CHANGE for wintab.
Based on a patch by Eriks Dobelis.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-10 21:25:30 +02:00
Michael Stefaniuc 000c708e3b wintab32: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-19 22:42:41 +01:00
Alex Henrie 13cdcdae1a wintab32: Change the LoadTabletInfo failure message from ERR to TRACE.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-25 20:37:10 +02:00
Bernhard Übelacker 3f53876cda wintab32: Correct ordinal in comment to the same as in the spec file.
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-13 19:18:14 +02:00
Michael Stefaniuc 0e4c00a706 wintab32: Remove an always TRUE conditional expression (PVS-Studio). 2015-01-13 19:53:58 +01:00
Eriks Dobelis 819943063d wintab32: Fix pkSerialNumber typo. 2014-03-20 21:10:13 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Frédéric Delanoy c76cc4a555 wintab32: Use BOOL type where appropriate. 2013-11-27 10:54:39 +01:00
Alexandre Julliard 6fe63e74d0 wintab32: Retrieve the graphics driver name from the registry. 2013-10-22 20:19:17 +02:00
Alexandre Julliard 9cf94e30b2 wintab32: Don't bother to unregister classes at process exit. 2013-05-14 11:33:29 +02:00
Alexandre Julliard 0e5f84a148 wintab32: Retrieve the graphics driver module from gdi32. 2013-02-06 13:19:43 +01:00
Michael Stefaniuc d94b651519 wintab32/tests: Remove a function pointer cast. 2012-11-19 16:35:13 +01:00
Francois Gouget 148e6c3a3c wintab32: Make the csTablet critical section static. 2011-11-15 19:37:36 +01:00
Marcus Meissner bf60886fb9 wintab32: Mark internal symbols with hidden visibility. 2011-05-26 13:31:01 +02:00
Francois Gouget 46ad9cd7f1 wintab32/tests: Remove an unused variable. 2011-03-31 14:02:19 +02:00
Peter Urbanec 0ea8bf17fa wintab32: Better handling of XInput initialisation errors. 2011-03-03 17:47:14 +01:00
Austin English e2755c13fa wintab32: Fix compiler warnings on Clang. 2010-09-20 13:57:26 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Peter Urbanec 5b22afd3c3 wintab32: Avoid NULL pointer dereferences. 2010-07-21 13:23:57 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
John Klehm b4c5a62338 wintab32: Add a test for context validation by WTOpen. 2009-08-04 13:46:42 +02:00
Alexandre Julliard d540fa2a28 wintab32: Make wintab.dll into a stand-alone 16-bit module. 2009-03-23 20:33:00 +01:00
Peter Urbanec 65b3393dce wintab32: Check for NULL before using context. 2009-01-07 12:50:21 +01:00
Maarten Lankhorst 569de388fa wintab32/winex11.drv: Add CDECL to imported functions. 2008-12-17 15:02:24 +01:00
Alexandre Julliard 1ca4837891 wintab32: Make a function static. 2008-12-04 12:48:29 +01:00
John Klehm 3496d17018 wintab32: Send notification when z-order changes. 2008-10-07 15:20:19 +02:00
John Klehm b77f0a1672 wintab32: Handle negative output context range for y-axe. 2008-10-02 11:23:57 -05:00
John Klehm bf1f0568d0 wintab32: Improve tracing of LOGCONTEXT struct. 2008-10-02 10:43:32 -05:00
John Klehm 20276da9af wintab32: Support overlap statuses in WTEnable. 2008-09-12 11:43:34 +02:00
John Klehm 212488d846 wintab32: Support overlap statuses in WTOpen. 2008-09-12 11:43:19 +02:00
John Klehm 8e42ca626e wintab32: Support overlap statuses in WTOverlap. 2008-09-12 11:43:14 +02:00
John Klehm cd550bf6b4 winex11.drv: Move hardware tablet proximity into x11 layer. 2008-05-08 11:13:23 +02:00
John Klehm 352c98d7d5 wintab32: Implement WTSetA/W. 2008-04-14 12:40:23 +02:00
Andrew Talbot 480cd234a8 wintab32: Assign to structs instead of using memcpy. 2008-03-24 11:33:03 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Marcus Meissner e94367cc5e wintab32: Mark some signed entities as LONG. 2008-02-18 12:41:37 +01:00
Andrew Talbot 78ea65bb3a wintab32: Remove unneeded cast. 2008-02-07 11:07:24 +01:00
Francois Gouget 327534f6ef wintab32: Add a trailing '\n' to a Wine trace. 2008-01-07 12:37:05 +01:00