Lev Walkin
04a1a615ce
add author
2017-03-26 05:00:02 -07:00
Simo Sorce
798bacfbbe
Remove misleading continue statement
...
The RETURN macro unconditionally returns so there is no chance to "continue".
Unreachable, fund by coverity.
Signed-off-by: Simo Sorce <simo@redhat.com>
2017-03-26 05:00:01 -07:00
Simo Sorce
cd943c243d
The Left variable should be a positive integer
...
The variable Left is supposed to hold only a positive quantity and was
being passed into functions that accept only size_t as input causing coverity
to throw a fit. Using a size_t type for Left works just fine.
Negative Returns, found by coverity.
2017-03-26 05:00:01 -07:00
Simo Sorce
e6b650a0d9
Check and propagate error
...
per_put_few_bits should be checked for errors.
Checked return, fund by coverity.
Signed-off-by: Simo Sorce <simo@redhat.com>
2017-03-26 05:00:01 -07:00
Simo Sorce
9cbd9b850e
Remove dead code.
...
On the previous line we return if cb is Null, so testing cb is worthless.
Dead code, found by coverity.
Signed-off-by: Simo Sorce <simo@redhat.com>
2017-03-26 04:58:06 -07:00
Lev Walkin
2bfb34cb9c
new author
2017-03-26 04:52:06 -07:00
Lev Walkin
419f674aff
Merge pull request #110 from theirix/mistype-enber
...
Fixed a mistype in man
2017-03-26 04:51:55 -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
Vasil Velichkov
9e935ae7d3
Send code coverage reports to coveralls.io
...
See https://github.com/eddyxu/cpp-coveralls
2017-03-26 04:47:14 -07:00
Vasil Velichkov
d82f77b2d2
Fix few duplicate 'const' warnings
...
error: duplicate 'const' [-Werror=edantic]
2017-03-26 04:46:00 -07:00
Vasil Velichkov
1144b350f3
When -Wpedantic is not supported try the -pedantic instead
...
GCC prior to 4.8 does not supprot -Wpedantic.
See https://gcc.gnu.org/gcc-4.8/changes.html
The travis-ci currently builds with gcc-4.6.3
$ gcc --version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
2017-03-26 04:42:26 -07:00
Vasil Velichkov
3b434ca548
Exclude test files from the code coverage report
...
Link asn1c/tests with libasn1cskeletons.a in order to improve
skeletons coverage. When the skeleton files are copied the lcov will
report coverage for each copy separatly.
2017-03-26 04:42:26 -07:00
Vasil Velichkov
e318759ef2
Add code coverage using lcov and gcov
...
To generate the code coverage report you need gcov and lcov installed
and then execute
./configure --enable-code-coverage
make check-code-coverage
Writing directory view page.
Overall coverage rate:
lines......: 76.5% (10519 of 13759 lines)
functions..: 85.5% (491 of 574 functions)
branches...: 57.5% (7040 of 12250 branches)
file:///home/user/asn1c/asn1c-0.9.28-coverage/index.html
Open the index.html with a web browser
2017-03-26 04:42:26 -07:00
Lev Walkin
b98b286d7b
more authors
2017-03-26 04:12:35 -07:00
Lev Walkin
47c8e47506
Merge pull request #104 from velichkov/asn1c_make_identifier_segfault
...
Fix segmentation fault in asn1c_make_identifier
2017-03-26 04:12:27 -07:00
Lev Walkin
06a37c85d9
more authors
2017-03-26 04:07:56 -07:00
Lev Walkin
110fc0d802
Merge pull request #102 from daa/master
...
Use wide types to decode x509 certificate in examples, solves #47
2017-03-26 04:07:09 -07:00
Lev Walkin
0ed483dbb6
more authors
2017-03-26 04:06:11 -07:00
Lev Walkin
f3a100974d
Merge pull request #128 from akire/windows-universal-build
...
Windows universal build
2017-03-26 04:04:43 -07:00
Lev Walkin
e088a2b07a
Merge branch 'master' into windows-universal-build
2017-03-26 04:04:32 -07:00
Lev Walkin
9e0bf1b87a
refer to defined macro
2017-03-26 04:03:43 -07:00
Lev Walkin
2e8ee8d5be
Merge pull request #96 from brchiu/fix_declaration_inside_parameter_list_warning
...
Fix 'declaration inside parameter list' warning
2017-03-26 04:01:01 -07:00
Lev Walkin
4aa1e96d44
regenerated for version bump
2017-03-26 03:56:53 -07:00
Lev Walkin
fc9687925f
author fix
2017-03-26 03:52:57 -07:00
Lev Walkin
7e6775786d
Merge pull request #90 from brchiu/fix_escape_character_missing
...
Solve "make check-per" failed on Lubuntu
2017-03-26 03:51:30 -07:00
Lev Walkin
d27d5b5e72
Merge pull request #89 from brchiu/unify_specs_variable_name
...
Unify the naming of asn_OCTET_STRING_specifics_t variables
2017-03-26 03:50:37 -07:00
Lev Walkin
a964e03306
removed more unnecessary checks
2017-03-26 03:48:48 -07:00
Lev Walkin
fa9bb6dcfd
version bump
2017-03-26 03:48:47 -07:00
Lev Walkin
98c6b31eca
Merge pull request #87 from elfring/Remove_unnecessary_checks1
...
Delete unnecessary checks before some function calls
2017-03-26 03:43:23 -07:00
Lev Walkin
792b22b912
date
2017-03-26 03:29:55 -07:00
Lev Walkin
f43b5025ae
include INSTALL into distribution
2017-03-26 03:25:57 -07:00
Lev Walkin
997d4c78e6
copyright info
2017-03-26 03:16:05 -07:00
Lev Walkin
9413414cdd
better dir
2017-03-26 03:11:02 -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
Lev Walkin
73d449d49c
Merge branch 'master' of github.com:vlm/asn1c
2016-12-02 11:36:53 -08:00
Lev Walkin
ba3a148eb1
recognize contributors
2016-12-02 11:36:33 -08:00
Lev Walkin
f95c499d33
fix generated comments thanks to mkhon@github and Ymbirtt@github
2016-12-02 11:35:00 -08:00
Lev Walkin
f3ecbcaaf2
Merge pull request #75 from devjoa/master
...
Fixed debug logging bug in per_get_few_bits.
2016-12-02 11:25:05 -08:00
Erika Thorsen
2aa10de1a8
Only remove __attributes__ in Windows builds
2016-11-28 08:35:08 +01:00
Bi-Ruei, Chiu
385cbe03d6
Solve "make check-per" failed on Lubuntu
2016-11-15 21:00:27 +08:00
Erika Thorsen
afea72f494
Include stdint.h instead of typedef types if Visual Studio 2010 or newer.
2016-11-14 07:55:19 +01:00
Erika Thorsen
8723dc7337
Removed __attribute__ since its not Windows compliant
2016-11-14 07:54:43 +01:00
Bi-Ruei, Chiu
419ac3a6ce
Unify the naming of asn_OCTET_STRING_specifics_t with code-generated
...
'_specifics_t' variables to have 'asn_SPC_' prefix instead of 'asn_DEF_'
prefix.
2016-11-09 20:38:41 +08:00
Lev Walkin
d6a741287b
formatting
2016-08-02 04:07:51 -07:00
Lev Walkin
4bf28a8e1b
formatting
2016-08-02 04:07:40 -07:00
Lev Walkin
4af4112b9d
formatting
2016-08-02 04:06:36 -07:00
Lev Walkin
657dbe7210
formatting
2016-08-02 04:05:48 -07:00
Lev Walkin
83b52d8fdb
INSTALL -> INSTALL.md
2016-08-02 04:03:03 -07:00
Lev Walkin
93ed494210
Merge branch 'master' of github.com:vlm/asn1c
2016-08-02 03:54:39 -07:00
theirix
34ee7fbed9
Fixed a mistype in man
2016-07-30 17:23:32 +03:00