]>
git.ipfire.org Git - thirdparty/cups-filters.git/log
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.
Till Kamppeter [Wed, 1 Jul 2020 22:03:00 +0000 (00:03 +0200)]
libppd: Renamed formerly private-to-CUPS PPD handling functions for public API
Till Kamppeter [Wed, 1 Jul 2020 21:08:14 +0000 (23:08 +0200)]
libppd: Folded ppd-private.h into ppd.h
Till Kamppeter [Wed, 1 Jul 2020 16:53:06 +0000 (18:53 +0200)]
Build system: Correct order of libcupsfilters and libppd in Makefile.am, so that "make install" works
Till Kamppeter [Wed, 1 Jul 2020 11:41:17 +0000 (13:41 +0200)]
libcupsfilters, libppd: Work around fold-accordion typo in libcups < 2.3.1
Till Kamppeter [Tue, 30 Jun 2020 20:24:35 +0000 (22:24 +0200)]
libppd: Also renamed all internal functions to not mess up with libcups
Till Kamppeter [Tue, 30 Jun 2020 13:14:26 +0000 (15:14 +0200)]
libppd: Renamed all private functions and types to not mess up with libcups
Till Kamppeter [Tue, 30 Jun 2020 09:26:42 +0000 (11:26 +0200)]
cups-browsed: Remove left-over local queues more quickly
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
Till Kamppeter [Sun, 28 Jun 2020 21:59:14 +0000 (23:59 +0200)]
Updated NEWS
Till Kamppeter [Sun, 28 Jun 2020 20:29:42 +0000 (22:29 +0200)]
Merge pull request #257 from V1krant/filter
pclmtoraster: Add support for color space conversions
Vikrant [Tue, 16 Jun 2020 10:31:02 +0000 (16:01 +0530)]
Add support for colorspace conversions
Till Kamppeter [Fri, 26 Jun 2020 19:53:44 +0000 (21:53 +0200)]
gstoraster, gstopdf: Make number of copies as embedded PostScript command work
Till Kamppeter [Fri, 26 Jun 2020 19:44:41 +0000 (21:44 +0200)]
Updated NEWS
Till Kamppeter [Fri, 26 Jun 2020 17:02:03 +0000 (19:02 +0200)]
Merge pull request #256 from DuratarskeyK/master
imagetoraster: Potential null dereference fix (when no valid PPD is supplied)
Till Kamppeter [Fri, 26 Jun 2020 15:14:30 +0000 (17:14 +0200)]
libppd: Header "#include ..." clean-up
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
Till Kamppeter [Wed, 24 Jun 2020 19:49:26 +0000 (21:49 +0200)]
COPYING: Added license information for libppd.
Till Kamppeter [Wed, 24 Jun 2020 19:37:30 +0000 (21:37 +0200)]
libppd: Added new library with all PPD handling functions of libcups
Till Kamppeter [Sun, 21 Jun 2020 18:33:46 +0000 (20:33 +0200)]
Sample PPDs: Renamed source directory from "ppd/" to "ppdfiles/"
Till Kamppeter [Sun, 21 Jun 2020 18:29:23 +0000 (20:29 +0200)]
Updated NEWS
Till Kamppeter [Sat, 20 Jun 2020 12:17:26 +0000 (14:17 +0200)]
cups-browsed: Call cupsGetNamedDest() only if "OnlyUnsupportedByCUPS No"
Till Kamppeter [Sat, 20 Jun 2020 12:10:58 +0000 (14:10 +0200)]
Revert merge of pull request #245
This reverts commit
bbe4aa2e85bfc3bfc02a7a0544985a7704cf1253 , reversing
changes made to
b78fd1ba78f1e0d3505e585f742edddbaa67b55c .
Till Kamppeter [Fri, 19 Jun 2020 10:24:17 +0000 (12:24 +0200)]
Merge pull request #247 from Ordissimo/patch-1
Sample PPDs: Corrected default for Generic PWG Raster PPD to color
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
Till Kamppeter [Fri, 19 Jun 2020 07:55:18 +0000 (09:55 +0200)]
Merge pull request #246 from zdohnal/mark_browsed
cups-browsed: Mark the temp queue as cups-browsed-generated during setting printer-is-shared
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
Till Kamppeter [Wed, 17 Jun 2020 08:08:26 +0000 (10:08 +0200)]
Merge pull request #245 from mohitmo/master
cups-browsed: Only call cupsGetNamedDest() if actually needed, for speed optimization
mohitmo [Wed, 17 Jun 2020 07:41:36 +0000 (13:11 +0530)]
delete response only when not NULL
mohitmo [Wed, 17 Jun 2020 07:28:42 +0000 (12:58 +0530)]
set dest to NULL
mohitmo [Wed, 17 Jun 2020 05:57:16 +0000 (11:27 +0530)]
modified when to call cupsGetNamedDest()
Till Kamppeter [Tue, 16 Jun 2020 11:51:33 +0000 (13:51 +0200)]
Merge pull request #244 from zdohnal/cups_browsed_man
cups-browsed: Remove mentions of README and AUTHORS files in the man page
Till Kamppeter [Mon, 15 Jun 2020 19:36:29 +0000 (21:36 +0200)]
Merge pull request #243 from V1krant/filter
pclmtoraster: Added new filter to extract Raster data from PCLm files
Zdenek Dohnal [Mon, 15 Jun 2020 12:55:31 +0000 (14:55 +0200)]
cups-browsed.8: Remove mentions of README and AUTHORS files
Vikrant [Mon, 15 Jun 2020 04:40:03 +0000 (10:10 +0530)]
Add pclmtoraster filter
Till Kamppeter [Fri, 5 Jun 2020 14:10:51 +0000 (16:10 +0200)]
Merge pull request #237 from omihara/patch-1
Update Generic-PDF_Printer-PDF.ppd
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
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,
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.