]>
git.ipfire.org Git - thirdparty/cups-filters.git/log
Till Kamppeter [Mon, 13 Jul 2020 11:49:12 +0000 (13:49 +0200)]
libcupsfilters: "True" is case-sensitive in PPDs
(cherry picked from commit
42868e742bf8db35ed95cdab48fc4c7d6b277c4e )
Till Kamppeter [Wed, 8 Jul 2020 08:08:03 +0000 (10:08 +0200)]
Correction in NEWS
(cherry picked from commit
7558f91530d9cdfd9985623bc5e0ffe386d7545e )
Till Kamppeter [Mon, 6 Jul 2020 11:27:25 +0000 (13:27 +0200)]
Correction in NEWS
(cherry picked from commit
d9921b8f04acb809349764400e21ff36f4679d1c )
Till Kamppeter [Thu, 20 Aug 2020 19:52:24 +0000 (21:52 +0200)]
Corrected NEWS
liuli0217 [Thu, 2 Jul 2020 09:42:13 +0000 (17:42 +0800)]
fix: get inheritable attribute from parent
when /mediabox is inherited from parent, can't get rect.
(cherry picked from commit
bee967b99ab8261c928580c4f78150863627a242 )
Till Kamppeter [Wed, 1 Jul 2020 11:41:17 +0000 (13:41 +0200)]
libcupsfilters: Work around fold-accordion typo in libcups < 2.3.1
(cherry picked from commit
8ba3d5b5c9c801e81a37c0402da8754bc3d8ce63 )
Till Kamppeter [Tue, 30 Jun 2020 09:26:42 +0000 (11:26 +0200)]
cups-browsed: Remove left-over local queues more quickly
(cherry picked from commit
de3420ca8b6e3d4b165606bf02d6f298f9cdccb2 )
Till Kamppeter [Tue, 30 Jun 2020 09:20:30 +0000 (11:20 +0200)]
cups-browsed: Left-over local queues from the previous session did not get removed
(cherry picked from commit
f5ec64ac6747a7757671f3940307aeb87fbc44f7 )
Till Kamppeter [Sun, 28 Jun 2020 21:59:14 +0000 (23:59 +0200)]
Updated NEWS
(cherry picked from commit
7b92065799fefb64476bb764ec032358903d2c7b )
Till Kamppeter [Fri, 26 Jun 2020 19:53:44 +0000 (21:53 +0200)]
gstoraster, gstopdf: Make number of copies as embedded PostScript command work
(cherry picked from commit
6157b8f6178b89fa7a040c2057ff91eb9ac8885d )
Till Kamppeter [Fri, 26 Jun 2020 19:44:41 +0000 (21:44 +0200)]
Updated NEWS
(cherry picked from commit
41e38f4f0f41a182f1395190ccd050bf81fb3db5 )
DuratarskeyK [Fri, 26 Jun 2020 12:11:38 +0000 (15:11 +0300)]
Potential null dereference fix (#1)
Fix a potential NULL dereference, when PPD file isn't present or can't be openned
(cherry picked from commit
c30dcf007ccbfe1edb21e3b1227d482a762a8a35 )
Till Kamppeter [Sun, 21 Jun 2020 18:29:23 +0000 (20:29 +0200)]
Updated NEWS
(cherry picked from commit
a173421599accc0f827ff41d8421710627a9e204 )
Till Kamppeter [Sat, 20 Jun 2020 12:17:26 +0000 (14:17 +0200)]
cups-browsed: Call cupsGetNamedDest() only if "OnlyUnsupportedByCUPS No"
(cherry picked from commit
ce3dd0fb0feb84de039d4729eaad170ee639d258 )
Till Kamppeter [Sat, 20 Jun 2020 12:10:58 +0000 (14:10 +0200)]
Ordissimo [Fri, 19 Jun 2020 08:58:57 +0000 (10:58 +0200)]
Correction default color
Correction of the default value of the color, after configuration of the CANON in IPP the test page is printed in black and white. The test empties the cartridges!
A more logical choice is Color.
Reproduced with CANON TS3150, TS3350, TS5150
(cherry picked from commit
715fcf8f6aea6396069581c7d5ebd0f5d6c63279 )
Zdenek Dohnal [Fri, 19 Jun 2020 07:06:57 +0000 (09:06 +0200)]
Mark the temp queue as cups-browsed during setting printer-is-shared
(cherry picked from commit
71928b7de1204ca34334164e81da46a9fd527da3 )
mohitmo [Wed, 17 Jun 2020 07:41:36 +0000 (13:11 +0530)]
delete response only when not NULL
(cherry picked from commit
033e29caf3862206a1ff7516c906760dff82d574 )
mohitmo [Wed, 17 Jun 2020 07:28:42 +0000 (12:58 +0530)]
set dest to NULL
(cherry picked from commit
0e658c1fdac46253c24d44a45b0ecdb55ebee617 )
mohitmo [Wed, 17 Jun 2020 05:57:16 +0000 (11:27 +0530)]
modified when to call cupsGetNamedDest()
(cherry picked from commit
d17f2f94069ca684f8fae325603f51314cdcec44 )
Zdenek Dohnal [Mon, 15 Jun 2020 12:55:31 +0000 (14:55 +0200)]
cups-browsed.8: Remove mentions of README and AUTHORS files
(cherry picked from commit
6b650f45b21e306db482221223584497a710b54d )
Osamu Mihara [Mon, 25 May 2020 08:44:56 +0000 (17:44 +0900)]
Update Generic-PDF_Printer-PDF.ppd
Hi,
Here is a patch for Generic PDF PPD to enable color/gray scale printing switching. Original Generic PPD has no color switch, therefore users cannot make black and white printing with color printers.
It adds a PJL RENDERMODE command to PDF print job. When choosing "Black and White", the printout will be in gray scale (rendered in gray scale by printers), even if PDF is made as color document.
Of course it cannot print in color if the original document is made in black and white or the printer is not color capable :)
I checked it worked with Chrome Browser on Ubuntu as well as on ChromeOS.
Regards,
(cherry picked from commit
bde53c1a1d9863f71dc6843a0b827b2c5ee98288 )
Till Kamppeter [Fri, 5 Jun 2020 13:22:23 +0000 (15:22 +0200)]
cups-filters 1.27.5 Release
Till Kamppeter [Fri, 5 Jun 2020 11:15:43 +0000 (13:15 +0200)]
Updated NEWS
Till Kamppeter [Fri, 5 Jun 2020 11:13:50 +0000 (13:13 +0200)]
cups-browsed: Do not remove the created local queues on shutdown
Till Kamppeter [Thu, 4 Jun 2020 19:53:20 +0000 (21:53 +0200)]
cups-browsed: Do not accept DNS-SD broadcasts of IPPS type of another CUPS instance on the local machine
Till Kamppeter [Fri, 29 May 2020 21:48:48 +0000 (23:48 +0200)]
Updated NEWS
Till Kamppeter [Fri, 29 May 2020 21:45:04 +0000 (23:45 +0200)]
Merge pull request #236 from IslandCow/short-edge
foomatic-rip: Map two-sided-short-edge to DuplexTumble
Till Kamppeter [Wed, 27 May 2020 10:32:07 +0000 (12:32 +0200)]
Updated NEWS
Till Kamppeter [Wed, 27 May 2020 10:17:46 +0000 (12:17 +0200)]
Merge pull request #240 from zdohnal/master
Build system: In configure.ac use AS_IF instead of AC_CHECK_FILE for font check
Zdenek Dohnal [Wed, 27 May 2020 08:51:51 +0000 (10:51 +0200)]
configure.ac: Use AS_IF instead of AC_CHECK_FILE for font check
Sean Kau [Thu, 21 May 2020 22:08:11 +0000 (15:08 -0700)]
Map two-sided-short-edge to DuplexTumble
two-sided-short-edge and two-sided-long-edge were both mapped to
DuplexNoTumble. DuplexNoTumble should be mapped to the long-edge
tumble and short-edge to DuplexTumble.
Till Kamppeter [Tue, 19 May 2020 15:27:58 +0000 (17:27 +0200)]
Merge pull request #235 from zdohnal/check_get_printattrs
driverless, libcupsfilters: Check for driverless support and set device-info accordingly
Zdenek Dohnal [Mon, 18 May 2020 11:43:57 +0000 (13:43 +0200)]
Check driverless support and set device-info accordingly
Till Kamppeter [Thu, 7 May 2020 15:52:17 +0000 (17:52 +0200)]
cups-browsed: Cleaned up code to determine to which CUPS server to connect
Till Kamppeter [Thu, 7 May 2020 11:35:32 +0000 (13:35 +0200)]
Updated NEWS
Till Kamppeter [Thu, 7 May 2020 09:09:53 +0000 (11:09 +0200)]
Merge pull request #230 from kucharskim/master
gstoraster, rastertopdf: Do not pass NULL to fprintf()
Till Kamppeter [Thu, 7 May 2020 09:08:27 +0000 (11:08 +0200)]
Merge pull request #229 from mohitmo/master
libcupsfilters: Silence compiler warning
Mikolaj Kucharski [Thu, 7 May 2020 05:24:35 +0000 (05:24 +0000)]
Do not pass NULL to fprintf()
Passing NULL to printf-family of functions is undefined
behaviour. OpenBSD has detection mechanism for occurrences
of such condition. On my machine I get following messages
in syslog, while printing:
vfprintf %s NULL in "DEBUG: OUTFORMAT="%s", so output format will be %s "
Changes in this diff make those messages go away.
Mohit Mohan [Wed, 6 May 2020 16:45:00 +0000 (22:15 +0530)]
Update ppdgenerator.c
Till Kamppeter [Thu, 9 Apr 2020 20:40:30 +0000 (22:40 +0200)]
cups-filters 1.27.4 Release
Till Kamppeter [Thu, 9 Apr 2020 20:26:25 +0000 (22:26 +0200)]
Updated NEWS
Till Kamppeter [Wed, 8 Apr 2020 09:22:18 +0000 (11:22 +0200)]
Merge pull request #226 from zdohnal/cups-browsed-memleaks
libcupsfilters, cups-browsed: Fix memory issues in ppdgenerator, cups-browsed
Zdenek Dohnal [Wed, 8 Apr 2020 08:28:41 +0000 (10:28 +0200)]
Fix memory issues in ppdgenerator, cups-browsed
Till Kamppeter [Mon, 6 Apr 2020 06:43:05 +0000 (08:43 +0200)]
Merge pull request #225 from zdohnal/use_cups-filters-readme
pdftops: Mention cups-filters README in debug log
Till Kamppeter [Mon, 6 Apr 2020 06:41:37 +0000 (08:41 +0200)]
Merge pull request #224 from zdohnal/use_safer
pdftopdf, gstoraster, foomatic-rip: Use -dSAFER gs option
Zdenek Dohnal [Mon, 6 Apr 2020 04:57:50 +0000 (06:57 +0200)]
Mention cups-filters in pdftops debug log
Zdenek Dohnal [Mon, 6 Apr 2020 04:46:43 +0000 (06:46 +0200)]
Use -dSAFER gs option
Till Kamppeter [Thu, 2 Apr 2020 17:10:22 +0000 (19:10 +0200)]
Merge pull request #222 from dcantrell/master
Build system: Replace '==' in configure.ac test with '='
David Cantrell [Thu, 2 Apr 2020 15:23:48 +0000 (11:23 -0400)]
Replace '==' in configure.ac test with '='
== is a bash-specific test operator. Use = here for portability.
Till Kamppeter [Fri, 20 Mar 2020 15:47:12 +0000 (16:47 +0100)]
cups-filters 1.27.3 Release
Till Kamppeter [Fri, 20 Mar 2020 15:41:34 +0000 (16:41 +0100)]
Updated NEWS
Till Kamppeter [Fri, 20 Mar 2020 15:40:36 +0000 (16:40 +0100)]
Updated NEWS
Till Kamppeter [Fri, 20 Mar 2020 14:11:26 +0000 (15:11 +0100)]
Merge pull request #218 from V1krant/master
cups-browsed: Added AllowResharingRemoteCUPSPrinters and NewBrowsePollQueuesShared configuration directives
V1krant [Thu, 12 Mar 2020 07:05:45 +0000 (12:35 +0530)]
Added NewBrowsePollQueuesShared and AllowResharingcupsQueues directives to cups-browsed
Till Kamppeter [Sun, 15 Mar 2020 20:35:56 +0000 (21:35 +0100)]
Updated NEWS
Till Kamppeter [Sun, 15 Mar 2020 20:09:06 +0000 (21:09 +0100)]
Merge pull request #220 from hansmi/driverless-unlink
driverless: Unlink temporary file corectly
Michael Hanselmann [Sun, 15 Mar 2020 19:49:31 +0000 (20:49 +0100)]
driverless: Unlink temporary file
The call to unlink(2) in "driverless" used the wrong variable,
triggering a silent failure (ENAMETOOLONG), and leaving a temporary file
behind.
Till Kamppeter [Sun, 15 Mar 2020 07:59:40 +0000 (08:59 +0100)]
Updated NEWS
Till Kamppeter [Sun, 15 Mar 2020 07:55:57 +0000 (08:55 +0100)]
Merge pull request #219 from zdohnal/cups-browsed-memleaks
cups-browsed: Fix possible memory leaks
Zdenek Dohnal [Fri, 13 Mar 2020 10:01:59 +0000 (11:01 +0100)]
Fix possible memory leaks in cups-browsed daemon
Till Kamppeter [Tue, 10 Mar 2020 16:04:55 +0000 (17:04 +0100)]
foomatic-rip: Do PDF page count in -dNOSAFER mode
Till Kamppeter [Mon, 2 Mar 2020 16:03:03 +0000 (17:03 +0100)]
Updated NEWS
Till Kamppeter [Mon, 2 Mar 2020 15:49:24 +0000 (16:49 +0100)]
Build system: Search Test fon file with "find" command before using default.
Till Kamppeter [Mon, 2 Mar 2020 14:35:02 +0000 (15:35 +0100)]
Merge pull request #214 from zdohnal/fontembed-segfault
build system, libfontembed tests: Fix segfaults in test suite when test font is missing
Zdenek Dohnal [Mon, 2 Mar 2020 13:56:55 +0000 (14:56 +0100)]
Fix segfaults in test suite when test font is missing
Till Kamppeter [Fri, 28 Feb 2020 17:45:39 +0000 (18:45 +0100)]
cups-filters 1.27.2 Release
Till Kamppeter [Fri, 28 Feb 2020 17:31:23 +0000 (18:31 +0100)]
Updated NEWS
Till Kamppeter [Fri, 28 Feb 2020 11:36:26 +0000 (12:36 +0100)]
foomatic-rip: Check for zero-page PDF input before converting to PostScript
Till Kamppeter [Wed, 26 Feb 2020 22:47:17 +0000 (23:47 +0100)]
foomatic-rip: Option setting insertion fix for PostScript input files
Till Kamppeter [Wed, 26 Feb 2020 20:06:10 +0000 (21:06 +0100)]
Updated NEWS
Till Kamppeter [Wed, 26 Feb 2020 19:44:51 +0000 (20:44 +0100)]
foomatic-rip: Removed unneeded stdin detour from print_ps(), cleaned up PostScript printing from stdin.
Till Kamppeter [Wed, 26 Feb 2020 15:51:25 +0000 (16:51 +0100)]
Merge pull request #212 from LynxChaus/master
foomatic-rip: PS page count: Call gs in sandbox mode; PDF page count: Pointer fix
Andrey Jr. Melnikov [Wed, 26 Feb 2020 15:16:35 +0000 (18:16 +0300)]
Run gs pagecount in sandbox enabled mode.
Signed-off-by: Andrey Jr. Melnikov <temnota.am@gmail.com>
Andrey Jr. Melnikov [Wed, 26 Feb 2020 14:40:29 +0000 (17:40 +0300)]
Fix wrong pointer arithmetics - it lead to underflow when ghostscript return error and crash.
Fixes: 33d39313c2 ("foomatic-rip: Made PDF page counting robust against Ghostscript error message.")
Signed-off-by: Andrey Jr. Melnikov <temnota.am@gmail.com>
Till Kamppeter [Wed, 26 Feb 2020 13:32:43 +0000 (14:32 +0100)]
Merge pull request #211 from JaiLuthra1/master
foomatic-rip: Further fixes for zero-page file handling with PostScript input files
JaiLuthra1 [Wed, 26 Feb 2020 12:45:54 +0000 (18:15 +0530)]
foomatic-rip: minor code changes
Till Kamppeter [Tue, 25 Feb 2020 20:17:13 +0000 (21:17 +0100)]
foomatic-rip: Reverted use of pdf_count_pages() and copy_file() of previous commit
Till Kamppeter [Tue, 25 Feb 2020 11:45:13 +0000 (12:45 +0100)]
Merge pull request #210 from LynxChaus/master
foomatic-rip: Clean-up on previous commit
Andrey Jr. Melnikov [Mon, 24 Feb 2020 22:42:22 +0000 (01:42 +0300)]
Small cleanup
- reuse existing code for copying file, count pdf pages.
- remove temp file after processing.
Fixes: 37b7d6467dcd ("foomatic-rip: correct handling of jobs")
Signed-off-by: Andrey Jr. Melnikov <temnota.am@gmail.com>
Till Kamppeter [Mon, 24 Feb 2020 13:14:28 +0000 (14:14 +0100)]
Updated NEWS
Till Kamppeter [Mon, 24 Feb 2020 12:42:32 +0000 (13:42 +0100)]
Merge pull request #209 from JaiLuthra1/master
foomatic-rip: Correct handling of jobs
JaiLuthra1 [Mon, 24 Feb 2020 12:07:40 +0000 (17:37 +0530)]
foomatic-rip: correct handling of jobs
Till Kamppeter [Tue, 18 Feb 2020 15:49:42 +0000 (16:49 +0100)]
Merge pull request #204 from zdohnal/check_printer_crash
cups-browsed: Fix crash in check_printer_with_option()
Zdenek Dohnal [Tue, 18 Feb 2020 14:15:44 +0000 (15:15 +0100)]
Fix crash in check_printer_with_option
Initialize the value, add further checks, freeing memory and stop
allocating magic numbers.
Till Kamppeter [Tue, 18 Feb 2020 11:12:37 +0000 (12:12 +0100)]
cups-browsed: Fixed comment
Till Kamppeter [Tue, 18 Feb 2020 11:10:49 +0000 (12:10 +0100)]
Additional checks against crashes in the is_local_hostname()
Till Kamppeter [Sun, 16 Feb 2020 19:51:37 +0000 (20:51 +0100)]
cups-filters 1.27.1 Release
Till Kamppeter [Sun, 16 Feb 2020 19:39:23 +0000 (20:39 +0100)]
Updated NEWS
Till Kamppeter [Sun, 16 Feb 2020 18:28:14 +0000 (19:28 +0100)]
libcupsfilters: Let the PPD generator not put any dashes into the PPD option and choice names
Till Kamppeter [Tue, 4 Feb 2020 18:15:59 +0000 (19:15 +0100)]
foomatic-rip: Fixed segfault when PRINTER environment variable is not supplied
Till Kamppeter [Tue, 4 Feb 2020 18:10:58 +0000 (19:10 +0100)]
foomatic-rip: Allow a file with only "%!" as valid (zero-page) PostScript file.
Till Kamppeter [Tue, 4 Feb 2020 18:09:50 +0000 (19:09 +0100)]
Updated NEWS
Till Kamppeter [Tue, 4 Feb 2020 18:01:55 +0000 (19:01 +0100)]
foomatic-rip: Made PDF page counting robust against Ghostscript error message.
Till Kamppeter [Tue, 4 Feb 2020 14:00:41 +0000 (15:00 +0100)]
Merge pull request #200 from JaiLuthra1/master
foomatic-rip: Added handling of empty input
JaiLuthra1 [Tue, 4 Feb 2020 11:21:58 +0000 (16:51 +0530)]
foomatic-rip: Added handling of empty input
Till Kamppeter [Mon, 3 Feb 2020 21:44:36 +0000 (22:44 +0100)]
Updated NEWS
Till Kamppeter [Mon, 3 Feb 2020 21:09:30 +0000 (22:09 +0100)]
Merge pull request #199 from dsam82/master
texttopdf: Added support for CJK (double-width) fonts
Sambhav Dusad [Mon, 3 Feb 2020 21:00:07 +0000 (02:30 +0530)]
added support for CJK fonts
Till Kamppeter [Sat, 1 Feb 2020 22:38:47 +0000 (23:38 +0100)]
Updated NEWS.