Wykres commitów

6348 Commity (37f0efe2a2a7fd1c2175289bf4075fac613503d1)

Autor SHA1 Wiadomość Data
Stéphane Voltz 4882893b50 Merge branch 'lexmark' of /home/stefdev/workspace/sane-backends 2009-06-20 08:01:51 +02:00
Stéphane Voltz 7c187f2b1b clean up f3/f4 registers assignement 2009-06-20 07:59:23 +02:00
Stéphane Voltz 098f576ab9 revert f3/f4 register assignement change 2009-06-20 07:53:37 +02:00
Nicolas Martin b369664c42 Fixed typo in commit id 5938421e25
- backend/pixma_mp150.c: fixed MX320 declaration.
2009-06-18 22:19:04 +02:00
Alessandro Zummo b39c12dd7b Define MM_PER_INCH once for all 2009-06-18 15:54:49 +02:00
Alessandro Zummo a2e6237f6e epson2: code cleanup
Style and dead code cleanup.
2009-06-18 11:39:04 +02:00
Alessandro Zummo 2d89885211 epson2: fixed network issue 2009-06-18 02:00:30 +02:00
m. allan noah 852df2e844 add small sleep before clearing usb halt condition 2009-06-17 16:55:52 -04:00
m. allan noah 59ecbe3521 bump backend version number 2009-06-17 16:16:54 -04:00
m. allan noah 47bd5aec2c bump backend version number 2009-06-17 16:12:44 -04:00
m. allan noah caaa891c35 canon_dr v30: improved support for DR-2050/2080 and minor bug fixes
- add fine cal support for machines with internal buffer (2050/2080)
- support fixed-width machines that require even bytes per scanline
- pad end of scan with gray if scanner stops prematurely
- better handling of errors during calibration
- cleanup canceling debug messages
- remove old cancel() prototype
2009-06-17 15:45:48 -04:00
Stéphane Voltz 0488274f0d changelog for lexmark update 2009-06-17 21:10:46 +02:00
Stéphane Voltz c96bf32505 Merge branch 'lexmark' of /home/stefdev/workspace/sane-backends 2009-06-17 21:02:45 +02:00
Alessandro Zummo e5bb03de2a epson2: removed unused code and options
Code and setup for never implemented or removed options
has been cleaned up.
2009-06-17 12:39:34 +02:00
Alessandro Zummo c8e84cd579 epson2: reinstated i18n in backend options
This reverts commit 45fef7b043.
2009-06-17 02:29:31 +02:00
Alessandro Zummo 6cc0d7641f epson2: fixed whitespace trimming of model name
Whitespace trimming was incorrect for model names with
a space character.
2009-06-16 23:51:07 +02:00
Alessandro Zummo 94ec5cb8a8 epson2: fixed scanner detection
The scanner sources array was missing an entry in some
circumstances and this triggered an error checking
assertion.
2009-06-16 23:51:07 +02:00
Alessandro Zummo 3d223411cd epson2: avoid probing when device name is given
The code flow has been modified to avoid unnecessary probing
and double opening of a device. There's no more delay before
opening a networked scanner and the whole scan process begins
much earlier.

Accepted device names are:

 net:ipaddress
 net:hostname

 libusb:vendor:product

 pio:0xnnn

plus any form supported by the SANE scsi and usb
routines.

The code has been tested on network, scsi and libusb. Unfortunately
I do not have any parallel port based scanner.
2009-06-16 23:51:07 +02:00
Nicolas Martin 5938421e25 Declared Pixma MX320 in the pixma backend. Yet untested.
- backend/pixma_mp150.c: added MX320
- doc/descriptions/pixma.desc and doc/sane-pixma.man: documentation update for MX320
2009-06-16 22:33:17 +02:00
Alessandro Zummo ebb98839d1 epson2: improved error detection in networking code, fixed buffer size
Error checking has been added when receiving the network
header and welcome message. Timeout has been added too and
a wrong buffer size has been corrected.
2009-06-16 17:27:27 +02:00
Alessandro Zummo 92f729ea83 epson2: removed invert image, cleaned up some code
Image inversion is something that can be handled by a frontend,
in the epson2 backend I want to avoid to add any complexity
that doesn't belong to the hardware.
2009-06-16 17:27:10 +02:00
Alessandro Zummo 45fef7b043 epson2: removed i18n from backend options
Internationalized backend options lead to incompatible shell
scripts, so they've been removed. A trailing dot has been removed
from some descriptions and a few includes moved around.
2009-06-16 17:27:10 +02:00
Julien BLACHE d3f1f6fa50 Guard sin6 union member by #ifdef ENABLE_IPV6 2009-06-16 15:11:45 +02:00
Julien BLACHE f06cf4770b Fix strict aliasing issues
Strict aliasing warnings can now lead to broken code with gcc 4.4. Replace
various sockaddr casts by unions.
2009-06-16 15:07:00 +02:00
Stéphane Voltz dd87aecc17 work to fix bug 311682
- improve debug traces in low_is_home_line()
- shrink search window to detect home reference point
- move f3/f4 setting to be f4/f5 register setting
2009-06-16 13:44:28 +02:00
Nicolas Martin 177f8d2022 Changelog update for commit aa7a54199d
- MP800R network scan fix
- MF5770 documentation updates
2009-06-14 18:45:04 +02:00
Nicolas Martin aa7a54199d Fix for MP800R network scan and documentation update for MF5770.
- backend/pixma_mp150.c:
  Thanks to Vladimir Andreev patch, fix network scan for MP800R.
- doc/descriptions/pixma.desc and doc/sane-pixma.man:
  . Documentation updates for latest MF5770 changes.
  . Note: MF5770 grayscale mode appears to require some more work.
2009-06-14 18:37:11 +02:00
Alex Belkin 93be2efc99 backend version increment 2009-06-13 17:36:54 +04:00
Alex Belkin a937e22bd7 backend version increment 2009-06-13 17:35:32 +04:00
Alex Belkin 00456d00a6 typo 2009-06-13 17:16:45 +04:00
Alex Belkin f3e63b4e4d usbids for some Samsung devices 2009-06-13 17:15:06 +04:00
Alessandro Zummo cd2f3cc6d8 epson2: update description file 2009-06-10 21:37:19 +02:00
Alessandro Zummo e73177a177 epson2: allow get_devices to be called multiple times
The probing code has been streamlined and is now more maintenable.
The backend will probe when required and the get_devices hook can
be called multiple times. Transfer buffers are now selected based
on the connection type.
2009-06-10 21:09:05 +02:00
chris@cnpbagwell.com 581b94fb88 Fix sanei_tcp_read(). Revert some getopt logic.
* sanei/sanie_tcp.c, backend/epson2_net.c: Update
sanei_tcp_read() to better simulate old behavior of MSG_WAITALL.
recv() tends to return MTU sized chunks of data without that option.  And at
least cygwin doesn't support MSG_WAITALL.  Re-enable epson2 using that
function for big recieves.
* libgetopt.c, libgetopt1.c:
Revert some logic meant to be used only when we were always compiling
interal getopt() functions.  Fix header filename.
2009-06-09 19:12:43 -05:00
Stéphane Voltz bf57122892 work to fix bug #311862
- debug trace fix
- better 'fake usb'
- register setting that maybe fix #311862
- include cleanup
2009-06-09 21:56:51 +02:00
m. allan noah abe0dbacd6 canon_dr v29: improved calibration, cancelling and error handling
- split coarse and fine cal to run independently
- add side option
- reset scan params to user request if calibration fails
- better handling of sane_cancel
- better handling of errors during sane_start and sane_read
2009-06-08 23:06:00 -04:00
Nicolas Martin 3f1c514ac4 ChangeLog update for latest commits (Canon MF5770) 2009-06-08 22:55:47 +02:00
Nicolas Martin 94f3be61b4 Merge branch 'mf5770' 2009-06-08 22:47:19 +02:00
Nicolas Martin 228861b6b2 Second set of modifications in pixma backend for Canon ImageClass MF5770.
File pixma_mp730.c:
- first page scan warmup time set to 10 sec
- no image post processing required in color mode
2009-06-08 22:44:43 +02:00
Pierre Willenbrock 470cc50ef4 Changelog update
and date typo fix for previous one.
2009-06-04 00:56:55 +02:00
Pierre Willenbrock 9f3552074e Some more comments for canceling scans on gl84[12] 2009-06-04 00:52:07 +02:00
Pierre Willenbrock a0ea955e91 Always send registers before trying to acquire a line 2009-06-04 00:52:06 +02: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
Alessandro Zummo 83b0f1f4f5 epson2: code style fixes
Minor code style fixes, like missing tabs, lenghty line, etc
2009-06-03 02:28:44 +02:00
Alessandro Zummo 40e08cbb36 epson2: updated backend description and usb devices list
The backend description comes from the epkowa.desc file
with appropriate changes to suit epson2.desc. The usb
device list is now generated from this file, skipping
the :unsupported models. This means epson2 now detects
32 more models.
2009-06-03 01:08:40 +02:00
Nicolas Martin e4589350f0 backend pixma: modified warmup tempo for MF5770
- backend/pixma_mp730.c: modified tempo for warmup to handle interruptions
2009-06-02 23:28:13 +02:00
Nicolas Martin 206b740d88 Add modified files for previous commit
- backend/pixma_imageclass.c
- backend/pixma_mp730.c
2009-06-02 23:02:12 +02:00
Nicolas Martin 1f440d2c57 First batch of modifications to pixma backend for ImageClass MF5770
- backend/pixma_imageclass.c : remove MF5770 from supported devices
- backend/pixma_mp730.c : add set of modifications to handle ImageClass MF5770
2009-06-02 22:55:25 +02:00
Alessandro Zummo e1b835bf48 epson2: check for warming up condition after a start failure
Sometimes a "fatal error" is given back when the scanner is warming up.
The previousversion of the code checked for that issue only when
the ADF was in use.
2009-06-02 19:19:29 +02:00
Alessandro Zummo 728e032a5a epson2 reorganization
Some subroutines have been moved from epson2.c to epson2-ops.c and
there's also a temporary fix for the networking code.
This is work in progress but should work.
2009-06-02 01:03:33 +02:00