Wykres commitów

13 Commity (master)

Autor SHA1 Wiadomość Data
David Ward 1a933bba7e Cast pointer arguments if needed when using "%p" format specifier
Pointer arguments must have type (void *) when printed with the format
specifier "%p".
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 f1593204c7 Drop execute permission
Source code, description files and configuration templates should never
need to be executed.
2015-11-27 21:28:09 +09: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
Earle F. Philhower III f2230330cb Fix 64-bit compile warnings, add information about lineart and halftone modes 2008-05-06 01:37:36 +00:00
Mattias Ellert 3b855e1b4b Device ID 0 is valid - check status code for errors instead 2008-02-20 17:27:53 +00:00
Mattias Ellert af663bc5e7 Fix format warnings 2008-02-03 10:34:20 +00:00
Earle F. Philhower III 75985d5568 Check USB handle returned is OK when scanner is opened to guard against permission issues or multiple instances accessing the scanner at once. 2007-03-11 01:33:29 +00:00
Earle F. Philhower III c5c85c5515 Added lineart and halftone scan modes, updated man page with new options 2007-03-08 21:49:23 +00:00
Earle F. Philhower III e1da48acae SM3840: Added SM4800, PPC endianness fix, Makefile deps fix 2005-03-16 08:09:19 +00:00
Henning Geinitz 316d7553e4 Added sm3840 backend (from "Earle F. Philhower, III"
<earlephilhower@yahoo.com>).
2005-02-20 20:08:04 +00:00