Wykres commitów

10968 Commity (07f28a1ca63d384d365a04a67990e72c7843eaa5)

Autor SHA1 Wiadomość Data
Povilas Kanapickas ceb13f77d7 genesys: Simplify physical pixel count computation on gl843 2020-03-20 23:29:07 +02:00
Povilas Kanapickas f34176edf2 genesys: Simplify physical pixel count computation on gl845 2020-03-20 23:29:06 +02:00
Povilas Kanapickas 5807e5d298 genesys: Simplify physical pixel count computation on gl846 2020-03-20 23:29:05 +02:00
Povilas Kanapickas a1f10bf2bc genesys: Simplify physical pixel count computation on gl847 2020-03-20 23:29:04 +02:00
Povilas Kanapickas 576d1fcdba genesys: Simplify physical pixel count computation on gl124 2020-03-20 23:29:03 +02:00
Povilas Kanapickas e2fc129b56 genesys: Make handling of stagger more uniform across chipsets 2020-03-20 23:29:02 +02:00
Povilas Kanapickas 75d227f9c4 genesys: Represent pixel count ratio as a class 2020-03-20 23:29:01 +02:00
Povilas Kanapickas b2b569a743 genesys: Add a way to override pixel coordinate divisor 2020-03-20 23:29:00 +02:00
Povilas Kanapickas 559b2e314f genesys: Make handling of hwdpi_divisor uniform across chipsets 2020-03-20 23:28:59 +02:00
Rolf Bensch 1ed4c7d8f5 pixma: backend version 0.27.4 2020-03-19 16:11:06 +01:00
Rolf Bensch b113ef1285 pixma: for Canon LiDE300 and LiDE400 map target 06 to cancel/end button
see issue sane-project/backends#259
2020-03-19 16:09:38 +01:00
Olaf Meeuwissen 120d8c0bd3 README: Mention need for C++11 compiler for genesys backend 2020-03-18 20:24:21 +09:00
Ralph Little 787b89daea Merge branch '236-red-and-yellow-overlay-after-3rd-scan-with-simple-scan-epson-perfection-1260' into 'master'
Resolve "Red and Yellow overlay after 3rd scan with simple-scan Epson Perfection 1260"

Closes #236

See merge request sane-project/backends!359
2020-03-17 15:51:35 +00:00
Olaf Meeuwissen e12b1e26aa Merge branch '243-cannot-build-escl-backend-for-ubuntu-16.04-lts' into 'master'
Resolve "cannot build escl backend for Ubuntu 16.04 LTS"

Closes #243

See merge request sane-project/backends!360
2020-03-17 12:16:38 +00:00
Olaf Meeuwissen db4cbd4185 Add a build to prove that the previous commit fixes #243 2020-03-17 20:46:34 +09:00
Olaf Meeuwissen f5af34e75f Add checks for newer JPEG API used by the escl backend. Fixes #243
The backend is excluded from the build if this API is not available by
SANE_CHECK_BACKENDS.
2020-03-17 20:44:40 +09:00
Ralph Little 4e9cbda3ba plustek: fix for gain loop computation to prevent buffer overrun 2020-03-15 20:21:16 -07:00
Povilas Kanapickas a1888ae3bd Merge branch 'genesys-duplication' into 'master'
genesys: Reduce code duplication

See merge request sane-project/backends!357
2020-03-15 16:13:53 +00:00
Povilas Kanapickas 3da269b7de genesys: Use common code path for memory layouts 2020-03-14 23:19:38 +02:00
Povilas Kanapickas 718550e2d4 genesys: Add a way to flush GenesysRegisterSettingSet without read back 2020-03-14 23:19:37 +02:00
Povilas Kanapickas cb442169e4 genesys: Implement a way to serialize ModelId 2020-03-14 23:19:36 +02:00
Povilas Kanapickas c1d4369410 genesys: Reuse generic value filtering code for scan method filtering 2020-03-14 23:19:35 +02:00
Povilas Kanapickas c234ce6b77 genesys: Add generic value filter class for resolutions filtering 2020-03-14 23:19:34 +02:00
Povilas Kanapickas ee2e026f2a genesys: Don't overwrite RAM settings 2020-03-14 23:19:33 +02:00
Povilas Kanapickas ea5047466c genesys: Reuse common gpio code on gl846 2020-03-14 23:19:32 +02:00
Povilas Kanapickas 31fecb8140 genesys: Clean up motor setup on gl847 2020-03-14 23:19:31 +02:00
Povilas Kanapickas b307eba5cc genesys: Clean up motor setup on gl846 2020-03-14 23:19:30 +02:00
Povilas Kanapickas 884de5f9fe genesys: Clean up motor setup on gl843 2020-03-14 23:19:29 +02:00
Povilas Kanapickas cd43109966 genesys: Deduplicate gain calibration 2020-03-14 23:19:28 +02:00
Povilas Kanapickas 233cb4bd5a genesys: Use single code path for gain code calculation 2020-03-14 23:19:27 +02:00
Povilas Kanapickas e0bec6723d genesys: Deduplicate offset calibration 2020-03-14 23:19:26 +02:00
Povilas Kanapickas 255da97fcb genesys: Remove get_closest_resolution()
All gl646 scanners have sensors for all supported resolutions
2020-03-14 23:19:25 +02:00
Povilas Kanapickas 428293c1e2 genesys: Reflow sensor tables 2020-03-14 23:19:24 +02:00
Rolf Bensch c7c5b1a602 Merge branch '224-enable-avahi-support-by-default' into 'master'
Enable Avahi support by default if possible.  Re #224

Closes #224

See merge request sane-project/backends!355
2020-03-14 13:08:41 +00:00
Rolf Bensch 93fd01866e INSTALL.linux: add missing development package 2020-03-14 13:53:56 +01:00
Olaf Meeuwissen 82515511a6 Merge branch 'master' into '224-enable-avahi-support-by-default'
# Conflicts:
#   .gitlab-ci.yml
2020-03-14 09:03:31 +00:00
Olaf Meeuwissen 168e22a941 Merge branch 'escl-lineart' into 'master'
Escl lineart

See merge request sane-project/backends!339
2020-03-14 09:01:17 +00:00
Ordissimo 5dcd770e5e .gitlab-ci.yml: Revert poppler related changes
The Docker images used by CI have been updated to include the required
packages.
2020-03-14 09:01:17 +00:00
Olaf Meeuwissen 0f857f94cd .gitlab-ci.yml: Follow Avahi configure option rename 2020-03-14 16:02:10 +09:00
Olaf Meeuwissen f8c4bb77de kodakaio: Update Avahi configure time option documentation
It has been removed from the command-line examples as the default is
to enable when possible and the Ubuntu example says to install the
necessary libraries.  The avahi library reference has been fixed.
2020-03-14 15:58:02 +09:00
Olaf Meeuwissen cf7227b598 Pass Avahi related preprocessor flags where needed 2020-03-14 15:48:19 +09:00
Olaf Meeuwissen 53875a5238 Fix WITH_AVAHI preprocessor conditionals
The macro is now always defined to either 0 or 1.
2020-03-14 15:46:03 +09:00
Olaf Meeuwissen f4b7e22bc0 Enable Avahi support by default if possible. Re #224
This eases building of the escl backend and aligns configure time
behaviour with other --with-* options.
2020-03-14 14:59:39 +09:00
Benjamin Gordon 48bc45f46b escl: Add unix socket support
Curl can pass HTTP traffic through a unix socket instead of TCP with the
CURLOPT_UNIX_SOCKET_PATH option.  This is useful if you have a proxy
listening on a local socket between your computer and the scanner.  Now
that URL parsing is centralized, take advantage of this to support an
extended name scheme: escl:unix:/path/to/socket:URL

These names won't be picked up on the network when avahi scans, but they
can be passed manually with -d or added to /etc/sane.d/escl.conf.  If
the existing escl:URL syntax is used, the socket is not set and the curl
option is not used, so existing network connections work the same as
before.

Since local sockets are optional, the current conf parsing scheme
becomes order dependent.  To avoid this, also add an additional "device"
line type to the config parser. If a line starts with "device", the
remainder of the line is treated as a complete device name/URL and
parsed with the URL parsing added in the previous commit.
2020-03-12 13:06:53 -06:00
Benjamin Gordon f6832f2a89 escl: Refactor name handling
Scanners are currently passed around by name, which is actually a URL.
Each function parses the URL a little bit, depending on what it needs,
and then sets the same curl options.

This refactors parsing out into a single escl_parse_name() function
called from sane_open and then passes around the resulting ESCL_Device
instead of the raw name.  To set up the curl handle, the new
escl_curl_url() reconstructs a URL from the parsed ESCL_Device and sets
the appropriate options on the handle.  Each place that makes a curl
call is updated to use the new function.
2020-03-12 11:02:29 -06:00
Rolf Bensch 0033357120 pixma: backend version 0.27.3 2020-03-11 13:21:12 +01:00
Rolf Bensch dd3515ce3f sane-pixma.man: update document date 2020-03-11 13:20:43 +01:00
Rolf Bensch b956a3cef0 pixma: update copyright 2020-03-11 13:19:31 +01:00
Rolf Bensch dbc966e97e Merge branch 'pixma/new_scanners' into 'master'
Pixma: new scanners

See merge request sane-project/backends!354
2020-03-11 12:14:42 +00:00
Rolf Bensch c4af131848 pixma: new scanners Canon PIXMA G7000 and GM4000 Series 2020-03-11 12:56:28 +01:00