Skip to content

Commit 1150b02

Browse files
committed
Add a new mimeGetFilterTypes function for getting the list of supported document
formats for a printer. The new algorithm is O(n log n) vs. the old O(n^4) (Issue #1392)
1 parent 34868bc commit 1150b02

9 files changed

Lines changed: 556 additions & 383 deletions

File tree

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ Changes in CUPS v2.5b1 (YYYY-MM-DD)
8686
potential security issues (Issue #1258)
8787
- Updated the ready media support to report the default paper size/source/type
8888
from the PPD file (Issue #1388)
89+
- Updated the scheduler with a more efficient algorithm for determining the
90+
supported document formats for a printer (Issue #1392)
8991
- Deprecated the "page-border" Job Template attribute (Issue #1020)
9092
- Removed the `cups-config` utility (use `pkg-config` instead)
9193
- Fixed use-after-free in `cupsdAcceptClient()` when we log warning during error

scheduler/Dependencies

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -749,15 +749,16 @@ sysman.o: sysman.c cupsd.h ../cups/cups-private.h \
749749
network.h subscriptions.h
750750
filter.o: filter.c ../cups/cups.h ../cups/file.h ../cups/base.h \
751751
../cups/ipp.h ../cups/http.h ../cups/array.h ../cups/language.h \
752-
../cups/pwg.h ../cups/string-private.h ../config.h mime.h \
753-
../cups/thread.h
752+
../cups/pwg.h ../cups/string-private.h ../config.h mime-private.h \
753+
mime.h ../cups/thread.h
754754
mime.o: mime.c ../cups/cups.h ../cups/file.h ../cups/base.h ../cups/ipp.h \
755755
../cups/http.h ../cups/array.h ../cups/language.h ../cups/pwg.h \
756756
../cups/string-private.h ../config.h ../cups/dir.h mime-private.h \
757757
mime.h ../cups/thread.h
758758
type.o: type.c ../cups/cups.h ../cups/file.h ../cups/base.h ../cups/ipp.h \
759759
../cups/http.h ../cups/array.h ../cups/language.h ../cups/pwg.h \
760-
../cups/string-private.h ../config.h mime.h ../cups/thread.h
760+
../cups/string-private.h ../config.h mime-private.h mime.h \
761+
../cups/thread.h
761762
cupsfilter.o: cupsfilter.c ../cups/cups-private.h \
762763
../cups/string-private.h ../config.h ../cups/base.h \
763764
../cups/debug-internal.h ../cups/debug-private.h ../cups/ipp-private.h \
@@ -845,8 +846,8 @@ testmime.o: testmime.c ../cups/test-internal.h ../cups/string-private.h \
845846
../config.h ../cups/base.h ../cups/dir.h ../cups/debug-private.h \
846847
../cups/ppd-private.h ../cups/cups.h ../cups/file.h ../cups/ipp.h \
847848
../cups/http.h ../cups/array.h ../cups/language.h ../cups/pwg.h \
848-
../cups/ppd.h ../cups/raster.h ../cups/pwg-private.h mime.h \
849-
../cups/thread.h
849+
../cups/ppd.h ../cups/raster.h ../cups/pwg-private.h mime-private.h \
850+
mime.h ../cups/thread.h
850851
testspeed.o: testspeed.c ../cups/string-private.h ../config.h \
851852
../cups/base.h ../cups/cups.h ../cups/file.h ../cups/ipp.h \
852853
../cups/http.h ../cups/array.h ../cups/language.h ../cups/pwg.h \

0 commit comments

Comments
 (0)