aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1
AgeCommit message (Collapse)Author
2011-02-17Update common_test tests to conform with common_test standardLukas Larsson
2011-02-17Update app_init to init_per_suite to conform with common_test standards.Lukas Larsson
2011-02-17Merge branch 'ks/asn1-dialyzer-fixes' into devNiclas Axelsson
* ks/asn1-dialyzer-fixes: Shut off some dialyzer warnings OTP-9063
2011-02-17Merge branch 'ta/asn1-reporting' into devNiclas Axelsson
* ta/asn1-reporting: asn1ct: Make formatting of errors and warnings consistent OTP-9062
2010-12-06Prepare releaseErlang/OTP
2010-11-26Correct a race-condition during loading of driverKenneth Lundin
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.
2010-11-18Shut off some dialyzer warningsKostis Sagonas
2010-10-05Merge branch 'maint-r13' into devKenneth Lundin
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
2010-10-04Prepare releaseErlang/OTP
2010-10-04Add additional test to cover this correctionKenneth Lundin
2010-09-24correct the encoding of ExtensionAdditionGroupKenneth Lundin
2010-09-23tempKenneth Lundin
2010-09-23Add support for ExtensionAdditionGroup notation in nested types as wellKenneth Lundin
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.
2010-09-13Prepare releaseOTP_R14BErlang/OTP
2010-09-10Remove warnings for clashes with new autoimported BIFsPatrik Nyblom
2010-09-10Merge branch 'kenneth/asn1/docfixes/OTP-8829' into devKenneth Lundin
* kenneth/asn1/docfixes/OTP-8829: Add warning about since long unsupported [{Cname,Val}] repr. of SEQUENCE/SET
2010-09-10Merge branch 'kenneth/asn1/nested_extaddgroup/OTP-8797' into devKenneth Lundin
* kenneth/asn1/nested_extaddgroup/OTP-8797: Add support for ExtensionAdditionGroup notation in nested types as well Conflicts: lib/asn1/test/test_undecoded_rest.erl
2010-09-10Merge branch 'kenneth/asn1/uper_contrained_number/OTP-8779' into devKenneth Lundin
* kenneth/asn1/uper_contrained_number/OTP-8779: Fix bug in UNALIGNED PER regarding encode/decode of constrained number with valuerange > 1024
2010-09-10Add warning about since long unsupported [{Cname,Val}] repr. of SEQUENCE/SETKenneth Lundin
Othe minor corrections as well.
2010-09-07Add support for ExtensionAdditionGroup notation in nested types as wellKenneth Lundin
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.
2010-09-07Merge branch 'mk/net-dragonfly-bsd-patches' into devBjörn Gustavsson
* mk/net-dragonfly-bsd-patches: Remove unused variables Use proper install method Add support for DragonFly BSD Add support for NetBSD
2010-09-06Merge branch 'ta/asn1-test-compile-options' into devBjörn Gustavsson
* ta/asn1-test-compile-options: Fix asn1_SUITE test_compile_options:verbose/1
2010-09-06Merge branch 'ta/asn1ct-fix-whitespace' into devBjörn Gustavsson
* ta/asn1ct-fix-whitespace: asn1ct: change unusual whitespace char from 0xA0 to 0x20
2010-09-01Merge branch 'maint-r13' into devBjörn Gustavsson
* 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
2010-08-27Merge branch 'kenneth/asn1/ExtensionAdditionGroup/OTP-8598' of ↵Erlang/OTP
../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
2010-08-27asn1 tests: Remove duplicated SUITE data directoriesBjörn Gustavsson
Having multiple copies is a maintenance nightmare.
2010-08-26Fix asn1_SUITE test_compile_options:verbose/1Tuncer Ayaz
Match true = lists:prefix/2.
2010-08-25Update of vsn.mk, relnotes and appup for patch in R13B04 trackKenneth Lundin
2010-08-25Add support for Extension addition groupKenneth Lundin
2010-08-23Fix bug in UNALIGNED PER regarding encode/decode of constrained number with ↵Kenneth Lundin
valuerange > 1024 OTP-8779 Thanks to Vincent de Phily
2010-08-18Remove ticket numbers from all vsn.mk filesBjörn Gustavsson
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.
2010-08-13Remove unused variablesMartti Kuparinen
2010-07-12asn1ct: change unusual whitespace char from 0xA0 to 0x20Tuncer Ayaz
Replace 0xA0 with 0x20. Signed-off-by: Tuncer Ayaz <[email protected]>
2010-06-11Update release notesBjörn Gustavsson
2010-06-09Update version for asn1Björn-Egil Dahlberg
2010-05-11Merge branch 'pl/fix-shared-lib-install' into devErlang/OTP
* pl/fix-shared-lib-install: Fix shared libraries installation
2010-05-05asn1ct: Make formatting of errors and warnings consistentTuncer Ayaz
Consistently format warning and error reports. Warning and error options from erlc now also work in asnc1ct. Signed-off-by: Tuncer Ayaz <[email protected]>
2010-04-15Fix shared libraries installationPeter Lemenkov
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]>
2010-04-10Remove gratuitous ok report in asn1ctTuncer Ayaz
asn1ct used to print 'ok' on each compile. Signed-off-by: Tuncer Ayaz <[email protected]>
2010-04-09Merge branch 'ta/asn1-verbose' into devErlang/OTP
* 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.)
2010-04-08Add test for verbose option to asn1_SUITETuncer Ayaz
Test that asn1ct correctly handles verbose option. Signed-off-by: Tuncer Ayaz <[email protected]>
2010-04-08Teach asn1ct verbose optionTuncer Ayaz
Change asn1ct to print verbose information only when asked to. Signed-off-by: Tuncer Ayaz <[email protected]>
2010-03-16Merge branch 'bg/asn1-tests' into devErlang/OTP
* 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
2010-03-11asn1 tests: Let ts:run() build the testsBjörn Gustavsson
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().
2010-03-11asn1 tests: No longer tolerate compilation warningsBjörn Gustavsson
2010-03-11asn1 tests: Eliminate use of deprecated concat_binary/1Björn Gustavsson
2010-03-11asn1 tests: Eliminate warning for an unused variableBjörn Gustavsson
2010-03-11asn1 tests: Modernize guard testsBjörn Gustavsson
2010-03-11asn1 tests: Clean up commentsBjörn Gustavsson
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".
2010-03-11asn1 tests: Don't refer to $ERL_TOP in compiler optionsBjörn Gustavsson
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.