Wykres commitów

26 Commity (9cd0b1809c6eec83b4e5cd88dd39db1cdaddb492)

Autor SHA1 Wiadomość Data
David Ward 9cd0b1809c lexmark_low: Adjust calculation of bytes available in read buffer
GCC warns that an unsigned value is passed to abs(), which may not be
intended. To resolve this warning, adjust the code so abs() is not used
and the behavior is more explicit.
2022-03-08 19:00:00 -05:00
David Ward 1a933bba7e Cast pointer arguments if needed when using "%p" format specifier
Pointer arguments must have type (void *) when printed with the format
specifier "%p".
2022-03-08 19:00:00 -05: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 56be6cf59a spelling fixes for lexmark backend 2020-08-29 09:18:04 +02: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 7c0f5ec66c lexmark: fix [-Wmaybe-uninitialized] compiler warning
This adds a default handler to switch statement so low_get_start_loc()
bails before the start_600 variable is used.
2015-12-27 18:38:50 +09:00
Yuri Chornoivan 648d933c56 Fix minor typos in messages and comments 2015-08-31 20:31:54 -04:00
Stéphane Voltz 54742a1831 cppcheck errors and warnings fixes 2013-02-27 21:26:29 +01:00
Stéphane Voltz a77381a4af increase tolerance for home point detection 2011-07-15 07:29:12 +02:00
Stéphane Voltz 25dc093bb6 fix place for DBG statement 2011-01-03 20:56:22 +01:00
Stéphane Voltz 91832dccb3 add X74 support to lexmark backend
- patch from "Torsten Houwaart" <ToHo@gmx.de>
2010-12-24 08:02:44 +01:00
Stéphane Voltz 38276f32ff improve init time debug messages 2009-12-30 08:23:52 +01:00
Stéphane Voltz 255c83e1d7 minor memory handling fixes
- check success after calloc()
- fix memleak in find_start_line()
2009-10-01 06:22:25 +02:00
Stéphane Voltz 61cf53cf19 don't use resolution higher than sensor's max when calibrating
- change sanei_lexmark_low_set_scan_regs to have a resolution parameter
- cap sanei_lexmark_low_set_scan_regs resolution to sensor max dpi
	when calibrating
2009-07-03 07:23:11 +02:00
Stéphane Voltz 7c187f2b1b clean up f3/f4 registers assignement 2009-06-20 07:59:23 +02:00
Stéphane Voltz 098f576ab9 revert f3/f4 register assignement change 2009-06-20 07:53:37 +02:00
Stéphane Voltz dd87aecc17 work to fix bug 311682
- improve debug traces in low_is_home_line()
- shrink search window to detect home reference point
- move f3/f4 setting to be f4/f5 register setting
2009-06-16 13:44:28 +02:00
Stéphane Voltz bf57122892 work to fix bug #311862
- debug trace fix
- better 'fake usb'
- register setting that maybe fix #311862
- include cleanup
2009-06-09 21:56:51 +02:00
chris@cnpbagwell.com 4d9e8138af standardize including local sane/ include files.
Source code was inconsistent on how they were referencing
include files in include/sane.  In certain cases, sane/sane.h
and sane/saneopts.h was really including external copies (with
some preprocessor implementations anyways).
2009-05-07 22:06:20 -05:00
Chris Bagwell 70f3fdfba4 * acinclude.m4, backend/*.[ch], tools/*.[ch], frontend/*.[ch]:
Global replace of u_int??_t with C9x standard based uintxx_t
 in order to remove some tricky and overlapping portability logic
 from acinclude.m4 and leave it in only m4/stdint.m4.
2009-02-26 03:15:43 +00:00
Chris Bagwell 8b5df29714 Submit Makefile.in from Makefile.am submitted previously.
Updated backends with EXTRA_* files to allow Makefile's
to always pass in BACKEND_NAME to be fixed to backend name
instead of filename; while still making sure that
SANE_DEBUG_${BACKEND}* exist as documented in man pages.
Add references to epson and epson2 man pages about
SANE_DEBUG_EPSONx_SCSI and _NET options.
Created an epson2 man page; based mostly on epson page.
2009-01-23 03:50:22 +00:00
m. allan noah 994bef3b16 reduce gcc pedantic/ansi warnings from 690 to 280 lines, mostly via casts in
str*() calls, also update hpljm1005 sane_cancel code
2008-02-04 01:20:01 +00:00
Mattias Ellert af663bc5e7 Fix format warnings 2008-02-03 10:34:20 +00:00
Stéphane Voltz 148e4bb599 - fixed compilation warnings 2007-10-01 05:03:06 +00:00
Stéphane Voltz dce6df9182 - moved experimental version to current tree 2007-10-01 04:27:24 +00:00