Wykres commitów

272 Commity (801c00dddbf167bb4d14801fd4aca11e79f2dfe2)

Autor SHA1 Wiadomość Data
Henning Geinitz 1adff27a7a 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:35 +00:00
Gerhard Jaeger 42ecc143ec Updated info about supported scanners. 2000-09-19 11:04:33 +00:00
Petter Reinholdtsen a21b6eafcd Remove some compiler warnings. 2000-09-19 03:48:08 +00:00
Petter Reinholdtsen 7f1f08b1cc Remove X11 dependency. 2000-09-18 09:49:29 +00:00
Gerhard Jaeger 9dc0d4cb9f Added some code to allow performance measurements. 2000-09-15 07:55:29 +00:00
Peter Kirchgessner 07f924d4cd Special handling of cancel for OfficeJet K series 2000-09-10 16:33:06 +00:00
Peter Kirchgessner e907811055 hp-backend V 0.91, 04-Sep-2000, David Paschal (paschal@rcsis.com):
- Added support for flatbed HP OfficeJets
      - (PK) fix problem with cancel preview

   hp-backend V 0.91, V 0.90, 02-Sep-2000, PK:
      - fix timing problem between killing child and writing to pipe
      - change fprintf(stderr,...) to DBG
      - change include <sane..> to "sane.." in hp.h
      - change handling of options that have global effects.
        i.e. if option scanmode is received (has global effect),
        all options that "may change" are send to the scanner again.
        This fixes a problem that --resolution specified infront of
        --mode on command line of scanimage was ignored.
        NOTE: This change does not allow to specify --depth 12 infront of
        --mode color, because --depth is only enabled with --mode color.
      - add depth greater 8 bits for mode grayscale
      - add option for 8 bit output but 10/12 bit scanning
2000-09-09 17:44:14 +00:00
Gerhard Jaeger e56def0c53 Removed dependency for use with SANE versions < 1.0.3 2000-08-24 06:42:49 +00:00
Gerhard Jaeger b590e946be Updated plustek backend and manpage
New: multiple device support
     12bit color depth support (with scanimage)
Update: scanner information and manpage
2000-08-24 06:38:30 +00:00
Jochen Eisinger b3b5d235a9 2000-08-15 Jochen Eisinger
* ChangeLog backend/mustek_pp.c: fixed bug in config_ccd_1013 that
	prevented ASIC 1013 scanners from working
2000-08-15 10:01:46 +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
Kevin Charter 8d4ba18e40 Utility functions separated from snapscan.c for version 1.0 1999-09-16 02:33:03 +00:00
Kevin Charter cf90633b56 SnapScan scanner data sources for version 1.0 (implementation) 1999-09-16 01:52:00 +00:00
Kevin Charter d0dd2385c1 SnapScan scanner data sources for version 1.0 (interface) 1999-09-16 01:51:24 +00:00
Kevin Charter bbbc1777f6 SCSI commands for the SnapScan backend (split off from snapscan.c). 1999-09-15 04:27:08 +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 e0e06582eb 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:13 +00:00
Henning Geinitz d43718de9e 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:28 +00:00
Henning Geinitz 8835903b21 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:35 +00:00
Petter Reinholdtsen 350362a71f Merge devel (v1.0.3) into head branch. 2000-08-12 15:09:23 +00:00
Henning Geinitz 3ac3b795a0 Update to Mustek Backend 1.0-79. Details can be found
in ChangeLog an backend/mustek.CHANGES.
2000-04-09 00:04:40 +00:00
Henning Geinitz c6b9ab7bfd Update to Mustek backend 0.78. Fixed MFS-12000CX high resolution scanning.
Several other minor fixes. Inquiry is even more verbose now. Look at ChageLog
and backend/mustek.CHANGES for details.
2000-04-02 16:12:14 +00:00
Henning Geinitz b0db3644aa Update to Mustek backend 0.76 (look at ChangeLog and mustek.CHANGES for more details)
Man page and mustek.desc now list all the known scanner names
Added maintainer infos to AUTHORS and mustek.c; web page link to mustek.desc and man page
2000-03-19 16:28:19 +00:00
Petter Reinholdtsen c1d18c4e09 Initial revision 1999-08-09 18:05:59 +00:00
Peter Fales f1c1ec265a Update URLs in dc25.desc 1994-10-30 00:43:15 +00:00
Petter Reinholdtsen 10a7ce96d4 Merge devel (v1.0.3) into head branch. 2000-08-12 15:09:10 +00:00
Petter Reinholdtsen c79ba756fc Merged main branch with current DEVEL_1_9. 2000-03-05 13:54:57 +00:00
Petter Reinholdtsen aec42f0bf7 Initial revision 1999-08-09 18:05:56 +00:00
Oliver Rauch c65af4cea3 Oliver Rauch <Oliver.Rauch@XSane.org>
set correct backend version number in umax.desc
1994-10-29 23:35:33 +00:00
Oliver Rauch 67f6c45165 2001-10-13 Oliver Rauch <Oliver.Rauch@rauch-domain.de>
* backend/umax.c, bachend/umax-scanner.c, backend/umax.desc,
          doc/umax/sane-umax-config-doc.html, doc/umax/umax.CHANGES,
          doc/sane-umax.man:
          update to sane-umax-1.0 build 30:
          - added EDGE KTX-9600US as supported scanner
          - Changing scansource does not change lower left selection
            edge if not necessary
2001-10-12 23:07:51 +00:00
Oliver Rauch 6b7bbdbbd0 2001-08-26 Oliver Rauch <Oliver.Rauch@rauch-domain.de>
* backend/umax.c backend/umax.desc doc/umax/umax.CHANGES:
          umax scsi backend update to version 1.0 build 29
2001-08-26 09:02:41 +00:00
Oliver Rauch b6db37ba72 2001-06-24 Oliver Rauch <Oliver.Rauch@rauch-domain.de>
* backend/umax*: bugfixes:
          * bugfix for DOR:
            - bottom-right edge keeps in position if possible when DOR is switched on

          * bugfix for Astra 610S color mode:
            - scale_y is set to 0.5 if y_resolutions is smaller than optical_res/2
              this does fix the color scan problems for Astra 610S.
              Not tested for Astra 600S.
2001-06-24 01:02:27 +00:00
Oliver Rauch d7f2ba8a00 2001-06-17 Oliver Rauch <Oliver.Rauch@rauch-domain.de>
* Changelog: added snapshot marker 2001-06-17

        * backend/umax*: bugfixes:
         - removed "#include <assert.h>" from umax.c: assert() is never called
         - bugfix for 3 pass scanning:
           reposition_scanner is called in sane_start for 2nd and 3rd pass of 3 pass scan
         - bugfix for UTA and DOR geometry offsets
2001-06-17 22:49:16 +00:00
Oliver Rauch a7e58fc77c *** empty log message *** 2001-06-04 13:26:07 +00:00
Oliver Rauch 93a9abea7a Oliver.Rauch@Rauch-Domain.de:
corrected umax version number in umax.desc
2001-06-02 14:59:58 +00:00
Oliver Rauch f9c4feeaef * updated umax backend to version 1.0 build 26
Oliver Rauch <Oliver.Rauch@rauch-domain.de>
2001-05-17 21:17:39 +00:00
Oliver Rauch 1083c62661 umax backend update to version 1.0 build 25
Oliver Rauch
2001-03-04 22:05:33 +00:00
Oliver Rauch a1a2641352 *** empty log message *** 2000-12-12 19:08:17 +00:00
Oliver Rauch 399a150ce1 Oliver Rauch:
updated umax.desc
2000-12-04 21:22:23 +00:00
Oliver Rauch d8e70f19c0 Updated umax backend to version 1.0.3-build-24
Oliver Rauch
2000-10-02 10:17:46 +00:00
Petter Reinholdtsen 5837e2dbfb Merge devel (v1.0.3) into head branch. 2000-08-12 15:09:48 +00:00
Petter Reinholdtsen db1050cdb3 Merged main branch with current DEVEL_1_9. 2000-03-05 13:55:29 +00:00
Petter Reinholdtsen fcbcea7633 Initial revision 1999-08-09 18:05:56 +00:00
Henning Geinitz e1c099525d Added missing scanner descriptions (from karsten.festag@t-online.de (Karsten Festag)).
Henning Meier-Geinitz <henning@meier-geinitz.de>
1994-10-29 21:18:10 +00:00
Peter Fales 69e3ef41b3 Another small API fix 1994-10-29 06:03:05 +00:00
Peter Fales 078c0dba59 Change gphoto2 backend to match latest CVS chanages from gphoto2 libraries 1994-10-29 05:52:22 +00:00
Peter Fales dab1963d4f Minor cosmetic changes and changes to match gphoto2 API 2001-10-16 00:26:58 +00:00
Peter Fales 01cca8ef39 Minor bug fixes and cosmetic cleanup 2001-09-30 03:12:22 +00:00
Peter Fales 222a47fa6c Cleanup and changes to support gphoto2 API changes 2001-09-25 00:33:07 +00:00
Peter Fales d4e68a7a4c Minor syntax changes 2001-09-25 00:31:06 +00:00
Peter Fales ac0a181239 Converted to use actual camera API 2001-09-18 04:26:13 +00:00
Peter Fales 48e40937e3 Use gphoto2 headers and library functions for list management 2001-09-13 00:34:57 +00:00
Peter Fales 4174ca9ded Various minor fixes 2001-09-10 23:11:17 +00:00
Peter Fales 08ae4502e3 Initial version for gphoto2 backend 2001-09-07 02:41:49 +00:00
Peter Fales 663f405c1b Initial version of gphoto2 backend 2001-09-07 02:40:21 +00:00
Karl Heinz Kremer b09e023e9b Fixed bug in recognition of faulty Perfection 1650 firmware version. 1994-10-29 01:16:04 +00:00
Karl Heinz Kremer 2184c24468 Fix for older Perfection 1650 scanners - their firmware only reports half
of the vertical scanning area and they need to swap two color channels.
2001-10-20 18:43:34 +00:00
Karl Heinz Kremer 78f17f9b4b Karl Heinz Kremer <khk@khk.net>
backend/epson.desc: Added GT-9500 (same scanner as Expression 636)
backend/epson.c: Finally updated version #
2001-06-14 02:10:02 +00:00
Karl Heinz Kremer 6a36948b32 Karl Heinz Kremer <khk@khk.net>:
backend/epson.c: Changed debug level for for an informational
message in the sense_handler from 0 to 2.
2001-06-09 15:13:06 +00:00
Karl Heinz Kremer 733aa23402 Karl Heinz Kremer <khk@khk.net>
backend/epson.c: Allow more than 8 bit color depth for
  preview mode since Xsane can handle this. Some code cleanup.
  Removed ancient code that was used to determine the resolution
  back when the backend still had a slider for the resolution
  selection.
backend/epson.desc: Updated version number, added new scanners.
2001-05-25 14:37:24 +00:00
Karl Heinz Kremer e9663b6770 Karl Heinz Kremer <khk@khk.net>
Added sense handler to support the GT-8000 scanner.
Also added experimental (and #ifdef protected) USB scanner probing
code - requires patch to USB scanner driver.
2001-05-22 23:52:49 +00:00
Karl Heinz Kremer 9008bf4643 Karl Heinz Kremer <khk@khk.net>
backend/epson.c: fixed dates in change log entries and finally fixed the
TPU bug with older scanners
2001-05-19 15:13:15 +00:00
Karl Heinz Kremer b612995f96 Karl Heinz Kremer <khk@khk.net>:
backend/epson.c:
 - Removed check for '\n' before end of line
 - Free memory malloced in sane_get_devices() in sane_exit() again
 - Check first if the scanner does support the set film type and set
   focus position before the GUI elements are displayed.
 - This caused problems with older (B4 level) scanners when a TPU
   was connected.
2001-05-13 21:18:46 +00:00
Karl Heinz Kremer 5c9b31b16f Next attempt to get the reported number of lines correct for the
"color shuffling" part.
Added more comments.
2001-04-01 02:28:55 +00:00
Karl Heinz Kremer 618124e839 Version 0.2.01
Added bit-depth selection again.
Fixed problem with bilevel scanning with Perfection610: The
line count has to be an even number with this scanner.
Several initialization fixes regarding bit depth selection.
This version goes back into the CVS repository, the 1.0.4
release is out and therefore the code freeze is over.
Some general cleanup, added more comments
2000-12-25 22:33:03 +00:00
Karl Heinz Kremer 05b5e29c7f Fixed user defined gamma curve for inverted images. When scanning
negatives the gamma curve was applied incorrectly. Fixed debug output
for user defined gamma curves - no [epson] in between values anymore.
2000-12-09 20:18:37 +00:00
Karl Heinz Kremer 8ae8ba2e64 Version 0.1.38:
Removed changes regarding 12/14 bit support because of SANE
  feature freeze for 1.0.4.
  The following fixes are in the software compared to the version
  prior to the feature freeze:
  - refresh UI after a change in the scan mode setting (was not updated
    when going from Binary to Gray or vice versa)
  - Read values for "line distance" from the scanner instead of using
    hardcoded values. This makes sure the backend always uses the correct
    values regardless of firmware version.
  - Fixed an "off-by-one" error in the color reordering routine that
    caused weird artifacts in some instances.
2000-12-03 21:59:14 +00:00
Karl Heinz Kremer 29a18dce83 Fixed off-by-one error in color re-ordering 2000-12-03 16:31:46 +00:00
Karl Heinz Kremer 251c293494 Missed one change... 2000-12-03 00:48:25 +00:00
Karl Heinz Kremer dfda263600 Read information about optical resolution and line distance from scanner
instead of hardcoded values.
Add support for color depth > 8 bits per channel.
Backend version is now 0.36
2000-12-03 00:26:06 +00:00
Karl Heinz Kremer 3d95ed45b5 Display "Set Focus" control only for scanners that
can actually handle the command.
2000-11-23 18:46:16 +00:00
Karl Heinz Kremer 2447e93bf8 Removed a debug statement from production code 2000-11-19 22:28:05 +00:00
Karl Heinz Kremer 439e781922 Added support for "set focus position" command. This command is
necessary to scan via the TPU with the Expression1600.
2000-11-19 22:24:11 +00:00
Petter Reinholdtsen 175e7d6f02 Merge devel (v1.0.3) into head branch. 2000-08-12 15:09:11 +00:00
Petter Reinholdtsen 6b369334df Merged main branch with current DEVEL_1_9. 2000-03-05 13:54:59 +00:00
Petter Reinholdtsen 1577f7e6af Initial revision 1999-08-09 18:05:48 +00:00
Henning Geinitz c84c0af20a Increased version number to 0.95. Updated man page. Patch from
karsten.festag@t-online.de (Karsten Festag).
Henning Meier-Geinitz <henning@meier-geinitz.de>
1994-10-28 17:43:02 +00:00
Henning Geinitz 292890bd05 Updated microtek2 backend to build
20011023 (from karsten.festag@t-online.de (Karsten Festag)).
Bugfix for scsi_read_image_status - supports now the old and the
new method. Improved backend-calibration supports brightness and
contrast settings and color balancing. Enable 12 bit per color
scanning with Scanmaker 9600XL (and other types that use the segreg
pixel transfer format and support 12 bit, untested). 10 bit does not
work yet. Make C6 USB work.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-10-24 20:35:18 +00:00
Henning Geinitz 7c642ae706 Updated Microtek2 backend to version 0.9 build 20010828 (from
Karsten Festag <karsten.festag@t-online.de>).
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-10-05 19:15:55 +00:00
Henning Geinitz f6c81bd30c Updated to version 0.9 (from Karsten Festag
<karsten.festag@t-online.de>).
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-26 13:18:45 +00:00
Henning Geinitz cd4f9c6912 2001-04-17 Henning Meier-Geinitz <hmg@gmx.de>
* backend/dc210.desc backend/dc240.desc backend/microtek2.desc:
	  Update contact information for backends. dc240 status is :NEW.
	* TODO: added entries about as6e status shouldn't be :new, and
	  installing all documentation files.
2001-04-17 19:45:27 +00:00
Petter Reinholdtsen 25fd7585d0 Merge devel (v1.0.3) into head branch. 2000-08-12 15:09:21 +00:00
Petter Reinholdtsen ab44d84541 Merged main branch with current DEVEL_1_9. 2000-03-05 13:55:11 +00:00
Petter Reinholdtsen 64a6bf656c Initial revision 1999-08-09 18:05:55 +00:00
Peter Fales f888898b5e Fix #error messages for non-gcc compilers 1994-10-12 01:14:49 +00:00
Peter Fales ef645deaf1 Update authors email address 2002-09-22 13:49:47 +00:00
Henning Geinitz 0808eb645d 2001-04-07 Henning Meier-Geinitz <hmg@gmx.de>
* backend/sc240.c backend/dc240.h backend/dc240.conf
	  backend/dc240.desc backend/dll.conf doc/sane-dc240.man:
	  Added dc240 backend for the Kodak DC240 Digital camera (from
	  Peter Fales <peter@fales.com>).
	* doc/Makefile.in: Added sane-dc240 in section 5.
	* backend/Makefile.in: Added dc240.
	* configure configure.in: If the jpeg libs are not available,
	  dc240 is also disabled.
	* AUTHORS: Added entry for dc240 and updated email address of
	  Peter Fales.
	* NEWS: First version of the news entry for 1.0.5.
	* PROJECTS: Removed dc240. Added Microrec ScanMaker 3600.
	* README: Added dc240.
	* TODO: Removed dc240. Added entry about keep-alive mechanism in saned.
	* sane-backends.lsm: Added dc240.
	* testsuite/.cvsignore: New file. Added entry for Makefile.
2001-04-07 18:58:44 +00:00
Henning Geinitz e408f0f925 Fixed shutting off the lamp for the Paragon 1200 A3 Pro. 1994-10-11 08:15:27 +00:00
Henning Geinitz 2615f5e011 Fixed version number. 2002-09-17 20:58:13 +00:00
Henning Geinitz 6a3aff6ea2 Fixed some warnings. 2002-07-30 18:59:57 +00:00
Henning Geinitz f9d8636dd4 Increased width and height of Paragon 800 and 600. 2002-07-07 14:50:52 +00:00
Henning Geinitz e2760e9252 Fixed problem for Paragon 6000SP (color and gray modes produced solid black
images). Minor cleanups.  New version: 1.0-125.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-06-07 16:07:16 +00:00
Henning Geinitz ddd3d7cb70 Set X minimum value to 0 for Paragon 6000SP.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-05-28 18:59:43 +00:00
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