Wykres commitów

11985 Commity (e1b5c43b56360b2d05d3a2a20ab4c983ab8a335c)

Autor SHA1 Wiadomość Data
Ordissimo e1b5c43b56 Escl add models Epson ET-6100 2021-08-31 20:09:33 +00:00
Ralph Little 563afbe0fa Merge branch '505-issues-in-man-pages' into 'master'
Resolve "Issues in man pages"

Closes #505

See merge request sane-project/backends!646
2021-08-29 23:16:42 +00:00
Ralph Little e84dc47f73 doc: errors corrected by translator.
Many thanks to translator hmartink for raising these issues.
2021-08-29 16:00:23 -07:00
Ordissimo c3cdf4102c Update pixma.desc 2021-08-28 09:03:42 +00:00
Ordissimo 2ad66b6bec Merge branch 'add-models' into 'master'
Add models

See merge request sane-project/backends!645
2021-08-27 19:00:26 +00:00
Ordissimo fc99bbe784 Add models 2021-08-27 19:00:26 +00:00
Ordissimo c798d85eaf Merge branch 'cleaning-doc-escl' into 'master'
Alphabetical classification by make and model

See merge request sane-project/backends!644
2021-08-27 14:53:31 +00:00
thierry1970 94f25af5d8 Alphabetical classification by make and model 2021-08-27 16:09:09 +02:00
Ordissimo 26749cee53 Merge branch 'fix-redirection-curl' into 'master'
Fix redirect request.

See merge request sane-project/backends!643
2021-08-23 07:57:32 +00:00
Ordissimo 4929387246 Fix redirect request. 2021-08-23 07:57:32 +00:00
Ordissimo 1ba63878e4 Merge branch 'canon-pixma-new-model' into 'master'
Canon pixma new model

See merge request sane-project/backends!642
2021-08-10 20:32:29 +00:00
Ordissimo 47963e059e Canon pixma new model 2021-08-10 20:32:29 +00:00
Wolfram Sang f5b4e914c6 Merge branch 'epson-xp-455' into 'master'
epson2: Add XP-452 455 Series as supported

See merge request sane-project/backends!641
2021-08-03 20:21:38 +00:00
John Keeping 6ea78a79ca epson2: Add XP-452 455 Series as supported
Tested via simple-scan with a device branded as XP-455 but which
identifies in the device descriptor's product string as "XP-452 455
Series".
2021-07-31 18:04:26 +01:00
Ordissimo c6fd7de5f1 Merge branch 'escl-support-TR7500' into 'master'
Escl support tr4520 and tr7500

See merge request sane-project/backends!640
2021-07-29 15:34:30 +00:00
Ordissimo 4c99352dda Escl support tr4520 and tr7500 2021-07-29 15:34:29 +00:00
Ralph Little 9a0fa0da86 Merge branch '231-canon-lide-120-wrong-size-with-y-x-after-update-to-sane-backends-1-0-28-1078-g5747ffa9' into 'master'
Resolve "Canon LiDE 120: wrong size with -y -x after update to sane-backends 1.0.28-1078-g5747ffa9"

Closes #231

See merge request sane-project/backends!423
2021-07-17 22:40:54 +00:00
Ralph Little 7b2c4a0bf7 Merge branch 'epsonds_updates' 2021-07-03 15:59:39 -07:00
Ralph Little 1e88e1504e epsonds: Merge to master 2021-07-03 15:55:25 -07:00
Ralph Little bb8c0b088c epsonds: Correction from Epson for unused parameter fail in pipeline. 2021-07-02 09:31:12 -07:00
Ralph Little b74dfb3004 epsonds: corrections from Epson following first review.
Contains some rework to address concerns from pipeline build.
2021-06-22 12:41:44 -07:00
Ralph Little 9282aac9be epsonds: Fix up white space issues in patch.; 2021-06-20 14:57:08 -07:00
Ralph Little bc6035624d epsonds: major product support update from Epson.
Patch provided by Nakamura Iwao at Epson Japan.
2021-06-20 14:49:56 -07:00
Wolfram Sang 911be8af68 Merge branch 'cleanup_major_minor' into 'master'
treewide: use SANE_CURRENT_* macros consistently

See merge request sane-project/backends!632
2021-06-19 19:43:38 +00:00
Wolfram Sang 1a95dc7cde Merge branch 'gt68xx/proper_free' into 'master'
gt68xx: fix use-after-free and two mem leaks

See merge request sane-project/backends!634
2021-06-18 22:00:16 +00:00
Ralph Little 026430c293 Merge branch 'libera_chat' into 'master'
docs/sane.man: Move to libera.chat

See merge request sane-project/backends!637
2021-06-18 21:59:54 +00:00
Ralph Little e86175e726 Merge branch 'ps-devel-fix-microtek-va_list-001' into 'master'
Fix uclibc compile (include stdarg.h for va_list/va_start/va_end), fix NDEBUG compile (PDBG/pixma_dbg)

See merge request sane-project/backends!638
2021-06-18 19:08:15 +00:00
Peter Seiderer b1021e09e4 backend/pixma: fix compile with NDEBUG
Fixes:

  .../host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/9.3.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: ./.libs/libpixma.a(libpixma_la-pixma_common.o): in function `sanei_pixma_read_image':
pixma_common.c:(.text+0xc05): undefined reference to `DBG'
  .../host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/9.3.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: pixma_common.c:(.text+0xc38): undefined reference to `DBG'
  .../host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/9.3.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: pixma_common.c:(.text+0xcbf): undefined reference to `DBG'

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
2021-06-18 20:10:02 +02:00
Peter Seiderer 7dafc52dda backend/sm3600-scanutil: fix uclibc compile (include stdarg.h for va_list/va_start/va_end)
Fixes:

  sm3600-scanutil.c: In function ‘debug_printf’:
  sm3600-scanutil.c:69:3: error: unknown type name ‘va_list’
     69 |   va_list ap;
        |   ^~~~~~~
  sm3600-scanutil.c:48:1: note: ‘va_list’ is defined in header ‘<stdarg.h>’; did you forget to ‘#include <stdarg.h>’?
     47 | #include "sm3600-scantool.h"
    +++ |+#include <stdarg.h>
     48 |
  sm3600-scanutil.c:75:3: warning: implicit declaration of function ‘va_start’; did you mean ‘sane_start’? [-Wimplicit-function-declaration]
     75 |   va_start(ap,szFormat);
        |   ^~~~~~~~
        |   sane_start
  sm3600-scanutil.c:76:28: warning: passing argument 3 of ‘vfprintf’ makes pointer from integer without a cast [-Wint-conversion]
     76 |   vfprintf(stderr,szFormat,ap);
        |                            ^~
        |                            |
        |                            int
  In file included from ../include/sane/sanei_config.h:50,
                   from sm3600.c:70:
  .../host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/stdio.h:339:23: note: expected ‘__va_list_tag *’ but argument is of type ‘int’
    339 |        __gnuc_va_list __arg);
        |        ~~~~~~~~~~~~~~~^~~~~
  In file included from sm3600.c:94:
  sm3600-scanutil.c:77:3: warning: implicit declaration of function ‘va_end’ [-Wimplicit-function-declaration]
     77 |   va_end(ap);
        |   ^~~~~~

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
2021-06-18 19:56:56 +02:00
Peter Seiderer 145e16008e backend/microtek: fix uclibc compile (include stdarg.h for va_list/va_start/va_end)
Fixes:

  microtek.c: In function ‘MDBG_INIT’:
  microtek.c:163:3: error: unknown type name ‘va_list’
    163 |   va_list ap;
        |   ^~~~~~~
  microtek.c:78:1: note: ‘va_list’ is defined in header ‘<stdarg.h>’; did you forget to ‘#include <stdarg.h>’?
     77 | #include "microtek.h"
    +++ |+#include <stdarg.h>
     78 |
  microtek.c:164:3: warning: implicit declaration of function ‘va_start’; did you mean ‘sane_start’? [-Wimplicit-function-declaration]
    164 |   va_start(ap, format);
        |   ^~~~~~~~
        |   sane_start
  microtek.c:165:54: warning: passing argument 4 of ‘vsnprintf’ makes pointer from integer without a cast [-Wint-conversion]
    165 |   vsnprintf(_mdebug_string, MAX_MDBG_LENGTH, format, ap);
        |                                                      ^~
        |                                                      |
        |                                                      int
  In file included from ../include/sane/sanei_config.h:50,
                   from microtek.c:70:
  .../host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/stdio.h:359:57: note: expected ‘__va_list_tag *’ but argument is of type ‘int’
    359 |         const char *__restrict __format, __gnuc_va_list __arg)
        |                                          ~~~~~~~~~~~~~~~^~~~~
  microtek.c:166:3: warning: implicit declaration of function ‘va_end’ [-Wimplicit-function-declaration]
    166 |   va_end(ap);
        |   ^~~~~~

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
2021-06-18 19:51:45 +02:00
Zdenek Dohnal 7a28e66a16 docs/sane.man: Move to libera.chat 2021-06-17 08:58:44 +02:00
Ordissimo 980bb29cb8 Merge branch 'full-location-header' into 'master'
The job URL is adapted to the information provided by the value of the Location property.

See merge request sane-project/backends!635
2021-06-12 12:41:05 +00:00
thierry1970 667d8f7acc The job URL is adapted to the information provided by the value of the Location property. 2021-06-12 00:57:07 +02:00
Wolfram Sang 63942f7a74 gt68xx: fix use-after-free and two mem leaks
The config file argument needs to be freed when a device is not set.
That was missed for two occasions. The other occasion was freeing it
unconditionally leading to a use-after-free for the regular use case.

Fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980311

This is the least intrusive fix. The code really wants to be refactored.
Tested with a Mustek 1200 UB Plus.
2021-06-10 11:36:11 +02: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
Wolfram Sang a78abbbdba Merge branch 'epson2/cleanup-desc' into 'master'
epson2: cleanup desc and remove BUILD versioning

See merge request sane-project/backends!631
2021-06-08 16:58:30 +00:00
Wolfram Sang cadc4de1a7 descriptions: remove unneeded false :new flags
It is the default
2021-06-08 11:52:00 +02:00
Wolfram Sang be5b247180 epson2: desc: remove unneeded URL
No need for a generic URL at a specific scanner
2021-06-08 11:52:00 +02:00
Wolfram Sang 65b7e317a6 epson2: remove BUILD versioning
Makes no sense these days. Sane version is good enough.
2021-06-08 11:52:00 +02:00
Wolfram Sang cd1733c345 Merge branch 'epson2-new-usbids' into 'master'
epson2: improve sorting of usbids and add new ones provided by Epson

See merge request sane-project/backends!630
2021-06-08 05:14:40 +00:00
Wolfram Sang 53641f8342 epson2: add usb ids provided by Epson
This patch is based on the file "epson2_fix.patch" from the archive
"SANE-patch-for-epsonds-epson2-20210518-5.zip" sent to the sane-devel
mailing list. The following changes have been made on top of the
original patch:

* in epson2.desc, the upstream entry for ET-2600 has been dropped
  because a better version was provided in the new additions
* the seperate entry for XP-240 has been merged into the combined entry
  for XP-243/245/247
* the new entries have been sorted into the existing entries
* original changes to epson2_usb.c have been dropped and were recreated
  using the updated epson2.desc and epson2usb.pl
2021-06-02 22:40:21 +02:00
Ralph Little ffa7a82900 po: remove trailing blank line, breaks pipeline 2021-05-31 21:57:37 -07:00
Ralph Little 19b9b41e4d po: Add zh_CN locale to build. 2021-05-31 21:54:23 -07:00
Ralph Little 257529d39e Merge branch 'master' into 'master'
Added SANE backend translation for Simplified Chinese.

See merge request sane-project/backends!629
2021-06-01 04:45:06 +00:00
Wolfram Sang db7a285e74 epson2: use 4 digits for USB IDs
Use the output of the updated epson2usb helper. Affects only the
sorting, no functional change. Also, fix minor whitespace issues at the
end of the file.
2021-05-29 12:22:55 +02:00
Wolfram Sang 28176df499 tools: epson2usb: always use 4 digits for USB IDs
Otherwise the sorting is too confusing when 3- and 4-digits are mixed.
2021-05-29 12:13:35 +02:00
pimvantend 075bd9b7e9 canon_lide70: faster and brighter scanning at 600dpi for the lide600 2021-05-25 14:25:28 +02:00
Tyson Tan b7055f4859 Corrected some entries from Ustushi's S-Chinese translations. 2021-05-21 13:55:05 +00:00
Tyson Tan 99f3783608 Added SANE backend translation for Simplified Chinese. 2021-05-21 08:34:57 +00:00
Ralph Little 2b0e4bc497 Merge branch 'scanimage_man_patch_update' into 'master'
doc: add man change clarification to deal with debian patch.

See merge request sane-project/backends!627
2021-05-13 15:44:34 +00:00