Solomon Peachy
ab81c3e7fc
docs: Update URL to current repository and bug tracker
2024-05-29 20:34:43 -04:00
Solomon Peachy
6c0efde77c
all: Pull the static device table out of the backend structure definition
...
...Now it's a separate structure referenced through a const pointer.
Personally I find this a bit uglier but I'm sick of the voliminous noise
that static analyzers generated from the way it was.
2024-04-05 07:50:54 -04:00
Solomon Peachy
340d8f690f
minor doc updates
2024-01-05 20:47:08 -05:00
Solomon Peachy
b5c7b5e53e
all: Move to using 'struct dyesub_job_common' in all backends
...
Should have done this a while ago. Now I can finally modify the
common job structure in just one place
2021-09-30 14:52:11 -04:00
Solomon Peachy
a396200bce
all: make "fast_return" only affect the final print in a job.
...
That way we can take advantage of printer pipelining within a job
even when fast_return is turned off.
This refactoring was also necessary for further changes in how
fast_return will work.
2021-09-30 13:55:27 -04:00
Solomon Peachy
f7970ea003
kodak1400: Add error message parsing. Purely informative.
2021-07-06 19:37:42 -04:00
Solomon Peachy
fa7ea3844a
kodak1400: Add in some observed status/error codes.
...
Not really worth making the backend report them cleanly.
2021-06-30 15:45:48 -04:00
Solomon Peachy
e3ab11a975
misc: Get rid of all USB_VID_*/USB_PID_* definitions
...
Directly reference the IDs in the lookup tables, like in linux-kernel
2021-04-16 21:12:54 -04:00
Solomon Peachy
bcf8d97f72
kodak1400: Fix up a memory leak.
2021-02-23 07:39:47 -05:00
Solomon Peachy
8a4fd56c13
Update shaftnet.org URLS from http -> https
...
Update copyright year as appropriate
2021-01-23 10:47:01 -05:00
Solomon Peachy
cfe0fd8004
common: the 'dyesub_backend' structure is now const everywhere.
2020-10-05 22:27:08 -04:00
Solomon Peachy
322ad8d7b7
common: Introduce a common USB connection object, and use it!
2020-08-12 20:04:54 -04:00
Solomon Peachy
27181eda63
common: un-hardcode 'stderr' as the logging stream
...
It's now a global variable that's initialized to stderr
(This is prep work for eventual support of printing applications)
2020-08-11 12:48:38 -04:00
Solomon Peachy
6f01f362eb
misc: Bump copyright dates on files modified in 2020
2020-06-30 23:42:54 -04:00
Solomon Peachy
f79500986f
misc: Shut up a large pile of compile warnings with pedantic compilers
2020-03-24 18:23:00 -04:00
Solomon Peachy
697486b467
All: Leave the "prefix" list for family or backwards-compatible names only.
...
...use the name in the DEVICE entry for backend matches!
2020-01-30 22:08:55 -05:00
Solomon Peachy
d0d6ef32b4
misc: Clean up endian macros, eliminate use of ntohs and friends.
2020-01-25 07:33:52 -05:00
Solomon Peachy
626a49f05d
Misc: Update address for FSF.
...
Also fix the copyright year for a few files.
2020-01-17 16:50:56 -05:00
Solomon Peachy
1d331f940d
misc: use CUPS_BACKEND_OK instead of 0 as a return value.
2019-12-12 07:15:25 -05:00
Solomon Peachy
13d62550f3
common: Add proper definitions for special CUPS marker levels.
...
And report STATE(media-empty) globally based on this.
2019-12-11 23:20:04 -05:00
Solomon Peachy
1fe3a6066b
all: Pass the USB bInterfaceNum into the backend attach() function.
2019-11-02 09:12:30 -04:00
Solomon Peachy
c1b15c1fbb
all: Clean up unnecessary #include
2019-09-28 11:05:42 -04:00
Solomon Peachy
9b3ae0ed5b
all: Report up the low-level media ID as a PPD attribute.
...
(Needs changes to Gutenprint in order to be useful...)
2019-09-28 10:54:10 -04:00
Solomon Peachy
473f86b0d5
common: Use generic teardown code unless necessary.
2019-05-22 20:42:12 -04:00
Solomon Peachy
63384d9657
shinko: MEDIA_TYPE_* definitions are common, and unify EK68x0 + S1245 errors
2019-05-12 13:20:04 -04:00
Solomon Peachy
188b59ce37
misc: Update copyright year on files modified in 2019.
2019-02-17 21:54:38 -05:00
Solomon Peachy
295a921747
common: rename dyesub_read_data() to dyesub_read_file()
2019-01-13 20:09:04 -05:00
Solomon Peachy
54b253d655
common: Add a global function to read the contents of a file.
...
Most backends now utilize it. The stragglers do something special.
2019-01-13 15:44:29 -05: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
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
390c5e2bf6
all: push printer type lookup into common code.
2018-05-09 23:09:01 -04:00
Solomon Peachy
bd202f21fc
kodak1400: Shut up a compile warning.
2018-05-01 14:46:51 -04:00
Solomon Peachy
b4e1c769bb
all: Add in "Unknown" marker reporting for the rest.
2018-04-29 14:07:08 -04:00
Solomon Peachy
06dbf0fa91
common: Change backend->attach API to allow status returns
2018-04-28 19:22:05 -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
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
56cd04bd2a
all: Clean up the manufacturer override field in the devices.
2017-11-08 19:19:00 -05: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
4df2bc964b
Add USB PIDs for several Mitsubishi models:
...
* CP-D80DW
* CP-9800DW
* CP-9810DW
* CP-3020D/DE
* CP-3020DA/DAE
2016-11-04 16:03:40 -04:00
Solomon Peachy
ea8e0b1f35
all: Fix up a a large pile of cppcheck warnings.
2016-08-21 10:23:00 -04:00
Solomon Peachy
8e35e5608b
all: It's 2016 now, update the copyright text.
...
Also, correct the initial dates for a few of the backends.
2016-01-24 09:44:19 -05:00
Solomon Peachy
5dda0018d2
all: Get rid of a little more getopt detritus.
2015-08-25 22:47:26 -04:00
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
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
e5a2fff2b1
kodak1400: Add another printer error we've seen.
2015-07-24 23:37:36 -04:00
Solomon Peachy
992e551a02
all: Fix command like parsing when the argument has an option.
...
This was a longstanding bug. Oops.
2015-06-30 21:33:02 -04:00