]>
git.ipfire.org Git - thirdparty/cups-filters.git/log
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.
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.
Till Kamppeter [Sat, 1 Feb 2020 22:36:50 +0000 (23:36 +0100)]
gstoraster: Corrections on changes for zero-page handling
Till Kamppeter [Sat, 1 Feb 2020 22:03:16 +0000 (23:03 +0100)]
Merge pull request #198 from JaiLuthra1/master
gstoraster: Added handling of empty input
JaiLuthra1 [Sat, 1 Feb 2020 19:00:36 +0000 (00:30 +0530)]
gstoraster: added handling of empty input
Till Kamppeter [Fri, 31 Jan 2020 15:23:26 +0000 (16:23 +0100)]
cups-browsed: Switched default for "CreateIPPPrinterQueues" to "All"
Till Kamppeter [Thu, 30 Jan 2020 14:55:59 +0000 (15:55 +0100)]
Updated NEWS
Till Kamppeter [Thu, 30 Jan 2020 14:43:35 +0000 (15:43 +0100)]
rastertoescpx: Fixed wrong freeing of a buffer
Till Kamppeter [Thu, 30 Jan 2020 13:14:50 +0000 (14:14 +0100)]
Merge pull request #197 from JaiLuthra1/master
rastertoescpx and rastertopclx: Added handling of empty input
JaiLuthra1 [Thu, 30 Jan 2020 12:35:15 +0000 (18:05 +0530)]
rastertoescpx: added handling of empty input
JaiLuthra1 [Thu, 30 Jan 2020 12:34:16 +0000 (18:04 +0530)]
rastertopclx: added handling of empty input
JaiLuthra1 [Thu, 30 Jan 2020 11:21:19 +0000 (16:51 +0530)]
rastertops: fixed segmentation fault when input file cannot be opened
Till Kamppeter [Wed, 29 Jan 2020 11:38:19 +0000 (12:38 +0100)]
pdftops: Added NULL check and clean-up to the pdf_pages() function in pdf.cxx
Till Kamppeter [Wed, 29 Jan 2020 11:23:10 +0000 (12:23 +0100)]
Updated NEWS
Till Kamppeter [Wed, 29 Jan 2020 11:20:15 +0000 (12:20 +0100)]
pdftops: Added options "crop-to-fit" and "fill" to the pstops exclusion list