Wykres commitów

22 Commity (fe08bbee6b238ea0be73af67b560ffc2c47562fd)

Autor SHA1 Wiadomość Data
Olaf Meeuwissen fcd537e207 sm3600: Fix [-Wimplicit-fallthrough] warning
This fixes the warning for both #define SM3600_SUPPORT_EXPOSURE values.
2019-08-10 20:49:09 +09:00
Povilas Kanapickas e40596c2a5 Fix -Wimplicit-fallthrough warnings by adding standard annotations 2019-06-30 11:58:32 +03:00
Olaf Meeuwissen 23891a2646 .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
Olaf Meeuwissen 8809927390 sm3600: fix [-Wunused-parameter] compiler warning 2016-07-18 17:10:56 +09:00
Olaf Meeuwissen a9c813944e Make libusb-1.0 the default for USB support
When libusb-1.0 is not found, libusb-0.1 will be tried.  On BeOS and
OS2, nothing should have changed in terms of detection of USB support.

On all systems the --enable-libusb* flags are now ignored.  Instead, the
--with-usb and --without-usb flags now control support.  When neither is
given USB support will be enable if possible and disabled otherwise.  If
--with-usb is requested but not possible, ./configure will fail.  There
is no support to prefer libusb-0.1 over libusb-1.0.
2016-07-01 23:44:37 +09:00
Olaf Meeuwissen 9d4f2a7209 sm3600: fix [-Wunused-but-set-variable] compiler warning 2015-12-27 18:41:54 +09: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
Julien BLACHE 7ca41423ac OPT_NUM_OPTS must be of type SANE_TYPE_INT. 2007-10-26 14:56:38 +00:00
Henning Geinitz a2f1183de1 Removed direct dependence of sm3600 on libusb. Used sanei_usb instead. Based on
patch from Francois Revol <revol@free.fr>.  Updated documentation
accordingly. Fixed compilation warnings.
2005-08-16 19:50:34 +00:00
Henning Geinitz e9f761d067 Don't check the result of usb_find_busses(). Based on patch from Julien BLACHE
<jb@jblache.org>.
2005-07-03 13:35:48 +00:00
Marian Eichholz 41b72dc6e6 Portability fixes and tweaks for sm3600 2004-04-15 19:56:53 +00:00
Henning Geinitz 0e70e29baf Moved union Option_Value from backend header files to sanei_backend.h. No need
to copy it over and over again. Changed header inclusion order in backend
files to include backend.h after sanei_backend.h. Based on a patch from stef
<stef-listes@wanadoo.fr>.
2003-09-12 16:10:33 +00:00
Henning Geinitz 27beb7d01b Fixed comment headers. They were copied verbatim from the dll backend. 2003-04-02 14:04:06 +00:00
Henning Geinitz 249f649218 Move config.h include to the top of the include list to avoid compilation
errors on platforms not defining u_char. Added AIX lalloca check.
2002-12-04 17:33:46 +00:00
Marian Eichholz a1641eaedc sm3600 warningless <eichholz@computer.org> 2002-04-18 18:11:23 +00:00
Marian Eichholz dd3f41a5bd change request vom HMG honored <eichholz@computer.org> 2002-04-17 21:38:51 +00:00
Marian Eichholz 7e13df9195 sm3600 tree synced (eichholz@computer.org) 2002-04-15 21:30:48 +00:00
Marian Eichholz 31db505f02 sm3600: <marian@freenet-ag.de> better calibration and fixed non-statics 2001-05-30 22:35:46 +00:00
Marian Eichholz 44682ed3d4 build 3 of sm3600 2001-05-29 19:43:05 +00:00
Henning Geinitz c452492f59 setResolutions has only 5 instead of 6 resolutions.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-27 09:22:11 +00:00
Henning Geinitz 9904ee4f24 Made all non-sane-api functions static. Fixed some warnings.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-26 12:29:23 +00:00
Henning Geinitz 25703944ef Added sm3600 backend
(from Marian Eichholz <eichholz@computer.org>).
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-16 18:59:55 +00:00