<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/debugger/src, branch OTP-18.0.2</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>fix errors caused by changed line numbers</title>
<updated>2015-06-22T07:46:56+00:00</updated>
<author>
<name>Bruce Yinhe</name>
<email>bruce@erlang.org</email>
</author>
<published>2015-06-16T15:05:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6bed12016e0d300b8afc65b5aa8f282dcaa6525e'/>
<id>6bed12016e0d300b8afc65b5aa8f282dcaa6525e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change license text to APLv2</title>
<updated>2015-06-18T09:31:02+00:00</updated>
<author>
<name>Bruce Yinhe</name>
<email>bruce@erlang.org</email>
</author>
<published>2015-06-18T09:31:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=738c34d4bb8f1a3811acd00af8c6c12107f8315b'/>
<id>738c34d4bb8f1a3811acd00af8c6c12107f8315b</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 'zhird/leoliu/dbg_wx_trace/arg-to-gui_enable_updown'</title>
<updated>2015-06-04T14:15:05+00:00</updated>
<author>
<name>Zandra Hird</name>
<email>zandra@erlang.org</email>
</author>
<published>2015-06-04T14:15:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ccb7207b8ee271048905ef9b11448f98c645d533'/>
<id>ccb7207b8ee271048905ef9b11448f98c645d533</id>
<content type='text'>
* zhird/leoliu/dbg_wx_trace/arg-to-gui_enable_updown:
  Fix argument to gui_enable_updown in dbg_wx_trace:init/6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* zhird/leoliu/dbg_wx_trace/arg-to-gui_enable_updown:
  Fix argument to gui_enable_updown in dbg_wx_trace:init/6
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix argument to gui_enable_updown in dbg_wx_trace:init/6</title>
<updated>2015-05-26T11:30:24+00:00</updated>
<author>
<name>Leo Liu</name>
<email>sdl.web@gmail.com</email>
</author>
<published>2015-04-28T05:30:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=288798c8f712062315486fe1a24eb567d021b0ca'/>
<id>288798c8f712062315486fe1a24eb567d021b0ca</id>
<content type='text'>
Fix comment on new_process message in int:subscribe/0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix comment on new_process message in int:subscribe/0
</pre>
</div>
</content>
</entry>
<entry>
<title>Update runtime_dependencies in application resource files</title>
<updated>2015-05-25T07:56:27+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2015-05-19T09:57:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=2c2260044637b8acd706cf3a784568e27340e61e'/>
<id>2c2260044637b8acd706cf3a784568e27340e61e</id>
<content type='text'>
Applications that use the new erl_anno module are depending on STDLIB 2.5.

Note that CosNotification, Megaco, SNMP, Xmerl, and Parsetools use the
erl_anno module via the Yecc parsers only (the header file in
lib/parsetools/include/yeccpre.hrl calls the erl_anno module).

HiPE does not call the erl_anno module, but uses an exported type.
We have chosen to make HiPE dependent on the erl_anno module.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Applications that use the new erl_anno module are depending on STDLIB 2.5.

Note that CosNotification, Megaco, SNMP, Xmerl, and Parsetools use the
erl_anno module via the Yecc parsers only (the header file in
lib/parsetools/include/yeccpre.hrl calls the erl_anno module).

HiPE does not call the erl_anno module, but uses an exported type.
We have chosen to make HiPE dependent on the erl_anno module.
</pre>
</div>
</content>
</entry>
<entry>
<title>debugger: Optimize evaluation of new map creation</title>
<updated>2015-04-30T11:29:27+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2015-04-08T05:14:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=541e87f3597523cb7d71f75fe0381fddb2af0ee0'/>
<id>541e87f3597523cb7d71f75fe0381fddb2af0ee0</id>
<content type='text'>
Make sure that we recognize map literals at load time, as we
do for lists and tuples. Also use maps:from_list/1 to build
a new map instead of building it up from scratch inserting one
key/value pair at the time.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sure that we recognize map literals at load time, as we
do for lists and tuples. Also use maps:from_list/1 to build
a new map instead of building it up from scratch inserting one
key/value pair at the time.
</pre>
</div>
</content>
</entry>
<entry>
<title>dbg_iload: Correct translation of generators</title>
<updated>2015-04-30T11:14:26+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2015-04-08T05:10:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=e8410b695f6bc431a7d16297ca31eb3c8368edf1'/>
<id>e8410b695f6bc431a7d16297ca31eb3c8368edf1</id>
<content type='text'>
The pattern in the generator for a list or binary comprehension
was processed as an expression instead of as a pattern. That
happened to work because expressions and patterns were translated
in the same way.

In the future we might want to process expressions and patterns
differently.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The pattern in the generator for a list or binary comprehension
was processed as an expression instead of as a pattern. That
happened to work because expressions and patterns were translated
in the same way.

In the future we might want to process expressions and patterns
differently.
</pre>
</div>
</content>
</entry>
<entry>
<title>debugger: Use module erl_anno</title>
<updated>2015-04-30T10:15:24+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2014-10-28T15:06:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=85f96e5193d3df2cae9a0511e4ac6a72ec9f02af'/>
<id>85f96e5193d3df2cae9a0511e4ac6a72ec9f02af</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Raise more descriptive error messages for failed map operations</title>
<updated>2015-04-15T13:12:33+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2015-03-31T06:47:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=5bb8262bd4ae8dbcc7438e80de5cedac7ccee1af'/>
<id>5bb8262bd4ae8dbcc7438e80de5cedac7ccee1af</id>
<content type='text'>
According to EEP-43 for maps, a 'badmap' exception should be
generated when an attempt is made to update non-map term such as:

   &lt;&lt;&gt;&gt;#{a=&gt;42}

That was not implemented in the OTP 17.

José Valim suggested that we should take the opportunity to
improve the errors coming from map operations:

  http://erlang.org/pipermail/erlang-questions/2015-February/083588.html

This commit implement better errors from map operations similar
to his suggestion.

When a map update operation (Map#{...}) or a BIF that expects a map
is given a non-map term, the exception will be:

  {badmap,Term}

This kind of exception is similar to the {badfun,Term} exception
from operations that expect a fun.

When a map operation requires a key that is not present in a map,
the following exception will be raised:

  {badkey,Key}

José Valim suggested that the exception should be
{badkey,Key,Map}. We decided not to do that because the map
could potentially be huge and cause problems if the error
propagated through links to other processes.

For BIFs, it could be argued that the exceptions could be simply
'badmap' and 'badkey', because the bad map and bad key can be found in
the argument list for the BIF in the stack backtrace. However, for the
map update operation (Map#{...}), the bad map or bad key will not be
included in the stack backtrace, so that information must be included
in the exception reason itself. For consistency, the BIFs should raise
the same exceptions as update operation.

If more than one key is missing, it is undefined which of
keys that will be reported in the {badkey,Key} exception.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to EEP-43 for maps, a 'badmap' exception should be
generated when an attempt is made to update non-map term such as:

   &lt;&lt;&gt;&gt;#{a=&gt;42}

That was not implemented in the OTP 17.

José Valim suggested that we should take the opportunity to
improve the errors coming from map operations:

  http://erlang.org/pipermail/erlang-questions/2015-February/083588.html

This commit implement better errors from map operations similar
to his suggestion.

When a map update operation (Map#{...}) or a BIF that expects a map
is given a non-map term, the exception will be:

  {badmap,Term}

This kind of exception is similar to the {badfun,Term} exception
from operations that expect a fun.

When a map operation requires a key that is not present in a map,
the following exception will be raised:

  {badkey,Key}

José Valim suggested that the exception should be
{badkey,Key,Map}. We decided not to do that because the map
could potentially be huge and cause problems if the error
propagated through links to other processes.

For BIFs, it could be argued that the exceptions could be simply
'badmap' and 'badkey', because the bad map and bad key can be found in
the argument list for the BIF in the stack backtrace. However, for the
map update operation (Map#{...}), the bad map or bad key will not be
included in the stack backtrace, so that information must be included
in the exception reason itself. For consistency, the BIFs should raise
the same exceptions as update operation.

If more than one key is missing, it is undefined which of
keys that will be reported in the {badkey,Key} exception.
</pre>
</div>
</content>
</entry>
<entry>
<title>debugger: Fix debugger save options on mac</title>
<updated>2014-12-19T14:08:12+00:00</updated>
<author>
<name>Dan Gudmundsson</name>
<email>dgud@erlang.org</email>
</author>
<published>2014-12-19T14:08:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=a3c7b9fa731878774358fc3f23c07e684a229172'/>
<id>a3c7b9fa731878774358fc3f23c07e684a229172</id>
<content type='text'>
wxFileDialog:getPaths(FD) always return the empty list
on mac when using file dialog.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
wxFileDialog:getPaths(FD) always return the empty list
on mac when using file dialog.
</pre>
</div>
</content>
</entry>
</feed>
