Wykres commitów

227 Commity (ec5eef8f35faa552237692d5c01ec431456e4de8)

Autor SHA1 Wiadomość Data
Henning Geinitz 93601f1683 Check return value of waitpid. Don't evaluate status of children if waitpid
wasn't successful.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-05-05 20:41:51 +00:00
Henning Geinitz 31cfd02f87 Print usefull DBG messages for options without a name. Undef MIN and MAX
macros before defining them.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-24 17:43:29 +00:00
Henning Geinitz 75a53e20b8 Set freed variables to 0 in sane_exit. Fixed coding style. New version:
1.0-121.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-10 20:59:30 +00:00
Henning Geinitz 4958dd297b Fixed color three-pass scanning for some scanners.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-06 20:39:01 +00:00
Henning Geinitz 797a910e48 Fixed halftone pattern handling. The buffer was way too small. Option 0 has
an empty name. Better debug output for dev_cmd. Set size for group options to
0. Set size of halftone pattern to non 0.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-03-20 21:27:21 +00:00
Henning Geinitz 8a3967bb03 Fixed some DBG format warnings.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-02-14 19:50:07 +00:00
Henning Geinitz 300f9c8f91 Fixed undefined operation warnings.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-23 20:37:46 +00:00
Henning Geinitz 934bd8acf5 Fixed calibration bug for the 1200 Pro. New version: 1.0-118.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-20 14:43:18 +00:00
Henning Geinitz 839f6fe72c Fixed some option name issues.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-19 19:12:21 +00:00
Henning Geinitz e40e0436c6 Updated broken URLs for which I could find new ones. Commented out
all the others.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-16 21:05:05 +00:00
Henning Geinitz ccb0327250 Small fix for Paragon 1200 Pro. Added some test code for this
scanner. Added Trust Imagery 1200 to man page and .desc. New
version: 1.0-117.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-07 22:40:00 +00:00
Henning Geinitz 7e9a33a179 Fixed a possible segfault in sane_control_option. Added more
debug output for SCSI commands. New version: 1.0-116.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-12-15 12:08:44 +00:00
Henning Geinitz f58e13c5fb Added check for TL_X > BR_X or TL_Y > BR_Y. New version: 1.0-115.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-11-29 19:30:22 +00:00
Henning Geinitz b74a1933c1 Added OS/2 compatibility fixes (from "Franz Bakan" <fbakan@gmx.net>).
New version: 1.0-114.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-11-22 20:24:39 +00:00
Henning Geinitz da76df8e25 Fixed problem with gamma correction. New version: 1.0-113.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-09-10 18:08:46 +00:00
Henning Geinitz ad03d73cd4 Update to backend version 1.0-112. Some minor fixes for returning
the scan slider and OS/2.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-08-26 10:56:38 +00:00
Henning Geinitz d23c7b2a9e Call stop_scan only when scan was cancelled. Some more debug
messages. New version: 1.0-111.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-07-18 18:12:47 +00:00
Henning Geinitz 6b51ef9908 Fixed bug in fix_line_distance_block that resulted in too much data transfered
to the frontend. New version: 1.0-110.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-07-11 21:41:25 +00:00
Henning Geinitz b1365ef2de Fixed problem with SCSI command queuing. Fixed problem that
resulted in black images on some Paragon 6000SP scanners. Added
option to disable backtracking. New version: 1.0-109.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-07-09 18:18:56 +00:00
Henning Geinitz 0e7b9ed8dc Added option for disabling double-buffering. Updated man page. New version:
1.0-108.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-07-07 15:16:06 +00:00
Henning Geinitz 2cc5b5d2db Added some debug messages.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-06-03 14:59:45 +00:00
Henning Geinitz b187c65629 Updated some comments.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-31 21:12:28 +00:00
Henning Geinitz 6ee85d58ac Free devlist in sane_exit. 2001-05-06 19:12:53 +00:00
Henning Geinitz 5176df83b0 Fixed several memory leaks 2001-04-29 18:25:32 +00:00
Henning Geinitz bea0aa137e 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:55 +00:00
Henning Geinitz f62b2b3165 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:04 +00:00
Henning Geinitz 475344b26a 2001-03-31 Henning Meier-Geinitz <hmg@gmx.de>
* backend/mustek.c backend/mustek.desc backend/mustek.h
	  backend/mustek.CHANGES: Fixed grascale gamma for the 600 II N.
	  Fixed ADF problems when selecting windows smaller than the
	  whole scan area. Fixed linedistcnace corrections issues concerning
	  ADF and concerning 1200SP V 1.00. New version: 1.0-105.
2001-03-31 20:02:42 +00:00
Henning Geinitz 229c5f7dbe 2001-01-17 Henning Meier-Geinitz <hmg@gmx.de>
* backend/mustek.c backend/mustek.desc backend/mustek.h
	  backend/mustek.CHANGES doc/sane-mustek.man:
	  Added 36 bit mode for Pro models. Removed support for "special"
	  modes, used options instead. Code cleanup. Updated manpage
	  concerning sane-find-scanner. New version: 1.0-104.
	* configure: regenerated from configure.in.
2001-01-17 19:05:40 +00:00
Henning Geinitz e0f9d69e93 2000-12-31 Henning Meier-Geinitz <hmg@gmx.de>
* backend/mustek.CHANGES backend/mustek.c backend/mustek.desc
	  backend/mustek.h doc/sane-mustek.man:  Added calibration for Pro
	  scanners and the SE 12000 SP Plus. Added option to use the full
	  legal size of the Paragon 1200 LS scanner. Added fast preview for
	  Pro scanners. Bug fixes. New version: 1.0-103.
2000-12-31 00:13:58 +00:00
Henning Geinitz 9a8f3afb0c 2000-12-10 Henning Meier-Geinitz <hmg@gmx.de>
* backend/mustek.c backend/mustek.desc backend/mustek.CHANGES:
	  Fixed wrong comment in encode_resolution. Added missing test for
	  return status in sane_start.  Fixed wrong calculation of tlx and
	  tly for Pro series scanners. Increased version number.
2000-12-10 11:19:56 +00:00
Henning Geinitz c2493d5852 2000-12-05 Henning Meier-Geinitz <hmg@gmx.de>
* NEWS: Updated backend versions. Added point about compilation fixes
	  on Irix and FreeBSD.
	* backend/mustek.c backend/mustek.desc backend/mustek.CHANGES:
	  Fixed problem with lamp control of SE scanners and reduced
	  length of scan area for Paragon 1200 SP PRO. Removed warning for
	  this scanner. Increased version number.
2000-12-05 22:27:33 +00:00
Henning Geinitz 0a7af395b9 2000-11-26 Henning Meier-Geinitz <hmg@gmx.de>
* AUTHORS: Added Karsten Festag as maintainer of microtek2.
	* backend/mustek.* doc/sane-mustek.man: Update to Mustek backend
	  1.0-100. Added option fast-preview that tries to use the fastest
	  mode available for preview. This is supported for the 3-pass
	  scanners (was option "preview in gray") and some of the
	  ScanExpress scanners (6000 SP, 12000 SP Plus). Use #include
	  "../include/sane/...". Put option force-wait into mustek.conf
	  (disabled). Removed block mode for Paragon 6000 SP and 8000 SP.
	  Code cleanup. More debug output. Details in backend/mustek.CHANGES.
	* doc/.cvsignore: Added sane-as6e.5 and sane-nec.5.
2000-11-26 22:58:13 +00:00
Henning Geinitz 83463800b6 2000-11-08 Henning Meier-Geinitz <hmg@gmx.de>
* TODO: Updated. Added entries for viceo backend and addition to hp
	  backend. Updated entries about the include issue. Added point about
	  additional options for pnm backend, install problem of libsane.la,
	  and some build problems and the --without-x problem. Some more
	  details for detecting older SANE versions.

	* LEVEL2: Added entry about sending messages from backend to frontend.
	  Removed entry about image polarity.

	* backend/mustek.c backend/mustek.h backend/mustek.CHANGES
	  backend/mustek.desc: Update to Mustek backend 1.0-99. Better
	  transparency adapter support for ScanExpress scanners. Changed
	  color support for ScanExpress scanners (faster at some resolutions
	  now). Paragon 1200 SP color mode should work now without garbage at
	  the end of an image. Some bugfixes. Details in
	  backend/mustek.CHANGES.
1994-11-08 19:37:12 +00:00
Henning Geinitz 035aa330e2 2000-10-03 Henning Meier-Geinitz <hmg@gmx.de>
* 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.
2000-10-03 16:24:27 +00:00
Henning Geinitz 4bc2858526 2000-09-24 Henning Meier-Geinitz <hmg@gmx.de>
* 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.
2000-09-24 19:38:34 +00:00
Petter Reinholdtsen de0650e363 Merge devel (v1.0.3) into head branch. 2000-08-12 15:09:22 +00:00
Petter Reinholdtsen 206bc199c6 Initial revision 1999-08-09 18:05:58 +00:00
Matthew Duggan 549bca197a * backend/canon_pp-dev.c backend/canon_pp-dev.h:
Changes to improve calibration quality on FB620P.
1994-09-07 03:10:24 +00:00
Matthew Duggan 8519f13eb4 Added support for FB620P to canon_pp backend. 2002-09-01 08:57:29 +00:00
Matthew Duggan e4414bbd32 * backend/canon_pp.c backend/canon_pp-dev.c backend/caon_pp-io.c
backend/canon_pp-dev.h: Many changes: Bug fixes, less memory leaks                                       (none left now?), more relaible, faster.  Biggest changes are                                            speculative reads (ask scanner to read more while data processing
occurs) and more reliable sending of commands.  Slight performance
increase over previous version.
* doc/sane-canon_pp.man: Added discussion noting that scanning
greyscale in green is bad for colour.
2002-08-07 07:56:09 +00:00
Matthew Duggan 7e08793645 * backend/canon_pp-dev.c: Misc bug fixes for fast machines, more
useful debug messages, more reliable file reads/writes.
2002-08-01 07:36:09 +00:00
Henning Geinitz c664285078 Changed timeouts and added scanner sleeps to improve reliability of 6x0P
models.  Also corrected typo which caused full bed scans to fail.  Disabled
problematic detect for now, will make detection slightly slower. Patch from
Matthew Duggan <stauff1@users.sourceforge.net>.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-07 11:20:46 +00:00
Henning Geinitz 21c146f14b Added new canon_pp backend for the CanoScan FB330P, FB630P, N340P, and N640P
scanners. Patch from "Matthew Duggan" <stauff@guarana.org>.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-01 22:54:24 +00:00
Stéphane Voltz 61b8100c90 * DBG() macro clean-up
* fixed color transfer for 1600P models
        * fixed potential crash if dump file couldn't be opened for writing
        * added ppdev device name handling
        * added model override
1994-02-15 08:43:42 +00:00
Stéphane Voltz f02205558f - tuned down pauses in scanner (EPAT in fact) ringing
- include header files accordingly to config.h
	- 'indent' all files to get them all right
2002-02-05 07:14:53 +00:00
Stéphane Voltz 4548a075aa - added udelay() in epat wake up function to get some 2000P correctly
detected on fast hardware.
2002-01-24 05:56:13 +00:00
Stéphane Voltz e118d4e33b - added sanei_umax_pp_setauto
- added sanei_umax_pp_getauto
	- corrected mode setting before claiming parport
2002-01-06 16:23:02 +00:00
Stéphane Voltz d7aefb2efe - added sanei_umax_pp_setauto
- added sanei_umax_pp_getauto
	- better color calibration
2002-01-06 16:22:07 +00:00
Stéphane Voltz acfec05565 - added sanei_umax_pp_setauto
- added sanei_umax_pp_getauto
2002-01-06 16:21:14 +00:00
Stéphane Voltz c22a71f12c - added sanei_umax_pp_setauto
- added sanei_umax_pp_getauto
	- improved warming up
	- improved color calibration
2002-01-06 16:20:45 +00:00
Abel Deuring c9cb6e30fb Replaced the configure option --enable-diretio with --enable-scsi-directio
and --enable-parport-directio.

NOTE: While I know, what the SCSI direct IO means, I have no idea, what
direct IO means in the context of the parport, so somebody needs to add
some useful description about parport direct io to configure.in and to
README (or README.linux)
2001-12-28 13:26:10 +00:00
Stéphane Voltz c75d696770 - corrected a color calibration bug which prevented correct use
of manual settings. Scans are also of much better quality now.
2001-11-23 13:37:26 +00:00
Stéphane Voltz be12d73aa3 - fixed umax_pp build problem on non i386 arch when no sys/io.h
present.
2001-11-22 05:09:07 +00:00
Stéphane Voltz 60502fe47b - removed buggy extra ifdef, this should fix PPC compil problem 2001-11-12 05:52:00 +00:00
Stéphane Voltz ab7dfb5804 * use ENABLE_DIRECTIO to compile in direct I/O. Corrected the long
standing scan area origin detection bug. Improved parport mode
	  negociation.
2001-11-10 16:43:15 +00:00
Stéphane Voltz 33ab575684 * fix a compile problem when no 'ppdev device' is available. 2001-09-18 04:57:51 +00:00
Stéphane Voltz a7a2ab7f11 * added handling of ppdev for kernels prior to 2.4.5 2001-09-16 05:55:35 +00:00
Stéphane Voltz a167ab7164 * made CmdSetDataBuffer static 2001-09-06 04:27:25 +00:00
Stéphane Voltz b45760ec45 * switched to use of ppdev device when available. Scans as normal
user are possible.
2001-09-03 12:43:26 +00:00
Stéphane Voltz ce357e613a * ended probe code cleaning 2001-08-19 04:58:33 +00:00
Stéphane Voltz d266220666 * added detection of EPP mode failure, and added a message to read
the doc forthis case.
	* one more step in cleaning scanner probing: InitBuffer001 and 002
		gone away.
2001-08-01 06:27:14 +00:00
Stéphane Voltz d78110e38d * started code rewrite/cleanup of probe sequence
* fixed 'greenish' looking scans
2001-07-24 04:42:48 +00:00
Stéphane Voltz 73c7e19d2d * fixed 'highlight' option parsing 2001-07-24 04:41:18 +00:00
Stéphane Voltz 3553dfc927 * backend/umax_pp_low.c backend/umax_pp_low.h backend/umax_pp_mid.c:
make use of PPGETMODES only when available in ppdev.h. Corrected OS/2
	  typo in Outb() and rename sanei_umax_pp_Lamp() to
	  sanei_umax_pp_SetLamp().
2001-06-11 04:46:51 +00:00
Stéphane Voltz e0fa6483c5 * use PPGETMODES ioctl to get ppdev available modes 2001-06-07 04:39:06 +00:00
Stéphane Voltz 6ae6c96191 * backend/umax_pp_low.c: OS/2 compile fixes (again). Backend
successfully built on Warp with EMX 0.9d.
2001-06-06 16:13:29 +00:00
Stéphane Voltz f75abf6660 * OS/2 compile fixes (use EMX direct I/O primitives) 2001-06-06 04:41:54 +00:00
Stéphane Voltz e2ff628346 2001-06-03 Stéphane Voltz <svoltz@wanadoo.fr>
* backend/umax_pp_low.c: Fixed compile problem on archs that
	  have inb/outb and not insb/outsb. Cleaned up and simplified probing
	  code.
2001-06-03 05:48:05 +00:00
Henning Geinitz 56a651ff89 Fixed the FreeBSD problems by checking /dev/io before accessing
io ports (patch from Stéphane Voltz <svoltz@wanadoo.fr>).
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-06-01 16:57:25 +00:00
Henning Geinitz 7f5bead68b Fixed bus error with FreeBSD.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-28 18:57:14 +00:00
Stéphane Voltz c31543e6d5 * backend/umax_pp_low.c: commented out a useless command sequence.
Added 55 AA pattern escaping in data block sending.
2001-05-23 06:18:54 +00:00
Stéphane Voltz fdaea39018 * backend/umax_pp.c: changed option names to use lower case characters
and dashes instead of spaces.
2001-05-23 06:18:20 +00:00
Stéphane Voltz feffdc6b5d * added a function to parse /proc if exist, in order to get
base addr of /dev/parport devices

	* added pauses during 610P probe sequence
2001-05-16 04:54:40 +00:00
Stéphane Voltz e12c396ba5 * fixed memory leak in sane-exit() 2001-05-16 04:52:43 +00:00
Henning Geinitz 13c50862ed Added umax_pp backend (patch from Stéphane Voltz
<svoltz@wanadoo.fr>).
2001-05-03 19:34:02 +00:00
Stéphane Voltz 7d7a3ae2ea * port defaults to direct hardware access, but comment added for
ppdev configuration
	* no model by default, rely on autodetection
1994-02-15 08:41:47 +00:00
Henning Geinitz 5dd254bb7b Added umax_pp backend (patch from Stéphane Voltz
<svoltz@wanadoo.fr>).
2001-05-03 19:34:00 +00:00