<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/stdlib/test, branch OTP-17.0</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>stdlib: Deny map keys defined as #{ .. := .. } in patterns</title>
<updated>2014-04-03T12:32:44+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2014-04-02T16:57:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=7b11f5a2608ea2a539454fe8f14e4d24d3a0170f'/>
<id>7b11f5a2608ea2a539454fe8f14e4d24d3a0170f</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 'egil/maps-fix-src-listing'</title>
<updated>2014-03-28T14:59:57+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2014-03-28T14:59:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=8964e0f9430fba4f1827734f8e1551ef7c715d0a'/>
<id>8964e0f9430fba4f1827734f8e1551ef7c715d0a</id>
<content type='text'>
* egil/maps-fix-src-listing:
  stdlib: Fix map type listing
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* egil/maps-fix-src-listing:
  stdlib: Fix map type listing
</pre>
</div>
</content>
</entry>
<entry>
<title>stdlib: loosen testcases</title>
<updated>2014-03-28T08:55:56+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2014-03-03T12:38:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=c57f0f96bab1951d9c5ecf80d64f0624e96d2417'/>
<id>c57f0f96bab1951d9c5ecf80d64f0624e96d2417</id>
<content type='text'>
Stabilize tests for all kind of machines

Old sparc (and newer smaller) machines timeouts in 'random_ref_comp'
decrease load and increase timeouts.

Supervisor:
Turn up accepted time, since if non-linear it should be much worse,
now the test failes on slow multicore machines

Remove memory tests, they fail sometimes and those tests are not
needed to be tested. Hard to predict GC's and other processes behaviours.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Stabilize tests for all kind of machines

Old sparc (and newer smaller) machines timeouts in 'random_ref_comp'
decrease load and increase timeouts.

Supervisor:
Turn up accepted time, since if non-linear it should be much worse,
now the test failes on slow multicore machines

Remove memory tests, they fail sometimes and those tests are not
needed to be tested. Hard to predict GC's and other processes behaviours.
</pre>
</div>
</content>
</entry>
<entry>
<title>stdlib: Fix map type listing</title>
<updated>2014-03-27T17:12:33+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2014-03-27T16:33:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=13d1e7942402ab134a71a12ced551ebb4cbe7cf8'/>
<id>13d1e7942402ab134a71a12ced551ebb4cbe7cf8</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 'bjorn/stdlib/otp_internal'</title>
<updated>2014-03-26T11:30:07+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2014-03-26T11:30:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=93e120f61d45e3b18bd098eb2fa46a1c10546935'/>
<id>93e120f61d45e3b18bd098eb2fa46a1c10546935</id>
<content type='text'>
* bjorn/stdlib/otp_internal:
  otp_internal: No longer warn for funtions removed in R13B
  otp_internal: Postpone removals from R17 to OTP 18
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bjorn/stdlib/otp_internal:
  otp_internal: No longer warn for funtions removed in R13B
  otp_internal: Postpone removals from R17 to OTP 18
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'vinoski/sys-get-rep-state2'</title>
<updated>2014-03-25T08:47:19+00:00</updated>
<author>
<name>Siri Hansen</name>
<email>siri@erlang.org</email>
</author>
<published>2014-03-25T08:46:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=aa2dfd7c30d3ca3318498bcbf4155dad175b6d7e'/>
<id>aa2dfd7c30d3ca3318498bcbf4155dad175b6d7e</id>
<content type='text'>
* vinoski/sys-get-rep-state2:
  remove tuple funs from special process documentation
  fix sys:get_state/1,2 and sys:replace_state/2,3 when sys suspended

OTP-11817
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* vinoski/sys-get-rep-state2:
  remove tuple funs from special process documentation
  fix sys:get_state/1,2 and sys:replace_state/2,3 when sys suspended

OTP-11817
</pre>
</div>
</content>
</entry>
<entry>
<title>stdlib: Generalize erl_parse:abstract/2</title>
<updated>2014-03-25T08:18:02+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2014-03-21T14:34:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=83b6daef8d52f69c3b583bcc67c0c11fb8dcba0b'/>
<id>83b6daef8d52f69c3b583bcc67c0c11fb8dcba0b</id>
<content type='text'>
The 'encoding' option of erl_parse:abstract/2 has been extended to
include 'none' and a callback function (a predicate).

The rationale is that a more general means of determining what integer
lists are to be represented as strings may help readability when
generating Erlang code given input in some other encoding than Latin-1
or UTF-8.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The 'encoding' option of erl_parse:abstract/2 has been extended to
include 'none' and a callback function (a predicate).

The rationale is that a more general means of determining what integer
lists are to be represented as strings may help readability when
generating Erlang code given input in some other encoding than Latin-1
or UTF-8.
</pre>
</div>
</content>
</entry>
<entry>
<title>otp_internal: No longer warn for funtions removed in R13B</title>
<updated>2014-03-25T04:27:38+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2014-03-24T11:25:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=3818e3c93fa66a21153981691b0e27886ee0e5a5'/>
<id>3818e3c93fa66a21153981691b0e27886ee0e5a5</id>
<content type='text'>
The grace period is over.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The grace period is over.
</pre>
</div>
</content>
</entry>
<entry>
<title>stdlib: warn if the type map() is redefined</title>
<updated>2014-03-24T08:31:59+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2014-03-21T12:20:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=1a4668ddd61802f0936e762f2f85007845e1441e'/>
<id>1a4668ddd61802f0936e762f2f85007845e1441e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix sys:get_state/1,2 and sys:replace_state/2,3 when sys suspended</title>
<updated>2014-03-21T14:19:51+00:00</updated>
<author>
<name>Steve Vinoski</name>
<email>vinoski@ieee.org</email>
</author>
<published>2014-03-19T15:45:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6c298a7bfa332e5b7d153648d741740abc3bcdf8'/>
<id>6c298a7bfa332e5b7d153648d741740abc3bcdf8</id>
<content type='text'>
Add two new system callbacks Module:system_get_state/1 and
Module:system_replace_state/2 to allow sys:get_state/1,2 and
sys:replace_state/2,3 to operate correctly even if a process is sys
suspended. Modify gen_server, gen_fsm, and gen_event to support the new
callbacks.

If a callback module does not export these functions, then by default the
Misc value (the same as that passed as the final argument to
sys:handle_system_msg/6, and returned as part of the return value of
sys:get_status/1,2) is treated as the callback module's state.

The previous behaviour of intercepting the system message and passing a
tuple of size 2 as the last argument to sys:handle_system_msg/6 is no
longer supported.

Add tests to verify the correctness of sys:get_state/1,2 and
sys:replace_state/2,3 when processes are sys suspended. Add two tests for
modules that implement special processes, one that exports
system_get_state/1 and system_replace_state/2 and one that doesn't.

Much of the credit for this patch goes to James Fish, who reported the
initial problem and implemented much of the fix.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add two new system callbacks Module:system_get_state/1 and
Module:system_replace_state/2 to allow sys:get_state/1,2 and
sys:replace_state/2,3 to operate correctly even if a process is sys
suspended. Modify gen_server, gen_fsm, and gen_event to support the new
callbacks.

If a callback module does not export these functions, then by default the
Misc value (the same as that passed as the final argument to
sys:handle_system_msg/6, and returned as part of the return value of
sys:get_status/1,2) is treated as the callback module's state.

The previous behaviour of intercepting the system message and passing a
tuple of size 2 as the last argument to sys:handle_system_msg/6 is no
longer supported.

Add tests to verify the correctness of sys:get_state/1,2 and
sys:replace_state/2,3 when processes are sys suspended. Add two tests for
modules that implement special processes, one that exports
system_get_state/1 and system_replace_state/2 and one that doesn't.

Much of the credit for this patch goes to James Fish, who reported the
initial problem and implemented much of the fix.
</pre>
</div>
</content>
</entry>
</feed>
