Commit Graph

71 Commits

Author SHA1 Message Date
p1-bmu 517f4c4032 core: modernize iteration loops 2022-03-07 10:03:35 +01:00
p1-bmu c1a042758e core: fix _env attribute management for Alt() and corresponding representation 2021-10-22 13:30:43 +02:00
p1-bmu 5d42082fba core: bound get_prev() not to wrap around object content 2021-10-19 23:36:06 +02:00
p1-bmu 280704a00d core: rollback the more generic exception 2021-10-19 22:45:55 +02:00
p1-bmu e41bfbfcfe core: catch IndexError more cleanly 2021-10-19 22:34:54 +02:00
p1-bmu 446ba9b708 remove version indication from __init__.py files 2021-05-17 17:28:51 +02:00
p1-bmu fff36ab5a5 core: fix Alt() hierarchichal representation 2021-05-04 12:28:56 +02:00
p1-bmu 47f0412245 core: support get_val_d() for Sequence object 2021-04-30 19:22:18 +02:00
p1-bmu 80aaf074db core: better support of Buf with fixed size but invalid content 2021-03-17 09:23:55 +01:00
p1-bmu 02bd074b1e core: add a method to return Envelope values as dict instead of list 2020-12-01 10:33:16 +01:00
p1-bmu 07df80baf4 core: make Python2.7 happy while calling proper methods dedicated to each class... now almost in 2021 2020-11-30 11:26:47 +01:00
p1-bmu 63a36554e8 core: fix JSONDecodeError import for last python2.7 versions... 2020-11-30 11:10:06 +01:00
p1-bmu c5c225134b core/asn1rt: move IEEE 754 float routines to the asn1rt part 2020-09-21 11:47:45 +02:00
p1-bmu f6ded2c3ec Merge branch 'OER_implementation' of https://github.com/JNevrly/pycrate into JNevrly-OER_implementation 2020-09-16 18:51:22 +02:00
p1-bmu 861f869ad7 core: add a routine to duplicate tuple / list / set / dict 2020-09-16 15:10:54 +02:00
Josef ffc679dd34 Merge branch 'master' into OER_implementation 2020-09-02 14:00:10 +02:00
Josef ecddbd4d23 Real support including *_ws methods. 2020-08-20 12:16:56 +02:00
mich befdf8dbd4 core: handle Alt DEFAULT envelope appropriately 2020-08-19 15:27:37 +02:00
mich decc023abd remove crappy non-ascii (hidden) characters 2020-06-16 16:59:50 +02:00
mich f84e90b55d core: fix Alt() elt cloning procedure 2020-02-12 18:24:58 +01:00
mich 7e76e8f7c6 core: enable blauto for Envelope 2019-12-18 15:53:40 +01:00
mich 5dcece35d8 core: enable bit length automation at decoding for Alt 2019-12-13 15:42:23 +01:00
mich 464f31bcf1 core: do not passthrough set_bl/val/dicauto for Alt 2019-12-13 12:16:59 +01:00
mich 16d89a8e63 core: enable automatic bit length retrieval at decoding for Sequence and Array 2019-12-12 14:33:25 +01:00
mich 987c43a8a3 core: enable explicit _name class attribute to overwrite the class name at instantiation 2019-11-22 11:41:23 +01:00
mich f0cfe66f76 core: fix BufAuto __call__ method 2019-11-04 10:00:06 +01:00
mich 2e0912b6a1 core: enable automated values to be wrapped into correct boundaries for Uint and Int 2019-08-14 17:24:54 +02:00
mich 394a6691af core: enable to replace a Sequence content by index 2019-08-14 12:41:24 +02:00
mich 602b2d6a7b core: fix Sequence() list-like methods 2019-08-13 16:07:13 +02:00
mich 75a0d69f9e core: rationalize exceptions 2019-08-13 15:53:36 +02:00
mich 81cb15e07a core: enable the setting of the Alt()._sel selector callback as class attribute 2019-08-09 17:28:19 +02:00
mich 13a9019d44 core: set _env attr early enough when decoding a Sequence content 2019-08-08 15:09:14 +02:00
mich da0e9157fe core: add support for encoded strings, e.g. UTF-8, in the base types 2019-08-01 16:41:31 +02:00
mich da4b308360 Revert "core: remove unneeded processing for bin / hex representation"
This reverts commit 19892e216d.
2019-08-01 16:13:34 +02:00
mich 19892e216d core: remove unneeded processing for bin / hex representation 2019-08-01 15:43:57 +02:00
mich 41b2d5cda8 core: fix indent for Alt.show() method 2019-07-15 10:35:17 +02:00
mich ffb267a309 core: return None instead of raising in get_next() / get_prev(), when index is incorrect 2019-07-12 16:49:10 +02:00
mich f5423220fb core: disable the override of __len__ for elt classes, not used within pycrate 2019-04-01 18:46:03 +02:00
mich de82fbd5d6 various fixes after testing compilation with cython 2019-04-01 13:01:25 +02:00
mich 7160a753ed making a global 0.4 tagged release 2019-02-25 11:26:10 +01:00
mich e200ec6152 core: align representation of Alt object 2019-02-22 14:59:44 +01:00
mich 85275267df core: few fixes in utils 2019-02-01 17:12:27 +01:00
mich e1cc80e022 core: fix Sequence json value mapping 2018-12-12 17:35:03 +01:00
mich 3ec0698805 core: update json core api to use Python encoder / decoder 2018-12-12 15:31:15 +01:00
mich 80e892ee83 core: fix some json import stuff 2018-12-07 18:07:27 +01:00
mich 506d358d42 core: finalize the json api for the core 2018-12-07 12:17:27 +01:00
mich 1f84927c7f core: initial json interface support, still needs few fixes 2018-12-06 16:58:18 +01:00
mich 1da7be7ff7 core: fix item handling in Alt 2018-11-27 16:10:00 +01:00
mich dc7adf692b core: fixes and improves the new Alt element 2018-11-14 17:33:10 +01:00
mich 71a3736b90 core: fix unaligned Buf and BufAuto padding length computation 2018-11-14 09:55:39 +01:00