Wykres commitów

39 Commity (e8ec8d46e5f9b688ac0ebffde82b76886cf7fb9f)

Autor SHA1 Wiadomość Data
Henning Geinitz 38087da06a Use correct size for fgets. Patch from Antoine Jacoutot <ajacoutot@lphp.org>. 2005-10-06 19:11:09 +00:00
Henning Geinitz e3e00e9d91 Added progress indicator to scanimage (based on patch from Mario Goppold
<mgoppold@tbz-pariv.de>). Updated copyright information, added links to
sane-devel mailing list.
2005-09-23 12:05:51 +00:00
Henning Geinitz 3ae9b03454 Don't exit with error when trying to set inactive options. This especially
happens in connection with geometry options and the v4l backend (bugs #300321,
#301977).
2005-08-14 14:51:06 +00:00
Mattias Ellert 23b39a25f1 Missing braces 2005-04-28 12:49:01 +00:00
Gerard Klaver e9e045a44b -split up printf command to remove warning ISO C89 (string length > 509)
-patch for bugreport 300160, ranges for width and height are wrong

-added option -B -buffersize so instead of default input buffer of
32*1024 a buffer of 1024*1024 can be chosen, so for vidcams for example
640x480, usb 2.0, 30fps less time is needed to fill input buffer.
2005-04-15 21:09:56 +00:00
Julien BLACHE 746faf32c9 More auth_callback() fixes, although these ones aren't critical. 2004-09-05 09:27:28 +00:00
Julien BLACHE c5f9d0d711 * frontend/scanimage.c: Added the possibility to cleanly stop a batch by pressing Ctrl+D when using --batch-prompt. 2004-07-31 17:26:02 +00:00
Henning Geinitz a2e686d667 Added support for asking for pressing a key before scanning a page in a batch
scan. Patch from Dominik Fischer <dom_fischer@web.de>.
2004-02-22 11:17:49 +00:00
Henning Geinitz b59fc7f95a Updated email address of Andreas Beck. 2003-07-26 09:33:21 +00:00
Henning Geinitz 494e6a1cf4 When parsing string options whose arguments are too short, don't overwrite the
remaining command line arguments. Print "[inactive]" after every inactive
option.
2003-07-19 14:23:31 +00:00
Henning Geinitz 85e0bb2735 Added option --dont-scan. Resorted usage output. 2002-09-11 19:20:43 +00:00
Oliver Rauch d054ded6c1 2002-08-18 Oliver Rauch <Oliver.Rauch@rauch-domain.de>
* frontend/scanimage.c, frontend/stiff.h, frontend/stiff.c:
          Added option "-i filename"/"--icc-profile filename":
          When image is saved in tiff format then this icc-profile is
          added to the tiff file as tiff tag
2002-08-27 17:57:19 +00:00
Henning Geinitz e96e066c2f Fail if there are arguments without a preceding option on the command line.
Fixed indenting.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-07-22 12:49:26 +00:00
Henning Geinitz cb6aadd8fa Fixed 16 bit pnm output. The byte-order was wrong for little-endian
systems. Based on code from Roland Roberts <roland@astrofoto.org>.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-05-09 13:41:28 +00:00
Henning Geinitz d094d55867 Fixed scanimage SANE_CAP_AUTOMATIC bug (from David Paschal
<paschal@rcsis.com>).
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-27 09:40:21 +00:00
Abel Deuring eee0a46577 frontend/scanimage.c / part for the "-f" command line option:
replaced the vprintf call with a loop of printf calls; fixed
a "too stingy" malloc

Abel
2002-02-16 20:40:19 +00:00
Abel Deuring c47986a7b3 now commited the updated version of scanimage.c... fetched the wrong version
in my last commit. Thanks to Henning, whgo found this mistake!

Abel
2002-01-25 22:52:52 +00:00
Henning Geinitz cb516b6e38 Added help message for --formatted-device-list. Added va_end() and
#include <stdarg.h>. Used fprintf to print errors. Fixed some typos.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-14 20:45:39 +00:00
Abel Deuring 0e65f42ce7 frontend/scanimage.c, doc/scaniamge.man: Added the option -f
--formatted-device-list to allow arbitrarily formatted device
 lists. Suggested by Klaas Freitag.

Abel
2002-01-13 20:46:35 +00:00
Henning Geinitz 445166ec09 Added output of bytes scanned in total. Added warning that's printed if
scanimage gets more data then expected from the parameters.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-10 21:27:03 +00:00
Henning Geinitz ed63137a3e Fixed endless loop in sighandler.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-12-30 21:16:38 +00:00
Henning Geinitz 0f2483aafa Use out%d.tif by default if --format tiff was selected. Update documentation about default formats.
Fixed spelling mistakes.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-11-20 20:23:10 +00:00
Henning Geinitz a9218c2311 Fixed minor bugs in debug output and documentation.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-08-26 10:39:54 +00:00
Henning Geinitz 88f274ac9a Fixed small bug in output for batch mode.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-06-04 08:52:50 +00:00
Henning Geinitz 9634e891f8 Added more options for batch-scanning (patch from Caskey Dickson
<caskey-lists-sane-devel@technocage.com>).
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-06-02 22:54:55 +00:00
Henning Geinitz de1db12828 scanimage_exit: use the handle (not its address) for sane_close.
Fixed yet another warning.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-14 20:56:32 +00:00
Petter Reinholdtsen 114eeeb3aa Remove some compiler warnings. 2001-05-14 07:18:25 +00:00
Henning Geinitz e43926b388 Added exit handler to call sane_close and sane_exit in any case
and to free alloced memory. A bit of reformating. Used
#include "../include/sane/...". Fixed some warnings.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-13 16:08:44 +00:00
Henning Geinitz 9e40af43a2 Fixed memory leak
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-04-29 17:27:03 +00:00
Henning Geinitz 30b517b433 2001-04-13 Henning Meier-Geinitz <hmg@gmx.de>
* PROJECTS TODO: Added entry about E3 USB chipset.
	* backend/dll.c backend/dll.desc: New version is 1.0.5. Version and
	  PACKAGE_VERSION is printed with debug level set to 1 or higher.
	  The version numbers of all backends that are loaded are printed
	  at debug level 3 or higher. Print error if backend with wrong
	  major version number is loaded. Some standardization changes
	  concerning the DBG messages.
	* backend/net.c backend/net.desc: New version is 1.0.5. Version and
	  PACKAGE_VERSION is printed with debug level set to 1 or higher.
	  Some standardization changes concerning the DBG messages.
	* backend/pnm.c: Return SANE_INFO_RELOAD_PARAMS even if the pnm
	  file doesn't exist or can't be loaded (from mh <crapsite@gmx.net>).
	* doc/backend-writing.txt: Added AUTHORS to the list of things that
	  should be updated when including a new backend. Added points about
	  avoiding printf and exit in backends.
	* doc/releases.txt: New file. This text summarizes some points to
	  pay attention to when a new release of sane-backends is made.
	  Additions and corrections are appreciated.
	* doc/scanimage.man: Add some more information about the -V option.
	* frontend/scanimage.c: The option -V now also prints the version of
	  the backend (ususally dll).
2001-04-13 17:04:51 +00:00
Henning Geinitz bc4002f3c8 2001-04-08 Henning Meier-Geinitz <hmg@gmx.de>
* backend/mustek.c backend/mustek.desc backend/mustek.CHANGES
	  Added detection of the TA for the Paragon 1200 SP Pro. Added
	  warning about not supported Trust scanners. Changed description
	  of contarst and brightness settings. Backend status is "stable"
	  now. New version: 1.0-106.
	* acinclude.m4 aclocal.m4: Fixed comment concerning dc240.
	* configure configure.in include/sane/config.h.in: Added test for
	  socklen_t in sys/socket.h. This fixes the compilation problem on
	  Irix.
	* doc/sane-avision.man doc/sane-ricoh.man doc/sane-s9036.man
	  doc/sane-tamarack.man: find-scanner is now called
	  sane-find-scanner and installed on the system so it's not
	  necessary to point to the tools directory.
	* frontend/scanimage.c: Fixed too long line in output.
	* sane-config.in: Name is sane-config again (was sane-backends-config
	  due to the renaming of the package).
	* TODO: Removed entry about net.c not compiling on Irix and
	  references to find-scanner in the man pages. Updated numbers of
	  the compilation warnings. Still too many, however.
2001-04-08 15:53:05 +00:00
Henning Geinitz 4644df5bd7 2000-12-31 Henning Meier-Geinitz <hmg@gmx.de>
* tools/find-scanner.c: Removed. Now called sane-find-scanner.
	* tools/sane-find-scanner: New file (was find-scanner).
	* tools/.cvsignore tools/Makefile.in tools/README: Updated because
	  of name change. sane-find-scanner is installed now.
	* README README.linux: Updated because of sane-find-scanner.
	* frontend/scanimage.man: Updated because of sane-find-scanner.
	* doc/sane-find-scanner.man: New file.
	* doc/.cvsignore doc/Makefile.in: Added sane-find-scanner(1).
	* TODO: Updated concerning sane-find-scanner. Added entry about
	  qcam /tmp file handling. Some spelling corrections.
2000-12-31 19:35:04 +00:00
Jochen Eisinger 201b9d662d 2000-11-24 Jochen Eisinger <jochen.eisinger@gmx.net>
* doc/scanimage.man doc/saned.man: updated description of password
	  file
	* sanei/sanei_auth.c frontend/saned.c frontend/scanimage.c: replaced
	  index() by strchr(). Changed style of password file
	* backend/net.c: the net backend now prepends net:host: to the
	  resource before calling the auth_callback function
2000-11-24 15:05:22 +00:00
Jochen Eisinger 3e4ae9dce7 2000-11-20 Jochen Eisinger <jochen.eisinger@gmx.net>
* configure configure.in: Added test for /dev/urandom and
	  index() in string.h or strings.h
	* backend/net.c: Fixed SANE_NET_AUTHORIZE call handling
	* doc/net.tex: Clarified definition of SANE_NET_AUTHORIZE, added
	  definition of MD5 authorization
	* doc/sane.tex: Upgraded to version 1.0.2, changed definition of
	  SANE_MAX_USERNAME_LEN & SANE_MAX_PASSWORD_LEN to 128 chars
	* doc/saned.man: added description of SANE_CONFIG_DIR/saned.users
	* doc/scanimage.man: added description of ~/.sane/pass and
	  --accept-md5-only
	* frontend/saned.c: implemented user authorization on a per backend
	  basis
	* frontend/scanimage.c: fixed bug (option -b wasn't present)
	  implemented auth_callback
	* include/sane/sane.h: changed definition of SANE_MAX_USERNAME_LEN &
	  SANE_MAX_PASSWORD_LEN to 128 chars
	* lib/Makefile.in sanei/Makefile.in: updated Makefiles
2000-11-20 18:49:26 +00:00
Henning Geinitz a466f9f914 2000-10-03 Henning Meier-Geinitz <hmg@gmx.de>
* tools/find-scanner.c: Explicitly state that find-scanner won't
 	  find non-SCSI scanners.
	* doc/scanimage.man: Add examples for SANE device names.
	* frontend/scanimage.c: Output message when no devices are found.
	  Add example for devicename to --help message. Print warning
	  when a Unix devicename is used instead of a SANE device. Removed
	  compiler warning.
	* TODO: Removed entries about the fgets and include issues in
 	  umax. Removed entries about scanimage device name
 	  documentation. Added a point about xscanimage problems with the
 	  new GIMP API.
	* backend/mustek.* doc/sane-mustek.man: Update to Mustek backend
 	  1.0-98. Fixed segmentation fault in sane_init. Enabled double
 	  buffering. Clear inquiry buffer before using. Paragon 1200 SP now
 	  uses LD_BLOCK color correction. Removed LD MFS (wasn't used
 	  anymore). Fix sane_cancel for Paragon series II scanners. Fix
 	  halftone and grain for Paragon series II scanners. Backtracking is
 	  used automaticly by all scanners now. Some safety checks, code
 	  cleanup and more debug output. Details are in
	  backend/mustek.CHANGES.
2000-10-03 16:24:25 +00:00
Henning Geinitz 1adff27a7a 2000-09-24 Henning Meier-Geinitz <hmg@gmx.de>
* backend/mustek.*: Update to Mustek backend 1.0-97. This is a
       	  development version and is only tested for three-pass scanners.
  	  Added support for Paragon 1200 SP Pro and ScanExpress A3 SP.
  	  Removed detection of " C04" and " C12" (don't seem to exist).
  	  Changed SCSI request scheme. Sane_read can read more than 4096
 	  bytes from pipe. Minimum dpi is 30 now. Fixed LD correction for
 	  Paragon 1200SP 1.06 and 1.11.  Read SCSI buffer into big block and
 	  do LD after that for Paragon one-pass scanners. New option
 	  "blocksize" in mustek.conf. Better detection of the scanner type
 	  (three-pass, Paragon I, ...). Fixed possible segmentation faults
 	  in Paragon 600 II N LD code, scsi_sense_wait_ready and
 	  sense_handler. Decreased maximum scan size of Paragon 800 II
 	  SP. For three-pass scanners: fixed stop_scan and speed code, scan
 	  area is in pixels now, added RGB brightness and contrast, use
 	  +-100% for brightness and contrast. Return SANE_STATUS_CANCELLED
 	  when scan was cancelled. Option "force backtracking" is enabled by
 	  default, "scan speed" is set to "fastest". Added option
 	  "force-warn" for mustek.conf.  Rewrote halftone mode. Better error
 	  handling and more debug output.
	* TODO: Clarified point about image data polarity. Moved point about
	  xscanimage not updating the progress bar for 3pass scanners to
	  frontend section. Removed umax entry in "frontends". Removed entry
	  about alpha channel (was added to LEVEL2 file).
	* LEVEL2: Add point about image data polarity.
	* frontend/scanimage.c: Removed some warnings.
2000-09-24 19:38:35 +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