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
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
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
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
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
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
4087683d67
Merge pull request #158 from johvik/duplicate_const
...
Fix duplicate 'const' warnings
2017-06-27 08:28:49 -07:00
johvik
e70c40724c
Fix duplicate 'const' warnings
...
Since the typedef of asn_INTEGER_specifics_t also contains a const the
compiler complained about:
"warning: duplicate ‘const’ [-Wpedantic]"
2017-05-09 11:06:12 +02:00
Bi-Ruei, Chiu
80fd3065f4
Merge PR99 and its fixes to support parsing Information Object and Information Object Set
...
This is a collection of works :
1. Based on @zhanglei002's pull request 99.
2. A fix by @AuthenticEshkinKot and merged by @mouse07410 at
commit 2c8d366bbe1fc4e4c041e9b0eb9779f8a42d754b of https://github.com/mouse07410/asn1c
to support parsing of Information Object and Information Object Set
3. A fix by @Uri Blumenthal in asn1fix_derefv.c at :
commit ec0ade4f87c807e763e3f35fc5466adb6dda3473 of https://github.com/mouse07410/asn1c
to solve crash on asn1p_value_free().
4. My pull request 18 to @mouse07410's https://github.com/mouse07410/asn1c to solve
problems found during parsing ASN.1 modules of S1AP, RANAP and J2735-201603.
5. My pull request 22 to @mouse07410's https://github.com/mouse07410/asn1c to solve issue 147
and to solve the problem during parsing ASN.1 module of NBAP.
6. My pull request 23 to @mouse07410's https://github.com/mouse07410/asn1c to fix memory leakage
introduced in aforementioned commits.
Most code changes are the same as pull request 153 to this repository.
7. A fix of my bug in item 6 which result asn1c crash, fixed by @mouse07410.
2017-05-07 22:20:30 +08:00
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