Wykres commitów

15 Commity (ac5f65e7b104d2b0e48a2fa574ece557f8b9bf74)

Autor SHA1 Wiadomość Data
Chris Bagwell 3e1d15d2c4 Only redefine O_NONBLOCK when a valid alias exists
On mingw, O_NONBLOCK is not defined.  Since we were always
redefining to an invalid FNDELAY, the compile failure message
would mislead you during debugging.  Its better for compile
failure to point to real issue; which is missing O_NONBLOCK.
2011-11-06 11:28:18 -06:00
Alessandro Zummo b39c12dd7b Define MM_PER_INCH once for all 2009-06-18 15:54:49 +02:00
Chris Bagwell b52b0c0c14 * backend/epson2.c backend/pixma_bjnp.c, include/sane/sanei_backend.h,
sanei/sanei_tcp.c, sanie/sanei_udp.c: Improve portablity by
  removing usage of MSG_WAITALL since not all platforms support
  that (cygwin).  Default is to be blocking anyways.  Changed
  usage of MSG_NOTWAIT to use fcntl() function as needed as well.
  * configure.in, lib/Makefile.in, lib/strcasestr.c: Add internal
  strcasestr() for platforms missing it (cygwin).
  * pixma_common.c: My source match header prototype for picky
  compilers (cygwin).
  * backend/umax_pp_mid.c: Allow BACKEND_NAME to be filename
  yet debug to be SANE_DEBUG_UMAX_PP to match man page.
2009-01-29 15:10:19 +00:00
Henning Geinitz 64e53087da Fixed some bugs in doxygen documentation. Added some comments. 2005-10-03 18:18:02 +00:00
Frank Zago ab5d790e26 Replaced __unused__ with __sane_unused__ to avoid a namespace conflict. 2005-09-19 19:57:48 +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
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
Petter Reinholdtsen 514da4e0d4 Wiped old repository. Imported v1.0.1. 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 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
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