Wykres commitów

9533 Commity (144ed1f29b5d6869d40dc495edb5fda813a0de4c)

Autor SHA1 Wiadomość Data
Povilas Kanapickas 896385a082 genesys: Ensure that functions passed to C API don't throw 2019-05-25 10:03:15 +03:00
Povilas Kanapickas 23f3ebf612 genesys: Wrap exported functions to always catch exceptions 2019-05-25 10:03:14 +03:00
Povilas Kanapickas 5d7fc4e0ed Merge branch 'genesys-fix-warning' into 'master'
genesys: Fix warning

See merge request sane-project/backends!71
2019-05-24 18:25:58 +00:00
Povilas Kanapickas 58ee13d057 genesys: Fix warning 2019-05-24 21:13:37 +03:00
Olaf Meeuwissen 216e8b28a0 Turn C++ compiler warning into error on the right job. Re #85
Fixes 8d67531c70 where the flags were
set for a job that runs in an environment *without* a C++ compiler.
2019-05-22 21:48:32 +09:00
Olaf Meeuwissen 199a685d0b Restore availability of config.status for archive stage. Re #85 2019-05-22 21:35:08 +09:00
Olaf Meeuwissen 8d67531c70 Turn C++ compiler warnings into errors. See #85 2019-05-22 21:31:13 +09:00
Olaf Meeuwissen 57ee89a676 Drop caching of untracked files. Re #85 2019-05-22 21:19:54 +09: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
Olaf Meeuwissen e2d89c1ab3 Expand AM_CXXFLAGS in our Makefiles. Fixes #84 2019-05-21 22:14:46 +09:00
Povilas Kanapickas 16a3945ce6 Merge branch 'genesys-sleep' into 'master'
genesys: Add wrapper for sleep that can be turned off when testing

See merge request sane-project/backends!70
2019-05-20 09:47:38 +00:00
Olaf Meeuwissen f498e5fa66 genesys: Add missing pointer cast on malloc call
Fixes build on Fedora 29 and 30.
2019-05-20 18:32:48 +09:00
Olaf Meeuwissen 2bb5ed655a Merge branch 'genesys-enable-cxx' into 'master'
Use C++ for the genesys backend

See merge request sane-project/backends!61
2019-05-20 09:10:53 +00:00
Stanislav Yuzvinsky 2a11622967 Merge branch 'teardown' into 'master'
ricoh2: Rearrange init/deinit code of ricoh2 to correctly support "code flow"

See merge request sane-project/backends!65
2019-05-19 18:18:57 +00:00
Olaf Meeuwissen 7585538595 epson2: Add XP-255 as supported. Fixes #81 2019-05-19 21:41:16 +09:00
Povilas Kanapickas 71bf2daec6 Merge branch 'genesys-remove-static' into 'master'
genesys: Remove uses of GENESYS_STATIC

See merge request sane-project/backends!68
2019-05-19 12:02:50 +00:00
Povilas Kanapickas 8cdd5ae22e Merge branch 'genesys-debug-cleanup' into 'master'
genesys: Use the same debug identifier for the whole backend

See merge request sane-project/backends!67
2019-05-19 11:56:38 +00:00
Povilas Kanapickas a4ab69376c genesys: Remove uses of GENESYS_STATIC 2019-05-19 14:49:44 +03:00
Povilas Kanapickas 4c2c4eb639 genesys: Remove duplicate definition of DBGSTART and DBGCOMPLETED 2019-05-19 14:46:46 +03:00
Povilas Kanapickas 6f617e9889 genesys: Don't define different backend names in source files 2019-05-19 14:46:45 +03:00
Povilas Kanapickas 873e82c0a0 genesys: Remove logging of the build number
A git commit would be much more useful in log messages
2019-05-19 14:46:44 +03:00
Povilas Kanapickas 185303a18d Enable warnings in C++ source 2019-05-19 14:09:38 +03:00
Povilas Kanapickas 42fb5a3e03 Don't compile genesys backend when C++11 is not available 2019-05-19 14:09:31 +03:00
Povilas Kanapickas c536f3cf70 genesys: Fix calibration size calculation for 8600F
The current approach of marking the scanner as
GENESYS_FLAG_FULL_HWDPI_MODE is counter-productive, because only the
register value is always full DPI, the actual resolution is different.
For now, let's just work around this by having a special case for the
scanner.
2019-05-18 14:56:12 +03:00
Povilas Kanapickas 0a0a140423 genesys: Correctly adjust pixels per line during calibration 2019-05-18 14:56:11 +03:00
Povilas Kanapickas 190361b724 genesys: Work around first line having artifacts during calibration 2019-05-18 14:56:10 +03:00
Povilas Kanapickas 3a4f67feef genesys: Fix lockups on GL843 during calibration 2019-05-18 14:56:09 +03:00
Povilas Kanapickas ed582c5858 genesys: Fix gain calibration on GL843 2019-05-18 14:56:08 +03:00
Povilas Kanapickas b220512172 genesys: Add a separate shading line count param for TA mode
q
2019-05-18 14:56:07 +03:00
Povilas Kanapickas b7ef75d63f genesys: Implement transparency support for 8600F 2019-05-18 14:56:06 +03:00
Povilas Kanapickas 126e98524a genesys: Remove special ADF handling for G4050 2019-05-18 14:56:05 +03:00
Povilas Kanapickas 091fdbe6d6 genesys: Use correct offsets for transparency scan 2019-05-18 14:56:04 +03:00
Povilas Kanapickas d0c4f87ac7 genesys: Don't set exposure to zero on 8600F 2019-05-18 14:56:03 +03:00
Povilas Kanapickas 33a60dcc7b genesys: Implement support for 8600F 2019-05-18 14:56:02 +03:00
Povilas Kanapickas 41e2029e4b genesys: Initialize 0x7e register on GL843 2019-05-18 14:56:01 +03:00
Povilas Kanapickas 966ef33710 genesys: Fix pixel calculation during calibration on gl843 2019-05-18 14:56:00 +03:00
Povilas Kanapickas df889c96f5 genesys: Deduplicate pixel count computation during calibration 2019-05-18 14:55:59 +03:00
Povilas Kanapickas 695addaafd genesys: Fix pixel count when scanning in half-ccd mode on GL843 2019-05-18 14:55:58 +03:00
Povilas Kanapickas d2b4a1b838 genesys: Extract gl843_compute_physical_params() 2019-05-18 14:55:57 +03:00
Povilas Kanapickas 76bf1ad072 genesys: Improve documentations for registers in various places 2019-05-18 14:55:56 +03:00
Stanislav Yuzvinsky 7a8ae92862 ricoh2: Rearrange init/deinit code of ricoh2 to correctly support "code flow"
The backend worked incorrectly when scanning process was interrupted before the
current page was scanned completely. For example, scanimage tool could not scan
the next page if the previous one was interrupted. Now this issue is fixed.

See also "4.4. Code Flow" in SANE API specification v.1.06.

Also debug levels was changed to have better control over what should be
logged.
2019-05-13 23:44:07 +03:00
Olaf Meeuwissen e13b80fa6f Merge branch 'add_sg3100' into 'master'
Add support for Aficio SG3100SNw

See merge request sane-project/backends!57
2019-05-12 03:11:00 +00:00
Olaf Meeuwissen ae871333ef Merge branch 'scanimage-output-path' into 'master'
scanimage: Allow specification of the output path via option

See merge request sane-project/backends!46
2019-05-12 02:36:36 +00:00
Stanislav Yuzvinsky 0273c05c95 Fix review comments; add the backend to dll.conf 2019-05-11 16:17:40 +03:00
Povilas Kanapickas 4df63ef548 Merge branch 'genesys-debug-improvements' into 'master'
genesys: Miscellaneous debug improvements

See merge request sane-project/backends!64
2019-05-11 09:20:45 +00:00
Povilas Kanapickas 3c8b9b9167 Merge branch 'genesys-reduce-duplication' into 'master'
genesys: Reduce duplication in low level functions

See merge request sane-project/backends!63
2019-05-11 09:14:06 +00:00
Povilas Kanapickas 988a91aec4 genesys: Write all offset calibration debug to a single file on gl843 2019-05-11 12:12:29 +03:00
Povilas Kanapickas 36bc194405 genesys: Add a small C array implementation 2019-05-11 12:12:28 +03:00
Povilas Kanapickas 5321427e55 genesys: Don't write identical debug pnm files 2019-05-11 12:12:27 +03:00
Povilas Kanapickas 882741d78a genesys: Prepend file identifier to debug image filenames 2019-05-11 12:12:26 +03:00