Wykres commitów

27 Commity (2ae58b0e6f15fca44984839c4e7dd6a9bb854b0b)

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 23891a2646 .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
Olaf Meeuwissen 99c14f2d95 Use a single symbol to flag unused parameters
The __sane_unused__ symbol was used slightly more often then UNUSEDARG
and, more importantly, defined in include/sane/sanei_backend.h.  That
makes it readily available to virtually all backends.
2016-07-18 16:51:08 +09:00
Olaf Meeuwissen 61719e0a13 dc240: fix [-Wunused-parameter] compiler warning
The attribute needs to go before the pointer designation for it to have
any effect.
2016-07-18 16:11:39 +09:00
Olaf Meeuwissen fb4147c4f1 dc240: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:38:41 +09: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
Peter Fales aa9845ccd1 Move jpeg files to sanei 2003-07-26 17:07:36 +00:00
Peter Fales 54d9e2729d Fixes for Irix from Andrea Suatoni 2003-02-09 03:23:59 +00:00
Peter Fales fa0abed1cf Fix OS/2 build error 2003-01-10 01:09:12 +00:00
Peter Fales d8410c5ad2 backend/dc210.c, backend/dc240.c - use a more portable way to generate
serial port "breaks"
2003-01-07 15:43:41 +00:00
Peter Fales 58993e7e36 Irix fixes from mailing list 2003-01-07 01:15:16 +00:00
Peter Fales 600abca5e1 Use portable code for camera structures that does not depend
on gcc or little-endian byte order
2002-10-15 00:48:19 +00:00
Peter Fales fd3fa83a57 Update authors email address 2002-09-22 13:49:49 +00:00
Peter Fales 88e99b89de Bug fixes identified by tstbackend 2002-04-27 03:57:12 +00:00
Peter Fales 8565da657b Various minor bug fixes found by tstbackend 2002-04-23 14:06:07 +00:00
Peter Fales ef7221f8b7 Fix errors with debug format/parameter mismatches 2002-02-16 14:35:12 +00:00
Peter Fales da66ce8066 Misc. bug fixes 2001-11-08 01:14:50 +00:00
Peter Fales 181197cbda Added folder selection option 2001-08-05 20:39:46 +00:00
Peter Fales 5463207303 Fix bug that can cause core dump while attempting to connect with
powered off camera
2001-07-12 02:58:33 +00:00
Peter Fales 3746de6c2f Fixed bug where attempting to change the "image number" in an empty camera
causes a core dump.
2001-06-07 04:13:36 +00:00
Peter Fales 6410da5ee9 backend/dc240.c - Batch scanning of multiple images with scanimage
was failing if subsequent images have a different size than
from the first image.
2001-06-04 04:33:05 +00:00
Peter Fales 4068282fba Add "auto increment" option to allow all images to be downloaded with
the --batch option to scanimage.
2001-06-03 04:07:06 +00:00
Peter Fales 6b3bb26de0 Fix obscure bug that can cause core dump if camera status table doesn't
correctly report the number of pictures
2001-05-29 02:42:05 +00:00
Peter Fales b959f2bc20 Added DBG(1,...) to print version string 2001-05-17 03:14:38 +00:00
Henning Geinitz 0260267deb 2001-04-07 Henning Meier-Geinitz <hmg@gmx.de>
* backend/sc240.c backend/dc240.h backend/dc240.conf
	  backend/dc240.desc backend/dll.conf doc/sane-dc240.man:
	  Added dc240 backend for the Kodak DC240 Digital camera (from
	  Peter Fales <peter@fales.com>).
	* doc/Makefile.in: Added sane-dc240 in section 5.
	* backend/Makefile.in: Added dc240.
	* configure configure.in: If the jpeg libs are not available,
	  dc240 is also disabled.
	* AUTHORS: Added entry for dc240 and updated email address of
	  Peter Fales.
	* NEWS: First version of the news entry for 1.0.5.
	* PROJECTS: Removed dc240. Added Microrec ScanMaker 3600.
	* README: Added dc240.
	* TODO: Removed dc240. Added entry about keep-alive mechanism in saned.
	* sane-backends.lsm: Added dc240.
	* testsuite/.cvsignore: New file. Added entry for Makefile.
2001-04-07 18:58:45 +00:00