Commit Graph

161 Commits

Author SHA1 Message Date
Eric Pouech 6b6e863c52 sane.ds: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-17 18:57:17 +01:00
Alex Henrie 746b5bbd50 sane: Fix memory leak in create_item (Coverity).
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-03 10:47:13 +01:00
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 7ec312902b sane.ds: Implement Wow64 entry points in the Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-08 21:00:57 +01:00
Alexandre Julliard 3578b2a74f sane.ds: Use CRT memory allocation functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 13:01:10 +02:00
Alexandre Julliard 1fe2a12bfb sane.ds: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 12:50:22 +02:00
Alexandre Julliard 64d54282d8 sane.ds: Move SANE library calls to a separate Unix library.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 12:50:22 +02:00
Alexandre Julliard 999d05f695 sane.ds: Convert the SANE option descriptor to a private structure.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 12:50:00 +02:00
Alexandre Julliard 383bb720e4 sane.ds: Convert the SANE parameters to a private structure.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 23:25:20 +02:00
Alexandre Julliard d63aa5dc7c sane.ds: Add helper function to set/get the scan area.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 23:25:20 +02:00
Alexandre Julliard b263ff26b9 sane.ds: Use Twain types and status codes in option helpers.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 23:25:20 +02:00
Alexandre Julliard ee280d8cc3 sane.ds: Don't pass the device handle to the option helpers.
Use the global variable instead.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 23:25:20 +02:00
Alexandre Julliard cf5bad0ecc configure: Disable sane.ds if the Unix library is missing.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 23:25:20 +02:00
Alexandre Julliard 6ba7773121 makefiles: Add a -mcygwin flag to specify the inverse of -mno-cygwin.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alexandre Julliard 553a134f06 sane.ds: Use standard dlopen() instead of the libwine wrappers.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-07 14:26:19 +02:00
Michael Cronenworth c13d58780f sane.ds: Global variable compatibility update for gcc 10.
Signed-off-by: Michael Cronenworth <mike@cchtml.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-27 16:47:52 +01:00
Michael Stefaniuc 4e18649c48 sane.ds: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 20:25:07 +02:00
Michael Stefaniuc 7d550de263 sane.ds: Avoid an ARRAY_SIZE-like macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 20:25:05 +02:00
Vincent Povirk 870c4f3e99 sane.ds: Send events to applications through the DSM.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-14 22:24:12 +01:00
Vincent Povirk 31a4a58f81 sane.ds: Add support for word list options.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-11 20:52:18 +02:00
André Hentschel 3d80706129 sane.ds: Remove dead code (Clang).
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-25 14:06:35 +01:00
Francois Gouget f505e6fb4a Assorted spelling fixes. 2015-03-19 21:54:14 +09:00
Francois Gouget 305f63a22b sane.ds: Remove unneeded NONAMELESSXXX directives. 2015-03-19 14:05:52 +09:00
Alexandre Julliard 3f6c6dbbb3 sane.ds: Remove unnecessary DllMain implementation when SANE is missing. 2014-05-16 11:34:37 +02:00
Alexandre Julliard 8aa64e3580 configure: Automatically expand _CFLAGS and _LIBS variables in all makefiles. 2014-01-30 12:42:56 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard 4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Alexandre Julliard 5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Francois Gouget 0a177833ef sane.ds: SANE_SaneSetDefaults() is only used if SONAME_LIBSANE is defined. 2013-09-13 10:57:18 +02:00
Alexandre Julliard ad6ee47def configure: Use the pkg-config helper macro for sane. 2013-05-03 20:45:12 +02:00
Alexandre Julliard dc345305b0 sane.ds: Don't unload external libraries on process shutdown. 2013-04-30 18:44:46 +02:00
Andrew Talbot 57b28bce0b sane.ds: Avoid signed-unsigned integer comparisons. 2013-02-26 11:27:02 +01:00
Huw Davies 0f95508936 sane.ds: Add a missing break. 2012-11-28 20:14:43 +01:00
Alexandre Julliard 97b7bb2bab sane: Convert dialogs to po files. 2011-11-22 14:20:45 +01:00
Andrew Talbot 8cf1f49005 sane.ds: Remove extraneous braces from switch statement. 2011-11-07 11:54:13 +01:00
Andrew Talbot 8c41a3bd01 sane.ds: Remove unneeded address-of operators from array name. 2011-11-03 13:52:15 +01:00
Michael Stefaniuc 43b7a0db48 sane.ds: Don't compare with TRUE. 2011-10-03 09:43:27 -05:00
Alexandre Julliard 37e358404f sane.ds: Include system headers before Windows headers. 2011-09-05 19:32:32 +02:00
Marcus Meissner c4703a4aac sane.ds: Removed 3 array != NULL checks (Coverity). 2011-06-16 21:04:22 +02:00
Marcus Meissner 4af30811a8 sane.ds: Mark internal symbols with hidden visibility. 2011-05-24 11:55:20 +02:00
Marcus Meissner a247c7fd49 sane.ds: Mark internal functions as hidden. 2011-04-27 11:50:20 +02:00
Alexandre Julliard 036fe88ef4 sane.ds: Convert string tables resources to po files. 2011-01-14 18:26:11 +01:00
Michael Stefaniuc daaf185d05 sane.ds: The Da, En, Fi, Fr, Nl, Pt resources are using UTF-8. 2010-12-21 11:37:52 +01:00
André Hentschel 2f30e3e464 sane.ds: Fix translation of microsecond. 2010-12-20 12:47:41 +01:00
Hwang YunSong 94ad49dddc sane.ds: Update Korean resource. 2010-12-15 15:52:24 +01:00
Piotr Caban c0c781b14d sane.ds: Convert Polish translation to UTF-8. 2010-12-13 16:26:05 +01:00
André Hentschel 39b260e8be sane.ds: Convert Swedish translation to UTF-8. 2010-12-07 16:10:31 +01:00
André Hentschel 828fa067ec sane.ds: Convert Norwegian translation to UTF-8. 2010-12-07 16:10:31 +01:00
Yaron Shahrabani ecd140cfa3 sane: Added Hebrew translation. 2010-12-05 16:44:42 +01:00
Paul Vriens f0b6e56cc2 sane.ds: Add the Serbian (Latin and Cyrillic) translation.
Translation by Đorđe Vasiljević.
2010-11-03 11:08:54 +01:00