Commit graph

1438 commits

Author SHA1 Message Date
Solomon Peachy a06e21c6f6 regression: make valgrind optional. 2018-09-29 20:51:30 -04:00
Solomon Peachy c8c1b79125 sonyupr: Fix memory overflow and a parsing error 2018-09-29 20:50:37 -04:00
Solomon Peachy e35728fff9 add test image for regression test 2018-09-29 16:48:51 -04:00
Solomon Peachy 8c0fdcb47c regression: add all dnp models except for ds80dx
ds80dx and magicard are the only ones left!
2018-09-28 22:30:55 -04:00
Solomon Peachy 60cc44a322 dnp: fix cw-01 job handling. 2018-09-28 21:29:56 -04:00
Solomon Peachy eb5e63c7d7 regression: Move to PDF flow, and generate multi-page jobs. 2018-09-28 20:26:50 -04:00
Solomon Peachy 4a7a17fabf canonselphy: Slightly better error logging. 2018-09-28 20:14:34 -04:00
Solomon Peachy e82f7cee7f mitsu70x: fix definitions for ask300 and mitsu d707 2018-09-28 16:17:31 -04:00
Solomon Peachy a2589389e2 build: use -Wformat-security 2018-09-28 11:06:59 -04:00
Solomon Peachy a971dc5c62 common: fix a compile warning 2018-09-28 11:02:38 -04:00
Solomon Peachy b0af7eb1bf regression: ek305, mitsu d80/k60/d90
still have magicard, dnp, and mitsu70/707 + ask300
2018-09-27 22:31:51 -04:00
Solomon Peachy aebcdd47f6 mitsu98xx: Fix problem with printing matte on 9810/9820 2018-09-26 21:55:29 -04:00
Solomon Peachy 9c4a18ede2 regression: Use the gp name for the backend stuff, and fix bugs. 2018-09-26 20:46:12 -04:00
Solomon Peachy 3a3df972fa regression: mitu p93 & p95.
And Iterate across multiple copies
2018-09-26 14:43:57 -04:00
Solomon Peachy ec34dacfad regression: support passing stuff through gutenprint 2018-09-26 09:37:36 -04:00
Solomon Peachy 641f08a901 magicard: Prevent buffer overflow from malformed buffer headers. 2018-09-26 09:37:36 -04:00
Solomon Peachy efc76299af sony: fix definition of up-cr10l 2018-09-25 14:36:05 -04:00
Solomon Peachy 9672f9eb58 dnpds40: nuke old code. 2018-09-25 13:30:49 -04:00
Solomon Peachy 012fb1fe54 common: fix a potential overflow in USB fallback code. 2018-09-25 13:30:49 -04:00
Solomon Peachy 2e70eca4e1 all: Revamp "backend names" to align with gutenprint model names.
Should have done this to begin with, whoops.

(All old names are retained for backwards compatibility)
2018-09-22 09:11:14 -04:00
Solomon Peachy e8d4b2be99 regression: Fix a bug in the script. 2018-09-22 08:19:56 -04:00
Solomon Peachy 1854a2eb3c shinko: Add support for media forcing to all shinko models. 2018-09-21 18:20:40 -04:00
Solomon Peachy 3d847ab7f7 canonselphy/neo: Pass media code into backend for tests.
Note that neither backend validates the media type until printing
starts.  Should change this..
2018-09-21 15:59:22 -04:00
Solomon Peachy 970309daaf kodak68x0/605: Support passing media type into test mode. 2018-09-21 15:59:22 -04:00
Solomon Peachy 0376d16586 mitsu9xxx: Support passing media type to test code. 2018-09-21 15:59:20 -04:00
Solomon Peachy 4f510078ca mitsu70x: Support passing media code into test mode. 2018-09-21 15:17:48 -04:00
Solomon Peachy af0c615180 dnpds40: Support passing media code into test mode. 2018-09-21 15:17:30 -04:00
Solomon Peachy 72f591e749 regression: Support executing subsets of the regression list. 2018-09-21 15:16:52 -04:00
Solomon Peachy f302586243 shinkos6245: Add test job 2018-09-21 10:57:46 -04:00
Solomon Peachy b90d32b500 regression: Enhance regression capabilities:
* Reorder list a bit
 * Nuke comment field
 * Add field for media code to be passed into backend
 * Fix some definition errors.
2018-09-21 10:41:37 -04:00
Solomon Peachy b36d0c1e11 Fix ds80dx in the regression run. 2018-09-20 20:32:43 -04:00
Solomon Peachy 3b4338988f misc: Fix some minor issues reported by scan-analyze
(All remaining issues are false positives, from what I can tell)
2018-09-20 08:42:30 -04:00
Solomon Peachy ccdfcf5b07 mitsu70x: Figured out how to detect the D707's dual deck. 2018-09-19 14:40:06 -04:00
Solomon Peachy 706ff71502 mitsu70x: Do a proper BCD-to-int conversion on the unknown field
That way we won't get caught by integer overflow, making dual deck
detection more reliable.
2018-09-19 10:32:05 -04:00
Solomon Peachy 67f67d9b29 mitsu70x: Try a smarter test for the presence of the upper D70x deck. 2018-09-18 19:57:18 -04:00
Solomon Peachy c0e02d0a7c mitsu70x: Fix upper deck status reporting on D707 2018-09-18 13:49:40 -04:00
Solomon Peachy 23346080ee mitsu70x: Fix inverted test in deck selection.
And if both decks are okay to use, pick one at random.
2018-09-18 11:16:35 -04:00
Solomon Peachy 652942281c mitsu70x: Greatly enhance support for the dual-deck CP-D707DW
* Intelligent deck selection based on loaded media
 * Load-balancing between decks when printing multiple copies
 * Sane error detection and handling.
2018-09-18 10:41:24 -04:00
Solomon Peachy fd5a488924 mitsu70x: Move firmware sanity tests into attachment code. 2018-09-18 09:50:43 -04:00
Solomon Peachy 037ba7236e mitsud90: Fix error in info query. 2018-09-17 21:32:15 -04:00
Solomon Peachy 710a3f4f60 DNP: Print start can be delayed, so don't fast return until the
printer has at least acknowledged the job start.
2018-09-17 18:40:03 -04:00
Solomon Peachy ed6e734ac3 Fix a typo that accidently got committed. 2018-08-28 11:03:44 -04:00
Solomon Peachy 4b13d56d9d mitsu70x: Better support for the CP-D707DW
We can now determine job status of upper vs lower deck.

Need better smarts for determinig if we can print.

(Testing provided by a contributor who wishes to remain anonymous!)
2018-08-27 12:16:43 -04:00
Solomon Peachy 3589a09ed3 magicard: Use static CMDs where possible.
Silences some compiler warnings.
2018-08-22 10:00:22 -04:00
Solomon Peachy 960d89ff69 Documentation update relating to the URI scheme and backend naming 2018-08-22 07:05:10 -04:00
Solomon Peachy f000825ad4 common: Use old URI scheme for Gutenprint 5.2
That way there will be no surprises should they downgrade.
2018-08-21 10:43:08 -04:00
Solomon Peachy 2a7082873c common: Switch to a new URI scheme:
old:  prefix://iManufacturer/iModel?backend=XXX&serial=YYYY
 new:  prefix://backend/serial

"prefix" is currently gutenprint53+usb
"backend" is actually a per-model designation.
"serial" is obtained from printer or 'NONE_UNKNOWN' otherwise.

Parsing old URI scheme will remain supported indefinitely, and backend
will continue to emit old URI scheme if 'OLD_URI=1' is set in the
envirionment.
2018-08-14 16:55:48 -04:00
Solomon Peachy 96dfb31db9 sony: Add preliminary support for the UP-D895 and UP-D897 medsci models. 2018-08-13 18:14:49 -04:00
Solomon Peachy c17ba3f340 dnp: Correct USB PID for the DS80DX. 2018-08-07 18:00:20 -04:00
Solomon Peachy 1e98898830 regression: Fix typo in filenames 2018-07-28 12:19:30 -04:00