Wykres commitów

3590 Commity (e232f547a4438bc59596011d0437c992c84218c0)

Autor SHA1 Wiadomość Data
m. allan noah a4561362b0 * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v23
- rewrite all image data processing code
- handle more image interlacing formats
- re-enable binary mode on some scanners
- limit some machines to full-width scanning
* doc/desciptions/canon_dr.desc: v23, improved comments
2009-03-28 01:04:02 +00:00
m. allan noah 009c5cd33d * backend/canon_dr.[ch]: backend v22
- add deinterlacing code for DR-2510C in duplex and color
2009-03-26 03:05:18 +00:00
Pierre Willenbrock ce2fdfbfbe Add calibration cache
The calibration data is stored in the directory $HOME/.sane
2009-03-25 12:57:24 +00:00
m. allan noah 93b880cbd1 * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v21
- correct rgb padding macro
- skip send_panel and ssm_df commands for DR-20xx scanners
* doc/desciptions/microtek2.desc: add ScanMaker 6400XL
2009-03-24 13:38:32 +00:00
Chris Bagwell fae74d19a5 Don't include descriptions-external/template.desc. into generated HTML. 2009-03-24 13:36:26 +00:00
Chris Bagwell f87c4aa108 Don't include doc/descriptions/template.desc. into auto-generated
HTML files.
2009-03-24 13:30:12 +00:00
m. allan noah a50ac53580 * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v20
- improved macros for inquiry and set window
- shorten inquiry vpd length to match windows driver
- remove status-length config option
- add padded-read config option
- rewrite do_usb_cmd to pad reads and calloc/copy buffers
* backend/canon_dr.conf.in: s/status-length/padded-read/g
2009-03-23 16:49:19 +00:00
m. allan noah dc278c2e9f * backend/canon_dr.[ch]: backend v19
- pad gray deinterlacing area for DR-2510C
- override tl_x and br_x for fixed width scanners
* doc/descriptions/canon_dr.desc: backend v19, update comments
2009-03-23 01:04:31 +00:00
m. allan noah cd0b09ddf4 * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v15 thru v18
- add byte-oriented duplex interlace code
- add RRGGBB color interlace code
- add basic support for DR-2580C, DR-2050C, DR-2080C, DR-2510C
- add more unknown setwindow bits
- add support for 16 byte status packets
- clean do_usb_cmd error handling (call reset more often)
- set status packet size from config file
- rewrite config file parsing to reset options after each scanner
- add config options for vendor, model, version
- dont call inquiry if those 3 options are set
- remove default config file from code
- add initial gray deinterlacing code for DR-2510C
- rename do_usb_reset to do_usb_clear
* doc/descriptions/canon_dr.desc: backend v18, update model status
* backend/canon_dr.conf.in: added better comments and new options
2009-03-22 02:56:45 +00:00
Pierre Willenbrock 110b81d946 Fix date of changelog 2009-03-21 14:31:47 +00:00
Pierre Willenbrock 9d7fb593a1 Calculate shading coefficients using maximum input resolution available
This still needs to honor half_ccd settings
2009-03-21 14:30:30 +00:00
Pierre Willenbrock f261d52e11 Remove park_head
It is redirected to slow_back_home in all cases
2009-03-21 14:28:57 +00:00
Pierre Willenbrock 8994e0cb07 Fix calculation of pixel number used in calibration 2009-03-21 14:27:06 +00:00
Pierre Willenbrock d2fb13c37d Enable Motor again for combined dark/bright calibration 2009-03-21 14:25:39 +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 7c6628312e * backend/hpljm1005.c: use private function instead of round() 2009-03-20 14:48:21 +00:00
Pierre Willenbrock 5864030834 Add basic support for Visioneer XP100 rev 3 and USB IDs for Syscan DocketPort 465 2009-03-19 22:27:53 +00:00
Louis Lagendijk 0086173dd3 2009-03-06 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* backend/pixma_bjnp.c backend/pixma_bjnp.h
        backend/pixma_bjnp_private.h backend/pixma_io_sanei.c:
        Make bjnp protocol more resilient against packet loss and corruption
        Changed timeout for all responses to be at least 10 seconds
        Send all broadcasts for scanner detection 5 times
        Made sure scanners are added to device list only once
        Changed device-id for bjnp so it uses scanner hostname/ip-address
        instead of mac address as this is more human friendly.
        To make room, use scanner model instead of USB-id (which is bogus
        for network scanners
2009-03-17 19:29:39 +00:00
m. allan noah dd3db8d510 * doc/desc/gt68xx.desc, backend/gt68xx.conf.in: add NeatReceipts Mobile Scanner (from Kelly Price) 2009-03-17 13:13:55 +00:00
m. allan noah 1636ba5334 * frontend/scanimage.c, doc/scanimage.man: make -B (buffer-size)
selectable, and make long name consistent. (#309672 by Johannes Berg)
2009-03-14 18:10:38 +00:00
Julien BLACHE f29d2ac068 Explicitly bind IPv6 addresses first. 2009-03-13 17:02:25 +00:00
m. allan noah 5718d5a4ed * tools/sane-desc.c: remove 8859-1 chars from string cleaner,
enforce only printable ASCII on output (bug 311539)
2009-03-13 13:48:44 +00:00
Ilia Sotnikov bb89e6b720 - Remove unnecessary 'res' variable assignment in check_host()
(AF-indep version)
2009-03-13 11:45:11 +00:00
Julien BLACHE 9cdf75633d Rework Ilia's changes in check_host(). 2009-03-13 08:59:31 +00:00
Julien BLACHE 7a359270a2 Update descriptions for iScan 2.18.0 2009-03-13 08:05:43 +00:00
Ilia Sotnikov 7e3b3bc543 * Allow host checking to proceed if no local name was found 2009-03-12 15:54:52 +00:00
Ilia Sotnikov d6bee2dafe * Use hstrerror (h_errno) instead of strerror(errno) on gethostbyname()
errors
2009-03-12 12:44:45 +00:00
Nicolas Martin 35baca47f0 pixma ImageClass doc and capabilities update, PIXMA_EOF return code added. 2009-03-12 11:13:37 +00:00
Stéphane Voltz 185486e432 - cleanups for gl646 scanners
- change in document detection for gl646 sheetfed scanners
	- lexmark desc file update
2009-03-12 05:29:53 +00:00
Stéphane Voltz b635ba26b1 - head positionning fixes
- 1200 dpi scan fix for HP2300
2009-03-09 05:52:31 +00:00
m. allan noah eee0012786 * backend/canon_dr.c, backend/canon_dr.conf.in: backend version 14
- remove HARD_SELECT from counter (Legitimate, but API violation)
- attach to CR-series scanners as well
2009-03-08 01:07:41 +00:00
Louis Lagendijk 67b93432ee * backend/pixma_bjnp_private.h disabled experimental/incomplete
button handling for bjnp protocol as it seems to cause problems
        with xsane preview
2009-03-07 23:11:24 +00:00
m. allan noah 7d65c00a95 * backend/canon_dr.c, backend/canon_dr.conf.in,
doc/descriptions/canon_dr.desc: backend version 13
- new vendor ID for recent machines
- add usb ids for several new machines
- DR-4010C reported good
2009-03-06 21:32:02 +00:00
m. allan noah 62fcc842f7 set initial scan area dimensions to maximum, close bug 311313 2009-03-05 17:13:21 +00:00
Chris Bagwell cd5ccd9c28 Allow user to disable latex support. 2009-03-05 14:47:29 +00:00
m. allan noah d0f1d177ef * doc/descriptions-external/epkowa.desc: update all broken urls 2009-03-05 14:32:56 +00:00
m. allan noah 6ee58869dc * doc/descriptions/coolscan3.desc, doc/sane-coolscan3.man,
doc/Makefile.in|am: add missing coolscan3 docs
* backend/dll.conf.in: # out epson and coolscan2, remove hpoj text
* doc/descriptions/epson2.desc: add Epson RX-620
2009-03-05 02:33:45 +00:00
Pierre Willenbrock c96583da9e Fix the generated generic gamma table. 2009-03-04 13:40:04 +00:00
Chris Bagwell 191cde3dbd Add space mistakenly removed in last CVS update. 2009-03-04 01:22:01 +00:00
Julien BLACHE b1148a226d Add Epson RX-620. 2009-03-03 10:45:34 +00:00
Chris Bagwell 9d1375fd7e * acinclude.m4, tools/sane-config.in: Add in missing libraries
to sane-config missed during fix to stop using LIBS to link everything.
Add back in code to move LDFLAGS out of $GPHOTO2_LIBS and into
GPHOTO2_LDFLAGS.
2009-03-03 02:53:42 +00:00
Stéphane Voltz a01d181c23 - fix 400, 1200 and 2400 dpi modes for MD6471/MD5345
- scanarea geomtry tunig for MD6471/MD5345
2009-03-02 20:56:59 +00:00
Julien BLACHE b72c29cd75 Make sure backends can't break the network dialog and crash the remote net
backend by writing to stdin/stdout/stderr.
2009-03-02 11:21:52 +00:00
Chris Bagwell 135ac7d1ac * m4/byteorder.m4: Delete temporary file in all cases.
* backend/Makefile.am, japi/Makefile.am: Use BUILT_SOURCES
instead of dependency so that files are not compiled
during "dist" target.
2009-03-01 04:34:44 +00:00
Pierre Willenbrock 2e880e4b75 Adjust gl841 part to recent changes 2009-02-28 18:04:56 +00:00
Pierre Willenbrock c53a50cbfb Add support for Visioneer Roadwarrior 2009-02-28 18:03:44 +00:00
Pierre Willenbrock c8ce0f00ef Add support for Ambir/Syscan DocketPORT 665 2009-02-28 18:01:50 +00:00
Chris Bagwell 70f3fdfba4 * acinclude.m4, backend/*.[ch], tools/*.[ch], frontend/*.[ch]:
Global replace of u_int??_t with C9x standard based uintxx_t
 in order to remove some tricky and overlapping portability logic
 from acinclude.m4 and leave it in only m4/stdint.m4.
2009-02-26 03:15:43 +00:00
Chris Bagwell df7839f587 * configure.in, m4/stdint.m4: Update to latest version to
get latest fixes and use logic to not recreate _stdint.h if
no changes (to prevent unneeded recompiles).
* m4/byteorder.m4: Added support to reuse existing byteorder.h if
no changes to prevent timestamp causing a recompile.
2009-02-25 03:55:33 +00:00
m. allan noah c290bb2e1b * frontend/scanimage.c: improved comments, simplified x/y option code,
removed buggy -1/+1 x/y code (#311172), expose non-settable options,
check for invalid caps on options, handle option descs with \n
* doc/releases.txt: add note about cvs checkout on alioth.
2009-02-25 03:29:14 +00:00
m. allan noah b85947768d backend/*.[ch]: more consistent #include "../include/sane/config.h" 2009-02-25 02:11:17 +00:00
m. allan noah 597bdcd400 * backend/Makefile.am, backend/xerox_mfp.conf.in: should use conf.in 2009-02-24 17:49:02 +00:00
Chris Bagwell 37bdd088dc * backend/Makefile.am: Add back in deletion of $(sanelibdir)/libsane.*
for buggy libtools.  Add some minor documentation.
* doc/backend-writing.txt: Add minor document updates to reflect
conversions to automake.
2009-02-24 02:47:44 +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
Pierre Willenbrock a2d99b716a Various warning cleanups 2009-02-23 14:21:23 +00:00
Pierre Willenbrock e026a4fa2c Make start/stop_(motor, now)action actually work 2009-02-23 14:20:39 +00:00
Pierre Willenbrock 3251c06fb4 Move sanei_genesys_{start,stop}_motor into chip specific sources 2009-02-23 14:16:56 +00:00
Pierre Willenbrock 271e9cf317 Add post_scan and eject_feed to struct Genesys_Model 2009-02-23 14:12:20 +00:00
Jonathan Bravo Lopez 3846396eff Fixed area of negative/slide scans for HP ScanJet G3110 2009-02-23 07:55:32 +00:00
Chris Bagwell 975aed198c * japi/Makefile.am: Add back -version-number to java library but
also add V_REV.
* backend/Makefile.am: Use variables to add libraries to backends
instead of direct substitution. Easier to touch up variables on
problem platforms then substitution.  Also, add back in creating
dll.d directory; missed during conversion.
* backend/genesys_gl841.c: Portablity fixes for strict
C compilers.
2009-02-23 04:44:55 +00:00
Chris Bagwell 55434f8a75 Fix disabling getopt compile again. 2009-02-22 05:08:56 +00:00
Chris Bagwell 7d06da3be7 * doc/Makefile.am: Get rid of unneeded gnu extensions to quieten
down autotools warnings.
2009-02-22 02:05:05 +00:00
Chris Bagwell be3f46204b * po/Makefile.am, configure.in: convert remaining directory,
po, to use automake.
2009-02-21 22:45:14 +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
Mattias Ellert 18e9d6c358 Restore alloca include order 2009-02-20 17:56:54 +00:00
Chris Bagwell 4e2fe5c06d Convert japi to automake. 2009-02-20 03:17:54 +00:00
Chris Bagwell cb4fb37eca Have configure define configdir so all makefiles can use
it (fixes bug introduce with sanei converted to automake).
Enable running testsuite during distcheck.
2009-02-19 18:10:12 +00:00
Julien BLACHE ad1a44d92a Add support for libusb-1.0. 2009-02-19 13:57:45 +00:00
Chris Bagwell f2261efaa5 * Makefile.am, testsuite: Convert testsuite to automake. Waiting
for test backend bugfix before enabling this to run during "distcheck".
2009-02-19 04:23:25 +00:00
Chris Bagwell e380729334 * configure.in, tools/Makefile.am: convert tools to automake.
Add tools/openbsd to distribution package.
* include/Makefile.am: include files should have been installed
under sane/ directory when converted to automake.
* doc/Makefile.am: Cleanup. Use automake's built in support to
install docs within subdirectories.
2009-02-19 02:17:45 +00:00
Julien BLACHE 042656a002 Raise avahi-client dependency to 0.6.24. 2009-02-18 13:25:44 +00:00
Julien BLACHE 25818023c6 Fix handling of Avahi server restart. 2009-02-18 13:19:51 +00:00
Julien BLACHE 6733db0ec1 Do not lock the Avahi thread before stopping it. Leads to a deadlock,
so it seems it's actually not necessary anymore.
2009-02-18 11:07:38 +00:00
Chris Bagwell aef46252cc convert frontend, include, and sanei directories to use
automake.  Only reference libsanei.la now. Use am_conditional
to compile sanei_jpeg.lo.  distcheck now runs sanei/wire_test.
2009-02-15 03:31:36 +00:00
Chris Bagwell 79086e770e * Makefile.am, configure.in, doc/Makefile.am: Convert
doc/Makefile to use automake. Main difference is that
no longer installs man pages for backends that are not
compiled.  Moved install ownership of $top_srcdir docs
to $top_srcdir's Makefile.
2009-02-14 05:54:01 +00:00
Chris Bagwell 848b2e2175 * configure.in, backend/Makefile.am: Add back change to
use -version-number even though its known not to work on
some platforms (OS/2). -version-info results in a variety of
version numbers in soname based on platform and would not
be easily mappable back to values currently return by
each backend's sane_init().  ltmain.sh will need to be
hand patched for any known issues.
2009-02-12 03:43:18 +00:00
Pierre Willenbrock d167519e76 Remove "init device" usb request, add some support for Visioneer Strobe XP300.
Add support for uncalibrated scans in all modes for Visioneer Strobe XP300.
Front- and backside are	side-by-side, backside mirrored horizontally.
2009-02-08 18:59:59 +00:00
Chris Bagwell 144b1a3cfb * configure.in, backend/Makefile.am: Add back in support for
optionally linking in sanei_jpeg.lo under backend directory;
but using configure and not with GNU make extensions.
Move back to libtool's -version-info instead of -version-number
because the later has known bugs on platforms such as OS/2.
2009-02-07 02:00:51 +00:00
Chris Bagwell caba90c552 * configure.in, acinclude.ac: Cleanup autoconf 2.63 warnings.
add cv_ prefix to cached variable.  Remove AC_ARG_PROGRAM as
automake already invokes this. When prefered AC_USE_SYSTEM_EXTENSIONS
exists, use that instead of AC_GNU_SOURCE/AC_AIX/AC_MINUX.
Cleanup socket detection more by creating only a single
SOCKET_LIBS that contains list of all optional libraries
for any socket related funciton.  Make sure that checks
for socket related functions use SOCKET_LIBS when searching.
Check for getopt_long() and getopt.h.  Make OS/2 use
-no-undefined (same as windows).
* ltmain.sh, m4/libtool.m4: Upgrade to libtool 1.5.26.
* Makefile.am: Cleanups to match configure updates.
* frontend/scanimage.c, include/Makefile.in, lib/getopt.c
lib/getopt1.c, toosl/sane-desc.c, include/lgetopt.h:
Rename internal getopt.h to lgetopt.h to allow using
external getopt.h when it exists.  This allows to go
back to optionally compiling getopt()/getopt_long() and its
prototypes and not have conflicts with external headers/symbols.
2009-02-06 03:10:44 +00:00
Nicolas Martin c7d8b3e21c Added ImageClass MF4120 support in pixma backend docs. 2009-02-04 21:51:49 +00:00
Julien BLACHE 9056460913 Filter out unsupported/unknown models from output (udev/hal). 2009-02-03 11:08:31 +00:00
Nicolas Martin fc758d23e7 ALIGN macro name change due to MACOS X issue and cosmetic code enhancements 2009-02-02 21:16:44 +00:00
Alex Belkin 133d37e4e4 Proper handling of parameters (to fix xsane crash) 2009-02-02 18:29:08 +00:00
Alex Belkin 59d1cd9539 Added Dell MFP 1815dn 2009-02-02 09:39:30 +00:00
Chris Bagwell 0330a4d416 * aclocalm4: fix prototype of internal strcasestr and usleep.
* configure.in: Group all USB logic together and all SCSI
logic together to aid understanding of whats no longer
valid.  Allow sharing enable/disable options between all
USB drivers on multiple platforms.  Combined CAM_LIBS and
SCSI_LIBS since they are mutually exclusive.
Skip some USB/SCSI checks when previous tests show it will always fail.
* backend/Makefile.am, tools/Makefile.in: Combine CAM_LIBS and
SCSI_LIBS. Add missing SOCKET_LIBS to epson2.  Add USB_LIB.
* saned.c: Add limits.h for PATH_MAX.
2009-02-02 03:17:32 +00:00
Mattias Ellert 7e6153827f format fixes. 2009-02-01 21:58:04 +00:00
Mattias Ellert f5af24221f avoid redefinition warning 2009-02-01 19:20:41 +00:00
Mattias Ellert 120806fa38 format fix and fix missing return 2009-02-01 18:50:24 +00:00
Mattias Ellert 1d21f36d9f Don't compile sanei_jpeg if libjpeg is unavailable. 2009-02-01 15:21:46 +00:00
Mattias Ellert 4dab269c71 Restore the removed DYNAMIC_FLAG configuration. 2009-02-01 13:43:26 +00:00
Chris Bagwell 674b884f29 * acinclude.m4, configure.in: Define JPEG objects based on
existence of JPEG library and not on the dc* backends alone
since more backends then that use JPEG support.
* backend/Makefile.am: whitespace fixes.
2009-01-31 20:40:42 +00:00
Chris Bagwell 51860ae62c Add missing math library to coolscan2 backend. Add few new directories
for cvs to ignore.
2009-01-31 16:20:03 +00:00
Chris Bagwell 23ff26f9a5 * acinclude.m4, configure.in: Put all libraries into their
own *_LIB variables instead of $LIB so that we do not have to
link in the world to all executables. Modified SANE_CHECK_U_TYPES
to be a little more portable to platforms that use #define
for u_* types. Create SANE_CHECK_BACKENDS macro so that
PRELOADABLE_BACKENDS can also be valided.  Auto-populated
PRELAODABLE_BACKENDS when detect dlopen() won't work.
Various protability cleanups.
* backend/dll.c: Make dll-preload.c a .h since its an include and
not compilable byitself.
* frontend/Makefile.in, frontend/scanimage.c, include/laaloca.h,
  lib/Makefile.am, lib/alloca.c, strcasestr.c, tools/Makefile.in,
  tools/sane-desc.c: Convert lib/ to automake.  Create a liblib.la
  for everyone to use and a libfelib.la for only frontend programs.
  Make all internal programs be prefixed with sanei_ as not to conflict
  with other programs libsane is linked in with that will also most
  likely create similar internal utils on problem platforms.
  * include/getopt.h, lib/getopt.c, lib/getopt1.c: Always compile
  and link in getopt_long() but prefix it with sanei_.  Its
  easier to always use internal version then try to figure out what
  platforms support getopt_long() and what header files to use.
  * backend/Makefile.am: Convert backend makefile to automake.
  Initial version that is feature parity with original but uses
  specific rules instead of wildcards and only links in libraries/objs
  really required. Room for more cleanup of whats linked in once
  all makefiles have been converted to automake.
2009-01-31 03:12:18 +00:00
Chris Bagwell 907cbe7ac6 Replace usage of getgrouplist() with
getgrent() and friends.  getgrouplist is not posix and not
on several platforms including cygwin.
2009-01-31 02:18:41 +00:00
Chris Bagwell b52b0c0c14 * backend/epson2.c backend/pixma_bjnp.c, include/sane/sanei_backend.h,
sanei/sanei_tcp.c, sanie/sanei_udp.c: Improve portablity by
  removing usage of MSG_WAITALL since not all platforms support
  that (cygwin).  Default is to be blocking anyways.  Changed
  usage of MSG_NOTWAIT to use fcntl() function as needed as well.
  * configure.in, lib/Makefile.in, lib/strcasestr.c: Add internal
  strcasestr() for platforms missing it (cygwin).
  * pixma_common.c: My source match header prototype for picky
  compilers (cygwin).
  * backend/umax_pp_mid.c: Allow BACKEND_NAME to be filename
  yet debug to be SANE_DEBUG_UMAX_PP to match man page.
2009-01-29 15:10:19 +00:00
Julien BLACHE 4e58745ed9 Add :scsi data for 2 scanners. 2009-01-28 08:14:11 +00:00
Louis Lagendijk 9d7a8353b6 2009-01-27 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* backend/pixma_bjnp.c: fixed bug that caused scanner discovery to
        fail when it encountered a point to point link (check data returned
        by getifaddrs()
2009-01-27 20:13:11 +00:00
Chris Bagwell f7b7cd9171 Add AM_MAINTAINER_MODE to prevent regenerating configure script with
possibly broken user autotools.
2009-01-27 01:10:24 +00:00
Pierre Willenbrock d46ce99e7b Change status code for locked head to SANE_STATUS_HW_LOCKED 2009-01-25 22:03:26 +00:00
m. allan noah 24007b49a6 * doc/descriptions/canon_dr.desc: correct version, status = new
* doc/descriptions/epjitsu.desc, doc/descriptions/fujitsu.desc: version
* doc/descriptions/umax1220u.desc: correct status of 1600U
* doc/descriptions/xerox_mfp.desc: status = new
2009-01-25 01:35:54 +00:00