Wykres commitów

29 Commity (7107aee632ef926fb8f666cf471e87d5380d227f)

Autor SHA1 Wiadomość Data
Henning Geinitz af58065746 64 bit platform fixes (bug #300799). 2004-10-03 17:34:36 +00:00
Henning Geinitz a70f09e4ca Check for (size_t) -1 doesn't work on 64 bit platforms as size_t is 64 bits
there while the length of a data block is defined as 32 bits in the SANE network
standard (bug #300837).
2004-10-03 12:34:10 +00:00
Henning Geinitz 7751b3b7eb Changed service name from "sane" to "sane-port". This is the
IANA registered service name for port 6566 (bug #300758).
2004-06-02 18:38:28 +00:00
Henning Geinitz e7484c515e Silenced some compilation warnings. 2003-12-27 17:48:39 +00:00
Henning Geinitz 0ade0d195a Fixed bug concerning hosts that have both IPv6 and IPv4 addresses but only
accept connections on IPv4. Patch from Julien BLACHE <jb@jblache.org>.
2003-05-30 18:09:25 +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
Henning Geinitz b0d7681738 Initialize global variables in sane_init to avoid segmentation faults when
sane_init/sane_exit is run more than once.
2003-02-22 15:37:19 +00:00
Henning Geinitz 991bd09675 Fixed PACKAGE_VERSION breakage. PACKAGE_VERSION was redefined by autoconf 2.5
with a different meaning. Use PACKAGE_STRING instead.
2002-11-29 18:19:58 +00:00
Henning Geinitz d4a383d233 Fixed bug in sane_read that cause garbled data to be sent to the
frontend. Fixed some long lines.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-18 19:55:08 +00:00
Henning Geinitz ee7b0e32f8 Fixed 16-bit byte-order handling in sane_read() (patch from Michael Herder
<crapsite@gmx.net>).  New version: 1.0.7.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-03-24 21:51:04 +00:00
Henning Geinitz 3645fddf18 Use copies of option descriptors to make sure their addresses aren't changed
until sane_close. New version: 1.0.7.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-03-20 21:49:54 +00:00
Henning Geinitz 644a271538 Fixed some DBG format warnings.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-02-14 19:50:10 +00:00
Henning Geinitz f330f0d15c Return SANE_STATUS_ACCESS_DENIED if access was not granted
instead of SANE_STATUS_IO_ERROR.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-06 21:04:43 +00:00
Henning Geinitz 755902d1cd Fixed race condition between saned sending NET_OPEN reply
and net.c flushing the wire. New version: 1.0.6.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-05 11:35:22 +00:00
Henning Geinitz fe5ce9118f Better and more debug output (based on patch from Jochen Eisinger <jochen.eisinger@gmx.de>).
Fixed some debug output and formatting issues of the byte order patch. Increased version number
to 1.0.5.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-10-12 18:39:31 +00:00
Henning Geinitz ea70547e9b Fixed byte order problems for 16 bits per color image data (from mh <crapsite@gmx.net>).
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-10-09 19:41:14 +00:00
Jochen Eisinger e73c822a4d 2001-09-05 Jochen Eisinger <jochen.eisinger@gmx.de>
* backend/net.c: ignoring size of parameter value for
          SANE_ACTION_SET_AUTO (as described in the SANE standard)
2001-09-05 18:03:12 +00:00
Henning Geinitz d90edc34e2 Fixed yet another segfault. Added debug messages.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-06-03 14:57:00 +00:00
Henning Geinitz 8e819c331b Fixed some memory leaks. A bit of reformating. Added more
debug output. Used #include "../include/sane/...".
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-13 16:23:48 +00:00
Henning Geinitz 5bb971f671 Free devlist in sane_exit. Use "../include/sane/...". 2001-05-06 19:08:13 +00:00
Henning Geinitz ffa8983698 Removed access to uninitialized memory. Changed htons to ntohs
in DBG statement. Increased version number.
2001-05-06 09:16:13 +00:00
Petter Reinholdtsen 165e106361 Make sure net backend release all memory when finished. 2001-04-29 11:11:07 +00:00
Henning Geinitz e1767e5ea9 2001-04-16 Henning Meier-Geinitz <hmg@gmx.de>
* README: Updated xsane link.
	* configure configure.in backend/dll.c backend/dll.desc
	  backend/net.c backend/net.desc include/sane/config.h.in
	  Yet another change in the version system for dll and net.
	  For sane_init return the version of the package but use
	  own internal version number in the source (printed with
	  debugging enabled) and in *.desc. The internal versions
	  of both net and dll are set to 1.0.1. Please increase the
	  build number with every change on the source files.
	* doc/realeases.txt -> doc/releases.txt. Fixed spelling error.
	  Added entries about sane-backends.html, sane.ps, man pages,
	  platforms page.
2001-04-16 12:21:41 +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 503b692be1 2000-12-23 Henning Meier-Geinitz <hmg@gmx.de>
* TODO: Removed entry about net/saned crashes.
	* backend/net.c: Fixed segfault when using SANE_TYPE_STRING options
	  (e.g. scanimage on localhost). Added checks to prevent other
	  segfaults. Fixed some warnings.
	* backend/snapscan.desc: Changed to use new homepage.
2000-12-23 20:11:22 +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
Petter Reinholdtsen b4a1a513c9 Merge devel (v1.0.3) into head branch. 2000-08-12 15:11:46 +00:00
Petter Reinholdtsen 30ab5e718a Initial revision 1999-08-09 18:06:01 +00:00