Commit Graph

179 Commits

Author SHA1 Message Date
Davis Goglin 1adc66992d Replace future and ConfigParser with localconfig 2016-03-28 09:58:42 -07:00
Davis Goglin 73be1f2c48 Remove future from doc requirements. Doesn't need to be there 2016-03-28 09:58:42 -07:00
Davis Goglin 27352b071c Refactor empty exception handler 2016-03-28 09:58:42 -07:00
Davis Goglin 87a73beb31 Moved printer destination configuration to config file 2016-03-28 09:58:42 -07:00
Davis Goglin 6096c15b80 Add future requirement to be able to use configparser 2016-03-28 09:58:42 -07:00
Davis Goglin 133241e7e9 Moved printer choice to groups and parse manually 2016-03-28 09:58:42 -07:00
davisgoglin eea3e76eed Remove unused import 2016-03-28 09:58:42 -07:00
davisgoglin 28be6a2041 Add usage 2016-03-28 09:58:42 -07:00
davisgoglin d523b4d342 consistent syntax 2016-03-28 09:58:42 -07:00
davisgoglin 99291abd10 rewrite cli 2016-03-28 09:58:42 -07:00
Patrick Kanzler 81b3c1a63a
DOC add bugtrack_url 2016-03-28 17:18:28 +02:00
Patrick Kanzler 323b205f70 Merge pull request #116 from python-escpos/feature/test-versions
improve travis configuration with more versions
2016-03-26 12:15:57 +01:00
Michael Billington 2dc70677d7 improve travis configuration with more versions
Testing compatibility: add python 3.3, pypy, pypy3, 3.5-dev, 3.6-nightly to .travis.yml
allow failure on pypy3, 3.5-dev and nightly
2016-03-26 10:56:38 +01:00
Patrick Kanzler e355d2cbdf Merge pull request #115 from python-escpos/feature/coverage-analysis
ADD coverage analysis (branch coverage)
2016-03-25 20:53:11 +01:00
Patrick Kanzler 126e0e269a
ADD coverage analysis
* branch coverage
* visualization with codecov.io
* added codecov-badge to README
2016-03-22 12:07:21 +01:00
Patrick Kanzler 309866f8c9 Merge pull request #111 from mike42/feature/python3.5-support
Clean up non-float value, add v3.5 to tox test
2016-03-19 12:51:03 +01:00
Michael Billington 8596148271 update .travis.yml to use a matrix of versions in build 2016-03-19 22:14:37 +11:00
Michael Billington 8b454c4765 Clean up non-float value, add v3.5 to tox test 2016-03-17 21:59:47 +11:00
Patrick Kanzler f76db4e0d4
HOTFIX bracode: use proper NUL character instead of unicode-string 2016-03-16 23:23:42 +01:00
Patrick Kanzler e43e95bcff Merge pull request #102 from python-escpos/improve-packaging
Improve packaging
2016-03-12 10:47:10 +01:00
Patrick Kanzler b2ff39b6b1 DOC add templates for issues and pull-requests
These templates are inspired by OpenWhisperSystems
fixes #91
2016-03-11 14:46:36 +01:00
Patrick Kanzler 64e63b0180 PCKG automatically generate version from git-tags
* uses setuptools_scm
2016-03-11 14:46:36 +01:00
Patrick Kanzler e49c35abc1 PCKG fix setup.py and improve Manifest 2016-03-11 14:46:36 +01:00
Patrick Kanzler f676782130 DOC add favicon 2016-03-11 14:46:36 +01:00
Patrick Kanzler 086b407b62 DOC use sphinx-rtd-theme even if built locally 2016-03-11 14:46:36 +01:00
Patrick Kanzler 1a2b8f1df2 PCKG refactor changelog and add to documentation 2016-03-11 14:46:36 +01:00
Patrick Kanzler 68641572f9 PCKG unify 'readme' in documentation and repository 2016-03-11 14:46:36 +01:00
Patrick Kanzler 7fdccb7245 PCKG add CONTRIBUTING document to repository and documentation 2016-03-11 14:46:35 +01:00
Patrick Kanzler fee650faba PCKG rework and streamline Readme-file 2016-03-11 14:46:35 +01:00
Patrick Kanzler 1009cf8988 PCKG exclude dist/ and build/ from repository 2016-03-11 14:46:35 +01:00
Patrick Kanzler 916b09a84c Merge pull request #105 from python-escpos/feature-disable-panel-buttons
FEATURE disable panel buttons
2016-03-11 14:45:23 +01:00
Patrick Kanzler 80f6200915
FEATURE disable panel buttons 2016-03-10 16:01:35 +01:00
Patrick Kanzler f354791285 Merge pull request #104 from python-escpos/patkan-patch-1
DOC fix todo block in cut()
2016-03-09 22:00:38 +01:00
Patrick Kanzler 205728f5be DOC fix todo block in cut() 2016-03-09 16:36:40 +01:00
Patrick Kanzler 046cf1ff5b Merge pull request #94 from python-escpos/fix-image-printing
Fix problems with python 2 and 3
2016-03-09 09:49:34 +01:00
Christoph Heuel 75252a3797 direct_image throws TypeError
* The _raw method accepts only byte strings
2016-03-08 20:07:16 +01:00
Patrick Kanzler 21992d7017 SETUP enable build of universal wheels 2016-03-08 20:07:16 +01:00
Patrick Kanzler 4c406c1775 FIX fullimage so that it at least creates output 2016-03-08 20:07:16 +01:00
Patrick Kanzler 5b5c2c0dba TEST extend tests for larger images (grayscale) 2016-03-08 20:07:16 +01:00
Patrick Kanzler 6b56de67a7 use unicode_literals everywhere 2016-03-08 20:07:16 +01:00
Patrick Kanzler c9ea90cd82 FIX all calls of _raw(), (except in images) in escpos
bytes should now be used in all but the image functions reliably
2016-03-08 20:07:16 +01:00
Patrick Kanzler 5d5412ba73 REFACTOR use bytes in constants-section
adds six for cross-version int/byte-conversion
2016-03-08 20:07:16 +01:00
Patrick Kanzler 7005ba5899 DOC change type of msg for _raw to bytes 2016-03-08 20:07:16 +01:00
Patrick Kanzler 18518fa901 semiFIX image-printing (still broken) 2016-03-08 20:07:16 +01:00
Patrick Kanzler bda7f85346 ADD test for image printing and text
* image printing does not check output
* text test checks output of a very basic string
2016-03-08 20:07:16 +01:00
Patrick Kanzler 70307d0f24 FIX tox not executing nosetests 2016-03-08 20:07:16 +01:00
Patrick Kanzler 5a03f0fc7c DOC improve docstring of direct_image 2016-03-08 20:07:16 +01:00
Patrick Kanzler 4cfc4fd564 DOC show inheritance of printer-objects in documentation 2016-03-08 20:06:38 +01:00
Patrick Kanzler d96dcd8e7e Merge pull request #98 from DavisGoglin/issue/85
Adding barcode function type B and additional barocdes.
2016-03-08 19:28:07 +01:00
Davis Goglin 9d12c7faab Add missing .upper() for function type 2016-03-08 09:17:47 -08:00