Wykres commitów

14 Commity (96277ac0527713a12e93c4eae14b70b0ec039a1c)

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 192262a277 spelling fixes for p5 backend 2020-08-29 09:18:03 +02:00
pobrn 45f84a569c respect 'local_only' parameter of sane_get_devices()
Certain backends do network scans even if the 'local_only'
parameter for 'sane_get_devices()' is true. Fix that.

Changes:

1. Modify 'sanei_configure_attach()' so that backend specific
   data may be passed to the 'attach()' function.

2. Use this in certain backends to pass the value of the
   'local_only' parameter so that network related activities
   are only carried out when the value is false.
2020-08-12 12:29:38 +02:00
Olaf Meeuwissen 702a8e27b6 p5: Fix [-Wunused-const-variable=] compiler warning
The u8_range and threshold_percentage_range constants have not been
used for anything ever since the backend's addition.  They probable
ended up in the code as a result of copy-and-paste.
2017-06-26 11:43:01 +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
Stéphane Voltz 34a6dec3bf minor build number and documentation updates 2012-07-04 06:55:14 +02:00
Julien BLACHE fdf71ff95b p5: fix size_t formatting/printing 2010-06-23 18:21:33 +02:00
Chris Bagwell f5dde0e1dc New fix for conflicting connect() failure in p5 BE
Traced source of conflicting connect() defines to p5
backend including libc.h header file.  On OSX, this
includes socket.h.  Since backend didn't really need
libc.h header and is not a networked backend, reverted
last fix and implement header based fix.

Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
2010-04-12 12:28:46 -05:00
Chris Bagwell bdc81be0da Fix compile fail with connect() on OSX.
socket.h is being included on OSX currently and P5's
static connect is conflicting with socket.h's connect().

Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
2010-04-08 21:05:50 -05:00
Stéphane Voltz af71eda58a replace u_int8_t and u_int16_t by uint8_t and uint16_t 2010-04-06 21:35:17 +02:00
Stéphane Voltz 372f9985f9 compile and warnings fixes for p5 backen 2010-02-15 21:47:04 +01:00
Stéphane Voltz 982bf43a64 p5 (Parallel Port Primax PagePartner) backend files addition 2010-02-15 06:46:04 +01:00