Wykres commitów

181 Commity (c6784d2f1db40a65721766b6fc6442a93bc6eab8)

Autor SHA1 Wiadomość Data
m. allan noah 5ce0013b63 Corrected fujitsu backend v99 patch
- sense_handler(): collect rs_info for any ILI, not just EOM
- do_usb_cmd(): use rs_info whenever set, not just EOF
- read_from_*(): better handling of EOF from lower level functions
- sane_read(): improve duplexing logic
2010-05-17 10:23:19 -04:00
m. allan noah 425b847a7b * fujitsu backend v99
- add read_from_PNMduplex() to better handle alternating duplex logic
- call read_from_* even if front eof has been received
2010-05-05 22:16:07 -04:00
m. allan noah c3542bde5d force enable flatbed for M3092, by Jochen Hepp 2010-02-22 23:11:11 -05:00
m. allan noah 12eff8286d disable bg_color for S1500 2010-02-12 20:32:24 -05:00
m. allan noah ff048f4176 add three new SANE_VALUE macros and use mode name macros from saneopts.h 2010-02-10 23:48:21 -05:00
m. allan noah cc1776b571 don't fail if sanei_scsi_open gives smaller buffer than asked for
minor doc updates
2010-02-10 22:38:37 -05:00
m. allan noah e4e9eedc7f enable translations of all static strings via SANE_I18N macro 2010-02-10 22:07:49 -05:00
m. allan noah bb861109c9 cleanup manuals, .desc files, copyrights and #includes 2010-02-09 22:44:08 -05:00
m. allan noah fcc43f328c cleaned #include lines and copyrights. added new models. 2010-02-09 22:02:08 -05:00
m. allan noah 3ebe2b6cd0 cleanup #include lines 2010-02-09 21:20:15 -05:00
m. allan noah 4c4ecb3bab Fujitsu backend v97 image processing functions
use sanei_magic to provide software deskew, autocrop and despeckle
2009-09-14 13:13:31 -04:00
m. allan noah cefcfcc32e Add credits text 2009-08-17 09:49:22 -04:00
m. allan noah 504547028b Fujitsu backend v96, support hardware automatic length detection
- split sane_get_parameters into two functions
- remove unused code from get_pixelsize
- support hardware based auto length detection
- various status and comment updates
2009-08-07 16:49:58 -04:00
m. allan noah 4aaf5a1dcf fujitsu backend v95, minor bugfix
scanner_control_ric should return a subset of the possible errors
2009-06-02 21:06:23 -04:00
m. allan noah 9940f5c1f2 minor corrections
canon_dr: use correct title and description for resolution option
fujitsu: bump build number for previous commit
cardscan: correct usb pid
2009-05-25 22:37:15 -04:00
m. allan noah f56fc87ff9 fujitsu backend v94, mostly changes to use less memory
- add side option to show which duplex image is being transferred
- convert front and simplex buffers to use much less ram
- add lowmemory option which makes duplex back buffer small too
- refactor image handling code to track eof's instead of lengths
- do color deinterlacing after reading from scanner, before buffering
2009-05-25 22:04:57 -04:00
chris@cnpbagwell.com 4d9e8138af standardize including local sane/ include files.
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).
2009-05-07 22:06:20 -05:00
m. allan noah daa15a1cb1 * backend/fujitsu.c: copy_buffer() needs to count lines, or M309[12]
cannot scan in duplex
2009-05-01 15:04:25 +00:00
m. allan noah dc74e3fa25 * backend/fujitsu.c: ignore errors in scanner_control(),
M3091 has not worked since sane 1.0.19, due to this.
2009-04-30 18:25:38 +00:00
m. allan noah aafe1ac093 * backend/fujitsu.c, backend/fujitsu.conf.in,
doc/descriptions/fujitsu.desc: add S1500 usb ids and status
* backend/canon_dr.c: update credits
* doc/sane-fujitsu.man doc/sane-canon_dr.man: update version numbers,
  dates, credits and known issues
* doc/saned.man: remove section about uncontrolled data port range
2009-04-21 01:18:04 +00:00
m. allan noah 3654ff9d43 * backend/fujitsu.c, doc/descriptions/fujitsu.desc: backend v93
- return cmd status for reads of sensor options
* backend/canon_dr.c, doc/descriptions/canon_dr.desc: backend v26
- return cmd status for reads of sensor options
- allow rs to adjust read length for all bad status responses
2009-04-15 13:13:35 +00:00
m. allan noah 0342a63033 Updates to prepare for 1.0.20 release:
* configure.in: change version to 1.0.20cvs
* configure: rebuild from configure.in
* include/sane/sane.h: hide API changes (minor, frame and status)
* backend/canon_dr.c, backend/fujitsu.c: SANE_FRAME_JPEG
* backend/coolscan3.c: SANE_FRAME_RGBI
* backend/genesys_gl646.c, backend/genesys_gl841.c: STATUS_HW_LOCKED
* backend/rts8891.c, frontend/scanimage.c: STATUS_WARMING_UP
* backend/pixma_io_sanei.c, backend/xerox_mfp.c,
  backend/sane_strstatus.c: STATUS_HW_LOCKED & STATUS_WARMING_UP
* doc/releases.txt: minor updates for new build system
2009-04-12 19:40:31 +00:00
m. allan noah d4db7b091e * backend/fujitsu.[ch]: backend v91
- remove unused temp file code
2009-03-20 23:17:35 +00:00
m. allan noah f9e541f02a * backend/fujitsu.c, backend/fujitsu.conf.in,
doc/descriptions/fujitsu.desc, doc/sane-fujitsu.man: backend v90,
add S510M usb ID's, add fi-6010N to .desc
* backend/epjitsu.conf.in, doc/descriptions/epjitsu.desc,
doc/sane-epjitsu.man: add S300M usb ID's
2009-02-23 16:46:26 +00:00
m. allan noah 8f82d9f60b * backend/avision.c: backend v290, fix reader_pid and NVRAM option
issues, by Mattias Ellert.
* backend/fujitsu.c: backend v89, fi-4750 has no serial number support
* doc/descriptions/fujitsu.desc: backend v89, remove 'MAC/TWAIN' text
* doc/sane-fujitsu.man: backend v89
* backend/.cvsignore: ignore *.loT
2009-02-20 19:57:21 +00:00
m. allan noah 690f1670c3 dont export private symbols 2009-01-21 15:12:08 +00:00
m. allan noah 1f6ae430d7 * backend/fujitsu.[ch]: backend v87
- accept null pointer as empty device name
- track frontend reading sensor/button values to reload
- deactivate double feed options if df-action == default
2008-12-21 20:44:09 +00:00
m. allan noah 50176dbf5a * backend/fujitsu.[ch]: backend v86
- get_pixelsize() sets back window ID for back side scans
* doc/sane-fujitsu.man, doc/descriptions/fujitsu.desc: backend v86
2008-12-18 19:36:33 +00:00
m. allan noah 425a3d034d * backend/fujitsu.[ch]: backend v85
- 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
2008-12-10 21:32:10 +00:00
m. allan noah 91598aa800 * backend/*.[ch]: nearly every backend used V_MAJOR
instead of SANE_CURRENT_MAJOR in sane_init()
* backend/snapscan.c: remove EXPECTED_VERSION check
since new SANE standard is forward compatible
2008-11-26 21:21:31 +00:00
m. allan noah f4ccd1c46b * backend/fujitsu.c: backend v84
- round lines down to even number to get even # of total bytes
- round binary bpl and Bpl down to byte boundary
2008-11-07 17:33:39 +00:00
m. allan noah 2b2923b154 * backend/fujitsu.[ch]: backend v83
- round binary bpl and Bpl up to byte boundary
- use s->params instead of user data in set_window()
- read_from_scanner() only grabs an even number of lines
2008-11-07 02:03:32 +00:00
m. allan noah 8eaa9c65e4 fujitsu backend v82
- improved front-side endorser vpd detection
- send scanner_control_ric during sane_read of each side
- add fi-6770A and fi-6670A USB ID's
2008-11-01 01:34:18 +00:00
m. allan noah df25acfd38 * backend/fujitsu.[ch], backend/fujitsu-scsi.h: backend v81
- increase USB timeouts
- enable get_pixelsize() to update scan params after set_window()
- remove even_scan_line hack
2008-10-20 18:03:19 +00:00
m. allan noah 0f3d11f498 * backend/fujitsu.c: backend v80
- front-side endorser uses data ID 0x80
2008-10-09 00:43:06 +00:00
m. allan noah 48e23ca24e * doc/descriptions/fujitsu.desc, backend/fujitsu.conf.in,
backend/fujitsu.[ch], backend/fujitsu-scsi.h: backend v79
- add usb ids for several models
- print additional hardware capability bits
- detect front-side endorser
- disable endorser-side controls if only one side installed
- add quirks for fi-6x70
2008-10-02 04:03:31 +00:00
m. allan noah 08d54b457a * backend/fujitsu.c, doc/descriptions/fujitsu.desc: backend v78
- recent model names (fi-6xxx) dont end in 'C'
- simplify flatbed area overrides
- call scanner_control to change source during sane_start
2008-08-26 17:04:30 +00:00
m. allan noah b9aaa8a469 * backend/fujitsu.c, backend/fujitsu-scsi.h: backend v77
- override flatbed maximum area for fi-6230C and fi-6240C
 - set PF bit in all mode_select(6) CDB's
 - set SANE_CAP_INACTIVE on all disabled options
 - fix bug in mode_select page for sleep timer
2008-08-26 15:29:46 +00:00
m. allan noah 852411f3f4 * backend/fujitsu.[ch]: backend v76
- add independent maximum area values for flatbed
- override said values for fi-4220C, fi-4220C2 and fi-5220C
* doc/descriptions/fujitsu.desc: bump version, add 2 untested scanners
2008-08-14 03:56:17 +00:00
Rene Rebe b975ac1fcd * backend/fujitsu.c, backend/fujitsu.conf.in,
doc/descriptions/fujitsu.desc: backend v75
	- added fi-6230 ID, updated fi-6130, fi-6230 status
2008-08-07 08:21:51 +00:00
m. allan noah 47772db938 2008-08-02 m. allan noah <kitno455 a t gmail d o t com>
* backend/fujitsu.c, backend/fujitsu-scsi.h: backend v74
        - replace global scsi blocks with local ones in each function
2008-08-04 00:51:24 +00:00
m. allan noah ea2a506cba fujitsu backend v73
- add fi-6130 usb ID
- correct overscan dimension calculation
- provide correct overscan size overrides for fi-5110C and fi-4x20C2
- fi-5750C can't handle 10 bit LUT via USB
2008-07-27 23:29:12 +00:00
m. allan noah 2dc0cb38bd separate x-resolution from resolution, and update all backends that use
it, to prevent ui change
2008-07-26 03:53:44 +00:00
m. allan noah 4f4ce809ba * backend/fujitsu.[ch]: backend v72,
- use mode_sense to determine background color support
- remove fi-5900 background color override
2008-07-14 00:59:26 +00:00
m. allan noah dfee7abb75 fujitsu backend v71,
- disable overscan option if vpd does not tell overscan size
- fi-5110EOX crops scan area based on absolute maximum, not paper
- fi-5330C and fi-5650C can't handle 10 bit LUT via USB
- fi-5900 has background color, though it reports otherwise
2008-07-13 06:32:41 +00:00
m. allan noah 7b73560b15 * backend/fujitsu.[ch]: backend v70,
- fix bug in sane_get_parameters (failed to copy values)
- autodetect jpeg duplex interlacing mode by inspecting scan width
2008-07-06 01:03:11 +00:00
m. allan noah 800a3ae2c3 backend/fujitsu.[ch]: backend v69, support hot-unplugging scanners 2008-07-04 01:04:12 +00:00
m. allan noah 40e5aaa7fe * backend/fujitsu.[ch], backend/fujitsu-scsi.h: backend v68,
- add halftone type and pattern options
 - support M3097G with IPC and CMP options via modified VPD response
* doc/descriptions/fujitsu.desc, doc/sane-fujitsu.man: backend v68,
 - manpage cleanup
2008-07-02 20:43:49 +00:00
m. allan noah da1587f897 backend v67,
- add IPC/DTC/SDTC options
- call check_for_cancel() in sane_cancel, unless reading flag is set
2008-07-01 21:21:16 +00:00
m. allan noah d7a24693cf oops- 1 char typo 2008-06-27 04:02:06 +00:00
m. allan noah 07df99df47 backend version 66:
- restructure double feed detection options for finer-grained control
- add endorser side option
- prevent init_interlace() from overriding init_model()
- simplify sane_start() and fix interlaced duplex jpeg support
- simplify sane_read() and add non-interlaced duplex jpeg support
- removed unused code
2008-06-27 03:13:08 +00:00
m. allan noah f3ed5342cc backend version 65, add endorser support, add quirks for fi-4990 2008-06-25 02:30:54 +00:00
m. allan noah ad779e0865 backend version 64,
use model and serial to build sane.name (idea from Ryan Duryea),
 allow both serial_name and device_name to sane_open scanner,
 simulate missing VPD data for M3097G, probe scanner for color
 interlacing mode instead of hardcoding, other minor cleanups
2008-05-30 08:47:38 +00:00
m. allan noah c204b01b89 SANE 1.1.0 well-known button options 2008-05-21 18:48:30 +00:00
m. allan noah 2016e8f019 backend version 1.0.62, begin sane 1.1.0 compliance 2008-05-21 02:27:14 +00:00
m. allan noah 5c10c3f29b look at correct bool before enabling prepick mode option 2008-05-16 13:20:50 +00:00
m. allan noah f6f4de5d5d * doc/descriptions/cardscan.desc, doc/descriptions/epjitsu.desc,
doc/descriptions/hp3900.desc, doc/descriptions/hp5590.desc,
  doc/descriptions/hpljm1005.desc, doc/descriptions/hs2p.desc:
  remove 'new' tag from sane 1.0.19 backends
* doc/descriptions/fujitsu.desc, backend/fujitsu.conf.in:
  add fi-5530C2 usb ID
* backend/cardscan.c: correct version number
* backend/epjitsu.conf.in: improved firmware directions
* backend/fujitsu.[ch]: update to backend v 1.0.61
2008-05-16 02:31:57 +00:00
m. allan noah deafc44600 sanei/sanei_usb.c: allow sanei_usb_init() to run once per second
backend/fujitsu.c: backend v1.0.60, relocate call to sanei_usb_init(),          free sane_devArray before calloc'ing a new one
2008-04-28 00:48:48 +00:00
m. allan noah 16f5a83f8d fujitsu: support new fi-6x20
epjitsu: mention new S300M
2008-04-23 01:55:34 +00:00
m. allan noah 39458249b5 backend version 1.0.58:
- page code 32 is not color interlacing, rename to 'unknown'
- increase number of bytes in response buffer of init_ms()
- protect debug modification code in init_ms() if NDEBUG is set
- proper async sane_cancel support
- re-enable JPEG support
- replace s->img_count with s->side
- sane_get_parameters(): dont round up larger than current paper size
- sane_start() rewritten, shorter, more clear
- return values are SANE_Status, not int
- hide unused functions
2008-04-20 01:31:29 +00:00
m. allan noah ebf7fbc30b fujitsu backend v1.0.57, minor updates to debug color interlace on fi-5900 2008-02-26 02:16:06 +00:00
m. allan noah db29ded1d1 sanei_read_config has already cleaned string, fix bug #310597 2008-02-14 16:37:45 +00:00
m. allan noah 587744776e add DBG calls to hpljm1005, hide 'compression arg' option in fujitsu 2008-01-23 01:21:21 +00:00
m. allan noah 58045b775b updated fr translation from Yann E. MORIN, added S500M usb id to fujitsu 2008-01-17 01:03:43 +00:00
m. allan noah 09f523defe remove support for SANE_FRAME_JPEG, add other frame types but commented out 2007-12-29 21:36:25 +00:00
m. allan noah b4e05e5e23 update to backend version 1.0.53
- add ID for S510
 - note jblache's NUM_OPTS type fix
2007-11-18 01:48:20 +00:00
Julien BLACHE 7ca41423ac OPT_NUM_OPTS must be of type SANE_TYPE_INT. 2007-10-26 14:56:38 +00:00
m. allan noah c8e8f2c41a scanimage.c: add default: blocks to switch statements so recent gcc will shutup
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
2007-07-31 18:07:53 +00:00
m. allan noah 86c976274a update to backend v1.0.51, fix jpeg bug when using adf 2007-07-27 00:54:07 +00:00
m. allan noah e343cc59cf * backend/fujitsu.[ch], backend/fujitsu-scsi.h: update to v1.0.50,
add JPEG support, usb command sending and scan params cleanups
* include/sane/sane.h: add SANE_FRAME_JPEG
* frontend/scanimage.c: dont crash on unknown frame types
2007-07-10 16:07:25 +00:00
m. allan noah 26d0e072ee update to v 1.0.49. add fi-5750C and S510 2007-06-28 17:53:09 +00:00
m. allan noah 1f30d88c6c update to 1.0.48, plus playing with cvslog 2007-04-17 00:47:53 +00:00
m. allan noah 47cb655c19 update to backend v1.0.47 2007-04-13 15:50:20 +00:00
m. allan noah 041aea259b update to backend version 1.0.46 2007-03-09 02:05:51 +00:00
m. allan noah a76e85a0b4 update to backend v1.0.45 2007-01-28 15:32:17 +00:00
m. allan noah 4eabb3820c updated to backend version 1.0.44, updated maintainer email addy 2007-01-27 01:42:13 +00:00
m. allan noah 2eb55005c6 update to v1.0.43 2006-09-19 12:04:54 +00:00
m. allan noah 3a78258ac5 update to v1.0.42 2006-09-01 00:31:45 +00:00
m. allan noah 5bbc2fef6c update to v1.0.41 2006-08-28 23:45:25 +00:00
m. allan noah e47693e107 updated to v 1.0.40 2006-08-27 00:49:43 +00:00
m. allan noah 4d357d0fa1 updated to backend v1.0.39 2006-07-18 00:08:10 +00:00
m. allan noah 6a453bd191 update to backend v1.0.38 2006-07-15 15:15:52 +00:00
m. allan noah 8b9df6bcbf update to backend v1.0.37 2006-07-15 01:17:33 +00:00
m. allan noah 05aa6cc323 update to v1.0.36 2006-07-06 23:47:13 +00:00
m. allan noah cdbe31d245 update to backend v1.0.35 2006-07-05 22:46:42 +00:00
m. allan noah f9927937af update fujitsu backend to v 1.0.34 2006-07-05 00:42:05 +00:00
m. allan noah b4d76b6923 update to backend v 1.0.33, add fi-5900 usb id, print sane version during
sane_init.
2006-06-24 17:48:53 +00:00
m. allan noah f61d6d2b80 update backend to v1.0.32, just adds a usb id. 2006-06-14 17:46:40 +00:00
m. allan noah fe0a606b98 update fujitsu backend to v 1.0.31. minor changes 2006-06-13 16:10:39 +00:00
m. allan noah c62006fd47 update to v1.0.30 2006-06-07 02:42:27 +00:00
m. allan noah 8f80793464 updated to v 1.0.29, the 'ram-eater' release 2006-06-04 03:59:48 +00:00
m. allan noah 022ae0f5ab update to v 1.0.28 2006-06-01 23:43:04 +00:00
m. allan noah 3adfe84214 update to fujitsu backend v 1.0.27 2006-05-31 03:01:06 +00:00
m. allan noah ad3b5f989d fujitsu: fix bug, update desc with comment and version number 2006-05-24 01:50:40 +00:00
m. allan noah 06f66d476c add usb id 2006-05-22 02:52:52 +00:00
m. allan noah 394aabdaa9 updated scsi_open, minor compiler warning fixes 2006-05-19 21:12:41 +00:00
m. allan noah ebda4d0b71 fix sane_read bug, better timeouts 2006-05-17 18:58:41 +00:00
m. allan noah 4cf409d452 here goes nothing- release updated backend. lets see who screams :) 2006-05-14 15:29:08 +00:00
m. allan noah f27bf8a944 stop looking at evpd for M3091/2 gamma dl capability 2005-11-07 21:20:59 +00:00
Oliver Schirrmeister d79d95d0aa bugfixes for the M3092, enabled dropoutcolor for all fi-* scanners.
Tested with the fi-5650
2005-09-07 11:44:45 +00:00