Wykres commitów

319 Commity (escl-fix-sleep-mode)

Autor SHA1 Wiadomość Data
Povilas Kanapickas e9d2cdf67b sanei_usb: Allow backends to modify when USB recording is cleared 2020-12-26 16:01:04 +02:00
Wolfram Sang f9f75ca068 saneopts: add entries for focus/autofocus
coolscan2 has focus entries already reused in coolscan3. Because I want
to add the same options to epson2, it makes sense to make them available
globally. Add i18n while here.

Signed-off-by: Wolfram Sang <wsa@kernel.org>
2020-09-26 16:48:51 +02:00
Peter Marschall 2ad63d4e1e spelling fixes for sane core 2020-08-29 09:18:04 +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
Olaf Meeuwissen bfea8a1a82 Merge branch 'master' into 'release/1.0.30'
# Conflicts:
#   NEWS
2020-05-18 12:08:28 +00:00
Olaf Meeuwissen 8682023faa sanei_tcp: Address possible integer overflow. Re #279, issue 8 2020-05-04 11:54:35 +09:00
Olaf Meeuwissen d4d5d76e83 Update references to the SANE standard
The authors have been added to SANE standard itself, pointers to the
standard now point to the published version and/or the project that
isnow used for its maintenance as appropriate.  References to input
files and installation locations have been removed.
2020-03-05 21:14:34 +09:00
Olaf Meeuwissen 8539f350fd sanei_wire: Fix sanei_w_void function signature
This function needs to have the same number of arguments as any other
functions passed to sanei_w_array() via its w_element argument, i.e.
sanei_w_char and sanei_w_word, in the w_option_value() implementation
in sanei/sanei_net.c.

Fixes [-Werror=cast-function-type] compiler warning.
2019-09-24 21:22:13 +09:00
Povilas Kanapickas 1491a1067e Merge branch 'genesys-usb-capture-debug-msg' into 'master'
genesys: Add a way to record debug messages to USB captures

See merge request sane-project/backends!95
2019-08-08 17:49:06 +00:00
Povilas Kanapickas aa6bdba74d genesys: Add a way to record debug messages to USB captures 2019-08-08 20:33:49 +03:00
Ralph Little eae96342d8 Merge branch 'text_corrections' into 'master'
Some fixes to US messages in source.

See merge request sane-project/backends!91
2019-08-08 16:44:19 +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 4edfb7a287 sanei_usb: Add function to check whether we are using fake data 2019-06-16 20:46:46 +03:00
Povilas Kanapickas b30406873c sanei_usb: Add support for record testing mode 2019-06-16 20:46:46 +03:00
Povilas Kanapickas 7de8efd395 sanei_usb: Add support for "development mode" replay testing 2019-06-16 20:46:46 +03:00
Povilas Kanapickas 0122c060b7 sanei_usb: Add support for replay testing 2019-06-16 20:46:46 +03:00
Olaf Meeuwissen 8b51e449f6 Add ignore patterns
These files were removed in 1c143f630e.
2019-06-08 12:36:06 +09:00
Olaf Meeuwissen 1c143f630e Remove more generated files. Re !72 2019-06-02 21:33:22 +09:00
Povilas Kanapickas 1c3e1aa184 autotools: Remove files generated by autotools from version control 2019-06-01 14:38:36 +03:00
Olaf Meeuwissen be9736020f autofoo: Sync generated files
The AX_CXX_COMPILE_STDCXX* macros that were embedded in aclocal.m4
have been replaced with the versions found in the autoconf-archive
package from Debian 9.
2019-05-21 22:14:46 +09:00
Povilas Kanapickas 72121bc7d8 sanei: Use C linkage for internal functions in C++ mode 2019-05-11 00:03:26 +03:00
Povilas Kanapickas 9e3b5d6381 Update generated files 2019-05-11 00:03:26 +03:00
Povilas Kanapickas 2653cbaec7 Run autoreconf and automake 2019-03-20 23:09:07 +02:00
Olaf Meeuwissen a78969384b autotools: Sync derived files
This was done by running

  libtoolize --copy
  autoreconf --force --install

on Debian GNU/Linux 9.3.
2018-03-17 10:35:57 +09:00
Olaf Meeuwissen 1b2e4b0b3b include/sane/sanei_ir.h: Adjust doc params to match code 2018-02-08 21:53:02 +09:00
Olaf Meeuwissen 8f61317f00 autofoo: Sync generated files 2017-07-15 22:52:00 +09:00
Olaf Meeuwissen d94c29a726 autofoo: Sync generated files 2017-07-15 22:06:05 +09:00
Olaf Meeuwissen 2c1f3d696f autofoo: Sync generated files
This pulls in the changes from 756d286f and e7d9779d.
2017-07-15 17:17:21 +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 f0f187f995 .editorconfig: trim trailing blank lines 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 50fa8efdcf gphoto2: fix libgphoto2 logging integration
In libgphoto2-2.5.0 (tagged for release on 2012-07-10) the GPLogFunc no
longer takes a va_list.  Instead, it passes a formatted message.
2016-09-04 14:39:52 +09:00
Olaf Meeuwissen 23f052113b saned: fix [-Wunused-parameter] compiler warning
The `__sane_unused__` attribute has been moved from sanei_backend.h to
sanei.h to make it generally useful instead of limited to backends.
2016-09-04 12:50:19 +09:00
Olaf Meeuwissen ffd93a9fad Sync autofoo 2016-08-03 22:43:06 +09:00
Olaf Meeuwissen bfd1626c4b Sync autofoo 2016-07-13 23:44:26 +09:00
Olaf Meeuwissen 2481e1e98b Sync autofoo 2016-07-10 21:54:24 +09:00
Olaf Meeuwissen c962368626 Sync autofoo 2016-07-01 23:45:43 +09:00
Olaf Meeuwissen f03f1f66d4 Sync autofoo files 2016-06-29 22:15:06 +09:00
Olaf Meeuwissen 81f9557966 Clean up .gitignore file content
Removes empty lines and duplicates (note that .gitignore patterns are
recursive unless anchored with a leading /).
2016-06-27 22:40:20 +09:00
Olaf Meeuwissen cb4924f210 Stop distclean from removing files willy-nilly
The distclean target should only remove files that make creates.  If
there are any that need taking care of, they should be added in on a
per file basis in the Makefile.am that creates it.
2016-06-26 10:24:30 +09:00
Olaf Meeuwissen 8274a52eec Sort .gitignore files 2016-06-26 10:24:30 +09:00
Olaf Meeuwissen bdade6bb07 Sync derived files with previous changes 2016-06-26 10:24:29 +09:00
Olaf Meeuwissen d853463ef1 Sync derived files
This was done with

  AUTOMAKE="automake --add-missing --copy" autoreconf --force

on Debian GNU/Linux 8.5.
2016-06-14 06:30:48 +09:00
Olaf Meeuwissen 87e12bbf2e Sync derived files with autoreconf --force
For the record, this was done on Debian GNU/Linux 8.5.
2016-06-13 22:24:21 +09:00
Olaf Meeuwissen 04d5e4a0cf Move #include <pthread.h> to sanei_thread.h
The sanei header file may need pthread_t.  If it does, make sure it
is available.
2016-02-13 17:34:46 +09:00
Volker Diels-Grabsch 93298674d0 Merge all compatibility macros around __func__ and __FUNCTION__
Various parts of SANE introduced their own compatibility macros for
old compilers that don't support __func__.  Most of these definitions
are identical or have minor differences.  This patch replaces them
with a single instance in the central header file for backends.
2015-12-20 15:27:45 +09:00
Olaf Meeuwissen e094c5b43b Invert sense of sanei_thread validity check
Double negatives suck.
2015-11-24 18:19:31 +09:00
Luiz Angelo Daros de Luca 33495ef9b4 Add missing <sys/types.h> includes 2015-10-27 22:34:52 +09:00
m. allan noah 2ecf18f6fb autoheader and automake
After recent PNG and SNMP changes, need to run autoheader and automake
2015-10-02 21:53:14 -04:00
m. allan noah 87bfd53512 Run autofoo for recent changes 2015-09-19 13:39:38 -04:00