Wykres commitów

26 Commity (b49deae017ea893f0ffbca44fa1c26b54ee4fb11)

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 a307ba8ccf spelling fixes for u12 backend 2020-08-29 09:18:02 +02: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 ff535ef1ea u12: Fix [-Wshift-negative-value] compiler warning 2017-06-26 12:09:39 +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 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
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 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 938a9719ce * doc/u12/U12.changes: Update.
* backend/u12.c: Bumped build number.
* backend/u12-hw.c: SoftwareReset is now disabled in
  cancelSequence when the device is a Genius scanner.
2006-02-14 10:26:39 +00:00
Gerhard Jaeger 35d6d250ab Using now the well known MODE definitions. 2004-10-06 13:11:23 +00:00
Mattias Ellert ac9ec0ff1c Missed one... 2004-06-20 01:22:44 +00:00
Gerhard Jaeger d3551d4825 minor fixes. 2004-04-14 19:05:16 +00:00
Gerhard Jaeger 1db4a06965 major update, compilation fixes. 2004-01-21 08:15:16 +00:00
Gerhard Jaeger 21fbbbb312 activated cancel function, added lamp off timer function, cleanup, stability fixes. 2004-01-19 19:41:02 +00:00
Gerhard Jaeger fab18995b2 Fixed preview bug. 2004-01-15 17:50:09 +00:00
Gerhard Jaeger 6c660815d3 bump up version, fixed device autodetection and corrupted pictures,
improved model-detection.
2004-01-14 19:10:43 +00:00
Gerhard Jaeger 43dac158ba copyright updates. 2004-01-09 14:25:56 +00:00
Gerhard Jaeger a20efe37fb initial checkin. 2004-01-05 20:34:09 +00:00