Wykres commitów

252 Commity (c4c141e84e2d03a905169d5e3e6c7b738b2a3e08)

Autor SHA1 Wiadomość Data
Henning Geinitz 6c3427c52d Changes to support SANE on ZETA. Not all
patches have been applied yet, but it's a start. The backends
	  are not installed as shared libs but as add-ons, which are shared libs
	  but in a specific folder in [/system|~]/config/add-ons/ named SANE/.
	  The install target has been changed to account for this,
	  Some files don't exist in BeOS/ZETA (ipc.h, ...).
	  Bbackend function names get a prefix, I suppose to avoid namespace clashes.
	  Though we do have a libdl to implement dl_open, the native way is prefered.
	  Added a --with-docdir= configure arg.
	  BeOS has a broken get[name|addr]info() from bind. This is fixed in ZETA R1.
	  libtool needs -no-undefined. Various VPATH fixes.
	  Check for <be/drivers/USB_scanner.h>, but not used yet.
	  No S_IFSOCK (sockets are fds to /dev/net/api). Stub pio code, untested.
	  Patch from Francois Revol <revol@free.fr>.
2005-07-15 21:59:25 +00:00
Rene Rebe e5193fdcae Added support to set the USB timeout. 2005-07-15 09:02:02 +00:00
Henning Geinitz 56e3295552 Make sure that getopt is not built on OS/2 (from Franz Bakan <fbakan@gmx.net>). 2005-07-09 13:19:51 +00:00
Gerhard Jaeger 7cc112b202 Added outb_eppdata() functionality (thanks to Anderson Lizardo). 2005-04-25 09:51:32 +00:00
Gerard Klaver ec5677f0b9 - Header information added for changing configuration, interface or altsetting number
sanei_usb_set_configuration
   sanei_usb_claim_interface
   sanei_usb_release_interface
   sanei_usb_set_altinterface
2005-04-15 20:56:42 +00:00
Jochen Eisinger ecdbf48171 2005-04-10 Jochen Eisinger <jochen@penguin-breeder.org>
* backend/mustek_pp.c, backend/mustek_pp.conf, sanei/sanei_pa4s2.c,
	  include/sane/sanei_pa4s2.h, doc/sane-mustek_pp.man: added global
	  option "no_epp" to work around a known bug in the linux parport
	  code.
2005-04-10 11:53:16 +00:00
Gerhard Jaeger d498239305 Initial checkin. 2005-04-01 14:04:19 +00:00
Gerhard Jaeger 0dc8dfdb88 Added sane/sanei_access.h 2005-04-01 14:00:28 +00:00
Gerhard Jaeger 65a32f52e3 ENABLE_LOCKING has been added by automake/autoconf. 2005-04-01 13:53:01 +00:00
Frank Zago ae35d558dc Move __unused__ definition from sane.h to sanei_backend.h. Fixed a typo in sanei_backend.h. 2004-11-13 20:29:14 +00:00
Frank Zago 1abeb942c2 Added compiler attribute __unused__ for unused variables/functions. 2004-11-13 19:04:44 +00:00
Henning Geinitz 008bc74603 Limit the total amount of memory used for arrays and pointers while decoding the
wire to 1 MB (bug #300158). Run "make clean" before "make"!
2004-10-14 17:15:23 +00:00
Henning Geinitz b145a332e7 Removed dangling quotation mark. 2004-10-06 11:09:14 +00:00
Henning Geinitz 53ab3cc90e Added option for turning off the scanner's lamp on exit. 2004-10-03 10:51:40 +00:00
Julien BLACHE 746faf32c9 More auth_callback() fixes, although these ones aren't critical. 2004-09-05 09:27:28 +00:00
Henning Geinitz 4ddcadc20d Regenerated to include updates from niash and resource manager inclusion. 2004-08-03 17:25:58 +00:00
Rene Rebe 472a85788d * include/sane/sane.h: added extern "C" for compilation with a C++
compiler
2004-07-15 08:32:39 +00:00
Mattias Ellert ac9ec0ff1c Missed one... 2004-06-20 01:22:44 +00:00
Matthew Duggan db931572ef 2004-05-05 Matthew Duggan <stauff1@users.sourceforge.net>
* include/sane/saneopts.h: Added SANE_VALUE_SCAN_MODE_* strings.
	* backend/canon_pp.c: Used them.
2004-05-05 00:26:42 +00:00
Jochen Eisinger 40638d29d7 2004-04-06 Jochen Eisinger <jochen@penguin-breeder.org>
* sanei/sanei_pa4s2.c include/sane/sanei_pa4s2.h, backend/mustek_pp.c:
	  fixed compiler warnings
2004-04-06 18:02:57 +00:00
Gerard Klaver 5875781246 added options: WHITE_LEVEL_R, WHITE_LEVEL_G and WHITE_LEVEL_B 2004-01-15 17:19:56 +00:00
Gerhard Jaeger 1bc71ef4dc updated copyright info. 2004-01-13 07:41:06 +00:00
Henning Geinitz 08486e6be4 Added support for Mustek Paragon 600 II EP (SCSI-over-parallel port). This is
based on a patch from James Perry. Support for libiee1284 is missing until
now. Closes bug #300143.
2003-12-25 20:27:49 +00:00
Henning Geinitz a4b0143586 Include stdlib.h for size_t. 2003-12-21 21:42:34 +00:00
Henning Geinitz 66f4a68325 sanei_scsi.c should now compile with the new and old SCSI API of MacOS X. Patch
from Mattias Ellert <mattias.ellert@tsl.uu.se>.
2003-12-06 13:38:47 +00:00
Jochen Eisinger d2b0b094d2 2003-11-23 Jochen Eisinger <jochen@penguin-breeder.org>
* backend/mustek_pp_ccd300.c: forgot parameters to wait_bank_change
	* include/sane/sanei_pa4s2.h: fixed function prototype
2003-11-24 11:25:17 +00:00
Gerhard Jaeger 5ac3ab5f90 Removed OS/2 porting section. 2003-11-02 13:34:18 +00:00
Gerhard Jaeger aad3f45c6f Fixed udelay stuff, documentation update. 2003-11-02 13:33:56 +00:00
Gerhard Jaeger ccb3053773 Added some control-port definitions. 2003-10-30 15:52:04 +00:00
Gerhard Jaeger 7c1b8b259d Added functions sanei_pp_set_datadir() and sanei_pp_uses_directio().
Added some documentation.
2003-10-29 16:52:11 +00:00
Gerhard Jaeger edfe46590a Added sanei_pp_init() and sanei_pp_udelay(). 2003-10-26 10:58:01 +00:00
Gerhard Jaeger e81cfe2818 Added check for limits.h - HAVE_LIMITS_H. 2003-10-26 10:57:16 +00:00
Henning Geinitz b311a68214 Updated doxygen documentation for new sanei_thread interface. 2003-10-24 11:23:34 +00:00
Gerhard Jaeger 1c8a6ee4cd Added sanei_pp_getmode and SANEI_PP_MODE definitions. 2003-10-23 15:11:07 +00:00
Gerhard Jaeger 161a762cb5 Added generic parallel-port function lib. 2003-10-22 19:15:18 +00:00
Gerhard Jaeger 195cacb639 Added checks for iopl. 2003-10-22 07:02:36 +00:00
Gerhard Jaeger 5ceb18a5a6 Added test for setitimer. 2003-10-15 15:40:27 +00:00
Gerhard Jaeger cba31cdf64 Copyright update. 2003-10-13 07:16:54 +00:00
Gerhard Jaeger cd7b8f8cb2 Fixed OS/2 compilation. 2003-10-13 07:16:09 +00:00
Gerhard Jaeger 1f8c02707d Improved OS/2 support. 2003-10-12 15:39:04 +00:00
Gerhard Jaeger 25a38b2739 improved support of pthreads, changed behaviour of sanei_thread_kill(),
added functions sanei_thread_sendsig() and sanei_thread_get_status()
changed behaviour of sanei_thread_waitpid(), changed parameters
of sanei_thread_begin()
2003-10-08 20:31:15 +00:00
Henning Geinitz 3565c78d2f More verbose help messages for --enable-fork-process. Print message about
pthread support after all the tests. If libpthread isn't available, try if libc
supports pthreead_*. Use macro USE_PTHREAD to check if threads are used in the
code.
2003-10-07 11:28:03 +00:00
Gerhard Jaeger 81eaf06a10 * aclocal.m4 acinlcude.m4 configure configure.in: modified checks for
pthread support, added switch --enable-fork-process which toggles
  between the usage of fork and pthread, set the default behaviour to
  pthread usage on Darwin
* include/sane/config.h: added the HAVE_LIBPTHRAD stuff
* sanei/sanei_thread.c include/sane/sanei_thread.h: fixed compilation issue
  on OS/2, added support for fork too, so that we can use sanei_thread
  functions in any case.
* backend/plustek.[ch]: changes due to the sanei_thread-lib work
2003-10-07 07:38:37 +00:00
Gerhard Jaeger 39044887ca * aclocal.m4 configure configure.in: added checks for pthread.h and
added linker option -lpthread if pthread.h is found
* include/sane/config.in.h: added HAVE_PTHREAD_H
* sanei/sanei_thread.c include/sane/sanei_thread.h: added pthread_
  functions to library, so every backend is able to use either fork or
  pthread for its reader-process - see plustek backend for example
* backend/plustek.h backend/plustek.c: added sanei_thread stuff to support
  threading on MacOS X
* backend/plustek_pp*: some cleanup
2003-10-05 16:00:30 +00:00
Henning Geinitz 345401d726 Fixed some missing or duplicated spaces in option descriptions. 2003-10-05 11:43:20 +00:00
Henning Geinitz 6cc4885daa Minor fixes for sanei documentation. 2003-09-30 14:14:14 +00:00
Henning Geinitz fe31e3389c Updated links. 2003-09-24 15:57:14 +00:00
Frank Zago 3bda0d541d Port to Cygwin. 2003-09-24 03:41:48 +00:00
Stéphane Voltz 929c5c9e75 * backend/sane-umax_pp.c: fix default port address handling
(patch from Malcolm Parsons <malcolm.parsons@virgin.net>)
  	* configure.in configure include/sane/config.h.in: added detection of
	  machine/cpufunc.h and i386_set_ioperm() for FreeBSD support.
2003-09-18 05:17:23 +00:00
Henning Geinitz 0e70e29baf Moved union Option_Value from backend header files to sanei_backend.h. No need
to copy it over and over again. Changed header inclusion order in backend
files to include backend.h after sanei_backend.h. Based on a patch from stef
<stef-listes@wanadoo.fr>.
2003-09-12 16:10:33 +00:00
Henning Geinitz a4e842d946 Minor cleanup from the jpeg move. Reverted frontend link order. 2003-07-26 21:40:06 +00:00
Henning Geinitz cdb69dccc4 Changed license to GPL + SANE exception. 2003-07-26 11:10:08 +00:00
Henning Geinitz fc0613967a Changed license to GPL + SANE exception. 2003-07-26 09:05:34 +00:00
Peter Fales 89687a4cbd Move the files sanei_cderror.h sanei_jinclude.h sanei_jpeg.h
from backend to include/sane
2003-07-26 03:03:39 +00:00
Henning Geinitz f4d2c02556 Changed license to GPL + SANE exception. 2003-07-25 08:29:35 +00:00
Henning Geinitz a737d690d6 Changed license to GPL + SANE exception. 2003-07-23 14:51:27 +00:00
Jochen Eisinger 5acbad270b 2003-06-05 Jochen Eisinger <jochen.eisinger@gmx.de>
* include/sane/sanei_pa4s2.h, sanei/sanei_pa4s2.c: New sanei_pa4s2
	  version supporting both raw IO and libieee1284. If you don't
	  have libieee1284 installed, you need to enable raw IO when
	  running configure
2003-06-06 09:52:04 +00:00
Henning Geinitz 64ea3dfc5f Check if ss_family or __ss_family is in struct sockaddr_storage. Otherwise
diasbale ipv6. Patch from Julien BLACHE <jb@jblache.org>.
2003-06-04 19:49:48 +00:00
Henning Geinitz b68941ebfe Added missing HAVE_LIBIEEE1284 macro. The test was there, but the macro wasn't set. 2003-05-08 09:58:14 +00:00
Henning Geinitz 28b2844c90 Set fixed alignment because otherwise the MacOS X gcc doesn't like it. 2003-05-03 20:39:43 +00:00
Henning Geinitz 6a09636407 Check for __attribute__ explicitely. 2003-05-03 11:31:22 +00:00
Henning Geinitz 12a842efaa Remove test for MacOS X. That one breaks some MacOS X systems. 2003-05-02 09:42:23 +00:00
Henning Geinitz e93322e28d Test for poll() and disable IPV6 if not found. 2003-05-02 09:41:12 +00:00
Henning Geinitz 855494ee69 Don't use builtin alloca on MacOS X. 2003-04-30 23:08:45 +00:00
Henning Geinitz bddde95e05 Added test for IOKit. 2003-04-30 23:03:27 +00:00
Stéphane Voltz 2208647618 * added detection of dev/ppbus/ppi.h include (*BSD) 2003-04-18 20:10:56 +00:00
Henning Geinitz 58bec0901d Don't use __attribute__ for compilers that don't support it. 2003-04-15 14:51:34 +00:00
Henning Geinitz d8de913161 Declare md5_buffer. 2003-04-02 22:13:20 +00:00
Henning Geinitz 9d038e133e Update to glibc 2.3.1 version. The code is now LGPLed. Changed the K&R style
and added prototypes to avoid warnings.
2003-04-02 21:41:37 +00:00
Henning Geinitz 0b946a428c Update to glibc 2.3.1 version. This fixes a compilation warning. Further more,
the code is now LGPLed.
2003-04-02 21:16:19 +00:00
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 088281c4e1 Added support for IPv6. Updated manpages. Patch from Julien BLACHE
<jb@jblache.org>.
2003-03-30 19:07:18 +00:00
Rene Rebe a6858b5057 Support for interrupt endpoint reads:
/** Initiate a interrupt transfer read.
 *
 * Read up to size bytes from the interrupt endpoint from the device to
 * buffer. After the read, size contains the number of bytes actually read.
 *
 * @param dn device number
 * @param buffer buffer to store read data in
 * @param size size of the data
 *
 * @return
 * - SANE_STATUS_GOOD - on succes
 * - SANE_STATUS_EOF - if zero bytes have been read
 * - SANE_STATUS_IO_ERROR - if an error occured during the read
 * - SANE_STATUS_INVAL - on every other error
 *
 */
2003-03-24 01:36:27 +00:00
Henning Geinitz df7d2cda19 Added function sanei_check_value in addition to the existing
sanei_constrain_value.  It checks if the value of a sane option fits into the
constraint but doesn't try to do any fixing/rounding.
2003-03-04 22:37:39 +00:00
Henning Geinitz e0f00cd762 Fixed link to USB spec. 2003-02-16 19:06:57 +00:00
Henning Geinitz b8010a3fec Declare prototypes for all functions that may miss on some platforms. 2003-01-24 14:06:08 +00:00
Henning Geinitz cb2e483d60 Disable the new Linux SG interface for sparc64 to work-around 32 bit userland
/ 64 bit kernel problems.
2003-01-17 12:21:16 +00:00
Henning Geinitz 414e0c509f Cleanup. Added some missing quotes. Better structure and comments. Tried to
keep similar tests in one group.  Moved more complicated tests to
acinclude.m4. Added explicit test for build and host system type. When
checking for programs, used $EXEEXT (hopefully fixes OS/2 gettext
misdetection). Removed obsolete macros. Removed PTAL check. Used autoconf for
asm/io.h check.  Shortened --enable-foo output and formatted it
correctly. Translations were installed even if --disable-translations was
set. Don't test for msgcat anymore. Tell why translations aren't
installed. Used autoconf 2.5 syntax for AC_OUTPUT and AC_CONFIG_FILES. Make
sane-config executable. Print flags and installation directories near the end
of configure output.
2002-12-04 17:48:10 +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 c3e38d99c2 Fix compilation on Tru64 by readding the sys/bitypes.h work-around. Minimum
autoconf version is 2.50 now
2002-11-13 16:52:46 +00:00
Henning Geinitz 278709d3d4 Made buffer const SANE_Byte * in sanei_usb_bulk_write(). Try to call
usb_find_busses only once. Make sure that already opened devices aren't opened
again. Exit libusb scan loop if one device is found. Make error values more
expressive. Check for missing config descriptors before using them to avoid
segfaults.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-07-14 16:31:14 +00:00
Henning Geinitz e78debcf10 Added define for strcasecmp on OS/2.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-07-06 21:50:41 +00:00
Henning Geinitz 9e4ad2dcc9 Used dn (device number) instead of fd (file descriptor) to avoid
confusion. Updated doxygen documentation.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-07-03 19:48:45 +00:00
Henning Geinitz e3476bd389 Added support for libusb.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-07-03 14:07:44 +00:00
Henning Geinitz e102b51932 Added HAVE_LIBUSB #define. Added OS/2 substitution for strncasecmp.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-07-03 09:00:47 +00:00
Frank Zago 7dac97a025 Regenerated. 2002-05-29 05:35:32 +00:00
Petter Reinholdtsen 0357ed4224 Make it possible to install when building in a subdirectory. 2002-05-21 22:03:41 +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 cd71f39763 Added/adjusted documentation for doxygen.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-11 19:46:31 +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
Oliver Rauch f4eca594c1 2002-03-27 Oliver Rauch <Oliver.Rauch@rauch-domain.de>
removed unused definitions in include/sane/saneopts.h:
   SMEAR, TEN_BIT_MODE, TWELVE_BIT_MODE, RGB_PREVIEW_PATCH,
   START_SCAN_PATCH

Added note about the file saneopts.h:

/* This file defines several option NAMEs, TITLEs and DESCs
   that are (or should be) used by several backends.

   All well known options should be listed here. But this does
   not mean that all options that are listed here are well known options.
   To find out if an option is a well known option and how well known
   options have to be defined please take a look at the sane standard!!!
 */
2002-03-27 00:00:49 +00:00
Gerhard Jaeger 378195fd16 Updated to new mail-address and backend url 2002-03-26 08:35:59 +00:00
Abel Deuring 4f70616c01 configure.in, configure, include/sanei/config.h.in
sanei/sanei_scsi.c: Added HAVE_SG_TARGET_STATUS for compatibility
with old Linux sg.h versions

Abel
2002-03-10 14:34:11 +00:00
Henning Geinitz f08ef2a20f Fix comment for HAVE_USB_H.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-03-07 22:24:28 +00:00
Henning Geinitz b6b3496b00 Added wrapper for inet_pton(). If this function is not available, try first
inet_aton() and then inet_addr().
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-02-14 19:34:52 +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 5a1ea1bcd2 Only define union semun if not already defined in <sys/sem.h>. Fixes
compilation bugs on Irix and FreeBSD.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-27 18:24:47 +00:00
Henning Geinitz 55a4f33c83 Added sanei_lm983x.h to DISTFILES.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-10 21:39:07 +00:00
Henning Geinitz b124d9710f Added targed "dist". Moved include targets from
root dir to this file. Added standard variables and .PHONY.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-08 18:58:16 +00:00
Henning Geinitz 5658f5e775 Added check for inet_ntop().
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-06 22:21:17 +00:00
Henning Geinitz c6cac9b284 Added support for the PowerVision 8630 chip, a USB to parallel
converter used in many scanners (patch from from Marcio Luis Teixeira
<marciot@holly.colostate.edu>). Fixed sanei_thread Makefile.in entry.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-03 19:27:35 +00:00
Henning Geinitz 2e46b369c7 Check for sys/sem.h and disable snapscan if it isn't available.
Removed "//" (C++-style comment) from config.h.in.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-06-09 10:38:44 +00:00
Petter Reinholdtsen b75d33b3fc Fix configure/compile problem on Alpha/Tru64 Unix. 2001-06-09 00:31:37 +00:00
Henning Geinitz 7716aa8409 Use local assert.h file to fix problems with AIX and shared libraries.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-06-04 20:19:32 +00:00
Henning Geinitz 3d4920dde4 Check for struct flock and define it if necessary.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-31 20:49:01 +00:00
Henning Geinitz 801c00dddb Fixed u_int* bug for Tru64 by including sys/bitypes.h.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-26 09:33:25 +00:00
Henning Geinitz 5f2c1996f4 Used a more suitable comment.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-17 21:43:36 +00:00
Henning Geinitz 3360e9158e Detect presence of libusb and enable sm3600 backend.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-16 19:04:15 +00:00
Henning Geinitz c763da3d3e Test for linux/ppdev.h (for umax_pp backend). 2001-05-03 19:36:38 +00:00
Henning Geinitz bc8787e5c2 Forgot to commit include/sane/config.h.in. 2001-05-01 21:12:06 +00:00
Petter Reinholdtsen 165e106361 Make sure net backend release all memory when finished. 2001-04-29 11:11:07 +00:00
Henning Geinitz 852de5287f 2001-04-27 Henning Meier-Geinitz <henning@meier-geinitz.de>
* backend/agfafogus.c: Moved PATH_MAX after sanei_backend.h include
	  to avoid warning. Changed printf to DBG.
	* backend/mustek.c backend/mustek.CHANGES backend/mustek.desc: Added
	  support for translating options. Used only PACKAGE_VERSION for
	  output. Updated email address. New version: 1.0-107.
	* include/sane/sanei_backend.h include/sane/saneopts.h: Added macro
	  SANE_I18N. It's used to mark strings that can be translated and
	  used by a frontend. Usually these are option titles and descriptions
	  as well as the contents of string lists. Used this macro to mark
	  the translatable strings in saneopts.h. More translation support
	  will follow.
2001-04-27 19:28:56 +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 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
Petter Reinholdtsen 49c8146117 Add missing prototype for sanei_w_ptr() and sanei_w_bool(). 2001-01-14 23:51:45 +00:00
Petter Reinholdtsen 20406f0769 Move definition of HAVE_DEV_URANDOM and SCSIBUFFERSIZE from
CFLAGS to config.h.
2001-01-14 23:45:32 +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 a56266ab4f 2000-11-25 Henning Meier-Geinitz <hmg@gmx.de>
* configure configure.in acinclude.m4 aclocal.m4
	  include/sane/config.h.in: Added test for PTAL library and headers
	  (patch from David Paschal <paschal@rcsis.co>). Some reformating of
	  the output of configure --help.

	* backend/GUIDE: Updated entry about #include.
2000-11-25 17:51:20 +00:00
Oliver Rauch 8fec6d669d 2000-11-22 Oliver Rauch <Oliver.Rauch@Wolfsburg.DE>
* removed gimp and gtk parts from include/sane/config.h.in

        * removed gtk test from aclocal.m4
2000-11-23 21:40:20 +00:00
Jochen Eisinger f0d5bc32ea 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:21 +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 760423d864 Merged main branch with current DEVEL_1_9. 2000-03-05 13:57:25 +00:00
Petter Reinholdtsen 514da4e0d4 Wiped old repository. Imported v1.0.1. 1999-08-09 18:06:01 +00:00
Petter Reinholdtsen 30ab5e718a Initial revision 1999-08-09 18:06:01 +00:00
Henning Geinitz 6f13df5932 Added, fixed and updated documentation for sanei using doxygen.
Henning Meier-Geinitz <henning@meier-geinitz.de>
1994-02-15 21:37:33 +00:00
Henning Geinitz 8ecebeefc5 Removed load_values and save_values as they are only used in sane_frontends.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-02-14 19:44:37 +00:00
Henning Geinitz 2d49a4d101 Added warnings for format problems in DBG messages (from Frank Zago
<fzago@greshamstorage.com>).
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-02-14 19:39:56 +00:00
Henning Geinitz 30ef15bd17 Removed */.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-20 20:08:31 +00:00
Henning Geinitz a6a3f73cc1 Made documentation doxygen-compatible. Move comments from sanei_config.c to
sanei_config.h.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-19 22:32:05 +00:00
Henning Geinitz b80199f1be Really commit the doxygen changes for sanei_usb.h.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-19 18:53:36 +00:00
Gerhard Jaeger 2a44ef67ea Updated files mainly because of the translation stuff and
doxygen conform comments.
2002-01-17 19:48:38 +00:00
Gerhard Jaeger 5708a98422 Updated sanei_lm983x.[ch]... 2002-01-12 14:00:56 +00:00
Gerhard Jaeger c6e1e08612 Added header for LM983x library 2002-01-10 19:36:58 +00:00
Henning Geinitz a119460706 Added support for USB control messages (patch from Marcio Luis
Teixeira <marciot@holly.colostate.edu>).
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-03 19:18:29 +00:00
Henning Geinitz a0906efc0b Moved the function to check the "usb VENDOR PRODUCT" config
lines to sanei_usb to avoid linking problems.
 Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-09-05 19:48:32 +00:00
Henning Geinitz c5322195ab Added support for searching USB devices ("usb vendor product").
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-08-11 13:17:59 +00:00
Henning Geinitz cebca83dfe Added sane USB interface.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-08-11 13:12:35 +00:00
Henning Geinitz d7f854a373 Updated sanei_thread functions (from Yuri Dario) and made clear that
they shouldn't be used directly.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-08-11 09:46:55 +00:00
Henning Geinitz 51a8d7994e 2001-04-27 Henning Meier-Geinitz <henning@meier-geinitz.de>
* backend/agfafogus.c: Moved PATH_MAX after sanei_backend.h include
	  to avoid warning. Changed printf to DBG.
	* backend/mustek.c backend/mustek.CHANGES backend/mustek.desc: Added
	  support for translating options. Used only PACKAGE_VERSION for
	  output. Updated email address. New version: 1.0-107.
	* include/sane/sanei_backend.h include/sane/saneopts.h: Added macro
	  SANE_I18N. It's used to mark strings that can be translated and
	  used by a frontend. Usually these are option titles and descriptions
	  as well as the contents of string lists. Used this macro to mark
	  the translatable strings in saneopts.h. More translation support
	  will follow.
2001-04-27 19:28:52 +00:00
Petter Reinholdtsen 703c9c00c2 Include <fcntl.h> before testing for O_NONBLOCK and <limits.h> before
testing for PATH_MAX to increase the chances of getting the real value.
2001-02-22 09:41:47 +00:00
Henning Geinitz ab2ffde5f3 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:19 +00:00
Jochen Eisinger 511b861143 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:23 +00:00
Petter Reinholdtsen 163ac8344f Merge devel (v1.0.3) into head branch. 2000-08-12 15:10:59 +00:00
Petter Reinholdtsen 0093fc7e20 Merged main branch with current DEVEL_1_9. 2000-03-05 13:57:01 +00:00
Petter Reinholdtsen 538c9058e8 Initial revision 1999-08-09 18:05:44 +00:00
Jochen Eisinger 4468f02ff9 2000-11-08 Jochen Eisinger <jochen.eisinger@gmx.net>
* include/sane/sanei_debug.h: fixed typo
1994-11-08 07:32:54 +00:00
Jochen Eisinger b1e5ed14f9 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 14:59:58 +00:00
Jochen Eisinger c6694e75ba 2000-10-15 Jochen Eisinger <jochen.eisinger@gmx.net>
* include/sane/sanei_debug.h: sanei_debug_init was only declared
	  if VARARG macros are supported. Fixed this.
2000-10-15 14:54:53 +00:00
Petter Reinholdtsen 5420a147d5 Merge devel (v1.0.3) into head branch. 2000-08-12 15:11:00 +00:00