<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/stdlib/test/Makefile, branch maint-18</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Add error_logger_h_SUITE</title>
<updated>2015-09-07T08:35:31+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2015-08-18T13:27:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=7e5c215b3ee06f4f425f45b4c28fe66b3c987bca'/>
<id>7e5c215b3ee06f4f425f45b4c28fe66b3c987bca</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Break out assert macros from eunit to stdlib assert.hrl</title>
<updated>2015-06-03T14:52:26+00:00</updated>
<author>
<name>Richard Carlsson</name>
<email>richardc@klarna.com</email>
</author>
<published>2012-05-19T20:07:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=c574bd33c39d91c487c3fcd819226ecfc46c13c8'/>
<id>c574bd33c39d91c487c3fcd819226ecfc46c13c8</id>
<content type='text'>
Several people have requested that the assert macros in EUnit should be
moved out to a separate header file. This patch puts them in
stdlib/include/assert.hrl, which gets included by the eunit.hrl file.
Thus, nothing changes for eunit users, but the asserts can now also be
included separately.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Several people have requested that the assert macros in EUnit should be
moved out to a separate header file. This patch puts them in
stdlib/include/assert.hrl, which gets included by the eunit.hrl file.
Thus, nothing changes for eunit users, but the asserts can now also be
included separately.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'dgud/stdlib/rand/OTP-12586'</title>
<updated>2015-05-08T07:28:57+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2015-05-08T07:28:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=40980940e866a9fe8f7055d7499df8bf604f11d4'/>
<id>40980940e866a9fe8f7055d7499df8bf604f11d4</id>
<content type='text'>
* dgud/stdlib/rand/OTP-12586:
  stdlib: Document and add normal distributed random value function
  stdlib: Add new random functionality/module
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* dgud/stdlib/rand/OTP-12586:
  stdlib: Document and add normal distributed random value function
  stdlib: Add new random functionality/module
</pre>
</div>
</content>
</entry>
<entry>
<title>stdlib: Use module erl_anno</title>
<updated>2015-04-30T10:14:30+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2015-03-09T15:26:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=87a0af476ef82ca2f33d0e15ce324afcfafe3aad'/>
<id>87a0af476ef82ca2f33d0e15ce324afcfafe3aad</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>stdlib: Add new random functionality/module</title>
<updated>2015-04-29T13:52:59+00:00</updated>
<author>
<name>Kenji Rikitake</name>
<email>kenji.rikitake@acm.org</email>
</author>
<published>2015-04-20T12:27:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=95aff702b5e4b21ec277b1e0125f639ce30f997a'/>
<id>95aff702b5e4b21ec277b1e0125f639ce30f997a</id>
<content type='text'>
The old random module contains an old algorithm which have flaws
and the api requires the user to invoke seed and or checking if seed have
been invoked, if a non constant seed is to be used.

The api contains the following features:
- The user can invoke rand:unform/[0|1] directly and get a non constant seeding.
- The api is split in functional and non functional functions,
  i.e. usage of _s functions will not affect the process dictionary.
- The api contains several algorithms with different characteristics and
  can be extended with new algorithms in the future.
- Contains state of the art random number generators.
- Default algorithm is taylor made for erlang to be fast on 64bits machines.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The old random module contains an old algorithm which have flaws
and the api requires the user to invoke seed and or checking if seed have
been invoked, if a non constant seed is to be used.

The api contains the following features:
- The user can invoke rand:unform/[0|1] directly and get a non constant seeding.
- The api is split in functional and non functional functions,
  i.e. usage of _s functions will not affect the process dictionary.
- The api contains several algorithms with different characteristics and
  can be extended with new algorithms in the future.
- Contains state of the art random number generators.
- Default algorithm is taylor made for erlang to be fast on 64bits machines.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add docs and test for maps:get/3</title>
<updated>2014-04-15T07:45:37+00:00</updated>
<author>
<name>Sergey Abramyan</name>
<email>sa.abramyan@gmail.com</email>
</author>
<published>2014-04-15T07:45:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6e6b66218b8ce1f68ca9fd68690ee93d6c98bb05'/>
<id>6e6b66218b8ce1f68ca9fd68690ee93d6c98bb05</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>
<entry>
<title>Fix rest_for_one and one_for_all restarting a child not terminated</title>
<updated>2013-04-04T11:22:11+00:00</updated>
<author>
<name>James Fish</name>
<email>james@fishcakez.com</email>
</author>
<published>2013-04-04T00:59:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=c59c3a6d57b857913ddfa13f96425ba0d95ccb2d'/>
<id>c59c3a6d57b857913ddfa13f96425ba0d95ccb2d</id>
<content type='text'>
In rest_for_one and one_for_all supervisors one child dying can cause
multiple children to be restarted. Previously if the child that caused
the restart is started successfully but another child fails to start,
the supervisor would not terminate this child with the other
successfully restarted children as no record of the pid was kept. Thus
the supervisor would try to start this child again. This could lead to
multiples of the same child or if the child is registered cause repeated
attempts at starting this child - until the max restart threshold was
reached.

Now the child that failed to start becomes the restarting child, instead
of staying with the same child, for the next restart attempt. This has
the following side effects:

1) In one_for_all the new version of the child that original died is
   terminated before a restart attempt is made.

2) In rest_for_one all succesfully restarted children are not terminated
   and restarting continues from the child that failed to start.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In rest_for_one and one_for_all supervisors one child dying can cause
multiple children to be restarted. Previously if the child that caused
the restart is started successfully but another child fails to start,
the supervisor would not terminate this child with the other
successfully restarted children as no record of the pid was kept. Thus
the supervisor would try to start this child again. This could lead to
multiples of the same child or if the child is registered cause repeated
attempts at starting this child - until the max restart threshold was
reached.

Now the child that failed to start becomes the restarting child, instead
of staying with the same child, for the next restart attempt. This has
the following side effects:

1) In one_for_all the new version of the child that original died is
   terminated before a restart attempt is made.

2) In rest_for_one all succesfully restarted children are not terminated
   and restarting continues from the child that failed to start.
</pre>
</div>
</content>
</entry>
<entry>
<title>erl_eval: Don't test parameterized modules</title>
<updated>2013-01-10T06:45:07+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2012-11-07T15:30:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=94ca384fe91708d6e750a1c9ac32dedcb9ad16a9'/>
<id>94ca384fe91708d6e750a1c9ac32dedcb9ad16a9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update to work with whitespace in exec path</title>
<updated>2012-06-05T08:52:16+00:00</updated>
<author>
<name>Lukas Larsson</name>
<email>lukas@erlang-solutions.com</email>
</author>
<published>2012-05-30T16:45:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=5f8867fb985b2b899e2ba8391652c7111f9df9bb'/>
<id>5f8867fb985b2b899e2ba8391652c7111f9df9bb</id>
<content type='text'>
OTP-10106
OTP-10107
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
OTP-10106
OTP-10107
</pre>
</div>
</content>
</entry>
</feed>
