Commit Graph

154 Commits

Author SHA1 Message Date
johvik 792216e97f Skip last comma when there are no extensions
This is to get rid of the GCC warning:
"warning: comma at end of enumerator list [-Wpedantic]"
2017-04-11 10:42:21 +02:00
Lev Walkin fbbe4edc8e Merge pull request #126 from brchiu/fix_some_leak_reported_by_valgrind
Fix many memory leaks reported by valgrind
2017-03-26 05:55:00 -07:00
Bi-Ruei, Chiu 9b87e5b095 Fix 'declaration inside parameter list' warning
1. Add forward definition section.
2. Move type definition inside A_SEQUENCE_OF() to forward definition section.
3. Modify asn1c_lang_C_type_CHOICE() ...etc functions to achieve it.
4. Modify test cases used during 'make check'.
2017-03-15 16:18:46 +08:00
Bi-Ruei, Chiu 9b78083824 Free memory allocated in asn1c_compiled_output() and asn1c_lang_C_type_SEx_OF_def() 2016-11-07 22:19:10 +08:00
Bi-Ruei, Chiu 12021b53b8 Free memory pointed by tag2el, tag2el_cxer and source_file_name 2016-11-04 11:59:45 +08:00
Lev Walkin d8b8364c8a removed unneeded check before free() 2016-03-14 02:00:27 -07:00
Lev Walkin 0f2624523b bit strings also can haz members 2016-01-10 13:33:08 -08:00
Lev Walkin 1b3a135184 fix compiler warnings 2016-01-10 13:15:02 -08:00
Wim Lewis fb6344ef75 Declare most internal, constant tables as const, particularly the
"specifics" structures and the tables they point to.
2014-07-28 12:16:01 -07:00
Lev Walkin 6169b8d565 fix default constraint checking 2013-12-07 11:02:44 -08:00
Lev Walkin 4062b01cd5 add -fline-refs 2013-10-11 14:29:38 -07:00
Lev Walkin 1715b32c87 format and signedness mismatch fixes 2013-03-28 04:02:13 -07:00
Lev Walkin 8bb57a29c1 unsigned integer of 32-bit widtth support for per 2007-12-03 13:41:36 +00:00
Lev Walkin 63b4126c09 C90-compliant negative LONG_MIN 2007-11-06 01:48:46 +00:00
Lev Walkin 8032f7ab44 optionality handling 2007-06-27 01:54:57 +00:00
Lev Walkin 33af5c3ef1 extensibility fix 2007-06-23 20:05:49 +00:00
Lev Walkin 3a4689a7da BMPString and UniversalString support 2006-11-24 11:20:27 +00:00
Lev Walkin 9ab21b8984 Fixed explicit tagging of an in-lined constructed type. 2006-10-19 02:46:01 +00:00
Lev Walkin 07aaa34e7d choice constraint generation duplication dropped 2006-10-09 12:52:15 +00:00
Lev Walkin 4b5dae3d64 diffs 2006-10-09 12:27:44 +00:00
Lev Walkin 725883b28d more PER support 2006-10-09 12:07:58 +00:00
Lev Walkin 729eb86bb0 generate PER code tables for known-multiplier strings 2006-09-21 01:50:13 +00:00
Lev Walkin 8c2ca0b088 XER reference types encoding error 2006-09-17 06:31:08 +00:00
Lev Walkin 22b5ed4142 *** empty log message *** 2006-09-13 02:51:20 +00:00
Lev Walkin 0f8d4a4145 tolerate bit string extensibility 2006-08-26 03:29:15 +00:00
Lev Walkin c46b7cb500 *** empty log message *** 2006-08-18 02:27:55 +00:00
Lev Walkin 11380fba0c *** empty log message *** 2006-08-18 01:38:40 +00:00
Lev Walkin 1dc8529923 *** empty log message *** 2006-08-18 01:32:26 +00:00
Lev Walkin 1eded3544e *** empty log message *** 2006-07-13 11:19:01 +00:00
Lev Walkin 171487e6ed some more parameterization 2006-03-21 07:25:18 +00:00
Lev Walkin a00d6b3714 refactored parameterization support 2006-03-21 03:40:38 +00:00
Lev Walkin 59b176ee35 upgrade: PER related changes 2005-11-26 11:25:14 +00:00
Lev Walkin d1bfea65a0 SET OF/SEQUENCE OF interaction with named and unnamed CHOICE 2005-11-08 03:06:16 +00:00
Lev Walkin ac760bf5b9 SET mandatory map generation 2005-10-05 08:59:03 +00:00
Lev Walkin ae7bf3fbe8 YuanMeng was very helpful in finding these 2005-08-29 10:31:14 +00:00
Lev Walkin b85a8135da automatic dependency tracking 2005-08-18 13:38:19 +00:00
Lev Walkin da9a3b8a39 more words on circular references 2005-08-16 17:00:21 +00:00
Lev Walkin 0f5d74c6d3 unions are not anonymous 2005-08-14 15:03:31 +00:00
Lev Walkin 082cadcaaa PER visible constraints are used to select the native representation for INTEGER types 2005-08-14 02:18:27 +00:00
Lev Walkin b02a883595 BIT STRING enumerations 2005-08-13 23:51:47 +00:00
Lev Walkin 414b078337 generating enumeration tables for INTEGER types 2005-08-13 23:30:24 +00:00
Lev Walkin 72a0f5a1fa -findirect-choice 2005-07-24 08:28:39 +00:00
Lev Walkin f3b29b1fa8 no empty maps 2005-06-02 05:21:37 +00:00
Lev Walkin 7ef83a454f deeper validation 2005-03-29 19:04:24 +00:00
Lev Walkin dd1512ec09 added const qualifiers 2005-03-17 21:56:00 +00:00
Lev Walkin 12d8c496eb proper handling 2005-03-10 13:44:47 +00:00
Lev Walkin 01633091bb clearer separation 2005-03-05 00:08:41 +00:00
Lev Walkin bf56d5495e removed suprtfluous stuff 2005-03-04 23:50:56 +00:00
Lev Walkin caf0d5a755 proper handling of reserved identifiers 2005-03-04 23:48:19 +00:00
Lev Walkin 6938d0446b refactoring 2005-03-04 23:23:50 +00:00
Lev Walkin fe7f6ecddd *** empty log message *** 2005-03-04 22:38:22 +00:00
Lev Walkin c8285715f6 support for a class of circular references 2005-03-04 22:18:20 +00:00
Lev Walkin c6544d7c01 do not print line numbers as they screw up dependency management 2005-03-04 08:59:41 +00:00
Lev Walkin 4604d03d98 retaining old file if contents are the same 2005-03-04 08:52:50 +00:00
Lev Walkin 21d0000937 -fcompound-names 2005-03-04 08:48:53 +00:00
Lev Walkin 4e319f028e rename 2005-03-03 21:58:28 +00:00
Lev Walkin 8ecf9db10e INTEGER prohibited by 8.3.4 2005-03-03 21:28:12 +00:00
Lev Walkin e0b56e0d58 XMLValueList support 2005-02-25 12:10:27 +00:00
Lev Walkin ce31cdb7d5 member -> Member 2005-02-15 03:37:42 +00:00
Lev Walkin 152a91e455 modified Member name to guarantee it won't clash with user-defined "identifier" 2005-02-14 20:41:29 +00:00
Lev Walkin 432f504d38 SET OF XER support 2005-02-14 20:29:54 +00:00
Lev Walkin bde42dd67c SET is now supported 2005-02-14 19:23:09 +00:00
Lev Walkin 801fabc3e1 checking reserved keywords and double identifiers 2005-01-28 12:18:50 +00:00
Lev Walkin b7bfd1a097 changed wording 2005-01-17 12:16:58 +00:00
Lev Walkin b0b3341de0 more comments 2005-01-17 11:57:48 +00:00
Lev Walkin 659c63b746 extensions in CHOICE types properly marked 2005-01-17 11:40:49 +00:00
Lev Walkin 61b40d81b7 CHOICE XER decoder 2004-10-23 15:07:45 +00:00
Lev Walkin ca47c29a2a some XER support 2004-10-23 13:34:00 +00:00
Lev Walkin dc06f6b0d2 XER support 2004-10-20 15:50:55 +00:00
Lev Walkin 33d5d3c28a order tables for CANONICAL-XER 2004-10-03 09:13:30 +00:00
Lev Walkin 05363a77e3 renamed asn1_ into asn_; support for cross-referenced types 2004-09-29 13:16:40 +00:00
Lev Walkin 8de2ab2f34 -fno-constraints support; removed last_tag_form 2004-09-26 13:11:31 +00:00
Lev Walkin 33c16ba733 PRIdASN instead of lld 2004-09-24 21:01:43 +00:00
Lev Walkin b65b30055c change of message 2004-09-23 22:20:47 +00:00
Lev Walkin a9cc46e3f3 XER support 2004-09-22 16:06:28 +00:00
Lev Walkin 8dd0eedc2d better type naming 2004-09-17 06:32:12 +00:00
Lev Walkin 0204fa6322 marker definition changed 2004-09-15 11:54:38 +00:00
Lev Walkin 6d1220a68c cleanup before proceeding 2004-09-14 14:10:10 +00:00
Lev Walkin c78cbfbd7a REAL support 2004-09-14 12:47:45 +00:00
Lev Walkin 188ed2c714 inner structures tagging fix. see 0.9.5 comment in ChangeLog 2004-09-13 08:31:01 +00:00
Lev Walkin 906654e1d7 refactored tagging support 2004-09-10 15:49:15 +00:00
Lev Walkin b918973b71 more explicit ANY support 2004-09-10 09:37:12 +00:00
Lev Walkin cc93b0f1c5 distinction between an optional member and a member encoded with a pointer 2004-09-10 09:18:20 +00:00
Lev Walkin c3e29404e7 new tags api 2004-09-10 06:07:18 +00:00
Lev Walkin 5a8219a11e better handling of recursive definitions 2004-09-08 00:28:57 +00:00
Lev Walkin dd32b592e2 -fall-defs-global 2004-09-06 08:07:29 +00:00
Lev Walkin ac7e229e9e integrated ANY support 2004-09-05 10:42:33 +00:00
Lev Walkin 201943ebcd support for ANY type 2004-09-04 04:42:29 +00:00
Lev Walkin 9729878b97 forgot to add return 2004-08-26 06:20:34 +00:00
Lev Walkin 59964bed64 refactoring 2004-08-25 02:03:12 +00:00
Lev Walkin 08079b0128 COMPONENTS OF support 2004-08-22 03:25:24 +00:00
Lev Walkin 59004fad9c new constraints generation method 2004-08-20 13:37:01 +00:00
Lev Walkin 84cd58ecfb constraint checking code 2004-08-19 13:29:46 +00:00
Lev Walkin d83fae9df7 ASN_ERRLOG api changed 2004-08-12 07:56:02 +00:00
Lev Walkin 64399727b7 Win32 portability fixes 2004-08-11 07:17:22 +00:00
Lev Walkin 3dcaafa32e removed duplicate includes; moved CHOICE enumeration to higher level 2004-08-11 05:21:32 +00:00
Lev Walkin 356314872a extensibility check 2004-07-01 00:52:50 +00:00
Lev Walkin 27ea3808ef fixes 2004-06-28 21:13:46 +00:00
Lev Walkin 38abe79f25 hints for run-time parser 2004-06-14 13:09:45 +00:00
Lev Walkin fd171ef359 tag2member map required for SEQUENCE 2004-06-06 07:20:17 +00:00