Povilas Kanapickas
190361b724
genesys: Work around first line having artifacts during calibration
2019-05-18 14:56:10 +03:00
Povilas Kanapickas
3a4f67feef
genesys: Fix lockups on GL843 during calibration
2019-05-18 14:56:09 +03:00
Povilas Kanapickas
ed582c5858
genesys: Fix gain calibration on GL843
2019-05-18 14:56:08 +03:00
Povilas Kanapickas
b220512172
genesys: Add a separate shading line count param for TA mode
...
q
2019-05-18 14:56:07 +03:00
Povilas Kanapickas
b7ef75d63f
genesys: Implement transparency support for 8600F
2019-05-18 14:56:06 +03:00
Povilas Kanapickas
126e98524a
genesys: Remove special ADF handling for G4050
2019-05-18 14:56:05 +03:00
Povilas Kanapickas
091fdbe6d6
genesys: Use correct offsets for transparency scan
2019-05-18 14:56:04 +03:00
Povilas Kanapickas
d0c4f87ac7
genesys: Don't set exposure to zero on 8600F
2019-05-18 14:56:03 +03:00
Povilas Kanapickas
33a60dcc7b
genesys: Implement support for 8600F
2019-05-18 14:56:02 +03:00
Povilas Kanapickas
41e2029e4b
genesys: Initialize 0x7e register on GL843
2019-05-18 14:56:01 +03:00
Povilas Kanapickas
966ef33710
genesys: Fix pixel calculation during calibration on gl843
2019-05-18 14:56:00 +03:00
Povilas Kanapickas
df889c96f5
genesys: Deduplicate pixel count computation during calibration
2019-05-18 14:55:59 +03:00
Povilas Kanapickas
695addaafd
genesys: Fix pixel count when scanning in half-ccd mode on GL843
2019-05-18 14:55:58 +03:00
Povilas Kanapickas
d2b4a1b838
genesys: Extract gl843_compute_physical_params()
2019-05-18 14:55:57 +03:00
Povilas Kanapickas
76bf1ad072
genesys: Improve documentations for registers in various places
2019-05-18 14:55:56 +03:00
Povilas Kanapickas
aeefb37072
genesys: Fix read pixel count calc during calibration on GL843
2019-05-30 23:42:33 +03:00
Povilas Kanapickas
50b27fe836
genesys: Use std::string for Genesys_Device::calib_file
2019-05-25 11:15:42 +03:00
Povilas Kanapickas
38986c2c6f
genesys: Use std::vector for Genesys_Device::img_buffer
2019-05-25 11:15:41 +03:00
Povilas Kanapickas
eb93267fa9
genesys: Use std::vector instead of custom vector implementation
2019-05-25 11:15:40 +03:00
Povilas Kanapickas
69485e9f11
genesys: Remove unused new device list
2019-05-25 11:15:39 +03:00
Povilas Kanapickas
3096dcee0e
genesys: Use s_devices.size() for num_devices
2019-05-25 11:15:38 +03:00
Povilas Kanapickas
9c2fdeeb3d
genesys: Use proper containers for device lists
2019-05-25 11:15:37 +03:00
Povilas Kanapickas
5a90b7bb8f
genesys: Convert Genesys_Buffer to C++ class
2019-05-25 11:15:36 +03:00
Povilas Kanapickas
247658f23e
genesys: Return std::vector from GL646 simple_scan()
2019-05-25 11:15:35 +03:00
Povilas Kanapickas
e48b6c4e2d
genesys: Store global Genesys_Scanner instances in std::list
2019-05-25 11:15:34 +03:00
Povilas Kanapickas
15b373a5cc
genesys: Use std::vector for calibration cache average data
2019-05-25 11:15:33 +03:00
Povilas Kanapickas
64ca298d02
genesys: Store calibration class using std::list
2019-05-25 11:15:32 +03:00
Povilas Kanapickas
52b1989eda
genesys: Remove no longer used RIEF and RIEF2 macros
2019-05-25 11:15:31 +03:00
Povilas Kanapickas
3d44c89f1e
genesys: Use std::vector for Genesys_Device::{dark,white}_average_data
2019-05-25 11:15:30 +03:00
Povilas Kanapickas
2dc4e5d1fc
genesys: Use std::vector for Genesys_Sensor::gamma_table
2019-05-25 11:15:29 +03:00
Povilas Kanapickas
555be1c3eb
genesys: Use Genesys_Device as C++ class
2019-05-25 11:15:28 +03:00
Povilas Kanapickas
cb189cfe2d
genesys: Rewrite sensor table to use std::vector
2019-05-25 11:15:27 +03:00
Povilas Kanapickas
e5eff5d76f
genesys: Add facility for auto releasing static data on backend exit
2019-05-25 11:15:26 +03:00
Povilas Kanapickas
9cea33b53c
genesys: Use std::vector instead of malloc for local allocations
2019-05-25 11:15:25 +03:00
Povilas Kanapickas
896385a082
genesys: Ensure that functions passed to C API don't throw
2019-05-25 10:03:15 +03:00
Povilas Kanapickas
23f3ebf612
genesys: Wrap exported functions to always catch exceptions
2019-05-25 10:03:14 +03:00
Stanislav Yuzvinsky
7a8ae92862
ricoh2: Rearrange init/deinit code of ricoh2 to correctly support "code flow"
...
The backend worked incorrectly when scanning process was interrupted before the
current page was scanned completely. For example, scanimage tool could not scan
the next page if the previous one was interrupted. Now this issue is fixed.
See also "4.4. Code Flow" in SANE API specification v.1.06.
Also debug levels was changed to have better control over what should be
logged.
2019-05-13 23:44:07 +03:00
Olaf Meeuwissen
e13b80fa6f
Merge branch 'add_sg3100' into 'master'
...
Add support for Aficio SG3100SNw
See merge request sane-project/backends!57
2019-05-12 03:11:00 +00:00
Stanislav Yuzvinsky
0273c05c95
Fix review comments; add the backend to dll.conf
2019-05-11 16:17:40 +03:00
Povilas Kanapickas
4df63ef548
Merge branch 'genesys-debug-improvements' into 'master'
...
genesys: Miscellaneous debug improvements
See merge request sane-project/backends!64
2019-05-11 09:20:45 +00:00
Povilas Kanapickas
3c8b9b9167
Merge branch 'genesys-reduce-duplication' into 'master'
...
genesys: Reduce duplication in low level functions
See merge request sane-project/backends!63
2019-05-11 09:14:06 +00:00
Povilas Kanapickas
988a91aec4
genesys: Write all offset calibration debug to a single file on gl843
2019-05-11 12:12:29 +03:00
Povilas Kanapickas
36bc194405
genesys: Add a small C array implementation
2019-05-11 12:12:28 +03:00
Povilas Kanapickas
5321427e55
genesys: Don't write identical debug pnm files
2019-05-11 12:12:27 +03:00
Povilas Kanapickas
882741d78a
genesys: Prepend file identifier to debug image filenames
2019-05-11 12:12:26 +03:00
Povilas Kanapickas
d3b25a5966
genesys: Don't write identical debug pnm files
2019-05-11 12:12:25 +03:00
Povilas Kanapickas
8de5a1fdb1
genesys: Remove unused code
2019-05-11 12:05:26 +03:00
Povilas Kanapickas
da81a523fa
genesys: Reuse sanei_genesys_bulk_write_register() on GL841
2019-05-11 12:05:25 +03:00
Povilas Kanapickas
2b1f13fddb
genesys: Reuse sanei_genesys_bulk_write_register() on GL646
2019-05-11 12:05:24 +03:00
Povilas Kanapickas
b683a40fdd
genesys: Reuse common genesys register functions on GL646
2019-05-11 12:05:23 +03:00
Povilas Kanapickas
58e1eb8ac4
genesys: Reuse sanei_genesys_bulk_write_data() on GL646
2019-05-11 12:05:22 +03:00
Povilas Kanapickas
80efacab10
genesys: Reuse sanei_genesys_bulk_write_data() on GL841
2019-05-11 12:05:21 +03:00
Povilas Kanapickas
d62d4f0d16
genesys: Use sanei_genesys_get_bulk_max_size() for max bulk out size
2019-05-11 12:05:20 +03:00
Povilas Kanapickas
7ee139bd4b
genesys: Pass device to sanei_genesys_write_ahb() as ptr not number
2019-05-11 12:05:19 +03:00
Povilas Kanapickas
d7bff42cba
genesys: Add generic sanei_genesys_bulk_write_data() out of GL843 impl
2019-05-11 12:05:18 +03:00
Povilas Kanapickas
98258549cb
genesys: Extract sanei_genesys_get_bulk_max_size()
2019-05-11 12:05:17 +03:00
Povilas Kanapickas
5b9d014592
genesys: Remove commented out code for buffer size alignment
2019-05-11 12:05:16 +03:00
Povilas Kanapickas
9dc8bbfac9
genesys: Reuse sanei_genesys_bulk_read_data() on GL847
2019-05-11 12:05:15 +03:00
Povilas Kanapickas
4af3557bbf
genesys: Reuse sanei_genesys_bulk_read_data() on GL846
2019-05-11 12:05:14 +03:00
Povilas Kanapickas
216c18f9ff
genesys: Reuse sanei_genesys_bulk_read_data() on GL843
2019-05-11 12:05:13 +03:00
Povilas Kanapickas
55e5c7b7ac
genesys: Reuse sanei_genesys_bulk_read_data() on GL841
2019-05-11 12:05:12 +03:00
Povilas Kanapickas
8e8511a49e
genesys: Reuse sanei_genesys_bulk_read_data() on GL646
2019-05-11 12:05:11 +03:00
Povilas Kanapickas
69435b3bb2
genesys: Revert 512-byte bulk transfer alignment workaround
...
It should be handled by libusb.
2019-05-11 12:05:10 +03:00
Povilas Kanapickas
4a899d26f3
genesys: Create generic sanei_genesys_bulk_read_data out of gl124 impl
2019-05-11 12:05:09 +03:00
Povilas Kanapickas
887759192b
genesys: Add option to force calibration ignoring caches
2019-05-11 12:00:25 +03:00
Olaf Meeuwissen
15fd9bc9ce
Merge branch 'log-messages-no-git-conflict-markers' into 'master'
...
Don't use strings that are similar to conflict markers in debug msgs
See merge request sane-project/backends!60
2019-05-11 08:13:18 +00:00
Povilas Kanapickas
ca051cc227
genesys: Compile library as C++ code
2019-05-11 00:03:26 +03:00
Povilas Kanapickas
72121bc7d8
sanei: Use C linkage for internal functions in C++ mode
2019-05-11 00:03:26 +03:00
Povilas Kanapickas
9e3b5d6381
Update generated files
2019-05-11 00:03:26 +03:00
Povilas Kanapickas
856391100f
Merge branch 'genesys-explicit-casts' into 'master'
...
genesys: Perform type casts explicitly
See merge request sane-project/backends!59
2019-05-10 18:23:32 +00:00
Povilas Kanapickas
47e7f087c6
genesys: Perform type casts explicitly
2019-05-10 21:11:01 +03:00
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
296542905e
avision: Fix threaded ADF flipping duplex handling. Re #24
2019-05-04 23:39:33 +09:00
Olaf Meeuwissen
25feb1be0c
genesys: Fix use of uninitialized variable
...
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869673
2019-05-01 11:32:14 +09:00
Stanislav Yuzvinsky
3514d06156
Add support for Aficio SG3100SNw
2019-05-01 01:27:10 +03:00
Povilas Kanapickas
0a66ed1dbc
genesys: Use a function to sleep ms to reduce chance of errors
2019-04-28 17:47:45 +03:00
Povilas Kanapickas
d9f65eefc0
genesys: Fix a bug in sleep duration calculation
2019-04-28 17:47:44 +03:00
Povilas Kanapickas
baaa934dce
genesys: Use a wrapper of usleep()
2019-04-28 17:47:43 +03:00
Rolf Bensch
916ce82f00
pixma: backend version 0.23.0
2019-04-25 21:31:27 +02:00
Rolf Bensch
28d87cb6e5
Merge remote-tracking branch 'origin/master'
2019-04-25 21:27:53 +02:00
Rolf Bensch
9fe7d99089
Merge branch 'master' into 'master'
...
Added Imageclass MF634Cdw
See merge request sane-project/backends!49
2019-04-25 19:26:50 +00:00
Rolf Bensch
392beeec74
pixma: new scanners Canon i-SENSYS MF110, MF260, MF420, MF510, MF520, MF640 and MF740 Series
2019-04-25 21:24:40 +02:00
Povilas Kanapickas
a814df3343
genesys: Prefer numeric model IDs instead of string comparisons
2019-04-23 00:55:46 +03:00
Povilas Kanapickas
ad164ce9c6
genesys: Fix a typo in LiDE 120 gpio setup
2019-04-23 00:55:45 +03:00
Povilas Kanapickas
f240a77e92
genesys: Add numeric model IDs to model tables
2019-04-23 00:55:44 +03:00
Povilas Kanapickas
a569bfbf02
Merge branch 'genesys-misc' into 'master'
...
genesys: Miscellaneous changes/improvements
See merge request sane-project/backends!53
2019-04-22 21:38:29 +00:00
Povilas Kanapickas
3cd8a4cd01
genesys: Use hex to print USB vendor and product IDs to debug log
2019-04-23 00:28:17 +03:00
Povilas Kanapickas
d7c17f7540
genesys: Limit maximum bulk transfer size to allow data capture
2019-04-23 00:14:48 +03:00
Povilas Kanapickas
f04119b126
genesys: Remove support for fake USB mode
...
WIP implement support for 8600F
2019-04-23 00:14:47 +03:00
Povilas Kanapickas
902610132b
genesys: Include genesys_low.h
2019-04-23 00:14:46 +03:00
Povilas Kanapickas
2341618720
genesys: Work around reads from non-initialized memory in gamma setup
2019-04-23 00:05:35 +03:00
Povilas Kanapickas
88c22e38be
genesys: Fix double free in sanei_genesys_send_gamma_table()
2019-04-23 00:05:34 +03:00
Povilas Kanapickas
621c9799fe
genesys: Fix use of uninitialized memory
2019-04-23 00:05:33 +03:00
Povilas Kanapickas
c9ebf2b560
Merge branch 'genesys-remove-unneeded-function-names-in-dbg-args' into 'master'
...
genesys: Remove unneeded function name in DBG macro args
See merge request sane-project/backends!51
2019-04-22 20:56:38 +00:00
Povilas Kanapickas
2fd3b5622b
genesys: Remove unneeded function name in DBG macro args
2019-04-22 23:48:23 +03:00
Olaf Meeuwissen
4f5eb745ac
epson2_usb.c: Sync USB product IDs with epson2.desc content
2019-04-17 21:00:47 +09:00
MackPi
a3c64bc0ca
Added Imageclass MF634Cdw
...
Added MF634Cdw using MF733Cdw as reference
2019-04-03 16:37:03 -07:00
Louis Lagendijk
155248dde2
pixma_bjnp: change default timeout from 1 to 10 seconds (10000)
2019-03-27 19:09:43 +01:00
Louis Lagendijk
d15aa248c7
pixma_bjnp.c: corrected url-rewrite as it set bjnp:// unconditionally rather than honor the received method
...
function renamed to add_default_timeout() to clarify its purpose
2019-03-27 18:46:17 +01:00
Povilas Kanapickas
276670f3c2
Merge branch 'rerun-autoreconf' into 'master'
...
Rerun autoreconf and automake
See merge request sane-project/backends!44
2019-03-22 14:27:53 +00:00
Povilas Kanapickas
e92a3d6eba
Merge branch 'remove-unused-unit-testing' into 'master'
...
Remove uses of unused UNIT_TESTING ifdef
See merge request sane-project/backends!45
2019-03-22 14:25:39 +00:00
Povilas Kanapickas
265f4a96ea
genesys: Prefer enums to #defines
2019-03-22 14:50:03 +02:00
Povilas Kanapickas
2653cbaec7
Run autoreconf and automake
2019-03-20 23:09:07 +02:00
Povilas Kanapickas
d866998f10
genesys: Remove uses of unused UNIT_TESTING ifdef
2019-03-20 23:09:05 +02:00
Povilas Kanapickas
b7b5ca79c8
rts8891: Remove uses of unused UNIT_TESTING ifdef
2019-03-20 23:09:04 +02:00
Rolf Bensch
13350ba4ba
pixma: backend version 0.22.0
2019-03-11 17:46:18 +01:00
Rolf Bensch
dfc5f5ed76
pixma: new scanners Canon PIXUS XK50, XK70, XK80 Series
2019-03-11 17:45:27 +01:00
Rolf Bensch
6f4440152f
pixma: new scanners PIXMA TS6130, TS6180, TS6230, TS6280, TS8100,
...
TS8130, TS8180, TS8200, TS8230, TS8280,
TS9180, TS9580 Series
2019-03-11 17:44:19 +01:00
Rolf Bensch
adef553799
pixma: new scanners Canon PIXMA TR4500, TR7350, TR8530, TR8580, TR9530 Series
2019-03-11 17:26:29 +01:00
Rolf Bensch
83ddbd0fc4
pixma: new scanners Canon PIXMA G3010, G4010 Series
2019-03-11 17:23:20 +01:00
Rolf Bensch
953562ae8e
pixma: new scanner Canon PIXMA E4200 Series
2019-03-11 17:17:45 +01:00
Thierry
2915756ae4
Add Driver Canon Pixma TS 6200 Serie.
2019-03-05 08:43:31 +01:00
m. allan noah
9c4ac1f07f
canon_dr backend v57
...
- complete support for X-10, including hardware cropping (by manuarg)
- minor comments and move a bit of code for consistency
2019-02-24 20:40:25 -05:00
m. allan noah
81faeb46f2
Merge branch 'canon_drx10c' into 'master'
...
Add support for Canon DR-X10C scanner
See merge request sane-project/backends!12
2019-02-25 01:37:03 +00:00
Rolf Bensch
2d0912afdc
pixma: backend version 0.21.1
2019-02-24 12:40:16 +01:00
Rolf Bensch
d0e4f0fa52
pixma: add comment for MF733C
2019-02-24 12:38:37 +01:00
Rolf Bensch
73645abba0
Merge branch 'mikef-MF733C' into 'master'
...
Mikef mf733 c
See merge request sane-project/backends!42
2019-02-24 11:22:07 +00:00
m. allan noah
5ae6f698ae
remove trailing whitespace
2019-02-23 15:46:59 -05:00
m. allan noah
156f7c9bd4
fujitsu backend v134
...
rewrite init_vpd for scanners which fail to report overscan correctly
update description and man page to match
rebuild po files with updated line numbers
2019-02-23 15:16:32 -05:00
m. allan noah
057a10e984
move three scanners to unsupported.desc
...
These three machines are unsupportable by fujitsu backend. Remove
them from fujitsu backend files.
2019-02-23 15:14:34 -05:00
m. allan noah
941f6bb380
remove nonexistant scanners
...
the fi-6125 and 6135 were never released, though they showed in
some old versions of the windows driver. here, we remove them.
2019-02-23 14:54:48 -05:00
Mike Ferrara
eadd663676
Merge branch 'master' into mikef-MF733C
2019-02-22 10:40:29 -08:00
Mike Ferrara
7277cec027
Mods to support imageCLASS MF733Cdw USA color laser MFP
2019-02-22 10:35:24 -08:00
Rolf Bensch
c9c0d956c6
pixma: backend version 0.21.0
2019-02-20 19:16:01 +01:00
Rolf Bensch
7bbc9bf1c7
pixma: new scanner CanoScan LIDE 300
...
See issue sane-project/website#18
2019-02-20 19:16:01 +01:00
Rolf Bensch
ab1b746c69
pixma: add button support for CanoScan LiDE400
2019-02-20 19:15:52 +01:00
pekhterev
d978494096
pixma: new scanner CanoScan LiDE 400
...
See merge request sane-project/backends!36
2019-02-20 17:44:44 +00:00
Manuel Argüelles
60dffda603
Add mention of company contributing to canon_dr.c
2019-02-08 22:40:15 -05:00
Alex Belkin
2b0c7a3170
xerox_mfp: Add Samsung C480W usb id
...
Reported in #54 by Lambrigts walter.
2019-02-05 15:19:27 +03:00
Piraty
fd18d197f8
xerox_mfp: Add Samsung Xpress M2070
...
Device is tested with latest sane (1.0.27) on several Linux
distributions (Void Linux + Ubuntu), using the proposed addition.
Frontends used to test are: simple-scan and xsane
2019-02-04 23:01:30 +01:00
Olaf Meeuwissen
4354fc7f6d
Merge branch '7-discolored-bar-on-scan-canolide-200-from-1-0-25-onwards' into 'master'
...
Restore slow_back_home use, disable rewind for gl847
Closes #7
See merge request sane-project/backends!34
2019-01-21 11:51:48 +00:00
Bernhard Übelacker
93340afddf
mustek_usb2: Avoid stack smashing. Fixes #35
...
Use a properly sized variable in call to sanei_usb_{read,write}_bulk.
Debian-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886777
Debian-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907972
2019-01-21 20:21:55 +09:00
Rolf Bensch
99abf80410
pixma: backend version 0.20.0
2019-01-01 14:25:23 +01:00
Rolf Bensch
8fdc6f79ea
Revert "pixma: backend version 0.19.0"
...
This reverts commit dd6e263241
.
2019-01-01 14:24:41 +01:00
Rolf Bensch
46ef5ffa41
pixma: update copyright
2019-01-01 14:24:27 +01:00
Rolf Bensch
107f334d7f
pixma: update copyright
2019-01-01 14:20:46 +01:00
Rolf Bensch
dd6e263241
pixma: backend version 0.19.0
2019-01-01 14:14:19 +01:00
Rolf Bensch
ff021ddcf9
pixma: new scanner Canon imageCLASS D550
2019-01-01 14:13:58 +01:00
Gerhard Jäger
ac83c8110c
Merge branch 'plustek-fix-color-banding-64bit' into 'master'
...
backend/plustek: fix "color-banding" on 64bit
Closes #42
See merge request sane-project/backends!33
2018-12-31 14:13:26 +00:00
Gerhard Jäger
36648cba52
Merge branch 'lide700' into 'master'
...
Fix a bug with Canon LiDE 700 where bright areas overflow
See merge request sane-project/backends!32
2018-12-31 14:09:56 +00:00
Rolf Bensch
2d14283d0c
pixma: backend version 0.19.0
2018-12-20 12:57:14 +01:00
Rolf Bensch
2f3cdcb580
pixma: new scanner Canon PIXMA TS9500 Series
2018-12-20 12:56:47 +01:00
Nico R
08a638dc31
xerox_mfp: Add Samsung Xpress C1860FW
...
Device status is “untested”, because it was not really tested _in depth_.
Basic scanning of a number of pages using the automated feeder worked.
See https://alioth-lists.debian.net/pipermail/sane-devel/2018-October/036411.html
2018-12-19 18:42:51 +09:00
Olaf Meeuwissen
00d31e14f8
genesys: fix [-Wunused-function] compiler warning
2018-12-16 22:25:12 +09:00
Olaf Meeuwissen
d609de285b
Restore slow_back_home use, disable rewind for gl847
...
See #7 .
2018-12-16 22:03:43 +09:00
Michał Wróbel
d71f5e4bc8
backend/plustek: fix "color-banding" on 64bit
...
Fixes https://gitlab.com/sane-project/backends/issues/42
2018-12-09 23:30:32 +01:00
Mark Hills
47f9b1eeed
Fix a bug with Canon LiDE 700 where bright areas overflow
...
On this scanner, white areas are easily seen to become yellow, implying
some kind of integer overflow in the blue channel first, followed by
others.
I can't be 100% sure this is the correct fix without knowing more about
the design or having a data sheet; this "target_code" was established
experimentally.
This is a fix to issue #43 .
2018-12-01 21:23:10 +00:00
Mark Hills
4423421806
A switch statement prepares us for additional entries
...
Avoid the negative 'if' case which is harder to reason about. Preparing
for new entries to be added here.
2018-12-01 21:00:47 +00:00
Manuel Argüelles
1bc6ade107
Fix image displacement for lineart/halftone during hardware crop
...
Increases the width of the image if the reported size is less than the byte
boundary.
2018-11-30 10:50:13 -05:00
Manuel Argüelles
ecac81eee2
Set scan area to maximum when hardware crop is enable
2018-11-12 14:01:24 -05:00
Olaf Meeuwissen
0af6149aa8
Merge branch 'master' into 'master'
...
Add new backend ricoh2
See merge request sane-project/backends!20
2018-11-04 11:33:33 +00:00
Stanislav Yuzvinsky
9cf0de7559
Address review comments
2018-11-02 23:12:44 +03:00
Rolf Bensch
6f797d94e5
pixma: backend version 0.18.2
2018-10-28 12:29:36 +01:00
Rolf Bensch
1675697366
pixma: MP490 Series doesn't need special image formatting @ high dpi
2018-10-28 12:28:11 +01:00
Martin Güthle
f111032e7f
as6e: Avoid out of bound access
...
This fixes a crash due to a stack corruption.
To reproduce the bug, set a path within the PATH variable, to something,
which exceeds 128 chars. Maybe more chars are needed, to reach the stack
corruption.
2018-10-25 09:08:35 +02:00
Rolf Bensch
54aa154d91
pixma: backend version 0.18.1
2018-10-24 20:25:40 +02:00
Laurent Kap
1846b0381e
Adds button support for Pixma MG5350
2018-10-17 21:30:17 +00:00
Gerhard Jäger
54c42b04a8
Merge branch 'lide80-increase-bright-point' into 'master'
...
backend/genesys: Increase excessively low bright point on Lide 80 calib
See merge request sane-project/backends!10
2018-10-11 07:36:54 +00:00
Gerhard Jäger
f633bad6ec
Merge branch 'lide80-reduce-dark-area-offset' into 'master'
...
backend/genesys_gl841: Reduce extra dark area offset for Lide 80
See merge request sane-project/backends!9
2018-10-11 07:34:14 +00:00
Gerhard Jäger
030153b39b
Merge branch 'lide80-disable-ledadd' into 'master'
...
backend/genesys_gl841: Disable LEDADD on Lide 80 since it's broken there (fixes issue #12 )
Closes #12
See merge request sane-project/backends!7
2018-10-11 07:33:24 +00:00
Gerhard Jäger
6abb072ded
Merge branch 'master' into 'master'
...
genesys: Add buttons to LiDE 60
See merge request sane-project/backends!6
2018-10-11 07:29:59 +00:00
Rolf Bensch
b31ef5e4aa
pixma: backend version 0.18.0
2018-10-08 21:25:47 +02:00
Rolf Bensch
e8bdbe1f50
pixma: new scanners Canon MAXIFY MB5100, MB5400 Series
2018-10-08 21:24:51 +02:00
Rolf Bensch
b5e92b8b8d
pixma: new scanners Canon PIXMA TR7500, TR8500, TS3100, TS5100, TS9100 Series
2018-10-08 21:24:04 +02:00
Stanislav Yuzvinsky
d62ba623b2
Add new backend ricoh2
2018-09-29 11:16:28 +03:00
Rolf Bensch
0b811391a9
pixma: new scanner i-SENSYS MF410 Series
2018-09-13 19:07:42 +02:00
Rolf Bensch
e8b11ec2eb
pixma: backend version 0.17.51
2018-09-13 18:43:55 +02:00
Rolf Bensch
3b5223b16b
pixma: new scanner imageCLASS D570
2018-09-13 18:43:31 +02:00
Rolf Bensch
01533e2e3e
pixma: backend version 0.17.50
2018-09-12 22:09:06 +02:00
Rolf Bensch
dbecf846d5
pixma: new scanner TS6100 Series
2018-09-12 22:08:41 +02:00
Mikhail Strizhov
1484b47582
add support of Plustek OpticSlim 500+
2018-09-06 12:36:26 +03:00
Rolf Bensch
5230430a57
pixma: backend version 0.17.49
2018-08-27 21:57:24 +02:00
Rolf Bensch
eb11c2fc94
pixma: new scanner i-SENSYS MF731/733
2018-08-27 21:56:48 +02:00
Manuel Argüelles
d61a59ca01
Add support for Canon DR-X10C scanner
...
Added initial support for DR-X10C SSM2 scanner with dropout color, hardware
deskew and hardware crop.
2018-08-21 15:22:20 -05:00
Povilas Kanapickas
05400ad69b
backend/genesys: Increase excessively low bright point on Lide 80 calib
2018-07-21 04:00:36 +03:00
Povilas Kanapickas
92c40c44b9
backend/genesys_gl841: Reduce extra dark area offset for LIDE 80
2018-07-21 03:48:38 +03:00
Povilas Kanapickas
065855e1da
backend/genesys_gl841: Disable LEDADD on Lide 80 since it's broken there
2018-07-21 03:39:47 +03:00
Povilas Kanapickas
d6aace7d51
hp5590: Fix compile error
2018-07-21 03:39:09 +03:00
Ilia Sotnikov
1a2a8ee744
backend/hp5590.c, backend/hp5590_cmds.c:
...
+ Files header have been expanded to mention of scanbd integration by
Damiano Scaramuzza and Bernard Badr
2018-07-15 14:09:49 +03:00
Bernard B Badr
1649d5bfea
HP5590: scanbd integration is ready.
2018-07-15 11:00:18 +00:00
iosabi
a64f209643
genesys: Add buttons to LiDE 60
...
Canon LiDE 60 has four buttons. These are already supported in the
GL841, we just needed to add them to the config. Tested it with scanbd.
2018-07-02 22:48:02 +02:00
Ilia Sotnikov
a80f3b575e
backend/hp5590.c, backend/hp5590_cmds.c:
...
+ Files header have been expanded to mention of ADF page detection and
high DPI fixes by Bernard Badr
* Use C-style comments instead of C++ ones
2018-06-11 11:11:53 +03:00
Bernard Badr
b1da51f7fe
HP5590: Fixed ADF handling, fixed 48bit color mode, fixed 2400 dpi color layer shift.
2018-06-11 07:56:28 +00:00
Alex Belkin
ad20558bb2
xerox_mfp: Blacklist Samsung M288x Series from jpeg mode
...
Fix issue #315839 reported by Jan Christoph Ebersach
https://alioth.debian.org/tracker/?func=detail&group_id=30186&aid=315839&atid=410366
2018-05-18 01:51:01 +03:00
Alex Belkin
54a55700f6
xerox_mfp: blacklist SCX-4500W from jpeg mode
...
Fix issue #315876 reported by Bernard Cafarelli
https://alioth.debian.org/tracker/?func=detail&atid=410366&aid=315876&group_id=30186
2018-05-18 01:35:21 +03:00
Rolf Bensch
4accdae4ed
pixma: backend version 0.17.48
2018-05-16 21:29:50 +02:00
Earle F. Philhower, III
5e5183c84e
Return NO_DOCS after last ADF page, not IO_ERROR
...
When scanning from ADF in MP150 based scanners, after the last page is
scanned the XML session-close was sent. However, when using the ADF, if
the frontend called sane_start/sane_read(), it would try and send an
XML command that was not valid after the session abort. This would give
an IO error up through the stack.
Now, check if ADF scanning is happening and on reads after the last page
return SANE_STATUS_NO_DOCS on read. and abort.
Finally, minor fix of max DPI for Pixma MAXIFY MB21xx/27xx to 1200 DPI.
2018-05-16 07:09:00 -07:00
Robert A. Schmied
9d315bc2f7
Fix typo in debugging statement
2018-05-14 21:31:22 +09:00
Rolf Bensch
a1c42247ab
pixma: backend version 0.17.47
2018-05-12 20:55:35 +02:00
Earle F. Philhower, III
d90f9054c6
Add JPEG scanning, MB2100/2700 to PIXMA
...
The Maxify scanners seem to only be able to return JPEG data for ADF
sources. Attempting to send a gamma LUT will result in an error on
sane_start when trying to use the ADF. Flatbed scanning is unaffected
and runs fine with LUTs like prior models.
This patch adds support to the PIXMA backend for returned JPEG scans
and keys it off of the new capability, ADF_JPEG.
Tested on a Maxify MB2120 using the ADF and the flatbed scanner.
This may also fix other Maxify MB* models where it seems the ADF does
not with with the prior code, but I only have the MB2120 to test.
2018-05-10 19:11:35 -07:00
Olaf Meeuwissen
c6bfe88c31
Update mailing lists addresses to new location
2018-04-18 21:36:00 +09:00
Olaf Meeuwissen
a78969384b
autotools: Sync derived files
...
This was done by running
libtoolize --copy
autoreconf --force --install
on Debian GNU/Linux 9.3.
2018-03-17 10:35:57 +09:00
Rolf Bensch
a5ae2dad1d
pixma: backend version 0.17.46
2018-03-11 12:08:18 +01:00
Rolf Bensch
12dbae0fc5
pixma: MB2300 Series has no duplex document scanner
2018-03-11 12:06:51 +01:00
Rolf Bensch
4f156894db
pixma: add button support for MB2300 Series
2018-03-11 11:13:43 +01:00
Rolf Bensch
b6873cfa5a
pixma: backend version 0.17.45
2018-01-03 21:01:32 +01:00
Rolf Bensch
a873a5e444
pixma: new scanner Canon i-SENSYS MF630 Series [ #315892 ]
2018-01-03 21:00:51 +01:00
Rolf Bensch
e6db7a8f14
pixma: new scanner Canon i-SENSYS MF630 Series
2018-01-03 20:52:39 +01:00
Rolf Bensch
463e010f1a
pixma: new scanner Canon i-SENSYS MF620 Series
...
many thanks to Markus Heiser
2018-01-03 20:07:33 +01:00
Olaf Meeuwissen
d6a93b83a7
epson2: Add Expression 12000XL / DS-G20000 as supported
...
Also removed stale comment in epson2.desc.
See https://lists.alioth.debian.org/pipermail/sane-devel/2017-November/035744.html
2017-11-18 17:47:14 +09:00
Rolf Bensch
c51af8fd99
pixma: fix typos
2017-11-14 22:16:40 +01:00
Rolf Bensch
0a62202e95
pixma: backend version 0.17.44
2017-09-01 12:15:40 +02:00
Rolf Bensch
055c3ffa86
pixma: new scanners Canon PIXMA E410 Series, E3100 Series, G2000 and G3000
2017-09-01 12:15:10 +02:00
Rolf Bensch
61ca162fc0
pixma: fix definitions for PIXMA G4000
2017-09-01 12:07:57 +02:00
Rolf Bensch
d78013afc6
pixma_mp150: fix comments for generation 5 scanners
2017-09-01 11:52:39 +02:00
Rolf Bensch
fef19d7740
pixma: backend version 0.17.43
2017-08-31 20:34:32 +02:00
Rolf Bensch
450e55c230
pixma_mp150: send XML end of scan dialog also for generation 5 scanners
2017-08-31 20:32:53 +02:00
Olaf Meeuwissen
5a0e30b5e3
epson2: Add the Epson XP-243 245 247 Series as supported
...
See https://alioth.debian.org/tracker/?func=detail&atid=410366&aid=315818&group_id=30186
2017-08-17 21:34:11 +09:00
Olaf Meeuwissen
1e87016dca
epson2: Add the Epson XP-427 as supported
...
See https://alioth.debian.org/tracker/index.php?func=detail&aid=315805&group_id=30186&atid=410366
2017-08-12 15:07:07 +09:00
Olaf Meeuwissen
519ff57bed
install: Make sure configuration files get created before install
2017-08-12 15:03:51 +09:00
Olaf Meeuwissen
f88b5ea2b6
umax_pp: Fix [-Wsign-compare] compiler warnings
2017-07-22 15:31:42 +09:00
Olaf Meeuwissen
14e701438d
umax_pp: Fix [-Wunused-but-set-variable] compiler warnings
2017-07-22 14:19:02 +09:00
Olaf Meeuwissen
772f31d4a0
umax_pp: Fix [-Wunused-variable] compiler warnings
...
The variable declaration section has been completely rewritten to
follow the #ifdef structure of the function's implementation.
2017-07-22 14:02:10 +09:00
Olaf Meeuwissen
1f8bfd69a2
dell1600n_net: Fix [-Wincompatible-pointer-types] compiler warnings
...
This casts the pointers to the type expected by the functions as per
POSIX stipulations.
See http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html
2017-07-18 21:08:13 +09:00
Olaf Meeuwissen
f18ab2e2a2
plustek-pp: Replace sys/signal.h include with signal.h
...
All other backends already `#include <signal.h>` directly, without any
configure time checking or problems.
Fixes [-Wcc] compiler warning on Alpine.
2017-07-15 22:48:29 +09:00
Olaf Meeuwissen
68ec98d7b1
hp3500: Fix [-Wunused-function] compiler warning
...
The sigtermHandler is only used when _POSIX_SOURCE is defined.
2017-07-15 22:15:18 +09:00
Olaf Meeuwissen
73861ea91c
pixma: Fix [-Wint-conversion] and [-Wpedantic] compiler warnings
...
These are also related to the SANE_Pid type issues.
2017-07-15 17:11:06 +09:00
Olaf Meeuwissen
3caf05c033
hp: Fix [-Wint-conversion] compiler warnings
...
Don't do yourself what sanei_thread does for you already ;-)
2017-07-15 17:00:08 +09: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
3eb3d6b9bf
plustek-pp: Fix [-Wmisleading-indentation] compiler warnings
2017-07-12 21:20:12 +09:00
Rolf Bensch
48cb209f2a
pixma: backend version 0.17.42
2017-07-11 14:02:11 +02:00
Rolf Bensch
611647b61c
pixma_imageclass.c: restrict image width to 215mm for i-SENSYS MF240 Series
...
this scanner produces black stripes in 216mm wide images @ 600dpi
2017-07-11 14:00:40 +02:00
Rolf Bensch
02a4ec11bf
pixma: backend version 0.17.41
2017-07-10 23:12:56 +02:00
Rolf Bensch
49ae62618c
pixma_mp150.c: new generation 5 for scanners without special image format @ high dpi
2017-07-10 23:06:29 +02:00
Rolf Bensch
fbbb6cabf3
pixma: fix capabilities for TS* Series
2017-07-10 21:47:40 +02:00
Rolf Bensch
b5f78dd081
pixma_imageclass.c: fix image block size calculation for particular scanners
2017-07-10 21:46:57 +02:00
Olaf Meeuwissen
0bf4595273
plustek: Fix [-Wpedantic] compiler warning
...
The warning reads:
enumerator value for '_PS_INP_MIO6' is not an integer constant
expression
and that comes about as _PS_INP_MIO6 evaluates to 0x8000000, which
does not fit in the *signed* integer range which has been allotted
to enumeration constants by ISO C99.
Seeing that the _PS_INP* values appear to be bitflags (despite the
arithmatic additions in backend/plustek-usbdev.c!) it is safer to
use #defines instead of an enum.
2017-06-26 19:19:52 +09:00
Olaf Meeuwissen
a74cb99c1a
u12: Fix [-Wmisleading-indentation] compiler warning
...
It appears that what the compiler has to do is what was intended.
Fixing the indentation to make that clearer.
2017-06-26 18:19:27 +09:00
Olaf Meeuwissen
6ad9e8479d
pixma: Fix [-Wmisleading-indentation] compiler warning
...
There is no point in falling through the case branch so the break
should be at the same level as the if.
2017-06-26 18:07:11 +09:00
Olaf Meeuwissen
08e1ba1286
pieusb: Fix [-Wmisleading-indentation] compiler warning
...
The indentation has been aligned what is used inside the while loop.
The function appears to have been copied from elsewhere and slightly
modified.
The msg variable is set to NULL inside the if branch for efficiency
only.
2017-06-26 18:01:34 +09:00
Olaf Meeuwissen
3191056a4c
microtek2: Fix [-Wmisleading-indentation] compiler warnings
...
The case branches have been made to follow other case branches in the
same switch.
2017-06-26 17:58:44 +09:00
Olaf Meeuwissen
e04261673f
magicolor: Fix [-Wmisleading-indentation] compiler warning
...
The assumption is that the failure should be returned to the caller.
2017-06-26 17:57:14 +09:00
Olaf Meeuwissen
0f90a5c2e3
hp: Fix [-Wmisleading-indentation] compiler warning
...
Indentation based on the style used in the immediate neighbourhood.
The file uses a mix of styles though.
2017-06-26 17:55:30 +09:00
Olaf Meeuwissen
2ff1d7da59
genesys: Fix [-Wmisleading-indentation] compiler warning
...
The fix is based on similar code in backend/genesys_gl846.c and fixes
a potential infinite loop as well.
2017-06-26 17:52:08 +09:00
Olaf Meeuwissen
5098b9bfbb
genesys: Fix [-Wmisleading-indentation] compiler warnings
2017-06-26 17:51:40 +09:00
Olaf Meeuwissen
a1133aa194
pnm: Fix [-Wshift-negative-value] compiler warning
2017-06-26 12:28:54 +09:00
Olaf Meeuwissen
deb856cb27
umax: Fix [-Wshift-negative-value] compiler warning
2017-06-26 12:09:54 +09:00
Olaf Meeuwissen
ff535ef1ea
u12: Fix [-Wshift-negative-value] compiler warning
2017-06-26 12:09:39 +09:00
Olaf Meeuwissen
0c6fc8b174
snapscan: Fix [-Wshift-negative-value] compiler warning
2017-06-26 12:09:23 +09:00
Olaf Meeuwissen
582a3b8987
s9036: Fix [-Wshift-negative-value] compiler warning
2017-06-26 12:09:06 +09:00
Olaf Meeuwissen
73e1d3568d
plustek_pp: Fix [-Wshift-negative-value] compiler warning
2017-06-26 12:08:51 +09:00
Olaf Meeuwissen
1a1c808c15
plustek: Fix [-Wshift-negative-value] compiler warning
2017-06-26 12:08:37 +09:00
Olaf Meeuwissen
f8eb12b49d
mustek: Fix [-Wshift-negative-value] compiler warning
2017-06-26 12:08:17 +09:00
Olaf Meeuwissen
02ce2b5d46
agfafocus: Fix [-Wshift-negative-value] compiler warning
2017-06-26 12:07:24 +09:00
Olaf Meeuwissen
702a8e27b6
p5: Fix [-Wunused-const-variable=] compiler warning
...
The u8_range and threshold_percentage_range constants have not been
used for anything ever since the backend's addition. They probable
ended up in the code as a result of copy-and-paste.
2017-06-26 11:43:01 +09:00
Olaf Meeuwissen
aa5468552b
teco2: Fix [-Wunused-const-variable=] compiler warning
...
The default_dpi_color_adjust variable hasn't been used ever since the
backend was added.
2017-06-26 11:39:50 +09:00
Olaf Meeuwissen
a2083538e9
tamarack: Fix [-Wunused-const-variable=] compiler warning
...
The u8_range has been `#if 0`'d to match the gamma options' have been
disabled (since the initial revision). The options refer to u8_range.
2017-06-26 11:35:06 +09:00
Olaf Meeuwissen
2442ddf6d1
sp15c: Fix [-Wunused-const-variable=] compiler warning
...
The RCSid* variables have never been used for anything by the backend
code.
2017-06-26 11:28:10 +09:00
Olaf Meeuwissen
86ab41d8f1
mustek_usb: Fix [-Wunused-const-variable=] compiler warning
...
The brightness option that used the char_range variable was renamed to
threshold and changed to use u8_range in c95e4638
.
2017-06-26 11:19:55 +09:00
Olaf Meeuwissen
39849809d1
mustek: Fix [-Wunused-const-variable=] compiler warning
...
The const variables' definition has been #ifdef'd to prevent loss of
protocol info.
Neither scsi_area_and_windows nor scsi_lookup_table appear to have
been used for anything.
2017-06-26 11:16:55 +09:00