Wykres commitów

106 Commity (467b8ed07afd7007a399f00c0ed877d3636795eb)

Autor SHA1 Wiadomość Data
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