]> git.ipfire.org Git - thirdparty/cups.git/log
thirdparty/cups.git
3 years agoTest suite: Add regression test for cupsSNMP/IPPSupplies 276/head
Zdenek Dohnal [Tue, 26 Oct 2021 15:33:40 +0000 (17:33 +0200)] 
Test suite: Add regression test for cupsSNMP/IPPSupplies

lpadmin can set cupsSNMPSupplies and cupsIPPSupplies keywords in the PPD
file which was broken in the past (Apple Issue #5610).

Until we get rid of PPD files completely or if we use the options in the
no-PPD future, it would be great if we had a regression test in the test
suite.

3 years agoMerge pull request #279 from AlaskanEmily/master
Michael R Sweet [Tue, 26 Oct 2021 00:54:08 +0000 (20:54 -0400)] 
Merge pull request #279 from AlaskanEmily/master

Avoid a crash when an Avahi or mDNS printer has neither device-uri nor printer-uri-supported set.

3 years agoAvoid a crash when an Avahi or mDNS printer has neither device-uri nor printer-uri... 279/head
AlaskanEmily [Mon, 25 Oct 2021 22:14:44 +0000 (15:14 -0700)] 
Avoid a crash when an Avahi or mDNS printer has neither device-uri nor printer-uri-supported set.

3 years agoIncrease the size of the attribute value buffer to 1MB for large media-col-database...
Michael R Sweet [Wed, 20 Oct 2021 21:38:27 +0000 (17:38 -0400)] 
Increase the size of the attribute value buffer to 1MB for large media-col-database values.

3 years agoAdd JSON output support to ipptool.
Michael R Sweet [Wed, 20 Oct 2021 21:32:30 +0000 (17:32 -0400)] 
Add JSON output support to ipptool.

3 years agoUpdate CHANGES.md
zdohnal [Mon, 18 Oct 2021 16:28:42 +0000 (18:28 +0200)] 
Update CHANGES.md

Add 'Issue' word to keep the style

3 years agoUpdate CHANGES.md
Zdenek Dohnal [Mon, 18 Oct 2021 15:03:53 +0000 (17:03 +0200)] 
Update CHANGES.md

3 years agoMerge pull request #274 from pablofsf/pwdnam-thread-safe
zdohnal [Mon, 18 Oct 2021 14:57:06 +0000 (16:57 +0200)] 
Merge pull request #274 from pablofsf/pwdnam-thread-safe

Use getpwnam_r instead of getpwnam in multi-threaded code

3 years agoUse thread-safe getpwnam_r and getpwuid_r in multi-threaded code 274/head
Pablo Correa Gómez [Sat, 16 Oct 2021 22:09:16 +0000 (00:09 +0200)] 
Use thread-safe getpwnam_r and getpwuid_r in multi-threaded code

getpwnam and getpwuid are thread-unsafe and potentially dangerous
in multi-threaded code. Substitue all their occurrences in
multi-threaded code with getpwnam_r and getpwuid_r, which are
thread-safe.

3 years agoMerge pull request #271 from zdohnal/scx-3405w-no-quirks
Michael R Sweet [Tue, 12 Oct 2021 12:16:47 +0000 (08:16 -0400)] 
Merge pull request #271 from zdohnal/scx-3405w-no-quirks

org.cups.usb-quirks: Samsung SCX-3405W works without quirks

3 years agoorg.cups.usb-quirks: Samsung SCX-3405W works without quirks 271/head
Zdenek Dohnal [Tue, 12 Oct 2021 04:31:15 +0000 (06:31 +0200)] 
org.cups.usb-quirks: Samsung SCX-3405W works without quirks

3 years agoUse cast for snapd_client_run_snapctl2_sync() not remove "const" from args
Till Kamppeter [Sun, 10 Oct 2021 07:37:21 +0000 (09:37 +0200)] 
Use cast for snapd_client_run_snapctl2_sync() not remove "const" from args

3 years agocupsd: Added debug log message if admin access from own utility is accepted
Till Kamppeter [Sat, 9 Oct 2021 22:34:43 +0000 (00:34 +0200)] 
cupsd: Added debug log message if admin access from own utility is accepted

On Snap mediation there is always a debug message telling why the
administrative task was accepted or denied, it was only missing if the
client is our CUPS Snap itself.

3 years agoMore copy/paste fixes for the "Snap redux" ...
Till Kamppeter [Sat, 9 Oct 2021 17:47:00 +0000 (19:47 +0200)] 
More copy/paste fixes for the "Snap redux" ...

This time also checked in Snap mode ("--with-container=snap") and also
doing a test with unsnapped CUPS vs. snapped client.

3 years agoFixed Copy/Paste errors of "Snap redux" (PR #269)
Till Kamppeter [Sat, 9 Oct 2021 15:06:36 +0000 (17:06 +0200)] 
Fixed Copy/Paste errors of "Snap redux" (PR #269)

Some variable declarations got lost by the changes which made the code
not building.

3 years agoUse have_qdraft for draft preset.
Michael R Sweet [Thu, 7 Oct 2021 16:29:10 +0000 (12:29 -0400)] 
Use have_qdraft for draft preset.

3 years agoFix gray/color presets for IPP Everywhere PPDs (Issue #262)
Michael R Sweet [Thu, 7 Oct 2021 16:04:27 +0000 (12:04 -0400)] 
Fix gray/color presets for IPP Everywhere PPDs (Issue #262)

3 years agoMerge pull request #257 from bmasonrh/master
zdohnal [Thu, 7 Oct 2021 05:13:14 +0000 (07:13 +0200)] 
Merge pull request #257 from bmasonrh/master

cgi-bin/ipp-var.c: Use "guest" user for Move Job when no REMOTE_USER given

3 years agoFix configure test.
Michael R Sweet [Wed, 6 Oct 2021 20:52:29 +0000 (16:52 -0400)] 
Fix configure test.

3 years agoMerge pull request #269 from OpenPrinting/snap-redux
Michael R Sweet [Wed, 6 Oct 2021 19:11:06 +0000 (15:11 -0400)] 
Merge pull request #269 from OpenPrinting/snap-redux

Snap redux

3 years agoRemove braces. 257/head
Bryan Mason [Wed, 6 Oct 2021 18:12:29 +0000 (11:12 -0700)] 
Remove braces.

3 years agoFix Codacy-detected issue - not using path variable. 269/head
Michael R Sweet [Wed, 6 Oct 2021 15:58:09 +0000 (11:58 -0400)] 
Fix Codacy-detected issue - not using path variable.

3 years agoAdd badges for Codacy, Coverity, and LGTM.
Michael R Sweet [Wed, 6 Oct 2021 15:56:39 +0000 (11:56 -0400)] 
Add badges for Codacy, Coverity, and LGTM.

3 years agoMerge branch 'master' into snap-redux
Michael R Sweet [Wed, 6 Oct 2021 15:05:55 +0000 (11:05 -0400)] 
Merge branch 'master' into snap-redux

3 years agoClean up and simplify snap support.
Michael R Sweet [Wed, 6 Oct 2021 14:42:34 +0000 (10:42 -0400)] 
Clean up and simplify snap support.

3 years agoSave work on simplifying snap support.
Michael R Sweet [Wed, 6 Oct 2021 12:13:11 +0000 (08:13 -0400)] 
Save work on simplifying snap support.

3 years agoAdd Coverity scan action.
Michael R Sweet [Tue, 5 Oct 2021 22:53:23 +0000 (18:53 -0400)] 
Add Coverity scan action.

3 years agoInitial implementation of OAuth client callback (Issue #100)
Michael R Sweet [Mon, 4 Oct 2021 21:37:41 +0000 (17:37 -0400)] 
Initial implementation of OAuth client callback (Issue #100)

3 years agoFix some clang-reported issues.
Michael R Sweet [Tue, 5 Oct 2021 20:50:39 +0000 (16:50 -0400)] 
Fix some clang-reported issues.

3 years agoAdd support for CORS/HSTS/OSCORE/Interative Client security headers (Issue #266)
Michael R Sweet [Tue, 5 Oct 2021 14:45:47 +0000 (10:45 -0400)] 
Add support for CORS/HSTS/OSCORE/Interative Client security headers (Issue #266)

All this does is add HTTP_FIELD_xxx enumerations and the corresponding strings
to allow libcups implementations of HTTP clients/servers that send/receive them.

For the subject bug we'll still need to do a bunch of work in cupsd (later).

3 years agoAdd Coverity scan action.
Michael R Sweet [Tue, 5 Oct 2021 22:53:23 +0000 (18:53 -0400)] 
Add Coverity scan action.

3 years agoMerge pull request #268 from OpenPrinting/oauth
Michael R Sweet [Tue, 5 Oct 2021 21:50:05 +0000 (17:50 -0400)] 
Merge pull request #268 from OpenPrinting/oauth

Initial implementation of OAuth client callback (Issue #100)

3 years agoFix some clang-reported issues.
Michael R Sweet [Tue, 5 Oct 2021 20:50:39 +0000 (16:50 -0400)] 
Fix some clang-reported issues.

3 years agoAdd support for CORS/HSTS/OSCORE/Interative Client security headers (Issue #266)
Michael R Sweet [Tue, 5 Oct 2021 14:45:47 +0000 (10:45 -0400)] 
Add support for CORS/HSTS/OSCORE/Interative Client security headers (Issue #266)

All this does is add HTTP_FIELD_xxx enumerations and the corresponding strings
to allow libcups implementations of HTTP clients/servers that send/receive them.

For the subject bug we'll still need to do a bunch of work in cupsd (later).

3 years agoSave work on snap support changes.
Michael R Sweet [Tue, 5 Oct 2021 13:57:42 +0000 (09:57 -0400)] 
Save work on snap support changes.

3 years agoMerge pull request #267 from AtariDreams/patch-4
Michael R Sweet [Tue, 5 Oct 2021 11:40:18 +0000 (07:40 -0400)] 
Merge pull request #267 from AtariDreams/patch-4

Replace the last bzeros with memset

3 years agoInitial implementation of OAuth client callback (Issue #100) 268/head
Michael R Sweet [Mon, 4 Oct 2021 21:37:41 +0000 (17:37 -0400)] 
Initial implementation of OAuth client callback (Issue #100)

3 years agoReplace the last bzeros with memset 267/head
Rose [Sun, 3 Oct 2021 20:37:02 +0000 (16:37 -0400)] 
Replace the last bzeros with memset

bzero has been deprecated since 2008

3 years agoRemove non-functional ListenBackLog directive (Apple #5975)
Michael R Sweet [Fri, 1 Oct 2021 15:25:11 +0000 (11:25 -0400)] 
Remove non-functional ListenBackLog directive (Apple #5975)

3 years agoUpdate changelog.
Michael R Sweet [Fri, 1 Oct 2021 14:01:51 +0000 (10:01 -0400)] 
Update changelog.

3 years agoFix Windows build errors.
Michael R Sweet [Fri, 1 Oct 2021 13:57:45 +0000 (09:57 -0400)] 
Fix Windows build errors.

3 years agoAdd Windows support for cupsHashData using CNG API.
Michael R Sweet [Fri, 1 Oct 2021 13:47:08 +0000 (09:47 -0400)] 
Add Windows support for cupsHashData using CNG API.

3 years agoFix Windows TLS bug.
Michael R Sweet [Thu, 30 Sep 2021 23:06:41 +0000 (19:06 -0400)] 
Fix Windows TLS bug.

3 years agoAdd debugging to Windows TLS code.
Michael R Sweet [Thu, 30 Sep 2021 22:57:25 +0000 (18:57 -0400)] 
Add debugging to Windows TLS code.

3 years agoMerge pull request #264 from speachy/master
Michael R Sweet [Thu, 30 Sep 2021 14:18:16 +0000 (10:18 -0400)] 
Merge pull request #264 from speachy/master

Expand whitelist for use of "offline-report"

3 years agoExpand whitelist for use of "offline-report" 264/head
Solomon Peachy [Thu, 30 Sep 2021 11:25:46 +0000 (07:25 -0400)] 
Expand whitelist for use of "offline-report"

The old behavior unconditionally cleared the "offline-report"
printer-reason unless the backend was 'usb:' or 'ippusb:' with the
assumption that these were the only two direct-connect USB backends
in use, with everything else being remote.

This is definitely not the case; putting aside proprietary 3rd-party
backends, there is Gutenprint's USB backend, which identifies itself
with 'gutenprint52+usb:' or 'gutenprint53+usb:' depending on the version.

So, generalize the rule to search for the string 'usb:' in the uri
instead, which will allow all three/four usb backends to use the
'offline-report' printer-reason.

(FWIW, I'm not happy with this approach; It seems to me that the
 CorrectSolution(tm) is to track the device-class returned by the backend
 at discovery time, and ignore 'offline-report' for anything other than
 'direct', but that's going to be a lot more involved..)

3 years agoBump NuGet versions and fix compiler warning.
Michael R Sweet [Wed, 29 Sep 2021 15:53:40 +0000 (11:53 -0400)] 
Bump NuGet versions and fix compiler warning.

3 years agoFixed typo.
Till Kamppeter [Tue, 28 Sep 2021 09:59:23 +0000 (11:59 +0200)] 
Fixed typo.

3 years agoComment out debug printfs for now.
Michael R Sweet [Mon, 27 Sep 2021 21:14:47 +0000 (17:14 -0400)] 
Comment out debug printfs for now.

3 years agoFix X.509 certificate generation and user preferences on Windows.
Michael R Sweet [Mon, 27 Sep 2021 20:37:30 +0000 (16:37 -0400)] 
Fix X.509 certificate generation and user preferences on Windows.

3 years agoMerge pull request #239 from liuli0217/master
Michael R Sweet [Sun, 26 Sep 2021 15:03:28 +0000 (11:03 -0400)] 
Merge pull request #239 from liuli0217/master

fix _cupsGet1284Values

3 years agocgi-bin/ipp-var.c: Use "guest" user for Move Job when no REMOTE_USER given
Bryan Mason [Wed, 22 Sep 2021 18:20:16 +0000 (11:20 -0700)] 
cgi-bin/ipp-var.c: Use "guest" user for Move Job when no REMOTE_USER given

3 years agoIgnore a 'scratch' directory, if present.
Michael R Sweet [Wed, 22 Sep 2021 13:24:55 +0000 (09:24 -0400)] 
Ignore a 'scratch' directory, if present.

3 years agoFix 'lp -H restart' when a hold condition is specified (Issue #250)
Michael R Sweet [Wed, 22 Sep 2021 11:43:34 +0000 (07:43 -0400)] 
Fix 'lp -H restart' when a hold condition is specified (Issue #250)

3 years agoUpdate mapping of media-source, media-type, and output-bin to match both PPD
Michael R Sweet [Tue, 21 Sep 2021 13:59:45 +0000 (09:59 -0400)] 
Update mapping of media-source, media-type, and output-bin to match both PPD
and PWG names (Issue #238)

Add printer-privacy-policy-uri, printer-mandatory-job-attributes, and
printer-requested-job-attributes to PPD file.

3 years agoChangelog
Michael R Sweet [Tue, 21 Sep 2021 12:11:07 +0000 (08:11 -0400)] 
Changelog

3 years agoMerge pull request #250 from bmasonrh/master
Michael R Sweet [Tue, 21 Sep 2021 12:10:03 +0000 (08:10 -0400)] 
Merge pull request #250 from bmasonrh/master

scheduler/ipp.c: Change job state to IPP_JOB_HELD when job is restarted with appropriate job-held-until attribute.

3 years agoFix Codacy-detect error in CSS.
Michael R Sweet [Mon, 20 Sep 2021 16:14:01 +0000 (12:14 -0400)] 
Fix Codacy-detect error in CSS.

3 years agoAdd dark mode CSS for web interface (Issue #152)
Michael R Sweet [Mon, 20 Sep 2021 12:36:23 +0000 (08:36 -0400)] 
Add dark mode CSS for web interface (Issue #152)

3 years agoFix the generated HTML man pages and mantohtml utility (Issue #256)
Michael R Sweet [Mon, 20 Sep 2021 12:02:42 +0000 (08:02 -0400)] 
Fix the generated HTML man pages and mantohtml utility (Issue #256)

Also update the ipptool/ipptoolfile man pages with current operations,
status codes, and tags.

3 years agoUpdate options.c 239/head
liuli [Sat, 18 Sep 2021 00:19:40 +0000 (08:19 +0800)] 
Update options.c

3 years agoscheduler/ipp.c: Added requested changes 250/head
Bryan Mason [Fri, 17 Sep 2021 19:12:29 +0000 (12:12 -0700)] 
scheduler/ipp.c: Added requested changes

3 years agoMerge pull request #254 from AtariDreams/patch-3
Michael R Sweet [Fri, 17 Sep 2021 17:51:44 +0000 (13:51 -0400)] 
Merge pull request #254 from AtariDreams/patch-3

Use correct argument name

3 years agoUse correct argument name 254/head
Rose [Fri, 17 Sep 2021 16:13:03 +0000 (12:13 -0400)] 
Use correct argument name

3 years agoFix an interaction between --remote-admin and --remote-any (Issue #158)
Michael R Sweet [Fri, 17 Sep 2021 15:40:54 +0000 (11:40 -0400)] 
Fix an interaction between --remote-admin and --remote-any (Issue #158)

3 years agoShow better error messages when a driver interface fails (Issue #148)
Michael R Sweet [Fri, 17 Sep 2021 15:28:22 +0000 (11:28 -0400)] 
Show better error messages when a driver interface fails (Issue #148)

3 years agoMerge pull request #253 from AtariDreams/patch-2
Michael R Sweet [Fri, 17 Sep 2021 14:41:46 +0000 (10:41 -0400)] 
Merge pull request #253 from AtariDreams/patch-2

Don't use comma after last enum listing

3 years agoDon't use comma after last enum listing 253/head
Rose [Fri, 17 Sep 2021 14:33:06 +0000 (10:33 -0400)] 
Don't use comma after last enum listing

3 years agoMerge pull request #252 from AtariDreams/patch-1
Michael R Sweet [Fri, 17 Sep 2021 13:45:19 +0000 (09:45 -0400)] 
Merge pull request #252 from AtariDreams/patch-1

Fix Macro typo

3 years agoUpdate all links on ipptool man pages, everywhere.
Michael R Sweet [Fri, 17 Sep 2021 13:40:37 +0000 (09:40 -0400)] 
Update all links on ipptool man pages, everywhere.

3 years agoFix typo 252/head
Rose [Thu, 16 Sep 2021 21:38:35 +0000 (17:38 -0400)] 
Fix typo

Wrong macro name was used.

3 years agoMerge pull request #251 from zdohnal/invalid_links
zdohnal [Fri, 17 Sep 2021 04:25:47 +0000 (06:25 +0200)] 
Merge pull request #251 from zdohnal/invalid_links

doc/help/man-ipptool.html: Fix links

3 years agoAdd security reporting documentation.
Michael R Sweet [Fri, 17 Sep 2021 01:50:08 +0000 (21:50 -0400)] 
Add security reporting documentation.

3 years agoFix indentation and add buffer range check.
Michael R Sweet [Thu, 16 Sep 2021 15:47:36 +0000 (11:47 -0400)] 
Fix indentation and add buffer range check.

3 years agoMerge pull request #249 from AtariDreams/comma
Michael R Sweet [Thu, 16 Sep 2021 15:39:08 +0000 (11:39 -0400)] 
Merge pull request #249 from AtariDreams/comma

Fix missing comma

3 years agodoc/help/man-ipptool.html: Fix links 251/head
Zdenek Dohnal [Thu, 16 Sep 2021 12:32:59 +0000 (14:32 +0200)] 
doc/help/man-ipptool.html: Fix links

3 years agoscheduler/ipp.c: Change job state to IPP_JOB_HELD when job is restarted with appropri...
Bryan Mason [Thu, 16 Sep 2021 00:59:22 +0000 (17:59 -0700)] 
scheduler/ipp.c: Change job state to IPP_JOB_HELD when job is restarted with appropriate job-held-until attribute.

3 years agoFix missing comma 249/head
Alfonso Gregory [Wed, 15 Sep 2021 20:35:55 +0000 (16:35 -0400)] 
Fix missing comma

3 years agoReturn kDNSServiceErr_ServiceNotRunning when Bonjour for Windows not installed.
Michael R Sweet [Wed, 15 Sep 2021 20:04:19 +0000 (16:04 -0400)] 
Return kDNSServiceErr_ServiceNotRunning when Bonjour for Windows not installed.

3 years agoMerge pull request #247 from AtariDreams/urgent
Michael R Sweet [Wed, 15 Sep 2021 19:29:09 +0000 (15:29 -0400)] 
Merge pull request #247 from AtariDreams/urgent

Fix swapped arguments

3 years agoFix swapped arguments 247/head
Alfonso Gregory [Wed, 15 Sep 2021 17:29:47 +0000 (13:29 -0400)] 
Fix swapped arguments

3 years agoAdd clarification that OpenPrinting CUPS is the most current, and that Apple CUPS...
Michael R Sweet [Mon, 13 Sep 2021 12:23:31 +0000 (08:23 -0400)] 
Add clarification that OpenPrinting CUPS is the most current, and that Apple CUPS is what ships with macOS and iOS (Issue #215)

3 years agoFix ippeveprinter on Windows.
Michael R Sweet [Mon, 13 Sep 2021 12:05:18 +0000 (08:05 -0400)] 
Fix ippeveprinter on Windows.

3 years agoMerge pull request #231 from AtariDreams/new-configure
Michael R Sweet [Mon, 13 Sep 2021 11:13:07 +0000 (07:13 -0400)] 
Merge pull request #231 from AtariDreams/new-configure

Update Xcode and configure.ac files

3 years agoUpdate Xcode, configure.ac, and Makefile 231/head
Alfonso Gregory [Mon, 30 Aug 2021 17:15:12 +0000 (13:15 -0400)] 
Update Xcode, configure.ac, and Makefile

3 years agoUpdate CGI documentation and add testable examples for CGI support (Apple #5940)
Michael R Sweet [Thu, 9 Sep 2021 15:03:13 +0000 (11:03 -0400)] 
Update CGI documentation and add testable examples for CGI support (Apple #5940)

3 years agoMerge pull request #222 from evanmiller/patch-1
Michael R Sweet [Wed, 8 Sep 2021 22:06:07 +0000 (18:06 -0400)] 
Merge pull request #222 from evanmiller/patch-1

Only include os/availability.h if needed

3 years agoOnly include os/availability.h if available 222/head
Evan Miller [Wed, 8 Sep 2021 12:42:59 +0000 (08:42 -0400)] 
Only include os/availability.h if available

Define new _CUPS_API_AVAILABLE and _CUPS_API_DEPRECATED macros to be
empty if <os/availability.h> is not includable (e.g. pre-10.12 Macs)

3 years agoMerge branch 'AtariDreams-nullFix'
Zdenek Dohnal [Wed, 8 Sep 2021 06:06:52 +0000 (08:06 +0200)] 
Merge branch 'AtariDreams-nullFix'

cgi-bin/admin.c: Prevent accessing ppd_name if ppd_name is NULL

The fix provided by Alfonso Gregory, fixes regression after PR #218.

3 years agocgi-bin/admin.c: Prevent accessing ppd_name if ppd_name is NULL
Zdenek Dohnal [Wed, 8 Sep 2021 06:04:13 +0000 (08:04 +0200)] 
cgi-bin/admin.c: Prevent accessing ppd_name if ppd_name is NULL

The fix provided by Alfonso Gregory, fixes regression after PR #218.

3 years agoMerge pull request #218 from zdohnal/webui_driver_deprecated
Michael R Sweet [Tue, 7 Sep 2021 16:35:42 +0000 (12:35 -0400)] 
Merge pull request #218 from zdohnal/webui_driver_deprecated

choose-model.tmpl: Add warning about drivers deprecation

3 years agoMerge branch 'master' into webui_driver_deprecated 218/head
Michael R Sweet [Tue, 7 Sep 2021 16:35:28 +0000 (12:35 -0400)] 
Merge branch 'master' into webui_driver_deprecated

3 years agoMerge pull request #230 from AtariDreams/appcode2
Michael R Sweet [Tue, 7 Sep 2021 16:33:40 +0000 (12:33 -0400)] 
Merge pull request #230 from AtariDreams/appcode2

Remove redundant code

3 years agoMerge pull request #242 from zdohnal/everywhere_current_model
Michael R Sweet [Tue, 7 Sep 2021 16:31:01 +0000 (12:31 -0400)] 
Merge pull request #242 from zdohnal/everywhere_current_model

CUPS Web UI: Fix uninitialized variable during driver selection

3 years agoRemove redundant code 230/head
Alfonso Gregory [Mon, 30 Aug 2021 16:23:00 +0000 (12:23 -0400)] 
Remove redundant code

3 years agoFix potential deadlock (Issue #243)
Michael R Sweet [Tue, 7 Sep 2021 13:28:35 +0000 (09:28 -0400)] 
Fix potential deadlock (Issue #243)

3 years agoCUPS Web UI: Fix uninitialized variable during driver selection 242/head
Zdenek Dohnal [Mon, 6 Sep 2021 11:24:41 +0000 (13:24 +0200)] 
CUPS Web UI: Fix uninitialized variable during driver selection

If device uri doesn't contain model name, `current_make_and_model` is
uninitialized during driver selection in CUPS Web UI.

The issue manifests itself during choosing IPP Everywhere driver, which
has the variable in its name, so it ends up into
`{current_make_and_model} - IPP Everywhere`.

Since we don't have any info about model at the time, I would propose to
just shorten the driver name for such cases. The PR works that way.

3 years agoCUPS Web UI: Add warning about printer driver and raw queues deprecation
Zdenek Dohnal [Mon, 6 Sep 2021 09:27:40 +0000 (11:27 +0200)] 
CUPS Web UI: Add warning about printer driver and raw queues deprecation

3 years agoUpdate options.c
liuli [Mon, 6 Sep 2021 00:39:43 +0000 (08:39 +0800)] 
Update options.c

3 years agoMerge pull request #240 from tbigby-kristin/master
Michael R Sweet [Sun, 5 Sep 2021 13:01:38 +0000 (09:01 -0400)] 
Merge pull request #240 from tbigby-kristin/master

Fix path to libcupsimage.so.2 in EPM packaging