Wykres commitów

21 Commity (23f47a0a158480b3a68b5b8b06a42f73f1736439)

Autor SHA1 Wiadomość Data
Ralph Little 31a09f5500 various: convert pre-ANSI declarations to ANSI
Newer clang deprecates the pre-ANSI way to declare functions with no args.
This breaks recent Fedora CI images.
2024-09-05 22:17:27 -07:00
David Ward f3162bafa8 Replace variable self-assignments to avoid Clang warnings
These were intended to suppress GCC warnings about unused variables.
However, this leads to different warnings from Clang instead.

Use another approach that suppresses warnings from both compilers.
2022-03-08 19:00:00 -05:00
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 f4fb21e334 spelling fixes for hp3900 backend 2020-08-29 09:18:03 +02:00
Olaf Meeuwissen 21bb96d61e Merge branch 'fix-warnings' into 'master'
Fix -Wimplicit-fallthrough warnings

See merge request sane-project/backends!85
2019-08-11 01:48:16 +00:00
Ralph Little fdc23d129a 1) Correct some spelling mistakes
2) Convert some British spellings to US
3) Modified some longer sentences to improve readability.
4) Modified en_GB to suit
2019-08-05 20:54:18 -07:00
Povilas Kanapickas e40596c2a5 Fix -Wimplicit-fallthrough warnings by adding standard annotations 2019-06-30 11:58:32 +03:00
Jörg Frings-Fürst 1808a63b00 Replace the startup gamma with the same from the standalone version
Fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629470
2017-05-13 18:38:43 +09:00
Mark Buda c591d2b7da Correction of some spelling/grammatical errors in source code 2014-05-15 22:04:37 -04: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
Jonathan Bravo Lopez effbffcf0c Fix bug 311991: "Bad option sizes let frontend (e.g. xsane) crash" 2009-10-01 18:16:57 +02:00
Jonathan Bravo Lopez 4b9e686065 * backend/hp3900_sane.c, backend/hp3900_config.c, backend/hp3900_types.c,
backend/hp3900.conf.in, doc/sane-hp3900.man, doc/descriptions/hp3900.desc:
  Added support for HP Scanjet G3110 scanner.
2009-01-06 15:09:22 +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
Mattias Ellert d19b1a6b6e Correct typos, update localization 2008-05-29 19:24:12 +00:00
Jonathan Bravo Lopez fa54852d6e Setting appropiate capabilities to some advanced options 2008-05-23 08:34:53 +00:00
Jonathan Bravo Lopez 041f5cd20c * backend/hp3900_sane.c: use 1.1.0 well-known option group strings.
* backend/hp3900_config.c, backend/hp3900_debug.c,
  backend/hp3900_rts8822.c, backend/hp3900_types.c,
  backend/hp3900_usb.c: fixed reference position detection for
  HP3800/HPG2710 scanners. Code clean up.
2008-05-22 10:24:31 +00:00
Jonathan Bravo Lopez ebc0909bdb * backend/hp3900_sane.c: Fixed optional grayscale emulation
* backend/hp3900_debug.c: Silence gcc warnings when tiffio.h is not used
2008-02-26 09:23:23 +00:00
Jonathan Bravo Lopez e1f9664106 Added support for a new scanner: HP ScanJet G2710
Minor changes
2008-02-13 06:35:26 +00:00
Mattias Ellert 4bb074f81c New translation keys for hp3900 backend. Updated Swedish translation 2007-12-19 10:47:04 +00:00
Jonathan Bravo Lopez 5dac78ac43 Added files for 'hp3900' backend 2007-12-13 00:27:53 +00:00