Wykres commitów

60 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 e8ba89fdcc spelling fixes for umax_pp 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
Ralph Little 97dea94959 Revert "plustex: suppressed format truncated compiler warning."
This reverts commit cc7fbd35e535e22cd13cd58979921e0c01fb38b4
2019-12-19 12:14:16 +00:00
Olaf Meeuwissen 2baee4914d umax_pp: Drop reference to ChangeLog in code comment 2019-08-26 21:48:52 +09:00
Povilas Kanapickas e40596c2a5 Fix -Wimplicit-fallthrough warnings by adding standard annotations 2019-06-30 11:58:32 +03: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
Jörg Frings-Fürst e21bb28e50 Source code string typo fixes 2017-05-13 18:38:43 +09:00
Olaf Meeuwissen e65fd1b4cb Fix "discards 'const' qualifier from pointer target type" warnings
The resources pointed to have been acquired by the backend.  It is safe
to cast away the 'const' qualifier when releasing these resources.
2015-11-11 22:41:22 +09:00
Stéphane Voltz 34a6dec3bf minor build number and documentation updates 2012-07-04 06:55:14 +02: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
Alessandro Zummo b39c12dd7b Define MM_PER_INCH once for all 2009-06-18 15:54:49 +02: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 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
Stéphane Voltz 8fb94ddcd9 - change umax_pp backend to use the configuration framework
- allow for 'umax_pp' default device name
2008-08-04 19:49:46 +00:00
Stéphane Voltz 777c8f4f6d - improved sanei_constrain_value to handle arrays (such as gamma
tables)
2008-06-10 04:59:45 +00:00
Stéphane Voltz 5be6af9c72 - removed scanners supported by the lexmark backend from
unsupported.desc
	- umax_pp small copyright refresh
2008-03-02 15:01:13 +00:00
Stéphane Voltz 63fa40d277 - fixed color calibration for 1220P, whit is really white, no more
greenish tint
	- mail address update
2006-09-18 04:59:52 +00:00
Stéphane Voltz 9c28fc433c - sane_start change to allow batch scanning. Previous code would
immediatly return if head was parking, now we wait for parking
	  completion
2005-10-11 05:28:18 +00:00
Stéphane Voltz 8c463cfb76 - added EPP support for UMAX Astra 610P 2005-08-24 05:35:06 +00:00
Stéphane Voltz 9ff04460ef - code cleanups
- 1220P offset and calibration fixes, image quality
		is really good now.
	- 610P shading calibration improvement
2004-10-08 05:16:43 +00:00
Stéphane Voltz db6ba01d78 * backend/umax_pp.c:
option parsing fix
	* backend/umax_pp_low.c:
          minor 1220P calibration fixes
2004-08-28 07:21:12 +00:00
Stéphane Voltz 44065a4f5a - rename 'contrast' to 'offset' and 'highlight' to 'gain'.
Translations will need to be updated.
	- beginning of 610P/1220P codepath merge.
2004-08-25 19:51:58 +00:00
Stéphane Voltz f6c51c2b7e - fixed a 610P initialization bug that shown up when changing from
color to grey mode from within a fronted
	- internal revision numbers increase
2004-07-21 04:42:17 +00:00
Stéphane Voltz aa7f92c063 - added protection against configuration tools that put
several 'port' option in umax_pp.conf file
	- fixed y origin shift bug for 610P
2004-05-15 05:03:42 +00:00
Stéphane Voltz 94e5c585fb - fixed color data lines reordering for 610P 2004-05-13 05:00:28 +00:00
Stéphane Voltz d41fed97b2 - support for UMAX Astra 610P in umax_pp backend 2004-05-03 05:14:20 +00:00
Stéphane Voltz e2b72e6b57 - added ppdev support for 610P
- fixed direct hardware ECP support for 1220P
	- fixed scanning area overflow
	- removed uneeded function
2004-03-15 13:21:13 +00:00
Stéphane Voltz e64495994e - initial ECP support
- version number and status update
	- made safe-auto the default for port access
2004-02-20 05:36:27 +00:00
Stéphane Voltz 512dcd9fd0 * added automatic parallel port detection,
and special keyword in configuration file to use it. Indent cleaning.
2003-10-09 05:27:39 +00:00
Stéphane Voltz 929c5c9e75 * backend/sane-umax_pp.c: fix default port address handling
(patch from Malcolm Parsons <malcolm.parsons@virgin.net>)
  	* configure.in configure include/sane/config.h.in: added detection of
	  machine/cpufunc.h and i386_set_ioperm() for FreeBSD support.
2003-09-18 05:17:23 +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
Stéphane Voltz eaff639e8f - revert change for UTA 2003-08-17 09:04:23 +00:00
Stéphane Voltz d54f39f55b - UTA and custom gamma fix (wrongly inactive ...)
- gamma table check on option set
2003-08-15 06:56:24 +00:00
Stéphane Voltz 4b17ba9ca0 umax_pp.c: cleanings and minor fix in option file reading
umax_pp_low.c umax_pp_low.h: *BSD support for /dev/ppi0
2003-04-18 12:53:55 +00:00
Stéphane Voltz 5ed8c99cb7 - changed 'gain' option name to 'brightness'
- changed 'highlight' option name to 'contrast'
2003-02-25 07:04:12 +00:00
Stéphane Voltz 711f602c76 - reset global vars when needed
- fixed a bug when th device name used was ""
2003-02-23 08:54:16 +00:00
Stéphane Voltz b2370c178e - fixed a big bug related to color plane sync, which gave blur
pictures at > 75 dpi
        - changed version number
2003-02-09 08:26:00 +00:00
Stéphane Voltz eefbee1252 * removed erroneous marking with SANE_I18N of 2 options names 2002-12-02 20:15:03 +00:00
Stéphane Voltz c79500306a - added UTA detection
- version updates
2002-10-31 06:53:52 +00:00
Stéphane Voltz 3e2cec6625 disable scanner protocol facility 2002-10-09 05:16:14 +00:00
Stéphane Voltz 52668672a1 use saneopts.h macros for well-known option titles to fix
translations problems
2002-10-08 20:01:11 +00:00
Stéphane Voltz 95ab2b5dda - removed redundant entry in umax_pp.de.po
- fixed comment typo in umax_pp.conf
	- allow for 4 digits port adress
	- added ppdev ioctl return code check
2002-10-02 06:17:29 +00:00
Stéphane Voltz e4b1534faa * backend/umax_pp_low.c: handled 'short read' with ppdev
* backend/umax_pp.c: assign size of 0 to group options
	* tools/umax_pp.c: upped version number
2002-08-15 08:32:08 +00:00
Stéphane Voltz b24d87f699 - reverted a change in color reordering for 1600P
- added german translations for umax_pp backend
2002-06-05 05:36:46 +00:00
Stéphane Voltz fa0a922861 - put in software lineart for real this time 2002-05-30 16:13:44 +00:00
Stéphane Voltz 0449770a73 - IRIX compile fixes
- 1600P detection bug fix
	- finale bits of software lineart
2002-05-30 04:56:48 +00:00
Stéphane Voltz c50e47e058 - fixed 1200 dpi scan mode which was broken
- added translation support
2002-03-15 16:24:32 +00:00