Wykres commitów

9308 Commity (6b4759252043534f74caa18918ce6f2d91b52651)

Autor SHA1 Wiadomość Data
Povilas Kanapickas 6b47592520 Merge branch 'genesys-fix-read-set-reg-from-set' into 'master'
genesys: Fix sanei_genesys_{read,set}_reg_from_set()

See merge request sane-project/backends!80
2019-06-01 02:40:24 +00:00
Povilas Kanapickas 916d4e0db9 genesys: Fix sanei_genesys_{read,set}_reg_from_set()
There can be registers in the register set with zero address. In
particular, the 0x0b register's address is set to zero on most
sub-backends to prevent writes to it. This leads to the functions in
question not do anything in most scenarios.
2019-06-01 05:24:58 +03:00
Povilas Kanapickas 26b3d8aaa0 Merge branch 'genesys-canoscan-8600f' into 'master'
genesys: Add basic support for CanoScan 8600F

See merge request sane-project/backends!79
2019-05-30 21:17:10 +00:00
Povilas Kanapickas 1df6952788 doc: Update description for CanoScan 8600F 2019-05-31 00:08:06 +03:00
Povilas Kanapickas ceec219cec Merge branch 'genesys-fix-gl843-calib-pixel-count' into 'master'
genesys: Fix read pixel count calculation during calibration on GL843

See merge request sane-project/backends!78
2019-05-30 20:51:27 +00:00
Povilas Kanapickas aeefb37072 genesys: Fix read pixel count calc during calibration on GL843 2019-05-30 23:42:33 +03:00
Povilas Kanapickas dc42318d90 Merge branch 'genesys-use-containers' into 'master'
genesys: Use C++ containers to remove chances of memory leaks

See merge request sane-project/backends!76
2019-05-29 21:28:43 +00:00
Povilas Kanapickas 9f461060aa Merge branch 'genesys-catch-exceptions' into 'master'
genesys: Catch C++ exceptions when returning to C code

See merge request sane-project/backends!75
2019-05-28 01:21:44 +00:00
Povilas Kanapickas 50b27fe836 genesys: Use std::string for Genesys_Device::calib_file 2019-05-25 11:15:42 +03:00
Povilas Kanapickas 38986c2c6f genesys: Use std::vector for Genesys_Device::img_buffer 2019-05-25 11:15:41 +03:00
Povilas Kanapickas eb93267fa9 genesys: Use std::vector instead of custom vector implementation 2019-05-25 11:15:40 +03:00
Povilas Kanapickas 69485e9f11 genesys: Remove unused new device list 2019-05-25 11:15:39 +03:00
Povilas Kanapickas 3096dcee0e genesys: Use s_devices.size() for num_devices 2019-05-25 11:15:38 +03:00
Povilas Kanapickas 9c2fdeeb3d genesys: Use proper containers for device lists 2019-05-25 11:15:37 +03:00
Povilas Kanapickas 5a90b7bb8f genesys: Convert Genesys_Buffer to C++ class 2019-05-25 11:15:36 +03:00
Povilas Kanapickas 247658f23e genesys: Return std::vector from GL646 simple_scan() 2019-05-25 11:15:35 +03:00
Povilas Kanapickas e48b6c4e2d genesys: Store global Genesys_Scanner instances in std::list 2019-05-25 11:15:34 +03:00
Povilas Kanapickas 15b373a5cc genesys: Use std::vector for calibration cache average data 2019-05-25 11:15:33 +03:00
Povilas Kanapickas 64ca298d02 genesys: Store calibration class using std::list 2019-05-25 11:15:32 +03:00
Povilas Kanapickas 52b1989eda genesys: Remove no longer used RIEF and RIEF2 macros 2019-05-25 11:15:31 +03:00
Povilas Kanapickas 3d44c89f1e genesys: Use std::vector for Genesys_Device::{dark,white}_average_data 2019-05-25 11:15:30 +03:00
Povilas Kanapickas 2dc4e5d1fc genesys: Use std::vector for Genesys_Sensor::gamma_table 2019-05-25 11:15:29 +03:00
Povilas Kanapickas 555be1c3eb genesys: Use Genesys_Device as C++ class 2019-05-25 11:15:28 +03:00
Povilas Kanapickas cb189cfe2d genesys: Rewrite sensor table to use std::vector 2019-05-25 11:15:27 +03:00
Povilas Kanapickas e5eff5d76f genesys: Add facility for auto releasing static data on backend exit 2019-05-25 11:15:26 +03:00
Povilas Kanapickas 9cea33b53c genesys: Use std::vector instead of malloc for local allocations 2019-05-25 11:15:25 +03:00
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