Commit Graph

388 Commits

Author SHA1 Message Date
Vasil Velichkov e5006dc658 Add check64-134.-gen-PER.c to EXTRA_DIST
becuse the `make dist` does not include it in the archive and
`make distckeck` fails on 64bit systems
2016-12-13 18:13:23 +02:00
Lev Walkin f95c499d33 fix generated comments thanks to mkhon@github and Ymbirtt@github 2016-12-02 11:35:00 -08:00
Bi-Ruei, Chiu 4661dae415 Free memory allocated in importStandardModules() 2016-11-09 00:59:41 +08:00
Bi-Ruei, Chiu b9adfc5f91 Free memory allocated in various functions
1. Add 'ref_cnt' field to asn1p_expr_t.
2. Initialize 'ref_cnt' field to zero when asn1p_expr_t is allocated.
3. Increase 'ref_cnt' field when asn1p_expr_t is cloned by asn1p_value_fromtype().
4. If 'ref_cnt' field of asn1p_expr_t is larger than zero, then asn1p_expr_free() only decrease its value.
5. Free memory pointed by fields of asn1p_expr_t and itself when 'ref_cnt' is zero and asn1p_expr_free() called.
6. Call asn1p_delete(asn) in main().
2016-11-09 00:17:25 +08:00
Lev Walkin 93ed494210 Merge branch 'master' of github.com:vlm/asn1c 2016-08-02 03:54:39 -07:00
Vasil Velichkov b97d65a2b9 Fix test execution on RHEL7
The `make check` was failing with

make[3]: Entering directory `/home/asn1c/asn1c_github/asn1c/tests'
../../config/test-driver: invalid option: '-C'
Usage:
  test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
              [--expect-failure={yes|no}] [--color-tests={yes|no}]
              [--enable-hard-errors={yes|no}] [--] TEST-SCRIPT
The '--test-name', '--log-file' and '--trs-file' options are mandatory.
make[3]: *** [check-src/check-03.-fwide-types.c.log] Error 2
2016-07-18 20:21:08 +03:00
Lev Walkin e9b0fd77c9 some shellcheck recommendations 2016-07-03 00:10:07 -07:00
Lev Walkin 344520699c oops; fixed argument substitution 2016-07-03 07:06:42 +00:00
Lev Walkin 92876d38dd checked with shellcheck 2016-07-03 00:00:41 -07:00
Lev Walkin f6e4fc9f22 make distcheck works now 2016-07-02 23:44:40 +00:00
Lev Walkin d8cc847d87 working better with new automake test suite driver 2016-07-02 23:33:32 +00:00
Lev Walkin f379fe3ac9 check-src has its own extra_dist 2016-03-14 04:30:27 -07:00
Lev Walkin 41a1da63e5 autoformatted (no semantic change) 2016-01-23 08:59:04 -08:00
Lev Walkin 438fe8796f avoid compile warning 2016-01-23 08:32:57 -08:00
Lev Walkin c6080fdd93 generate manual pages from Markdown instead of writing directly 2016-01-23 06:35:34 -08:00
Lev Walkin 62913d8b8e ?= was confusing some environments 2015-04-27 23:37:35 -07:00
Lev Walkin 288527ba84 formatting and English 2014-10-26 20:12:53 -07:00
Lev Walkin 47a6ae6b79 add -fincludes-quoted and -fline-refs into manual page 2014-10-23 02:16:21 -07:00
Lev Walkin e687e75833 man page formatting 2014-10-23 02:07:54 -07:00
Lev Walkin db361a6b08 remove capitalization 2014-10-23 00:30:47 -07:00
Lev Walkin 3278995748 merged patch #31 2014-10-12 18:51:52 -07:00
Lev Walkin 7102b52a5d copyright years 2014-10-12 17:46:32 -07:00
Lev Walkin 1b03c79368 removed autotools intermediate files from source code; use autoreconf -iv. 2014-10-12 17:31:26 -07:00
Lev Walkin 3c7ac6cc93 conditional debug 2014-09-17 01:24:10 -07:00
Lev Walkin 15d38f45df limit debug output log 2014-09-17 01:19:31 -07:00
Lev Walkin 58ecc7b4e3 disable long debug output and implement --enable-ASN_DEBUG to restore old behavior 2014-09-17 00:32:03 -07:00
Lev Walkin 68e9445009 non-standard options removed 2014-09-17 00:15:57 -07:00
Lev Walkin 64ea496c41 too non-standard option removed (set -o pipefail) 2014-09-16 23:40:26 -07:00
Lev Walkin 65907f0750 portability fixes 2014-09-14 17:20:51 -07:00
Lev Walkin e0d321a650 version 0.9.26 2014-09-11 01:28:57 -07:00
Lev Walkin b40ec41655 do not check certain features on non-64 systems 2014-02-24 00:57:18 -08:00
Lev Walkin 1550e5c94e change type width detection logic 2014-02-10 11:07:14 -08:00
Lev Walkin 58b74eb570 add signed integer tests for test 134 2014-02-10 09:24:39 -08:00
Lev Walkin 6c52784de1 PER-encoding of integers wider than 32 bits 2014-02-09 04:34:54 -08:00
Lev Walkin ea55215e3c split ADD_CFLAGS and TESTSUITE_CFLAGS 2014-01-14 02:15:13 -08:00
Lev Walkin f84cc014d4 check cc flags viability before setting them 2014-01-14 02:12:24 -08:00
Lev Walkin fb2a30b8c6 remove pointer sign warnings 2014-01-14 02:11:37 -08:00
Lev Walkin 5b63acf7aa remove errors with ./configure --enable-Werror 2014-01-14 01:48:37 -08:00
Lev Walkin aef10c36f7 upgrade autotools 2014-01-14 01:47:25 -08:00
Lev Walkin f65e937759 additional PER test 2013-10-17 13:04:57 -07:00
Lev Walkin 4062b01cd5 add -fline-refs 2013-10-11 14:29:38 -07:00
Frank Morgner 92096162d2 check for alloca 2013-05-21 11:38:04 +02:00
Lev Walkin b7c40b6a0d typos and format string fixes 2013-03-28 05:54:12 -07:00
Lev Walkin 1715b32c87 format and signedness mismatch fixes 2013-03-28 04:02:13 -07:00
Lev Walkin bbc78f6872 fix ilogb problem on ubuntu: libm precedence 2013-03-28 01:37:17 -07:00
Lev Walkin 2a744a7470 Behavior of -fnative-types made default; old behavior saved under -fwide-types 2013-03-27 01:56:23 -07:00
Lev Walkin 2655eb3f05 deprecate -fskeletons-copy; this option is now a default; use -flink-skeletons for old behavior 2013-03-25 19:09:04 -07:00
Lev Walkin 47189a7e86 make unber compilable by satisfying dependency. 2013-03-25 18:54:22 -07:00
Lev Walkin 0ff7129040 remove warnings 2013-03-25 18:51:51 -07:00
Lev Walkin e14480fa0b fix https://sourceforge.net/p/asn1c/bugs/51/ 2013-03-24 03:28:00 -07:00
Lev Walkin 3e0b0f2dd3 explicitly make debug available for tests 2013-03-19 17:16:58 -07:00
Lev Walkin a396be9ca0 removed unused declaration 2013-03-19 13:17:09 -07:00
Lev Walkin aed43c8bcc fix parsing for OID and RELATIVE-OID 2012-09-04 15:08:46 -07:00
Lev Walkin 46dac08273 fix description of behavior 2012-09-04 14:53:21 -07:00
Lev Walkin 44bb01e7aa clarify README 2012-09-04 14:39:37 -07:00
Lev Walkin 69b4f1239d remove inconsequential webcgi subproject 2012-09-04 01:37:14 -07:00
Lev Walkin 5df59a52f7 simplify README 2012-09-03 02:59:37 -07:00
Lev Walkin d7703cf7ce remove warnings 2012-09-03 01:45:03 -07:00
Lev Walkin b3751947cb upgrade autotools 2012-09-02 19:36:47 -07:00
Lev Walkin 936595643a WIN32 -> _WIN32; see http://predef.sourceforge.net/preos.html#sec25 2010-11-20 09:47:13 -08:00
Lev Walkin e7c4b96655 update automake and move doc -> docsrc 2010-11-09 03:26:07 -08:00
Lev Walkin 4c776e5921 aclocal-1.10 2010-11-08 02:14:14 -08:00
Lev Walkin 190419b23c PER decoding of open types fix 2010-10-25 19:19:17 -07:00
Lev Walkin ffe79f4450 Enumeration constraints relaxed 2010-10-25 00:10:34 -07:00
Lev Walkin 51270a782a CLEANFILES does not do recursive rm 2010-10-24 16:57:14 -07:00
Lev Walkin 38f9b36f61 svn rm is not needed 2010-10-20 18:32:05 -07:00
Lev Walkin 4da95cf66c newer version of build tools 2010-10-16 03:18:57 -07:00
Lev Walkin 96deff860a Newer way to address distributable scripts 2010-10-16 02:29:50 -07:00
Lev Walkin 34944f2afb Added -fincludes-quoted to generate #includes in double instead of <angle> quotes. 2010-10-07 08:25:37 +00:00
Lev Walkin 8bb57a29c1 unsigned integer of 32-bit widtth support for per 2007-12-03 13:41:36 +00:00
Lev Walkin a9e8026e6f Windows patch by Cyril Pertsev 2007-11-13 22:29:18 +00:00
Lev Walkin a105cbc368 32-bit integer decode/encode in per 2007-11-06 02:35:13 +00:00
Lev Walkin 27fd0b6a46 upgraded compatibility 2007-08-27 23:57:45 +00:00
Lev Walkin 08afe612de regeneration 2007-07-23 06:49:56 +00:00
Lev Walkin 7c87eef208 more test items 2007-06-29 01:43:34 +00:00
Lev Walkin 8032f7ab44 optionality handling 2007-06-27 01:54:57 +00:00
Lev Walkin 9774fd15fe -X 2007-06-27 01:53:06 +00:00
Lev Walkin a2987ea6f9 instrumentation 2007-06-26 23:56:54 +00:00
Lev Walkin c60d08ff5d new data 2007-06-26 23:54:13 +00:00
Lev Walkin ac6db37b7c new twists 2007-06-26 10:14:11 +00:00
Lev Walkin 9fdabb8eaf new data 2007-06-26 09:55:21 +00:00
Lev Walkin b4326de2b0 diverging 2007-06-26 09:54:17 +00:00
Lev Walkin 70e3d2644d special 2007-06-26 09:43:52 +00:00
Lev Walkin b02e09e7f4 -C 2007-06-26 09:25:38 +00:00
Lev Walkin c9a7847744 2007-06-26 06:47:18 +00:00
Lev Walkin fcb0efb0ab testing 2007-06-26 06:46:31 +00:00
Lev Walkin 06bf7ccb9f reautomakified 2007-06-24 09:13:16 +00:00
Lev Walkin 73a5cc6587 complex data 2007-06-24 08:45:31 +00:00
Lev Walkin 7608b04e96 more tests 2007-06-24 08:45:10 +00:00
Lev Walkin 7ed259801c added tests 2007-06-24 08:38:34 +00:00
Lev Walkin eb08cb2f38 2007-06-24 08:34:58 +00:00
Lev Walkin bfcd9a4063 2007-06-24 08:24:47 +00:00
Lev Walkin 999543ee6e per encoding must fail 2007-06-24 08:08:45 +00:00
Lev Walkin 9eab80e34d 2007-06-24 08:06:53 +00:00
Lev Walkin f55a6dde54 encoding per sequence 2007-06-24 00:35:51 +00:00
Lev Walkin 62258e25ff extensibility in SEQUENCE uper writer 2007-06-23 23:50:25 +00:00
Lev Walkin 788490db7b comments 2007-06-23 23:36:51 +00:00
Lev Walkin d49ea28392 new PER tests 2007-06-23 20:18:15 +00:00
Lev Walkin e72d05e122 new PER tests 2007-06-23 20:18:06 +00:00
Lev Walkin 8d3ee39f2d new PER tests 2007-06-23 20:17:58 +00:00