Commit Graph

49 Commits

Author SHA1 Message Date
Fabian 6f0a0ebbe8 return from decoding function at eof instead of break from the decoding loop 2020-03-06 18:34:41 +01:00
Fabian Weber 6fab588008 fixed eof errors in the decode methods 2020-03-06 14:47:37 +01:00
Fabian Weber 26693eaf18 Merge branch 'master' of https://github.com/phin1x/go-ipp 2020-03-06 12:23:32 +01:00
Fabian Weber 1249335763 fixed nil reference in request encoder 2020-03-06 12:22:56 +01:00
Fabian ddc8e9c46f
fixed request operation encoding 2020-03-06 11:06:47 +01:00
Fabian Weber 72ec31bc0b Moved IPP Content Type to const file 2020-03-06 10:25:31 +01:00
Fabian 166c30bdd6
fixed request and response structs 2020-03-05 16:31:05 +01:00
Fabian 49be0016e3
fixed request and response structs 2020-03-05 16:30:33 +01:00
Fabian 59b8e60246
added response encoder 2020-03-05 16:29:31 +01:00
Fabian 2357cc318b
Added request decoder 2020-03-05 16:29:09 +01:00
Fabian 6f54d5c07a
Merge pull request #9 from korylprince/fix/add-attribute-tag
added printer-is-accepting-jobs AttributeTag
2020-01-30 21:56:14 +01:00
Kory Prince 2227bd2de9 added printer-is-accepting-jobs AttributeTag 2020-01-30 09:03:51 -06:00
Fabian 6c9dee854a added first-job-id to the list of known ipp tags 2019-12-26 20:28:03 +01:00
Fabian f0c2e4db43 added first job id and limit parameter to get jobs method 2019-12-26 17:14:15 +01:00
Fabian 42b7622f64 added job filter "all" const 2019-12-26 16:49:32 +01:00
Fabian d0d4987b76 - changed the get jobs method to fetch jobs from printer, classes or both
- the response decoder now need a writer for additional response data, for example if you fetch documents from the server
2019-12-26 16:46:08 +01:00
Fabian 25c0ce404e
Merge pull request #8 from muesli/conversion-fixes
Avoid unnecessary conversions
2019-08-06 21:07:05 +02:00
Fabian 1a8d047dcd
Merge pull request #7 from muesli/static-analysis
Don't assign variables we don't end up using
2019-08-06 21:06:03 +02:00
Fabian 73d7acefa8
Merge pull request #6 from muesli/readme-typo
Fixed typo in README
2019-08-06 21:05:14 +02:00
Christian Muehlhaeuser aeff57c379 Avoid unnecessary conversions
No need to convert these types.
2019-08-05 16:47:27 +00:00
Christian Muehlhaeuser b6c2a94121 Don't assign variables we don't end up using
resp is unused here, don't assign it.
2019-08-05 16:40:36 +00:00
Christian Muehlhaeuser 87b17587bd
Fixed typo in README
I assume this is a typo, as `-h` isn't a valid parameter.
2019-08-05 01:15:35 +02:00
Fabian e590962f2e updated readme example 2019-06-09 00:34:12 +02:00
Fabian 96d5fac412 updated readme example 2019-06-09 00:31:28 +02:00
Fabian 3bb656c92f updated version in readme 2019-06-09 00:15:56 +02:00
Fabian 336a8e359f
Merge pull request #5 from phin1x/unify-print-methods
unified print functions
2019-06-09 00:05:57 +02:00
Fabian d637c91791 unified print functions 2019-06-09 00:03:50 +02:00
Fabian e221cdb59e
Merge pull request #4 from willglynn/print_job
Add IPP `PrintJob()`
2019-06-04 23:02:23 +02:00
Will Glynn 1afec2e953 Sort attributes 2019-05-29 20:16:40 -05:00
Will Glynn 2f7c3e3ae3 Define attributes included in PrintJob() documentation 2019-05-29 20:16:40 -05:00
Will Glynn f468c078d9 Define a PrintJob() function which accepts arbitrary attributes 2019-05-29 20:16:36 -05:00
Fabian c040c28fc2
Merge pull request #3 from willglynn/add_enum_encoding
Add TagEnum encoding
2019-05-30 01:01:06 +02:00
Will Glynn aa1e1eed2b Fix typo in error message 2019-05-28 21:08:57 -05:00
Will Glynn c310fd5bb2 Add TagEnum encoding 2019-05-28 21:03:47 -05:00
Fabian c10a391025
Merge pull request #2 from gregory112/patch-1
Fixed setting c.username as job-name attribute
2019-05-19 15:45:56 +02:00
Sergio Ryan 6461f0d7c5
Fixed setting c.username as job-name attribute 2019-05-17 17:33:07 +07:00
Fabian Weber c6b254aac5 added attribute encoding test cases 2019-03-24 14:36:45 +01:00
Fabian Weber 43fb3b0cb6 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	README.md
2019-03-17 20:58:51 +01:00
Fabian Weber 411c49370c added badges in ReadMe 2019-03-17 20:58:40 +01:00
Fabian 91ab1bd3a3
Update README.md 2019-03-17 20:50:39 +01:00
Fabian Weber 75dbb0f8e2 updated readme 2019-03-17 20:47:29 +01:00
Fabian Weber 3ffaad4606 fixed add printer to class and added function for error handling 2019-03-17 13:40:08 +01:00
Fabian Weber 7606089b66 first beta release 2019-03-15 16:20:02 +01:00
Fabian Weber 83b3e83978 fixed decoding and encoding errors 2019-03-13 22:54:08 +01:00
Fabian Weber 0eaa66d58f Merge branch 'master' of https://github.com/phin1x/go-ipp 2019-03-10 18:47:51 +01:00
Fabian Weber a84f3c28b9 initial commit 2019-03-10 18:45:13 +01:00
Fabian Weber 030c260947 initial commit 2019-03-10 18:43:47 +01:00
Fabian ee0c88c102
Create README.md 2019-03-10 18:37:55 +01:00
Fabian c213cc394e
Initial commit 2019-03-10 18:37:26 +01:00