Commit Graph

273 Commits

Author SHA1 Message Date
Lev Walkin e0f2a5b46b 0..MAX is unsigned in constraints 2017-08-30 20:21:52 -07:00
Lev Walkin 6713bcb012 0..MAX constraint is positive for OER 2017-08-30 20:21:52 -07:00
Lev Walkin dfc9314a6d fix issue #195 2017-08-28 23:34:51 -07:00
Ryan Sleevi a93d9971d2 Add unittest, which revealed that default booleans were not set properly 2017-08-28 17:37:09 -07:00
Lev Walkin 135d7dd4e1 pull extensions for aliased types 2017-08-28 00:21:38 -07:00
Lev Walkin 14fd3e5a89 added explicit (deprecated) ANY flag 2017-08-27 01:39:05 -07:00
Lev Walkin 8c44dffec9 do not use parameterized types as PDUs 2017-08-26 23:31:09 -07:00
Bi-Ruei, Chiu 1f87ac0058 Move type operations to another structure
Every type has free, print, check_constraints, ber_decoder, der_encoder,
xer_decoder, xer_encoder, uper_decoder, uper_encoder and outmost_tag
operations. We move them out to a separate structure asn_TYPE_operation_t.

Combined with previous logic simplification, these operations are based
on ASN.1 basic types, constructed types and string types. So we can
reduce the space occupied by asn_TYPE_descriptor_t variables.
2017-08-24 14:09:28 +08:00
Lev Walkin ade508caed avoid generating references to empty maps 2017-08-23 10:25:46 -07:00
Lev Walkin 53a28a26c4 empty information object sets are OK 2017-08-23 09:56:53 -07:00
Lev Walkin d8e07c5f08 parameterized referencing of information object sets 2017-08-23 07:38:30 -07:00
Lev Walkin cf3f6ebb9f constness fix 2017-08-23 04:35:34 -07:00
Lev Walkin 792641eed2 add const 2017-08-22 20:41:58 -07:00
Lev Walkin c0e03b946e introduce namespaces 2017-08-22 01:48:23 -07:00
Lev Walkin 9772177803 Merge branch 'master' of github.com:vlm/asn1c 2017-08-22 01:47:18 -07:00
Lev Walkin d9221847e5 add common lib 2017-08-22 01:44:56 -07:00
Lev Walkin acdca41847 revert too broad of a change 2017-08-12 20:59:16 -07:00
Denis Filatov dbb8990a2b use special name decoration for embedded annonymous types 2017-08-12 20:47:14 -07:00
Lev Walkin f6853ce38e further runtime support for information object classes 2017-08-11 01:37:26 -07:00
Lev Walkin 6aae7c62c1 make J2735 compile again 2017-08-10 17:58:56 -07:00
Lev Walkin d357f3d53f fix ioc value encoding 2017-08-10 17:40:37 -07:00
Lev Walkin 5d929d87c7 signedness fix 2017-08-10 15:17:44 -07:00
Lev Walkin 9de6cd89ca using ioc constraints in run time 2017-08-10 05:51:56 -07:00
Lev Walkin 8354f34bd9 find terminal type for iocs 2017-08-10 02:52:25 -07:00
Lev Walkin cd2f48eb5a structure comparison functions 2017-08-10 02:52:25 -07:00
Lev Walkin ad0d637c90 generate runtime information object set tables 2017-08-08 02:02:42 -07:00
Lev Walkin 4dcf8367d9 refactor constraint matrix handling 2017-08-07 20:10:05 -07:00
Lev Walkin 62d95d2ef4 rm warnings 2017-08-06 23:41:11 -07:00
Lev Walkin ea6635bdae better parsing information object class sets 2017-08-06 23:23:04 -07:00
Lev Walkin 09ba88d58a use CFLAGS as well 2017-08-05 22:53:34 -07:00
Lev Walkin a4f3d4670d avoid generating some OER object code if not -gen-OER 2017-08-05 22:40:14 -07:00
Lev Walkin ebdf02646d Merge pull request #173 from mattipee/mattipee-no-constraints
Omit constraints code if -fno-constraints
2017-08-05 18:18:58 -07:00
Lev Walkin 92fc0130ac Merge pull request #168 from brchiu/fix_compile_J2735_issue
Fix compile SAE J2735_201603DA.ASN issue
2017-08-05 18:10:08 -07:00
mattipee e0b99abe50 Omit constraints code if -fno-constraints
Raised in #122, prevent reference to constraints in generated code if compiled with -fno-constraints
2017-08-04 11:44:04 +01:00
Lev Walkin da997b1ea1 work in 128-bit integer values while compiling 2017-08-04 01:38:41 -07:00
Bi-Ruei, Chiu 1fa31c9e3e Simplify the logic of accessing codec function for specific TYPE 2017-08-02 14:06:07 -07:00
Lev Walkin 6bc7a11d9e follow internal convention 2017-08-02 13:32:24 -07:00
Lev Walkin b9e98cbaed avoid compile warning/error 2017-08-02 13:32:24 -07:00
Lev Walkin 322e35e6ec removed unused function 2017-08-02 13:32:24 -07:00
Lev Walkin 4118ccf997 simplify numeric constraints checking in runtime 2017-08-02 13:32:24 -07:00
Lev Walkin a28cbb9f66 add constraint debug 2017-08-02 13:32:23 -07:00
Lev Walkin 01582a7184 generate constraints on type 2017-08-02 13:32:23 -07:00
Lev Walkin 3c5d94164c generate Root elements and Additions elements counters for OER 2017-08-02 13:32:20 -07:00
Lev Walkin f573ebbd98 CODEC-OER for OER file dependencies 2017-08-02 13:32:19 -07:00
Lev Walkin 98eabc1c82 a pass over OER constraints 2017-08-02 13:32:18 -07:00
Lev Walkin b33425f16b fix OER stubs order 2017-08-02 13:32:18 -07:00
Lev Walkin ba68c91b71 empty OER stub generator 2017-08-02 13:32:16 -07:00
Lev Walkin 46ef3f339e retain constness of maps 2017-07-06 08:47:53 -07:00
Bi-Ruei, Chiu 94f0b645d4 Fix compile SAE J2735_201603DA.ASN issue
These are unmerged lines of code that I forgot adding in pull request #154.
2017-06-29 02:32:14 +08:00
Lev Walkin c7b2edb6e4 Merge pull request #156 from johvik/unused_variable
Add (void) when st is unused
2017-06-27 08:37:37 -07:00