]>
git.ipfire.org Git - thirdparty/cups.git/log
Zdenek Dohnal [Fri, 27 Jan 2023 09:38:59 +0000 (10:38 +0100)]
REPORTING_ISSUES.md: Initial page
Michael R Sweet [Wed, 25 Jan 2023 19:04:24 +0000 (14:04 -0500)]
Merge pull request #593 from AtariDreams/OR-3
Use bitwise OR instead of addition
Rose [Fri, 20 Jan 2023 18:42:08 +0000 (13:42 -0500)]
Use bitwise OR instead of addition
Till Kamppeter [Sun, 22 Jan 2023 02:30:52 +0000 (23:30 -0300)]
Build system: Support new snapd-glib-2 API
There is a new API of snapd-glib used for libsoup3
The original API, snapd-glib, is still supported.
Michael R Sweet [Sat, 21 Jan 2023 22:14:29 +0000 (17:14 -0500)]
Eliminate trivial switch's.
Michael R Sweet [Sat, 21 Jan 2023 22:00:14 +0000 (17:00 -0500)]
Fix Windows compile error.
Michael R Sweet [Sat, 21 Jan 2023 19:40:38 +0000 (14:40 -0500)]
Merge pull request #589 from AtariDreams/depth
Remove useless depth argument from static function cups_get_printer_uri
Michael R Sweet [Sat, 21 Jan 2023 19:37:28 +0000 (14:37 -0500)]
Drop Codacy - serious issues with this code scanning tool and too many false positives and bogus MISRA reports.
Michael R Sweet [Sat, 21 Jan 2023 19:26:25 +0000 (14:26 -0500)]
Merge pull request #592 from AtariDreams/noreturn
Mark nonreturning functions as _CUPS_NORETURN
Michael R Sweet [Sat, 21 Jan 2023 19:15:21 +0000 (14:15 -0500)]
Merge pull request #595 from AtariDreams/inheader
Check inheader before checking color space
Michael R Sweet [Sat, 21 Jan 2023 19:12:04 +0000 (14:12 -0500)]
Merge pull request #597 from AtariDreams/abort
Have fallback in case GetProcAddress fails
Rose [Sat, 21 Jan 2023 19:01:43 +0000 (14:01 -0500)]
Have fallback in case GetProcAddress fails
Michael R Sweet [Fri, 20 Jan 2023 19:25:22 +0000 (14:25 -0500)]
Merge pull request #580 from mgoppold/master
Log scheme in backend status #579
Rose [Fri, 20 Jan 2023 19:07:46 +0000 (14:07 -0500)]
Check inheader before checking color space
Rose [Fri, 20 Jan 2023 18:26:41 +0000 (13:26 -0500)]
Mark nonreturning functions as _CUPS_NORETURN
Rose [Fri, 20 Jan 2023 17:34:50 +0000 (12:34 -0500)]
Remove useless depth argument from static function cups_get_printer_uri
This is safe to do since this function is not supposed to be exposed via the ABI, nor is there a pointer to this function, so as long as every other function in the file accommodates this change, no behavioral change should happen.
In addition, depth is always 0 and only used for one debug print statement anyway, so we can and should remove it, instead of simply declaring it unused.
Mario Goppold [Fri, 20 Jan 2023 14:31:45 +0000 (15:31 +0100)]
Merge branch 'OpenPrinting:master' into master
Mario Goppold [Fri, 20 Jan 2023 14:31:09 +0000 (15:31 +0100)]
Keep the original decision for "-offline-report"
Michael R Sweet [Thu, 19 Jan 2023 16:08:07 +0000 (11:08 -0500)]
Merge pull request #588 from AtariDreams/patch-6
Fix data types on Windows
Rose [Wed, 18 Jan 2023 22:32:21 +0000 (17:32 -0500)]
Fix data types on Windows
Michael R Sweet [Thu, 19 Jan 2023 00:27:12 +0000 (19:27 -0500)]
Merge pull request #587 from AtariDreams/patch-6
Windows version numbers are unsigned
Rose [Wed, 18 Jan 2023 22:32:21 +0000 (17:32 -0500)]
Windows version numbers are unsigned
Michael R Sweet [Wed, 18 Jan 2023 16:33:52 +0000 (11:33 -0500)]
Implement ipp-attribute-fidelity in ippeveprinter.
Michael R Sweet [Tue, 17 Jan 2023 22:31:47 +0000 (17:31 -0500)]
Merge pull request #585 from OpenPrinting/dependabot/github_actions/codacy/codacy-analysis-cli-action-4.2.0
Bump codacy/codacy-analysis-cli-action from 1.1.0 to 4.2.0
dependabot[bot] [Tue, 17 Jan 2023 22:07:32 +0000 (22:07 +0000)]
Bump codacy/codacy-analysis-cli-action from 1.1.0 to 4.2.0
Bumps [codacy/codacy-analysis-cli-action](https://github.com/codacy/codacy-analysis-cli-action) from 1.1.0 to 4.2.0.
- [Release notes](https://github.com/codacy/codacy-analysis-cli-action/releases)
- [Commits](https://github.com/codacy/codacy-analysis-cli-action/compare/1.1.0...v4.2.0)
---
updated-dependencies:
- dependency-name: codacy/codacy-analysis-cli-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Michael R Sweet [Tue, 17 Jan 2023 21:37:23 +0000 (16:37 -0500)]
Merge pull request #550 from AtariDreams/canceled
Remove redundant Canceled check
Michael R Sweet [Tue, 17 Jan 2023 21:35:10 +0000 (16:35 -0500)]
Merge pull request #545 from AtariDreams/clang
Remove dead workaround code
Michael R Sweet [Tue, 17 Jan 2023 21:29:15 +0000 (16:29 -0500)]
Merge pull request #535 from AtariDreams/arg
Change (argc < 6 || argc > 7) to (argc != 6 && argc != 7)
Michael R Sweet [Tue, 17 Jan 2023 21:28:09 +0000 (16:28 -0500)]
Merge pull request #462 from jamacku/master
ci: Add Dependabot to keep GitHub actions up to date
Michael R Sweet [Tue, 17 Jan 2023 21:27:01 +0000 (16:27 -0500)]
Merge pull request #506 from AtariDreams/XPrinter
Correctly display "Xprinter" instead of Xerox for Xprinter devices
Michael R Sweet [Tue, 17 Jan 2023 21:26:11 +0000 (16:26 -0500)]
Merge pull request #523 from Nopraz/master
Add documentation for compiling on Fedora
Michael R Sweet [Tue, 17 Jan 2023 21:25:03 +0000 (16:25 -0500)]
Merge pull request #541 from AtariDreams/fix-typo
Fix passing wrong variable to cupsGetOption in testcups
Michael R Sweet [Tue, 17 Jan 2023 21:24:22 +0000 (16:24 -0500)]
Merge pull request #544 from AtariDreams/final-update
Update rxspenser to latest version
Michael R Sweet [Tue, 17 Jan 2023 21:22:46 +0000 (16:22 -0500)]
Merge pull request #543 from AtariDreams/Letter-default
Make Letter the default size if the other values do not fit
Michael R Sweet [Tue, 17 Jan 2023 21:14:40 +0000 (16:14 -0500)]
Add "printer-strings-uri" and "printer-strings-languages-supported" (Issue #551)
Michael R Sweet [Tue, 17 Jan 2023 21:11:01 +0000 (16:11 -0500)]
Merge pull request #555 from AtariDreams/buffer
Manually assign the two char literals instead of a memcpy
Michael R Sweet [Tue, 17 Jan 2023 20:59:44 +0000 (15:59 -0500)]
Merge pull request #577 from ferivoz/typos
Fix typos
Michael R Sweet [Tue, 17 Jan 2023 20:58:39 +0000 (15:58 -0500)]
Merge pull request #578 from ckiee/exp-sub-loglevel
Increase log level for "Expiring subscriptions..."
Michael R Sweet [Tue, 17 Jan 2023 20:56:04 +0000 (15:56 -0500)]
Transition to current CodeQL tools vs. LGTM.
Michael R Sweet [Tue, 17 Jan 2023 20:44:01 +0000 (15:44 -0500)]
Allow media-size values to match within +/-1mm (Issue #487)
Michael R Sweet [Tue, 17 Jan 2023 11:39:02 +0000 (06:39 -0500)]
Drop old badges and references to the non-existent mailing list.
Michael R Sweet [Tue, 17 Jan 2023 11:17:37 +0000 (06:17 -0500)]
Fix default cupsd keychain with OpenSSL (Issue #529)
zdohnal [Tue, 10 Jan 2023 07:58:40 +0000 (08:58 +0100)]
Merge pull request #500 from zdohnal/load_ppd_cmyk
scheduler/printers.c: Check for CMYK as well (fixes #421)
Mario Goppold [Tue, 3 Jan 2023 13:57:36 +0000 (14:57 +0100)]
Log scheme in backend status
ckie [Sun, 1 Jan 2023 22:20:51 +0000 (00:20 +0200)]
Increase log level for "Expiring subscriptions..."
Fixes https://github.com/NixOS/nixpkgs/issues/195090.
NixOS systems with Avahi enabled would previously spam the journal with
this log message once a second: this hides that spam behind the log level.
Samanta Navarro [Fri, 30 Dec 2022 11:56:49 +0000 (11:56 +0000)]
Fix typos
Typos found with codespell.
Signed-off-by: Samanta Navarro <ferivoz@riseup.net>
zdohnal [Wed, 7 Dec 2022 12:06:24 +0000 (13:06 +0100)]
Merge pull request #518 from AtariDreams/admin
Change cupsd.conf to force authentication when accessing administration
Rose [Thu, 3 Nov 2022 23:14:49 +0000 (19:14 -0400)]
Change cupsd.conf to force authentication when accessing administration
With the current default configuration, anyone can request to Find New Printers without being authenticated and with no way to be authenticated. Without authentication cups does not detects printers on the network. The person might not realize that it's because authentication is missing. It seems natural to always offer to authenticate when accessing the administration page.
Co-Authored-By: Dominic Mayers <dominic.mayers@meditationstudies.org>
Michael R Sweet [Tue, 6 Dec 2022 14:21:07 +0000 (09:21 -0500)]
Fix some cupsd.conf file issues:
- CUPS-Get-Document wasn't password-protected by default.
- The compiled-in default policy wasn't the same as the cupsd.conf default.
Michael R Sweet [Tue, 6 Dec 2022 14:04:01 +0000 (09:04 -0500)]
Require authentication for CUPS-Get-Document.
Michael R Sweet [Mon, 5 Dec 2022 17:44:36 +0000 (12:44 -0500)]
Merge pull request #570 from yetamrra/photo-tray-selection
Update InputSlot selection for photo sizes (fixes #569)
Benjamin Gordon [Fri, 2 Dec 2022 17:22:09 +0000 (10:22 -0700)]
Update InputSlot selection for photo sizes (fixes #569)
_ppdCacheGetInputSlot specifically requests the photo tray for paper
sizes up to 5x7" if the client hasn't specified a media-source. This
can fail if the photo tray is physically smaller than 5x7 (for example,
L-sized).
Instead of explicitly requesting the photo tray, try to request "auto"
and fall back to "photo" if the printer doesn't provide that as an
option.
Signed-off-by: Benjamin Gordon <bmgordon@chromium.org>
Rose [Wed, 23 Nov 2022 00:52:11 +0000 (19:52 -0500)]
Manually assign the two char literals instead of a memcpy
memcpy is just silly here.
Rose [Fri, 18 Nov 2022 16:10:52 +0000 (11:10 -0500)]
Remove redundant Canceled check
We check for it the line below, so let's remove it from the for-loop conditional
Rose [Tue, 25 Oct 2022 14:53:28 +0000 (10:53 -0400)]
Correctly display "Xprinter" instead of Xerox for Xprinter devices
CUPS currently displays "Xerox" instead of "Xprinter." This patch fixes this behavior by changing the comparison to "XPrint ", space included.
Rose [Thu, 17 Nov 2022 15:12:26 +0000 (10:12 -0500)]
Change (argc < 6 || argc > 7) to (argc != 6 && argc != 7)
They both do the same thing, but the latter is more clear.
Rose [Thu, 17 Nov 2022 15:47:14 +0000 (10:47 -0500)]
Fix passing wrong variable to cupsGetOption in testcups
dest is a pointer to a struct, not the array, which is dests.
Honestly, I have no idea how this even compiled in the first place. Yes I know this is testcups, but still.
Rose [Thu, 17 Nov 2022 16:43:17 +0000 (11:43 -0500)]
Make Letter the default size if the other values do not fit
Especially since letter size is the most common size
Rose [Thu, 17 Nov 2022 16:52:52 +0000 (11:52 -0500)]
Update rxspenser to latest version
Rose [Thu, 17 Nov 2022 17:11:09 +0000 (12:11 -0500)]
Remove dead workaround code
Clang no longer thinks newlength can be 0
Michael R Sweet [Fri, 2 Dec 2022 10:35:22 +0000 (05:35 -0500)]
Merge pull request #567 from AtariDreams/casts
Remove pointless casts
Michael R Sweet [Fri, 2 Dec 2022 10:32:59 +0000 (05:32 -0500)]
Merge pull request #568 from AtariDreams/auth-ingo
Fix compiler warnings about non-null and casting
Rose [Thu, 1 Dec 2022 21:32:14 +0000 (16:32 -0500)]
Fix compiler warnings about non-null and casting
Explicitly cast to unsigned char, and check for NULL before passing pointers to functions that expect nonnull.
Rose [Thu, 1 Dec 2022 16:58:17 +0000 (11:58 -0500)]
Remove pointless casts
These variables were already in the target type anyway, or implicitly converted to void *.
Michael R Sweet [Thu, 1 Dec 2022 23:39:02 +0000 (18:39 -0500)]
Fix minor cupsDir API issue on Windows (not setting S_IFREG flag for files)
Michael R Sweet [Thu, 1 Dec 2022 17:50:49 +0000 (12:50 -0500)]
Merge pull request #565 from AtariDreams/C2
Update config files to latest version
Michael R Sweet [Thu, 1 Dec 2022 17:49:21 +0000 (12:49 -0500)]
Merge pull request #566 from AtariDreams/strcmp
Change strncmp parameter
Rose [Thu, 1 Dec 2022 16:57:08 +0000 (11:57 -0500)]
Change strncmp parameter
Either the parameter being passed should be 6, not 7, because of the null terminator in the string literal, or strcmp should be used instead.
Rose [Thu, 1 Dec 2022 16:55:54 +0000 (11:55 -0500)]
Update config files to latest version
Michael R Sweet [Tue, 29 Nov 2022 16:56:04 +0000 (11:56 -0500)]
Bump versions for Windows.
Michael R Sweet [Sat, 26 Nov 2022 15:33:09 +0000 (10:33 -0500)]
Add unit test for ippDeleteValues.
Michael R Sweet [Sat, 26 Nov 2022 15:25:28 +0000 (10:25 -0500)]
Merge pull request #557 from sparik/fix-ippdelete
Fix ippDeleteValues corner case.
Michael R Sweet [Sat, 26 Nov 2022 15:17:39 +0000 (10:17 -0500)]
Fix parens.
Michael R Sweet [Sat, 26 Nov 2022 15:11:40 +0000 (10:11 -0500)]
Merge pull request #560 from AtariDreams/httpConnect
Replace deprecated httpConnect function with httpConnect2
Rose [Sat, 26 Nov 2022 14:56:52 +0000 (09:56 -0500)]
Replace deprecated httpConnect function with httpConnect2
Sparik Hayrapetyan [Fri, 25 Nov 2022 14:30:35 +0000 (15:30 +0100)]
Fix ippDeleteValues corner case.
Michael R Sweet [Tue, 22 Nov 2022 23:12:08 +0000 (18:12 -0500)]
Merge pull request #537 from AtariDreams/admin_util
Replace else-if with else
Rose [Thu, 17 Nov 2022 15:17:22 +0000 (10:17 -0500)]
Replace else-if with else
This is just silly otherwise and it is causing unneeded compiler warnings
Michael R Sweet [Tue, 22 Nov 2022 18:33:36 +0000 (13:33 -0500)]
Merge pull request #538 from AtariDreams/uid_t
Use uid_t to deal with uids instead of integers
Rose [Thu, 17 Nov 2022 15:23:26 +0000 (10:23 -0500)]
Use uid_t to deal with uids instead of integers
We can also use strtoul to convert strings since uid_t is unsigned.
Michael R Sweet [Tue, 22 Nov 2022 17:04:42 +0000 (12:04 -0500)]
Merge pull request #536 from AtariDreams/atoi
Avoid passing a constant to atoi
Rose [Thu, 17 Nov 2022 15:16:03 +0000 (10:16 -0500)]
Avoid passing a constant to atoi
Use strtol only if server_port is null rather than waste time putting "0" in atoi, which always comes out as 0
Michael R Sweet [Tue, 22 Nov 2022 16:45:24 +0000 (11:45 -0500)]
Merge pull request #519 from AtariDreams/trivial
Fix trivial deprecations
Rose [Fri, 4 Nov 2022 15:12:51 +0000 (11:12 -0400)]
Fix trivial deprecations
We should use SecTrustCopyCertificateChain and then access the CFArray instead of using the deprecated SecTrustGetCertificateCount
Use xpc_connection_send_message_with_reply_sync instead of xpc_connection_send_message_with_reply.
This also gives us the added benefit of not risking priority inversion, since xpc_connection_send_message_with_reply_sync takes care of that already.
Finally, use RtlGetVersion instead of deprecated GetVersionExA.
Owen [Tue, 22 Nov 2022 15:57:19 +0000 (16:57 +0100)]
Merge branch 'OpenPrinting:master' into master
Michael R Sweet [Thu, 17 Nov 2022 12:15:24 +0000 (07:15 -0500)]
Merge pull request #530 from AtariDreams/Fixup-Mac
Update Xcode Project
Michael R Sweet [Thu, 17 Nov 2022 11:48:07 +0000 (06:48 -0500)]
Merge pull request #532 from AtariDreams/Mistake
[Mistake Bug-Fix]: Fix cupsfilter by setting both array elements to -1
Rose [Wed, 16 Nov 2022 21:38:17 +0000 (16:38 -0500)]
[Mistake Bug-Fix]: Fix cupsfilter by setting both array elements to -1
We mistakenly set filterfds[1 - current][0] = -1; twice instead of doing that and setting filterfds[1 - current][1] to -1 as well
Rose [Tue, 15 Nov 2022 18:25:38 +0000 (13:25 -0500)]
Update Xcode Project
Remove dead file references and enable Dead Code Removal.
Owen SESSIECQ [Thu, 10 Nov 2022 15:53:55 +0000 (16:53 +0100)]
Fix according to review
Michael R Sweet [Wed, 9 Nov 2022 15:35:47 +0000 (10:35 -0500)]
Merge pull request #522 from AtariDreams/windows
Update regex to the modified rxspenser repo
Rose [Tue, 8 Nov 2022 16:52:46 +0000 (11:52 -0500)]
Update regex to the modified rxspenser repo
This repo was linked in the original repo as a newer version, with the current version being the original version that abandoned development 8 years ago.
Nothing has been changed outside of that source, which is from upstream.
Owen SESSIECQ [Tue, 8 Nov 2022 17:46:20 +0000 (18:46 +0100)]
Add documentation for compiling on Fedora
zdohnal [Mon, 7 Nov 2022 13:37:30 +0000 (14:37 +0100)]
Merge pull request #520 from AtariDreams/typo
Fix typos
Rose [Sun, 6 Nov 2022 17:48:54 +0000 (12:48 -0500)]
Fix typos
Fix multiple typos that appear in the codebase.
No other changes
Michael R Sweet [Tue, 25 Oct 2022 17:02:20 +0000 (13:02 -0400)]
Merge pull request #503 from AtariDreams/z
Update toolset to v143
Michael R Sweet [Tue, 25 Oct 2022 17:01:12 +0000 (13:01 -0400)]
Merge pull request #505 from AtariDreams/GitHub
Update GitHub Actions Checkout API
Rose [Mon, 24 Oct 2022 16:39:06 +0000 (12:39 -0400)]
Update GitHub Actions Checkout API
The v2 API is deprecated. Update that and the setup-msbuild script used
Rose [Sat, 22 Oct 2022 19:27:18 +0000 (15:27 -0400)]
Update toolset to v143
This toolset is the latest version of the MSVC toolchain and should be used
Add conditional for different VS versions up until 2017
Zdenek Dohnal [Thu, 20 Oct 2022 10:37:34 +0000 (12:37 +0200)]
Update CHANGES.md