Wykres commitów

115 Commity (f607f729219926f2781b5ca09fd01b5b6006fc54)

Autor SHA1 Wiadomość Data
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 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 e93322e28d Test for poll() and disable IPV6 if not found. 2003-05-02 09:41:12 +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 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