Commit Graph

47 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
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
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
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 305f63a22b sane.ds: Remove unneeded NONAMELESSXXX directives. 2015-03-19 14:05:52 +09:00
Francois Gouget 0a177833ef sane.ds: SANE_SaneSetDefaults() is only used if SONAME_LIBSANE is defined. 2013-09-13 10:57:18 +02:00
Andrew Talbot 57b28bce0b sane.ds: Avoid signed-unsigned integer comparisons. 2013-02-26 11:27:02 +01:00
Alexandre Julliard 37e358404f sane.ds: Include system headers before Windows headers. 2011-09-05 19:32:32 +02:00
Jeremy White 782ea74acc sane.ds: Move a few static functions so they can be shared. 2009-03-11 10:33:40 +01:00
Jeremy White f764ddc87e sane.ds: Add fixmes for the last 2 unsupported capabilities; this now makes the code have fixmes for all known issues. 2009-03-09 12:29:06 +01:00
Jeremy White 81b288870e sane.ds: Add support for ICAP_SUPPORTEDSIZES, enabling rational sizing for scans. 2009-03-09 12:28:41 +01:00
Jeremy White e472c49a23 sane.ds: More correctly detect an end of scan job from sane; this enables Acrobat to pull multiple pages in one scan. 2009-03-06 12:49:04 +01:00
Jeremy White 28b708ca9e sane.ds: Add support for CAP_FEEDERENABLED. 2009-03-06 12:49:04 +01:00
Jeremy White 513b2b54a4 sane.ds: Add suport for CAP_AUTOFEED, make batch scans the default. 2009-03-06 12:49:04 +01:00
Jeremy White eae4ac9e8f sane.ds: Implement support for ICAP_PHYSICALHEIGHT and ICAP_PHYSICALWIDTH. 2009-03-06 12:49:04 +01:00
Francois Gouget 4dc8987112 sane.ds: Fix compilation with older SANE headers. 2009-03-03 12:36:17 +01:00
Jeremy White 2c0fea94e8 sane.ds: Implement grayscale and B&W scanning for native image transfers. 2009-03-03 12:36:12 +01:00
Jeremy White 1d58b7e1cc sane.ds: Add a few trace messages useful in following color format. 2009-03-03 12:36:02 +01:00
Jeremy White 00f9ef0f4f sane.ds: Fully support ICAP_PIXELTYPE. 2009-02-26 12:12:19 +01:00
Jeremy White f75b5ebba6 sane.ds: Added support for ICAP_UNITS. 2009-02-26 12:12:10 +01:00
Jeremy White 982482e7e8 sane.ds: Add support for ICAP_BITDEPTH. 2009-02-26 12:12:01 +01:00
Jeremy White 6ace799f5a sane.ds: Implement support for ICAP_XRESOLUTION and ICAP_YRESOLUTION. 2009-02-24 16:57:29 +01:00
Jeremy White 9bb24b8f7e sane.ds: Implement stub support for ICAP_PIXELFLAVOR. 2009-02-16 12:31:26 +01:00
Jeremy White 2033312b43 sane.ds: Add a log message to flag unsupported operations. 2009-02-10 12:56:41 +01:00
Jeremy White b0ec8880e2 sane.ds: Add stub support for ICAP_COMPRESSION. 2009-02-10 12:55:56 +01:00
Jeremy White 6320266e58 sane.ds: Add support for CAP_UICONTROLLABLE. 2009-02-10 12:53:47 +01:00
Jeremy White 272c1881dd sane.ds: Add partial stub support for ICAP_PIXELTYPE, with tests. Fixes a first crash in Adobe Acrobat scanning support. 2009-02-10 12:53:34 +01:00
Jeremy White 22bab0aa3d sane.ds: Return a 0 for MSG_QUERYSUPPORT even for capabilities we don't support. 2009-02-10 12:53:14 +01:00
Jeremy White 8dee7519c6 sane.ds: Eliminate incorrect TWRC_FAILURE return. 2009-02-10 12:53:00 +01:00
Jeremy White 333ef6a098 sane.ds: More correctly stub CAP_XFERCOUNT, and tests. 2009-02-10 12:52:53 +01:00
Jeremy White 25d5953cd8 sane.ds: Rearrange function position to avoid the need for forward function declarations. 2009-02-10 12:52:25 +01:00
Jeremy White c739edf6aa sane.ds: Simplify SANE_SaneCapability. 2009-02-10 12:52:02 +01:00
Jeremy White 0639904cc2 sane.ds: More completely implement ICAP_XFERMECH, with helper functions. 2009-02-06 16:40:41 +01:00
Jeremy White e93c14fac7 sane.ds: Implement CAP_SUPPORTEDCAPS. 2009-01-29 13:29:41 +01:00
Alexandre Julliard 5a2a914481 sane.ds: Make some functions static. 2008-12-02 15:25:29 +01:00
Austin English 313a85f163 Spelling fixes. 2008-04-17 12:25:57 +02:00
Andrew Talbot e3c750f3c2 sane.ds: Remove unneeded casts. 2008-01-21 11:38:40 +01:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Marcus Meissner 125efed86a twain_32: Split out the sane specific parts from twain_32 code.
Autoprobing via DG_CONTROL/DAT_IDENTITY/MSG_GET.
2006-05-08 22:07:05 +02:00