Wykres commitów

3453 Commity (120806fa38c14bfca0f9503b561baec6d1927e05)

Autor SHA1 Wiadomość Data
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
Julien BLACHE 8ea598e21a Update for iScan 2.16.0. 2009-01-23 09:00:30 +00:00
Chris Bagwell 4ed8a4a87c Currently, compiling stubs.c requires its
own compile rule simply to pass in -DSTUBS.  Since its always
required, just define it in stubs.c
2009-01-23 04:05:00 +00:00
Chris Bagwell 8b5df29714 Submit Makefile.in from Makefile.am submitted previously.
Updated backends with EXTRA_* files to allow Makefile's
to always pass in BACKEND_NAME to be fixed to backend name
instead of filename; while still making sure that
SANE_DEBUG_${BACKEND}* exist as documented in man pages.
Add references to epson and epson2 man pages about
SANE_DEBUG_EPSONx_SCSI and _NET options.
Created an epson2 man page; based mostly on epson page.
2009-01-23 03:50:22 +00:00
Stéphane Voltz c3475650ca - added the rts8891 man page to the doc/ makefile
- added the Visioneer XP200 to the genesys desc file
2009-01-22 05:13:00 +00:00
Chris Bagwell e168ad39f3 Run all libcheck tests before failure and look for both static and
shared libraries.  Fixed $srcdir typo in lib/Makefile.in.
2009-01-22 02:23:38 +00:00
m. allan noah 690f1670c3 dont export private symbols 2009-01-21 15:12:08 +00:00
m. allan noah 0c8a3a0775 add MFC-7840W 2009-01-20 01:41:14 +00:00
Nicolas Martin 2628042ada Changes for MF4600 series and a few fixes. 2009-01-19 21:02:26 +00:00
Stéphane Voltz 81953325e8 - add support for uncalibrated scan for Visioneer Strobe XP200
- button support for MD5345, HP2300 and XP200
2009-01-19 05:46:43 +00:00
m. allan noah a0cb0435bc everything reported from 2008-07 to 2009-01 2009-01-19 01:42:27 +00:00
Pierre Willenbrock 35ea4a1250 Reenable clock register setup from sensor struct, set SCANMOD 2009-01-18 16:51:39 +00:00
Pierre Willenbrock acc563e707 Make half-ccd mode optional 2009-01-18 14:20:55 +00:00
Pierre Willenbrock e44981a905 Make some Canon LiDE 35 specific gpio handling conditional, add missing SCANMOD shift. 2009-01-18 14:03:56 +00:00
Pierre Willenbrock db00e6eaa3 Make dpihw depend on sensor pixel count instead of sensor resolution 2009-01-18 14:00:13 +00:00
Pierre Willenbrock d881871d21 Fix prototype of update_hardware_sensors 2009-01-18 13:56:57 +00:00
Chris Bagwell f385169bcf Convert top-level Makefile to be generated by automake.
"dist" target now includes m4 directory. Updated "libcheck"
target to look at dynamic libraries instead of static.
2009-01-18 02:00:25 +00:00
Nicolas Martin 7cb2fedc4a Fixes Busy mode exit processing. 2009-01-17 14:48:19 +00:00
Julien BLACHE a42b57186f Make batch mode create output files atomically. 2009-01-17 10:18:40 +00:00
Julien BLACHE 97903e0c32 Add SCSI identifiers for the ScanJet IIc. 2009-01-17 09:54:21 +00:00
Chris Bagwell 88e5a02910 Updates to Makefiles to prepare for transition to automake.
Fix a few bugs with "all" and "uninstall" targets to work when
$(builddir) != $(srcdir).  Added $(DESTDIR) to uninstall target.
Made $(distdir) related to current directory to match automake.
2009-01-17 04:32:22 +00:00
Chris Bagwell c90e23a6d2 Updates to Makefiles to prepare for transition to automake.
Fix a few bugs with "all" and "uninstall" targets to work when
$(builddir) != $(srcdir).  Added $(DESTDIR) to uninstall target.
Made $(distdir) related to current directory to match automake.
2009-01-16 23:39:48 +00:00
Pierre Willenbrock ba164358db Add support for buttons on Canon LiDE 35/40/50. 2009-01-16 15:31:10 +00:00
Nicolas Martin 292b70dad8 Updated docs, comments and authors for pixma backend 2009-01-15 21:24:24 +00:00
Louis Lagendijk 610aa602e0 2009-01-13 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* AUTHORS: added myself as co-responsible for pixma backend
2009-01-15 20:38:18 +00:00
Alessandro Zummo 7ee4156e7d do not use request_identity2 with
networked scanners, fixed generation of resolution list.
2009-01-15 19:18:05 +00:00
Louis Lagendijk 1b57825ef3 2009-01-13 Louis Lagendijk <llagendijk-guest at users.alioth.debian.org>
* backend/pixma_bjnp.c: send broadcasts from bjnp port to make
        firewalling easier
2009-01-13 22:00:32 +00:00
Julien BLACHE 894e0cc8ed Add :scsi keyword to a handful of SCSI scanners known to advertise themselves as type "Processor". 2009-01-13 21:21:09 +00:00
Julien BLACHE acc2b0fccf Add a new :scsi keyword for SCSI devices, add support for SCSI devices
in the udev and HAL FDI outputs.
2009-01-13 21:17:16 +00:00
Julien BLACHE e91b604df7 Replace the obsolete SYSFS{} key by the newer ATTR{} key in the udev output. 2009-01-13 21:14:17 +00:00
Julien BLACHE 4cb1d28a35 Group USB devices by vendor in the HAL FDI output. 2009-01-13 21:11:28 +00:00
Julien BLACHE 59f6298630 Replace opencoded device permissions and ownership by proper definitions. 2009-01-13 20:58:55 +00:00
m. allan noah 92261307ec * sanei/sanei_usb.c: rescan usb every time sanei_usb_init() is called
- remove missing devices, add new devices to global lists
- based on code from stef.dev@free.fr
2009-01-11 00:10:02 +00:00
m. allan noah b900ffd2a3 * backend/canon_dr.[ch], backend/canon_dr-cmd.h: backend v11
- send_panel() can disable too
- add cancel() to send d8 command
- call cancel() only after final read from scanner
- stop button reqests cancel
2009-01-10 23:39:54 +00:00
Jeremy Johnson 887f79a6a4 2009-01-10 Jeremy Johnson <jeremy a t acjlaw dot net>
*backend/hs2p.c replaced ulong with u_long,
	added static keyword for SANE_Status update_hs2p_data()
2009-01-10 21:39:16 +00:00
Jeremy Johnson 38de2aadc7 2009-01-10 Jeremy Johnson <jeremy a t acjlaw dot net>
*backend/hs2p.c:3227 replaced ulong with u_long
2009-01-10 21:34:46 +00:00
Jonathan Bravo Lopez 4b9e686065 * backend/hp3900_sane.c, backend/hp3900_config.c, backend/hp3900_types.c,
backend/hp3900.conf.in, doc/sane-hp3900.man, doc/descriptions/hp3900.desc:
  Added support for HP Scanjet G3110 scanner.
2009-01-06 15:09:22 +00:00
Jeremy Johnson e11de37747 2009-01-05 Jeremy Johnson <jeremy a t acjlaw dot net>
Added code to read_data() to pad image data to
	requested length and to zero out any garbage using
	information from sense data command. Added new
	MAINTENANCE_DATA struct and options to display
	scanner's maintenance/callibration statistics.
	*backend/hs2p.h
	- added enum CONNECTION_TYPES
	- added HS2P_DATA struct
	- added SENSE_DATA struct to struct HS2P_Device
	- added SANE_String_Const orientation_list[]
	- added macros isset_ILI() and isset_EOM()
	*backend/hs2p-scsi.h
	- replaced request_sense struct with SENSE_DATA struct
	- added #define DATA_TYPE_EOL (va_list sentinel)
	- added MAINTENANCE_DATA struct
	*backend/hs2p-saneopts.h
	- added OPT_ORIENTATION
	- added MAINTENANCE_DATA options
	*backend/hs2p.c
	- added MAINTENANCE_DATA options
	- added unused connType to attach()
	- added update_hs2p_data() to fill in options
	- added hs2p_open() and hs2p_close()
	- added get_hs2p_data() to read scanner data
	- added print_maintenance_data()
	- modified sane_control_options() to
	  accomodate new maintenance options and to
	  handle Portrait/Landscape option
	  replaced adf_status macro with s->data.adf_status
	- modified sane_read() to correctly zero out the
	  missing bytes on an incomplete read and to pad
	  to the requested length
	*backend/hs2p-scsi.c
	- replaced request_sense() with get_sense_data()
	- added print_sense_data()
	- added SENSE_DATA *sdp to sense_handler()
	- modified read_data() to handler other data type codes/qualifiers
	- read_adf_status() now is replaced with call to
	  read_data(fd,*buf,*bufsize,dtc,dtq)
2009-01-06 01:21:19 +00:00