Wykres commitów

12435 Commity (190fa52619994f378bf8aee6bc232fbd9ebf439d)

Autor SHA1 Wiadomość Data
David Ward 4cf3b09e49 rts8822, rts8891: Replace abs() with fabs() where needed
abs() has an integer parameter and returns an integer value. Floating-
point values should be passed to fabs() instead.

In particular, this affected calculations for gain and offset, where a
value with floating-point precision is clearly expected.
2022-03-08 19:00:00 -05:00
David Ward e859ea4d89 pieusb: Add missing calls to sanei_pieusb_convert_status()
Fix cases where values of type PIEUSB_Status were used or returned when
the expected type was SANE_Status.
2022-03-08 19:00:00 -05:00
David Ward f8785fb6a8 mustek_pp: Handle status argument correctly in pa4s2_init()
Currently the pointer itself is overwritten, when it is intended that
the pointer be derefenced first.
2022-03-08 19:00:00 -05:00
David Ward f651d6f098 microtek: Fix null termination of string, and adjust buffer lengths
The Product Revision Level field in the SCSI inquiry data has a fixed
length of 4 bytes. When copying it as a null-terminated string, place
the null terminator in the correct position; currently the string has
an extra character that is never initialized in memory.

Reduce the length of each string buffer, so it does not extend beyond
the null terminator.
2022-03-08 19:00:00 -05:00
Ordissimo 9cd8f475eb Merge branch 'escl-add-canon-ts-3400-series' into 'master'
escl: Add canon TS-3400 series

See merge request sane-project/backends!700
2022-03-08 08:59:43 +00:00
Ordissimo 84a39145e4 escl: Add canon TS-3400 series 2022-03-08 08:59:43 +00:00
David Ward a519a3529a mustek_usb2: Replace STATUS type with SANE_Status
In some cases, a return value with type SANE_Status was assigned to a
variable with type STATUS. It is easiest to remove the redundant type
here.
2022-03-02 21:16:47 -05:00
David Ward e1a319e729 descriptions: Resolve multiple warnings from sane-desc
Fix the USB VID/PID in device descriptions to use lowercase hex digits.
Remove an extraneous description, having no name or USB VID, from the
epsonds file. Remove an extraneous interface in the description for the
Brother MFC-J1300DW.

Additionally, fix mispellings of "Flatbed" and "WiFi".
2022-03-02 21:16:33 -05:00
Ralph Little 41866df6e1 genesys: fix for computation of total file size exceeding unsigned
Large scans that exceed 32-bits need cast to allow 64-bit size.
2022-02-27 18:55:26 -08:00
Ralph Little 4091619e07 Merge branch '577-add-plustek' into 'master'
Resolve "Issues making on osx"

Closes #577

See merge request sane-project/backends!696
2022-02-25 02:31:18 +00:00
Ralph Little 9512d05fe6 genesys: added conf entry for Plustek OpticFilm 7600i
User reports scanner works fine, but entry missing from config.
2022-02-22 16:22:23 -08:00
Ralph Little aa153e52c8 Merge branch '577-issues-making-on-osx' into 'master'
Resolve "Issues making on osx"

Closes #577

See merge request sane-project/backends!694
2022-02-22 17:37:48 +00:00
Ralph Little 047fa8498f Resolve "Issues making on osx" 2022-02-22 17:37:48 +00:00
Ralph Little f6594ed040 Merge branch '573-hp5590-read-only-values-aren-t-accessible-via-cli-options-unrecognized-option' into 'master'
Resolve "[hp5590] Read only values aren't accessible via CLI options (unrecognized option)"

Closes #573

See merge request sane-project/backends!693
2022-02-21 22:13:28 +00:00
Ralph Little a0ca5a4fc4 Resolve "[hp5590] Read only values aren't accessible via CLI options (unrecognized option)" 2022-02-21 22:13:28 +00:00
Ralph Little 312edd6d5f doc: Added Plustek OpticSlim 550 description, unsupported as yet 2022-02-19 14:25:13 -08:00
Ralph Little b701c499c9 Merge branch 'sane-find-scanner-output' into 'master'
sane-find-scanner: Improve output for possible USB scanners

Closes #575

See merge request sane-project/backends!691
2022-02-17 16:48:23 +00:00
David Ward 9daadb8512 sane-find-scanner: Improve output for possible USB scanners
Closes #575
2022-02-17 09:16:30 -05:00
Ralph Little 3c3e898c5e Merge branch 'fix-install-exec-target' into 'master'
backend/Makefile: Fix installation of backend libraries

See merge request sane-project/backends!690
2022-02-07 20:58:45 +00:00
David Ward ba07a8a7f5 backend/Makefile: Fix installation of backend libraries
When using Automake variables like sanelib* to install files in a custom
directory, the files are assumed to be platform-independent, unless these
variables contain "exec" in the name. This affects whether the files are
installed during "make install-data" or "make install-exec". It does not
matter whether a suffix like _DATA or _LTLIBRARIES is added to this name.

The packaging scripts for Debian call those Makefile targets separately
and are affected by this behavior. Since the backend libraries themselves
are platform-dependent files, rename these variables to execsanelib*.
2022-02-06 23:02:01 -05:00
Povilas Kanapickas b68172cbd2 Merge branch 'release-1.1.x-genesys-gl845-crash' into 'release-1.1.x'
[Release 1.1.x] genesys: GL845 has vector size 257 as well

See merge request sane-project/backends!689
2022-01-28 20:57:55 +00:00
Povilas Kanapickas e1f1273d23 Merge branch 'genesys_gl845_crash' into 'master'
genesys: GL845 has vector size 257 as well

See merge request sane-project/backends!688
2022-01-28 20:54:52 +00:00
Povilas Kanapickas 1a8a86bade genesys: Simplify gamma buffer setup
This also makes sure that we never access the source gamma tables out of
bounds which was possible previously.
2022-01-28 22:42:31 +02:00
Povilas Kanapickas fb41d3ca04 genesys: Simplify interface of generate_gamma_buffer() 2022-01-28 22:41:10 +02:00
Zdenek Dohnal aeb60735c1 genesys: GL845 has vector size 257 as well
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2042316
2022-01-28 22:39:56 +02:00
Povilas Kanapickas 2f17613dbb genesys: Simplify gamma buffer setup
This also makes sure that we never access the source gamma tables out of
bounds which was possible previously.
2022-01-28 22:39:26 +02:00
Povilas Kanapickas 188cf63627 genesys: Simplify interface of generate_gamma_buffer() 2022-01-28 22:39:26 +02:00
Zdenek Dohnal d8ebd5a4d7 genesys: GL845 has vector size 257 as well
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2042316
2022-01-28 22:31:09 +02:00
Povilas Kanapickas e3b5a9686f Merge branch 'release-notes-1.1.1' into 'master'
NEWS: Release notes for 1.1.1

See merge request sane-project/backends!687
2022-01-28 20:02:25 +00:00
Povilas Kanapickas c46f006209 NEWS: Release notes for 1.1.1
(cherry picked from commit a00a5f2f2c)
2022-01-20 00:08:17 +02:00
Povilas Kanapickas 332edc8b7c Release 1.1.1
Note that there is no 1.1.0 release as make distcheck was broken there.
The failure depended on the exact release number, thus it was not
noticed earlier.
2022-01-19 18:36:00 +02:00
Povilas Kanapickas 1c805281f2 NEWS: Update release version 2022-01-19 18:33:50 +02:00
Povilas Kanapickas 156337e5cd Merge branch 'fix-distcheck' into 'master'
testsuite: Allow any 1.x.y version when comparing sane-desc results

See merge request sane-project/backends!686
2022-01-19 15:47:01 +00:00
Povilas Kanapickas 2d75530344 Merge branch 'release-1.1.x-fix-distcheck' into 'release-1.1.x'
[Release 1.1.x] testsuite: Allow any 1.x.y version when comparing sane-desc results

See merge request sane-project/backends!685
2022-01-19 15:45:49 +00:00
Povilas Kanapickas 5529eb73d7 testsuite: Allow any 1.x.y version when comparing sane-desc results 2022-01-19 17:31:28 +02:00
Povilas Kanapickas c2a77be45b testsuite: Allow any 1.x.y version when comparing sane-desc results 2022-01-19 17:29:59 +02:00
Povilas Kanapickas 2cd4058942 Release 1.1.0 2022-01-18 23:04:46 +02:00
Povilas Kanapickas 44d0383458 Merge branch 'release-1.1.x-notes-1.1.0' into 'release-1.1.x'
[Release 1.1.x] Release notes for 1.1.0

See merge request sane-project/backends!684
2022-01-18 20:58:44 +00:00
Povilas Kanapickas a00a5f2f2c NEWS: Release notes for 1.1.0 2022-01-18 22:40:39 +02:00
Povilas Kanapickas b18fb290a9 Merge branch 'release-1.1.0-releasing-procedure' into 'release-1.1.x'
[Release 1.1.0] Update releasing procedure

See merge request sane-project/backends!683
2022-01-18 20:33:08 +00:00
Povilas Kanapickas b09575f6be Merge branch 'releasing-procedure' into 'master'
Update releasing procedure

See merge request sane-project/backends!682
2022-01-18 20:28:06 +00:00
Povilas Kanapickas bb0bee92f6 doc: Update the releasing documentation 2022-01-18 22:17:26 +02:00
Povilas Kanapickas 3738eb9e42 newsfragments: Document the misc news fragment type 2022-01-18 22:17:26 +02:00
Povilas Kanapickas 5f08348068 Setup release notes build using towncrier 2022-01-18 22:17:26 +02:00
Povilas Kanapickas 0ac693c2c7 doc: Update the releasing documentation 2022-01-18 22:12:19 +02:00
Povilas Kanapickas e3b847e981 newsfragments: Document the misc news fragment type 2022-01-18 22:12:18 +02:00
Povilas Kanapickas 3e1de72bcb Setup release notes build using towncrier 2022-01-18 22:12:17 +02:00
Povilas Kanapickas 3f955dd532 Merge branch 'make-jpeg-compression-optional' into 'master'
xerox_mfp: make JPEG compression user-configurable

See merge request sane-project/backends!615
2021-12-30 18:50:56 +00:00
Povilas Kanapickas 3f62c9132a Merge branch 'release-1.0.33-genesys-remove-gl847-unsupported-resolutions' into 'release-1.0.33'
[1.0.33] genesys: Remove unsupported resolutions on LiDE 100 and 200

See merge request sane-project/backends!681
2021-12-30 18:39:57 +00:00
Povilas Kanapickas 64bfc68a39 Merge branch 'genesys-remove-gpl-exception' into 'master'
genesys: Remove several accidental edits

See merge request sane-project/backends!680
2021-12-30 18:37:30 +00:00