<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/asn1/test, branch KennethL-patch-1</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>asn1_SUITE: Fix failure in xref_export_all/1</title>
<updated>2018-01-17T10:47:45+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2018-01-17T10:47:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=a2f97956b21acdb345a188b174a4108959a1c1cd'/>
<id>a2f97956b21acdb345a188b174a4108959a1c1cd</id>
<content type='text'>
The variable 'S' was used twice. If the test case failed
because there were unused functions in asn1_SUITE, there
would be an ugly badmatch exception instead of the intended
nice error message.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The variable 'S' was used twice. If the test case failed
because there were unused functions in asn1_SUITE, there
would be an ugly badmatch exception instead of the intended
nice error message.
</pre>
</div>
</content>
</entry>
<entry>
<title>asn1: Fix test suite deprecated functions</title>
<updated>2017-09-12T07:56:07+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang.org</email>
</author>
<published>2017-09-06T08:47:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=4cd39050980ad78ec60079b80a76aec5677b1a7f'/>
<id>4cd39050980ad78ec60079b80a76aec5677b1a7f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'maint-20' into maint</title>
<updated>2017-08-24T07:37:16+00:00</updated>
<author>
<name>Raimo Niskanen</name>
<email>raimo@erlang.org</email>
</author>
<published>2017-08-24T07:37:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=710f9437498a8a9df62a6c7cecd6eb632561754b'/>
<id>710f9437498a8a9df62a6c7cecd6eb632561754b</id>
<content type='text'>
* maint-20:
  Updated OTP version
  Prepare release
  Accept non-binary options as socket-options
  Bump version
  Fix broken handling of default values in extensions for PER
  compiler: Fix live regs update on allocate in validator
  Take fail labels into account when determining liveness in block ops
  Check for overflow when appending binaries, and error out with system_limit
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* maint-20:
  Updated OTP version
  Prepare release
  Accept non-binary options as socket-options
  Bump version
  Fix broken handling of default values in extensions for PER
  compiler: Fix live regs update on allocate in validator
  Take fail labels into account when determining liveness in block ops
  Check for overflow when appending binaries, and error out with system_limit
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix broken handling of default values in extensions for PER</title>
<updated>2017-08-16T14:28:57+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2017-08-10T12:52:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=5d33ec9021ff4fa8e3ffac01bdd0228871636edd'/>
<id>5d33ec9021ff4fa8e3ffac01bdd0228871636edd</id>
<content type='text'>
Default values have never worked in extension for PER.

Note that for default values in the root part of SEQUENCE,
giving a value equal to the DEFAULT value, will result in
the same encoding as if asn1_DEFAULT was given. However,
that behavior is not promised by the documentation. The
documentation says that asn1_DEFAULT should be used for
default values. For DEFAULT in extensions, only implement
what the documentation promises and nothing more.

ERIERL-60
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Default values have never worked in extension for PER.

Note that for default values in the root part of SEQUENCE,
giving a value equal to the DEFAULT value, will result in
the same encoding as if asn1_DEFAULT was given. However,
that behavior is not promised by the documentation. The
documentation says that asn1_DEFAULT should be used for
default values. For DEFAULT in extensions, only implement
what the documentation promises and nothing more.

ERIERL-60
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'maint-20' into maint</title>
<updated>2017-07-27T07:10:16+00:00</updated>
<author>
<name>John Högberg</name>
<email>john@erlang.org</email>
</author>
<published>2017-07-27T07:10:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=2f49a6bdc5bc9207162bff837b3f642cdd089722'/>
<id>2f49a6bdc5bc9207162bff837b3f642cdd089722</id>
<content type='text'>
* maint-20:
  Updated OTP version
  Update release notes
  Update version numbers
  Fix doc for the 'quiet' option; it defaults to false
  asn1: Fix missing quotes of external encoding call
  Add a dedicated close function for TCP ports to prevent issues like ERL-430/448
  Close TCP ports properly on send timeout
  erts: Add missing release note
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* maint-20:
  Updated OTP version
  Update release notes
  Update version numbers
  Fix doc for the 'quiet' option; it defaults to false
  asn1: Fix missing quotes of external encoding call
  Add a dedicated close function for TCP ports to prevent issues like ERL-430/448
  Close TCP ports properly on send timeout
  erts: Add missing release note
</pre>
</div>
</content>
</entry>
<entry>
<title>asn1: Fix missing quotes of external encoding call</title>
<updated>2017-07-20T15:26:38+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2017-07-20T14:06:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=dede6b114f0006c55f41063e73d4b28b29710b95'/>
<id>dede6b114f0006c55f41063e73d4b28b29710b95</id>
<content type='text'>
introduced by 8e4a9864385242b962ce7446f7daa4f58cfecca5.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
introduced by 8e4a9864385242b962ce7446f7daa4f58cfecca5.
</pre>
</div>
</content>
</entry>
<entry>
<title>Corrected behavior of option {n2n, EnumTypeName} when</title>
<updated>2017-07-04T13:03:03+00:00</updated>
<author>
<name>Kenneth Lundin</name>
<email>kenneth.lundin@ericsson.com</email>
</author>
<published>2017-07-04T13:03:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=e1327157189f09aa118342d0686a32fb927dca96'/>
<id>e1327157189f09aa118342d0686a32fb927dca96</id>
<content type='text'>
EnumTypeName contains a hypen like fore example Cause-Misc. This caused
syntax errors when compiling the generated Erlang code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
EnumTypeName contains a hypen like fore example Cause-Misc. This caused
syntax errors when compiling the generated Erlang code.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright year</title>
<updated>2017-05-04T13:42:21+00:00</updated>
<author>
<name>Raimo Niskanen</name>
<email>raimo@erlang.org</email>
</author>
<published>2017-05-04T13:42:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=83e20c62057ebc1d8064bf57b01be560cd244e1d'/>
<id>83e20c62057ebc1d8064bf57b01be560cd244e1d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>asn1_erl_nif.c: Correct handling of tags &gt;= 16384</title>
<updated>2017-03-14T08:47:40+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2017-03-06T13:28:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=3334c0c7b831ecf47738c713fd764eef891a298a'/>
<id>3334c0c7b831ecf47738c713fd764eef891a298a</id>
<content type='text'>
Tags number above 16383 were not decoded correctly in
ber_decode_tag().

We could fix the problem, but there does not seem to be any need.

First, the only way that high tag numbers can be created is with
manual tagging; after 1994 manual tagging is no longer recommended.

Second, the ASN.1 playground (http://asn1-playground.oss.com) only
supports tags up to 16383 (the same is presumably true for OSS
Nokalva's other tools).

Therefore, clean up the existing code and make it an explicit
'invalid_tag' error when tags above 13383 are encountered
(instead of an implicit 'wrong_tag' error).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tags number above 16383 were not decoded correctly in
ber_decode_tag().

We could fix the problem, but there does not seem to be any need.

First, the only way that high tag numbers can be created is with
manual tagging; after 1994 manual tagging is no longer recommended.

Second, the ASN.1 playground (http://asn1-playground.oss.com) only
supports tags up to 16383 (the same is presumably true for OSS
Nokalva's other tools).

Therefore, clean up the existing code and make it an explicit
'invalid_tag' error when tags above 13383 are encountered
(instead of an implicit 'wrong_tag' error).
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos: lenght -&gt; length</title>
<updated>2017-03-01T17:34:50+00:00</updated>
<author>
<name>Myron Marston</name>
<email>myron.marston@gmail.com</email>
</author>
<published>2017-03-01T17:34:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=eb437db9e7df90d5e72d6314ee7c49cbde77135a'/>
<id>eb437db9e7df90d5e72d6314ee7c49cbde77135a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
