Wykres commitów

14 Commity (master)

Autor SHA1 Wiadomość Data
David Ward f3162bafa8 Replace variable self-assignments to avoid Clang warnings
These were intended to suppress GCC warnings about unused variables.
However, this leads to different warnings from Clang instead.

Use another approach that suppresses warnings from both compilers.
2022-03-08 19:00:00 -05:00
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 23891a2646 .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
Olaf Meeuwissen f276e3e055 umax1220: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:41:55 +09:00
m. allan noah 62fcc842f7 set initial scan area dimensions to maximum, close bug 311313 2009-03-05 17:13:21 +00: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
Mattias Ellert 49d756ca44 Fixing compiler warnings 2007-01-20 23:02:53 +00:00
Henning Geinitz 709da66159 Make UMAX 2100U (and probably 1600U and 2000U) work. Code from Patrick Lessard
<palessar@cgocable.ca>. Updated manual page and .desc file.
2006-04-17 12:46:41 +00:00
Mattias Ellert 21f94b0264 Fix SANE_DEBUG_SANEI_PV8630 2005-09-22 19:02:25 +00:00
Marcio Teixeira ec59c04a2d Removed SANE_I18N from option names 2002-12-04 15:33:45 +00:00
Henning Geinitz 991bd09675 Fixed PACKAGE_VERSION breakage. PACKAGE_VERSION was redefined by autoconf 2.5
with a different meaning. Use PACKAGE_STRING instead.
2002-11-29 18:19:58 +00:00
Marcio Teixeira 6b7f34f0de Fixed warnings in "backend/umax1220u-common.c" and "backend/umax1220u.c".
Added notes about 2000U, 2200U and 2200US to "backend/umax1220u.desc"
2002-01-09 00:55:30 +00:00
Henning Geinitz 5f43f8ae3b Added new backend umax1220u for UMAX Astra 1220U and 2000U
scanners (patch from Marcio Luis Teixeira  <marciot@holly.colostate.edu>).
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-07 23:20:05 +00:00