Commit Graph

113 Commits

Author SHA1 Message Date
Solomon Peachy b343d56f1e all: Get rid of the remainder of the old two-stage cmdline parsing
All backend->cmdline_arg() invocations are done with intent to execute!
2015-08-24 18:49:51 -04:00
Solomon Peachy cc87cd1cc3 all: Add some print quantity range checks where we can.
Most backends don't verify against remaining media though.
2015-08-20 23:22:35 -04:00
Solomon Peachy 175f6a52d8 all: For printers that automatically generate copies, get rid of
leftover manual copy handling code.

The exception is the dnp backend, it needs do use manual copies under
some situations.
2015-08-20 23:13:52 -04:00
Solomon Peachy db0c7d8b99 all: Eliminate the multi-stage cmdline parsing.
Unfortunately this means we lose the '-B backend' method, but the
overall control flow is much, much simpler now.
2015-08-13 21:09:56 -04:00
Solomon Peachy de8a32424c all: Unified approach to extra_vid/pid/type
This required a modification to all attach() methods.

Also, fix canonselphy's parsing/attachment code.
2015-08-12 22:56:29 -04:00
Solomon Peachy 20f6d05b8a common: Rework the early cmdline argument parsing code to improve robustness
Also move fast_return out of individual backends and into common code.
2015-08-12 21:02:11 -04:00
Solomon Peachy 114202d7f5 shinko6145: Add a preliminary backend. Does NOT include library work. 2015-07-26 23:05:21 -04:00
Solomon Peachy 65d1c5461d s6245/s1245: Fix a pile of warnings found by clang-analyzer 2015-07-04 11:01:10 -04:00
Solomon Peachy 5fa84dc2b7 s6245: Add ability to set standby time. 2015-07-04 10:01:23 -04:00
Solomon Peachy 5ce4b691e3 s1245/6245: Fix some buffer overflows. 2015-07-04 09:38:59 -04:00
Solomon Peachy 3f36efa57e s6245: Set the printer's RTC at each print. 2015-07-02 23:55:52 -04:00
Solomon Peachy 49f6d85c45 s6245/s2145: Don't abort in the face of some soft errors. 2015-07-02 23:55:22 -04:00
Solomon Peachy 9b3f7cbb66 s6245: Add a preliminary backend for the Shinko S6245 2015-07-02 23:32:16 -04:00