Wykres commitów

424 Commity (251-scanner-canon-mf110-910-series-is-not-supported)

Autor SHA1 Wiadomość Data
Ralph Little c0e966b21e configure: corrected issue in Makefile.am and removed noinst build of umax_pp tool
Currently, there is no way to disable the build of the umax_pp low level
sources because the tool umax_pp is *always* built. Some platforms
cannot build the umax_pp low level code so this causes problems.
2022-07-22 09:10:46 -07:00
David Ward 7ca518027b tools: Determine starting commit when generating a new ChangeLog file
This was still hard-coded to 1.0.28. Detect this automatically instead
by finding the most recent release tag.
2022-05-14 17:35:43 -04:00
David Ward 7467a9da22 tools: Use topological commit ordering when generating ChangeLog files
This means that commits from the same merge request will always appear
together in the ChangeLog, instead of appearing shuffled together with
other commits that were authored around the same time.
2022-05-14 17:35:43 -04:00
David Ward 4dbfa03ec4 tools: Fix inconsistent formatting when generating ChangeLog files
Use 12-digit short hashes (which appear in merge commits). The number
of digits required to unambiguously identify a commit increases as the
Git repository grows. The ChangeLog for the 1.0.27 release has 7-digit
short hashes, which are no longer meaningful: 9 digits are needed now.
Forcing 12 digits to display here is the solution in the Linux kernel.

Do not "decorate" the log with branch or tag names. It is understood
that each file starts at a specific release tag (e.g. 1.0.27) and ends
at the next tag (1.0.28), or at HEAD for development snapshots. Topic
branch names, or the refs "master" and "HEAD", do not need labeling.
2022-05-14 17:35:43 -04:00
David Ward b3d105cba5 Use snprintf() instead of strncpy() for space-padded strings
The output from the SCSI inquiry command uses fixed-length space-padded
strings, which are copied into null-terminated strings before use.

This is currently done using strncpy(), with the count parameter set to
the string's fixed length. Because a null terminator is not encountered
in the input, strncpy() does not write one in the output, and GCC warns
about potential string truncation. A null terminator is added manually,
but this is error prone (as shown by the fix for the microtek backend).

Use snprintf() instead, which guarantees a null-terminated result and
resolves the warnings from GCC.
2022-03-08 19:00:00 -05:00
David Ward 9daadb8512 sane-find-scanner: Improve output for possible USB scanners
Closes #575
2022-02-17 09:16:30 -05:00
Povilas Kanapickas 3e1de72bcb Setup release notes build using towncrier 2022-01-18 22:12:17 +02:00
Thierry HUCHARD 8090d3844b tools: Reuse sanei_directio 2021-12-15 22:39:51 +02:00
Wolfram Sang 28176df499 tools: epson2usb: always use 4 digits for USB IDs
Otherwise the sorting is too confusing when 3- and 4-digits are mixed.
2021-05-29 12:13:35 +02:00
Olaf Meeuwissen e3962ad184
Add extra documentation and utility file to the source tarball
These might be useful for someone starting from one of our release or
snapshot source tarballs.
2021-02-14 16:01:01 +09: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
Olaf Meeuwissen bb463d642a
Make it easy to update the git-version-gen script 2021-02-07 14:49:52 +09:00
Olaf Meeuwissen c28c9843ed
Use git-version-gen to inject a version
This fixes builds from tarballs without a .git directory.

Fixes #248
2021-02-07 14:46:47 +09:00
Marcin Kocur a9c181a211 Trigger udev rules parsing on all kernel events except of "remove". 2020-10-26 21:15:29 +00:00
Olaf Meeuwissen 404e1500c2 Merge branch 'usb_udev_attrs' into 'master'
Speedup ATTR match for USB devices

Closes #341

See merge request sane-project/backends!510
2020-09-13 06:07:39 +00:00
Peter Marschall b4c6cbeb1f spelling fixes for tools 2020-08-29 09:18:04 +02:00
Peter Marschall e8ba89fdcc spelling fixes for umax_pp backend 2020-08-29 09:18:03 +02:00
StefanBruens ad66f79c43 Speedup ATTR match for USB devices
Fixes #341
2020-08-18 19:23:09 +00:00
Raf Czlonka ce97560e56 Remove double quotes, use curly braces where appropriate, and fix
the $BUSNAME device node path
2020-03-25 20:15:37 +00:00
Raf Czlonka 6fed5be5f3 $BUSNAME is a full device path, not just the device node name 2020-03-25 20:12:53 +00:00
Raf Czlonka 2c9a411b12 Remove superfluous double quotes
Device nodes are always comprised of alphanumeric characters so
there's no need to quote them. That being said, where appropriate,
use curly braces if the variable doesn't terminate the string -
technically, this isn't necessary as the character which follows
is a dot ('.'), which isn't a legal character in variable names so
there's no ambiguity but it makes the variable "stand out" at the
very least.
2020-03-25 20:05:04 +00:00
Raf Czlonka d24a5171c2 chown -> chmod 2020-03-25 20:03:41 +00:00
Raf Czlonka 6b1b071b77 Group commands and add conditionals 2020-03-25 03:02:56 +00:00
Raf Czlonka 0d0c03ab68 Change the owner as well as the group - missed earlier 2020-03-25 02:48:53 +00:00
Raf Czlonka 9687ff8aa0 Additionally to user:group, modes also need changing 2020-03-25 02:47:54 +00:00
Raf Czlonka 5a842d8dd6 Remove useless comments 2020-03-25 02:44:37 +00:00
Raf Czlonka 0b978ea742 Simplify - use test(1) and && instead of 'if ... then ... fi" 2020-03-25 02:25:50 +00:00
Raf Czlonka a129b7767d Incorporate hotplugd(8) patches from the OpenBSD port
https://cvsweb.openbsd.org/~checkout~/ports/graphics/sane-backends/patches/patch-tools_openbsd_attach?rev=1.3
https://cvsweb.openbsd.org/~checkout~/ports/graphics/sane-backends/patches/patch-tools_openbsd_detach?rev=1.2

While there, use "$()" instead of "``" for running commands in a
subshell (this is to match `attach` change commited earlier).

More whitespace fixes.
2020-03-25 02:07:05 +00:00
Raf Czlonka 61881417fa Provide a working hotplugd(8) attach example
Current example not only doesn't work but also hard-codes `ugen0` device name.

Fix whitespace while there.
2020-03-25 01:59:59 +00:00
Olaf Meeuwissen 1f9590ab5a Remove timestamps from sane-desc output. Re #228 2020-03-08 21:29:29 +09: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 311b9ff5bf Remove dependency on external resources during CI. Fixes #178
The update-upstreams.sh script is kept for the convenience of those who
want or need to use it.  It has been slightly modified to provide more
feedback in case of error conditions.
2019-12-02 20:43:51 +09:00
Olaf Meeuwissen e00d5462de Fix libusb related [-Werror=deprecated-declarations] warnings
See http://libusb.sourceforge.net/api-1.0/group__libusb__lib.html
2019-09-28 17:46:22 +09:00
Olaf Meeuwissen 8f3b84f6f4 Adjust ChangeLog trailer comment to match Makefile.am comment 2019-08-26 21:53:09 +09:00
Olaf Meeuwissen f37326784d Merge branch 'ci-tweaks' into 'master'
CI tweaks

See merge request sane-project/backends!125
2019-08-12 09:16:37 +00:00
Olaf Meeuwissen 08bff060f8 CI: Fix make distclean target
Implicit compile dependencies prevent automake from adding dependency
tracking files to the list of files to clean up.
2019-08-11 17:20:47 +09:00
Olaf Meeuwissen 21bb96d61e Merge branch 'fix-warnings' into 'master'
Fix -Wimplicit-fallthrough warnings

See merge request sane-project/backends!85
2019-08-11 01:48:16 +00:00
Olaf Meeuwissen 1be824f2c5 Merge branch 'sanei-usb-testing-mode' into 'master'
sanei: Support capture and replay of USB data for testing

See merge request sane-project/backends!55
2019-08-08 14:01:30 +00:00
Olaf Meeuwissen 85674f1213 doc: Update as per post-release instructions 2019-08-01 21:13:33 +09:00
Olaf Meeuwissen 7799a072b4 CI: Add a scripted release process 2019-07-30 22:40:11 +09:00
Povilas Kanapickas e40596c2a5 Fix -Wimplicit-fallthrough warnings by adding standard annotations 2019-06-30 11:58:32 +03:00
Olaf Meeuwissen 1017d790b6 Always use the latest upstream config.{guess,sub} in source tarballs
This was one of the release tasks but we may as well find out as soon
as possible whether these break anything ;-)
2019-06-30 12:45:03 +09:00
Olaf Meeuwissen b596f98879 Include an up-to-date ChangeLog with every build 2019-06-30 12:45:03 +09:00
Povilas Kanapickas a88b6241cd configure: Add option to enable USB record-replay 2019-06-16 20:46:39 +03:00
Povilas Kanapickas 3b2ecec808 style-check: Ignore patch files 2019-06-01 14:41:32 +03: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 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
Simon J Mudd 37bbbed3cb check-po.awk: Fix minor typos 2018-09-30 20:48:52 +02:00