Wykres commitów

27 Commity (b49deae017ea893f0ffbca44fa1c26b54ee4fb11)

Autor SHA1 Wiadomość Data
Wolfram Sang 91c24b2955 epson2/epsonds: add new IDs provided by Epson
Sent by Nakamura Iwao via sane-devel mailing list on Nov, 29th. I only
sorted the epson2 descriptions alphabetically.

 Subject: [sane-devel] Additional model support for epson2 / epsonds backend
 Message-ID: <TYCPR01MB7872CDD0461B7572D5DBD7A8EB669@TYCPR01MB7872.jpnprd01.prod.outlook.com>
2021-12-03 12:36:33 +01:00
Ralph Little 1e88e1504e epsonds: Merge to master 2021-07-03 15:55:25 -07:00
Wolfram Sang eb42ad08d5 treewide: use SANE_CURRENT_* macros consistently
Backends use a mixture of SANE_CURRENT_{MAJOR | MINOR} and V_{MAJOR |
MINOR} with all kind of permutations. I was confused by this and one
comment in pieusb.c tells me I was not alone. Some items in old
changelogs suggest to use the SANE_CURRENT_ macros in backends, so let's
switch to do that with the exception of net.c and dll.c. Done with:

$ find backend -name '*.[ch]' | xargs sed -i '/nearly every/ ! { s/\<V_M/SANE_CURRENT_M/g }'
$ git checkout backend/net.c backend/dll.c

And manually removing the comment from pieusb.c. Everything still builds
fine.
2021-06-08 19:01:41 +02:00
pobrn 45f84a569c respect 'local_only' parameter of sane_get_devices()
Certain backends do network scans even if the 'local_only'
parameter for 'sane_get_devices()' is true. Fix that.

Changes:

1. Modify 'sanei_configure_attach()' so that backend specific
   data may be passed to the 'attach()' function.

2. Use this in certain backends to pass the value of the
   'local_only' parameter so that network related activities
   are only carried out when the value is false.
2020-08-12 12:29:38 +02:00
Olaf Meeuwissen 8e21bd5806 epsonds: Read whole payload of welcome message 2020-08-01 12:28:00 +09:00
Olaf Meeuwissen bfea8a1a82 Merge branch 'master' into 'release/1.0.30'
# Conflicts:
#   NEWS
2020-05-18 12:08:28 +00:00
Olaf Meeuwissen 9232792e0f epsonds: Add missing header files for socket use. Fixes #286 2020-05-05 12:31:34 +09:00
Olaf Meeuwissen b9b0173409 epsonds: Prevent possible buffer overflow when reading image data
Addresses GHSL-2020-084, re #279.
2020-04-27 20:24:44 +09:00
Olaf Meeuwissen 797cd1fb37 epson2, epsonds, kodakaio, magicolor: Don't set invalid value
If the value to be set is not valid, it should not change the sval
structure (even if doing so has no negative side effects).

This also makes the fallthrough less confusing by removing the first
cast of two for the br-x and br-y values.
2019-08-11 10:04:19 +09:00
Povilas Kanapickas e40596c2a5 Fix -Wimplicit-fallthrough warnings by adding standard annotations 2019-06-30 11:58:32 +03:00
Jerome Duval 2284c6e034 epsonds: add missing includes
Fixes build failure on Haiku.  Alioth Tracker: 315750.
2017-06-07 21:18:48 +09:00
René Rebe 5b10b0b635 epson2: fixed network transport for new scanners
increased command buffer due memory overrun, and always read receive
    status, even for zero length on network scanenrs, should fix #315552
2017-05-05 07:09:04 +02:00
Alessandro Zummo 9b389a61c5 epsonds: added support for network scanners 2016-06-21 00:44:29 +02:00
Alessandro Zummo 41a416e4af epsonds: fixed resolution setting bug, DS-60000 workaround is needed no more 2016-03-21 19:10:29 +01:00
Alessandro Zummo 8fd6151acd epsonds: fix stripes on DS-60000 at 1bpp/300dpi 2016-01-22 17:38:00 +01:00
Alessandro Zummo 4fa7f4f6f8 epsonds: clear endpoints on startup in order to fix some strange scanner / xhci combo 2016-01-22 17:01:57 +01:00
Alessandro Zummo 6d8b8d5aa6 epsonds: fix duplex w/ double feed detection 2015-12-15 16:17:53 +01:00
Alessandro Zummo 03d90ac2ed epsonds: do not enable double feed detection by default 2015-10-14 21:55:31 +02:00
Olaf Meeuwissen 4c49c87827 Fix mixed declarations and code warnings (ISO C90) 2015-09-25 20:53:42 -04:00
Alessandro Zummo 10c5ec697b epsonds: streamlined device detection 2015-05-13 00:01:24 +02:00
Alessandro Zummo b2aefab4cb epsonds: enable double feed detection 2015-04-26 23:11:37 +02:00
Alessandro Zummo ccd15dc966 Revert "epsonds: enable double feed detection"
This reverts commit 005c3928a5.
2015-04-26 23:09:08 +02:00
Alessandro Zummo 005c3928a5 epsonds: enable double feed detection 2015-04-26 22:44:01 +02:00
Alessandro Zummo 0d6f925e75 epsonds: support resolution ranges in pleace of a fixed list on selected scanners 2015-04-08 01:37:54 +02:00
Alessandro Zummo 225e00ceae epsonds: send scanning parameter all at once 2015-04-07 00:20:43 +02:00
Alessandro Zummo c3545da14d epsonds: code cleanup, fix initial hang 2015-04-07 00:20:43 +02:00
Alessandro Zummo d72f4663c0 epsonds: driver for Epson ESC/I-2 scanners 2015-04-07 00:20:43 +02:00