Alexandre Julliard pushed to branch master at wine / wine
Commits: acf555f9 by Bernd Herd at 2025-11-18T14:43:32-06:00 sane.ds: Replace LocalLock/LocalUnlock with GlobalLock/GlobalUnlock.
The TWAIN Specification defines to use GlobalLock and GlobalUnlock, not LocalLock and LocalUnlock
- - - - - db50439c by Bernd Herd at 2025-11-18T14:43:32-06:00 sane.ds: Store CAP_XFERCOUNT to activeDS.capXferCount.
- - - - - ca155e68 by Bernd Herd at 2025-11-18T14:43:32-06:00 sane.ds: Apply SANE_Start() and SANE_Cancel().
Replace all direct calls to start_device and cancel_device by calls to SANE_Start and SANE_Cancel, controlled by the activeDS.currentState.activeDS.currentState
Allow calling sane_start more than once per sane_cancel.
- - - - - 5ae0cb85 by Bernd Herd at 2025-11-18T14:43:32-06:00 sane.ds: Fill TW_IMAGEMEMXFER.YOffset in SANE_ImageMemXferGet.
Many applications need YOffset to make the mandatory Buffered Memory transfer work.
- - - - - 621cee9e by Bernd Herd at 2025-11-18T14:43:32-06:00 sane.ds: Implement DG_CONTROL/DAT_PENDINGXFERS/MSG_GET based on scannedImages counter.
- - - - - c7936d27 by Bernd Herd at 2025-11-18T14:43:32-06:00 sane.ds: Read frame data until EOF in native transfer mode.
Makes sure SANE transistions to the next frame on some backends. Extends or shrinks DIB to the number of lines actually transfered by the SANE data source.
- - - - -
7 changed files:
- dlls/sane.ds/capability.c - dlls/sane.ds/ds_ctrl.c - dlls/sane.ds/ds_image.c - dlls/sane.ds/sane_i.h - dlls/sane.ds/sane_main.c - dlls/sane.ds/ui.c - dlls/sane.ds/unixlib.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/04449af761451c312f70a71cb62ae7...