Wykres commitów

3237 Commity (e16b0e2051919a78f1873806eb453b30930d8712)

Autor SHA1 Wiadomość Data
Alessandro Zummo e16b0e2051 backend/epson2.c: fixed attach() error path. 2008-04-18 21:24:32 +00:00
Nicolas Martin 983e8c0eeb Update for MP970 (yet for color scan, all resolutions) and bug fix for MP220 at 1200 dpi (reported to work OK) 2008-04-15 21:27:34 +00:00
Julien BLACHE 57bfede65b Plug an information leak in the net backend.
When sending out a SANE_NET_CONTROL_OPTION RPC for the SANE_ACTION_GET_VALUE
action (and SANE_ACTION_SET_AUTO for the network protocol versions < 3), the
backend was not clearing the memory area for the value argument before
sending it over the network, resulting in an information leak for the
SANE_ACTION_GET_VALUE case.
2008-04-13 14:44:20 +00:00
Julien BLACHE fde1551f68 Fix typo. 2008-04-13 14:21:59 +00:00
Mattias Ellert 8212474cfa c&p error 2008-04-12 18:49:25 +00:00
Mattias Ellert 8196a0f471 Format warning fixes, man page fixes 2008-04-12 17:49:49 +00:00
Julien BLACHE f4ff1b74f6 Add mDNS DNS-SD support to saned and the net backend so they can announce
and discover each other automatically.

Optional at configure time, requires Avahi >= 0.6.4.
2008-04-11 17:18:19 +00:00
Julien BLACHE 90a1c88e0d saned can now drop privileges when running in standalone mode. 2008-04-10 16:55:36 +00:00
Julien BLACHE cbb3833dbe Add a PID file. 2008-04-10 16:39:06 +00:00
Julien BLACHE ce7efefec7 Replace daemon() with an open-coded equivalent. 2008-04-10 16:31:17 +00:00
Nicolas Martin 67ebd9576c Modifications for PIXMA MP970, to manage CCD sensor with PIXMA generation 3 protocol. To be tested. 2008-04-06 19:46:15 +00:00
Julien BLACHE 9c6fea1943 Add standalone daemon mode, building upon the AF-indep/IPv6 debug mode.
Reorganize code by splitting the main() function into a series of functions.
Factorize common code between the old network code and the AF-indep code. There's now only one version of main().
2008-04-06 15:21:47 +00:00
Stéphane Voltz 79fbd0c2f1 - added OPT_CUSTOM_GAMMA and OPT_GAMMA_VECTOR* options for GL646
- fixed allocation bugs detected by valgrind
	- fixed bugs detected by 'tstbackend -r 1 -l 1'
	- allow 'genesys' as default value for backend opening
	- made OPT_COLOR_FILTER effectively work for GL646 scanners
	- split sane_control_options() to make it more readable
2008-04-05 09:21:56 +00:00
Stéphane Voltz 0239a8344a - split sane_control_option to make it more readable 2008-04-05 09:11:47 +00:00
Nicolas Martin d9d44cbe72 Added a tempo before failing in NO PAPER in ADF scan, declared MX850, changed MP970 to Generation 3. 2008-04-02 20:13:48 +00:00
Julien BLACHE 95f01b7244 HAL 0.5.11-rc2 does not support the info.bus property anymore; superseded by
info.subsystem. Unfortunately, this is not backward-compatible, so add a new
"hal-new" mode to sane-desc.
2008-03-28 20:57:59 +00:00
Julien BLACHE 8ed0d66582 Do not blindly use ftok() in snapscani_mutex_open(). Compute an IPC key based
on the product ID, bus number and device number for libusb devices; fallback
to ftok() otherwise and check the return value.
2008-03-28 20:39:02 +00:00
m. allan noah 1ee8fa1d8f add usleep to improve usb performance, from jim a t meyering d o t net 2008-03-28 14:37:36 +00:00
m. allan noah 127c77c1e5 add class 6 to usb detection code, fix scsi detection bug 2008-03-28 14:13:23 +00:00
Stéphane Voltz b85ec879da - rts8891 backend inclusion 2008-03-22 14:33:36 +00:00
Julien BLACHE 5ba1b2b917 Fix messages around getservbyname() in the IPv4 code to mention "sane-port" instead of "sane". 2008-03-20 21:47:14 +00:00
Julien BLACHE 59e7f02026 Remove _stdint.h and byteorder.h in the distclean target. 2008-03-20 21:14:04 +00:00
Nicolas Martin 52ec47a434 Added Canon PIXMA MX700, declared MX300 and MX310, and updated some descriptions. 2008-03-16 16:33:53 +00:00
Julien BLACHE c394bbb726 Fix typo in sanei_usb.h. 2008-03-15 14:57:51 +00:00
Stéphane Voltz 5be6af9c72 - removed scanners supported by the lexmark backend from
unsupported.desc
	- umax_pp small copyright refresh
2008-03-02 15:01:13 +00:00
Gerard Klaver f6404bfcef doc/descriptions/as6e added Dexxa 4800 2008-03-01 13:09:25 +00:00
Jonathan Bravo Lopez ebc0909bdb * backend/hp3900_sane.c: Fixed optional grayscale emulation
* backend/hp3900_debug.c: Silence gcc warnings when tiffio.h is not used
2008-02-26 09:23:23 +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
Nicolas Martin c8ffa75b6a Update for PIXMA MP140 now working with pixma backend 2008-02-24 09:28:22 +00:00
Pierre Willenbrock e14de20478 * backend/genesys_gl841.c: Make LEDs go really dark when "lamp" is off 2008-02-23 14:20:23 +00:00
Nicolas Martin 1560763771 Update pixma backend for MP140 and MP710 models 2008-02-22 21:47:31 +00:00
Pierre Willenbrock f18481ca40 * backend/genesys_gl841.c: Fix debugging output of gl841_bulk_write_register 2008-02-22 00:33:30 +00:00
Pierre Willenbrock f183b6fe00 * backend/genesys.c, backend/genesys_gl646.c,
backend/genesys_gl841.c, backend/genesys_low.h: Add LED exposure
control to gl841_set_lamp_power
2008-02-21 15:49:18 +00:00
Pierre Willenbrock babeea8be2 * backend/genesys_gl841.c: Send 32 registers at once instead of 1 2008-02-20 18:16:21 +00:00
Mattias Ellert d9e30e41a0 Library version definition fixes 2008-02-20 00:37:10 +00:00
Alessandro Zummo 4f022fba36 added coolscan3 backend 2008-02-19 10:46:06 +00:00
Nicolas Martin 3c9f28e17d *** empty log message *** 2008-02-18 20:53:41 +00:00
Nicolas Martin a1265b6dad New models changes:
- added: Pixma MP210, MP470, MP520, MP610
 - added: MultiPASS MP710
 - declared untested: MP140, MP220, MultiPASS MP740
 - declared experimental and untested: MP970
Bugs and fixes
 - multipage documents scan no more fails with non-ADF MPs
 - IO Fail bug when scanning large pages e.g. with Xsane
 - implement send_time message form MP710, MP730 family
 - run indent -gnu on all pixma_* source files.
2008-02-17 15:49:43 +00:00
m. allan noah db29ded1d1 sanei_read_config has already cleaned string, fix bug #310597 2008-02-14 16:37:45 +00:00
Pierre Willenbrock 91644b76b9 Patch by Stefan Lucke <stefan@lucke.in-berlin.de>
* backend/genesys_gl841.c: Fixes 3 possibilities for infinite
  loops and adjusts loop threshold to given comments
2008-02-13 12:20:04 +00:00
Jonathan Bravo Lopez e1f9664106 Added support for a new scanner: HP ScanJet G2710
Minor changes
2008-02-13 06:35:26 +00:00
m. allan noah 5158f5113b sane 1.0.19-cvs 2008-02-11 02:50:55 +00:00
m. allan noah 753706f6e7 fix broken DISTFILES, etc 2008-02-10 23:02:31 +00:00
m. allan noah 1e572167d7 SANE 1.0.19 release 2008-02-10 20:32:40 +00:00
m. allan noah 2c5ba93ff4 add usb id 2008-02-09 23:57:59 +00:00
Rene Rebe abf10f87a3 * backend/avision.ch: fixed device list matching for entries
with partial matches on USB ID, but vendor / product string
          matches as mostly only the HP5300 vs. HP5370, fixed non-color
          calibration for devices not filling all RGB fields of calibration
          format information, do not send 3x3 color matrix to older devices
          (ASIC versions) as some HP53xx does not correctly handle it,
          improved calibration accuracy and fixed transparency adapter
          detection to not use non-zero as present, but just 1 (some
          devices now set 0xff as (-1) - not present ...
2008-02-09 10:42:46 +00:00
m. allan noah 65fa50cd4d add usb ids 2008-02-08 00:27:50 +00:00
m. allan noah 994bef3b16 reduce gcc pedantic/ansi warnings from 690 to 280 lines, mostly via casts in
str*() calls, also update hpljm1005 sane_cancel code
2008-02-04 01:20:01 +00:00
Mattias Ellert 1aaed781b6 Fix format warnings 2008-02-03 12:09:09 +00:00
Mattias Ellert af663bc5e7 Fix format warnings 2008-02-03 10:34:20 +00:00