Solomon Peachy
11829f2f45
Merge a pile spelling fixes from Ville Skyttä <scop@sf>
6 years ago
Solomon Peachy
e6d700a7c7
common: Add ability to override USB transfer limit and timeouts.
6 years ago
Solomon Peachy
9049274d74
Doc updates.
6 years ago
Solomon Peachy
cd1f20d79c
It's now 2017; Update copyright year for the code that's seen changes.
6 years ago
Solomon Peachy
1b71437dd2
common: don't log PAGE counts if being used in CUPS context, as
...
Gutenprint already does this.
6 years ago
Solomon Peachy
182754c549
Get rid of some extra semicolons.
6 years ago
Solomon Peachy
1aebe61253
mitsup95d: Add in support for the Mitsubishi P95D.
6 years ago
Solomon Peachy
2ae41d59ff
canonselphyneo: Add a new backend for the CP820/910/1000/1200 printers.
6 years ago
Solomon Peachy
2fb2f56623
common: Minor internal rearrangement to make future changes simpler.
6 years ago
Solomon Peachy
546dad9fae
common: Fix querying of the IEEE1284 string when per-interface classes are used.
6 years ago
Solomon Peachy
afa0bbb891
common: Only claim the interface once when probing.
...
And only query IEEE1284 data on PRINTER class devices.
6 years ago
Solomon Peachy
8ade2d3a16
mitsu70x: Figured out lifetime print count!
...
At least on the EK305 (and presumably, K60)
6 years ago
Solomon Peachy
1f034a8a40
common: don't retry the interface claiming if it's not a BUSY error.
...
And don't try to urlencode a serial number that we know was bogus.
7 years ago
Solomon Peachy
45d46409b4
common: Pull a couple of unnecessary globals into main().
7 years ago
Solomon Peachy
da1dea2605
common: Replace a magic number with a libusb-defined sysmbol
...
And add a comment about iterating through interfaces and altsettings.
(This doesn't matter for any supported printers, but it's possible that
could change...)
7 years ago
Solomon Peachy
a1395541d9
commmon: Fix help text.
7 years ago
Solomon Peachy
4a8e5dbd4e
common: Use the first instead of last matching set of bulk endpoints
...
Apparently the Mitsu K60/Kodak 305 enumerate differently on Linux vs
Windows -- With the latter, there's only two endpoints, but on Linux,
there's an additional OUT endpoint which works for everything except
image bulk transfers.
7 years ago
Solomon Peachy
332ef60933
common: Log the page counts with the 'PAGE' log target.
7 years ago
Solomon Peachy
d0751a838e
common: Fix a memory leak in the libusb code.
7 years ago
Solomon Peachy
827c6965c5
Common: Get rid of the -S, -V, -P, -T options.
...
They won't work until after we attach to the backend, but we need them
before we attach. Rely on the environment variables instead.
7 years ago
Solomon Peachy
52e4b827cd
whitspace cleanups.
7 years ago
Solomon Peachy
8e35e5608b
all: It's 2016 now, update the copyright text.
...
Also, correct the initial dates for a few of the backends.
7 years ago
Solomon Peachy
f7cb38dc29
common: One more fix.
7 years ago
Solomon Peachy
f69834c963
common: fix the last commit.
7 years ago
Solomon Peachy
4bce137651
common: Fix a memory leak.
7 years ago
Solomon Peachy
ced2e11884
bump a couple of things.
8 years ago
Solomon Peachy
2469be69be
common: Get rid of an unused variable.
8 years ago
Solomon Peachy
eb053ceb1a
common: Export current page to backends.
8 years ago
Solomon Peachy
82ea661415
common: move uint16_to_packed_bcd() into common code.
8 years ago
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.
8 years ago
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.
8 years ago
Solomon Peachy
f67a8f8ea5
common: Eliminate early_parse() from backend.
...
only canonselphy used it. This also showed that extra_vid/pid was broken.
8 years ago
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.
8 years ago
Solomon Peachy
114202d7f5
shinko6145: Add a preliminary backend. Does NOT include library work.
8 years ago
Solomon Peachy
2181ae04b9
all: Clean up a small pile of warnings that clang-analyzer found.
8 years ago
Solomon Peachy
cd03e9a22f
misc: Fix some unitialized variable warnings that show up with -Os
8 years ago
Solomon Peachy
4489c1c0a5
misc: Clean up buffer overflows identified by cppcheck
8 years ago
Solomon Peachy
6a02bf8554
common: A few minor cleanups.
8 years ago
Solomon Peachy
9b3f7cbb66
s6245: Add a preliminary backend for the Shinko S6245
8 years ago
Solomon Peachy
3965f237ed
common: Handle problems claming the USB interface.
...
...Retry a few times, and sleep between each one.
8 years ago
Solomon Peachy
992e551a02
all: Fix command like parsing when the argument has an option.
...
This was a longstanding bug. Oops.
8 years ago
Solomon Peachy
24c3550feb
all: Ensure all malloc() failures are caught and logged.
8 years ago
Solomon Peachy
dc7ba45fe2
s1245: Create a new backend for the Shinko s1245.
...
Shinko S1245 uses a different command language as the other Shinko
models, so it's not going to share much commonality with the 2145
backend.
8 years ago
Solomon Peachy
ccd644af7e
common: more debug fixes.
8 years ago
Solomon Peachy
ce9d0df04b
debug: Fix hex dump code.
8 years ago
Solomon Peachy
b731dc04f8
Update copyright notice.
8 years ago
Solomon Peachy
eda139a9db
common: formatting fixes.
8 years ago
Solomon Peachy
fef3b0e0ec
common: Format the hex dumps a little more coherently, 16-byte lines.
8 years ago
Solomon Peachy
da5ae0e152
mitsu9550: Initial WIP of the Mitsubishi CP-9550DW-S backend.
...
Just committing it so I don't lose it.
8 years ago
Solomon Peachy
8d05fbb67f
cw01: Initial support for the Citizen CW-01 printers
9 years ago