Wykres commitów

201 Commity (b31b82c8bd99e890835b0ab8f42cbf118481784e)

Autor SHA1 Wiadomość Data
ThierryFR 113be50f6b Escl force idle status 2024-04-16 20:45:49 +00:00
Ordissimo cc13a4986d escl: Fix option without poppler. 2024-01-11 19:13:45 +01:00
ThierryFR d8c3848765 Fix work with pre-configured device 2023-10-09 20:54:48 +00:00
Sebastian Parborg ba7d24bf30 escl: Fix crash in libjpeg when cropping the scanned image
jpeg_crop_scanline will adjust the x offset and the width of the image
to make it line up with the nearest iMCU boundary.

Before, this was not taken into account and it would make SANE
potentially allocate a too small buffer for the final image.

This would lead to segfaults because libjpeg would try to write outside
of the allocated memory region as it assumes that the buffer was
allocated with the new cinfo.output_width size after cropping.
2023-09-19 15:54:22 +02:00
Ordissimo f9951e3b31 escl - Fix constant build . 2023-08-05 17:55:14 +02:00
Ordissimo aa3fc1cad8 escl: Fix version of pwf:Version 2023-04-16 19:49:45 +00:00
thierry1970 23c7290931 Get the eSCL version in the xml 2022-08-05 17:40:20 +02:00
Ordissimo a698f003fe Escl: fix segfault 2022-07-05 06:36:44 +00:00
thierry1970 df048b16f0 escl: fix version job. 2022-05-11 15:23:34 +02:00
Ordissimo 7431b65974 Escl: set option if necessary 2022-05-11 13:18:17 +00:00
Ordissimo 024ae3b5fa Escl: normalize spec 2022-05-11 09:59:20 +00:00
thierry1970 aa032f458d escl : Remove obselete tag. 2022-05-11 08:28:35 +02:00
David Ward b2c2b74858 escl: convert get_PDF_data() to use GMappedFile and GBytes 2022-04-19 12:11:24 +00:00
Raphael Isemann 877871443d Fix inversed logic in escl_tiff.c:get_TIFF_data
malloc returns NULL on error, but this code errors out on the non-NULL pointer
indicating success (which essentially makes this function always fail).

Signed-off-by: Raphael Isemann <teemperor@gmail.com>
2022-04-14 08:29:43 +02:00
Ordissimo b5d5b01886 escl: Fix ipv6 detection. 2022-04-09 17:31:36 +02:00
David Ward 3c3a247d25 Replace deprecated uint32 with uint32_t 2022-03-08 19:00:00 -05:00
Ordissimo 98869ebedf Merge branch 'fix-old-tls-connections' into 'master'
Fix old tls connections

See merge request sane-project/backends!663
2021-12-17 12:13:07 +00:00
thierry1970 d77743b243 Search for the TLS version used by the device, then force the TLS version if necessary.
Check constant curl_ssl

Fix build
2021-12-16 00:30:56 +01:00
Thierry HUCHARD 4752a9c379 added support for ipv6.
Fixes a possible memory overflow.
2021-12-15 23:30:02 +01:00
Ordissimo 72992f4e25 Fix segfault sane-escl. 2021-10-20 22:25:10 +02:00
Jindřich Makovička 1b5344ba56 escl: Follow the 302 redirects
Recent ipp-usb redirects from http://127.0.0.1 to http://localhost
2021-10-14 20:05:19 +02:00
Ordissimo 88934578ec The name of the device, allows to disable the use of the PDF format. 2021-09-26 06:35:31 +00:00
Ordissimo e1b5c43b56 Escl add models Epson ET-6100 2021-08-31 20:09:33 +00:00
Ordissimo 4929387246 Fix redirect request. 2021-08-23 07:57:32 +00:00
thierry1970 667d8f7acc The job URL is adapted to the information provided by the value of the Location property. 2021-06-12 00:57:07 +02:00
Thierry HUCHARD f99687b3cc Fix scan all resolution with JPEG. 2021-03-31 17:35:40 +02:00
Olaf Meeuwissen 00df971593 Merge branch 'release/1.0.32' into 'master'
Release/1.0.32

Closes #122 and #248

See merge request sane-project/backends!594
2021-02-14 12:24:09 +00:00
Olaf Meeuwissen e79adde8b2
Use URL to refer users to copies of the GPL and LGPL
With the exception of use in three quotes as well as our inlcuded copy
of the GPL, all use of the Free Software Foundation's postal address
has been removed.

Re #320.
2021-02-12 17:41:38 +09:00
Thierry HUCHARD 5f2209ffd9 Use header to activate hack localhost. 2021-01-30 20:32:00 +01:00
Ordissimo 6f90442641 Fix sleep mode 2021-01-24 07:17:36 +00:00
Thierry HUCHARD 9dd8319a01 Utilise MakeAndModel pour le device au hack. 2021-01-17 17:23:56 +01:00
Thierry HUCHARD 4b6418476e Allows to activate the hack from the configuration file, only the first form supports it. 2021-01-16 23:01:31 +01:00
Thierry HUCHARD cb8b6d2ace Fixed variable initialization. 2021-01-16 09:06:01 +01:00
Thierry HUCHARD b24907c8a9 Fix scanjob for LaserJet FlowMFP M578 and LaserJet MFP M630. 2021-01-16 09:03:14 +01:00
Timo Teräs 891ccac3b6 escl: fix char_to_array memory allocation calculations
Too little memory allocated due to incorrect calculation.

Fixes #425
2021-01-15 16:46:12 +02:00
thierry1970 0293e662cf Fix check poppler-glib, (see issue #422). 2021-01-14 13:20:17 +01:00
Thierry HUCHARD fefc6f1818 The order of the parameters does not change the result. 2021-01-04 19:47:08 +01:00
Thierry HUCHARD 17023afb99 Get device informations with avahi. 2020-12-29 11:33:55 +01:00
thierry1970 1dbc316327 Fix messages and variable. 2020-12-22 16:14:44 +01:00
Ordissimo 4aa767327d Choose the format according to availability and options. 2020-12-21 20:17:03 +00:00
thierry1970 c0dae7e8f5 refactoring options code 2020-12-21 18:16:31 +01:00
Thierry HUCHARD a5181be71b Fix a crash when asking for the list of options: scanimage -A 2020-12-19 22:04:30 +01:00
thierry1970 841680f610 Fix : Fixes the crash of devices that do not have a tray, discovered on the HP Deskjet 3760 device. 2020-12-16 13:41:31 +01:00
Thierry HUCHARD 8885312711 Fixes device discovery 2020-10-10 18:01:55 +02:00
thierry1970 cd768b3692 Check options scan and fix xml. 2020-09-18 15:47:45 +02:00
thierry1970 e281dfb0cd Fix style. 2020-09-17 18:55:03 +02:00
thierry1970 fcbeeccbf0 Added options: Brightness, Threshold, Sharpen and Contrast. 2020-09-17 18:50:33 +02:00
Peter Marschall 950aded610 Apply 1 suggestion(s) to 1 file(s) 2020-09-06 07:29:49 +00:00
Peter Marschall 6e16f45b76 Apply 1 suggestion(s) to 1 file(s) 2020-09-06 07:29:44 +00:00
Peter Marschall 4f4278ab2d spelling fixes for escl backend 2020-08-29 09:18:03 +02:00