Wykres commitów

6146 Commity (sanei_thread_fixup)

Autor SHA1 Wiadomość Data
Ralph Little 0b009ce12d sanei_thread: Draft fixup for sanei_thread issues. 2022-08-28 16:54:48 -07:00
Ralph Little cbffffbd7b epsonds: Added new model XP-2200 series.
Patch supplied by Nakamura Iwao from Epson Japan.
2022-08-22 20:55:59 -07:00
thierry1970 7ec4074fbd pixma: add 2 models 2022-08-16 11:20:02 +02:00
thierry1970 23c7290931 Get the eSCL version in the xml 2022-08-05 17:40:20 +02:00
Nikolai Kostrigin 12f91442c0 avision: add AD345F support as "basic"
Tested with Avision AD345F model number DL-1802B.
Flatbed and ADF duplex scanning available.

Known limitation: ADF scanning is only capable to scan one sheet
at a time via automatic feeder. Providing 2+ sheets breaks backend
and scanner needs to be rebooted.

Signed-off-by: Nikolai Kostrigin <nickel@altlinux.org>
Tested-by: Mikhail Chernonog <snowmix@altlinux.org>
2022-07-11 14:28:03 +03:00
Ordissimo a698f003fe Escl: fix segfault 2022-07-05 06:36:44 +00:00
Ralph Little 3f45d4d19e test: fix type issue. proper type for usleep() is useconds_t. 2022-06-19 16:02:18 -07:00
Ralph Little adcbf249f9 avision: fix whitespace tool check problem 2022-06-01 20:48:55 -07:00
Christian Theis 999a52f691 discussed amendments 2022-06-01 18:04:29 +01:00
Christian Theis 1aead16faf enable test backend to scan high res images 2022-05-29 20:52:51 +01:00
Christian Theis 39f9083deb compile avision with -Wconversion -Wtype-limits 2022-05-21 17:28:21 +01:00
thierry1970 df048b16f0 escl: fix version job. 2022-05-11 15:23:34 +02:00
Ordissimo 7431b65974 Escl: set option if necessary 2022-05-11 13:18:17 +00:00
Ordissimo 024ae3b5fa Escl: normalize spec 2022-05-11 09:59:20 +00:00
thierry1970 aa032f458d escl : Remove obselete tag. 2022-05-11 08:28:35 +02:00
Christian Theis 1d502a288a set correct minimum dpi for AV_ASIC_C6 on avision 2022-05-08 15:08:16 +01:00
Ralph Little b8722a14ed Merge branch '149-fix-mkstemp-error-handling' into 'master'
Resolve "Fix `mkstemp` error handling"

Closes #149

See merge request sane-project/backends!725
2022-05-01 22:02:55 +00:00
Ralph Little f85e2fb9c2 Resolve "Fix `mkstemp` error handling" 2022-05-01 22:02:55 +00:00
David Ward 4b15f35e75 mustek: Remove unused array variables
Introduce a CDB_SIZE() macro similar to that found in sanei/sanei_scsi.c.
This avoids warnings from Clang about unused variables.
2022-04-26 01:18:01 -04:00
David Ward 76aa009316 backend/Makefile: Include dll-preload.h in sources 2022-04-24 23:13:26 -04:00
David Ward adac4f23e6 backend/Makefile: Improve rules for pixma/pixma_sane_options.{c,h}
Ensure these files are updated after pixma/pixma.c is changed. Do not
remove them during "make clean" or "make distclean", because they are
part of the source distribution (generated with "make dist"). Display
the relative paths in the build output.
2022-04-24 22:52:55 -04:00
David Ward 28b5aa7dee Revert "backend/Makefile: Remove unneeded references to $(srcdir)"
This breaks "make dist" when run locally in the CI container.
2022-04-24 21:03:32 -04:00
Ralph Little ac42d6e684 Merge branch 'sp30' into 'master'
Fujitsu / PFU SP30

See merge request sane-project/backends!716
2022-04-24 17:10:18 +00:00
Ralph Little e0e9a614be Merge branch 'avision-fixes' into 'master'
avision: Fix issues found by code inspection

See merge request sane-project/backends!710
2022-04-24 17:08:20 +00:00
Ralph Little b217e7b002 avision: enhance return size checks to generate an appropriate error code.
Some of the status code checks also check that the returned data is
of the expected size. However, if they are not, it is possible to
return SANE_STATUS_GOOD in error. We should generate an appropriate
error code other than SANE_STATUS_GOOD for this case.
2022-04-24 09:49:51 -07:00
Aaron Jackson 140100bb23 Fujitsu / PFU SP30
Tested and working against the Fujitsu driver.
2022-04-14 22:13:20 +01:00
Ordissimo 785a935e9e Merge branch 'FixEsclTiffSupport' into 'master'
Fix inversed logic in escl_tiff.c:get_TIFF_data

See merge request sane-project/backends!715
2022-04-14 13:50:58 +00:00
Raphael Isemann 877871443d Fix inversed logic in escl_tiff.c:get_TIFF_data
malloc returns NULL on error, but this code errors out on the non-NULL pointer
indicating success (which essentially makes this function always fail).

Signed-off-by: Raphael Isemann <teemperor@gmail.com>
2022-04-14 08:29:43 +02:00
Ralph Little ea8d0eb91e Merge branch 'genesys_8400f_sensors' into 'master'
Genesys 8400f sensors

See merge request sane-project/backends!712
2022-04-13 18:24:57 +00:00
Ralph Little b3a04eae1a genesys: added special PDF function definitions for Canon 4400f 2022-04-13 11:07:45 -07:00
Ralph Little 54766358b5 genesys: corrections for 4400f buttons.
Additional special PDF buttons not yet included.
We need a strategy to deal with them.
2022-04-13 11:06:02 -07:00
Ordissimo b5d5b01886 escl: Fix ipv6 detection. 2022-04-09 17:31:36 +02:00
Ralph Little ab7b3a38e2 genesys: added button definitions for Canoscan 8400F. 2022-04-03 14:47:51 -07:00
Ralph Little 586ff11af5 Merge branch 'pixma-sa-size' into 'master'
pixma: fix broadcast_sa size calculation

Closes #426

See merge request sane-project/backends!572
2022-03-29 05:45:03 +00:00
David Ward 8bbcdf8de3 avision: Invert conditional for software scaling
Place the alternative calls to fwrite() near each other in the code,
for better readability.
2022-03-27 16:51:30 -04:00
David Ward c7a33643f3 avision: Fix line numbers in debug message for software scaling
Print line numbers that are relative to the entire output, rather than
the current stripe.
2022-03-27 16:51:30 -04:00
David Ward 1277612c5b avision: Cancel scanning before closing device 2022-03-27 16:51:30 -04:00
David Ward bd6ad2e092 avision: Correctly handle failure to open file 2022-03-27 16:51:30 -04:00
Ralph Little c1c77436f4 Merge branch '578-remove-linux-kernel-driver-for-plustek_pp-backend' into 'master'
Resolve "Remove Linux kernel driver for plustek_pp backend"

Closes #578

See merge request sane-project/backends!708
2022-03-25 03:49:57 +00:00
Ralph Little 27a7c4518e plustek-pp: removed conditionally compiled code for Linux driver.
Mainly consists of removing code for #ifdef __KERNEL__
In order to keep it really clear what code has been removed, I have
not corrected any formatting issues.
2022-03-23 13:15:27 -07:00
Ralph Little 6054620c69 Merge branch '583-samsung-scx-4824fn-support' into 'master'
Resolve "Samsung SCX-4824FN Support"

Closes #583

See merge request sane-project/backends!707
2022-03-19 16:20:34 +00:00
Ralph Little 2cf41870b9 xerox_mfp: added fix for Samsung SCX-4824FN and friends for broken JPEg support 2022-03-14 16:35:19 -07:00
Ralph Little 95e2498fe9 Merge branch 'canon_pp-weights-file' into 'master'
canon_pp: Avoid buffer overflow if pathname exceeds PATH_MAX

See merge request sane-project/backends!702
2022-03-14 00:25:02 +00:00
Ralph Little 7cdd2ad268 Merge branch '580-canoscan-lide-220-aborts-before-end-of-4800dpi-colour-scan' into 'master'
Resolve "Canoscan LiDE 220 aborts before end of 4800dpi colour scan"

Closes #580

See merge request sane-project/backends!697
2022-03-10 01:31:01 +00:00
Ordissimo e5ff5d06e5 pixma:Fix max resolution 2022-03-10 01:29:59 +00:00
David Ward ff4114a795 kvs40xx: Return NULL from read_data()
Functions called by pthread_create() have the return type (void *).
However, the return statements in read_data() use a value of type
SANE_Status rather than a pointer, which causes a compiler warning.

This return value is never actually used, so return NULL instead.
2022-03-08 19:00:00 -05:00
Ralph Little 71152f0171 Merge branch 'make-silent-rules-output' into 'master'
Utilize Automake macros for silent rules output

See merge request sane-project/backends!718
2022-04-21 01:23:44 +00:00
David Ward 03bfd4232c Makefile: Utilize Automake macros for silent rules output
Building with --enable-silent-rules makes it easier to identify errors
or warnings in the build output. Automake provides macros for custom
rules to use, so that they will print a similar message to rules which
run the compiler or linker:

...
  CC       libpieusb_la-pieusb.lo
  CCLD     libpieusb.la
  CCLD     libsane-pieusb.la
  CC       libsane_pixma_la-pixma-s.lo
  GEN      pixma/pixma_sane_options.h
  GEN      pixma/pixma_sane_options.c
  CC       pixma/libpixma_la-pixma.lo
...

This does not change the current output if silent rules are disabled.
2022-04-17 20:16:19 -04:00
David Ward 939d62f836 backend/Makefile: Remove unneeded references to $(srcdir)
Adjust these rules to use relative pathnames, like the other rules.
2022-04-17 20:14:15 -04:00
Ralph Little 602b4f8d3d genesys: add full button support for the Canon 5600F
This model spreads their GPIO buttons lines over 3 different registers:
0x6c, 0xa6 and 0x6d
2022-04-15 11:50:56 -07:00