Wykres commitów

43 Commity (d90edc34e2ca3c78dc216cb44d11438a512fc3c4)

Autor SHA1 Wiadomość Data
Henning Geinitz 021a47f2e1 Fixed compilation issue for OS/2 in sanei_scsi_find_devices.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-31 17:32:38 +00:00
Oliver Rauch a917e2d039 2001-05-30 Oliver Rauch <Oliver.Rauch@rauch-domain.de>
* Problem with SOLARIS_INTERFACE (change from 2001-05-27)
          had an other reason than the scsi buffer size (MAX_DATA).
          Changed scsi buffer size for solaris sg driver
          (USE == SOLARIS_INTERFACE in sanei_scsi.c) again from 32 KB
          to 128KB.
2001-05-30 17:00:09 +00:00
Oliver Rauch 9225208519 2001-05-27 Oliver Rauch <Oliver.Rauch@rauch-domain.de>
* changed scsi buffer size for solaris sg driver
          (USE == SOLARIS_INTERFACE in sanei_scsi.c) to 32 KB
          again because it does not work for at least one system
          with 64KB.
2001-05-27 21:01:46 +00:00
Oliver Rauch bd82fa1557 Oliver Rauch:
cosmetic changes in just applied changes to sanei/sanei_scsi.c
2001-05-27 10:26:20 +00:00
Oliver Rauch eb8916c209 2001-05-27 Oliver Rauch <Oliver.Rauch@rauch-domain.de>
* sanei/sanei_scsi.c: changed scsi buffer size (MAX_DATA)
          to 128KB for: SOLARIS_INTERFACE, SOLARIS_SG_INTERFACE,
          SOLARIS_USCSI_INTERFACE and IRIX_INTERFACE
          (some scanners have problems with the predefined 32KB
           buffer size, these systems should work with 128KB
           but we need to test if no problems do occur).
2001-05-27 10:24:04 +00:00
Henning Geinitz fdf421eb8c Added target "uninstall".
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-21 20:20:54 +00:00
Henning Geinitz a50e1d4d4c Used #include "../include/sane/...".
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-13 16:25:07 +00:00
Henning Geinitz 951a6849fb Fixed some memory leaks. Used #include "../include/sane/...".
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-13 16:16:59 +00:00
Oliver Rauch 2246581236 2001-05-07 Oliver Rauch <Oliver.Rauch@rauch-domain.de>
* applied a patch by Douglas Gilbert to sanei_scsi.c
          it solves the Problem that the scanner is not
          found on linux systems when the order of the
          scsi devices is not coverd by the order of
          devices listed by /proc/scsi/scsi, it prefers
          new kernel 2.4 methods when available
2001-05-07 16:05:23 +00:00
Henning Geinitz 69fe89db99 Added support for Solaris sgen SCSI driver (patch from Juergen Keil
<jk@tools.de>).
2001-05-01 21:08:45 +00:00
Henning Geinitz 308616ddd3 Don't free memory that's not alloced 2001-04-29 19:42:19 +00:00
Henning Geinitz a1cacda510 Avoid reading uninitialized memory when checking SANE_CONFIG_DIR 2001-04-29 19:07:34 +00:00
Petter Reinholdtsen ff4abeae23 Fix memleak when using env SANE_CONFIG_DIR. 2001-04-29 17:01:30 +00:00
Petter Reinholdtsen b61f823334 Avoid reading uninitialized memory. 2001-04-29 16:51:09 +00:00
Henning Geinitz a25522fed4 Fixed memory leak: vendor wasn't freed.
2001-04-29  Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-04-29 16:12:26 +00:00
Petter Reinholdtsen d4d1ed211d Avoid reading uninitialized memory. 2001-04-29 13:00:43 +00:00
Petter Reinholdtsen 165e106361 Make sure net backend release all memory when finished. 2001-04-29 11:11:07 +00:00
Abel Deuring 2b29b35e30 sanei_scsi.c: Fixed a buf in the rror handling for the Linux SG driver v3.x;
disabled direct IO by default
2001-04-10 22:38:01 +00:00
Abel Deuring 0c18bf49c4 bug in the Solaris/Schilling driver part of sanei/sanei_scsic
(null pointer dereference) fixed.
bug in backend/tatamrack.c (inconsistent arguments of sanei_scsi_cmd) fixed.
2001-02-26 23:01:43 +00:00
Petter Reinholdtsen f8bf4487a4 Include "sane/sanei.h" to make sure the prototype match the function. 2001-02-22 09:48:17 +00:00
Abel Deuring ce819d5714 New version of linux_sg3_err.h without
#include <linux/../scsi/sg.h>;
even more debug output in sanei_scsi.c.
2001-01-31 21:54:48 +00:00
Petter Reinholdtsen f406a1bc40 Make sure to initialize uninitialized variable 'defined' to zero. 2001-01-14 23:55:52 +00:00
Abel Deuring 56664981bf sanei_scsi.c: fixed SCSI command timeout... Has been set to 100 minutes
instead of 10.
2001-01-10 21:00:53 +00:00
Abel Deuring 3da13374b6 sanei_scsi.c: timeout for SCSI commands sent via the Linux SG driver version
3 increased.
2001-01-09 22:05:48 +00:00
Abel Deuring 08025d783b sanei_scsi.c: Added support for Linux devfs + improved detection of
sanei_scsi_max_request_size.

backend/sharp.c: now checks for existence of shm.h
2001-01-07 18:07:59 +00:00
Henning Geinitz 0268deab2e 2000-12-23 Henning Meier-Geinitz <hmg@gmx.de>
* NEWS: Added date of release.
	* TODO: Removed entries about PATH_MAX, sanei_scsi_find_devices, and
	  shm.h. Added entry about the necessity to check HAVE_SYS_SHM_H.
	* configure configure.in include/sane/config.h.in: Default to
	  --enable-warnings again. Don't set "-ansi" for OS/2. Test for
	  sys/shm.h.
	* backend/GUIDE: Moved to doc/backend-writing.txt.
	* doc/backend-writing.txt: New file (moved from backend/GUIDE).
	  Added comments about sanei-backend.h and PATH_MAX.
	* include/sane/sanei_backend.h: Added define for PATH_MAX (if
	  necessary).
	* sanei/sanei_scsi.c: Implemented sanei_scsi_find_devices for FreeBSD
	  (from ports@FreeBSD.org).
	* tools/Makefile.in: Use INSTALL_SCRIPT instead of INSTALL_PROGRAM for
	  sane-config (from ports@FreeBSD.org).
2000-12-23 16:06:22 +00:00
Henning Geinitz e634e58af2 2000-12-16 Henning Meier-Geinitz <hmg@gmx.de>
* configure configure.in: Disable warnings by default for release.
	* sanei/sanei_wire.c: Fixed typo.
2000-12-16 10:37:28 +00:00
Jochen Eisinger 78daa3c2a6 2000-12-16 Jochen Eisinger <jochen.eisinger@gmx.net>
* sanei/sanei_wire.c: added test for negative parameter to memcpy()
2000-12-15 23:02:12 +00:00
Henning Geinitz de567c6156 2000-11-30 Henning Meier-Geinitz <hmg@gmx.de>
* README.irix: Removed. Problem with libjpeg is solved.
	* TODO: Updated. Removed hpoj addition. Added snapscan link. Added
	  entry about net backend segfaulting if using net:localhost. Removed
	  artec O_SYNC problem. Removed Irix jpeg problem. Removed PTAL
	  addition.
	* doc/saned.man: Added paragraph about xinetd (from Matt Mozur
	  <matt.mozur@sourwood.net>). Removed links to backends, added
	  sane-"backendname" instead.
	* doc/sane-net.man: Added comment about segfaults if scanning
	  on localhost.
	* sanei/sanei_scsi.c: Added missing DBG_INIT (from FreeBSD ports).
2000-11-30 19:50:56 +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 4f0b378b80 2000-11-10 Henning Meier-Geinitz <hmg@gmx.de>
* sanei/sanei_constrain_value.c: If constraint_type is
	  SANE_CONSTRAINT_RANGE and quantization is used, the results may
	  be outside the limits of the range because quantization uses the
	  orginal value. Fixed by doing quantization with the already
	  checked value.
2000-11-10 21:56:46 +00:00
Jochen Eisinger 12c9770d63 2000-10-23 Jochen Eisinger <jochen.eisinger@gmx.net>
* sanei/sanei_init_debug.c include/sane/sanei_debug.h
	  frontend/saned.c: removed vararg macros
2000-10-23 15:00:00 +00:00
Jochen Eisinger 5f80116eb8 2000-10-08 Jochen Eisinger <jochen.eisinger@gmx.net>
* sanei_pa4s2.c: fixed all but one compiler warning
2000-10-08 13:58:42 +00:00
Oliver Rauch bc7b3d76a5 * sanei/sanei_constrain_value.c:
if checked option is a range and the value is out of
          range the value is now corrected to the minimum or maximum
          allowed value and SANE_INFO_INEXACT is set.
          The old version returned with an error. This caused problems
          when the value was a little bit out of range because of rounding
          errors.

Oliver Rauch
2000-10-02 09:56:08 +00:00
Abel Deuring 036be80a02 new attempt to add the errno patch to the Linux command queueing 2000-08-23 15:15:36 +00:00
Henning Geinitz dbd89ad73f 2000-08-19 Henning Meier-Geinitz <hmg@gmx.de>
* TODO: Included TODO file for 1.0.4.
	* sanei/sanei_ab306.c: Removed some comiler warnings.
	* doc/sane.tex: Set \date to the date of the last change (not
	  the date of running latex (\today))
	* frontend/xscanimage.c: Fixed image size overrun (>ca. 400 MB).
	  Removed some compiler warnings.
2000-08-20 14:32:17 +00:00
Abel Deuring 7c273a81e2 fixed wrong #include in sanei/linux_sg3_err.h 2000-08-14 15:55:05 +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
Jochen Eisinger f998c3d931 2002-02-14 Jochen Eisinger <jochen.eisinger@gmx.net>
* sanei/sanei_auth.h: remove strange line-ending handling code
1994-02-15 00:28:57 +00:00
Jochen Eisinger 0c4074a130 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:21 +00:00
Jochen Eisinger f537d9f801 2000-11-20 Jochen Eisinger <jochen.eisinger@gmx.net>
* lib/md5.c include/md5.h: added md5 functions from GNU textutils
	* include/sane/sanei_auth.h sanei/sanei_auth.c: implemented new
	  SANE interface for user authorization using MD5 digest
2000-11-20 18:54:22 +00:00