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
Olaf Meeuwissen
00df971593
Merge branch 'release/1.0.32' into 'master'
...
Release/1.0.32
Closes #122 and #248
See merge request sane-project/backends!594
2021-02-14 12:24:09 +00:00
Olaf Meeuwissen
e79adde8b2
Use URL to refer users to copies of the GPL and LGPL
...
With the exception of use in three quotes as well as our inlcuded copy
of the GPL, all use of the Free Software Foundation's postal address
has been removed.
Re #320 .
2021-02-12 17:41:38 +09:00
Ralph Little
23a4c86b32
niash: increased the maximum Y extent to 297mm
...
297mm is advertised in the official specs for this machine family.
Tested against the ScanJet 3300C and it doesn't bottom out or anything.
Issue came about because A4 is 297mm in height and 296mm too short.
Probably just a typo or an oversight.
2021-02-11 18:54:24 -08:00
Mikolaj Kucharski
65f1131541
drop CVS keywords
2020-11-28 12:48:32 +00:00
Peter Marschall
340f7e7329
spelling fixes for niash backend
2020-08-29 09:18:04 +02:00
Povilas Kanapickas
3dde8f28f0
niash: Fix an implicit fallthrough bug in handling of threshold option
2019-06-30 11:58:33 +03:00
Olaf Meeuwissen
b73a6e5017
niash: fix [-Wunused-parameter] compiler warning
...
The attribute needs to go before the pointer designation for it to have
any effect.
2016-07-18 16:14:20 +09:00
Olaf Meeuwissen
22b17e232a
Fix various types of unused variable warnings
2015-09-25 20:53:42 -04:00
Stéphane Voltz
2fd04ccf84
warning fixes
2015-09-16 18:57:03 +02:00
Stéphane Voltz
65747277cc
ifdef'ed temporaly disabled code since 2004
2015-09-16 18:38:11 +02:00
Olaf Meeuwissen
db83bf44de
niash.c: Add argument screening to sane_control_option
...
This prevents access to non-existing array elements as well as
potential NULL dereferences.
Fixes #315132 .
2015-09-14 18:24:39 +09:00
Julien BLACHE
0951e1b780
niash: fix format string for gamma table debugging, slight rework
...
Avoid calling strcpy()/strcat() unnecessarily, kill intermediate buffer.
2010-06-23 18:21:38 +02:00
m. allan noah
edac97cdca
Niash bugfix and fr.po translation update
2010-06-10 09:03:50 -04:00
m. allan noah
ff048f4176
add three new SANE_VALUE macros and use mode name macros from saneopts.h
2010-02-10 23:48:21 -05:00
m. allan noah
91598aa800
* backend/*.[ch]: nearly every backend used V_MAJOR
...
instead of SANE_CURRENT_MAJOR in sane_init()
* backend/snapscan.c: remove EXPECTED_VERSION check
since new SANE standard is forward compatible
2008-11-26 21:21:31 +00:00
Ullrich Sigwanz
28346f5111
adding trust office scan 19200
2006-02-04 10:28:51 +00:00
Ullrich Sigwanz
2cb4f0227e
moving critical timing for backward movement to niash_core
2004-10-27 18:06:19 +00:00
Ullrich Sigwanz
1c1479d919
correcting vertical scanning start point
2004-10-18 19:02:58 +00:00
Ullrich Sigwanz
e7ac842c81
new buffer portioning and full DIN A4 support
2004-10-16 11:14:47 +00:00
Ullrich Sigwanz
2c9973603e
adapting gamma conversion
2004-10-14 12:04:28 +00:00
Ullrich Sigwanz
98db315a68
proper resource handling in sane_cancel
2004-10-13 19:57:26 +00:00
Ullrich Sigwanz
eeffc0b4ab
adapting warm up difference to corrected _UnscrambleLine()
2004-10-11 20:09:02 +00:00
Ullrich Sigwanz
20b13d557f
using unity gamma for lineart
2004-10-08 10:39:17 +00:00
Ullrich Sigwanz
281726a0b2
adding monochrome modes
2004-10-07 22:37:08 +00:00
Ullrich Sigwanz
25b1983efc
using correct literal for SANE_Fix type conversion
2004-09-04 19:15:51 +00:00
Ullrich Sigwanz
fa432745ca
cleaned gamma-stuff and set correct start-gamma
2004-09-04 11:16:55 +00:00
Ullrich Sigwanz
d6badf6687
removed niash_types.h
2004-08-31 18:43:58 +00:00
Gerhard Jaeger
727dd4ab9a
Niash backend files, initial checkin.
2004-08-03 07:42:08 +00:00