Wykres commitów

27 Commity (3fae2e561d969caae937337e4a52b793d0ceba71)

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 56cbbdad5d spelling fixes for sharp backend 2020-08-29 09:18:04 +02: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
Jörg Frings-Fürst e21bb28e50 Source code string typo fixes 2017-05-13 18:38:43 +09:00
Olaf Meeuwissen 82720a2023 sharp: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:41:54 +09:00
Stéphane Voltz ac768dbd72 bug 314037 use after free
- apply patch from Nickolai Zeldovich (nickolai-guest) to
  fix a use after free error
2013-03-18 11:55:18 +01: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 b85947768d backend/*.[ch]: more consistent #include "../include/sane/config.h" 2009-02-25 02:11:17 +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
Henning Geinitz 2fb3897cfe Fixed some compilation warnings (bug #300404). 2005-10-02 13:50:53 +00:00
Henning Geinitz af58065746 64 bit platform fixes (bug #300799). 2004-10-03 17:34:36 +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
Abel Deuring 1f7adcf0d1 backend/sharp.*: fixed a segfault, when the SCAN command returned
an error; optional "relaxed" handling of transparency unit errors.

Abel
2003-01-12 14:17:19 +00:00
Abel Deuring 79773b16db backend/sharp.c: fixed a compile problem for Dec Unix v4
and probably other 64 bit platform.

Abel
2002-04-22 18:30:21 +00:00
Abel Deuring 0fdcb0c0bc backend/sharp.c: did only half of the devlist-patch in my last commit.
Thanks to Henning who noticed this.

Abel
2002-04-21 14:00:56 +00:00
Abel Deuring 7ce48e4edc backend/sharp.c: added a "free(devlist)" call to sane_exit
Abel
2002-04-21 11:27:16 +00:00
Abel Deuring 94842fc048 backend/sharp.c: added an additional check to prevent OS/2 from using
define "#define USE_FORK"
2001-11-26 22:06:30 +00:00
Abel Deuring da68eca1d0 Fixed a small mistake in my last update of backend/sharp.c 2001-11-24 22:38:45 +00:00
Abel Deuring b415404a29 sanei_scsi.c: patches for the Linux part committed: better error handling;
the residual return by the SG driver v§ is now ignored

sharp.c: Now retries SCSI READ commands, if sanei_scsi_rweq_wait returns
STATUS_BUSY

Abel
2001-11-11 15:56:50 +00:00
Abel Deuring 08025d783b sanei_scsi.c: Added support for Linux devfs + improved detection of
sanei_scsi_max_request_size.

backend/sharp.c: now checks for existence of shm.h
2001-01-07 18:07:59 +00:00
Abel Deuring e25014fa99 Sharp backend: Support for model JX320 added 2000-11-21 16:30:48 +00:00
Petter Reinholdtsen b4a1a513c9 Merge devel (v1.0.3) into head branch. 2000-08-12 15:11:46 +00:00
Petter Reinholdtsen 760423d864 Merged main branch with current DEVEL_1_9. 2000-03-05 13:57:25 +00:00
Petter Reinholdtsen 30ab5e718a Initial revision 1999-08-09 18:06:01 +00:00