Wykres commitów

42 Commity (3c20a989cfec676fde7f64381f5d15dc6e30586a)

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 e3f20a932c spelling fixes for plustek_pp backend 2020-08-29 09:18:03 +02: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 3eb3d6b9bf plustek-pp: Fix [-Wmisleading-indentation] compiler warnings 2017-07-12 21:20:12 +09:00
Olaf Meeuwissen 73e1d3568d plustek_pp: Fix [-Wshift-negative-value] compiler warning 2017-06-26 12:08:51 +09:00
Olaf Meeuwissen fc4b250a09 .editorconfig: use utf-8 charset throughout 2017-05-29 21:14:30 +09:00
Olaf Meeuwissen 23891a2646 .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
Olaf Meeuwissen 984fefd551 plustek_pp: fix [-Werror=sign-compare] compiler warning 2016-08-28 13:21:11 +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
Gerhard Jaeger 59d9a2d912 Bumped build number
Minor cleanup
2013-02-13 14:29:00 +01:00
m. allan noah ff048f4176 add three new SANE_VALUE macros and use mode name macros from saneopts.h 2010-02-10 23:48:21 -05: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
Mattias Ellert d5ae0bbc3d Fix for bug #306751: sanei-thread with pthreads on 64 bit 2008-05-15 12:50:25 +00:00
Mattias Ellert 7c6b4d6a99 Fix handling of valid "negative" PIDs 2007-11-18 10:59:18 +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 e603ee0021 Bumped build number. 2007-06-18 20:27:43 +00:00
Gerhard Jaeger e44b51c218 * doc/plustek/Plustek-PARPORT.changes: update.
* backend/plustek-pp.h backend/plustek-pp_ptdrv.c backend/plustek_pp.c:
  fixed "not homing" problem, the sensor did not return when
  the driver gets the _IOCTL_STOP command
  fixed compilation issue for kernels > 2.6.15
  fixed compiler warning conditions
2006-08-29 08:57: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 13babf9dab * doc/plustek/Plustek-PARPORT.changes: Update.
* backend/plustek_pp.c: Bumped build number.
* backend/plustek-pp_ptdrv.c backend/plustek-pp_detec.c:
  Fixed bug, that prevents backend from working, when the device
  is another parport than parport0 - spotted by Christoph Steinbruchel.
2006-02-16 08:11:55 +00:00
Gerhard Jaeger 379684a3ed Fixed sizeof(long) issue for 64bit platforms, see
bugreport #302195.
2005-11-17 11:05:12 +00:00
Gerhard Jaeger 8ab9887a05 Bumped build number. 2005-08-10 20:39:00 +00:00
Gerhard Jaeger e9152e5879 Bumped build number. 2005-05-11 14:45:27 +00:00
Gerhard Jaeger b4b0163175 Bumped build number. 2005-04-25 09:52:29 +00:00
Gerhard Jaeger 35d6d250ab Using now the well known MODE definitions. 2004-10-06 13:11:23 +00:00
Gerhard Jaeger dfba0dd7a7 added DevFS support for kernel 2.6, removed floating point
operations (Thanx to Rafal Rzepecki), bumped up build number,
  cleanup work.
2004-07-16 11:39:09 +00:00
Mattias Ellert ac9ec0ff1c Missed one... 2004-06-20 01:22:44 +00:00
Gerhard Jaeger 3eef774dde bumped up version number. 2004-06-08 09:29:18 +00:00
Gerhard Jaeger 5939553028 Fixed Kernel 2.6 compilation problems. 2004-04-14 19:11:48 +00:00
Gerhard Jaeger 1093e3e628 copyright updates and minor fixes. 2004-01-09 15:57:55 +00:00
Gerhard Jaeger c3f2e4b7a6 cleanup work. 2003-12-18 13:22:28 +00:00
Gerhard Jaeger 4a31f9681a Made PS/2 bidirectional mode work. 2003-10-30 15:54:07 +00:00
Gerhard Jaeger ed3b457ccc Made usage of the new sanei_pp functions, made EPP modes work with libieee1284.
Also did some cleanup work.
2003-10-29 16:53:18 +00:00
Gerhard Jaeger fb3ccaefb4 Fixed compiler warnings, using now sanei_pp_udelay() and
made the backend work with libieee1284.
2003-10-26 10:58:36 +00:00
Gerhard Jaeger fb5b49b4b9 Added parport-mode detection. 2003-10-23 15:13:04 +00:00
Gerhard Jaeger fe555addac major update, sanei_pp integration, compilation fixes. 2003-10-22 19:20:31 +00:00
Gerhard Jaeger 81dd39d572 changes due to the sanei_thread-lib work. 2003-10-08 20:34:10 +00:00
Gerhard Jaeger 9e6db289d8 Mainly cleanup work. 2003-09-29 14:59:13 +00:00
Gerhard Jaeger 0388dd02a5 Mainly documentation updates... 2003-09-24 14:08:01 +00:00
Gerhard Jaeger 1eef5c8c60 Updated Plustek backend and added code for alternative CIS calibration.
All the supported CanoScan devices should work now correctly.
Moved the Plustek parallelport support into a separate backend: plustek_pp.
Added new backend for Plustek ASIC 9600x/9800x based parallelport scanner.
2003-09-23 07:10:53 +00:00