aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src
AgeCommit message (Collapse)Author
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.)
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-02-19OTP-8463 Support for EXTENSIBILITY IMPLIED and SET/SEQ OF NamedType isKenneth Lundin
added.
2010-02-17Merge branch 'tj/asn1_macro_prefix' into ccase/r13b04_devErlang/OTP
* tj/asn1_macro_prefix: Add support for prefixing macro names generated by the compiler OTP-8453 tj/asn1_macro_prefix
2010-02-17Merge branch 'ks/cleanups' into ccase/r13b04_devErlang/OTP
* ks/cleanups: percept: Clean up as suggested by tidier percept: Modernize types and specs parsetools: Don't use 'try...of' when 'try' will do parsetools: Use %% for comments at the beginning of a line parsetools: Replace lists:keysearch/3 with lists:keyfind/3 parsetools: Modernize types and specs parsetools: Replace TABs with spaces runtime_tools: Modernize specs sasl: Eliminate tuple used as fun sasl: Add missing modules to app file asn1: Clean up as suggested by tidier os_mon: Modernize types and specs wx: Clean up as suggested by tidier OTP-8455 ks/cleanups
2010-02-16asn1: Clean up as suggested by tidierKostis Sagonas
2010-02-16Add support for prefixing macro names generated by the compilerTomas Johansson
This is useful when multiple protocols that contains macros with identical names are included in a single module. Add the missing record_name_prefix compiler option to the documentation.
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP