Age | Commit message (Collapse) | Author |
|
The asn1 driver is loaded automatically when first needed.
If several processes in parallel is doing asn1 encode or decode a race
could appear which caused an ERROR report for a crashed process. The
system still worked as intended, but an unnecessary ERROR report is
no good.
|
|
Conflicts:
lib/asn1/doc/src/notes.xml
lib/asn1/test/asn1_SUITE.erl.src
lib/asn1/test/asn1_SUITE_data/extensionAdditionGroup.erl
lib/asn1/test/test_undecoded_rest.erl
lib/asn1/vsn.mk
|
|
|
|
|
|
|
|
|
|
In the previous version support for ExtensionAdditionGroups (i.e [[...]])
was added but it did not handle the occurence of the notation in nested types.
Now this is handled as well and the support is hopefully complete.
Also cleanup of warnings for obsolete guard functions in test suites.
|
|
|
|
|
|
* kenneth/asn1/docfixes/OTP-8829:
Add warning about since long unsupported [{Cname,Val}] repr. of SEQUENCE/SET
|
|
* kenneth/asn1/nested_extaddgroup/OTP-8797:
Add support for ExtensionAdditionGroup notation in nested types as well
Conflicts:
lib/asn1/test/test_undecoded_rest.erl
|
|
* kenneth/asn1/uper_contrained_number/OTP-8779:
Fix bug in UNALIGNED PER regarding encode/decode of constrained number with valuerange > 1024
|
|
Othe minor corrections as well.
|
|
In the previous version support for ExtensionAdditionGroups (i.e [[...]])
was added but it did not handle the occurence of the notation in nested types.
Now this is handled as well and the support is hopefully complete.
Also cleanup of warnings for obsolete guard functions in test suites.
|
|
* mk/net-dragonfly-bsd-patches:
Remove unused variables
Use proper install method
Add support for DragonFly BSD
Add support for NetBSD
|
|
* ta/asn1-test-compile-options:
Fix asn1_SUITE test_compile_options:verbose/1
|
|
* ta/asn1ct-fix-whitespace:
asn1ct: change unusual whitespace char from 0xA0 to 0x20
|
|
* maint-r13:
asn1 tests: Remove duplicated SUITE data directories
Update of vsn.mk, relnotes and appup for patch in R13B04 track
Add support for Extension addition group
Conflicts:
lib/asn1/test/Makefile
lib/asn1/test/asn1_SUITE.erl.src
lib/asn1/vsn.mk
OTP-8598
|
|
../kenneth_otp into HEAD
* 'kenneth/asn1/ExtensionAdditionGroup/OTP-8598' of ../kenneth_otp:
Update of vsn.mk, relnotes and appup for patch in R13B04 track
Add support for Extension addition group
|
|
Having multiple copies is a maintenance nightmare.
|
|
Match true = lists:prefix/2.
|
|
|
|
|
|
valuerange > 1024
OTP-8779
Thanks to Vincent de Phily
|
|
Some application's vsn.mk files contained a list of the ticket
numbers fixed in each version.
Since that information can be obtained from the notes.xml file or
from the merge commits in the git repository (provided that the
branch name includes the ticket number), there is no reason to
manually maintain that information in the vsn.mk files.
|
|
|
|
Replace 0xA0 with 0x20.
Signed-off-by: Tuncer Ayaz <[email protected]>
|
|
|
|
|
|
* pl/fix-shared-lib-install:
Fix shared libraries installation
|
|
Several shared libraries (asn1_erl_drv.so, megaco_flex_scanner_drv_mt.so,
megaco_flex_scanner_drv.so, wxe_driver.so) were installed as data files
previously.
Signed-off-by: Peter Lemenkov <[email protected]>
|
|
asn1ct used to print 'ok' on each compile.
Signed-off-by: Tuncer Ayaz <[email protected]>
|
|
* ta/asn1-verbose:
Add test for verbose option to asn1_SUITE
Teach asn1ct verbose option
OTP-8565 ta/asn1-verbose
By default, the ASN.1 compiler is now silent in the absence of warnings or
errors. The new 'verbose' option or the '-v' option for erlc can be given
to show extra information (for instance, about the files that are generated).
(Thanks to Tuncer Ayaz.)
|
|
Test that asn1ct correctly handles verbose option.
Signed-off-by: Tuncer Ayaz <[email protected]>
|
|
Change asn1ct to print verbose information only when asked to.
Signed-off-by: Tuncer Ayaz <[email protected]>
|
|
* bg/asn1-tests:
asn1 tests: Let ts:run() build the tests
asn1 tests: No longer tolerate compilation warnings
asn1 tests: Eliminate use of deprecated concat_binary/1
asn1 tests: Eliminate warning for an unused variable
asn1 tests: Modernize guard tests
asn1 tests: Clean up comments
asn1 tests: Don't refer to $ERL_TOP in compiler options
OTP-8520 bg/asn1-tests
|
|
Only release the source code and an Emakefile, so that ts:run()
can build the tests just before running them.
The main advantage of building the tests suite like that is
that the turn-around time for developing new test cases are
much faster: just edit the appropriate file and do ts:run().
|
|
|
|
|
|
|
|
|
|
Two modules were clearly copied and adapted from the megaco
test suite. Change the name of the application being tested
in a comment to "asn1" and also remove out-commented code
that refers to "megaco".
|
|
On Windows, $ERL_TOP contains a cygwin-style pathname
that can be used in Makefiles to (for instance) include
other Makefiles, but must not be passed to non-cygwin programs
such as "erlc". Therefore, using compiler options such as
"-I $(ERL_TOP)/lib/test_server/include" will not work on
Windows.
Fix this problem by include "test_server.hrl" using
-include_lib() instead of -include(). That works because
-include_lib() searches for include files in the code path
without the need for any -I options.
|
|
|
|
Some files used by the asn1 test suite had mixed DOS and
Unix line endings.
Noticed-by: Richard Carlsson
|
|
|
|
|
|
added.
|
|
|
|
* tj/asn1_macro_prefix:
Add support for prefixing macro names generated by the compiler
OTP-8453 tj/asn1_macro_prefix
|