Commit graph

147 commits

Author SHA1 Message Date
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 b6f7513d52 all: MEDIA_CODE argument is in _hex_ not decimal, so use strtol instead of atoi 2024-01-20 17:59:48 -05:00
Solomon Peachy 340d8f690f minor doc updates 2024-01-05 20:47:08 -05:00
Solomon Peachy 79cb5b8916 misc: Update copyright year on a few files.
I really need to put in a git hook to catch this crap.
2023-12-11 21:58:59 -05:00
Solomon Peachy f1c2004666 misc: misc fixes to make cppcheck & clang-analyze happier
Most of these are CONSTifying arguments, but there are some memory leaks too
2023-11-01 16:16:26 -04:00
Solomon Peachy 29c90dc0df various: Update copyright year 2021-09-30 22:02:33 -04: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 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 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 beed73bc9d ek6800/s1245: Support generic status queries. 2019-12-17 13:21:23 -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 b41803ef9e common: Pass bInterfaceNo into backend->query_serno() call
Also allow the USB iSerialNumber value to be ignored.
2019-11-06 14:18:49 -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 551666a50e misc: Documentation/comment updates and some dead code removed. 2019-10-28 20:32:09 -04:00
Solomon Peachy b3867f7af0 misc: When there is more than once copy count source, use the largest. 2019-10-18 14:17:51 -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 43526a7069 sinfonia: Fix tone curve manipulation 2019-09-22 23:40:35 -04:00
Solomon Peachy 9510016387 sinfonia: More consolidation and updates:
- Consolidate media query
  - Correct EK8810 8x10 print counts
  - Consolidate 6R/5R print counts
  - Documentation updates
2019-09-09 20:12:24 -04:00
Solomon Peachy eeeef86e0a kodak68xx: Consolidate cmd header set code. 2019-09-01 19:41:58 -04:00
Solomon Peachy b7afb70ab7 kodak68xx: Fix error in the reset command.
(Thank you, contributor-who-wishes-to-remain-anonymous!)
2019-09-01 19:09:32 -04:00
Solomon Peachy ed40a06597 kodak68xx: Support get/set of both "User" and "Current" curve data. 2019-08-30 10:55:23 -04:00
Solomon Peachy 6b76ab3542 misc: Check the return codes for a couple of writes
Shuts up some compile warnings.
2019-07-15 23:37:17 -04:00
Solomon Peachy df4a9a0a5b s1245 & ek68xx: Fix a regression with print copies. 2019-07-13 10:46:59 -04:00
Solomon Peachy ccc1513d09 kodak6850: Fix another serious regression. 2019-07-13 10:46:52 -04:00
Solomon Peachy 265e6ee56a kodak68xx: Fix serious regression with print size validation 2019-07-13 10:38:29 -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 802d82d709 kodak68xx: Use standard sinfonia job format. 2019-05-22 20:13:52 -04:00
Solomon Peachy f6e65c51cd misc: Fix several cppcheck format string warnings. 2019-05-14 23:06:39 -04:00
Solomon Peachy ad26d3d99a kodak68xx: Correct memory allocation for media info dump. 2019-05-14 22:30:28 -04:00
Solomon Peachy 7768f9a970 sinfonia: Add a library "version" and have the specific backends log it. 2019-05-13 20:56:09 -04:00
Solomon Peachy a65eb72562 sinfonia: More common code & definitions, and normalize code for more. 2019-05-13 18:14:12 -04:00
Solomon Peachy b1cd5f4387 shinko: Rename common shinko library to 'sinfonia' to reflect current name 2019-05-13 10:29:00 -04:00
Solomon Peachy bfd6e1b72a shinko: More common structs and definitions. 2019-05-12 23:42:10 -04:00
Solomon Peachy dd6a0c756f kodak68xx: some more documentation. 2019-05-12 23:42:01 -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 473aa2bbc4 misc: More static analysis fixes. 2019-05-12 11:11:51 -04:00
Solomon Peachy 48a1d90c2c kodak68xx: Improved sanity checking for jobs. 2019-05-12 08:10:17 -04:00
Solomon Peachy d10a4ffc45 kodak68xx: Supports 4x6-div2! 2019-05-12 00:47:01 -04:00
Solomon Peachy 5cde2b7cb7 kodak68x0: Strict enforcement against printer-reported size list.
4x6, 8x6, 6x6, 2x6, 3x6, and 6x6-div2, 8x6-div2 all verified.
2019-05-12 00:40:46 -04:00