Wykres commitów

19 Commity (1458d23c4229a9d9fa46f93a3859d501ec7aa149)

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
Peter Marschall 95eda03dd1 spelling fixes for nec backend 2020-08-29 09:18:04 +02:00
Olaf Meeuwissen 345be52f9e nec: Fix [-Werror=implicit-fallthrough] warning
The fallthrough would log a message that is probably misleading.
2019-09-28 20:33:26 +09:00
Povilas Kanapickas e40596c2a5 Fix -Wimplicit-fallthrough warnings by adding standard annotations 2019-06-30 11:58:32 +03:00
Olaf Meeuwissen 23891a2646 .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
Olaf Meeuwissen 86c5d6d7bd nec: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:41:54 +09:00
Stéphane Voltz 10bd9ed2e5 bug 314036 use after free
- apply patch from Nickolai Zeldovich (nickolai-guest) to
  fix a use after free error
2013-03-18 11:55:08 +01:00
Julien BLACHE c8e15bcf7d nec: fix cast 2010-06-23 18:21:33 +02: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
chris@cnpbagwell.com 4d9e8138af standardize including local sane/ include files.
Source code was inconsistent on how they were referencing
include files in include/sane.  In certain cases, sane/sane.h
and sane/saneopts.h was really including external copies (with
some preprocessor implementations anyways).
2009-05-07 22:06:20 -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
m. allan noah 994bef3b16 reduce gcc pedantic/ansi warnings from 690 to 280 lines, mostly via casts in
str*() calls, also update hpljm1005 sane_cancel code
2008-02-04 01:20:01 +00:00
Henning Geinitz af58065746 64 bit platform fixes (bug #300799). 2004-10-03 17:34:36 +00:00
Henning Geinitz e7484c515e Silenced some compilation warnings. 2003-12-27 17:48:39 +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
Kazuya Fukuda d3bfdc3b42 fixed a compile problem for Dec Unix v4 and probably other 64 bit platform. 2002-04-28 13:18:48 +00:00
Henning Geinitz 990cfd6f4c Update to backend version 0.12 (from Kazuya Fukuda <kazuya@pjs.nevt.nec.co.jp>).
Removed references to sharp backend (grep for "JX"). Check for
HAVE_SYS_SHM_H before including sys/shm.h and disable shared
memory support if necessary. Free devlist allocated in
sane_get_devices() in sane_exit() resolution setting bug fixed
(PC-IN500/4C 10dpi step). Removed resolution list.
2001-06-02 12:49:47 +00:00
Henning Geinitz eb92849a5e 2000-11-21 Henning Meier-Geinitz <hmg@gmx.de>
* AUTHORS: Added FUKUDA Kazuya for the nec Backend. Used spaces instead
	  of tabs.
	* PROJECTS: Removed entry about NEC. Added/updated entries about Mustek
	  USB scanners.
	* README: Added link to sane-nec(5).
	* TODO: Removed entries about sanei_authorize and plain text passwords.
	* backend/Makefile.in backend/dll.conf backend/nec.conf backend/nec.c
	  backend/nec.desc backend/nec.h doc/Makefile.in doc/sane-nec.man:
	  Added nec backend for the NEC scanners PC-IN500/4C (from Kazuya Fukuda
	  <fukuda@pjs.nevt.nec.co.jp>)
2000-11-21 01:03:33 +00:00