summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add more debug logging to *ER codecsadd-more-debug-loggingIlya Etingof2018-08-043-44/+361
| | | | | | | | | | | More debug logging added to BER family of codecs to ease encoding problems troubleshooting. Also: * code layout made a bit more sparse * potential bug in open type decoding in indefinite mode fixed
* Refactor debug logging (#138)Ilya Etingof2018-08-036-92/+97
| | | | | | | | Debug logging refactored for more efficiency when disabled and for more functionality when in use. Specifically, the global LOG object can easily be used from any function/method, not just from codec main loop as it used to be.
* Fix some typos and prepare for 0.4.5Ilya Etingof2018-07-2914-41/+49
|
* Fix package versionv0.4.4Ilya Etingof2018-07-261-1/+1
|
* Fix Travis build for Py3.7Ilya Etingof2018-07-262-2/+2
|
* Release 0.4.4Ilya Etingof2018-07-261-1/+1
|
* Fix Sequence/Set.prettyPrint crashIlya Etingof2018-07-242-1/+3
| | | | | | | When calling `.prettyPrint()` on Sequence/Set components, make sure the component is a value object (not schema) because calling `.prettyPrint` on a schema object is likely to fail.
* Switch back to offical Python 3.7 buildIlya Etingof2018-07-031-2/+2
| | | | | | It appears that Python 3.7 use in Travis-CI is finally fixed. However, it requires use of xenial distribution and sudo: true. Those have now been added to the matrix.
* Fix native encoder type map (#132)Ilya Etingof2018-06-302-2/+34
| | | | | | | | | The type map should include all ASN.1 types rather than just ambiguous ones for performance reasons. Incomplete type ID map triggers building a new TagSet out of the value being encoded. If that value does not have base tags set, that leads to a crash.
* switch back to 3.7-devIlya Etingof2018-06-291-12/+46
|
* Merge branch 'master' of github.com:etingof/pyasn1Ilya Etingof2018-06-290-0/+0
|\
| * bumped up to Python 3.7Ilya Etingof2018-06-284-2/+4
| |
* | bumped up to Python 3.7Ilya Etingof2018-06-294-2/+4
|/
* Enable pip cache in Travis CI (#130)Jon Dufresne2018-06-161-1/+1
| | | | | | | Slightly speed up builds and reduce load on PyPI servers. For more information, see: https://docs.travis-ci.com/user/caching/#pip-cache
* 0.4.3v0.4.3Ilya Etingof2018-05-231-1/+1
|
* fix GenerlizedTime.asDateTime() operationIlya Etingof2018-05-233-9/+11
|
* Migrate to new PyPI websiteIlya Etingof2018-04-213-5/+5
|
* copyright years extendedIlya Etingof2018-03-2963-62/+67
|
* use older Sphinx for older PythonIlya Etingof2018-03-211-1/+1
|
* Include license file in the generated wheel package (#120)Jon Dufresne2018-03-211-0/+3
| | | | | | | | | | | | | The wheel package format supports including the license file. This is done using the [metadata] section in the setup.cfg file. For additional information on this feature, see: https://wheel.readthedocs.io/en/stable/index.html#including-the-license-in-the-generated-wheel-file Helps the package comply with its own license: > Redistributions in binary form must reproduce the above copyright > notice, this list of conditions and the following disclaimer in the > documentation and/or other materials provided with the distribution.
* Prefer https:// URLs where available (#121)Jon Dufresne2018-03-216-7/+7
|
* sys.getsizeof() may raise TypeError (#117)Vincent Bernat2017-12-261-0/+4
| | | | | Not all implementations have to implement getsizeof() and may raise TypeError instead. Notably, Pypy will always raise TypeError (unless a default value is provided).
* NoValue.__repr__() should report object address in hexIlya Etingof2017-12-031-1/+1
|
* Fixed bad TagSet initializer at OctetString encoder (#107)v0.4.2Ilya Etingof2017-11-233-16/+49
| | | | | | localize explicit tag slitting to chunked mode at OctetString and BitString encoders The inner chunks tagging logic is to be researched -- I'm not certain it works as it supposed to
* fixed opentype reference in Sphinx docIlya Etingof2017-11-231-1/+1
|
* fix to invoke potentially overridden OctetString.prettyOut()v0.4.1Ilya Etingof2017-11-232-5/+32
|
* imports pep8'edIlya Etingof2017-11-2334-70/+144
|
* relax open type field type check on assignment (#105)Ilya Etingof2017-11-237-15/+328
|
* cosmetic changes to Sequence.setComponentByPosition()Ilya Etingof2017-11-211-6/+16
|
* Merge branch 'devel-0.4.1'Ilya Etingof2017-11-19150-3523/+4374
|\
| * Start `.prettyPrint` deprecation (#103)Ilya Etingof2017-11-1912-60/+70
| | | | | | | | | | | | | | * __str__() of ASN.1 types reworked to serve instead of .prettyPrint() Related changes: `str()` on enumerations and boolean will return a string label rather than a number.
| * __repr__() of ASN.1 types reworked for better readability (#102)Ilya Etingof2017-11-1811-161/+103
| | | | | | At the same time __repr__() stopped being eval()-compliant
| * Add default to .getComponentBy*() (#100)Ilya Etingof2017-11-163-18/+140
| | | | | | | | * `default` kwarg added to .getComponentBy*() methods
| * fixed Sequence/SequenceOf decoding heuristicsIlya Etingof2017-11-142-6/+7
| |
| * fixed openType decoding in indef modeIlya Etingof2017-11-141-1/+1
| |
| * migrated docs and references from sourceforge.netIlya Etingof2017-11-1459-59/+60
| |
| * serialization -> serialisation nitpicksIlya Etingof2017-11-1421-149/+149
| |
| * added example code snippets to the docstrings (#101)Ilya Etingof2017-11-1421-38/+599
| |
| * Merge branch 'devel-0.4.1' of github.com:etingof/pyasn1 into devel-0.4.1Ilya Etingof2017-11-126-33/+33
| |\
| | * Merge branch 'devel-0.4.1' of github.com:etingof/pyasn1 into devel-0.4.1Ilya Etingof2017-11-0915-120/+581
| | |\
| | * | reset unused Choice component to `noValue`, not `None`Ilya Etingof2017-11-091-1/+1
| | | |
| | * | pep8 (stray spaces removed)Ilya Etingof2017-11-096-33/+33
| | | |
| | * | fix to `any()` support detectionIlya Etingof2017-11-091-1/+1
| | | |
| * | | minor logo changeIlya Etingof2017-10-291-1/+1
| | |/ | |/|
| * | Pickle protocol fixes (#99)Ilya Etingof2017-10-296-40/+372
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * do not blow up on pickle protocol attributes look up * added Pickle tests * More fixes to pickle protocol support * __slots__ lookup allowed at NoValue * SizedInteger moved from BitString scope to the univ module scope
| * | fixes to docs manifestIlya Etingof2017-10-282-4/+4
| | |
| * | fixes to travisIlya Etingof2017-10-261-2/+2
| | |
| * | fixes to Sphinx docs layoutIlya Etingof2017-10-268-76/+205
| | |
| * | fix to `any` function test on Py2.4Ilya Etingof2017-10-231-1/+1
| |/
| * minor tweaks of the docs themeIlya Etingof2017-10-221-11/+19
| |