Commit Graph

36 Commits (14794e37a2f49156d7266af2a21e797ff5005cfb)

Author SHA1 Message Date
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 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 43d4812856 many: Fix more memory leaks and outright bugs. 2018-06-17 21:08:17 -04:00
Solomon Peachy 51554069b9 many: Fix up memory leaks introduced in last commits. 2018-06-17 19:17:28 -04:00
Solomon Peachy fd9b38202e common: better split between parsing and printing.
parsing returns a self-contained job, which is then passed to printing
code.  No global state is modified.

mitsu 70x:
  Still need to move the image processing code to the print side.
2018-06-17 12:14:46 -04:00
Solomon Peachy e3e893e3b1 selphy: Add TEST_MDODE_NOATTACH support. 2018-05-12 21:40:29 -04:00
Solomon Peachy 390c5e2bf6 all: push printer type lookup into common code. 2018-05-09 23:09:01 -04:00
Solomon Peachy f6445cfb4d all: Don't query the marker state at attach time
As the backend->query_marker() call will do this.
2018-04-29 14:15:54 -04:00
Solomon Peachy 5669fb3552 all: add new marker query support to backends and rejigger as needed. 2018-04-29 11:03:46 -04:00
Solomon Peachy 06dbf0fa91 common: Change backend->attach API to allow status returns 2018-04-28 19:22:05 -04:00
Solomon Peachy fa2a54d29e misc: Fix a handful of bugs identified by clang-analyze 2018-04-27 10:17:16 -04:00
Solomon Peachy c3d9a9b151 misc: Fix up a pile of cppcheck warnings.
* memory leaks in error paths
 * not checking return values in a couple of places
 * logic errors in s1245
2018-04-26 14:45:32 -04:00
Solomon Peachy ddc4428cfa canonselphyneo: Fix error in printernames. 2018-04-05 20:13:45 -04:00
Solomon Peachy e99821f976 misc: Update the backend names. 2018-03-26 22:27:27 -04:00
Solomon Peachy 7939d501d7 all: Move all backend names into aliases tables.
Update all printer entries to have unique names.  As long as the USB
VID/PID is unique, each "backend" appears unique!
2018-03-16 15:35:00 -04:00
Solomon Peachy ad3409b600 It's 2018, update appropriately. 2018-02-22 06:02:49 -05:00
Solomon Peachy c824c549fb all: use BACKEND_CUPS_RETRY_CURRENT for memory allocation failures. 2018-02-16 10:49:21 -05:00
Solomon Peachy 82a7f58930 selphyneo: Add USB PID for SELPHY CP1300 2018-01-27 18:16:36 -05:00
Solomon Peachy 6f704c3b94 canonselphy/selphyneo: Add support for querying printer status.
It's full-featured on the selphyneo, but on the older ones it's dumber.
2018-01-04 10:00:57 -05:00
Solomon Peachy 96e4ef4ed5 multiple: Fast return should not be used when backend generates copies 2017-12-07 14:09:26 -05:00
Solomon Peachy 5b40d2e216 All: Add 'SPDX-License-Identifier' headers to all source files.
(GPL-3.0+ for everything but the S6145 backend, which is GPL-3.0+
   with an additional permission)
2017-11-17 13:34:26 -05:00
Solomon Peachy 1ee73921d0 selphyneo: Add the error codes for Paper Jam and Wrong Paper 2017-11-12 19:45:14 -05:00
Solomon Peachy 56cd04bd2a all: Clean up the manufacturer override field in the devices. 2017-11-08 19:19:00 -05:00
Solomon Peachy 5ff4e44226 canonselphyneo: Add placeholder for the new SELPHY CP1300 model.
Just need the PID.  :)
2017-09-01 10:56:26 -04:00
Solomon Peachy 487ccc9f71 Fix up bad whitespacing. 2017-07-10 20:15:56 -04:00
Solomon Peachy 11829f2f45 Merge a pile spelling fixes from Ville Skyttä <scop@sf> 2017-05-05 08:11:04 -04:00
Solomon Peachy eb4d50b8c3 canonselphyneo: Detect ribbon empty condition. 2017-04-20 21:43:22 -04:00
Solomon Peachy 577be641d4 canonselphyneo: Figured out how to send CMY data over! 2017-04-20 21:33:41 -04:00
Solomon Peachy 3b4ecb818a selphyneo: There appears to be a different header used by net printing.
Document what I know so far.  We'll need to see.
2017-04-12 20:37:55 -04:00
Solomon Peachy e76de18fc7 selphyneo: Add in the USB ID for the SELPHY CP820 2017-03-26 23:15:35 -04:00
Solomon Peachy 75c5afb16d Add USB OID for Canon Selphy CP1000
Patch from Jonathan McDowell
2016-12-28 11:38:02 -05:00
Solomon Peachy 50f0eb3a55 selphyneo: Add in media type detection, and marker support. 2016-12-10 22:43:20 -05:00
Solomon Peachy 790bf06f9c canonselphy/selphyneo: Support sending over a reset. 2016-12-09 21:24:19 -05:00
Solomon Peachy ce5b8e8fd3 selphyneo: Decode the length properly. 2016-12-09 11:02:44 -05:00
Solomon Peachy ce1f047983 selphyneo: Bump revision 2016-12-02 23:50:03 -05:00
Solomon Peachy 2ae41d59ff canonselphyneo: Add a new backend for the CP820/910/1000/1200 printers. 2016-12-02 23:49:22 -05:00