]>
git.ipfire.org Git - thirdparty/cups-filters.git/log
albert-github [Sun, 7 Apr 2019 11:19:59 +0000 (13:19 +0200)]
Correct comment
Doxygen throws a warning: warning: the name `urf_decode.cpp' supplied as the second argument in the \file statement is not an input file
this is corrected. The information should be correct regardless whether or not it is used.
Till Kamppeter [Fri, 5 Apr 2019 19:06:00 +0000 (21:06 +0200)]
cups-filters 1.22.4 Release
Till Kamppeter [Tue, 2 Apr 2019 18:45:22 +0000 (20:45 +0200)]
Updated NEWS.
Till Kamppeter [Tue, 2 Apr 2019 18:39:56 +0000 (20:39 +0200)]
Merge pull request #103 from olifre/fix-nickname-space-removal
cups-browsed: Fix broken trailing space removal on "NickName".
Oliver Freyermuth [Tue, 2 Apr 2019 18:19:46 +0000 (20:19 +0200)]
cups-browsed: Fix broken trailing space removal on "NickName".
The code tried to remove trailing spaces, but if there was
at least one trailing space, the last two characters of the
line were removed. This caused removal of the quotation mark
in case exactly one trailing space was present, breaking
the PPD and subsequently causing CUPS to mess up all queues
(even local ones).
Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
Till Kamppeter [Mon, 1 Apr 2019 15:53:17 +0000 (17:53 +0200)]
pdftops: Emit PostScript Level 2 instead of level 3 on Brother printers.
Till Kamppeter [Sun, 31 Mar 2019 19:44:16 +0000 (21:44 +0200)]
bannertopdf: When multiplying the page for N-up or Duplex printing one page too much was generated.
Till Kamppeter [Tue, 26 Mar 2019 12:21:57 +0000 (13:21 +0100)]
cups-filters 1.22.3 Release
Till Kamppeter [Thu, 21 Mar 2019 14:17:46 +0000 (15:17 +0100)]
Updated NEWS.
Till Kamppeter [Thu, 21 Mar 2019 14:04:24 +0000 (15:04 +0100)]
Merge pull request #100 from dheeraj135/issue_81
libcupsimage: Added error checks for processing GIF, to avoid crashes or hangs on broken GIF files.
Dheeraj [Thu, 21 Mar 2019 12:31:43 +0000 (18:01 +0530)]
Add checks for processing gif.
Fixes #81. Fixes #82. Some checks are added so that program exits gracefully.
These checks are added according to the gifs given by @ocean1. Some other
corrupted gif may crash at some other part of the code.
Return type of flush_tile() function is changed to int.
Till Kamppeter [Sun, 17 Mar 2019 20:15:53 +0000 (21:15 +0100)]
cups-browsed: Added hint about "DebugLogging stderr" config setting to man page.
Till Kamppeter [Fri, 15 Mar 2019 18:51:27 +0000 (19:51 +0100)]
cups-filters 1.22.2 Release
Till Kamppeter [Fri, 15 Mar 2019 17:35:47 +0000 (18:35 +0100)]
cups-browsed: Let distribution of jobs sent to queues with "implicitclass" backend be done by a "job-state" CUPS notification.
Till Kamppeter [Mon, 11 Mar 2019 13:41:16 +0000 (14:41 +0100)]
cups-browsed: Fixed typo.
Till Kamppeter [Thu, 7 Mar 2019 14:26:16 +0000 (15:26 +0100)]
Merge pull request #98 from dheeraj135/fillprint_bug_fix
pdftopdf: Set orientation for crop-to-fit and fill
dh [Thu, 7 Mar 2019 12:52:10 +0000 (18:22 +0530)]
Setting orientation for crop-to-fit and fill.
When the input format is other than pdf(like ps), pdftopdf is unable to set orientation
for crop-to-fit and fill. New function is_landsape is added to get orientation
of input file and orientation is set accordingly.
Till Kamppeter [Wed, 6 Mar 2019 15:09:17 +0000 (16:09 +0100)]
Updated NEWS.
Till Kamppeter [Wed, 6 Mar 2019 15:01:23 +0000 (16:01 +0100)]
Merge pull request #92 from dheeraj135/fillprint
imagetopdf, imagetoraster, pdftopdf: Added new scaling options: "fill" and "crop-to-fit"
Till Kamppeter [Tue, 5 Mar 2019 16:45:45 +0000 (17:45 +0100)]
Updated NEWS.
Till Kamppeter [Tue, 5 Mar 2019 16:38:22 +0000 (17:38 +0100)]
Merge pull request #91 from zdohnal/printer-is-shared-error
cups-browsed: Do not do IPP request for printer-is-shared option for remote cups queues with CUPS 2.2.x and newer
dh [Fri, 22 Feb 2019 15:55:33 +0000 (21:25 +0530)]
Add crop-to-fit scaling feature.
Input file is cropped and printed. We don't do scaling in crop-to-fit.
Fixes #65. imagetoraster, imagetopdf and pdftopdf filters are mutually exclusive.
"-o fill" option is now equivalent to "print-scaling=fill".
dh [Mon, 18 Feb 2019 20:07:46 +0000 (01:37 +0530)]
Added print-scaling=fill functionality.
We need to crop the input files according to paper's aspect ratio. For
cropping images, a new function is added to cupsfilters/image.h.
For cropping pdf files QPDF is used. Fixes #65 .
After cropping PDF, it is printed using filtplot option to completely fill\
the page.
Till Kamppeter [Thu, 21 Feb 2019 08:55:37 +0000 (09:55 +0100)]
cups-browsed: Fix crash bug when reading "Cluster" directive from configuration file.
Till Kamppeter [Tue, 19 Feb 2019 10:32:22 +0000 (11:32 +0100)]
driverless: Updated man page.
Zdenek Dohnal [Mon, 18 Feb 2019 12:16:05 +0000 (13:16 +0100)]
Do not do IPP request for printer-is-shared option for remote cups queues with CUPS 2.2 and newer
Till Kamppeter [Fri, 15 Feb 2019 18:50:00 +0000 (19:50 +0100)]
cups-filters 1.22.1 Release
Till Kamppeter [Fri, 15 Feb 2019 17:59:26 +0000 (18:59 +0100)]
braille: Use sort command with LC_ALL=C for reproducibility of the genrated files.
Till Kamppeter [Mon, 11 Feb 2019 22:12:14 +0000 (23:12 +0100)]
cups-browsed, driverless: Correct attributes of get-printer-attributes IPP request.
Till Kamppeter [Mon, 11 Feb 2019 22:03:01 +0000 (23:03 +0100)]
Updated NEWS.
Till Kamppeter [Sat, 9 Feb 2019 09:10:13 +0000 (10:10 +0100)]
Merge pull request #90 from sthibaul/master
braille: Document how to rework output before embossing.
Samuel Thibault [Fri, 8 Feb 2019 22:26:42 +0000 (23:26 +0100)]
braille: document how to rework output before embossing
Till Kamppeter [Fri, 18 Jan 2019 11:25:15 +0000 (12:25 +0100)]
cups-filters 1.22.0 Release
Till Kamppeter [Mon, 14 Jan 2019 21:06:42 +0000 (22:06 +0100)]
pdftopdf: Added pdftopdf-form-flattening option to select form flattening method.
Till Kamppeter [Mon, 14 Jan 2019 17:21:42 +0000 (18:21 +0100)]
NEWS: Bumped version number to 1.22.0.
Till Kamppeter [Mon, 14 Jan 2019 17:20:00 +0000 (18:20 +0100)]
pdftopdf: Use QPDF for flattening interactive PDF forms.
Till Kamppeter [Mon, 14 Jan 2019 16:24:30 +0000 (17:24 +0100)]
pdftopdf: Fixed bug of closing temporary file prematurely when external PDF form flattening utilities fail.
Till Kamppeter [Sat, 29 Dec 2018 19:29:08 +0000 (20:29 +0100)]
Updated NEWS.
Till Kamppeter [Sat, 29 Dec 2018 19:23:52 +0000 (20:23 +0100)]
Merge pull request #83 from StefanBruens/poppler_0_72
pdftoopvp, pdftoraster: More changes for Poppler 0.72 compatibility, removed support for Poppler 0.18.
Stefan Brüns [Fri, 28 Dec 2018 18:42:32 +0000 (19:42 +0100)]
Support GooString::c_str() introduced by poppler 0.72
Stefan Brüns [Fri, 28 Dec 2018 18:24:36 +0000 (19:24 +0100)]
Support some more methods returning const
The return values of these methods should not be modified. Since poppler 0.70,
this is enforced for GfxFont::getCharName, and for State::getCTM since 0.72.
These methods now return const T*.
Stefan Brüns [Fri, 28 Dec 2018 17:17:28 +0000 (18:17 +0100)]
Adapt code for SplashXPathScanner state handling since poppler 0.70
The state for the scanline iteration is no longer part of the scanner,
but has been moved to a iterator helper class.
Stefan Brüns [Fri, 28 Dec 2018 17:47:56 +0000 (18:47 +0100)]
Raise minimum poppler version from 0.18 to 0.19
The releases where 2011-09-27 respectively 2012-03-01, i.e. a timeframe of
5 months. Differences between the two versions are responsible for the
majority of version dependent code.
The code in oprs/OPVPSplashClip.cxx was a no-op starting with 0.19, so
it can be removed as well.
Till Kamppeter [Fri, 21 Dec 2018 19:36:34 +0000 (20:36 +0100)]
cups-browsed: Fixed crash in applying the BrowseFilter cups-browsed.conf directives.
Till Kamppeter [Mon, 17 Dec 2018 16:47:13 +0000 (17:47 +0100)]
cups-filters 1.21.6 Release
Till Kamppeter [Mon, 17 Dec 2018 16:32:19 +0000 (17:32 +0100)]
cups-browsed: Check also host names to find out whether a DNS-SD-discovered printer is from the local machine.
Till Kamppeter [Thu, 13 Dec 2018 15:24:56 +0000 (16:24 +0100)]
cups-browsed: Let on_printer_deleted() only re-create queues which are really gone.
Till Kamppeter [Wed, 12 Dec 2018 14:51:31 +0000 (15:51 +0100)]
Updated NEWS.
Till Kamppeter [Mon, 10 Dec 2018 19:56:16 +0000 (20:56 +0100)]
cups-browsed: Fixed crashes caused by checking HTTP timeouts.
Till Kamppeter [Fri, 7 Dec 2018 17:37:36 +0000 (18:37 +0100)]
pdftops: Use the PS interpreter of Poppler for more Apple LaserWriter models.
Till Kamppeter [Wed, 5 Dec 2018 21:14:15 +0000 (22:14 +0100)]
cups-browsed: On shutdown queues got removed even if they still had jobs
Till Kamppeter [Wed, 5 Dec 2018 17:06:20 +0000 (18:06 +0100)]
cups-filters 1.21.5 Release
Till Kamppeter [Fri, 30 Nov 2018 21:48:48 +0000 (22:48 +0100)]
cups-browsed: Reliably make temporary CUPS queues permanent.
Till Kamppeter [Fri, 30 Nov 2018 21:43:40 +0000 (22:43 +0100)]
Fixed typo in NEWS.
Till Kamppeter [Mon, 26 Nov 2018 19:13:23 +0000 (20:13 +0100)]
pdftoraster, pdftopdf, pdftoijs, pdftoopvp: Do not use the Poppler-specific "GBool", "gFalse", "gTrue" any more.
Till Kamppeter [Fri, 23 Nov 2018 21:17:04 +0000 (22:17 +0100)]
cups-filters 1.21.4 Release
Till Kamppeter [Thu, 22 Nov 2018 16:14:30 +0000 (17:14 +0100)]
Updated NEWS.
Till Kamppeter [Thu, 22 Nov 2018 16:12:01 +0000 (17:12 +0100)]
cups-browsed: Clean up comments and messages of previous commit.
Till Kamppeter [Thu, 22 Nov 2018 15:46:53 +0000 (16:46 +0100)]
Merge pull request #73 from zdohnal/retries
cups-browsed: Limit the number of retries for creating a print queue when it comes to HTTP timeouts. Number of retries given by HttpMaxRetries directive in cups-browsed.conf.
Zdenek Dohnal [Thu, 22 Nov 2018 14:59:32 +0000 (15:59 +0100)]
Introduce HttpMaxRetries directive
Till Kamppeter [Mon, 19 Nov 2018 21:35:54 +0000 (22:35 +0100)]
Updated NEWS.
Till Kamppeter [Mon, 19 Nov 2018 21:12:31 +0000 (22:12 +0100)]
cups-browsed: Added curly brackets missing in the previous commit.
Till Kamppeter [Mon, 19 Nov 2018 20:55:39 +0000 (21:55 +0100)]
Merge pull request #71 from zdohnal/timeouts
cups-browsed: Keep actually current time for timeouts
Till Kamppeter [Fri, 16 Nov 2018 17:01:32 +0000 (18:01 +0100)]
libcupsfilters: In the PPD generator for driverless IPP printing let "*cupsManualCopies: true" lines get added where needed.
Zdenek Dohnal [Wed, 14 Nov 2018 14:01:56 +0000 (15:01 +0100)]
Keep actually current time for timeouts
Till Kamppeter [Tue, 13 Nov 2018 14:45:04 +0000 (15:45 +0100)]
Updated NEWS.
Till Kamppeter [Tue, 13 Nov 2018 14:37:58 +0000 (15:37 +0100)]
Merge pull request #70 from g0hl1n/fix-for-poppler-more-const
pdftoraster, pdftoopvp, pdftoijs: Fix build with Poppler >= 0.70
Richard Leitner [Tue, 13 Nov 2018 11:59:35 +0000 (12:59 +0100)]
filter: poppler error: make the msg be const
Poppler v0.70 introduced a const msg for its error functions in
commit
297e6944 ("Error: Make the msg be const"). Therefore adapt
this in the filters.
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Till Kamppeter [Tue, 13 Nov 2018 12:04:59 +0000 (13:04 +0100)]
pdftopdf: Fixed printing multiple copies on driverless IPP printers.
Richard Leitner [Tue, 13 Nov 2018 11:38:24 +0000 (12:38 +0100)]
filter: pdftoraster: adapt for const getMediaBox from poppler
poppler made getMediaBox const in commit
3edd00c7 , therefore adapt it
for cups-filters.
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Till Kamppeter [Fri, 5 Oct 2018 12:28:36 +0000 (14:28 +0200)]
Updated NEWS.
Till Kamppeter [Fri, 5 Oct 2018 12:23:15 +0000 (14:23 +0200)]
Merge pull request #66 from olivierschonken/master
pdftoraster, pdftoopvp, pdftoijs: Poppler removed memCheck and gMemReport functions, remove appropriate calls.
Olivier Schonken [Fri, 5 Oct 2018 10:05:31 +0000 (12:05 +0200)]
Poppler removed memCheck and gMemReport functions
Only use gMemReport and memCheck functions if poppler version less
than 0.69.0
The poppler project removed the memCheck and gMemReport functions in
commits
c362ab1b97f20c5b73b3bad8d52015f679178748 - Remove DEBUG_MEM
from Object since this uses RAII now and hence cannot leak.
(The existing tracking also is not thread-safe and hence unreliable.)
and
f89446f6917a869b0f1a80fcc8ce81a7213dade4 - Remove generic heap debugging
from gmem since external tools and compiler instrumentation achieve the
same effect.
This commit solves https://github.com/OpenPrinting/cups-filters/issues/62
Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Till Kamppeter [Wed, 3 Oct 2018 19:59:11 +0000 (21:59 +0200)]
cups-filters 1.21.3 Release
Till Kamppeter [Fri, 28 Sep 2018 16:00:52 +0000 (18:00 +0200)]
foomatic-rip: Reset stdin after replacing the underlying file descriptor.
Till Kamppeter [Sun, 2 Sep 2018 15:23:36 +0000 (17:23 +0200)]
Fixed NEWS.
Till Kamppeter [Sun, 2 Sep 2018 14:25:47 +0000 (16:25 +0200)]
cups-filters 1.21.2 Release
Till Kamppeter [Sat, 1 Sep 2018 12:40:57 +0000 (14:40 +0200)]
cups-browsed: Fixed freeing of literal string caused by Coverity Scan issue fix.
Till Kamppeter [Sun, 26 Aug 2018 09:39:10 +0000 (11:39 +0200)]
cups-filters 1.21.1 Release
Till Kamppeter [Sat, 25 Aug 2018 17:30:08 +0000 (19:30 +0200)]
foomatic-rip: Fixed segmentation fault caused by wrong Coverity Scan issue fix.
Till Kamppeter [Wed, 22 Aug 2018 19:03:36 +0000 (21:03 +0200)]
Build system: Require QPDF 8.1.0 or later as it is needed by bannertopdf.
Till Kamppeter [Mon, 20 Aug 2018 20:52:07 +0000 (22:52 +0200)]
cups-filters 1.21.0 Release
Till Kamppeter [Mon, 20 Aug 2018 12:50:00 +0000 (14:50 +0200)]
libcupsfilters, cups-browsed, driverless, foomatic-rip, parallel: Silenced warnings from newest gcc.
Till Kamppeter [Sun, 19 Aug 2018 21:29:34 +0000 (23:29 +0200)]
libcupsfilters: Avoid that pdftopdf is run locally when the destination is a remote CUPS queue.
Till Kamppeter [Wed, 15 Aug 2018 14:59:48 +0000 (16:59 +0200)]
Updated NEWS.
Till Kamppeter [Wed, 15 Aug 2018 14:48:05 +0000 (16:48 +0200)]
Merge pull request #53 from zdohnal/covscan-final
libcupsfilters, cups-browsed, driverless, bannertopdf, foomatic-rip, pdftops, pdftoraster, rastertops, rastertoescpx, sys5ippprinter, beh: Fixed Coverity Scan issues
Zdenek Dohnal [Wed, 15 Aug 2018 13:41:40 +0000 (15:41 +0200)]
Fixing covscan issues
Till Kamppeter [Mon, 13 Aug 2018 12:41:47 +0000 (14:41 +0200)]
Updated NEWS and README for bannertopdf switchover to QPDF.
Till Kamppeter [Sun, 12 Aug 2018 17:41:50 +0000 (19:41 +0200)]
Merge pull request #25 from sahilarora535/poppler-to-qpdf
bannertopdf: Rewrite bannertopdf to use QPDF instead of Poppler
Sahil Arora [Sun, 12 Aug 2018 14:29:01 +0000 (19:59 +0530)]
COPYING: Update copyright information
Add 'Sahil Arora' to the copyright list for the files:
1. filter/bannertopdf.c
2. filter/pdf.cxx
3. filter/pdf.h
Fixes: https://github.com/OpenPrinting/cups-filters/issues/8
Sahil Arora [Sun, 12 Aug 2018 14:10:12 +0000 (19:40 +0530)]
Rewrite 'bannertopdf' filter to use QPDF instead of Poppler
'bannertopdf' filter was originally written using the XPDF APIs of Poppler,
however, Poppler unsupported all those XPDF APIs and removed them from their
source, because of which the filter was unable to build. The filter is
re-written to use QPDF instead of the unsupported APIs in this commit.
Fixes: https://github.com/OpenPrinting/cups-filters/issues/8
Sahil Arora [Sat, 13 Jan 2018 09:40:15 +0000 (15:10 +0530)]
Makefile.am: Compile bannertopdf with QPDF instead of Poppler
Enable compilation of 'bannertopdf' filter by default and replace Poppler
with QPDF as its compilation dependency.
Fixes: https://github.com/OpenPrinting/cups-filters/issues/8
Till Kamppeter [Tue, 24 Jul 2018 20:13:11 +0000 (22:13 +0200)]
cups-browsed: Manually defined clusters caused cups-browsed to crash.
Till Kamppeter [Fri, 20 Jul 2018 13:43:05 +0000 (15:43 +0200)]
Updated NEWS.
Till Kamppeter [Fri, 20 Jul 2018 13:32:52 +0000 (15:32 +0200)]
Merge pull request #51 from Polynomial-C/poppler-0.67.0
bannertopdf: field_name in pdf.cxx needs to be "const" since Poppler 0.64.0
Lars Wendler [Fri, 20 Jul 2018 13:20:11 +0000 (15:20 +0200)]
GooString needs to be const since >=poppler-0.64.0
This only fails with >=poppler-0.67.0 but the change to const was done
in 0.64.0
Till Kamppeter [Thu, 12 Jul 2018 14:06:28 +0000 (16:06 +0200)]
cups-filters 1.20.4 Release
Till Kamppeter [Thu, 12 Jul 2018 13:51:55 +0000 (15:51 +0200)]
README: Added link to Issue Tracker on GitHub.
Till Kamppeter [Thu, 12 Jul 2018 13:17:31 +0000 (15:17 +0200)]
Corrected wording about driverless printing standards in the documentation.
Till Kamppeter [Wed, 11 Jul 2018 20:42:32 +0000 (22:42 +0200)]
gstoraster: Removed unneeded "if"s.