Commit Graph

57 Commits

Author SHA1 Message Date
Lev Walkin 7765d4171a Merge branch 'master' of github.com:vlm/asn1c 2017-08-24 13:30:53 -07:00
Lev Walkin 41d972b80f do not add uper if not enabled 2017-08-23 23:30:59 -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 53e5ae6524 honor contract wrt zero-termination 2017-08-23 10:56:19 -07:00
Lev Walkin cd2f48eb5a structure comparison functions 2017-08-10 02:52:25 -07:00
Lev Walkin 494fb707a7 fix warnings 2017-08-07 20:07:08 -07:00
Lev Walkin b33425f16b fix OER stubs order 2017-08-02 13:32:18 -07:00
Lev Walkin 7678076f34 introduce oer constraint code 2017-08-02 13:32:16 -07:00
Lev Walkin cc1594746a add skeleton OER stubs 2017-08-02 13:32:16 -07:00
Lev Walkin 80334ed5db guard PER references 2017-07-06 07:28:21 -07:00
Vasil Velichkov adf6594053 Fix "_BSD_SOURCE" redefined warning
../../skeletons/GeneralizedTime.c:7:0: warning: "_BSD_SOURCE" redefined [enabled by default]
 #define _BSD_SOURCE     /* for timegm(3) */
2017-03-26 04:47:14 -07:00
Lev Walkin 7c1dc05f0e do not use reserved identifiers, contd 2016-03-14 03:08:19 -07:00
Lev Walkin 8ca13c8a98 test subnormals 2016-01-24 22:40:00 -08:00
Wim Lewis 18c2ec9f1d Declare the tags[] tables in skeletons as const.
Constify the PER support structure.
Constify a few other private tables in the skeleton code.
2014-07-29 11:30:10 -07:00
Lev Walkin daeb2160cc use isfinite() or finite() depending on availability 2014-01-13 23:08:35 -08:00
Lev Walkin 73823e1ff2 add finite on ubuntu 2013-03-28 00:24:48 -07:00
Lev Walkin e9360e6f30 fix ilogb error on ubuntu 2013-03-28 00:21:57 -07:00
Lev Walkin b89b340e04 comment fix 2012-01-09 18:26:30 -08:00
Lev Walkin 5fda7d5e93 Testing ISO 6093 NR1/NR2/NR3 conformance 2012-01-09 05:06:45 -08:00
Lev Walkin 749916f94f comments about robusness; removed Amendment reference 2012-01-07 17:03:39 -08:00
Lev Walkin 5fe72e9d6c test encoding of special values 2012-01-07 17:00:29 -08:00
Lev Walkin 78d917d5c1 rare memory leak fixed 2012-01-07 15:29:08 -08:00
Lev Walkin 0959ffb20c Fix decoding of REAL values in NR3.
The NR3 form of values is used by Erlang to communicate REAL data.
2011-06-25 15:48:52 -07:00
Lev Walkin e78753d501 REAL fixed; verify constraints as well 2007-06-23 17:02:00 +00:00
Lev Walkin 50b0f6ccd2 gcc-izm removed 2006-10-16 12:01:36 +00:00
Lev Walkin 725883b28d more PER support 2006-10-09 12:07:58 +00:00
Lev Walkin 419f6757b4 clarity 2006-09-13 04:02:00 +00:00
Lev Walkin 523de9eba2 per support 2006-08-18 01:34:18 +00:00
Lev Walkin 59b176ee35 upgrade: PER related changes 2005-11-26 11:25:14 +00:00
Lev Walkin abde4f49c5 *** empty log message *** 2005-11-13 09:49:05 +00:00
Lev Walkin 2f50502973 floating point defines moved to asn_system.h from REAL.c 2005-07-01 08:28:18 +00:00
Lev Walkin a57953d7dc WIN32 portability changes 2005-06-15 19:01:45 +00:00
Lev Walkin 77aa90fb86 scalbn() -> ldexp() for portability 2005-04-28 22:56:36 +00:00
Lev Walkin f0b808da30 BASIC-XER value printing fixed for REAL values 2005-04-25 21:08:25 +00:00
Lev Walkin fc77643765 globalized assert() 2005-03-29 17:21:14 +00:00
Lev Walkin 8c3b854016 added const qualifier 2005-03-10 18:52:02 +00:00
Lev Walkin 0fab1a6fed relaxed XER processing rules for whitespace 2005-03-09 22:19:25 +00:00
Lev Walkin e0b56e0d58 XMLValueList support 2005-02-25 12:10:27 +00:00
Lev Walkin c17d90fb50 no lvalue casting 2005-01-17 14:32:45 +00:00
Lev Walkin 1aea698396 fight with signalling NANs and floating point exceptions on alpha64 2004-10-26 09:35:25 +00:00
Lev Walkin 3370016588 alpha64 2004-10-26 09:03:31 +00:00
Lev Walkin 8471ceca4f brushing up 2004-10-21 14:02:19 +00:00
Lev Walkin 5f56091cc6 XER decoding of a REAL 2004-10-21 13:37:57 +00:00
Lev Walkin dc06f6b0d2 XER support 2004-10-20 15:50:55 +00:00
Lev Walkin a460ba3f01 things necessary for Sun Solaris 9 @ sparc 2004-10-20 15:40:04 +00:00
Lev Walkin 942fd08131 allow local cleanup 2004-10-03 09:13:02 +00:00
Lev Walkin 5e03376b84 asn1_* renamed into asn_* 2004-09-29 13:26:15 +00:00
Lev Walkin ae1bce994c real_zero moved up 2004-09-27 22:18:34 +00:00
Lev Walkin c51e7d67a2 infinity handling 2004-09-27 22:16:18 +00:00
Lev Walkin 2a789d9e62 nan handling 2004-09-27 21:36:59 +00:00