Povilas Kanapickas
503797c248
genesys: Simplify shading computation by using enum for color order
2019-08-17 10:53:56 +03:00
Povilas Kanapickas
3a1163480a
genesys: Store calibration data using correct type internally
2019-08-17 10:53:55 +03:00
Povilas Kanapickas
5e5a1a6fc3
genesys: Use correct type for std::plus
2019-08-31 15:11:40 +03:00
Stanislav Yuzvinsky
e6b2786380
Merge branch 'macos-malloc-fix' into 'master'
...
ricoh2_buffer: fix malloc header location on macOS
See merge request sane-project/backends!90
2019-08-30 14:16:41 +00:00
Rolf Bensch
b4c95a8ade
pixma: backend version 0.23.1
2019-08-20 13:30:25 +02:00
Rolf Bensch
f64489bd71
pixma: fix ADF scanning for Canon MAXIFY MB2000 and MB2300 Series
2019-08-20 13:26:11 +02:00
Rolf Bensch
8446baf4f9
pixma: fix ADF scanning for Canon MAXIFY MB5000 Series
2019-08-20 13:11:57 +02:00
Olaf Meeuwissen
5e74e1b794
genesys: Make std::plus<> template type instantiation explicit
...
This fixes compile errors on older versions of gcc and possibly other
C++ compilers.
2019-08-19 22:06:33 +09:00
Olaf Meeuwissen
f37326784d
Merge branch 'ci-tweaks' into 'master'
...
CI tweaks
See merge request sane-project/backends!125
2019-08-12 09:16:37 +00:00
Olaf Meeuwissen
08bff060f8
CI: Fix make distclean target
...
Implicit compile dependencies prevent automake from adding dependency
tracking files to the list of files to clean up.
2019-08-11 17:20:47 +09:00
Olaf Meeuwissen
21bb96d61e
Merge branch 'fix-warnings' into 'master'
...
Fix -Wimplicit-fallthrough warnings
See merge request sane-project/backends!85
2019-08-11 01:48:16 +00:00
Olaf Meeuwissen
9344a957ed
apple: Fix [-Wimplicit-fallthrough] compiler warning
...
It doesn't make sense to log a value as both `Fixed` *and* `Int`.
2019-08-11 10:16:00 +09:00
Olaf Meeuwissen
797cd1fb37
epson2, epsonds, kodakaio, magicolor: Don't set invalid value
...
If the value to be set is not valid, it should not change the sval
structure (even if doing so has no negative side effects).
This also makes the fallthrough less confusing by removing the first
cast of two for the br-x and br-y values.
2019-08-11 10:04:19 +09:00
Olaf Meeuwissen
fcd537e207
sm3600: Fix [-Wimplicit-fallthrough] warning
...
This fixes the warning for both #define SM3600_SUPPORT_EXPOSURE values.
2019-08-10 20:49:09 +09:00
Povilas Kanapickas
6912400cf4
genesys: Move motor profile tables to a single file
2019-08-04 18:21:08 +03:00
Povilas Kanapickas
aa4ee9c49e
genesys: Split genesys_devices.cc file to separate files for each table
2019-08-04 18:21:07 +03:00
Povilas Kanapickas
6592692448
genesys: Compile genesys_devices.cc as a separate translation unit
2019-08-04 18:21:06 +03:00
Povilas Kanapickas
7159bbee32
Merge branch 'genesys-cleanup-gpo' into 'master'
...
genesys: Cleanup the gpo setup
See merge request sane-project/backends!123
2019-08-10 15:33:38 +00:00
Povilas Kanapickas
8a48e87741
Merge branch 'genesys-simplify-gl843-dpi' into 'master'
...
genesys: Simplify GL843 DPI calculation
See merge request sane-project/backends!122
2019-08-10 12:28:50 +00:00
Povilas Kanapickas
b5ff3b4f43
Merge branch 'genesys-cleanup-motors' into 'master'
...
genesys: Cleanup motor definitions
See merge request sane-project/backends!121
2019-08-10 12:23:20 +00:00
Povilas Kanapickas
ae525fb91b
genesys: Remove trailing whitespace
2019-08-10 15:10:31 +03:00
Povilas Kanapickas
8cb6130cfe
genesys: Cleanup the gpo setup
2019-08-04 14:01:50 +03:00
Povilas Kanapickas
ca54462bd2
genesys: Simplify shading upload on gl843
2019-08-04 13:17:52 +03:00
Povilas Kanapickas
2df86f551f
genesys: Fix incorrect dpi computation for G4050
2019-08-04 13:17:51 +03:00
Povilas Kanapickas
d365637dfc
genesys: Simplify optical regs setup on gl843
2019-08-04 13:17:50 +03:00
Povilas Kanapickas
3e09ba18fa
genesys: Move pixel coordinate calculation to gl843_compute_session()
2019-08-04 13:17:49 +03:00
Povilas Kanapickas
6a0f17cecc
genesys: Raise an exception if input resolution is out of bounds
2019-08-04 13:17:48 +03:00
Povilas Kanapickas
1c61d3692a
genesys: Rewrap extremely long lines in motor step definitions
2019-08-04 12:01:52 +03:00
Povilas Kanapickas
ea602f7ebc
genesys: Rewrite and document sanei_genesys_calculate_zmod()
2019-08-04 12:01:51 +03:00
Povilas Kanapickas
6f20e6d341
genesys: Use std::vector for the motor slope tables
2019-08-04 12:01:50 +03:00
Povilas Kanapickas
510e8123f3
genesys: Remove support for multiple motor power modes
2019-08-04 12:01:49 +03:00
Povilas Kanapickas
239eab6ea6
genesys: Simplify motor setup to make it easier to expand
2019-08-04 12:01:48 +03:00
Povilas Kanapickas
7d6897ecb4
Merge branch 'genesys-fix-search-reference-point' into 'master'
...
genesys: Fix search reference point to update all sensors
See merge request sane-project/backends!118
2019-08-10 11:55:49 +00:00
Povilas Kanapickas
b85a83f6af
genesys: Remove no longer used optical flags variables
2019-08-04 10:52:58 +03:00
Povilas Kanapickas
306b160f00
genesys: Pass OPTICAL_FLAG_DISABLE_SHADING flag via session
2019-08-04 10:52:57 +03:00
Povilas Kanapickas
86d4828ece
genesys: Pass OPTICAL_FLAG_DISABLE_GAMMA flag via session
2019-08-04 10:52:56 +03:00
Povilas Kanapickas
d503701fb7
genesys: Pass OPTICAL_FLAG_USE_XPA flag via session
2019-08-04 10:52:55 +03:00
Povilas Kanapickas
773170af09
genesys: Pass OPTICAL_FLAG_DISABLE_LAMP flag via session
2019-08-04 10:52:54 +03:00
Povilas Kanapickas
8618a49182
genesys: Pass OPTICAL_FLAG_STAGGER flag via session
2019-08-04 10:52:53 +03:00
Povilas Kanapickas
a4b551be0c
genesys: Pass OPTICAL_FLAG_ENABLE_LEDADD flag via session
2019-08-04 10:52:52 +03:00
Povilas Kanapickas
e5a90e8005
genesys: Update all sensors when searching for reference point
2019-08-04 02:48:29 +03:00
Povilas Kanapickas
91b20fb268
genesys: Make sanei_genesys_search_reference_point() non-destructive
2019-08-04 02:48:28 +03:00
Povilas Kanapickas
d0dbfa6ec3
genesys: Print traces of more data
2019-08-04 02:48:27 +03:00
Povilas Kanapickas
824f922e49
genesys: Don't do additional scans in case of debug
2019-08-04 02:48:26 +03:00
Povilas Kanapickas
e733f66960
genesys: Add a way to customize per-sensor divisor management
2019-08-04 01:11:08 +03:00
Povilas Kanapickas
ea78c00882
genesys: Fix duplicate hwdpi conversion on gl124
2019-08-04 01:11:07 +03:00
Povilas Kanapickas
1ba4018a6e
genesys: Pass session directly to gl843_init_optical_regs_scan()
2019-08-04 01:11:06 +03:00
Povilas Kanapickas
cafb97d293
genesys: Use session struct to pass data to the setup functions
2019-08-03 22:42:20 +03:00
Caleb Xu
f18ef0e282
ricoh2_buffer: fix malloc header location on macOS
2019-08-01 23:51:20 -04:00
Povilas Kanapickas
38b97f1402
genesys: Include full session description into the device struct
2019-07-27 05:12:31 +03:00