]> git.ipfire.org Git - thirdparty/cups-filters.git/log
thirdparty/cups-filters.git
4 years agolibcupsfilters: Capture stderr of filter called via filterExternalCUPS()
Till Kamppeter [Mon, 21 Jun 2021 09:12:59 +0000 (11:12 +0200)] 
libcupsfilters: Capture stderr of filter called via filterExternalCUPS()

4 years agoUpdated NEWS
Till Kamppeter [Fri, 18 Jun 2021 10:36:02 +0000 (12:36 +0200)] 
Updated NEWS

4 years agocups-browsed.c: Make NotifLeaseDuration configurable and renew after half the lease...
zdohnal [Fri, 18 Jun 2021 10:27:53 +0000 (12:27 +0200)] 
cups-browsed.c: Make NotifLeaseDuration configurable and renew after half the lease duration not 60 sec before end

1) NotifLeaseDuration directive for cups-browsed.conf - it will make
   lease duration for notifications configurable by users. IMO it is not
   useful for regular users, but it is helpful during sanity testing
   (for verifying that we actually renew the subscription when time
   comes). The current hardcoded 1 day is unusuable for that :( .
   I implemented the lowest threshold to 300s to prevent a possible DoS.
2) Subscription renewal is set to happen in the middle of NotifLeaseDuration,
   not one minute before lease expiration. This was a problem on busy servers,
   where cups-browsed was busy and wasn't able to renew the subscription
   before cupsd removed it. Then if some jobs had come before the subscription
   was created again, the queue got disabled. The proposed approach is based
   on behavior of DHCP.

4 years agolibcupsfilters: Simplified how PPD generator determines whether printer is color
Till Kamppeter [Wed, 16 Jun 2021 14:17:34 +0000 (16:17 +0200)] 
libcupsfilters: Simplified how PPD generator determines whether printer is color

4 years agolibppd: Removed PPD generator test from testppd
Till Kamppeter [Wed, 16 Jun 2021 13:07:35 +0000 (15:07 +0200)] 
libppd: Removed PPD generator test from testppd

4 years agolibcupsfilters: Silenced compiler warnings
Till Kamppeter [Mon, 14 Jun 2021 19:41:20 +0000 (21:41 +0200)] 
libcupsfilters: Silenced compiler warnings

4 years agolibcupsfilters: Removed duplicate code in the apply_filters() function
Till Kamppeter [Mon, 14 Jun 2021 19:28:27 +0000 (21:28 +0200)] 
libcupsfilters: Removed duplicate code in the apply_filters() function

4 years agolibcupsfilters: Added filterExternalCUPS() filter function
Till Kamppeter [Fri, 11 Jun 2021 18:06:26 +0000 (20:06 +0200)] 
libcupsfilters: Added filterExternalCUPS() filter function

4 years agodriverless: Changed way to emit exit code 0 when no printer found
Till Kamppeter [Tue, 8 Jun 2021 10:29:46 +0000 (12:29 +0200)] 
driverless: Changed way to emit exit code 0 when no printer found

4 years agodriverless: Exit with 0 if no driverless IPP printers found
Till Kamppeter [Tue, 8 Jun 2021 09:34:27 +0000 (11:34 +0200)] 
driverless: Exit with 0 if no driverless IPP printers found

4 years agofoomatic-rip: Modified fix for zero-page PS job handling, to allow streaming
Till Kamppeter [Thu, 3 Jun 2021 17:22:52 +0000 (19:22 +0200)] 
foomatic-rip: Modified fix for zero-page PS job handling, to allow streaming

4 years agolibcupsfilters: Default to AdobeRGB only if in 16 bit per color
Till Kamppeter [Wed, 26 May 2021 21:19:55 +0000 (23:19 +0200)] 
libcupsfilters: Default to AdobeRGB only if in 16 bit per color

4 years agolibcupsfilters: Color space/depth auto-selection for Apple/PWG Raster
Till Kamppeter [Tue, 25 May 2021 16:07:38 +0000 (18:07 +0200)] 
libcupsfilters: Color space/depth auto-selection for Apple/PWG Raster

4 years agoUpdated NEWS
Till Kamppeter [Tue, 25 May 2021 15:40:24 +0000 (17:40 +0200)] 
Updated NEWS

4 years agoUpdated NEWS
Till Kamppeter [Fri, 14 May 2021 21:59:09 +0000 (23:59 +0200)] 
Updated NEWS

4 years agolibcupsfilters: Fixed gs command line for counting pages as it took too long on PDFs...
suraj kulriya [Fri, 14 May 2021 09:39:14 +0000 (15:09 +0530)] 
libcupsfilters: Fixed gs command line for counting pages as it took too long on PDFs converted from DjVu

4 years agocups-browsed: Renamed ldap_connect() due to conflict in new openldap
Bhavna2020 [Wed, 12 May 2021 17:02:44 +0000 (22:32 +0530)] 
cups-browsed: Renamed ldap_connect() due to conflict in new openldap

4 years agolibcupsfilters: Clean-up of human-readable string handling in the PPD generator
Till Kamppeter [Wed, 28 Apr 2021 14:13:40 +0000 (16:13 +0200)] 
libcupsfilters: Clean-up of human-readable string handling in the PPD generator

4 years agolibcupsfilters: Function name clean-up for PPD generator
Till Kamppeter [Mon, 26 Apr 2021 20:40:38 +0000 (22:40 +0200)] 
libcupsfilters: Function name clean-up for PPD generator

4 years agolibppd: Removed ppdCreateFromIPPCUPS() - We have better one in libcupsfilters
Till Kamppeter [Mon, 26 Apr 2021 20:34:25 +0000 (22:34 +0200)] 
libppd: Removed ppdCreateFromIPPCUPS() - We have better one in libcupsfilters

4 years agocups-browsed: Lock before all 'examine_discovered_printer_record()' (#364)
zdohnal [Mon, 26 Apr 2021 09:51:12 +0000 (11:51 +0200)] 
cups-browsed: Lock before all 'examine_discovered_printer_record()' (#364)

The current code doesn't use rwlock in found_cups_printer() and
cupsdUpdateLDAPBrowse(), which causes deadlock when discovering queues
via BrowsePoll or LDAP.
It happens because the code in 'examine_discovered_printer_record()'
expects the rwlock to be locked already, so it unlocks the lock, calls
'get_local_queue_name()' and locks again.

The commit contains change '&(lock)' -> '&lock' too, it represents the
same thing, so we should use the same code for it.

4 years agoPdftoraster: free colour data after processing of each page (#363)
Pratyush Ranjan [Sun, 25 Apr 2021 14:11:56 +0000 (19:41 +0530)] 
Pdftoraster: free colour data after processing of each page (#363)

pdftoraster: Free colordata after end of each page, eliminating a severe memory leak

4 years agoUpdated NEWS
Till Kamppeter [Tue, 20 Apr 2021 15:58:37 +0000 (17:58 +0200)] 
Updated NEWS

4 years agocups-browsed: Removed forgotten remainders of interface script support
Till Kamppeter [Tue, 20 Apr 2021 12:21:10 +0000 (14:21 +0200)] 
cups-browsed: Removed forgotten remainders of interface script support

4 years agolibcupsfilters: Remove support for asymmetric ppi in imagesto... filter functions()
pranshukharkwal [Tue, 20 Apr 2021 11:01:09 +0000 (16:31 +0530)] 
libcupsfilters: Remove support for asymmetric ppi in imagesto... filter functions()

4 years agocups-browsed: Added multi-threaded operation
Till Kamppeter [Sun, 18 Apr 2021 21:25:32 +0000 (23:25 +0200)] 
cups-browsed: Added multi-threaded operation

4 years agoUpdated NEWS
Till Kamppeter [Fri, 16 Apr 2021 21:06:19 +0000 (23:06 +0200)] 
Updated NEWS

4 years agocups-browsed: Always save "...-default" option entries from printers.conf
Till Kamppeter [Thu, 15 Apr 2021 12:26:44 +0000 (14:26 +0200)] 
cups-browsed: Always save "...-default" option entries from printers.conf

4 years agoUpdated NEWS
Till Kamppeter [Thu, 15 Apr 2021 10:28:58 +0000 (12:28 +0200)] 
Updated NEWS

4 years agoutils/cups-browsed.service: Add network-online.target (#360)
zdohnal [Thu, 15 Apr 2021 10:17:14 +0000 (12:17 +0200)] 
utils/cups-browsed.service: Add network-online.target (#360)

cups-browsed can be set to browsepolling remote servers, browsing remote
queues via CUPS protocol or sharing local queues via CUPS protocol.
Although sharing and browsing happens via browsesocket (which can be
solved by setting socket option IP_FREEBIND), browsepolling must have
network working to communicate with a remote server.

4 years agotexttopdf: Set default margins when no PPD file is used
suraj kulriya [Thu, 1 Apr 2021 09:09:02 +0000 (14:39 +0530)] 
texttopdf: Set default margins when no PPD file is used

4 years agolibppd: Fixed PPD memory leak of "emulators" field not freed
Till Kamppeter [Wed, 10 Mar 2021 22:28:29 +0000 (23:28 +0100)] 
libppd: Fixed PPD memory leak of "emulators" field not freed

4 years ago libcupsfilters: Made driverless PPD generator more reliable for print or fax PPD
Till Kamppeter [Wed, 10 Mar 2021 19:27:45 +0000 (20:27 +0100)] 
 libcupsfilters: Made driverless PPD generator more reliable for print or fax PPD

4 years agofoomatic-rip: Fixed segfault cause by wrong option parsing
Till Kamppeter [Tue, 9 Mar 2021 21:53:50 +0000 (22:53 +0100)] 
foomatic-rip: Fixed segfault cause by wrong option parsing

4 years ago libppd: Make "True" in boolean options case-insensitive
Till Kamppeter [Sun, 7 Mar 2021 16:12:01 +0000 (17:12 +0100)] 
 libppd: Make "True" in boolean options case-insensitive

4 years agoUpdated NEWS
Till Kamppeter [Thu, 25 Feb 2021 17:49:43 +0000 (18:49 +0100)] 
Updated NEWS

4 years agoimplicitclass: Raise timeout for cups-browsed's answer from 20s to 60s
Bhavna2020 [Thu, 25 Feb 2021 17:38:30 +0000 (23:08 +0530)] 
implicitclass: Raise timeout for cups-browsed's answer from 20s to 60s

4 years agolibcupsfilters: Fixed several temporary file leaks
Till Kamppeter [Fri, 12 Feb 2021 16:43:32 +0000 (17:43 +0100)] 
libcupsfilters: Fixed several temporary file leaks

4 years agolibcupsfilters: More manufacturer name fixes in ieee1284NormalizeMakeAndModel()
Till Kamppeter [Tue, 9 Feb 2021 20:42:12 +0000 (21:42 +0100)] 
libcupsfilters: More manufacturer name fixes in ieee1284NormalizeMakeAndModel()

4 years agoUpdated NEWS
Till Kamppeter [Mon, 8 Feb 2021 22:44:33 +0000 (23:44 +0100)] 
Updated NEWS

4 years agolibppd: In the ppdPwgUnppdizeName() function support negative numbers
Till Kamppeter [Thu, 21 Jan 2021 19:27:24 +0000 (20:27 +0100)] 
libppd: In the ppdPwgUnppdizeName() function support negative numbers

4 years agolibcupsfilters: When normalizing printer model name replace '+' by "plus"
Till Kamppeter [Thu, 21 Jan 2021 18:56:06 +0000 (19:56 +0100)] 
libcupsfilters: When normalizing printer model name replace '+' by "plus"

4 years agolibcupsfilters: In the PPD generator really give priority to Apple Raster against PDF
Till Kamppeter [Thu, 21 Jan 2021 14:50:26 +0000 (15:50 +0100)] 
libcupsfilters: In the PPD generator really give priority to Apple Raster against PDF

4 years agolibppd: In the PPD generator really give priority to Apple Raster against PDF
Till Kamppeter [Thu, 21 Jan 2021 14:48:34 +0000 (15:48 +0100)] 
libppd: In the PPD generator really give priority to Apple Raster against PDF

4 years agoUpdated NEWS
Till Kamppeter [Thu, 7 Jan 2021 20:20:29 +0000 (21:20 +0100)] 
Updated NEWS

4 years agoBuild system: Add files in gitignore that are generated by autogen.sh configure and...
suraj kulriya [Thu, 7 Jan 2021 20:17:01 +0000 (01:47 +0530)] 
Build system: Add files in gitignore that are generated by autogen.sh configure and make

4 years agoSmall correction in NEWS
Till Kamppeter [Thu, 7 Jan 2021 18:39:06 +0000 (19:39 +0100)] 
Small correction in NEWS

4 years agoimplicitclass: Added "#include <signal.h>"
Till Kamppeter [Thu, 7 Jan 2021 12:35:54 +0000 (13:35 +0100)] 
implicitclass: Added "#include <signal.h>"

4 years agolibppd: Removed versioning.h and the macros defined in this file
Till Kamppeter [Thu, 7 Jan 2021 11:55:09 +0000 (12:55 +0100)] 
libppd: Removed versioning.h and the macros defined in this file

4 years agodriverless: Removed the support quality check
Till Kamppeter [Thu, 7 Jan 2021 09:14:40 +0000 (10:14 +0100)] 
driverless: Removed the support quality check

4 years agolibcupsfilters: Added documentation for parameters of pdftopdf() in filter.h
Till Kamppeter [Wed, 30 Dec 2020 23:56:42 +0000 (00:56 +0100)] 
libcupsfilters: Added documentation for parameters of pdftopdf() in filter.h

4 years agopdftopdf : Fix no final_content_type environment variable found bug (#333)
pranshukharkwal [Wed, 30 Dec 2020 23:29:54 +0000 (04:59 +0530)] 
pdftopdf : Fix no final_content_type environment variable found bug (#333)

* pdftopdf: Fix FINAL_CONTENT_TYPE environment variable not passed to pdftopdf()

4 years agolibcupsfilters: Let filter functions not load the PPD and not mark PPD options
Till Kamppeter [Tue, 22 Dec 2020 17:26:26 +0000 (18:26 +0100)] 
libcupsfilters: Let filter functions not load the PPD and not mark PPD options

4 years agolibcupsfilters: In the PPD generator give priority to Apple Raster against PDF
Till Kamppeter [Sun, 20 Dec 2020 13:18:21 +0000 (14:18 +0100)] 
libcupsfilters: In the PPD generator give priority to Apple Raster against PDF

4 years agolibppd: In the PPD generator give priority to Apple Raster against PDF
Till Kamppeter [Sun, 20 Dec 2020 13:15:00 +0000 (14:15 +0100)] 
libppd: In the PPD generator give priority to Apple Raster against PDF

4 years agolibcupsfilters: Corrected color space mapping in cupsRasterParseIPPOptions()
Till Kamppeter [Thu, 3 Dec 2020 22:46:25 +0000 (23:46 +0100)] 
libcupsfilters: Corrected color space mapping in cupsRasterParseIPPOptions()

4 years agolibppd: Fix duplicate ColorModel entries in generated PPD files
Till Kamppeter [Thu, 3 Dec 2020 13:52:18 +0000 (14:52 +0100)] 
libppd: Fix duplicate ColorModel entries in generated PPD files

4 years agolibcupsfilters: Fix duplicate ColorModel entries in generated PPD files
Till Kamppeter [Thu, 3 Dec 2020 13:51:18 +0000 (14:51 +0100)] 
libcupsfilters: Fix duplicate ColorModel entries in generated PPD files

4 years agoUpdated NEWS
Till Kamppeter [Tue, 1 Dec 2020 23:17:36 +0000 (00:17 +0100)] 
Updated NEWS

4 years agolibppd: In generated PPDs add a grayscale mode if only color available
Till Kamppeter [Tue, 1 Dec 2020 23:16:19 +0000 (00:16 +0100)] 
libppd: In generated PPDs add a grayscale mode if only color available

4 years agolibcupsfilters: In generated PPDs add a grayscale mode if only color available
Till Kamppeter [Tue, 1 Dec 2020 23:15:04 +0000 (00:15 +0100)] 
libcupsfilters: In generated PPDs add a grayscale mode if only color available

4 years agolibppd: In generated PPDs add an "OutputBin" option also with one choice
Till Kamppeter [Tue, 1 Dec 2020 22:54:34 +0000 (23:54 +0100)] 
libppd: In generated PPDs add an "OutputBin" option also with one choice

4 years agolibcupsfilters: In generated PPDs add an "OutputBin" option also with one choice
Till Kamppeter [Tue, 1 Dec 2020 22:51:02 +0000 (23:51 +0100)] 
libcupsfilters: In generated PPDs add an "OutputBin" option also with one choice

4 years agolibppd: Generated PPDs could have an "Unknown" default InputSlot
Till Kamppeter [Tue, 1 Dec 2020 22:39:47 +0000 (23:39 +0100)] 
libppd: Generated PPDs could have an "Unknown" default InputSlot

4 years agolibcupsfilters: Generated PPDs could have an "Unknown" default InputSlot
Till Kamppeter [Tue, 1 Dec 2020 22:37:15 +0000 (23:37 +0100)] 
libcupsfilters: Generated PPDs could have an "Unknown" default InputSlot

4 years agolibcupsfilters: In pdftops() do not close stdin to not confuse pipe creation
Till Kamppeter [Mon, 30 Nov 2020 21:23:43 +0000 (22:23 +0100)] 
libcupsfilters: In pdftops() do not close stdin to not confuse pipe creation

4 years agocups-browsed: Fixed preservation of location/description info on local queues
Till Kamppeter [Fri, 27 Nov 2020 10:05:48 +0000 (11:05 +0100)] 
cups-browsed: Fixed preservation of location/description info on local queues

4 years agocups-browsed: Removed all calls of the resolve_uri() function
Till Kamppeter [Thu, 26 Nov 2020 21:29:47 +0000 (22:29 +0100)] 
cups-browsed: Removed all calls of the resolve_uri() function

4 years agoUpdated NEWS
Till Kamppeter [Tue, 24 Nov 2020 17:17:07 +0000 (18:17 +0100)] 
Updated NEWS

4 years agoMerge pull request #322 from zdohnal/various-browsed-issues
Till Kamppeter [Mon, 23 Nov 2020 21:51:07 +0000 (22:51 +0100)] 
Merge pull request #322 from zdohnal/various-browsed-issues

cups-browsed: Fixed various issues discovered with Valgrind

4 years agocups-browsed.c: Add resolutionNew() to public API and missing brackets 322/head
Zdenek Dohnal [Mon, 23 Nov 2020 14:36:17 +0000 (15:36 +0100)] 
cups-browsed.c: Add resolutionNew() to public API and missing brackets

4 years agocups-browsed.c: Initialize 'print_quality'
Zdenek Dohnal [Mon, 23 Nov 2020 14:11:46 +0000 (15:11 +0100)] 
cups-browsed.c: Initialize 'print_quality'

Initialize 'print_quality' to prevent conditional jump on uninitialized value.

4 years agocups-browsed.c: Fix leakage of CUPS arrays when checking supported attrs
Zdenek Dohnal [Mon, 23 Nov 2020 14:07:25 +0000 (15:07 +0100)] 
cups-browsed.c: Fix leakage of CUPS arrays when checking supported attrs

4 years agocups-browsed.c: Fix leakage of IPP response
Zdenek Dohnal [Mon, 23 Nov 2020 14:05:53 +0000 (15:05 +0100)] 
cups-browsed.c: Fix leakage of IPP response

The IPP response needs to be freed before possible breaking from a loop.

4 years agocups-browsed.c: Fix 'document_format' memory leak
Zdenek Dohnal [Mon, 23 Nov 2020 14:04:26 +0000 (15:04 +0100)] 
cups-browsed.c: Fix 'document_format' memory leak

4 years agocups-browsed.c: Introduce a new pointer to prevent overwriting an allocated pointer
Zdenek Dohnal [Mon, 23 Nov 2020 14:02:44 +0000 (15:02 +0100)] 
cups-browsed.c: Introduce a new pointer to prevent overwriting an allocated pointer

4 years agocups-browsed.c: Fix conditional jumps based on uninitialized value
Zdenek Dohnal [Mon, 23 Nov 2020 13:53:37 +0000 (14:53 +0100)] 
cups-browsed.c: Fix conditional jumps based on uninitialized value

Strings added with IPP_TAG_MIMETYPE and IPP_TAG_KEYWORD tags use uninitialized
buffers, which causes random behavior. The buffers can be initialized via f.e.
'snprintf()'.

4 years agocups-browsed.c: Fix nickname pointer memory leak
Zdenek Dohnal [Mon, 23 Nov 2020 13:47:15 +0000 (14:47 +0100)] 
cups-browsed.c: Fix nickname pointer memory leak

This memory leak was caused by losing the original pointer to allocated memory and
trying to free incomplete pointer. The fix reimplements acquiring of nickname
algorithm and allocates the precise memory for nickname. In case of error, the algorithm
reports an warning into debug log and continue with reading from PPD.

4 years agocups-browsed.c: Fix memory ipp_t struct memory leak
Zdenek Dohnal [Mon, 23 Nov 2020 13:38:00 +0000 (14:38 +0100)] 
cups-browsed.c: Fix memory ipp_t struct memory leak

4 years agoppdgenerator.c: Free printer_sizes array
Zdenek Dohnal [Mon, 23 Nov 2020 13:34:04 +0000 (14:34 +0100)] 
ppdgenerator.c: Free printer_sizes array

We need to free 'printer_sizes', which is allocated in 'ppdCreateFromIPP2()', instead of
'sizes', which is passed as a parameter - because it solves a memory leak and it doesn't
leave an invalid pointer.

4 years agocups-browsed.c: Free the allocated memory if error happened and we have a cluster
Zdenek Dohnal [Mon, 23 Nov 2020 13:30:58 +0000 (14:30 +0100)] 
cups-browsed.c: Free the allocated memory if error happened and we have a cluster

The code previously leaked several structs, if an error occured during print cluster creation.

4 years agocups-browsed.c: Call 'get_cluster_attributes()' earlier
Zdenek Dohnal [Mon, 23 Nov 2020 13:25:37 +0000 (14:25 +0100)] 
cups-browsed.c: Call 'get_cluster_attributes()' earlier

It looks like 'get_cluster_attributes()' needs to be called earlier than where it is now,
because the code checks 'printer_attributes' (where is the result of 'get_cluster_attributes()'
for clustered queues) before the first 'get_cluster_attributes()' right now, which looks like
an error. So the fix moves the 'get_cluster_attributes()' call before the first 'printer_attributes'
 query.

4 years agocups-browsed.c: revert a5a3344aea0bc9, silence the compiler warning
Zdenek Dohnal [Mon, 23 Nov 2020 13:19:49 +0000 (14:19 +0100)] 
cups-browsed.c: revert a5a3344aea0bc9, silence the compiler warning

Revert the commit a5a3344aea0bc9 because it puts back the invalid memory error, and just recast 'uuid' to 'char*'.

4 years agocups-browsed.c: Free the memory in correct order
Zdenek Dohnal [Mon, 23 Nov 2020 13:09:54 +0000 (14:09 +0100)] 
cups-browsed.c: Free the memory in correct order

The 'temp' pointer has two allocated pointers inside, free them before freeing the main pointer.

4 years agocups-browsed.c: Remove unused pointer
Zdenek Dohnal [Mon, 23 Nov 2020 13:08:16 +0000 (14:08 +0100)] 
cups-browsed.c: Remove unused pointer

The 'temp' pointer looks unused, so remove it.

4 years agocups-browsed.c: Add tagzero attributes as IPP_TAG_KEYWORD
Zdenek Dohnal [Mon, 23 Nov 2020 13:01:34 +0000 (14:01 +0100)] 
cups-browsed.c: Add tagzero attributes as IPP_TAG_KEYWORD

These attributes were added previously ass IPP_CONST_TAG(IPP_TAG_KEYWORD), which causes a problem
during 'ippDelete()' - const strings are not freed during 'ippDelete', which causes memory leaks,
because we send allocated strings into 'ippAddStrings'.
I chose this solution instead of defining a new function for freeing ipp_t struct, please let me
know if it is acceptable.

4 years agoppdgenerator.c, cups-browsed.c: Fix resolution struct leaks
Zdenek Dohnal [Mon, 23 Nov 2020 12:52:42 +0000 (13:52 +0100)] 
ppdgenerator.c, cups-browsed.c: Fix resolution struct leaks

The code leaks res_t struct in several places:
- if struct is added to CUPS array, which is defined with copy_resolution() as a copy function.
  copy_resolution() uses calloc(), so the original allocated res_t can be freed. The resolution
  functions are used in cups-browsed.c, so 'free_resolution()' has to be available outside in header
  file.
- overwritting previously allocated pointer with a new one in 'on_job_state()'

4 years agolibcupsfilters: Let pdftopdf() output JCL for PDF printers to the output file descriptor
Till Kamppeter [Fri, 20 Nov 2020 23:47:55 +0000 (00:47 +0100)] 
libcupsfilters: Let pdftopdf() output JCL for PDF printers to the output file descriptor

4 years agolibcupsfilters: Support for callback function to indicate canceled job
Till Kamppeter [Fri, 20 Nov 2020 23:21:58 +0000 (00:21 +0100)] 
libcupsfilters: Support for callback function to indicate canceled job

4 years agoBuild system: Make parallel builds work
Till Kamppeter [Tue, 17 Nov 2020 22:26:47 +0000 (23:26 +0100)] 
Build system: Make parallel builds work

4 years agolibppd: Fixed test suite ppd/testppd.c
Till Kamppeter [Mon, 16 Nov 2020 22:59:16 +0000 (23:59 +0100)] 
libppd: Fixed test suite ppd/testppd.c

4 years agolibcupsfilters: Added explicit dependency on libppd.la
Till Kamppeter [Mon, 16 Nov 2020 10:31:49 +0000 (11:31 +0100)] 
libcupsfilters: Added explicit dependency on libppd.la

4 years agolibppd, libcupsfilters, bannertopdf, texttopdf: Added "ARDuplex" option support
Till Kamppeter [Sun, 15 Nov 2020 21:32:22 +0000 (22:32 +0100)] 
libppd, libcupsfilters, bannertopdf, texttopdf: Added "ARDuplex" option support

4 years agolibppd: Move PPD-option-name-converting functions into public API
Till Kamppeter [Sun, 15 Nov 2020 21:13:20 +0000 (22:13 +0100)] 
libppd: Move PPD-option-name-converting functions into public API

4 years agolibppd: Correct conversion between PPD option names and IPP attribute names
Till Kamppeter [Fri, 13 Nov 2020 22:30:37 +0000 (23:30 +0100)] 
libppd: Correct conversion between PPD option names and IPP attribute names

4 years agocups-browsed: Silenced compiler warning
Till Kamppeter [Fri, 13 Nov 2020 09:24:46 +0000 (10:24 +0100)] 
cups-browsed: Silenced compiler warning

4 years agoUpdated NEWS
Till Kamppeter [Fri, 13 Nov 2020 09:19:45 +0000 (10:19 +0100)] 
Updated NEWS

4 years agoMerge pull request #318 from tsite/master
Till Kamppeter [Fri, 13 Nov 2020 08:46:45 +0000 (09:46 +0100)] 
Merge pull request #318 from tsite/master

foomatic-rip: Fix infinite loop and input from file on raw printing

4 years agocups-filters: Fix foomatic-rip infinite loop 318/head
Pranav Batra [Fri, 13 Nov 2020 08:25:48 +0000 (08:25 +0000)] 
cups-filters: Fix foomatic-rip infinite loop

If the foomatic rip command is not present in the PPD file, the foomatic
rip filter runs cat by default to forward stdin to stdout. However,
if input is provided through a file instead of stdin, then this file
needs to be dup'd to stdin for the command to work properly.

Also, the next file needs to be selected each time an input file is
processed by calling strok_r in order to prevent an infinite loop.

TEST=foomatic-rip --ppd=ppd.ppd file.pdf

4 years agolibcupsfilters: Let imagetops/imagetopdf convert to grayscale on job's request
Till Kamppeter [Sun, 8 Nov 2020 22:46:03 +0000 (23:46 +0100)] 
libcupsfilters: Let imagetops/imagetopdf convert to grayscale on job's request