Wykres commitów

64 Commity (1e2e1f8cd2c69e7a82ea47723d35b90319e064e4)

Autor SHA1 Wiadomość Data
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 df8b2a8460 Fixed 16 bit tiff output.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-07-24 19:41:34 +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 1bdbbf495f Use LIBS = @LIBS@ to make sure that -lsyslog and -lsocket are linked for OS/2.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-07-08 18:07:07 +00:00
Frank Zago 8ef5b16e85 add test for long long. 2002-05-29 05:37:30 +00:00
Frank Zago 27c80d116b New email address. 2002-05-29 04:52:14 +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
Henning Geinitz 84f6c44448 Added missing files to DISTFILES.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-24 17:57:23 +00:00
Frank Zago 95c4c5ce82 Missing piece of tstbackend integration. 2002-04-20 22:49:54 +00:00
Frank Zago 1bbfc79ba1 tstbackend integration. 2002-04-19 23:16:16 +00:00
Henning Geinitz 70dde5648d Support for variable DESTDIR. If set, all files are installed to that
location. Also print the filename of the installed file, not only the
path. Both changes are mostly for package creators/maintainers.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-03-29 13:27:16 +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
Henning Geinitz 4e2aa9185e Use inet_pton() instead of inet_aton() to avoid compilation errors on e.g.
OS/2.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-02-14 19:36:25 +00:00
Henning Geinitz e3cbda553c Added global list of file patterns for "make distclean". Some "make clean"
and "make distclean" cleanup and additions.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-02-13 20:48:29 +00:00
Henning Geinitz 2e3dc0b7b2 DNS queries for remote hosts are only done if necessary. It's now possible
to use "+" without hosts/DNS entries for the connecting host.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-02-12 22:09:01 +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 bfdbda4505 Check that the IP addresses of the peer are the same for control and
data connections. Exit, if this is not the case. Changed some debug
levels.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-11 21:02:11 +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 514e7a99c6 Removed unnecessary file.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-08 23:46:56 +00:00
Henning Geinitz c1b967a5d6 Added target "dist". Fixed .PHONY.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-08 19:06:54 +00:00
Henning Geinitz 565aaa0639 Changed access control (function check host). Now IP addresses
are used for comparison, not host names as before. It's possible to
put hostnames, FQDNs and IP addresses into saned.conf.
Limitations: Only the first IP address in struct hostent is checked.
IPv6 is untested. The change is based on a patch by Petter
Reinholdtsen <pere@hungry.com>.
Removed isfdtype to avoid compilation problems. Added more
debug output. Print function name in every DBG statement.
Updated manual pages and saned.conf.
2002-01-06 21:01:05 +00:00
Henning Geinitz 3ce0c90069 Changed debug handling. All debug messages use DBG now. If in inetd mode or dameon mode with "-s",
the messages are printed to syslog as before. If option "-d" is used,
the mesages are printed to stderr. Updated manual page.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-05 12:54:34 +00:00
Henning Geinitz aa8f8dbadd Fixed sigpipe race in connection with select_fd. Added debug output.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-12-30 21:17:56 +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
Peter Kirchgessner 3f2aae2687 Add tiff tag fillorder 2001-12-16 15:19:27 +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 eec168cdc1 More debug output. Used DBG instead of fprintf/perror.
Fixed some formatting issues.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-10-12 19:56:08 +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 d6adc10238 Changed order of headers to get test.c compiling on OS/2.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-06-04 20:08:22 +00:00
Henning Geinitz 3e72ff5b2f Increase timeout to one hour.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-06-04 17:06:39 +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 fdf421eb8c Added target "uninstall".
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-21 20:20:54 +00:00
Oliver Rauch 13857301a9 2001-05-20 Oliver Rauch <Oliver.Rauch@rauch-domain.de>
* removed a bug in saned (patch by Matthias Trute <mtrute@topmail.de>)
          calculation of the reader buffer index was not correct:
             if (reader >= sizeof (buf))
          -    reader = 0;
          +    reader -= sizeof(buf);
2001-05-20 21:00:48 +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 9e56b1205a Used #include "../include/sane/...".
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-13 18:44:13 +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 610ee824da Fixed some memory leaks. Fixed some warnings.
Some reformating. Used #include "../include/sane/...".
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-13 16:03:43 +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
Jochen Eisinger c49187b579 2001-03-10 Jochen Eisinger <jochen.eisinger@gmx.net>
* frontend/saned.c: fixed bug that allowed access to a scanner
	  without being prompted for a password
2001-03-10 15:31:46 +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
Oliver Rauch a6e24d3333 2000-12-04 Oliver Rauch <Oliver.Rauch@Wolfsburg.DE>
* removed usage of gettext, problem with -lintl should be solved:
          - removed usage of gettext from lib/getopt.c
          - removed test for libintl/gettext in configure[.in]                                                                     - removed intllib from frontend/Makfile.in
2000-12-04 20:58:34 +00:00
Oliver Rauch e9a504cca6 2000-11-22 Oliver Rauch <Oliver.Rauch@Wolfsburg.DE>
* changed configure.in, configure frontend/Makefile.in
          and backend/Makfile.in:
          The shared libraries required by the backends are linked to
          the backends (they have been linked to the frontends before).
          Only libintl is linked to the frontend.
        * changed tool/sane-config.in, sane-config --libs => "-lsane",
          all other libraries are linked to the backend libs now
2000-11-24 15:25:00 +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