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
bd081d3bbe
spelling fixes for mustek_usb backend
2020-08-29 09:18:03 +02:00
Olaf Meeuwissen
86ab41d8f1
mustek_usb: Fix [-Wunused-const-variable=] compiler warning
...
The brightness option that used the char_range variable was renamed to
threshold and changed to use u8_range in c95e4638
.
2017-06-26 11:19:55 +09:00
Olaf Meeuwissen
23891a2646
.editorconfig: trim trailing whitespace
2017-05-29 21:14:29 +09:00
Jörg Frings-Fürst
e21bb28e50
Source code string typo fixes
2017-05-13 18:38:43 +09: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
Henning Geinitz
cae6ee91fd
Added workaround for toggle = data0 chipset bug. Fixes bug #300323 .
2004-03-02 21:00:46 +00:00
Henning Geinitz
9a6faa5046
Check if sanei_config_get_string fails because of a single quotation mark
...
in the configuration file.
2003-09-21 10:42:15 +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
7e4fe2df10
Iniatialize global variables explicitely. Mention ma1509.
2003-02-22 16:48:02 +00:00
Henning Geinitz
991bd09675
Fixed PACKAGE_VERSION breakage. PACKAGE_VERSION was redefined by autoconf 2.5
...
with a different meaning. Use PACKAGE_STRING instead.
2002-11-29 18:19:58 +00:00
Henning Geinitz
c95e463805
Added manufacturer comment in mustek_usb.desc. Changed brightness to
...
threshold. Fixed some warnings. Really check the status in usb_low_open.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-07-17 17:33:25 +00:00
Henning Geinitz
2c9106cf96
Free devlist on exit. Undef MIN and MAX macros before defining them.
...
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-24 17:48:48 +00:00
Henning Geinitz
3862186fb0
Fixed coding-style.
...
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-10 19:09:50 +00:00
Henning Geinitz
4fd19494cb
Cleanup in sane_control_option, sane_set_io_mode, sane_get_select_fd and
...
sane_exit. New version: 1.0-13.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-10 18:31:43 +00:00
Henning Geinitz
379fba017b
Option 0 has an empty name now. Group options have size 0 now. Check also for
...
SANE_ACTION_SET_AUTO. Removed buggy output in sane_control_option. Added more
debug output in sane_control_option.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-03-20 21:36:59 +00:00
Henning Geinitz
ad701cc3de
Fixed segfault when opening device again after closing and possible segfault
...
when name="". Type for option 0 must be set to SANE_TYPE_INT
explicitely. Updated GPL/SANE headers.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-03-17 20:20:46 +00:00
Henning Geinitz
c5c45ab7ba
Fixed undefined operation warnings.
...
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-23 20:37:48 +00:00
Henning Geinitz
062cefe068
Removed some warnings. Fixed segfault while exiting. Using empty
...
devicename works now. New version: 1.0-10.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-11 22:38:01 +00:00
Henning Geinitz
fcb2863616
Made usb_low_read_rows more robust. Limited maximum block size and
...
added option for this. New version: 1.0-9.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-12-22 18:33:48 +00:00
Henning Geinitz
8728826c75
FreeBSD is supported to some degree now. Started 1200 USB support.
...
Documentation updates. New version: 1.0-8.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-11-15 21:28:40 +00:00
Henning Geinitz
07484eae82
Fixed problem with 1200UB sensor detection. Started work on 1200 USB.
...
New version: 1.0-7.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-10-07 11:29:34 +00:00
Henning Geinitz
9119bbde38
Update to mustek_usb backend 1.0-6. Increased resolution to the maximum
...
hardware supports. No fixed resolution any more. Gamma table support. Bugfixes.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-09-13 16:27:12 +00:00
Henning Geinitz
6a5048f486
200 dpi support for 600 CU. Some internal reorganizations.
...
New version: 1.0-5.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-09-10 20:24:14 +00:00
Henning Geinitz
5574397138
Added backend mustek_usb for Mustek USB scanners. Currently the
...
600 CU, 1200 CU, 1200 CU Plus and 1200 UB are supported.
2001-09-09 Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-09-09 14:25:58 +00:00