Commit Graph

700 Commits

Author SHA1 Message Date
Patrick Kanzler b4c32b5a4a
Merge branch 'development' into development 2019-06-04 23:04:25 +02:00
Patrick Kanzler 40b30225d3
Merge pull request #330 from om26er/windows-support
Enable Windows Support
2019-06-04 23:04:09 +02:00
Patrick Kanzler 19e3ec6895
Merge pull request #331 from teamorchard/use-pyyaml-safe-load
Update to use pyyaml safe_load()
2019-06-04 22:45:05 +02:00
Patrick Kanzler df539da854
Merge branch 'development' into development 2019-06-04 22:31:47 +02:00
Patrick Kanzler 4534038b39
Merge branch 'development' into patch-1 2019-06-04 22:31:33 +02:00
Patrick Kanzler adf85f7784
Merge branch 'development' into windows-support 2019-06-04 22:31:08 +02:00
Patrick Kanzler aaa8162967
Merge branch 'development' into use-pyyaml-safe-load 2019-06-04 22:30:47 +02:00
Patrick Kanzler 0461adc212 restrict hypothesis-version to below 4 2019-06-04 22:30:23 +02:00
Justin Vieira 91ff83e506 Update to use pyyaml safe_load(), as load() is unsafe and disabled on some systems 2019-05-29 16:43:19 -04:00
Omer Akram 29ef88f591 Better comment 2019-05-22 17:25:33 +05:00
Omer Akram 7c01a30d6c fix a typo 2019-05-22 17:20:15 +05:00
Omer Akram 035c425581 Add author 2019-05-22 17:09:27 +05:00
Omer Akram d20646b2a9 Make windows enablement code more intelligent 2019-05-22 17:01:13 +05:00
Omer Akram 206822ac69 Enable Windows Support 2019-05-22 16:39:26 +05:00
akeonly dc08792e72
Update README.rst : example for network printer
Add example for Network Printer
2019-05-11 18:33:33 +07:00
Ramon Poca 2886075ce9 Fix initializer mess 2018-12-31 14:24:10 +01:00
Ramon Poca 73fff6291d Fix syntax 2018-12-31 13:57:53 +01:00
Ramon Poca d5b9d99093 Update AUTHORS 2018-12-31 10:43:31 +01:00
Ramon Poca 18c51358aa Add Win32Raw printer to available printers 2018-12-13 08:01:05 -08:00
Gerard Marull-Paretas 52719c0b7d Allow arbitrary USB args 2018-11-21 22:01:13 +01:00
Patrick Kanzler 0051c876bf
Merge pull request #298 from python-escpos/development
release v3.0a4
2018-05-15 23:12:17 +02:00
Patrick Kanzler 854759d312
update changelog 2018-05-15 22:48:33 +02:00
Patrick Kanzler a0343c66af
update capabilities-data 2018-05-15 22:07:12 +02:00
Patrick Kanzler 6c94f88c24
improve platform independence (#296)
* add os.devnull for platform independence

fixes #288

* add test for soft_barcode

* open devnull as binary

* add version identifier to pickle
2018-05-15 01:03:07 +02:00
Patrick Kanzler 6fb23d6826
remove test from setup.py (#297)
fixes #294
2018-05-15 00:34:43 +02:00
Patrick Kanzler f649814091
Fix travis-builds and tests in general (#295)
* add explicit location of capabilities.json for travis
* pass on env variables in tox builds
* drop support for python 3.3 and remove python3.3 from supported versions list
2018-05-14 18:06:31 +02:00
Patrick Kanzler 47b4d41b28
use package for tempdir
cherry-picked from 8494cca526 in #274
2018-05-13 18:52:39 +02:00
Patrick Kanzler 599f4f3ca5
add new authors 2018-05-13 18:44:47 +02:00
primax79 d085e5c467 parameter for implementation of nonnative qrcode (#289) 2018-05-13 18:42:41 +02:00
kennedy b418302311 Modified submodule to always pull from master branch (#283) 2018-05-13 18:42:07 +02:00
Patrick Kanzler f6acb72bbe
Merge branch 'fix-travis-builds' into development 2018-05-13 18:40:57 +02:00
Patrick Kanzler 0c9856c1f6
disable QR test for image 2018-05-13 18:26:48 +02:00
Patrick Kanzler a748563395
blacklist hypothesis version 2018-05-13 18:04:48 +02:00
Patrick Kanzler b84e280efb
disable broken tests 2018-05-13 17:32:52 +02:00
Thijs Triemstra 4390dc4a9c fix is_online() (#282)
* fix is_online

* fix sphinx formatting

* reword
2018-05-02 09:25:04 +02:00
Thijs Triemstra 6e09fd1e97 fix typo 2018-04-26 07:22:37 +02:00
Thijs Triemstra 100c6b5e89 fix typo (#279) 2018-02-07 22:17:18 +01:00
Christoph Heuel 26d72a69f0 Feature/clear content in dummy printer (#271)
Add Function to Dummy Printer for Clearing Buffer

If you are using the dummy printer, you may want to use the printer
again after sending the output to a physical printer.
This method empties the list of the output buffer.
2017-12-04 00:13:28 +01:00
Patrick Kanzler 01e28bbcf6
ammend blacklisting from cd1bcb57b4
the last comment was a bit rushed and did not properly blacklist both
bad versions of pytest
2017-12-03 23:49:46 +01:00
Patrick Kanzler 2a7e2a6a36
blacklist pytest 3.3.0
see pytest-dev/pytest#2957
2017-12-03 23:43:23 +01:00
reck 3c3dab95f5 raise exception when TypeError occurs in cashdraw (#268) 2017-12-03 23:21:29 +01:00
Patrick Kanzler d1e7052fa1 Merge pull request #266 from python-escpos/development
release v3.0a3
2017-10-08 22:45:54 +02:00
Patrick Kanzler 10e1dfe1d1 update changelog 2017-10-08 22:26:55 +02:00
Patrick Kanzler cd1bcb57b4 remove bugtrack_url
this is not supported by setuptools
2017-10-08 22:12:53 +02:00
Patrick Kanzler d6d12f99d4 improve test - tests raising of error #257 2017-10-08 21:53:36 +02:00
Patrick Kanzler 128221363f reproduce #257 2017-10-08 21:53:36 +02:00
Patrick Kanzler 6b0b1371e5 fix layout in File-printer-section 2017-10-08 21:31:45 +02:00
Patrick Kanzler 44f01a212b fix docs failing due to pickle protocol in mixed env
When executing a tox-run a pickle file will be created. If the docs are
built after the py3 task, it will fail due to incompatible
pickle-protocols.
See https://stackoverflow.com/a/25843743/4244236 for reference.
2017-10-08 21:08:13 +02:00
Lucy Linder 456f5b7aa6 Feature/check barcodes (#255)
* add a method to check barcode code format

ensure that the code to print is compatible with the ESC/POS formats and
also automatically check this format before printing (barcode() method).

* rewrite test using pytest's parametrize functionality

* add test for the 'check' argument

* update authors list
2017-10-08 20:05:18 +02:00
Patrick Kanzler d78a6f1699
completely fix tests
The feature use_coverage of hypothesis caused the failing tests, because
the printer_file_test is sensitive to the coverage analysis of
hypothesis.

Fixed by disabling use_coverage for the crashing tests
2017-09-27 10:38:42 +02:00