Wykres commitów

19 Commity (b49deae017ea893f0ffbca44fa1c26b54ee4fb11)

Autor SHA1 Wiadomość Data
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 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
Olaf Meeuwissen fc4b250a09 .editorconfig: use utf-8 charset throughout 2017-05-29 21:14:30 +09:00
Volker Diels-Grabsch baec5e0395 Use consistently __func__ instead of __FUNCTION__
Some parts of SANE used __FUNCTION__ while other parts used __func__.
Now, __func__ is used consistently throughout the SANE sources.  This
fixes all occurrences of the following GCC warning:

warning: ISO C does not support '__FUNCTION__' predefined identifier
2015-12-20 15:27:45 +09:00
Volker Diels-Grabsch 93298674d0 Merge all compatibility macros around __func__ and __FUNCTION__
Various parts of SANE introduced their own compatibility macros for
old compilers that don't support __func__.  Most of these definitions
are identical or have minor differences.  This patch replaces them
with a single instance in the central header file for backends.
2015-12-20 15:27:45 +09:00
Stéphane Voltz 34a6dec3bf minor build number and documentation updates 2012-07-04 06:55:14 +02: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
Stéphane Voltz 8fb94ddcd9 - change umax_pp backend to use the configuration framework
- allow for 'umax_pp' default device name
2008-08-04 19:49:46 +00:00
Stéphane Voltz 5be6af9c72 - removed scanners supported by the lexmark backend from
unsupported.desc
	- umax_pp small copyright refresh
2008-03-02 15:01:13 +00:00
Stéphane Voltz c0ee8a2143 - mail address update
- minor man update
2007-08-27 04:58:53 +00:00
Stéphane Voltz 44065a4f5a - rename 'contrast' to 'offset' and 'highlight' to 'gain'.
Translations will need to be updated.
	- beginning of 610P/1220P codepath merge.
2004-08-25 19:51:58 +00:00
Stéphane Voltz d41fed97b2 - support for UMAX Astra 610P in umax_pp backend 2004-05-03 05:14:20 +00:00
Henning Geinitz 0e70e29baf Moved union Option_Value from backend header files to sanei_backend.h. No need
to copy it over and over again. Changed header inclusion order in backend
files to include backend.h after sanei_backend.h. Based on a patch from stef
<stef-listes@wanadoo.fr>.
2003-09-12 16:10:33 +00:00
Stéphane Voltz eaff639e8f - revert change for UTA 2003-08-17 09:04:23 +00:00
Stéphane Voltz d54f39f55b - UTA and custom gamma fix (wrongly inactive ...)
- gamma table check on option set
2003-08-15 06:56:24 +00:00
Stéphane Voltz 5ed8c99cb7 - changed 'gain' option name to 'brightness'
- changed 'highlight' option name to 'contrast'
2003-02-25 07:04:12 +00:00
Stéphane Voltz c79500306a - added UTA detection
- version updates
2002-10-31 06:53:52 +00:00
Stéphane Voltz 61b8100c90 * DBG() macro clean-up
* fixed color transfer for 1600P models
        * fixed potential crash if dump file couldn't be opened for writing
        * added ppdev device name handling
        * added model override
1994-02-15 08:43:42 +00:00
Henning Geinitz 13c50862ed Added umax_pp backend (patch from Stéphane Voltz
<svoltz@wanadoo.fr>).
2001-05-03 19:34:02 +00:00