aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src
AgeCommit message (Collapse)Author
2011-09-23Merge branch 'dev' into majorLukas Larsson
* dev: Update ber_bin and ber_bin_v2 to return binaries
2011-09-23Merge branch 'lukas/asn1/fix_ber_other_testcase/OTP-9573' into devLukas Larsson
* lukas/asn1/fix_ber_other_testcase/OTP-9573: Update ber_bin and ber_bin_v2 to return binaries
2011-09-23Update ber_bin and ber_bin_v2 to return binariesLukas Larsson
2011-09-13Merge branch 'dev' into majorHenrik Nord
Conflicts: lib/asn1/doc/src/asn1ct.xml
2011-09-08asn1ct: add warnings_as_errors optionTuncer Ayaz
2011-08-02Remove some superflous includes which caused inlined modules to have lots of ↵Lukas Larsson
compile warnings
2011-08-01Update code genaration to call nif/erlang depending on what is configuredLukas Larsson
2011-08-01Remove export_all and only export is_nif_loadableLukas Larsson
2011-08-01Create a nif for ber encodeLukas Larsson
2011-08-01Extract generic is_nif_loadable function from decodeLukas Larsson
2011-08-01Update decode_open_type to use nifs if configured to do soLukas Larsson
2011-08-01Add -deprecated attributesLukas Larsson
2011-08-01Add obsolete warning for driver optionLukas Larsson
2011-08-01Remove all modules relating to drivers and make all functions obsolete.Lukas Larsson
2011-08-01Remove driver support for per encodingLukas Larsson
Handle the new error messages from the asn1 nifs Remove dead code for erlang optimized per decode
2011-08-01Remove driver support for ber decodingLukas Larsson
Handle the new error messages from the asn1 nifs Make ber nif decoding use the erlang fallback if the nif could not be loaded. This is useful for application which use inline (such as public_key) and want to work without the nifs, but should use them if they exist
2011-08-01Fix bootstrap problemLukas Larsson
2011-08-01Define vsn if not defined to make flymake happyLukas Larsson
2011-08-01Add support for nif option to optimized ber_bin_v2 asn1 compilationLukas Larsson
2011-08-01Add support for nif option to optimized PER asn1 compilationLukas Larsson
2011-08-01Add asn1 nif for ber decode and per encodeLukas Larsson
2011-07-21Use lists:mapfoldl instead for a tiny performance gainLukas Larsson
2011-07-21Move fixopt to do more work in ct than rt for opimized per_binLukas Larsson
Instead of looping over the list of which options contain defaults, one case statement is generated for each optional attribute.
2011-07-21Optmized encode_length by doing some calculations at compile time rather ↵Lukas Larsson
than runtime
2011-07-21Optmized decode_length by doing some calculations as compile time rather ↵Lukas Larsson
than runtime
2011-05-19Corrected handling of long length in driver and updated test suitesKenneth Lundin
2011-03-11Update copyright yearsBjörn-Egil Dahlberg
2011-03-07Fixed crash in asn1ct_check occuring for SEQUENCE with extension mark and ↵Kenneth Lundin
component relation attribute.
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-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-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-10Remove warnings for clashes with new autoimported BIFsPatrik Nyblom
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-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-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-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-07-12asn1ct: change unusual whitespace char from 0xA0 to 0x20Tuncer Ayaz
Replace 0xA0 with 0x20. Signed-off-by: Tuncer Ayaz <[email protected]>
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-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.)