Commit graph

54 commits

Author SHA1 Message Date
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 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 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 5f34b1070f misc: Fix missing newlines in multiple error messages. 2019-10-03 20:30:35 -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 5c2f56cc31 Missed some files modified in 2019. 2019-06-03 19:40:45 -04:00
Solomon Peachy eb4fc21990 misc: Fix a small pile of leaks and unintialized issues. 2019-05-26 13:05:41 -04:00
Solomon Peachy 473f86b0d5 common: Use generic teardown code unless necessary. 2019-05-22 20:42:12 -04:00
Solomon Peachy 701e6a45a2 misc: Fix up a small pile of bugs found via static analysis. 2019-05-07 11:02:30 -04:00
Solomon Peachy 641f08a901 magicard: Prevent buffer overflow from malformed buffer headers. 2018-09-26 09:37:36 -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 3589a09ed3 magicard: Use static CMDs where possible.
Silences some compiler warnings.
2018-08-22 10:00: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 390c5e2bf6 all: push printer type lookup into common code. 2018-05-09 23:09:01 -04:00
Solomon Peachy b4e1c769bb all: Add in "Unknown" marker reporting for the rest. 2018-04-29 14:07:08 -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 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 ac9e87026b magicard: fix copyright year. 2018-04-23 21:45:38 -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 44162d76b6 magicard: Add a couple of USB PIDs and self test, eject, and reset commands 2018-03-10 08:00:47 -05: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 faa672e9c2 magicard: Implement gamma correction.
The output looks pretty decent now!
2018-01-03 21:00:57 -05:00
Solomon Peachy 7d9e366d2d magicard: Document laminator-related commands
Also added a couple of questions that need answering.
2018-01-02 13:49:19 -05:00
Solomon Peachy 764d176f41 magicard: Document all known firmware commands.
Turns out the gamma parameter isn't used by the printer.
2018-01-01 19:57:21 -05:00
Solomon Peachy be627a4705 magicard: Figured out existance of several more REQ STAs
Still don't have all the information needed to report remaining prints
or query error status without a lot of parsing.
2017-12-31 18:05:10 -05:00
Solomon Peachy 6ed0207068 magicard: Fix the length computed when using composite black. 2017-11-27 21:27:52 -05:00
Solomon Peachy ff9f34572e Trailing whitespace fixes. 2017-11-25 10:45:51 -05:00
Solomon Peachy e42e8730b7 magicard: Add sensor query support.. 2017-11-23 14:26:52 -05:00
Solomon Peachy 49efdb1853 magicard: It works! 2017-11-23 07:13:03 -05:00
Solomon Peachy 0f48bb17dc magicard: different theory of color plane generation. 2017-11-23 05:56:16 -05:00
Solomon Peachy 36b60e13f1 magicard: Bugfixes.
Windows testjobs dump over okay
  Gutenprint WIP jobs dump over okay but don't print properly
    * color data is all wrong
    * Black/Resin extraction works

It's possible my guess on the color data format is all wrong.
2017-11-20 11:55:14 -05:00
Solomon Peachy 95f543f535 magicard: More improvements. 2017-11-19 20:33:12 -05:00
Solomon Peachy b1f47e64ec magicard: Fix up a pile of parsing errors. Doesn't work still. 2017-11-19 15:37:44 -05:00
Solomon Peachy 648c23ccce magicard: Fix up the image format tag and handle jobs with K planes.
Still doesn't convert 8bpp K-only jobs.  Work in progress.
2017-11-18 14:43:42 -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 795da6c451 magicard: Intercept/replace the TDT tag, and add more sanity checking. 2017-11-17 07:30:01 -05:00
Solomon Peachy 30cdde840c magicard: Implement job parsing/loading/mangling.
Completely untested.
2017-11-17 07:29:59 -05:00
Solomon Peachy ab84d581b0 magicard: Implement the image data packing and K extraction.
Nothing ties into it yet.  Still need to parse the incoming job.
2017-11-15 07:47:44 -05:00