Wykres commitów

4841 Commity (97dea949598220dba43fd1dcadf0f8930f81260f)

Autor SHA1 Wiadomość Data
Povilas Kanapickas 8c6987e5a1 genesys: Rewrite is_compatible_calculation() to use session data 2019-11-10 10:32:04 +02:00
Povilas Kanapickas 9662a501a9 genesys: Use data from session directly when possible 2019-11-10 10:32:03 +02:00
m. allan noah 779d09a0b5 canon_dr backend v58
- adjust wait_scanner to set runRS only as a last resort, bug #154
2019-11-10 09:01:06 -05:00
Povilas Kanapickas a15d960228 Merge branch 'genesys-logging-improvements' into 'master'
genesys: Miscellaneous logging improvements

See merge request sane-project/backends!237
2019-11-10 12:12:41 +00:00
Povilas Kanapickas 6fe1db1c73 genesys: Use std where needed 2019-11-02 17:13:17 +02:00
Povilas Kanapickas 429d8e4d5b genesys: Remove unused code 2019-11-02 17:13:16 +02:00
Povilas Kanapickas a7ca16a415 genesys: Add file with class forward declarations 2019-11-02 17:13:15 +02:00
Povilas Kanapickas f5410b7738 genesys: Add an easy way to override SANE API linkage 2019-11-02 17:13:14 +02:00
Povilas Kanapickas d2aaa822f3 genesys: Allow use of TIE() macro outside the genesys namespace 2019-10-27 11:48:36 +02:00
Povilas Kanapickas 87b5a78e37 genesys: Add more logging 2019-10-27 11:48:35 +02:00
Povilas Kanapickas 1faa322308 genesys: Add a way to log messages using DBG_HELPER 2019-10-27 11:48:34 +02:00
Povilas Kanapickas 9ca0a10938 genesys: Improve class method identifiers in debug messages 2019-10-27 11:48:33 +02:00
Povilas Kanapickas 6d7365ba89 genesys: Return errors as exceptions 2019-10-27 11:48:32 +02:00
Povilas Kanapickas 46876064d7 genesys: Improve error logging 2019-10-27 11:48:31 +02:00
Povilas Kanapickas a1bc0d33cd genesys: Move line-distance correction data to session 2019-10-27 10:42:01 +02:00
Povilas Kanapickas 0fa25a233b genesys: Merge chip-specific compute_session functions 2019-10-27 10:42:00 +02:00
Povilas Kanapickas c2479ed0e9 genesys: Add support for 3200dpi flatbed resolution on 8400F 2019-10-27 10:29:56 +02:00
Povilas Kanapickas 7f49bd2a2e genesys: Enable all transparency resolutions for infrared scans on 8400F 2019-10-27 10:29:55 +02:00
Povilas Kanapickas 7336ec8969 genesys: Fix 1600 dpi flatbed / 3200 dpi TA support on 8400F 2019-10-27 10:29:54 +02:00
Povilas Kanapickas 4481298129 genesys: Fix invalid memory access on DSMobile 600 and DocketPort 467 2019-11-09 22:51:42 +02:00
Povilas Kanapickas c6b8539032 genesys: Disable support for Canon Image Formula 101 2019-11-09 22:51:41 +02:00
Povilas Kanapickas 3632d4ec37 genesys: Fix out of bounds write during initialization of shading data 2019-11-09 22:51:40 +02:00
Povilas Kanapickas e967d98aab genesys: Disable broken support for 4800 dpi on LiDE 210 and 220 2019-11-09 22:51:39 +02:00
Povilas Kanapickas cb7521e7c1 genesys: Remove currently unsupported resolutions on 8600F 2019-11-09 22:51:38 +02:00
Povilas Kanapickas 18206d845d genesys: Fix crash on startup on Canon 4400F 2019-11-09 22:51:37 +02:00
Povilas Kanapickas a5a03dfce2 genesys: Remove incorrect assert on gl841 2019-11-09 22:51:36 +02:00
Povilas Kanapickas a7be52a5a1 genesys: Fix crash on gl646 when sensor matches any resolution 2019-11-09 22:51:35 +02:00
Povilas Kanapickas ddb8685755 genesys: Fix null name of the "extras group" option leading to crashes 2019-11-09 22:51:34 +02:00
Povilas Kanapickas 54edeaf69d genesys: Inherit from std::exception publicly 2019-11-09 22:51:33 +02:00
Povilas Kanapickas ecb1d899b9 genesys: Fix typo which prevented calibration data from being used 2019-11-09 22:51:32 +02:00
Povilas Kanapickas cac57c3e9f genesys: Remove duplicate handling of document end
This duplicates work done in genesys_fill_read_buffer()
2019-11-09 22:51:31 +02:00
Rolf Bensch ee3f9b47ec pixma: backend version 0.25.1 2019-11-06 18:09:07 +01:00
Louis Lagendijk eca978c258 pixma_bjnp: added options to completely disable networking or skip auto detection. 2019-11-05 23:03:27 +01:00
Louis Lagendijk 0f493e155a Fixed pixma_bjnp.c 2019-11-05 20:09:42 +01:00
Louis Lagendijk a1ecd8c158 Fixed completely messed up pixma_bjnp.c 2019-11-05 19:45:30 +01:00
Louis Lagendijk bda9ae39ba pixma_bjnp.c sane-pixma.doc Fix trailing spaces 2019-11-05 19:22:11 +01:00
Louis Lagendijk 462df7d6ad usane-pixma:
- Document that Canon seems to be remving the supported MFNP and BJNP
protocols  in new printers/scanners
- Added an mfnp example in the pixma.conf file
2019-11-05 18:31:39 +01:00
Louis Lagendijk 739cfc8d83 pixma_bjnp.c: redsign of timeout code 2019-11-05 17:41:48 +01:00
Louis Lagendijk 5dd50be523 xma_bjnp.c: fixed parsing of model in parse_IEEE1284_to_model 2019-11-05 17:41:47 +01:00
Louis Lagendijk 766b4937c3 pixma_bjnp.c Retry TCP connect in case the scanner is not yet ready 2019-11-05 17:41:47 +01:00
Rolf Bensch 572c5e6e61 pixma: backend version 0.25.0 2019-11-01 20:31:50 +01:00
Rolf Bensch e16a2b05b1 pixma_mp150: activate image down-scaling for LiDE300 & 400
we don't need to force >=300 dpi scans anymore
2019-11-01 20:08:57 +01:00
Rolf Bensch cffeb11ee6 pixma_mp150: special image format handling only needed for existing sub-images 2019-11-01 20:08:57 +01:00
Rolf Bensch 95e208527a pixma_mp150: new function shrink_image()
call shrink_image() from post processing image data
2019-11-01 20:08:32 +01:00
Rolf Bensch 452b28a81f pixma_mp150: use mp->scale to calculate scan parameters for down-scaling images
the values for xdpi, ydpi, x, xs, y and wx must be expanded to minimum image size
2019-11-01 19:21:50 +01:00
Rolf Bensch b4cf3343bd pixma_mp150: add comments and some debug outputs 2019-11-01 19:16:14 +01:00
Rolf Bensch 5d64760f0f pixma_mp150: new sub-driver parameter scale 2019-11-01 19:06:53 +01:00
Rolf Bensch bd811cb0b0 pixma: new device option: min_xdpi
used for scaling scanned images
2019-11-01 19:02:01 +01:00
Povilas Kanapickas 655c6b14b6 genesys: Extract low level register set functionality to separate class 2019-10-26 11:38:37 +02:00
Povilas Kanapickas 309ee441de genesys: Remove trivial bulk_{read,write}_data() wrapper 2019-10-26 11:38:36 +02:00
Zdenek Dohnal 82e971a786 Fix #156 - [Fedora] Abort due out-of-bound access 2019-10-25 13:06:15 +02:00
Rolf Bensch 99ae5490a6 pixma: backend version 0.24.1 2019-10-24 15:10:23 +02:00
Rolf Bensch 7b388d14da pixma_mp150: fix scan height calculation
this fixes: pixma_mp150: remove (ccd) color shifting (fc300be)
2019-10-24 15:09:57 +02:00
Rolf Bensch 63ce515376 pixma_mp800: remove double PIXMA_CAP_CCD settings 2019-10-22 20:09:00 +02:00
Rolf Bensch 2f2bce2ae9 pixma: backend version 0.24.0 2019-10-22 19:41:49 +02:00
Rolf Bensch ab0314399a pixma_mp810: rename => pixma_mp800
1st ccd scanner in pixma_mp810 is MP800
2019-10-22 19:33:54 +02:00
Rolf Bensch fc300be715 pixma_mp150: remove (ccd) color shifting 2019-10-22 19:23:18 +02:00
Rolf Bensch 1b8fe029a2 pixma_mp150: remove unused code
unused scanner functions: ccd, tpu
2019-10-22 19:13:43 +02:00
Rolf Bensch 83a0a1c55f pixma_mp150: move ccd scanners => pixma_mp810 2019-10-22 18:03:33 +02:00
Rolf Bensch 657f1d8e26 pixma_mp810: all scanners have ccd 2019-10-22 17:46:19 +02:00
Rolf Bensch 97cd2e10bb pixma_mp750: all scanners have ccd 2019-10-22 17:46:01 +02:00
Louis Lagendijk 2b1ce918ae pixma_bjnp.c: Fixed compile warnings on My Fedora build 2019-10-18 19:45:37 +02:00
Povilas Kanapickas 0b4a5f941a genesys: Use correct min resolution for feeding 2019-10-17 22:30:27 +03:00
Povilas Kanapickas abec99006c genesys: Add missing <cmath> includes 2019-10-17 22:30:26 +03:00
Povilas Kanapickas 2d0a1a3470 genesys: Enable 1200 Y resolution on HP ScanJet 2300 2019-10-17 22:30:25 +03:00
Povilas Kanapickas 2a8be5e191 genesys: Use motor base dpi for shading calibration on gl847 2019-10-17 22:30:24 +03:00
Povilas Kanapickas 87969174bd genesys: Fix shading target for Canon LiDE 110, 120, 210, 220 2019-10-17 22:30:23 +03:00
Povilas Kanapickas 36f0685d0a genesys: Improve robustness of calibration on gl847 2019-10-17 22:30:22 +03:00
Povilas Kanapickas 67d6a194e5 genesys: Fix geometry for Canon LiDE 110 2019-10-17 22:30:21 +03:00
Povilas Kanapickas 0096d56cb6 genesys: Fix X resolution list for Canon LiDE 100 and 120 2019-10-17 22:30:20 +03:00
Povilas Kanapickas dab38144a0 genesys: Fix geometry of HP G4050 2019-10-17 22:30:19 +03:00
Povilas Kanapickas 661fa1d590 genesys: Add missing resolutions for Canon 5600F 2019-10-17 22:30:18 +03:00
Povilas Kanapickas 2c7f7fcac2 genesys: Fix sensor gamma of LiDE 100, 110, 120, 200, 210, 220 scanners 2019-10-17 22:30:17 +03:00
Povilas Kanapickas b391b35fd9 genesys: Fix uninitialized variable warning in SaneException c-tor 2019-10-17 22:30:16 +03:00
Povilas Kanapickas 1ac04c6266 genesys: Don't enable gamma when not needed 2019-10-17 22:30:15 +03:00
Povilas Kanapickas 93e980d0c1 genesys: Use median instead of mean when computing shading calib data 2019-10-17 22:07:01 +03:00
Povilas Kanapickas f9d36d1a1b genesys: Add utility to compute percentille of columns in image 2019-10-17 22:07:00 +03:00
Zdenek Dohnal bc2f40b274 Samsung C460 does not have the JPEG mode 2019-10-15 12:49:48 +02:00
Povilas Kanapickas 885eb82801 genesys: Update resolutions specific to scan method in model list 2019-10-13 18:30:28 +03:00
Povilas Kanapickas a5fe12a37f genesys: Allow supported resolutions to vary depending on scan method 2019-10-13 18:30:27 +03:00
Povilas Kanapickas 24230aea7d genesys: Simplify option setup 2019-10-13 18:30:26 +03:00
Povilas Kanapickas b716c1a457 genesys: Remove duplicate definitions of SCAN_FLAG_* 2019-10-13 18:30:25 +03:00
Povilas Kanapickas 3037ba1eaf genesys: Use a searchable name for register enums 2019-10-02 14:28:59 +03:00
Povilas Kanapickas 0ab82e9f86 genesys: Resolve various floating-point conversion warnings 2019-10-13 06:18:51 +03:00
Povilas Kanapickas f4a2957541 genesys: Use unsigned for resolution in various places 2019-10-13 06:18:50 +03:00
Povilas Kanapickas 59e356ac13 genesys: Don't use variants of M_PI that aren't guaranteed to be present 2019-10-13 06:18:49 +03:00
Povilas Kanapickas a694002364 genesys: Switch session startx and starty to unsigned
The sources and destinations are integer in most cases for these
variables.
2019-10-13 06:18:48 +03:00
Povilas Kanapickas 0840c6e9d9 genesys: Fix float conversion warnings in the tables 2019-10-13 06:18:47 +03:00
Povilas Kanapickas 68e5f8a912 genesys: Put the backend code into a separate namespace 2019-10-12 22:33:57 +03:00
Povilas Kanapickas e32a45fef8 genesys: Retrieve depth from session in genesys_warmup_lamp() 2019-10-02 12:01:27 +03:00
Povilas Kanapickas 17740df924 genesys: Remove support for binary logging 2019-10-02 12:01:26 +03:00
Rolf Bensch 41ce1eb204 pixma: backend version 0.23.5 2019-10-12 18:49:10 +02:00
Povilas Kanapickas a89ffe8f2c Merge branch 'genesys-remove-1bit-support' into 'master'
genesys: Remove support for scanning 1 bit output

See merge request sane-project/backends!212
2019-10-12 16:09:29 +00:00
Rolf Bensch d5c0240f43 Merge remote-tracking branch 'origin/master' 2019-10-12 18:07:03 +02:00
Rolf Bensch ba9bc24fd2 pixma: replace snprintf() by strftime()
strftime() uses format specifiers with fixed lengths.
2019-10-12 17:59:13 +02:00
Povilas Kanapickas eb2f836481 genesys: Remove low-level support for 1-bit depth scans 2019-10-01 18:11:52 +03:00
Povilas Kanapickas 0180c4c5d8 genesys: Remove SCAN_FLAG_DYNAMIC_LINEART 2019-10-01 18:11:51 +03:00
Povilas Kanapickas 8be96ecd60 genesys: Simplify code as dynamic_lineart is always enabled for lineart 2019-10-01 18:11:50 +03:00
Povilas Kanapickas 3263b986ce genesys: Remove support of --disable-dynamic-lineart option 2019-10-01 18:11:49 +03:00
Povilas Kanapickas bff9f2fdc4 genesys: Fix crash during sane_exit() on high debug level 2019-10-01 18:11:48 +03:00
Povilas Kanapickas 158cc81e20 genesys: Simplify setup of session depth parameter 2019-10-01 18:11:47 +03:00
Povilas Kanapickas 9581f29f13 Merge branch 'genesys-fix-warnings' into 'master'
genesys: Fix warnings not enabled in regular build

See merge request sane-project/backends!209
2019-10-12 15:43:04 +00:00
Povilas Kanapickas 5ca0acd19a Merge branch 'genesys-plustek-7300-7500i' into 'master'
genesys: Implement support for Plustek OpticFilm 7300 and 7500i scanners

See merge request sane-project/backends!210
2019-10-12 15:41:59 +00:00
Povilas Kanapickas f8623e8f53 genesys: Add support for Plustek OpticFilm 7500i 2019-10-12 18:23:56 +03:00
Povilas Kanapickas 20da3df501 genesys: Add support for Plustek Opticfilm 7300 2019-10-12 18:23:55 +03:00
Povilas Kanapickas b5e4d86eb2 genesys: Use separate translation unit for conversion functions 2019-10-12 18:17:17 +03:00
Povilas Kanapickas 9f44bab6e0 genesys: Move backend files to a separate directory 2019-10-12 18:17:17 +03:00
Povilas Kanapickas 09336e0286 genesys: Remove code that has no effect 2019-10-01 15:41:27 +03:00
Povilas Kanapickas cccd1e949a genesys: Fix unused exception warning 2019-10-01 15:41:26 +03:00
Povilas Kanapickas 60b6465115 genesys: Emit single vtable of ImagePipelineNodeCallableSource 2019-10-01 15:41:25 +03:00
Povilas Kanapickas c8f2a815c0 genesys: Don't use std types from global namespace 2019-10-01 15:41:24 +03:00
Povilas Kanapickas 1423db6618 genesys: Include missing includes 2019-10-01 15:41:23 +03:00
Povilas Kanapickas 42cace02c5 genesys: Simplify version logging 2019-10-01 12:09:51 +03:00
Povilas Kanapickas 4c90bfcaee genesys: Remove uses of old-style casts where possible 2019-10-01 12:09:50 +03:00
Povilas Kanapickas 8537ba21b7 genesys: Don't emit symbols of internal objects 2019-10-01 12:09:49 +03:00
Povilas Kanapickas 9c7199c09e genesys: Don't use std identifiers from global scope 2019-10-01 12:09:48 +03:00
Povilas Kanapickas bb84d6d9e4 genesys: Remove unused code 2019-10-01 12:09:47 +03:00
Povilas Kanapickas e20e73f434 genesys: Don't use C-style casts where possible 2019-10-01 12:09:46 +03:00
Povilas Kanapickas 497c9aeba2 genesys: Wrap SANE_Fixed into class which automatically converts values 2019-10-01 10:52:44 +03:00
Povilas Kanapickas b176366dcf genesys: Increase wait for home timeout to 200 seconds 2019-10-01 10:52:43 +03:00
Povilas Kanapickas 8a1bc90521 genesys: Simplify sanei_genesys_wait_for_home() 2019-10-01 10:52:42 +03:00
Povilas Kanapickas 61e1f1bf08 genesys: Simplify usage of sanei_genesys_get_status() 2019-10-01 08:18:47 +03:00
Povilas Kanapickas 26e418537f genesys: Reduce duplication of waiting for non-empty buffer state 2019-10-01 08:18:46 +03:00
Povilas Kanapickas bf9d69d20d genesys: Replace uses of SANE_Bool with bool 2019-10-01 08:18:45 +03:00
Povilas Kanapickas 6da4e69d95 genesys: Mark overridden functions consistently 2019-10-01 08:18:44 +03:00
Povilas Kanapickas 44ac90d309 genesys: Fix misuses of comma operator 2019-10-01 08:18:43 +03:00
Povilas Kanapickas 7ac53bce10 genesys: Replace uses of nullptr 2019-10-01 08:18:42 +03:00
Povilas Kanapickas 0781f3fd39 genesys: Make sure calib_reg are available before writing into them 2019-10-12 02:59:11 +03:00
Olaf Meeuwissen 0e4a2d107a Merge branch 'hh' into 'master'
uClibc-ng fixes

See merge request sane-project/backends!198
2019-10-06 02:47:36 +00:00
Povilas Kanapickas ec8dadc0a0 genesys: Use consistent names for enums of Canon scanners 2019-10-05 10:47:13 +03:00
Povilas Kanapickas 6a1055143f genesys: Use consistent names for enums of Plustek scanners 2019-10-05 10:47:13 +03:00
Rosen Penev fc699d2bf5
treewide: Replace bzero with memset
bzero was removed in POSIX 2008. It is optionally unavailable with
uClibc-ng.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-03 11:47:50 -07:00
Rosen Penev 5c0f0eb128
pieusb_buffer: Define L_tmpnam if not available
uClibc-ng does not make it available for some reason.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-03 11:47:50 -07:00
Rosen Penev c320a72e32
treewide: Replace mktemp by mkstemp
mktemp has been removed in POSIX 2008. uClibc-ng optionally does not make
it available.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-03 11:47:49 -07:00
Rolf Bensch 899d6968fa pixma: backend version 0.23.3 2019-10-01 22:58:54 +02:00
Rolf Bensch af09cf3ac8 pixma: add document feeder support for i-SENSYS MF260 Series 2019-10-01 22:57:18 +02:00
Povilas Kanapickas a42a177a7a genesys: Bump calibration version 2019-09-30 13:52:05 +03:00
Povilas Kanapickas 98b4742aab genesys: Use strong enum for motor step type 2019-09-30 13:52:04 +03:00
Povilas Kanapickas 719a0cf55c genesys: Use strong enum for motor id 2019-09-30 13:52:03 +03:00
Povilas Kanapickas 45aec26104 genesys: Use strong enum for gpio type 2019-09-30 13:52:02 +03:00
Povilas Kanapickas d4ca0177a1 genesys: Use strong enum for ADC id 2019-09-30 13:52:01 +03:00
Povilas Kanapickas df14234297 genesys: Use strong enum for sensor id 2019-09-30 13:52:00 +03:00
Povilas Kanapickas 66937f6468 genesys: Remove invalid comment 2019-09-30 13:51:59 +03:00
Povilas Kanapickas 6971301590 genesys: Rename Genesys_Sensor::{CCD -> ccd}_start_xoffset 2019-09-30 13:51:58 +03:00
Povilas Kanapickas 591309a29e genesys: Use strongly typed enum for model id 2019-09-30 13:51:57 +03:00
Povilas Kanapickas 290d19a097 Merge branch 'genesys-model-flag-inverted-output' into 'master'
genesys: Introduce a model flag for inverted 16-bit output

See merge request sane-project/backends!202
2019-10-05 06:27:44 +00:00
Povilas Kanapickas 7fb6582157 genesys: Introduce a model flag for inverted 16-bit output 2019-10-05 09:09:13 +03:00
Povilas Kanapickas 32dea76956 genesys: Use virtual functions for command set actions 2019-10-05 09:03:18 +03:00
Povilas Kanapickas 1face9299d genesys: Fix uninitialized option group names 2019-10-05 02:25:34 +03:00
Povilas Kanapickas 643ac8eab2 genesys: Fix memory leaks in global data 2019-10-05 02:25:34 +03:00