Wykres commitów

99 Commity (15819a7d12eef1e10921b0f4b1f1d10746786bcb)

Autor SHA1 Wiadomość Data
Povilas Kanapickas eadfdb57a4 genesys: Add a way to record backend internals using test scanner iface 2019-10-26 12:42:48 +02:00
Povilas Kanapickas 3ac009abe2 genesys: Add more debug printers 2019-10-26 12:42:46 +02:00
Povilas Kanapickas 38c32ff702 genesys: Extract formatting functionality out of debug_dump() 2019-10-26 12:42:45 +02:00
Povilas Kanapickas 978ad5e52b genesys: Add interface for USB devices to allow mocking of them 2019-11-10 21:30:25 +02:00
Povilas Kanapickas c6e60013ef genesys: Add low level scanner test interface 2019-11-10 21:30:06 +02:00
Povilas Kanapickas 0ea8ec115c genesys: Add low level interface for interaction with the scanner 2019-11-10 21:30:04 +02:00
Povilas Kanapickas 3ad5a92414 genesys: Move conversion of ScanMethod to option strings to enums.cpp 2019-11-10 16:41:59 +02:00
Povilas Kanapickas a7ca16a415 genesys: Add file with class forward declarations 2019-11-02 17:13:15 +02:00
Rolf Bensch ab0314399a pixma_mp810: rename => pixma_mp800
1st ccd scanner in pixma_mp810 is MP800
2019-10-22 19:33:54 +02:00
Povilas Kanapickas f9d36d1a1b genesys: Add utility to compute percentille of columns in image 2019-10-17 22:07:00 +03:00
Povilas Kanapickas b5e4d86eb2 genesys: Use separate translation unit for conversion functions 2019-10-12 18:17:17 +03:00
Povilas Kanapickas 9f44bab6e0 genesys: Move backend files to a separate directory 2019-10-12 18:17:17 +03:00
Povilas Kanapickas 32dea76956 genesys: Use virtual functions for command set actions 2019-10-05 09:03:18 +03:00
Povilas Kanapickas dc1350781f genesys: Move register address lists to separate files 2019-09-16 11:36:01 +03:00
Povilas Kanapickas 6ced865d53 genesys: Move pixel-related functionality to separate file 2019-09-29 20:03:48 +03:00
Povilas Kanapickas cd712f9f99 genesys: Use new image pipeline for row scaling 2019-09-28 07:33:28 +03:00
Povilas Kanapickas 7d7a395277 genesys: Implement library for image manipulation 2019-09-13 10:38:04 +03:00
Olaf Meeuwissen f37326784d Merge branch 'ci-tweaks' into 'master'
CI tweaks

See merge request sane-project/backends!125
2019-08-12 09:16:37 +00:00
Olaf Meeuwissen 08bff060f8 CI: Fix make distclean target
Implicit compile dependencies prevent automake from adding dependency
tracking files to the list of files to clean up.
2019-08-11 17:20:47 +09:00
Povilas Kanapickas 6912400cf4 genesys: Move motor profile tables to a single file 2019-08-04 18:21:08 +03:00
Povilas Kanapickas aa4ee9c49e genesys: Split genesys_devices.cc file to separate files for each table 2019-08-04 18:21:07 +03:00
Povilas Kanapickas 6592692448 genesys: Compile genesys_devices.cc as a separate translation unit 2019-08-04 18:21:06 +03:00
Olaf Meeuwissen 6ef288855e Merge branch 'sanei-usb-capture-debug-msg' into 'master'
sanei_usb: Add a way to record debug messages to USB captures

See merge request sane-project/backends!93
2019-08-10 06:06:38 +00:00
Povilas Kanapickas d2653efbd9 sanei_usb: Add a way to record debug messages to USB captures 2019-08-08 20:52:23 +03:00
Povilas Kanapickas aa6bdba74d genesys: Add a way to record debug messages to USB captures 2019-08-08 20:33:49 +03:00
Olaf Meeuwissen 1be824f2c5 Merge branch 'sanei-usb-testing-mode' into 'master'
sanei: Support capture and replay of USB data for testing

See merge request sane-project/backends!55
2019-08-08 14:01:30 +00:00
Povilas Kanapickas 49b94dc09e genesys: Split genesys_low.h into several files 2019-08-02 22:35:16 +03:00
Povilas Kanapickas b9fb97e0f7 genesys: Make serialization of calibration data less error prone 2019-07-23 02:00:42 +03:00
Povilas Kanapickas 0454f42c36 genesys: Report USB errors via exceptions to reduce code duplication 2019-07-06 02:30:08 +03:00
Povilas Kanapickas 22b7fb5105 genesys: Move more error functionality to genesys_error.{h,cc} 2019-07-06 02:10:05 +03:00
Povilas Kanapickas a88b6241cd configure: Add option to enable USB record-replay 2019-06-16 20:46:39 +03:00
Povilas Kanapickas ca051cc227 genesys: Compile library as C++ code 2019-05-11 00:03:26 +03:00
Stanislav Yuzvinsky d62ba623b2 Add new backend ricoh2 2018-09-29 11:16:28 +03: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 519ff57bed install: Make sure configuration files get created before install 2017-08-12 15:03:51 +09:00
Olaf Meeuwissen a2f1cc1c82 libsane: Only depend on and link in the kitchen sink if needed
There is no need to depend on and link in all the various dependencies
for whatever backends *might* be preloaded if none are.  Distributions
habitually rip these out, rightfully so, to reduce the list of package
dependencies.  This will achieve the same while still doing the "right
thing" for builds that do preload one or more backens.
2017-06-07 22:06:05 +09:00
Olaf Meeuwissen 23891a2646 .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
Troy Rollo b1f3815014 Add missing math library to HP3500 backend link flags 2016-11-29 21:11:06 +11:00
Olaf Meeuwissen a9c813944e Make libusb-1.0 the default for USB support
When libusb-1.0 is not found, libusb-0.1 will be tried.  On BeOS and
OS2, nothing should have changed in terms of detection of USB support.

On all systems the --enable-libusb* flags are now ignored.  Instead, the
--with-usb and --without-usb flags now control support.  When neither is
given USB support will be enable if possible and disabled otherwise.  If
--with-usb is requested but not possible, ./configure will fail.  There
is no support to prefer libusb-0.1 over libusb-1.0.
2016-07-01 23:44:37 +09:00
Alessandro Zummo 9b389a61c5 epsonds: added support for network scanners 2016-06-21 00:44:29 +02:00
Olaf Meeuwissen 5695d01077 Silence overly verbose targets
This only takes effect with silent rules enabled.
2016-06-15 20:23:33 +09:00
Olaf Meeuwissen 2d6fad58b4 Respect GNU Standards user variables
Several variables are considered "user variables" by the GNU Standards.
This means that the user can pass these to their ./configure and make
invocations as they see fit.  These variables include CPPFLAGS, CFLAGS
and LDFLAGS.

This changeset pushes our use of these variables to the automake shadow
variables, AM_CPPFLAGS, AM_CFLAGS and AM_LDFLAGS, so that user variables
will no longer clobber flags required in order to build.
2016-06-13 22:03:14 +09:00
Olaf Meeuwissen 7a2b112d20 Prefer make variables over literal substitutions
The AC_SUBST and PKG_CHECK_MODULE invocations in configure.ac as well as
acinclude.m4 are sufficient to trigger automake to insert initialization
logic for the variables these introduce.  There is no need to do this by
hand.  Wherever these values are needed, it is better to use a variable.
This allows for one-off overrides on the make command-line (without the
need to run ./configure) for one thing.
2016-06-13 21:50:36 +09:00
Alex Belkin 926bfade54 Color scanning for Samsung models, which support JPEG Lossy compression.
Patch is submitted by Laxmeesh Onkar Markod <m.laxmeesh@samsung.com>

Patch to code is applied almost verbatim, except, insignificant
formatting fixes and making new functions static.

Also, new USB ids added and scanner support is changed as reported.
2016-05-07 22:33:03 +03:00
m. allan noah e6a249e042 revert mustek_usb2 backend upgrade
Instead of 100+ revert commits, I've lumped everything into a
single commit. This removes all of dedf0ac30 through db7f038f1,
plus the parts of 497d59180 which were specific to mustek_usb2
2015-11-12 21:10:49 -05:00
Jan Hauffa da64a1fc1e First hack to build mustek_usb2* source files separately. 2015-11-08 16:54:45 -05:00
m. allan noah b4bc0eb518 canon_dr backend v53
replace image processing methods with sanei_magic
2015-11-06 11:46:17 -05:00
m. allan noah 56e69f0998 added kvs1025.conf.in and utsushi.desc 2015-10-05 08:21:39 -04:00
Olaf Meeuwissen e8586d8364 Use SNMP compiler flags and libraries only where needed
The compiler flags would take effect for every single compilation unit
and the libraries would be linked to every single backend/executable.
2015-09-28 21:16:07 -04:00
Olaf Meeuwissen 20a0ed547e [epson/epson2] Use separate lists of supported USB devices
The epson and epson2 backends shared a list of supported USB devices
generated from the epson2.desc file.  The epson backend doesn't even
claim to support a large number of the devices listed there.   This
change makes the backends use their own lists, generated from their
own *.desc files.
2015-09-19 13:39:37 -04:00