Wykres commitów

12630 Commity (86bb976ad6fdc577c679617522788665adba8600)

Autor SHA1 Wiadomość Data
Artur Shepilko 86bb976ad6 xerox_mfp: When scanning from ADF, do not stop the device at page completion
- Stopping and releasing the device causes the ADF to purge any remaining pages,
thus only the first page gets properly scanned (observed with Samsung
SCX-4729FW).
- Instead, when sourcing from the ADF, at each page's completion it should
continue and issue "OBJECT POSITION" command to proceed to the next page.
- Once all pages have been processed, the subsequent "OBJECT POSITION" command
returns the proper "CHECK CONDITION" status  (ADF is empty) and triggers the
device stop and release.
- Additionally, the status of the ADF (loaded/empty) needs to be requeried
at the `sane_start()` for proper handling of the "Auto" mode. Otherwise,
the scanning session retains the ADF state from the start of the session,
even though ADF will become empty. Thus the "Auto" mode will not properly
switch to Flatbed as intended in the client application (observed in
Simple-Scan).

> NOTE: the initial "READ" command in `sane_start()` is extraneous and
> appears to always return STATUS_BUSY (indeed, the scanner is usually
> busy loading the page). The actual READ is correctly done in
> `dev_acquire()`. It may appear benign in a single page scan mode, however,
> it becomes malfunctioning in the mutipage ADF mode. The initial READ,
> when successful, will cause the skipping of the read block from processing,
> as the actual processing is tied to content read from `dev_acquire()`.
>
> Therefore, the initial READ command in the `sane_start()` is removed.
2024-01-25 17:20:03 -06:00
Artur Shepilko 8fe58ab678 xerox_mfp: Use doc source macros for clarity 2024-01-25 17:20:13 -06:00
Artur Shepilko 0a9bf84d3c xerox_mfp: Add support for Samsung SCX-4729FW (network mode) 2024-01-25 17:20:03 -06:00
Ralph Little 22108dca2a Merge tag '1.2.1'
Release 1.2.1
2024-01-17 15:54:42 -08:00
Ralph Little dcf4241470 Merge branch 'macfixes' into 'master'
Mac fixes

See merge request sane-project/backends!821
2024-01-12 05:36:52 +00:00
Ben Olden-Cooligan ec3eacfbcb Remove obsolete pixma macOS workaround
Without this change, pixma scanning is currently broken (tested with Canon MP495). The stated reason for the workaround (libusb not supporting timeouts for interrupts) hasn't been true since 2010:
67d9ef7b68
2024-01-11 20:21:36 -08:00
Ben Olden-Cooligan 3f217248f4 Always use pthreads for macOS
https://gitlab.com/sane-project/backends/-/issues/153
2024-01-11 20:20:47 -08:00
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
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
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