Wykres commitów

26 Commity (34c15b47d9fd839a5334665a869bc0944a073534)

Autor SHA1 Wiadomość Data
Rosen Penev c320a72e32
treewide: Replace mktemp by mkstemp
mktemp has been removed in POSIX 2008. uClibc-ng optionally does not make
it available.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-03 11:47:49 -07: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 e881843745 canon: fix [-Wunused-but-set-variable] compiler warnings 2015-12-27 18:38:40 +09:00
Ondrej Zary 8e627110cd canon: Add support for Canon IX-4015 scanner
This adds support for Canon IX-4015 scanner. The difference from other scanners
supported by this backend is that it has no highlight and shadow settings - the
corresponding bytes in set_window command must be zero or it will fail.

IX-4015 has optical resolution of 400 dpi, can interpolate up to 800 dpi (color)
or 1200 dpi (grayscale).
2012-10-18 20:27:30 -04: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
m. allan noah 2dc0cb38bd separate x-resolution from resolution, and update all backends that use
it, to prevent ui change
2008-07-26 03:53:44 +00:00
Mattias Ellert 17e9115fdd Fixed the "three-valued boolean" bug 2007-01-21 13:29:21 +00:00
Ulrich Deiters b06eb2220b Ulrich Deiters: disentangled some pointer arithmetics in canon-sane.c 2006-12-10 12:28:42 +00:00
Ulrich Deiters e55d3d8ce6 Ulrich Deiters: got rid of some compiler warnings 2006-06-15 15:55:28 +00:00
Mattias Ellert b7b2266702 Redeclaration... 2006-01-21 09:33:58 +00:00
Ulrich Deiters 417129af58 Ulrich Deiters: fixed byte-swapping problem for little-endian platforms 2006-01-15 17:03:32 +00:00
Ulrich Deiters cd3365e8d6 Ulrich Deiters: fixed unintialized variable in backend/canon-sane.c 2005-11-25 22:32:52 +00:00
Ulrich Deiters 20aff8e022 restored actual version of the Canon-SCSI backend 2005-07-01 19:21:55 +00:00
Henning Geinitz af58065746 64 bit platform fixes (bug #300799). 2004-10-03 17:34:36 +00:00
Ulrich Deiters 19fed4c4f8 Ulrich Deiters: removed option "OPT_PAGE" from Canon-SCSI backend 2004-05-21 20:35:26 +00:00
Ulrich Deiters 6be161afe4 Ulrich Deiters: memory leak plugged, option settings for FS2700 corrected 2004-05-17 15:09:57 +00:00
Ulrich Deiters bf3546ca14 adjusted backend/canon-sane.c to use the new sanei_constrain_value()
made some cosmetic changes to reduce the number of compiler warnings
2003-02-28 09:35:24 +00:00
Ulrich Deiters 4fe497b559 * modified the Canon SCSI backend (now version 1.12):
* backend/canon.c, canon-sane.c, canon.h: Added support for
  the FB1200S flatbed scanner.
* backend/canon.c: Made the sense handler generate meaningful
  status information for new scanner models (solved the Mandrake
  crash problem).
* backend/canon.c, canon-sane.c, canon.h: Moved model-dependent
  declarations and decisions to a common location.
* backend/canon-sane.c: Fixed the out-of-memory problem of
  xscanimage when doing previews with scanners using hardware
  scan resolutions only.
2003-02-26 13:50:00 +00:00
Ulrich Deiters ee88748aa6 fixed uninitialized variable; made SANE pay attention to return status of
do_focus() and do_gamma()
2003-01-10 07:11:33 +00:00
Ulrich Deiters 0a43a10869 upgraded Canon SCSI backend to version 1.10:
modified invocations of sanei_scsi_open() to avoid crashes with Mandrake Linux
added support of focus control for the FS2710S film scanner
2002-11-13 13:22:49 +00:00
Abel Deuring 33846a6c94 backend/canon-sane.c, backend/canon-scsi.c, backend/canon.c,
backend/canon.h, doc/sane-canon.man,
doc/descriptions/canon.desc: added support for FB620S and
and FS2700, by Mitsuru Okaniwa <m-okaniwa@bea.hi-ho.ne.jp>
and Ulrich Deiters <ukd@xenon.pc.Uni-Koeln.DE>

Abel
2002-04-21 10:29:18 +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