Wykres commitów

116 Commity (master)

Autor SHA1 Wiadomość Data
Wolfram Sang eb42ad08d5 treewide: use SANE_CURRENT_* macros consistently
Backends use a mixture of SANE_CURRENT_{MAJOR | MINOR} and V_{MAJOR |
MINOR} with all kind of permutations. I was confused by this and one
comment in pieusb.c tells me I was not alone. Some items in old
changelogs suggest to use the SANE_CURRENT_ macros in backends, so let's
switch to do that with the exception of net.c and dll.c. Done with:

$ find backend -name '*.[ch]' | xargs sed -i '/nearly every/ ! { s/\<V_M/SANE_CURRENT_M/g }'
$ git checkout backend/net.c backend/dll.c

And manually removing the comment from pieusb.c. Everything still builds
fine.
2021-06-08 19:01:41 +02:00
Olaf Meeuwissen e79adde8b2
Use URL to refer users to copies of the GPL and LGPL
With the exception of use in three quotes as well as our inlcuded copy
of the GPL, all use of the Free Software Foundation's postal address
has been removed.

Re #320.
2021-02-12 17:41:38 +09:00
Peter Marschall 9afda64c42 spelling fixes for plustek backend 2020-08-29 09:18:03 +02:00
Ralph Little 790bdd822a plustek: Fix [-Wformat-overflow=] compiler warnings on Debian 10
Also fixes a format truncation warning observed elsewhere.
2019-12-22 02:05:53 +00:00
Povilas Kanapickas e40596c2a5 Fix -Wimplicit-fallthrough warnings by adding standard annotations 2019-06-30 11:58:32 +03:00
Povilas Kanapickas 16a8d55480 Don't use strings that are similar to conflict markers in debug msgs 2019-05-10 21:05:51 +03:00
Olaf Meeuwissen df1aba21bc SANE_Pid: Fix [-Wint-conversion] issues
Not all pthreads implementations use an integer type for pthread_t.
As a matter of fact, POSIX has explicitly withdrawn the requirement
that it must be an arithmatic type.

The musl C library uses a `struct __pthread *` which triggered the
warnings.  As of this change, sanei_thread.h works around this by
providing two new macros to help keep this issue out of sight.  All
backends have been changed to use these macros.
2017-07-15 14:47:54 +09:00
Olaf Meeuwissen 1a1c808c15 plustek: Fix [-Wshift-negative-value] compiler warning 2017-06-26 12:08:37 +09:00
Olaf Meeuwissen 23891a2646 .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
Olaf Meeuwissen d3d5dc3da0 Update to autoconf-2.69
This gets rid of a number of obsoleted macros and replaces RETSIGTYPE
with a void literal which can be assumed for C89 and later.

This changeset was prepared using autoupdate and modified to get rid of
whitespace and doubled [] changes.  Changes to acinclude.m4 were added
by hand.
2016-06-13 22:05:34 +09:00
Olaf Meeuwissen e094c5b43b Invert sense of sanei_thread validity check
Double negatives suck.
2015-11-24 18:19:31 +09:00
Olaf Meeuwissen fe12d31e68 Fix SANE_Pid related -Wsign-compare warnings
This may fix threading related issues on WIN32 platforms, BTW.
2015-11-24 18:19:31 +09:00
Gerhard Jaeger b77df93a26 Bumped build number 2013-09-16 17:15:39 +02:00
Gerhard Jaeger 53b15962e1 Bumped build number. 2013-02-13 10:33:29 +01:00
Gerhard Jäger 67379f2684 Fix batch scanning.
Apply patch submitted by Elias Oltmanns <eo@nebensachen.de>
2012-03-19 17:27:54 +01:00
Gerhard Jaeger d2d4420a6b * backend/plustek-usbdevs.c:
Tweaked highspeed settings for Epson 1260
2009-04-27 18:36:46 +00: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
Gerhard Jaeger 39dabb3a09 Bumped build number 2008-08-25 20:15:11 +00:00
Mattias Ellert d5ae0bbc3d Fix for bug #306751: sanei-thread with pthreads on 64 bit 2008-05-15 12:50:25 +00:00
Gerhard Jaeger bbc271977b Bumped build number 2007-12-17 14:27:35 +00:00
Gerhard Jaeger 15be36e0b4 * backend/plustek-usb.[ch] backend/plustek-usbcal.c
backend/plustek-usbdevs.c backend/plustek.[ch]:
  Tweaked TravelScan464 settings. Improved AFE gaincalculation
  for CIS devices. This should avoid stripes in the scanned images.
2007-11-23 16:46:05 +00:00
Mattias Ellert 7c6b4d6a99 Fix handling of valid "negative" PIDs 2007-11-18 10:59:18 +00:00
Gerhard Jaeger 2c944f5f6f Tweaked TravelScan464 settings. Added possibility to disable
dark-calibration with lamp on (touches devices like CanoScan1220 etc.)
Use attribute packed for data access structs
2007-11-16 08:42:10 +00:00
Mattias Ellert abd402ad51 Correct the test of the return value from sanei_thread_begin 2007-11-16 08:04:02 +00:00
Gerhard Jaeger cf3691ed90 Bumped build number 2007-11-08 19:46:31 +00:00
Gerhard Jaeger ec062ad96b Bumped build number 2007-07-26 20:39:03 +00:00
Gerhard Jaeger d6261ec5df Added flag to allow only 1- and 8-bit scanmodes. The Q-Scan does
not seem to support 14-bit modes.
2007-07-10 09:01:54 +00:00
Gerhard Jaeger d7d8160b5f Added sheetfed device Q-Scan USB001 from Portable Peripherals
Fixed Mustek Bearpaw and made some speedup (bugreports #304343 and #301763)
Fixed calibration for senororders other that RGB
2007-06-29 08:39:56 +00:00
Gerhard Jaeger b851bf539a * doc/plustek/Plustek-USB.changes: Update.
* backend/plustek.c: Bumped build number.
* backend/plustek-usb.c: Fixed typo.
* backend/plustek-usbdevs.c: Added CanoScan to all Canon
  device strings, identified one more Plustek device as U24.
* backend/plustek-usbhw.c: Fixed button handling for Plustek/
  KYE devices and added some more debug messages.
2007-03-05 19:50:32 +00:00
Gerhard Jaeger 06323b4597 * doc/plustek/Plustek-USB.changes: update.
* backend/plustek.c: bumped build number, fixed option
  descriptors, see bug #303786.
2006-11-22 20:30:32 +00:00
Gerhard Jaeger 7ab8ce6e13 * doc/plustek/Plustek-USB.changes: update.
* backend/plustek.c: bumped build number.
* backend/plustek-usbdevs.c: lowered speed for LiDE20/30 when
  using low resolutions.
* backend/plustek-usb.c: fixed warning condition.
2006-08-11 05:42:02 +00:00
Gerhard Jaeger 67ae886d9c * doc/plustek/Plustek-PARPORT.changes doc/plustek/Plustek-USB.changes
doc/u12/U12.changes: update.
* backend/artec_eplus48u.c backend/plustek.c backend/plustek_pp.c
  backend/u12.c: changed sane.type to "flatbed scanner" only.
* backend/plustek-usbdevs.c: fixed LiDE20/30 motor settings
2006-08-09 12:47:58 +00:00
Gerhard Jaeger c927b4acdf * backend/plustek.c: Fixed the fix (problem when trying to select bit-depth). 2006-07-02 14:35:16 +00:00
Gerhard Jaeger 3354675a85 * doc/plustek/Plustek-USB.changes: Update
* backend/plustek.c: Fixed problem when trying to select bit-depth.
2006-06-30 11:53:48 +00:00
Gerhard Jaeger 08ecce430c Fixed calibration cache issues (coarse calibration for all modes,
correct fine calibration for sheetfed devices).
2006-06-08 07:49:38 +00:00
Gerhard Jaeger 905ba1af00 Grmlll - missed those two :( 2006-05-28 11:34:58 +00:00
Gerhard Jaeger fffa4ace64 * plustek.c: Bumped build number.
* plustek-usbdevs.c: Fixed CanoScan N1220U settings.
2006-01-31 08:30:04 +00:00
Gerhard Jaeger e1e5d9ec3c Bumped build number.
Fixed constraint_type for OPT_BUTTON.
2006-01-19 13:05:47 +00:00
Gerhard Jaeger d37f19e452 Bumped build number. 2006-01-18 11:03:55 +00:00
Gerhard Jaeger a136297e6d Added speedup option. 2005-10-28 06:07:24 +00:00
Gerhard Jaeger 337854fd76 Bumped build number. 2005-10-25 08:15:48 +00:00
Gerhard Jaeger e149a7ee3b Bumped build number. 2005-10-21 07:19:04 +00:00
Gerhard Jaeger 716104d960 Bumped build number. 2005-10-02 19:36:15 +00:00
Gerhard Jaeger db5cdf8c42 * doc/plustek/Plustek-USB.changes: Update.
* backend/plustek.c: Bumped build number.
* backend/plustek-usb.c backend/plustek-usbscan.c: Fixed problem,
  when trying to scan at resolutions beyond the optical one
  (sensor stops too early).
2005-08-22 07:29:45 +00:00
Gerhard Jaeger f512d113f2 Removed obsolete _WAF_BLACKFINE.
LiDE20 does not seem to have a reliable black calibration area, so the
devices now will switch off the lamp for dark calibration.
Fixed line statistics and added calibration data output.
Bumped build number.
2005-08-19 11:55:10 +00:00
Gerhard Jaeger 97761aa27b Cleanup.
Bumped version and build number.
Activated IPC between reader-process and parent.
2005-08-15 14:39:53 +00:00
Gerhard Jaeger af4091095a Bumped build number. 2005-08-08 07:37:01 +00:00
Gerhard Jaeger 1b2f175cda Bumped build number. 2005-07-21 09:59:07 +00:00
Gerhard Jaeger aeeaed58e4 Fixed scanarea calculation. 2005-07-07 09:57:35 +00:00
Gerhard Jaeger 18764ad4a9 Added button support, did some cleanup, added IPC between
reader- and parent-process.
2005-07-04 09:54:31 +00:00