Source code was inconsistent on how they were referencing
include files in include/sane. In certain cases, sane/sane.h
and sane/saneopts.h was really including external copies (with
some preprocessor implementations anyways).
Global replace of u_int??_t with C9x standard based uintxx_t
in order to remove some tricky and overlapping portability logic
from acinclude.m4 and leave it in only m4/stdint.m4.
add cv_ prefix to cached variable. Remove AC_ARG_PROGRAM as
automake already invokes this. When prefered AC_USE_SYSTEM_EXTENSIONS
exists, use that instead of AC_GNU_SOURCE/AC_AIX/AC_MINUX.
Cleanup socket detection more by creating only a single
SOCKET_LIBS that contains list of all optional libraries
for any socket related funciton. Make sure that checks
for socket related functions use SOCKET_LIBS when searching.
Check for getopt_long() and getopt.h. Make OS/2 use
-no-undefined (same as windows).
* ltmain.sh, m4/libtool.m4: Upgrade to libtool 1.5.26.
* Makefile.am: Cleanups to match configure updates.
* frontend/scanimage.c, include/Makefile.in, lib/getopt.c
lib/getopt1.c, toosl/sane-desc.c, include/lgetopt.h:
Rename internal getopt.h to lgetopt.h to allow using
external getopt.h when it exists. This allows to go
back to optionally compiling getopt()/getopt_long() and its
prototypes and not have conflicts with external headers/symbols.
own *_LIB variables instead of $LIB so that we do not have to
link in the world to all executables. Modified SANE_CHECK_U_TYPES
to be a little more portable to platforms that use #define
for u_* types. Create SANE_CHECK_BACKENDS macro so that
PRELOADABLE_BACKENDS can also be valided. Auto-populated
PRELAODABLE_BACKENDS when detect dlopen() won't work.
Various protability cleanups.
* backend/dll.c: Make dll-preload.c a .h since its an include and
not compilable byitself.
* frontend/Makefile.in, frontend/scanimage.c, include/laaloca.h,
lib/Makefile.am, lib/alloca.c, strcasestr.c, tools/Makefile.in,
tools/sane-desc.c: Convert lib/ to automake. Create a liblib.la
for everyone to use and a libfelib.la for only frontend programs.
Make all internal programs be prefixed with sanei_ as not to conflict
with other programs libsane is linked in with that will also most
likely create similar internal utils on problem platforms.
* include/getopt.h, lib/getopt.c, lib/getopt1.c: Always compile
and link in getopt_long() but prefix it with sanei_. Its
easier to always use internal version then try to figure out what
platforms support getopt_long() and what header files to use.
* backend/Makefile.am: Convert backend makefile to automake.
Initial version that is feature parity with original but uses
specific rules instead of wildcards and only links in libraries/objs
really required. Room for more cleanup of whats linked in once
all makefiles have been converted to automake.
- round pixels_per_line down to arbitrary limits for fi-4990 & fi-4860
- fi-4860 returns random garbage to serial number queries
- initialize *info to 0 in sane_control_option()
* doc/descriptions/fujitsu.desc: backend v85, improve status/comments
* frontend/scanimage.c: initialize *info, fix buffer overwalk
fujitsu.[ch]: update to backend v1.0.52:
- remove unused jpeg function
- reactivate look-up-table based brightness and contrast options
- change range of hardware brightness/contrast to match LUT versions
- call send_lut() from sane_control_option instead of sane_start
-patch for bugreport 300160, ranges for width and height are wrong
-added option -B -buffersize so instead of default input buffer of
32*1024 a buffer of 1024*1024 can be chosen, so for vidcams for example
640x480, usb 2.0, 30fps less time is needed to fill input buffer.
* frontend/scanimage.c, frontend/stiff.h, frontend/stiff.c:
Added option "-i filename"/"--icc-profile filename":
When image is saved in tiff format then this icc-profile is
added to the tiff file as tiff tag
and to free alloced memory. A bit of reformating. Used
#include "../include/sane/...". Fixed some warnings.
Henning Meier-Geinitz <henning@meier-geinitz.de>
* PROJECTS TODO: Added entry about E3 USB chipset.
* backend/dll.c backend/dll.desc: New version is 1.0.5. Version and
PACKAGE_VERSION is printed with debug level set to 1 or higher.
The version numbers of all backends that are loaded are printed
at debug level 3 or higher. Print error if backend with wrong
major version number is loaded. Some standardization changes
concerning the DBG messages.
* backend/net.c backend/net.desc: New version is 1.0.5. Version and
PACKAGE_VERSION is printed with debug level set to 1 or higher.
Some standardization changes concerning the DBG messages.
* backend/pnm.c: Return SANE_INFO_RELOAD_PARAMS even if the pnm
file doesn't exist or can't be loaded (from mh <crapsite@gmx.net>).
* doc/backend-writing.txt: Added AUTHORS to the list of things that
should be updated when including a new backend. Added points about
avoiding printf and exit in backends.
* doc/releases.txt: New file. This text summarizes some points to
pay attention to when a new release of sane-backends is made.
Additions and corrections are appreciated.
* doc/scanimage.man: Add some more information about the -V option.
* frontend/scanimage.c: The option -V now also prints the version of
the backend (ususally dll).
* 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.
* tools/find-scanner.c: Removed. Now called sane-find-scanner.
* tools/sane-find-scanner: New file (was find-scanner).
* tools/.cvsignore tools/Makefile.in tools/README: Updated because
of name change. sane-find-scanner is installed now.
* README README.linux: Updated because of sane-find-scanner.
* frontend/scanimage.man: Updated because of sane-find-scanner.
* doc/sane-find-scanner.man: New file.
* doc/.cvsignore doc/Makefile.in: Added sane-find-scanner(1).
* TODO: Updated concerning sane-find-scanner. Added entry about
qcam /tmp file handling. Some spelling corrections.
* doc/scanimage.man doc/saned.man: updated description of password
file
* sanei/sanei_auth.c frontend/saned.c frontend/scanimage.c: replaced
index() by strchr(). Changed style of password file
* backend/net.c: the net backend now prepends net:host: to the
resource before calling the auth_callback function
* 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
* tools/find-scanner.c: Explicitly state that find-scanner won't
find non-SCSI scanners.
* doc/scanimage.man: Add examples for SANE device names.
* frontend/scanimage.c: Output message when no devices are found.
Add example for devicename to --help message. Print warning
when a Unix devicename is used instead of a SANE device. Removed
compiler warning.
* TODO: Removed entries about the fgets and include issues in
umax. Removed entries about scanimage device name
documentation. Added a point about xscanimage problems with the
new GIMP API.
* backend/mustek.* doc/sane-mustek.man: Update to Mustek backend
1.0-98. Fixed segmentation fault in sane_init. Enabled double
buffering. Clear inquiry buffer before using. Paragon 1200 SP now
uses LD_BLOCK color correction. Removed LD MFS (wasn't used
anymore). Fix sane_cancel for Paragon series II scanners. Fix
halftone and grain for Paragon series II scanners. Backtracking is
used automaticly by all scanners now. Some safety checks, code
cleanup and more debug output. Details are in
backend/mustek.CHANGES.
* backend/mustek.*: Update to Mustek backend 1.0-97. This is a
development version and is only tested for three-pass scanners.
Added support for Paragon 1200 SP Pro and ScanExpress A3 SP.
Removed detection of " C04" and " C12" (don't seem to exist).
Changed SCSI request scheme. Sane_read can read more than 4096
bytes from pipe. Minimum dpi is 30 now. Fixed LD correction for
Paragon 1200SP 1.06 and 1.11. Read SCSI buffer into big block and
do LD after that for Paragon one-pass scanners. New option
"blocksize" in mustek.conf. Better detection of the scanner type
(three-pass, Paragon I, ...). Fixed possible segmentation faults
in Paragon 600 II N LD code, scsi_sense_wait_ready and
sense_handler. Decreased maximum scan size of Paragon 800 II
SP. For three-pass scanners: fixed stop_scan and speed code, scan
area is in pixels now, added RGB brightness and contrast, use
+-100% for brightness and contrast. Return SANE_STATUS_CANCELLED
when scan was cancelled. Option "force backtracking" is enabled by
default, "scan speed" is set to "fastest". Added option
"force-warn" for mustek.conf. Rewrote halftone mode. Better error
handling and more debug output.
* TODO: Clarified point about image data polarity. Moved point about
xscanimage not updating the progress bar for 3pass scanners to
frontend section. Removed umax entry in "frontends". Removed entry
about alpha channel (was added to LEVEL2 file).
* LEVEL2: Add point about image data polarity.
* frontend/scanimage.c: Removed some warnings.