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
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
Olaf Meeuwissen
d190c559c2
Merge branch 'epjitsu-backend-generates-compiler-warning-in-debian-10' into 'master'
...
Resolve "epjitsu backend generates compiler warning in Debian 10"
Closes #193
See merge request sane-project/backends!267
2019-12-26 10:27:47 +00:00
Olaf Meeuwissen
0ae128d1ab
Merge branch 'gt68xx-backend-generates-compiler-warnings-on-debian-10' into 'master'
...
Resolve "gt68xx backend generates compiler warnings on Debian 10"
Closes #194
See merge request sane-project/backends!268
2019-12-24 12:03:09 +00:00
Olaf Meeuwissen
6d9cb35b1f
Merge branch 'as6e-generates-compiler-warnings-in-debian-10' into 'master'
...
Resolve "as6e generates compiler warnings in Debian 10"
Closes #192
See merge request sane-project/backends!266
2019-12-24 09:05:30 +00:00
Olaf Meeuwissen
c77f89de62
Merge branch 'artec-backend-produces-compiler-warnings-on-debian-10' into 'master'
...
Resolve "artec backend produces compiler warnings on Debian 10"
Closes #191
See merge request sane-project/backends!265
2019-12-24 09:01:13 +00:00
Olaf Meeuwissen
f506aceb33
Merge branch 'ibm-backend-produces-compiler-warnings-in-debian-10' into 'master'
...
Resolve "IBM & Ricoh backends produces compiler warnings in Debian 10"
Closes #190
See merge request sane-project/backends!264
2019-12-24 08:59:27 +00:00
Ralph Little
92308130f4
Merge branch '197-fix-hp3900-backend-compiler-warning' into 'master'
...
hp3900: Fix [-Wtautological-compare] compiler warning
Closes #197
See merge request sane-project/backends!280
2019-12-23 17:04:19 +00:00
Ralph Little
9527e72a53
Merge branch '195-fix-hp-backend-compiler-warning' into 'master'
...
hp: Fix [-Wstringop-truncation] compiler warning
Closes #195
See merge request sane-project/backends!279
2019-12-23 16:49:11 +00:00
Ralph Little
37f96cc800
Merge branch 'fix-dll-compiler-warnings' into 'master'
...
Address dll compiler warnings
See merge request sane-project/backends!269
2019-12-23 16:39:34 +00:00
Olaf Meeuwissen
328a5d654b
hp3900: Fix [-Wtautological-compare] compiler warning
...
Although the fix changes the backend's logic, it probably matches what
was the original code's intent.
2019-12-23 21:57:36 +09:00
Olaf Meeuwissen
70ef8db5d6
hp: Fix [-Wstringop-truncation] compiler warning
2019-12-23 21:36:13 +09:00
Olaf Meeuwissen
74f601188b
Merge branch 'escl-force-formatext' into 'master'
...
indicator of the presence of the DocumentFormatExt field
See merge request sane-project/backends!261
2019-12-23 11:57:10 +00:00
Povilas Kanapickas
4bf176c73e
Merge branch 'genesys-fix-gl646-scanning' into 'master'
...
genesys: Work around invalid acceleration curves on certain gl646 scanners
See merge request sane-project/backends!278
2019-12-23 00:42:01 +00:00
Povilas Kanapickas
538b34f418
genesys: Fix testing mode in gl646
2019-12-23 02:27:28 +02:00
Povilas Kanapickas
5d83753b07
genesys: Work around bad acceleration curves on certain gl646 scanners
2019-12-23 02:27:28 +02:00
Povilas Kanapickas
a0e978d4ae
Merge branch 'genesys-fix-gl646-scanning' into 'master'
...
genesys: Fix completely broken scanning on GL646
See merge request sane-project/backends!277
2019-12-22 23:59:05 +00:00
Povilas Kanapickas
fb1dea325c
genesys: Fix crash when moving back hove on gl646
2019-12-23 01:43:39 +02:00
Povilas Kanapickas
9f4cabb55c
genesys: Fix random lock ups when waiting for motor to stop on gl646
2019-12-23 01:43:38 +02:00
Povilas Kanapickas
fffcb62544
genesys: Fix completely broken backtracing calculation on gl646
2019-12-23 01:43:37 +02:00
Povilas Kanapickas
e8f6a508ca
Merge branch 'genesys-8600f-enable-ir-resolutions' into 'master'
...
genesys: Enable additional IR resolutions on CanoScan 8600F
See merge request sane-project/backends!276
2019-12-22 21:37:51 +00:00
Povilas Kanapickas
e437f17b40
genesys: Enable more infrared resolutions on 8600F
2019-12-22 23:23:18 +02:00
Povilas Kanapickas
d1a0c1589a
genesys: Sort 8600F sensor tables
2019-12-22 23:23:17 +02:00
Povilas Kanapickas
216250361f
genesys: Fix uninitialized variable warning
2019-12-22 23:23:16 +02:00
Povilas Kanapickas
b10c15595b
Merge branch 'genesys-use-fast-moving-home' into 'master'
...
genesys: Use fast moving when returning home
See merge request sane-project/backends!275
2019-12-22 15:55:53 +00:00
Povilas Kanapickas
6fb588648c
genesys: Fix infinite loop when we overestimate distance to home sensor
2019-12-22 17:40:13 +02:00
Povilas Kanapickas
01ca9c9030
genesys: Use fast moving for most of the distance when moving back home
2019-12-22 17:40:13 +02:00
Povilas Kanapickas
2397d8879a
genesys: Fix collection of scanhead movement information
2019-12-22 17:40:13 +02:00
Povilas Kanapickas
29166d9b3b
genesys: Remove rewind() function due to unreliability
2019-12-22 17:40:13 +02:00
Povilas Kanapickas
408329e8cf
Merge branch 'genesys-fix-motor-acceleration-calculations' into 'master'
...
genesys: Fix calculations of scan head acceleration tables
See merge request sane-project/backends!274
2019-12-22 15:24:48 +00:00
Povilas Kanapickas
fd29cae64a
genesys: Correctly set LINESEL on 4400F
2019-12-22 17:07:24 +02:00