Wykres commitów

12780 Commity (3f555ffc755ac3607d2251a398139e3c56663da2)

Autor SHA1 Wiadomość Data
Ralph Little bff8d25007 Merge branch 'master' into 'master'
Fix hpljm1005 #723

See merge request sane-project/backends!819
2024-01-11 21:54:21 +00:00
ThierryFR 77059fe3d4 Merge branch 'escl_fix_option_without_poppler' into 'master'
escl: Fix option without poppler.

See merge request sane-project/backends!820
2024-01-11 18:23:04 +00:00
Ordissimo cc13a4986d escl: Fix option without poppler. 2024-01-11 19:13:45 +01:00
Tarwirdur Turon 829b11b72e Fix hpljm1005 #723
1. Fixed scan to jpeg/png
2. Fixed bottom part of the image
3. Removed white pixels from the right part of the image
4. Adjusted physical dimensions of the scanning area
2024-01-06 18:45:25 +03:00
Ralph Little aefcb71a23 Merge branch 'lexmark_X2670_backend' into 'master'
lexmark_x2600 add man mages & doc

See merge request sane-project/backends!818
2024-01-01 23:11:26 +00:00
Benoit JUIN 1c4058fb7c update authors and lexmark_x2600 desc 2024-01-01 05:04:00 +01:00
Ralph Little 22e3de3642 net: fix trailing whitespace from previous merge. 2023-12-31 18:46:24 -08:00
Ralph Little 268be2c712 Merge branch 'refactor_getlogin' into 'master'
Refactor deprecated getlogin()

See merge request sane-project/backends!817
2023-12-31 21:35:26 +00:00
Jonathan Schulz 8a57a6934f Refactor deprecated getlogin() 2023-12-31 21:35:26 +00:00
Benoit JUIN e7040a0b51 white space cleanup 2023-12-23 05:57:22 +01:00
Benoit JUIN f3c3dd0513 white space cleanup 2023-12-23 05:54:54 +01:00
Benoit JUIN 26d6390f92 ad man mages & doc 2023-12-23 05:49:47 +01:00
beeduh 4750093faa Add support for epson L360 2023-12-13 06:07:06 +00:00
Ralph Little 32f335d0f1 Merge branch 'master' into 'master'
Update DMC author's contact details

See merge request sane-project/backends!815
2023-12-12 16:57:46 +00:00
Dianne Skoll 3f612c1277 Update DMC author's contact details
My legal name and my email address have changed.
2023-12-11 22:15:30 -05:00
Ralph Little 8096f84a6f Merge branch 'lexmark_X2670_backend' into 'master'
Lexmark x2600 backend

See merge request sane-project/backends!769
2023-12-10 18:36:08 +00:00
Benoit JUIN c1e9a341ab memory leak fix 2023-12-03 08:08:07 +01:00
Benoit JUIN 7efa04ff78 white spaces 2023-12-03 07:12:11 +01:00
Benoit JUIN daebecd216 fix memory leak 2023-12-03 07:11:41 +01:00
Benoit JUIN 84c94b8368 handle usb plug/unplug correctly 2023-12-03 07:03:39 +01:00
Benoit JUIN 068714ef6e fix ifs 2023-12-03 06:14:03 +01:00
Benoit JUIN f7dd8e224d memoy leak fix 2023-12-03 06:00:23 +01:00
Benoit JUIN 7631c15c5e Mem alloc checks, typo and handle cancel scan correctly 2023-12-03 05:51:50 +01:00
Benoit JUIN 80478c865b add licence & author note 2023-11-30 06:47:40 +01:00
Benoit JUIN 0255c74669 free buffers 2023-11-30 04:53:35 +01:00
Ralph Little 65779d6b59 Merge branch 'libxml2-2.12' into 'master'
sanei_usb: Fix build with libxml2 2.12

See merge request sane-project/backends!814
2023-11-29 06:40:36 +00:00
Benoit JUIN ec9efba602 compile/typo fix 2023-11-29 06:39:17 +01:00
Benoit JUIN 0661fe9d89 fix warnings 2023-11-29 06:31:31 +01:00
Benoit JUIN 1fb0a78dd8 simple scan sends cancel on page finish ... 2023-11-29 06:23:32 +01:00
Benoit JUIN c9e8d812df reposition readPtr correctly 2023-11-29 06:10:05 +01:00
Jürg Billeter 3f727cfb8f sanei_usb: Fix build with libxml2 2.12 2023-11-28 21:35:01 +01:00
Benoit JUIN d022fa9c1b use buffers 2023-11-27 05:52:00 +01:00
Alex Belkin 7ccbb3d1a1 CI: Do not use silent rules
Instead use make(1) env MAKEFLAGS set to `-w -O`.

With silent rules we don't see compile commands and only see a error
messages. This is beautiful when there is no errors but harder to
understand the cause when there are errors.

For example, after adding `-Wno-error=unused-but-set-variable`
I still see the error:

  CXX      genesys/libgenesys_la-device.lo
genesys/genesys.cpp:843:19: error: variable 'i' set but not used [-Werror,-Wunused-but-set-variable]
  843 |     for (unsigned i = 0;; ++i) {
      |                   ^

But why? Hard to tell since we don't see compile command line.

With `-w -O` we see each compilation job grouped in the log.

This will help to debug build issues in CI, where reproduction is
costly/harder for a casual contributor. Compilation command is just
above the error. Find errors in log by searching for `error:` or
`warning:` strings.
2023-11-26 15:36:30 +03:00
Alex Belkin 39bf02524f CI: Add -Wunused-but-set-variable for Fedora clang
clang 17 warnings that need to be fixed:

hp-option.c:3812:10: error: variable 'errcount' set but not used [-Werror,-Wunused-but-set-variable]
 3812 |   int i, errcount = 0;
      |          ^

In file included from hp3900.c:59:
./hp3900_sane.c:1755:12: error: variable 'nline' set but not used [-Werror,-Wunused-but-set-variable]
 1755 |   SANE_Int nline = 0;
      |            ^

lexmark_low.c:2500:7: error: variable 'blackLineCount' set but not used [-Werror,-Wunused-but-set-variable]
 2500 |   int blackLineCount = 0;
      |       ^

In file included from plustek_pp.c:124:
./plustek-pp_io.c:425:8: error: variable 'dwTime' set but not used [-Werror,-Wunused-but-set-variable]
  425 |         ULong dwTime = 1;
      |               ^

genesys/genesys.cpp:843:19: error: variable 'i' set but not used [-Werror,-Wunused-but-set-variable]
  843 |     for (unsigned i = 0;; ++i) {
      |                   ^

After fixing them this commit could be reversed.
2023-11-26 15:36:12 +03:00
Alex Belkin f8c3e23aba kodakaio:: Remove Unicode LRO (U+202D) character from comments
GCC 13 error message:

kodakaio.c: In function 'k_init_parametersta':
kodakaio.c:1830:67: error: unpaired UTF-8 bidirectional control character detected [-Werror=bidi-chars=]
 1830 |          * The default color depth is stored in mode_params.depth:<U+202D>
      |                                                                   ~~~~~~~~^
      |                                                                   |       |
      |                                                                   |       end of bidirectional context
      |                                                                   U+202D (LEFT-TO-RIGHT OVERRIDE)

Fixes: 06fae3526 ("kodakaio params.depth corrected for lineart, color mode made the default.")
2023-11-26 14:54:07 +03:00
Alex Belkin 623b8452a1 CI: Bump Ubuntu, Fedora, Debian, and Alpine versions
Alpine (3.15 -> 3.18)
  Debian (10 -> 12)
  Fedora (36 -> 39)
  Ubuntu (22.04 -> 23.10)

They have newer compilers and new warnings.
2023-11-26 14:54:07 +03:00
Benoit JUIN 1513839238 whitespace cleanup 2023-11-26 06:43:53 +01:00
Benoit JUIN fc8e03ef69 cleanup logs 2023-11-26 06:08:37 +01:00
Benoit JUIN 6ee3558990 add color channel swap 2023-11-25 09:23:42 +01:00
Benoit JUIN 768fa3bf59 refactor more readable 2023-11-25 07:18:22 +01:00
Benoit JUIN 94b67794a5 handle high dpi and use a buffer to read data 2023-11-25 06:15:33 +01:00
Benoit JUIN 51aaef6d81 WIP: fill a buffer instead of messy sync read/write 2023-11-24 06:09:27 +01:00
Benoit JUIN 6e9f4b3785 fix debug line 2023-11-23 09:40:54 +01:00
Benoit JUIN 0a0afc2a71 fix typo 2023-11-23 09:13:29 +01:00
Benoit JUIN 5360166729 Merge remote-tracking branch 'origin/lexmark_X2670_backend' into lexmark_X2670_backend 2023-11-23 09:07:22 +01:00
Benoit JUIN 35aed3072c add debug info 2023-11-23 09:06:12 +01:00
Ralph Little 0098b1c58b Apply 2 suggestion(s) to 1 file(s) 2023-11-23 08:05:14 +00:00
Ralph Little 02f1a624f3 Apply 1 suggestion(s) to 1 file(s) 2023-11-23 08:03:57 +00:00
Ralph Little 15795b8071 Merge branch '715-have_libsnmp-redefinition' into 'master'
Resolve "HAVE_LIBSNMP redefinition"

Closes #715

See merge request sane-project/backends!812
2023-11-14 17:54:40 +00:00
Ralph Little bb8155804c configure.ac: Fixes to remove #define redefinitions from config.log
Involves a simple rearrange for some clauses to avoid #define
duplication in the config log.
2023-11-14 09:46:11 -08:00