Wykres commitów

73 Commity (7ce0c5f44f526817fec91244baf8781e6d4e3b70)

Autor SHA1 Wiadomość Data
Henning Geinitz 749ceed2e6 Added a switch to disable libusb. Removed switch to enable ipv6
uncondinionally.  Check for sys/poll.h.
2003-04-02 16:21:07 +00:00
Henning Geinitz 966e3536da Include poll.h only if new saned code is used. Fixes compilation on
OS/2. Patch from Julien BLACHE <jb@jblache.org>.
2003-03-31 16:15:10 +00:00
Henning Geinitz 088281c4e1 Added support for IPv6. Updated manpages. Patch from Julien BLACHE
<jb@jblache.org>.
2003-03-30 19:07:18 +00:00
Frank Zago 711d1bb348 Added more sane_init/sane_exit tests. Added Fujistu and Relisys to the list of valid vendor names. 2003-02-22 19:41:08 +00:00
Henning Geinitz e3ceee04be Check the IP address of the remote host before any communication occurs.
Check for a errors before trsuting values that came from remote.  Make sure
that strings are 0-terminated.
2003-02-09 11:23:41 +00:00
Henning Geinitz 54faada982 Fixed severe bug in saned that allowed a remote frontend to crash saned (null
pointer derefence) if no scanners are connected.
2003-01-29 17:41:53 +00:00
Henning Geinitz 8088d3e59b Print version number. 2003-01-04 15:24:13 +00:00
Oliver Rauch 31d6f428e1 Oliver Rauch: added fclose(icc_file) to stiff.c 2002-11-29 17:06:36 +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 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