Povilas Kanapickas
479718a6b5
genesys: Add motor vref to motor profiles
2020-01-31 20:13:15 +02:00
Povilas Kanapickas
002d2ff2db
genesys: Use motor profiles from motor tables
2020-01-31 20:13:14 +02:00
Povilas Kanapickas
e5e8ea3d3f
genesys: Add motor profile information to motors table
2020-01-31 20:13:13 +02:00
Povilas Kanapickas
879587f303
genesys: Rename Genesys_Motor::{get_slope -> get_slope_with_step_type}
2020-01-31 20:13:12 +02:00
Povilas Kanapickas
7dca191b14
genesys: Merge chip-specific motor tables into one
2020-01-31 20:13:11 +02:00
Povilas Kanapickas
2d0fc3ce55
genesys: Don't rely on motor profile fallbacks
2020-01-31 20:13:10 +02:00
Thierry HUCHARD
0ca9390279
Fix style.
2020-01-31 18:32:32 +01:00
Thierry HUCHARD
5298b0e018
Setting up the cut-out of the received image.
2020-01-31 18:28:04 +01:00
Thierry HUCHARD
d42521dfd4
Geometry correction and use of the milimeter as a unit of measurement.
2020-01-31 17:42:52 +01:00
Thierry HUCHARD
8c15724b43
Added milimeter-to-pixel and pixel-to-milimeter conversion function.
2020-01-31 17:19:42 +01:00
Thierry HUCHARD
58df3795ee
Fix geometry.
2020-01-27 20:47:56 +01:00
Thierry HUCHARD
76726491d9
Billing for cleaning.
2020-01-26 10:16:06 +01:00
Thierry HUCHARD
bb5b109560
Fix memory leak.
2020-01-26 08:28:19 +01:00
Thierry HUCHARD
bb9c4ead76
Merge remote-tracking branch 'origin/master' into escl-simple-scan
2020-01-25 17:32:10 +01:00
Povilas Kanapickas
99fde7b12e
genesys: Slightly tweak X TA offset on 8600F
2020-01-25 15:11:45 +02:00
Povilas Kanapickas
0c84e1951a
genesys: Fix incorrect X TA offset on 8600F
2020-01-25 15:11:45 +02:00
Povilas Kanapickas
9c10d59ce8
genesys: Fix 3200 dpi flatbed support on 8400F
2020-01-25 15:11:45 +02:00
Povilas Kanapickas
b9a4054775
genesys: Fix sensor tables on 8400F
2020-01-25 15:11:45 +02:00
Povilas Kanapickas
15bbc3d0b3
genesys: Rewrap sensor settings for 8400F
2020-01-25 15:11:45 +02:00
Povilas Kanapickas
0abb83ead4
genesys: Fix incorrect number of sensor pixels on 8400F
2020-01-25 15:11:45 +02:00
Povilas Kanapickas
75b2bd6445
genesys: Fix incorrect calculation of X offsets on 8400F
2020-01-25 15:11:45 +02:00
Povilas Kanapickas
8532e63194
genesys: Fix incorrect calculation of X offsets on 8600F
2020-01-25 15:11:45 +02:00
Povilas Kanapickas
1748e625f0
genesys: Fix recovery from interrupted transparency scans on 8600F
2020-01-25 15:11:45 +02:00
Povilas Kanapickas
0a7813177b
genesys: Reduce code duplication in gl841 session setup code
2020-01-25 11:28:30 +02:00
Povilas Kanapickas
374578abce
genesys: Reduce code duplication in gl843 session setup code
2020-01-25 11:28:29 +02:00
thierry1970
70ae518fc6
Fix break build.
2020-01-23 13:02:38 +01:00
thierry1970
a0845a8322
Verify allocation and add debug.
2020-01-23 12:20:48 +01:00
thierry1970
51b9883603
Displays SSL if the device uses https.
2020-01-23 08:53:19 +01:00
Gerhard Jäger
5747ffa9fb
Issue#113: Fix applied (thanks David Binderman).
2020-01-13 09:38:30 +01:00
Povilas Kanapickas
8d07515bea
Merge branch 'genesys-refactor-motor-handling' into 'master'
...
genesys: Refactor motor handling
See merge request sane-project/backends!308
2020-01-12 19:26:35 +00:00
Povilas Kanapickas
c5f397e778
genesys: Extract handle_motor_position_after_hove_back_home_ta()
2020-01-12 10:57:11 +02:00
Povilas Kanapickas
e8e56e33d3
genesys: Make XPA motor mode handling more generic
2020-01-12 10:57:10 +02:00
Povilas Kanapickas
23f3f80e38
genesys: Remove duplicate head position reset
2020-01-12 10:57:09 +02:00
Povilas Kanapickas
645820bc4d
genesys: Improve set_head_pos_unknown() to set status per head
2020-01-12 10:57:08 +02:00
Povilas Kanapickas
a676810f5d
genesys: Implement function to apply settings with backup
2020-01-12 10:57:07 +02:00
Povilas Kanapickas
05978e1c8b
genesys: Move *_set_xpa_lamp_power() to common command set
2020-01-12 10:57:06 +02:00
Povilas Kanapickas
cbb3d98e83
genesys: Move *_set_xpa_motor_power() to common command set
2020-01-12 10:57:05 +02:00
Povilas Kanapickas
3753716e04
genesys: Add a class to move common command set functions to
2020-01-12 10:57:04 +02:00
Povilas Kanapickas
8b129b32ff
genesys: Simplify handling of xpa motor state on gl843
2020-01-12 10:57:03 +02:00
Olaf Meeuwissen
055cd9f282
dll: Sort dll.conf.in for ease of maintenance
...
Only the `net` backend is treated special to match the file comment.
2020-01-12 17:11:40 +09:00
Olaf Meeuwissen
4f77e6dcfa
dll: Add kvs40xx and pieusb backends to dll.conf.in
2020-01-12 17:10:38 +09:00
Olaf Meeuwissen
8ae5ba0522
escl: Use standardized, translated option group titles
2020-01-12 14:46:14 +09:00
Olaf Meeuwissen
42b2562470
Merge branch 'escl-debug' into 'master'
...
Log message improvements.
See merge request sane-project/backends!302
2020-01-12 03:37:34 +00:00
Olaf Meeuwissen
d9188a7699
Merge branch '153-is-pthread_t-check-for-non-integers-still-neccesary' into 'master'
...
Resolve "Is pthread_t check for non-integers still necessary?"
Closes #153
See merge request sane-project/backends!289
2020-01-12 03:16:45 +00:00
Povilas Kanapickas
0830b83915
Merge branch '188-hp-scanjet-3670-fails-to-scan-at-75dpi' into 'master'
...
Resolve "HP ScanJet 3670 fails to scan at 75dpi"
Closes #188
See merge request sane-project/backends!298
2020-01-11 15:50:06 +00:00
Thierry HUCHARD
d40a8ff90d
Delete unused file.
2020-01-11 09:15:51 +01:00
Thierry HUCHARD
d8f983bbd9
Log message improvements.
2020-01-11 08:56:46 +01:00
Olaf Meeuwissen
e5e601379c
dll: Enable loading of escl backend
2020-01-09 21:09:06 +09:00
Olaf Meeuwissen
28264dcfd8
Merge branch 'escl-Securing-libcurl' into 'master'
...
Escl securing libcurl
See merge request sane-project/backends!297
2020-01-08 11:29:40 +00:00
Olaf Meeuwissen
8b611a252d
Merge branch 'escl-Memory-and-file-handle-leak' into 'master'
...
Escl memory and file handle leak
See merge request sane-project/backends!296
2020-01-08 11:28:08 +00:00
Ralph Little
c4a88e6bf4
genesys: renamed HP ScanJet 3670C to 3670. Model has no C suffix
2020-01-07 22:52:14 -08:00
Ralph Little
88ea0d48e7
genesys: added 50dpi to HP ScanJet 3670 backend
...
Windows driver supports 50dpi as the lowest mode.
2020-01-07 22:36:09 -08:00
Louis Lagendijk
bd2d5f5e7d
pixma_bjnp: Report that scanner model is not supported as suggested in issue #69
...
pixma: Improved logging for search for scanner model
Moved lookup_scanner from pixma_io_sanei.c to pixma_bjnp.c
pixma_io_sanei.c: fix whitespace
2020-01-07 16:07:46 +00:00
Ordissimo
74131ede6c
Add header curl.
2020-01-07 14:14:19 +00:00
thierry1970
94daddc6bd
cURL global init/cleanup issues.
2020-01-07 15:01:47 +01:00
thierry1970
66ec4dda26
Buffer overflow.
2020-01-07 14:07:29 +01:00
thierry1970
7e192f8ba7
Memory and file handle leak.
2020-01-07 14:06:11 +01:00
Rolf Bensch
dad063068d
pixma: backend version 0.27.0
2020-01-05 12:49:20 +01:00
Rolf Bensch
b7e0d9afae
pixma: fix comment
2020-01-05 12:26:24 +01:00
Rolf Bensch
7b228be5e7
pixma: move source files to subfolder
2020-01-05 12:26:24 +01:00
Rolf Bensch
ba2f14fde1
pixma: backend version 0.26.1
2020-01-04 12:39:59 +01:00
Rolf Bensch
d910d52dab
pixma: restrict ADFDUP scans to 300dpi for i-SENSYS MF741C/743C
2020-01-04 11:56:21 +01:00
Rolf Bensch
cf506daab3
pixma: new scanner Canon i-SENSYS MF741/743
2020-01-04 11:56:21 +01:00
Povilas Kanapickas
45952fdd69
genesys: Reduce duplication of scanner read methods on gl847
2020-01-04 12:09:29 +02:00
Povilas Kanapickas
8bd8174cc9
genesys: Reduce duplication of scanner read methods on gl846
2020-01-04 12:09:28 +02:00
Povilas Kanapickas
d74c4b6b68
genesys: Reduce duplication of scanner read methods on gl841
2020-01-04 12:09:27 +02:00
Povilas Kanapickas
67d3c134a9
genesys: Reduce duplication of scanner read methods on gl124
2020-01-04 12:09:26 +02:00
Povilas Kanapickas
c39cb0d4b9
genesys: Fix definition of session's output_segment_pixel_group_count
2020-01-04 12:09:25 +02:00
Povilas Kanapickas
2269e05fac
genesys: Fix pipeline setup in read_unshuffled_image_from_scanner()
2020-01-04 12:09:24 +02:00
Povilas Kanapickas
8d2081cda8
genesys: Deduplicate calculation of scan line count
2020-01-04 12:09:23 +02:00
Povilas Kanapickas
b5b50758f5
genesys: Remove out of date note
2020-01-04 12:09:22 +02:00
Povilas Kanapickas
eb45a1b709
genesys: Handle segmented sensors in read_unshuffled_image_from_scanner
2020-01-04 12:09:21 +02:00
Povilas Kanapickas
444f25b96f
genesys: Remove duplicate computations of line length
2020-01-04 12:09:20 +02:00
Jakub Benda
b30784a730
xerox_mfp: Fix Samsung CLX-3175FW color scan "Not a JPEG file"
...
Exclude "Samsung CLX-3170 Series" from JPEG mode. Closes #200 .
Reference: https://gitlab.com/sane-project/backends/issues/200
2020-01-03 19:50:36 +03:00
Olaf Meeuwissen
8d022c29b2
Merge branch 'escl-png' into 'master'
...
Added PNG and TIFF decoder.
See merge request sane-project/backends!283
2020-01-02 10:57:08 +00:00
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
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
Klaus Kämpf
4c8e4dd934
pieusb: fix compiler warnings
...
fixes #196
2019-12-30 11:56:24 +09: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
Rolf Bensch
6f34396ab4
pixma: backend version 0.26.0
2019-12-28 13:58:11 +01:00
Rolf Bensch
a7c78f41d6
pixma: reorder scanner defines
2019-12-28 13:54:34 +01: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
aa76967917
pixma: fix device define for Canon PIXMA G2010 Series
2019-12-28 13:26:11 +01: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
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
thierry1970
a23dfbfff5
Standardization of method signatures.
2019-12-26 11:55:00 +01: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
Ordissimo
df59815895
Remove unused function.
2019-12-25 18:43:56 +00:00
Ordissimo
296a4b68f9
Fix syntaxe.
2019-12-25 18:34:57 +00:00
Thierry HUCHARD
d3efc20a0b
Decoding files in one phase.
2019-12-25 18:36:23 +01:00
Thierry HUCHARD
c6e8d381e0
Fix syntax.
2019-12-25 00:49:52 +01:00
Thierry HUCHARD
5c15d37248
Adding png support. The decompressors (Jpeg and Png) are in separate files.
2019-12-25 00:39:04 +01: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
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
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
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
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
fd29cae64a
genesys: Correctly set LINESEL on 4400F
2019-12-22 17:07:24 +02:00
Povilas Kanapickas
69067f2f7f
genesys: Remove no longer used final_exposure
2019-12-22 17:07:24 +02:00
Povilas Kanapickas
35385625de
genesys: Delete unused code
2019-12-22 17:07:24 +02:00
Povilas Kanapickas
38f988dc39
genesys: Use correct SHDAREA setting on 4400F
2019-12-22 17:07:24 +02:00
Povilas Kanapickas
67638f55b2
genesys: Use a more reasonable backtract distance on gl843
2019-12-22 17:07:24 +02:00
Povilas Kanapickas
2a6081affe
genesys: Fix scanning table length calculation on gl843
2019-12-22 17:07:24 +02:00
Povilas Kanapickas
33bfa923d5
genesys: Add a way to create fastest motor acceleration table
2019-12-22 17:07:24 +02:00
Povilas Kanapickas
83fa276b90
genesys: Fix bug in setting up motor tables 3,4,5 on gl843
2019-12-22 17:06:38 +02:00
Thierry HUCHARD
2788328e19
Fix: better readability.
2019-12-22 13:48:55 +01:00
Olaf Meeuwissen
fd407cc58b
dll: Make previous change backwardly compatible
...
Older GCC do not know the cast-function-pragma and flag that as a
warning. That results in an error on our Debian 9 build.
2019-12-22 18:34:45 +09:00
Olaf Meeuwissen
e7f6c6e864
dll: Ignore [-Wcast-function-type] compiler warnings
2019-12-22 17:58:39 +09:00
Thierry HUCHARD
afc9b62c7e
Fix: better readability.
2019-12-22 09:50:04 +01:00
Olaf Meeuwissen
a993e6438e
dll: Fix [-Wformat-truncation=] compiler warning
...
Per POSIX, `readdir` returns filenames that are at most `NAME_MAX` long.
2019-12-22 16:09:11 +09:00
Ralph Little
3d12424961
gt68xx: suppressed strncpy compiler warnings.
2019-12-21 22:53:16 -08:00
Ralph Little
a4360b0a75
gt68xx: suppress snprintf warning with return length check.
2019-12-21 22:07:39 -08:00
Ralph Little
b02a208a94
as6e: data type correction.
...
size_t is unsigned so -1 error from snprintf would not be properly detected.
2019-12-21 22:02:50 -08:00
Ralph Little
d1940cf9b8
epjitsu: strncpy() compiler warning suppressed.
2019-12-21 21:44:39 -08:00
Ralph Little
2230614ede
as6e: compiler warnings suppressed for problematic use of strncat.
...
Replaced with snprintf which simplifies the code and suppresses the warning.
2019-12-21 21:24:19 -08:00
Ralph Little
3bb5e94d65
artec: strncpy replaced with memcpy()
...
This was a cheeky strncpy hiding what is really the job of memcpy().
2019-12-21 20:57:48 -08:00
Ralph Little
821efb2626
ibm/ricoh: suppress warning by using snprintf instead of strncat
2019-12-21 20:21:52 -08:00
Ralph Little
790bdd822a
plustek: Fix [-Wformat-overflow=] compiler warnings on Debian 10
...
Also fixes a format truncation warning observed elsewhere.
2019-12-22 02:05:53 +00:00
thierry1970
6506cd9595
indicator of the presence of the DocumentFormatExt field, forces for certain printer the output format.
2019-12-19 14:30:35 +01:00
Ralph Little
97dea94959
Revert "plustex: suppressed format truncated compiler warning."
...
This reverts commit cc7fbd35e535e22cd13cd58979921e0c01fb38b4
2019-12-19 12:14:16 +00:00
Stanislav Yuzvinsky
8de208c24c
Add SP-112SU model
2019-12-19 11:57:25 +00:00
Thierry HUCHARD
277194d534
Revert "uniformise signature."
...
This reverts commit 2eff3e82ba
.
2019-12-17 20:00:19 +01:00
Thierry HUCHARD
2eff3e82ba
uniformise signature.
2019-12-17 19:58:14 +01:00
Povilas Kanapickas
48fd80d208
genesys: Simplify handling of motor step multiplier
2019-12-14 10:20:15 +02:00
Povilas Kanapickas
1d7adfcfc1
genesys: Fix naming of step multiplier
2019-12-14 10:20:14 +02:00
Povilas Kanapickas
194920159d
genesys: Remove support for legacy curves
2019-12-14 10:20:13 +02:00
Povilas Kanapickas
3d9113997f
genesys: Switch remaining legacy curve uses to physical curves
2019-12-14 10:20:12 +02:00
Povilas Kanapickas
9a245a1325
genesys: Switch unused motor curves to physical format
2019-12-14 10:20:11 +02:00
Povilas Kanapickas
7d477da404
genesys: Use MotorSlope in gl646 code
2019-12-14 10:20:10 +02:00
Povilas Kanapickas
dec9962773
genesys: Make the size of slope tables configurable by asic type
2019-12-14 10:20:09 +02:00
Povilas Kanapickas
c685ac075b
genesys: Return MotorSlopeTable out of *_generate_slope_table()
2019-12-14 10:20:08 +02:00
Povilas Kanapickas
8731a6cc5d
genesys: Return MotorSlopeTable out of *_create_slope_table3()
2019-12-14 10:20:07 +02:00
Povilas Kanapickas
7c6229f272
genesys: Rename MotorSlopeTable::{scan_steps -> steps_count}
2019-12-14 10:20:06 +02:00
Povilas Kanapickas
54034c3fae
genesys: Fix Opticfilm 7200i and 7500i motor curves
2019-12-14 10:20:05 +02:00
Povilas Kanapickas
868c437896
genesys: Convert hardcoded motor slopes to physical slope config
2019-12-14 10:20:04 +02:00
Povilas Kanapickas
465077c6cb
genesys: Remove manual override of the first value in motor tables
2019-12-14 10:20:03 +02:00
Povilas Kanapickas
f605e7c229
genesys: Fix testing mode recording of scanner_slow_back_home_ta()
2019-12-14 10:20:02 +02:00
Povilas Kanapickas
c1d791f11c
genesys: Raise error when TA scan head takes too long to return home
2019-12-14 10:20:01 +02:00
Povilas Kanapickas
01bae1305f
Merge branch 'genesys-remove-broken-resolutions' into 'master'
...
genesys: Disable broken resolutions on LiDE 50 and 80
See merge request sane-project/backends!273
2019-12-22 14:48:28 +00:00
Povilas Kanapickas
e0679c316e
Merge branch 'genesys-fix-4850c' into 'master'
...
genesys: Fix black scans on HP 4850C
See merge request sane-project/backends!272
2019-12-22 14:44:01 +00:00
Povilas Kanapickas
49934f0678
genesys: Fix black side calibration on HP 4850c
2019-12-22 16:29:22 +02:00
Povilas Kanapickas
8d8157b96e
genesys: Fix scan area Y position on HP 4850c
2019-12-22 16:29:22 +02:00
Povilas Kanapickas
355f2ddd4d
genesys: Fix black scans on HP 4850c
2019-12-22 16:29:14 +02:00
Povilas Kanapickas
8c99dc4819
genesys: Fix stagger configuration on 8600F
2019-12-22 16:24:10 +02:00
Povilas Kanapickas
a8df8201e9
genesys: Fix stagger configuration on 8400F
2019-12-22 16:24:10 +02:00
Povilas Kanapickas
8a2af6d4b2
genesys: Fix stagger configuration on OpticFilm scanners
2019-12-22 16:24:10 +02:00
Touboul Nathane
7c34046a39
Add escl backend
2019-12-14 08:13:54 +00:00
Povilas Kanapickas
5cfb44366b
genesys: Disable broken resolutions on LiDE 50 and 80
2019-12-14 10:13:09 +02:00
Povilas Kanapickas
02b0f0d474
genesys: Convert old broken stagger configuration to per-sensor config
2019-12-14 09:12:29 +02:00
Povilas Kanapickas
4c0f63052b
genesys: Add a way to configure per-sensor stagger config
2019-12-14 09:12:28 +02:00
Povilas Kanapickas
4ef2e39872
genesys: Remove remaining uses of SensorProfile
2019-12-08 11:42:32 +02:00
Povilas Kanapickas
7971ee5693
genesys: Use sensor profile information directly from profiles
2019-12-08 11:42:31 +02:00
Povilas Kanapickas
524c9de1fa
genesys: Fix calibration exposure in testing mode
2019-12-08 11:42:30 +02:00
Povilas Kanapickas
791433c895
genesys: Duplicate SensorProfile information into Genesys_Sensor struct
2019-12-08 11:42:29 +02:00
Povilas Kanapickas
716689161d
genesys: Use correct sensor for scanning on gl124
2019-12-08 11:42:28 +02:00
Povilas Kanapickas
1f33bafe5d
genesys: Remove unused fallback sensor profile code
2019-12-08 11:42:27 +02:00
Povilas Kanapickas
a7fd1d6ae1
genesys: Simplify sensor profile definition
2019-12-08 11:42:26 +02:00