Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-10 | Prepare release | Erlang/OTP | |
2019-04-24 | Revert "Prepare release" | Rickard Green | |
This reverts commit 425889ba69b69a9b6fb14bfbef121d51b78e853a. | |||
2019-04-23 | Prepare release | Erlang/OTP | |
2019-03-26 | Revert "Prepare release" | Henrik Nord | |
This reverts commit 0118046f9bda8dcf3594184fa439b79267db8017. | |||
2019-03-25 | Prepare release | Erlang/OTP | |
2019-02-27 | Revert "Prepare release" | Rickard Green | |
This reverts commit df130102cdeca8d35fec95a0c926fd1cfec54eab. | |||
2019-02-26 | Prepare release | Erlang/OTP | |
2018-12-12 | Add empty 'since' attribute for old modules and functions | Sverker Eriksson | |
2018-12-10 | Prepare release | Erlang/OTP | |
2018-12-07 | Merge branch 'maint-20' into maint | Henrik Nord | |
* maint-20: Updated OTP version Prepare release | |||
2018-12-06 | Prepare release | Erlang/OTP | |
2018-09-24 | Prepare release | Erlang/OTP | |
2018-08-03 | Merge branch 'maint-20' into maint | Raimo Niskanen | |
* maint-20: Updated OTP version Prepare release Fix NIF stack recursion bug and enforce a limit Conflicts: OTP_VERSION lib/asn1/doc/src/notes.xml lib/asn1/vsn.mk otp_versions.table | |||
2018-08-02 | Prepare release | Erlang/OTP | |
2018-07-13 | docs: make clean all XMLDIR | Lukas Larsson | |
2018-06-19 | Prepare release | Erlang/OTP | |
2018-06-18 | Update copyright year | Henrik Nord | |
2018-05-29 | Revert "Prepare release" | Henrik | |
This reverts commit fd8e49b5bddceaae803670121b603b5eee8c5c08. | |||
2018-05-25 | Prepare release | Erlang/OTP | |
2018-05-02 | Revert "Update release notes" | Henrik | |
This reverts commit 202bb737e3deabfebee683266f4b7c42781eb521. | |||
2018-04-30 | Update release notes | Erlang/OTP | |
2018-04-09 | erl_docgen: Add ghlink step for all non-generated doc xml files | Lukas Larsson | |
In order to get line numbers into the ghlink we have to add a post processing step for all xml files. | |||
2018-03-09 | Update release notes | Erlang/OTP | |
2017-12-08 | Update release notes | Erlang/OTP | |
2017-10-10 | Merge branch 'lars/doc-cleanup/OTP-14475' into maint | Lars Thorsen | |
* lars/doc-cleanup/OTP-14475: [edoc] Remove unused module otpsgml_layout.erl Remove unused files from the documentation build | |||
2017-09-28 | Remove unused files from the documentation build | Lars Thorsen | |
2017-09-22 | Update release notes | Erlang/OTP | |
2017-08-23 | Prepare release | Erlang/OTP | |
2017-07-26 | Update release notes | Erlang/OTP | |
2017-06-21 | Prepare release | Erlang/OTP | |
2017-06-14 | Update copyright year | Hans Nilsson | |
2017-06-13 | Remove reference to removed module 'asn1rt' | Björn Gustavsson | |
2017-05-31 | Revert "Prepare release" | Hans Nilsson | |
This reverts commit eaf8ca41dfa4850437ad270d3897399c9358ced0. | |||
2017-05-30 | Prepare release | Erlang/OTP | |
2017-05-05 | Revert "Prepare release" | Raimo Niskanen | |
This reverts commit dc57404252c47520f352834ad9be45ad684f96c9. | |||
2017-05-04 | Prepare release | Erlang/OTP | |
2017-05-04 | Update copyright year | Raimo Niskanen | |
2017-02-21 | encode/decode: Include the stack trace in error returns | Björn Gustavsson | |
The generated encode/2 and decode/2 functions can return cryptic error messages. Consider this ASN.1 spec: T DEFINITIONS AUTOMATIC TAGS ::= BEGIN S ::= SEQUENCE { b BOOLEAN, i INTEGER (1..100), j INTEGER (0..7), s OCTET STRING } END In OTP 19, the error terms will look like this: Eshell V8.2 (abort with ^G) 1> asn1ct:compile('T', [ber]). ok 2> rr('T'). ['S'] 3> 'T':encode('S', #'S'{}). {error,{asn1,{encode_boolean,undefined}}} 4> 'T':encode('S', #'S'{b=false}). {error,{asn1,{encode_integer,undefined}}} 5> 'T':encode('S', #'S'{b=false,i=7,j=0}). {error,{asn1,function_clause}} Some error terms are clearer than other. In the first error term, it is clear that the error refers to the 'b' field, since there is only one BOOLEAN in 'S'. The second error term could refer to either 'i' or 'j'. The last error term... well... in this case we can infer that it must refer to 's'. The easiest way to provide more information is to include the stack trace with line numbers in the error term: 3> 'T':encode('S', #'S'{b=false}). {error,{asn1,{{encode_integer,undefined}, [{'T',encode_integer,2,[{file,"T.erl"},{line,240}]}, {'T',enc_S,2,[{file,"T.erl"},{line,102}]}, {'T',encode,2,[{file,"T.erl"},{line,36}]}, {erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,674}]}, {shell,exprs,7,[{file,"shell.erl"},{line,686}]}, {shell,eval_exprs,7,[{file,"shell.erl"},{line,641}]}, {shell,eval_loop,3,[{file,"shell.erl"},{line,626}]}]}}} By looking at the generated Erlang code, we can see that encoding failed for 'i'. This is an compatible change. All that the documentation says is that the format of the error tuple is: {error,{asn1,Description}} With this change, Description is always a tuple: {ErrorDescription,StackTrace} Alternatives considered: Providing more information in the error term itself and make sure there can be no 'function_clause', 'badarg', or 'badmatch' exceptions. That would be possible, but it would require a lot of work and it would increase the size of the generated code and make it slower. Therefore, this solution was rejected. | |||
2017-02-06 | Teach the ASN.1 compiler the 'maps' option | Björn Gustavsson | |
When the 'maps' option is given, the SEQUENCE and SET types are represented as maps instead of as records. Optional and default values must be not be given as asn1_NOVALUE or asn1_DEFAULT in a map passed to the M:encode/2 function; they must be omitted from the map. Similarly, when decoding missing values will be omitted from the map. No .hrl files will be generated when the 'maps' options is used. That means values in an ASN.1 module must be retrieved by calling the appropriate function in generated module. Since we one day hope to get rid of the options 'compact_bit_string', 'legacy_bit_string', and 'legacy_erlang_types', we will not allow them to be combined with the 'maps' option. | |||
2017-01-13 | asn1: Remove deprecated functions | Björn Gustavsson | |
Remove the entire asn1rt module. All functions in it were deprecated in OTP 17. In asn1ct, remove the deprecated functions asn1ct:encode/3 and asn1ct:decode/3. Also remove asn1ct:encode/2, which has not been formally deprecated but is undocumented. | |||
2016-09-20 | Prepare release | Erlang/OTP | |
2016-09-01 | doc: Correct errors introduced by Editorial changes | Hans Bolinder | |
Fix some older errors as well. | |||
2016-06-21 | Prepare release | Erlang/OTP | |
2016-06-02 | Revert "Prepare release" | Erlang/OTP | |
This reverts commit e020f75c10410a6943cd055bfa072a2641eab7da. | |||
2016-06-02 | Prepare release | Erlang/OTP | |
2016-05-12 | Revert "Prepare release" | Erlang/OTP | |
This reverts commit bd64ad8e15d66e48b36dbe3584315dd5cfc8b59a. | |||
2016-05-11 | Prepare release | Erlang/OTP | |
2016-03-15 | update copyright-year | Henrik Nord | |
2016-03-14 | Prepare release | Erlang/OTP | |
2015-12-15 | Update release notes | Erlang/OTP | |