thierry1970
5927ecfa2a
Using strcmp instead of strncmp, strncmp is not justified.
2020-01-02 09:39:16 +01:00
Olaf Meeuwissen
3a1d6dbb96
.gitignore: .dirstamp files and *-s.cpp files
...
[skip CI]
2019-12-31 12:49:40 +09:00
Olaf Meeuwissen
c821f277f3
build: Rename *THREAD_LIBS parameters
...
This aims to clarify the purpose of each parameter: SANEI_THREAD_LIBS
for any code that uses sanei/sanei_thread.c and a plain PTHREAD_LIBS
for code that uses the pthread library directly.
2019-12-31 12:33:13 +09:00
Olaf Meeuwissen
9050ae3b6a
mustek_usb2: Remove unneeded linking arguments
2019-12-31 12:14:46 +09:00
Olaf Meeuwissen
378a85fe09
Don't disable backends using pthreads directly. Fixes #153
...
The use of pthreads was disabled in case of a non-integral pthread_t
type in 756d286f36
as the sanei_thread
implementation assumes an integral type. This also disabled building
of the kvs40xx and mustek_usb2 backends which use pthreads directly.
This re-enables the build of these backends.
2019-12-31 11:55:31 +09:00
Olaf Meeuwissen
fa882855be
Merge branch '120-fix-all-compiler-warnings-on-the-debian-10-builds' into 'master'
...
CI: Turn compiler warnings into errors on Debian 10. Fixes #120
Closes #120
See merge request sane-project/backends!288
2019-12-30 07:06:02 +00:00
Olaf Meeuwissen
adaef0435a
CI: Turn compiler warnings into errors on Debian 10. Fixes #120
2019-12-30 15:48:56 +09:00
Olaf Meeuwissen
75310001f1
Merge branch 'fix-kvs40xx-cast-function-type-warning' into 'master'
...
kvs40xx: Fix [-Wcast-function-type] compiler warning. Re #120
See merge request sane-project/backends!229
2019-12-30 06:19:39 +00:00
Olaf Meeuwissen
b2c83de8a4
Merge branch '196-fix-compiler-warning-for-pieusb-backend' into 'master'
...
pieusb: fix compiler warnings
Closes #196
See merge request sane-project/backends!287
2019-12-30 03:11:15 +00:00
Klaus Kämpf
4c8e4dd934
pieusb: fix compiler warnings
...
fixes #196
2019-12-30 11:56:24 +09:00
Ralph Little
a9ab9df997
Merge branch '198-fix-compiler-warning-in-scanimage-frontend' into 'master'
...
Resolve "Fix compiler warning in scanimage frontend"
Closes #198
See merge request sane-project/backends!286
2019-12-29 19:08:01 +00:00
Thierry HUCHARD
160b63a9c2
Using strcmp instead of strncmp, strncmp is not justified.
2019-12-29 10:52:11 +01:00
Thierry HUCHARD
925bf77419
Removing the png and tiff test from the header.
2019-12-29 10:50:43 +01:00
Olaf Meeuwissen
7f97712491
scanimage: Combine conditions to reduce nesting
2019-12-29 17:37:17 +09:00
Rolf Bensch
6f34396ab4
pixma: backend version 0.26.0
2019-12-28 13:58:11 +01:00
Rolf Bensch
eae4137ae1
pixma: update date of man page
2019-12-28 13:55:26 +01:00
Rolf Bensch
a7c78f41d6
pixma: reorder scanner defines
2019-12-28 13:54:34 +01:00
Rolf Bensch
c83b1a17d2
Merge branch 'master' into 'master'
...
Add model 2019: G6000, G6080, TS5300, TS5380, TS6300, TS6380, TS7330, TS8300,...
See merge request sane-project/backends!226
2019-12-28 12:53:52 +00:00
Ordissimo
18670166a6
pixma: Add model 2019: G6000, G6080, TS5300, TS5380, TS6300, TS6380, TS7330, TS8300, TS8380, TS8330, XK60, TS6330, TS3300 and E3300
2019-12-28 12:53:52 +00:00
Rolf Bensch
b1ad53fff5
Merge branch 'perillamint/backends-add-canon-pixma-g2010-support'
...
pixma: Add support for Canon PIXMA G2010 Series
see merge request sane-project/backends!223
2019-12-28 13:34:47 +01:00
Rolf Bensch
a297073bc9
pixma: Canon PIXMA G2010 Series is working
2019-12-28 13:26:54 +01:00
Rolf Bensch
aa76967917
pixma: fix device define for Canon PIXMA G2010 Series
2019-12-28 13:26:11 +01:00
Olaf Meeuwissen
4fbb5d2f1b
scanimage: Use destination size to limit strncpy()
2019-12-28 19:05:01 +09:00
Olaf Meeuwissen
df114df05f
scanimage: Replace string length computations by temporary strings
...
This creates temporary strings that correspond to the colon-delimited
username and password that are read from file in `auth_callback()`.
The null-terminated strings are used directly to determine lengths.
2019-12-28 19:04:52 +09:00
Olaf Meeuwissen
6682223b26
scanimage: Improve readability of auth_callback implementation
...
Rather than repeatedly calling `strchr`, use descriptive variables to
hold the result.
2019-12-28 19:03:11 +09:00
Olaf Meeuwissen
5e6a111ffa
scanimage: Un-word-wrap auth_callback to improve readability
...
This is one of those cases where word-wrapping to less than 80 or so
characters isn't helpful in understanding the code.
2019-12-28 18:03:00 +09:00
Olaf Meeuwissen
bac0c4abce
Merge branch 'escl-discovery' into 'master'
...
Solves the problem of HP device discovery.
See merge request sane-project/backends!285
2019-12-28 05:55:59 +00:00
thierry1970
d527110a52
Merge commit '5275b3bb' into escl-png
2019-12-27 15:23:02 +01:00
thierry1970
f956fd00ba
Merge commit '45c67025' into escl-png
2019-12-27 15:22:38 +01:00
thierry1970
5275b3bbd6
Solves the problem of HP device discovery.
2019-12-27 15:07:10 +01:00
thierry1970
45c6702552
Formatting of the code to not exceed 80 characters.
2019-12-27 15:04:57 +01:00
Olaf Meeuwissen
e80034a6e0
Merge branch '199-hpsj5s-backend-generates-compiler-warnings-in-debian-10' into 'master'
...
Resolve "hpsj5s backend generates compiler warnings in Debian 10"
Closes #199
See merge request sane-project/backends!281
2019-12-27 11:22:05 +00:00
Ralph Little
adf9bb837f
Resolve "hpsj5s backend generates compiler warnings in Debian 10"
2019-12-27 11:22:05 +00:00
Povilas Kanapickas
7a76f21ccd
Merge branch 'genesys-lide-fixes' into 'master'
...
genesys: Various fixes affecting LiDE 100,110,120,200,210,220
See merge request sane-project/backends!284
2019-12-26 15:31:53 +00:00
Povilas Kanapickas
53efe5822d
genesys: Remove excessive debug logs during data read
2019-12-26 17:13:34 +02:00
Povilas Kanapickas
2b00ef3995
genesys: Improve calibration speed by making convergence faster
2019-12-26 17:13:33 +02:00
Povilas Kanapickas
fd13c10b5c
genesys: Fix invalid memory access in ImagePipelineNodeDesegment
2019-12-26 17:13:32 +02:00
Povilas Kanapickas
cacc68a6d4
genesys: Fix initial register values on gl124
2019-12-26 17:13:31 +02:00
Povilas Kanapickas
66ac8c6203
genesys: Fix sensor table for LiDE 120
2019-12-26 17:13:30 +02:00
Povilas Kanapickas
2661115251
genesys: Fix sensor table for LiDE 110
2019-12-26 17:13:29 +02:00
Povilas Kanapickas
d7d227a3f7
genesys: Fix sensor table for LiDE 200
2019-12-26 17:13:28 +02:00
Povilas Kanapickas
09a84d11d8
genesys: Fix sensor table for LiDE 100
2019-12-26 17:13:27 +02:00
Povilas Kanapickas
01bdc63d7d
genesys: Fix step selector masks on gl124
2019-12-26 17:13:26 +02:00
Povilas Kanapickas
40a2a0d554
genesys: Remove unnecessary model check in calibration init
2019-12-26 17:13:25 +02:00
Povilas Kanapickas
47431a8776
genesys: Fix exception on LiDE 210 when going back from unknown position
2019-12-26 17:13:24 +02:00
Povilas Kanapickas
e2bb81ef01
genesys: Add extra sleep during scan stop for gl646
2019-12-26 17:13:23 +02:00
Ordissimo
5372f21810
Fix typo.
2019-12-26 14:11:09 +00:00
Ordissimo
1a95f30210
Fixing the comparison.
2019-12-26 14:08:15 +00:00
thierry1970
2ea6552ed3
Fix style.
2019-12-26 14:03:33 +01:00
thierry1970
65470e95aa
Addition of the TIFF decoder.
2019-12-26 14:01:00 +01:00