Wykres commitów

58 Commity (a7d3fa19e8de377354ea3ed987fea02253b04086)

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