]> git.ipfire.org Git - thirdparty/cups-filters.git/log
thirdparty/cups-filters.git
5 years agominor documentation errors resolved 267/head
Dipanshu [Thu, 23 Jul 2020 19:43:16 +0000 (01:13 +0530)] 
minor documentation errors resolved

5 years agoadded function to turn off configuration
Dipanshu [Thu, 23 Jul 2020 15:58:48 +0000 (21:28 +0530)] 
added function to turn off configuration

5 years agofile copying now uses a 2KB buffer
Dipanshu [Thu, 23 Jul 2020 13:09:11 +0000 (18:39 +0530)] 
file copying now uses a 2KB buffer

5 years agomade DebugLogFileSize configurable
Dipanshu [Thu, 23 Jul 2020 12:08:42 +0000 (17:38 +0530)] 
made DebugLogFileSize configurable

5 years agochanges in cups-browsed.c file to produce back-up file
Dipanshu [Wed, 22 Jul 2020 15:27:36 +0000 (20:57 +0530)] 
changes in cups-browsed.c file to produce back-up file

5 years agogstoraster, gstopdf: Do not apply margis when output format is PDF
Till Kamppeter [Mon, 20 Jul 2020 09:19:54 +0000 (11:19 +0200)] 
gstoraster, gstopdf: Do not apply margis when output format is PDF

5 years agoMerge pull request #266 from V1krant/master
Till Kamppeter [Sun, 19 Jul 2020 06:47:15 +0000 (08:47 +0200)] 
Merge pull request #266 from V1krant/master

pclmtoraster: Add stdin input support

5 years agopclmtoraster: Add stdin input support 266/head
Vikrant [Sun, 19 Jul 2020 04:56:06 +0000 (10:26 +0530)] 
pclmtoraster: Add stdin input support

5 years agolibcupsfilters: Silenced warning
Till Kamppeter [Thu, 16 Jul 2020 15:24:00 +0000 (17:24 +0200)] 
libcupsfilters: Silenced warning

5 years agoMerge pull request #264 from V1krant/filter
Till Kamppeter [Thu, 16 Jul 2020 15:14:07 +0000 (17:14 +0200)] 
Merge pull request #264 from V1krant/filter

pclmtoraster: Completed implementation of remaining features

5 years agoAdd dither functions in libcupsfilters 264/head
Vikrant [Thu, 16 Jul 2020 14:49:59 +0000 (20:19 +0530)] 
Add dither functions in libcupsfilters

5 years agoUpdate ppdRasterMatchPPDSize() return value
Vikrant [Thu, 16 Jul 2020 11:47:32 +0000 (17:17 +0530)] 
Update ppdRasterMatchPPDSize() return value

5 years agoAdd necessary headers
Vikrant [Thu, 16 Jul 2020 10:16:11 +0000 (15:46 +0530)] 
Add necessary headers

5 years agolibppd: Added ppdRasterMatchPPDSize() to match input page size with ppd
Vikrant [Thu, 16 Jul 2020 09:58:25 +0000 (15:28 +0530)] 
libppd: Added ppdRasterMatchPPDSize() to match input page size with ppd

5 years agoAdd documentation in bitmap library
Vikrant [Tue, 14 Jul 2020 15:19:27 +0000 (20:49 +0530)] 
Add documentation in bitmap library

5 years agoAdd comments and improve code quality
Vikrant [Tue, 14 Jul 2020 12:42:25 +0000 (18:12 +0530)] 
Add comments and improve code quality

5 years agoAdd margins modifications from pdftoraster
Vikrant [Tue, 14 Jul 2020 06:02:06 +0000 (11:32 +0530)] 
Add margins modifications from pdftoraster

5 years agoAdd support for duplex printing
Vikrant [Sun, 12 Jul 2020 06:33:35 +0000 (12:03 +0530)] 
Add support for duplex printing

5 years agoOptimise convertline function
Vikrant [Sat, 11 Jul 2020 12:16:04 +0000 (17:46 +0530)] 
Optimise convertline function

5 years agoAdd support for bi-level as print-color-mode attribute
Vikrant [Sat, 11 Jul 2020 10:16:16 +0000 (15:46 +0530)] 
Add support for bi-level as print-color-mode attribute

5 years agoMerge writepixel and convertbit functions
Vikrant [Fri, 10 Jul 2020 11:38:33 +0000 (17:08 +0530)] 
Merge writepixel and convertbit functions

5 years agoAdd support for bilevel color mode in pclmtoraster
Vikrant [Thu, 9 Jul 2020 11:05:48 +0000 (16:35 +0530)] 
Add support for bilevel color mode in pclmtoraster

5 years agoAdd convertbits functions in cupsfilters library
Vikrant [Wed, 8 Jul 2020 11:07:52 +0000 (16:37 +0530)] 
Add convertbits functions in cupsfilters library

5 years agoAdd support for banded and planar rasters
Vikrant [Tue, 7 Jul 2020 09:54:39 +0000 (15:24 +0530)] 
Add support for banded and planar rasters

5 years agocups-browsed: Do not write any log messages directly to stderr
Till Kamppeter [Wed, 15 Jul 2020 16:57:47 +0000 (18:57 +0200)] 
cups-browsed: Do not write any log messages directly to stderr

5 years agoUpdated NEWS
Till Kamppeter [Tue, 14 Jul 2020 11:04:06 +0000 (13:04 +0200)] 
Updated NEWS

5 years agoMerge pull request #263 from ffontaine/master
Till Kamppeter [Tue, 14 Jul 2020 10:56:34 +0000 (12:56 +0200)] 
Merge pull request #263 from ffontaine/master

Build system: Fix cross-compilation without dejavu in configure.ac

5 years agoconfigure.ac: fix cross-compilation without dejavu 263/head
Fabrice Fontaine [Mon, 13 Jul 2020 21:02:50 +0000 (23:02 +0200)] 
configure.ac: fix cross-compilation without dejavu

Cross-compilation is broken since commit 1d66106. Indeed, when
cross-compiling, dejavu font won't be installed in /usr/share/fonts. The
path (e.g. $(TARGET_DIR)/usr/share/fonts/dejavu/DejaVuSans.ttf) could be
provided through --with-test-font-path which will fix the build failure
but will result in broken test programs.

So when cross-compiling don't try to check if the test-font-path is
valid or not and just use the one provided by the user or the default
one (e.g. /usr/share/fonts/dejavu/DejaVuSans.ttf)

Fix #262

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
5 years agoUpdated NEWS
Till Kamppeter [Mon, 13 Jul 2020 11:50:00 +0000 (13:50 +0200)] 
Updated NEWS

5 years agolibcupsfilters, libppd: "True" is case-sensitive in PPDs
Till Kamppeter [Mon, 13 Jul 2020 11:49:12 +0000 (13:49 +0200)] 
libcupsfilters, libppd: "True" is case-sensitive in PPDs

5 years agolibppd: Corrected typo in README.md
Till Kamppeter [Fri, 10 Jul 2020 17:58:06 +0000 (19:58 +0200)] 
libppd: Corrected typo in README.md

5 years agolibppd: Filled in README.md of ppd/ subdirectory
Till Kamppeter [Fri, 10 Jul 2020 17:55:46 +0000 (19:55 +0200)] 
libppd: Filled in README.md of ppd/ subdirectory

5 years agolibppd: Added ppdGetOptions, get_options() from ippeveps
Till Kamppeter [Thu, 9 Jul 2020 19:54:29 +0000 (21:54 +0200)] 
libppd: Added ppdGetOptions, get_options() from ippeveps

5 years agoCorrection in NEWS
Till Kamppeter [Wed, 8 Jul 2020 08:08:03 +0000 (10:08 +0200)] 
Correction in NEWS

5 years agoCorrection in NEWS
Till Kamppeter [Mon, 6 Jul 2020 11:27:25 +0000 (13:27 +0200)] 
Correction in NEWS

5 years agoBuild system: Remove '-D_PPD_DEPRECATED=""' from the compiling command lines
Till Kamppeter [Mon, 6 Jul 2020 11:19:39 +0000 (13:19 +0200)] 
Build system: Remove '-D_PPD_DEPRECATED=""' from the compiling command lines

5 years agoMerge pull request #258 from liuli0217/master
Till Kamppeter [Fri, 3 Jul 2020 06:27:44 +0000 (08:27 +0200)] 
Merge pull request #258 from liuli0217/master

bannertopdf, gstoraster, pdftops: Fix: Get inheritable attribute from parent

5 years agolibppd: Corrected comments in ppd.h
Till Kamppeter [Thu, 2 Jul 2020 21:36:42 +0000 (23:36 +0200)] 
libppd: Corrected comments in ppd.h

5 years agolibppd: Added ppdLoadAttributes, load_ppd_attributes() from ippeveprinter
Till Kamppeter [Thu, 2 Jul 2020 21:34:20 +0000 (23:34 +0200)] 
libppd: Added ppdLoadAttributes, load_ppd_attributes() from ippeveprinter

5 years agolibppd: Removed unneeded source file
Till Kamppeter [Thu, 2 Jul 2020 16:30:55 +0000 (18:30 +0200)] 
libppd: Removed unneeded source file

5 years agolibppd: Renamed 4 public API functions from "cups..." to "ppd..."
Till Kamppeter [Thu, 2 Jul 2020 16:28:34 +0000 (18:28 +0200)] 
libppd: Renamed 4 public API functions from "cups..." to "ppd..."

5 years agolibppd: Renamed type definitions and enumerations for public API
Till Kamppeter [Thu, 2 Jul 2020 10:54:51 +0000 (12:54 +0200)] 
libppd: Renamed type definitions and enumerations for public API

5 years agofix: get inheritable attribute from parent 258/head
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.

5 years agolibppd: Renamed formerly private-to-CUPS PPD handling functions for public API
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

5 years agolibppd: Folded ppd-private.h into ppd.h
Till Kamppeter [Wed, 1 Jul 2020 21:08:14 +0000 (23:08 +0200)] 
libppd: Folded ppd-private.h into ppd.h

5 years agoBuild system: Correct order of libcupsfilters and libppd in Makefile.am, so that...
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

5 years agolibcupsfilters, libppd: Work around fold-accordion typo in libcups < 2.3.1
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

5 years agolibppd: Also renamed all internal functions to not mess up with libcups
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

5 years agolibppd: Renamed all private functions and types 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

5 years agocups-browsed: Remove left-over local queues more quickly
Till Kamppeter [Tue, 30 Jun 2020 09:26:42 +0000 (11:26 +0200)] 
cups-browsed: Remove left-over local queues more quickly

5 years agocups-browsed: Left-over local queues from the previous session did not get removed
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

5 years agoUpdated NEWS
Till Kamppeter [Sun, 28 Jun 2020 21:59:14 +0000 (23:59 +0200)] 
Updated NEWS

5 years agoMerge pull request #257 from V1krant/filter
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

5 years agoAdd support for colorspace conversions 257/head
Vikrant [Tue, 16 Jun 2020 10:31:02 +0000 (16:01 +0530)] 
Add support for colorspace conversions

5 years agogstoraster, gstopdf: Make number of copies as embedded PostScript command work
Till Kamppeter [Fri, 26 Jun 2020 19:53:44 +0000 (21:53 +0200)] 
gstoraster, gstopdf: Make number of copies as embedded PostScript command work

5 years agoUpdated NEWS
Till Kamppeter [Fri, 26 Jun 2020 19:44:41 +0000 (21:44 +0200)] 
Updated NEWS

5 years agoMerge pull request #256 from DuratarskeyK/master
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)

5 years agolibppd: Header "#include ..." clean-up
Till Kamppeter [Fri, 26 Jun 2020 15:14:30 +0000 (17:14 +0200)] 
libppd: Header "#include ..." clean-up

5 years agoPotential null dereference fix (#1) 256/head
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

5 years agoCOPYING: Added license information for libppd.
Till Kamppeter [Wed, 24 Jun 2020 19:49:26 +0000 (21:49 +0200)] 
COPYING: Added license information for libppd.

5 years agolibppd: Added new library with all PPD handling functions of libcups
Till Kamppeter [Wed, 24 Jun 2020 19:37:30 +0000 (21:37 +0200)] 
libppd: Added new library with all PPD handling functions of libcups

5 years agoSample PPDs: Renamed source directory from "ppd/" to "ppdfiles/"
Till Kamppeter [Sun, 21 Jun 2020 18:33:46 +0000 (20:33 +0200)] 
Sample PPDs: Renamed source directory from "ppd/" to "ppdfiles/"

5 years agoUpdated NEWS
Till Kamppeter [Sun, 21 Jun 2020 18:29:23 +0000 (20:29 +0200)] 
Updated NEWS

5 years agocups-browsed: Call cupsGetNamedDest() only if "OnlyUnsupportedByCUPS No"
Till Kamppeter [Sat, 20 Jun 2020 12:17:26 +0000 (14:17 +0200)] 
cups-browsed: Call cupsGetNamedDest() only if "OnlyUnsupportedByCUPS No"

5 years agoRevert merge of pull request #245
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.

5 years agoMerge pull request #247 from Ordissimo/patch-1
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

5 years agoCorrection default color 247/head
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

5 years agoMerge pull request #246 from zdohnal/mark_browsed
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

5 years agoMark the temp queue as cups-browsed during setting printer-is-shared 246/head
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

5 years agoMerge pull request #245 from mohitmo/master
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

5 years agodelete response only when not NULL 245/head
mohitmo [Wed, 17 Jun 2020 07:41:36 +0000 (13:11 +0530)] 
delete response only when not NULL

5 years agoset dest to NULL
mohitmo [Wed, 17 Jun 2020 07:28:42 +0000 (12:58 +0530)] 
set dest to NULL

5 years agomodified when to call cupsGetNamedDest()
mohitmo [Wed, 17 Jun 2020 05:57:16 +0000 (11:27 +0530)] 
modified when to call cupsGetNamedDest()

5 years agoMerge pull request #244 from zdohnal/cups_browsed_man
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

5 years agoMerge pull request #243 from V1krant/filter
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

5 years agocups-browsed.8: Remove mentions of README and AUTHORS files 244/head
Zdenek Dohnal [Mon, 15 Jun 2020 12:55:31 +0000 (14:55 +0200)] 
cups-browsed.8: Remove mentions of README and AUTHORS files

5 years agoAdd pclmtoraster filter 243/head
Vikrant [Mon, 15 Jun 2020 04:40:03 +0000 (10:10 +0530)] 
Add pclmtoraster filter

5 years agoMerge pull request #237 from omihara/patch-1
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

5 years agocups-filters 1.27.5 Release release-1-27-5
Till Kamppeter [Fri, 5 Jun 2020 13:22:23 +0000 (15:22 +0200)] 
cups-filters 1.27.5 Release

5 years agoUpdated NEWS
Till Kamppeter [Fri, 5 Jun 2020 11:15:43 +0000 (13:15 +0200)] 
Updated NEWS

5 years agocups-browsed: Do not remove the created local queues on shutdown
Till Kamppeter [Fri, 5 Jun 2020 11:13:50 +0000 (13:13 +0200)] 
cups-browsed: Do not remove the created local queues on shutdown

5 years agocups-browsed: Do not accept DNS-SD broadcasts of IPPS type of another CUPS instance...
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

5 years agoUpdated NEWS
Till Kamppeter [Fri, 29 May 2020 21:48:48 +0000 (23:48 +0200)] 
Updated NEWS

5 years agoMerge pull request #236 from IslandCow/short-edge
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

5 years agoUpdated NEWS
Till Kamppeter [Wed, 27 May 2020 10:32:07 +0000 (12:32 +0200)] 
Updated NEWS

5 years agoMerge pull request #240 from zdohnal/master
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

5 years agoconfigure.ac: Use AS_IF instead of AC_CHECK_FILE for font check 240/head
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

5 years agoUpdate Generic-PDF_Printer-PDF.ppd 237/head
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,

5 years agoMap two-sided-short-edge to DuplexTumble 236/head
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.

5 years agoMerge pull request #235 from zdohnal/check_get_printattrs
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

5 years agoCheck driverless support and set device-info accordingly 235/head
Zdenek Dohnal [Mon, 18 May 2020 11:43:57 +0000 (13:43 +0200)] 
Check driverless support and set device-info accordingly

5 years agocups-browsed: Cleaned up code to determine to which CUPS server to connect
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

5 years agoUpdated NEWS
Till Kamppeter [Thu, 7 May 2020 11:35:32 +0000 (13:35 +0200)] 
Updated NEWS

5 years agoMerge pull request #230 from kucharskim/master
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()

5 years agoMerge pull request #229 from mohitmo/master
Till Kamppeter [Thu, 7 May 2020 09:08:27 +0000 (11:08 +0200)] 
Merge pull request #229 from mohitmo/master

libcupsfilters: Silence compiler warning

5 years agoDo not pass NULL to fprintf() 230/head
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.

5 years agoUpdate ppdgenerator.c 229/head
Mohit Mohan [Wed, 6 May 2020 16:45:00 +0000 (22:15 +0530)] 
Update ppdgenerator.c

5 years agocups-filters 1.27.4 Release release-1-27-4
Till Kamppeter [Thu, 9 Apr 2020 20:40:30 +0000 (22:40 +0200)] 
cups-filters 1.27.4 Release

5 years agoUpdated NEWS
Till Kamppeter [Thu, 9 Apr 2020 20:26:25 +0000 (22:26 +0200)] 
Updated NEWS

5 years agoMerge pull request #226 from zdohnal/cups-browsed-memleaks
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