Wykres commitów

15 Commity (master)

Autor SHA1 Wiadomość Data
Christian Theis 1aead16faf enable test backend to scan high res images 2022-05-29 20:52:51 +01:00
Ralph Little 3a5f128e8a Add int_inexact option to test SANE_INFO_INEXACT. 2021-10-14 14:47:51 +00: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
Fletcher Woodruff f71ac6126f test: free memory used for string options
Inside Test_Device, track whether we've already called init_options().
If we have, don't call it again when calling sane_open() again.

Add a function cleanup_options() which frees the memory used for these
options, and call it in sane_exit() if we previously called
init_options().

Change Test_Devices to be initialized with calloc instead of malloc,
so that we can assume that uninitialized fields are NULL, and can safely
call free() on them unconditionally.

This eliminates some larger memory leaks within the test backend.
2020-10-19 09:48:36 -06:00
Kåre Särs 5683aab66b Add gamma test options 2020-07-26 09:39:23 +00:00
Alessandro Zummo b39c12dd7b Define MM_PER_INCH once for all 2009-06-18 15:54:49 +02:00
m. allan noah 8733651c4b test backend checks for options that have not been loaded before being controlled 2008-06-26 13:14:23 +00:00
Mattias Ellert d5ae0bbc3d Fix for bug #306751: sanei-thread with pthreads on 64 bit 2008-05-15 12:50:25 +00:00
Henning Geinitz 7b03fc2168 Added option "source" which can be used to simulate an Automatic Document Feeder
(ADF). Added copyright header to test.h.
2006-01-02 22:55:44 +00:00
Gerhard Jaeger a1ec707aee added sanei_thread support 2003-10-08 20:32:39 +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 04dd7d101f Added support for OS/2 (from Franz Bakan <fbakan@gmx.net>). 2003-04-10 08:36:10 +00:00
Henning Geinitz 2c16e3308b Added option invert-endianess to test 16 bit modes.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-07-24 19:57:56 +00:00
Henning Geinitz 1e582217c0 Added support for lineart mode with pixels_per_line not divisible by 8. Added
support for padded image formats. Added documentation for all options.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-06-09 17:44:20 +00:00
Henning Geinitz 798ff200da Added new test backend.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-13 19:07:49 +00:00