Wykres commitów

22 Commity (9d721e4610e1b51bba8c0524f769473e33c85f38)

Autor SHA1 Wiadomość Data
Ralph Little 59885e039e pixma: don't change resolution or mode when changing source
If currently selected resolution and mode are still valid when changing
source then retain the selected value rather than picking defaults.
2023-03-07 22:10:54 -08:00
David Ward 1a933bba7e Cast pointer arguments if needed when using "%p" format specifier
Pointer arguments must have type (void *) when printed with the format
specifier "%p".
2022-03-08 19:00:00 -05:00
Wolfram Sang eb42ad08d5 treewide: use SANE_CURRENT_* macros consistently
Backends use a mixture of SANE_CURRENT_{MAJOR | MINOR} and V_{MAJOR |
MINOR} with all kind of permutations. I was confused by this and one
comment in pieusb.c tells me I was not alone. Some items in old
changelogs suggest to use the SANE_CURRENT_ macros in backends, so let's
switch to do that with the exception of net.c and dll.c. Done with:

$ find backend -name '*.[ch]' | xargs sed -i '/nearly every/ ! { s/\<V_M/SANE_CURRENT_M/g }'
$ git checkout backend/net.c backend/dll.c

And manually removing the comment from pieusb.c. Everything still builds
fine.
2021-06-08 19:01:41 +02: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
Ralph Little 7946a14cfb po: Added en_GB translations.
Note: also fixed a minor grammar point in the pixma backend.
2021-01-24 10:04:47 -08:00
Ralph Little a388c3abc1 pixma: avoid structure copy on every read by using cinfo address. 2020-11-28 19:34:52 -08:00
Ralph Little 410f954f3b pixma: assignment must be inside the loop to be effective. 2020-11-28 19:29:06 -08:00
Iskren Chernev d0695c1470 pixma: Add --calibrate option
Feature was discussed in https://gitlab.com/sane-project/backends/-/issues/321
2020-11-02 22:50:48 +02:00
Peter Marschall 3e33c9664a spelling fixes for pixma backend 2020-08-29 09:18:03 +02:00
pobrn 45f84a569c respect 'local_only' parameter of sane_get_devices()
Certain backends do network scans even if the 'local_only'
parameter for 'sane_get_devices()' is true. Fix that.

Changes:

1. Modify 'sanei_configure_attach()' so that backend specific
   data may be passed to the 'attach()' function.

2. Use this in certain backends to pass the value of the
   'local_only' parameter so that network related activities
   are only carried out when the value is false.
2020-08-12 12:29:38 +02:00
Rolf Bensch 1da5ae889a pixma: add new button options
some scanners return more options from push-button:
document-type, adf-status and adf-orientation
2020-07-14 17:39:18 +02:00
Rolf Bensch 819cc8cd61 pixma: add comment how to generate new pixma_sane_options.[ch] 2020-07-11 20:04:46 +02:00
Rolf Bensch 3a18629f11 pixma: in dpi list set min. scan resolution for 16-bit scans 2020-07-06 23:17:02 +02:00
Rolf Bensch d2ae0ee697 pixma: update coryright 2020-06-05 23:19:21 +02:00
Rolf Bensch edace214b2 Merge branch 'pixma/gamma_table' into 'master'
Pixma: fix internal generated gamma table

See merge request sane-project/backends!295
2020-06-05 20:58:07 +00:00
Rolf Bensch 16ddd3b972 get 1024 and 4096 size gamma tables from frontend
Default gamma table has 1024 entries of 16 bits values. Only generation 1
scanners need a gamma table with 4096 entries of 8 bits values.
2020-05-30 23:41:06 +02:00
Rolf Bensch 1486b81dd9 pixma: fix description of adf-wait 2020-05-30 16:22:00 +02:00
Rolf Bensch 16ff7c0bba generate gamma table from control option
we need to generate gamma table only once, after getting gamma from the frontend
2020-05-30 16:18:20 +02:00
Rolf Bensch 103c77ddee new global variable for gamma
get gamma value from 'opt_gamma'
2020-05-30 15:27:42 +02:00
Rolf Bensch d2a43afce0 pixma: get device id if we replay a xml file 2020-03-31 20:01:10 +02:00
Rolf Bensch fa9d240e70 pixma: call sanei_usb_exit() on sane_exit()
see: sane-project/backends#108
2020-03-31 20:01:10 +02:00
Rolf Bensch 7b228be5e7 pixma: move source files to subfolder 2020-01-05 12:26:24 +01:00