Commit graph

218 commits

Author SHA1 Message Date
Anton Thomasson
d6ef26b64e Delete tmpfile on all failures 2021-02-24 21:50:28 +01:00
Anton Thomasson
86b580c15f Don't add resolution to IPP attrs if not set when adjusting for URF 2021-02-18 20:08:40 +01:00
Anton Thomasson
e5b105a3c6 Actually fix total number of pages with ranges 2021-02-18 20:07:40 +01:00
Anton Thomasson
86501b45d9 Fix total number of pages with ranges
Relevant for progress reporting and URF file headers
2021-02-17 22:15:04 +01:00
Anton Thomasson
276b9d2759 Fix Postscript printing 2021-02-13 21:59:46 +01:00
Anton Thomasson
3564b083e8 Attempt to fix threading mess in ImageProvider 2021-02-13 17:13:11 +01:00
Anton Thomasson
187fd4226e Allow adding fake printers from file 2021-02-13 14:59:38 +01:00
Anton Thomasson
1ef3d590fc Make imageprovider ascynchronous 2021-02-13 14:58:08 +01:00
Anton Thomasson
3d08d137e2 Add SailJail permissions 2021-02-06 13:44:50 +01:00
Anton Thomasson
027620277a Workaround: set Accept-Encoding to identity 2020-12-13 20:06:14 +01:00
Anton Thomasson
01b2828838 Deduplicate request creation 2020-12-09 19:59:58 +01:00
Anton Thomasson
7913a6c306 Improve grayscale handling 2020-11-30 20:46:26 +01:00
Anton Thomasson
657cd37269 Remove timeouts 2020-11-30 20:28:33 +01:00
Anton Thomasson
3f50416972 Simplify image->raster conversion 2020-11-24 18:15:31 +01:00
Anton Thomasson
2131cd4c5f Fix sides and color-mode settings 2020-10-17 12:08:51 +02:00
Anton Thomasson
03653e13e6 Invalidate printer attrs later
(either when new ones are avaialble, or the request failed)
2020-10-11 16:27:46 +02:00
Anton Thomasson
ded0d4a2cb Display warning icon
...and account for that there can be multiple reasons
2020-10-10 17:55:40 +02:00
Anton Thomasson
1d1c71f596 First draft of details page 2020-09-29 21:47:37 +02:00
Anton Thomasson
a5f5e41493 Remove redundant setting 2020-09-23 20:23:49 +02:00
Anton Thomasson
f6d6b51b9f Allow the page range setting in more cases
=if the attribute is supported or pdf processing tools are installed
2020-09-23 20:14:33 +02:00
Anton Thomasson
3e53e6ffcd Use IppTag in more places 2020-09-15 20:01:18 +02:00
Anton Thomasson
cb0c0e0e3d Rework image conversion logic
...and allow more image formats
2020-09-10 20:01:21 +02:00
Anton Thomasson
058d4c31ed Remove some warnings 2020-08-29 17:32:28 +02:00
Anton Thomasson
fa34843c3e Update ppm2pwg/Bytestream
...to get the size constructor back.
2020-08-29 17:26:26 +02:00
Anton Thomasson
7564408fb2 Center images in X when converting to raster 2020-08-22 17:37:22 +02:00
Anton Thomasson
12457bf54b Update ppm2pwg/bytestream 2020-08-22 17:37:04 +02:00
Anton Thomasson
e300a00ee5 Get username from env
...in reparation of SFOS 3.4
2020-08-02 11:44:38 +02:00
Anton Thomasson
e1d34a4d1d Add page range support 2020-08-01 20:18:47 +02:00
Anton Thomasson
eb58606250 Update ppm2pwg and enable auto-portrait 2020-08-01 17:03:17 +02:00
Anton Thomasson
1abbdfb768 Add progress to pdf conversions 2020-07-30 22:21:14 +02:00
Anton Thomasson
406c92c9a4 Adjust conversion timeout according to number of pages
...super conservative for now.
2020-07-30 21:41:58 +02:00
Anton Thomasson
8106e47c6d Remove sRGB option 2020-06-21 18:03:46 +02:00
Anton Thomasson
5df296e7bc Disable jpeg->jpeg conversion 2020-06-21 16:16:43 +02:00
Anton Thomasson
227fd7221a Add option to always use media-col 2020-06-21 15:49:50 +02:00
Anton Thomasson
76e05f45c5 Move media selection to parametric if zero margins 2020-06-16 20:34:27 +02:00
Anton Thomasson
46746aeebc Improve set decode logic 2020-06-16 20:07:19 +02:00
Anton Thomasson
c58ed1e67d Add support for encoding collections 2020-06-13 20:12:29 +02:00
Anton Thomasson
ac2b76a0f0 Encode ipp attrs into a Bytestream-ref 2020-06-13 18:10:58 +02:00
Anton Thomasson
011c897e76 Put op-attrs in order, fixed understanding of document-format 2020-06-13 18:00:47 +02:00
Anton Thomasson
a73b0b734a Improve additional format detection 2020-06-13 13:05:33 +02:00
Anton Thomasson
16f1edd818 Set IppMsg version to 2.0 if printer supports it 2020-06-13 12:35:51 +02:00
Anton Thomasson
035e310069 Add collection decoding 2020-06-13 11:29:24 +02:00
Anton Thomasson
761f0a3869 Rework list/1-setOf handling 2020-06-12 18:56:06 +02:00
Anton Thomasson
ca2b9086d8 Fix relaying of op-attrs to error reporting 2020-06-12 17:02:24 +02:00
Anton Thomasson
0fe2ff2eed Fix URF resolution logic 2020-06-10 19:30:22 +02:00
Anton Thomasson
4f9ee8cb3c Simplify image conversion 2020-06-08 18:24:40 +02:00
Anton Thomasson
f42dbf4484 Use SRGB setting in ppm2pwg
image->sRGB
PDF->RGB
2020-06-07 17:38:40 +02:00
Anton Thomasson
3bf59f0141 Remove duplex from IPP attributes if PS 2020-06-07 15:27:27 +02:00
Anton Thomasson
231e7df644 Expose IPP type enums to QML 2020-06-06 17:20:30 +02:00
Anton Thomasson
bfd496138d Add pdf->postscript conversions 2020-06-06 15:47:43 +02:00
Anton Thomasson
5419ec2c30 Include print-color-mode in attributes to be removed
...when printing via raster format
2020-06-06 15:16:46 +02:00
Anton Thomasson
76abb7cea5 Add option to remove sides IPP attribute for raster formats
...because apparently my printer doesn't like it,
even if it agrees with the raster file
2020-06-06 14:59:44 +02:00
Anton Thomasson
213ab589a3 Clean up connections 2020-06-06 11:27:08 +02:00
Anton Thomasson
dd6bca12fc Improve what is a color/mono choice 2020-06-05 21:46:17 +02:00
Anton Thomasson
ce67e42720 Add forceIncluDeDocumentFormat option
...because my printer is stupid
2020-06-05 21:12:19 +02:00
Anton Thomasson
b7b587d099 Make alwaysConvert do something again 2020-06-05 21:01:59 +02:00
Anton Thomasson
5814a8c6a2 Add format heuristics for when using octet-string 2020-06-05 20:41:45 +02:00
Anton Thomasson
8571b7fb5c Make additional formats a printer property
...and add them to format choices
...and consider them properly supported, for now
2020-06-05 20:05:48 +02:00
Anton Thomasson
65c3ad186d Fix om_large-photo_200x300 size 2020-06-05 18:55:40 +02:00
Anton Thomasson
09fbb96a7e Rework/expose format conversions 2020-06-04 21:31:46 +02:00
Anton Thomasson
28bb06d18e Don't crash on decoding unsupported-attributes 2020-06-03 20:42:46 +02:00
Anton Thomasson
1b1079b679 Add transfer progress 2020-06-03 20:42:18 +02:00
Anton Thomasson
d62f0c8a56 Pretend status-message is a job attribue 2020-06-01 22:05:43 +02:00
Anton Thomasson
2c1c6e4dc5 Move URF resolution fix to IppPrinter
...so it can be sent in the attributes
2020-06-01 21:56:47 +02:00
Anton Thomasson
a42dbbc682 Make it possible to build in release mode 2020-06-01 21:12:29 +02:00
Anton Thomasson
8e4d31be73 IppPrinter: Add check for poorly advertised PDF support 2020-06-01 20:47:27 +02:00
Anton Thomasson
cd852a6e9f Silence some string concatenation wanings 2020-06-01 20:21:09 +02:00
Ville Nummela
f717529883 IppMsg: Don't encode job attributes if there are none 2020-05-19 17:06:56 +03:00
Anton Thomasson
4e03601b5c Actually fix paper sizes 2020-05-17 12:18:27 +02:00
Anton Thomasson
ed217f8769 Fix paper sizes 2020-05-17 12:09:41 +02:00
Anton Thomasson
33ff859757 Make forced raster conversions a dconf setting 2020-05-16 16:03:42 +02:00
Anton Thomasson
bd710831eb Add paper sizes 2020-05-16 15:17:42 +02:00
Anton Thomasson
04c46612c9 Enable transparent sending of PDFs
(was just disabled for experimenting with conversions)
2020-05-14 21:05:23 +02:00
Anton Thomasson
8c22740651 Enable translation of error messages from C++ 2020-05-14 21:00:37 +02:00
Anton Thomasson
ef9b222c35 vertically center images 2020-05-13 20:18:20 +02:00
Anton Thomasson
f7aba42af2 Add image-to-raster conversions 2020-05-13 19:53:44 +02:00
Anton Thomasson
16e6d8d766 Add ConvertChecker 2020-05-11 20:44:53 +02:00
Anton Thomasson
aa6daa1d77 Connect print job settings to ppm2pwg env 2020-05-09 20:39:50 +02:00
Anton Thomasson
c1570bcb1b Add a status page for convert/transfer 2020-05-06 20:46:41 +02:00
Anton Thomasson
a586dcca1a Get dpi for pdf conversion from settings or defaults 2020-05-05 20:36:01 +02:00
Anton Thomasson
4519f0a13e move ppm2pwg to inside seaprint 2020-05-05 20:09:09 +02:00
Anton Thomasson
cd31098279 Add basic conversion heuristics 2020-05-03 14:13:44 +02:00
Anton Thomasson
69fa9e52fb Change to poppler for pdf conversion 2020-05-02 18:14:33 +02:00
Anton Thomasson
b705cc28ea add ppm2pwg as a submodule 2020-05-02 18:14:12 +02:00
Anton Thomasson
002af8c5f8 Clean up random files added by QtCreator 2020-05-01 17:36:07 +02:00
Anton Thomasson
5568452a79 Move conversion to a proper worker thread 2020-05-01 15:02:29 +02:00
Anton Thomasson
35cadccd1b Sorta, kinda works 2020-05-01 13:49:17 +02:00
Anton Thomasson
88230fd466 Merge branch 'master' into pipeline2 2020-05-01 12:13:50 +02:00
Anton Thomasson
0e038759cf Unbork job settings 2020-04-30 22:00:42 +02:00
Anton Thomasson
218f74d41e ippdiscovery: resolve unknown targets
If a target entry was included in an answer, but not its IP,
query about that target.
2020-04-30 18:45:43 +02:00
Anton Thomasson
5ea76a4433 WIP: make an IODevice shim 2020-04-14 19:26:45 +02:00
Anton Thomasson
e0b10c83a1 make print() a slot 2020-04-04 13:56:36 +02:00
Anton Thomasson
5c67f44d78 Notify on failing to cancel job 2020-02-23 13:11:28 +01:00
Anton Thomasson
3f3624559b Ensure UTF-8 strings 2020-02-23 10:54:35 +01:00
Anton Thomasson
544bd0945d Move mime type checking to my own class 2020-02-18 20:40:31 +01:00
Anton Thomasson
2f973f3d57 File format additions, user agent 2020-01-20 20:11:41 +01:00
Anton Thomasson
684eb9669b Make ippdiscovery a QQuickImageProvider...
...so that SSL errors can be ignored,
and .local-addresses can be resolved
2020-01-05 18:41:24 +01:00
Anton Thomasson
5d337b2d29 Try/catch the DNS decoding 2020-01-04 20:22:13 +01:00
Anton Thomasson
477aeeded0 Ignore some SSL errors 2020-01-04 11:55:22 +01:00
Anton Thomasson
1768b29a9e Refactor protocol handling in printer URIs 2020-01-03 16:36:24 +01:00
Anton Thomasson
0816f071f8 Add job status 2020-01-03 13:37:51 +01:00
Anton Thomasson
ba37531a84 Make update() a slot again 2020-01-02 21:59:55 +01:00
Anton Thomasson
1b5caf301d Make a reset interface for discovery
..WifiChecker still isn't triggering as i'd like still
2020-01-02 21:28:35 +01:00
Anton Thomasson
fb46694ab8 Re-send mdns queries for unresolved PTRs 2020-01-02 21:05:04 +01:00
Rudi Timmermans
5e29be1dc9 Make read out SeaPrint version automatic from .yaml file. 2019-12-19 22:59:56 +01:00
Anton Thomasson
7a6af2b17e Add more debug printouts to ippdiscovery 2019-12-19 20:12:19 +01:00
Anton Thomasson
8c721b398b Refresh printers on page refresh 2019-12-17 20:20:09 +01:00
Anton Thomasson
ad0f92ba1e Improve job flow 2019-12-17 20:18:57 +01:00
Anton Thomasson
f56507c7ad Fix visibility of missing/lost printers 2019-12-15 11:24:36 +01:00
Anton Thomasson
6640260b4f Add option to remove jobs 2019-12-12 20:53:46 +01:00
Anton Thomasson
776ec800cd Start adding jobs view 2019-12-12 19:51:57 +01:00
Anton Thomasson
111feb9b92 More dubug printouts 2019-12-12 19:50:51 +01:00
Anton Thomasson
3e9843cf63 Always include QtQuick 2019-12-06 21:02:50 +01:00
Anton Thomasson
09438afc72 Add status code to debug printout 2019-12-06 20:18:48 +01:00
Anton Thomasson
662babf5db Use default port for printing 2019-12-01 20:36:56 +01:00
Anton Thomasson
210e40920c Actually add old project files 2019-12-01 20:27:34 +01:00
Anton Thomasson
c5ef6a6982 Transfer from old project 2019-12-01 15:55:55 +01:00
Anton Thomasson
3e406c67db New project 2019-12-01 15:40:10 +01:00