Povilas Kanapickas
16a8d55480
Don't use strings that are similar to conflict markers in debug msgs
2019-05-10 21:05:51 +03:00
Olaf Meeuwissen
df1aba21bc
SANE_Pid: Fix [-Wint-conversion] issues
...
Not all pthreads implementations use an integer type for pthread_t.
As a matter of fact, POSIX has explicitly withdrawn the requirement
that it must be an arithmatic type.
The musl C library uses a `struct __pthread *` which triggered the
warnings. As of this change, sanei_thread.h works around this by
providing two new macros to help keep this issue out of sight. All
backends have been changed to use these macros.
2017-07-15 14:47:54 +09:00
Olaf Meeuwissen
99c14f2d95
Use a single symbol to flag unused parameters
...
The __sane_unused__ symbol was used slightly more often then UNUSEDARG
and, more importantly, defined in include/sane/sanei_backend.h. That
makes it readily available to virtually all backends.
2016-07-18 16:51:08 +09:00
Olaf Meeuwissen
d3d5dc3da0
Update to autoconf-2.69
...
This gets rid of a number of obsoleted macros and replaces RETSIGTYPE
with a void literal which can be assumed for C89 and later.
This changeset was prepared using autoupdate and modified to get rid of
whitespace and doubled [] changes. Changes to acinclude.m4 were added
by hand.
2016-06-13 22:05:34 +09:00
Olaf Meeuwissen
e094c5b43b
Invert sense of sanei_thread validity check
...
Double negatives suck.
2015-11-24 18:19:31 +09:00
Olaf Meeuwissen
fe12d31e68
Fix SANE_Pid related -Wsign-compare warnings
...
This may fix threading related issues on WIN32 platforms, BTW.
2015-11-24 18:19:31 +09:00
Yuri Chornoivan
648d933c56
Fix minor typos in messages and comments
2015-08-31 20:31:54 -04:00
Oliver Schwartz
cfecc1fbf6
Added support for Acer/Benq Scanwit 2720S film scanner by Andrew Goodbody in snapscan backend.
2013-03-04 23:40:44 +01:00
Julien BLACHE
7dce86e221
snapscan: remove "/*" within comment
2010-06-23 18:21:38 +02:00
chris@cnpbagwell.com
4d9e8138af
standardize including local sane/ include files.
...
Source code was inconsistent on how they were referencing
include files in include/sane. In certain cases, sane/sane.h
and sane/saneopts.h was really including external copies (with
some preprocessor implementations anyways).
2009-05-07 22:06:20 -05:00
m. allan noah
91598aa800
* backend/*.[ch]: nearly every backend used V_MAJOR
...
instead of SANE_CURRENT_MAJOR in sane_init()
* backend/snapscan.c: remove EXPECTED_VERSION check
since new SANE standard is forward compatible
2008-11-26 21:21:31 +00:00
Mattias Ellert
d5ae0bbc3d
Fix for bug #306751 : sanei-thread with pthreads on 64 bit
2008-05-15 12:50:25 +00:00
m. allan noah
a330f4b2d8
fix snapscan bug, add LiDE 600F
2008-01-29 17:48:42 +00:00
Mattias Ellert
7c6b4d6a99
Fix handling of valid "negative" PIDs
2007-11-18 10:59:18 +00:00
Mattias Ellert
abd402ad51
Correct the test of the return value from sanei_thread_begin
2007-11-16 08:04:02 +00:00
Oliver Schwartz
00e6616499
Bugfix for firmware download by Paul Smedley
2006-09-03 10:00:11 +00:00
Oliver Schwartz
44ee824969
Added 12 bit gamma tables for Epson Stylus CX-1500
2006-01-10 19:32:16 +00:00
Oliver Schwartz
01e26557f8
Some fixes for the Epson Stylus CX 1500
2006-01-06 20:59:17 +00:00
Oliver Schwartz
8818aeabd9
Added snapscan-data.c to Makefile.in
2006-01-01 23:02:55 +00:00
Oliver Schwartz
2c7d3ea4d8
Small bugfix for Benq 5150
2005-12-05 20:38:23 +00:00
Oliver Schwartz
fddbe1342c
Some fixes for Benq 5150
2005-12-04 15:03:00 +00:00
Oliver Schwartz
f5c6a9c8df
Change SnapScan version number to 1.4.50
2005-12-02 19:15:42 +00:00
Oliver Schwartz
49b81e26b5
Enabled quality calibration for the Epson 3490
2005-11-15 20:11:19 +00:00
Oliver Schwartz
5138513904
Added deinterlacing for Epson 3490
2005-11-10 19:42:02 +00:00
Oliver Schwartz
23d20d3519
Correct cut'n'paste error
2005-11-02 22:12:54 +00:00
Oliver Schwartz
034f05523d
Fixes for Benq 5000
2005-11-02 19:22:06 +00:00
Oliver Schwartz
710e8d4423
Distinguish between Benq 5000/5000E/5000U
2005-10-31 21:08:47 +00:00
Oliver Schwartz
aa37ec8374
Preview and range fix for Epson 2480/2580
2005-10-24 19:46:40 +00:00
Oliver Schwartz
40387e3578
Fix for buffer size in high res modes, fixes for delay code
2005-10-23 21:28:58 +00:00
Oliver Schwartz
1751ed6572
Fixes for 16 bit scan mode from Simon Munton
2005-10-13 22:43:30 +00:00
Oliver Schwartz
8409b107c3
Fixes for Epson 3490 and 16 bit scan mode
2005-10-11 18:47:07 +00:00
Oliver Schwartz
cb8f353952
Added 16 bit option for Epson scanners (untested)
2005-09-28 21:33:11 +00:00
Oliver Schwartz
7f9b7c4646
Added temporary debug code for 2480/2580 distinction
2005-08-15 18:56:55 +00:00
Oliver Schwartz
59fc80c118
Added support for Epson 3490/3590 (thanks to Matt Judge)
2005-08-15 18:06:38 +00:00
Oliver Schwartz
417ef8eac5
Use first known device if no device is specified
2005-08-07 12:37:29 +00:00
Oliver Schwartz
c94edf0864
Added quality calibration for Epson 2480 (by Simon Munton)
2004-12-09 23:21:48 +00:00
Oliver Schwartz
3bf4243c4d
Fix for allocation of gamma tables by Simon Munton
2004-12-01 22:49:14 +00:00
Oliver Schwartz
3b64716050
Added support for Epson 1270
2004-12-01 22:12:21 +00:00
Henning Geinitz
af58065746
64 bit platform fixes (bug #300799 ).
2004-10-03 17:34:36 +00:00
Oliver Schwartz
199eab31b8
Added support for Epson 2480
2004-09-02 20:59:12 +00:00
Oliver Schwartz
2035924143
Don't enforce even number of URB packages on 1212u_2. Fixes bug #300753 .
2004-06-16 19:52:27 +00:00
Henning Geinitz
f493221fc6
Only use __attribute__ if gcc is used for compilation. Some other compilers
...
don't know __attribute__ and therefore can't compile sane-backends without this
fix. See bug #300803 .
2004-06-15 12:17:37 +00:00
Oliver Schwartz
0b9b6c51db
Use shared memory for urb counters in snapscan backend
2004-05-26 22:37:01 +00:00
Oliver Schwartz
6676fdb069
Fixes for pthread implementation
2004-04-09 11:59:02 +00:00
Oliver Schwartz
472d9ab2f5
Use sanei_thread in snapscan backend
2004-04-08 21:53:10 +00:00
Oliver Schwartz
1757ae5b5b
Various bugfixes for gamma corretion (thanks to Robert Tsien)
2004-04-02 20:19:24 +00:00
Oliver Schwartz
62c45b6e9b
Send gamma table twice for Epson Perfection 1670
2003-11-27 23:11:32 +00:00
Oliver Schwartz
57d377c8fd
Disabled quality calibration for Epson Perfection 1670
2003-11-09 21:43:45 +00:00
Oliver Schwartz
fc3960ce3e
Final bugfixes for bascic support of Epson 1670
2003-11-07 23:26:49 +00:00
Oliver Schwartz
e4b72fc3ac
Bugfixes for SnapScan backend
2003-10-21 20:43:25 +00:00