Wykres commitów

80 Commity (05ed63fa34edd1e3c842b996f85d554bee8d8df1)

Autor SHA1 Wiadomość Data
Olaf Meeuwissen c6bfe88c31 Update mailing lists addresses to new location 2018-04-18 21:36:00 +09:00
Olaf Meeuwissen df1aba21bc SANE_Pid: Fix [-Wint-conversion] issues
Not all pthreads implementations use an integer type for pthread_t.
As a matter of fact, POSIX has explicitly withdrawn the requirement
that it must be an arithmatic type.

The musl C library uses a `struct __pthread *` which triggered the
warnings.  As of this change, sanei_thread.h works around this by
providing two new macros to help keep this issue out of sight.  All
backends have been changed to use these macros.
2017-07-15 14:47:54 +09:00
Olaf Meeuwissen f8eb12b49d mustek: Fix [-Wshift-negative-value] compiler warning 2017-06-26 12:08:17 +09:00
Olaf Meeuwissen 39849809d1 mustek: Fix [-Wunused-const-variable=] compiler warning
The const variables' definition has been #ifdef'd to prevent loss of
protocol info.

Neither scsi_area_and_windows nor scsi_lookup_table appear to have
been used for anything.
2017-06-26 11:16: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
Olaf Meeuwissen d3d5dc3da0 Update to autoconf-2.69
This gets rid of a number of obsoleted macros and replaces RETSIGTYPE
with a void literal which can be assumed for C89 and later.

This changeset was prepared using autoupdate and modified to get rid of
whitespace and doubled [] changes.  Changes to acinclude.m4 were added
by hand.
2016-06-13 22:05:34 +09:00
Olaf Meeuwissen 664398cc31 mustek: fix [-Wunused-but-sed-variable] compiler warnings 2015-12-27 18:41:54 +09:00
Olaf Meeuwissen e094c5b43b Invert sense of sanei_thread validity check
Double negatives suck.
2015-11-24 18:19:31 +09:00
Olaf Meeuwissen fe12d31e68 Fix SANE_Pid related -Wsign-compare warnings
This may fix threading related issues on WIN32 platforms, BTW.
2015-11-24 18:19:31 +09:00
Julien BLACHE 98c8824299 mustek: add missing array subscript in NULL check 2010-06-23 18:21:38 +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
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
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 d5ae0bbc3d Fix for bug #306751: sanei-thread with pthreads on 64 bit 2008-05-15 12:50:25 +00:00
Mattias Ellert 82b8049f5d Fix for bug #306775 2007-11-18 11:09:05 +00:00
Mattias Ellert 7c6b4d6a99 Fix handling of valid "negative" PIDs 2007-11-18 10:59:18 +00:00
Mattias Ellert abd402ad51 Correct the test of the return value from sanei_thread_begin 2007-11-16 08:04:02 +00:00
Henning Geinitz b3669f8d6e Added options to set the time after which the lamp of the A3 Pro is shut off
and to shut it off immediately.
2005-05-05 17:28:38 +00:00
Mattias Ellert aa1be3ad2c Fixing fuzzy translations 2004-10-21 20:26:15 +00:00
Henning Geinitz af58065746 64 bit platform fixes (bug #300799). 2004-10-03 17:34:36 +00:00
Henning Geinitz a33211805c Reduced scan area of Mustek Paragon 1200 A3 Pro. Removed warning
message. Increased support level to complete.
2004-06-08 11:34:02 +00:00
Henning Geinitz d7e5361782 Added detection of Mustek ScanExpress 1200 FS. 2004-03-21 12:35:39 +00:00
Henning Geinitz 08486e6be4 Added support for Mustek Paragon 600 II EP (SCSI-over-parallel port). This is
based on a patch from James Perry. Support for libiee1284 is missing until
now. Closes bug #300143.
2003-12-25 20:27:49 +00:00
Henning Geinitz c0340511f0 Added support for sanei_thread. Removed OS/2 specific code.
Added more debug messages.
2003-10-29 10:45:33 +00:00
Henning Geinitz 23b9e8c3a5 Use the same title for brightness as in other backends. 2003-10-05 11:45:51 +00:00
Henning Geinitz 0f6364f640 Fixed sane-devel address. 2003-09-24 13:31:00 +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 8d9c13ed82 Minor debug message updates. Fixed a little bug in sane_control_option (gamma
control). Removed the signal blocking again. That only hides the segfault in
sanei_scsi.  Check if there are documents in ADF for Paragon 2. Otherwise
return error. Fix some minor issues in reading the config file.
2003-03-07 19:31:26 +00:00
Henning Geinitz 3cf8377bee Initialize global variables in sane_init. 2003-02-22 16:54:22 +00:00
Henning Geinitz b9a6e5cc4a Make sure that the result of the reader_process is interpreted
correctly. Block signals when waiting for a SCSI request to finish. Otherwise
we may get a segfault if the reader_process is terminated while waiting.
2003-02-17 12:05:56 +00:00
Henning Geinitz 1652b580a4 Removed hardcoded option size. 2003-01-10 17:15:12 +00:00
Henning Geinitz a543ca8242 PACKAGE_VERSION fix. Fixed debug message in do_stop: really print exit status
of reader process.
2002-11-29 18:22:00 +00:00
Henning Geinitz 912c6f300d Upload linear gamma table for Pro models if custom gamma is off instead of
uploading the composed gamma table. That avoids applying gamm twice. Minor man
page update.
2002-11-07 13:18:17 +00:00
Petter Reinholdtsen 514da4e0d4 Wiped old repository. Imported v1.0.1. 1999-08-09 18:06:01 +00:00
Henning Geinitz e408f0f925 Fixed shutting off the lamp for the Paragon 1200 A3 Pro. 1994-10-11 08:15:27 +00:00
Henning Geinitz 2615f5e011 Fixed version number. 2002-09-17 20:58:13 +00:00
Henning Geinitz 6a3aff6ea2 Fixed some warnings. 2002-07-30 18:59:57 +00:00
Henning Geinitz f9d8636dd4 Increased width and height of Paragon 800 and 600. 2002-07-07 14:50:52 +00:00
Henning Geinitz e2760e9252 Fixed problem for Paragon 6000SP (color and gray modes produced solid black
images). Minor cleanups.  New version: 1.0-125.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-06-07 16:07:16 +00:00
Henning Geinitz ddd3d7cb70 Set X minimum value to 0 for Paragon 6000SP.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-05-28 18:59:43 +00:00
Henning Geinitz 93601f1683 Check return value of waitpid. Don't evaluate status of children if waitpid
wasn't successful.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-05-05 20:41:51 +00:00
Henning Geinitz 31cfd02f87 Print usefull DBG messages for options without a name. Undef MIN and MAX
macros before defining them.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-24 17:43:29 +00:00
Henning Geinitz 75a53e20b8 Set freed variables to 0 in sane_exit. Fixed coding style. New version:
1.0-121.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-10 20:59:30 +00:00
Henning Geinitz 4958dd297b Fixed color three-pass scanning for some scanners.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-06 20:39:01 +00:00
Henning Geinitz 797a910e48 Fixed halftone pattern handling. The buffer was way too small. Option 0 has
an empty name. Better debug output for dev_cmd. Set size for group options to
0. Set size of halftone pattern to non 0.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-03-20 21:27:21 +00:00
Henning Geinitz 8a3967bb03 Fixed some DBG format warnings.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-02-14 19:50:07 +00:00
Henning Geinitz 300f9c8f91 Fixed undefined operation warnings.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-23 20:37:46 +00:00