From d43718de9e3933fe789b3d985ccde749cb2a3426 Mon Sep 17 00:00:00 2001 From: Henning Geinitz Date: Tue, 3 Oct 2000 16:24:28 +0000 Subject: [PATCH] 2000-10-03 Henning Meier-Geinitz * 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.CHANGES | 39 +++++++++++++++++++++++++++++++++++++++ backend/mustek.desc | 5 +---- backend/mustek.h | 2 -- 3 files changed, 40 insertions(+), 6 deletions(-) diff --git a/backend/mustek.CHANGES b/backend/mustek.CHANGES index a2995fe84..e88610528 100644 --- a/backend/mustek.CHANGES +++ b/backend/mustek.CHANGES @@ -1,5 +1,44 @@ CHANGES for the SANE Mustek backend +2000-10-03 + * Fixed segmentation fault in sane_init (else statement was missing). + Thanks to Oliver Rauch who spotted this problem. + * Re-enabled double buffering. + +2000-10-02 + * Zero out inquiry memory block before reading inquiry. + +2000-10-01 + * Fixed fix_line_distance_block. + * Adjusted Paragon 12000 SP to use block LD correction if necessary. + * removed LD MFS (wasn't used anyway) + +2000-09-30 + * Set blockbuffer size to 2 MB for Paragon series II scanners. + * Fix sane_cancel for Paragon series II scanners + * Fix speed and grain for Paragon series II scanners + * Backtracking is used for all scanners (removed option) + * included stop_scan into do_stop + * better integration of the wait_ready functions + * check that size of buffer <= size of block buffer + +2000-09-24 + * Added more debug output in sane_get_option_descriptor. + * Added more debug output in sane_control_option. + * Added check for devicename and handle != 0 in sane_open + * Added check for handle != 0 in sane_get_option_descriptor + * Added check for handle != 0 in sane_get_parameters + * Added check for handle and val != 0 in sane_control_option + * Added check for handle != 0 in sane_start + * Added check for handle, buf and len != 0 in sane_read + * Added check for handle != 0 in sane_cancel + * Added check for handle != 0 in sane_set_io_mode + * Added check for handle != 0 in sane_get_select_fd + * Output option title in sane_get_option_descriptor if name is null + +2000-09-24 + * Released backend version 1.0-97. + 2000-09-24 * Added RGB brightness and contrast for 3pass scanners * Brightness and contrast is +-100% for 3pass scanners now diff --git a/backend/mustek.desc b/backend/mustek.desc index e8146069f..05fdf4102 100644 --- a/backend/mustek.desc +++ b/backend/mustek.desc @@ -9,7 +9,7 @@ ; :backend "mustek" ; name of backend -:version "1.0-97" ; version of backend +:version "1.0-98" ; version of backend :status :beta ; :alpha, :beta, :stable, :new :manpage "sane-mustek" ; name of manpage (if it exists) :url "http://hmg.home.pages.de/sane/" @@ -70,13 +70,10 @@ :url "http://www.trust-site.com" :model "Imagery 1200 SP" :interface "SCSI" -:comment "Please test!" :model "Imagery 4800 SP" :interface "SCSI" -:comment "Please test!" :model "SCSI Connect 19200" :interface "SCSI" -:comment "Please test!" ; :comment and :url specifiers are optional after :mfg, :model, :desc, ; and at the top-level. diff --git a/backend/mustek.h b/backend/mustek.h index 05239883d..60c96950a 100644 --- a/backend/mustek.h +++ b/backend/mustek.h @@ -62,7 +62,6 @@ #define MUSTEK_FLAG_ADF_READY (1 << 7) /* paper present */ #define MUSTEK_FLAG_TA (1 << 8) /* transparency adapter */ /* line-distance correction */ -#define MUSTEK_FLAG_LD_MFS (1 << 9) /* MFS line-distance corr */ #define MUSTEK_FLAG_LD_NONE (1 << 10) /* no line-distance corr */ #define MUSTEK_FLAG_LD_BLOCK (1 << 11) /* blockwise LD corr */ #define MUSTEK_FLAG_LD_N1 (1 << 12) /* LD corr for N-type v1 */ @@ -95,7 +94,6 @@ enum Mustek_Option OPT_RESOLUTION, OPT_SPEED, OPT_SOURCE, - OPT_BACKTRACK, OPT_PREVIEW, OPT_GRAY_PREVIEW,