aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2013-03-08Merge branch 'mh/dialyzer-overlapping-warning/OTP-10918' into maintFredrik Gustafsson
* mh/dialyzer-overlapping-warning/OTP-10918: Include module, function and arity in Dialyzer's "overlapping domain" warnings
2013-03-08Prepare releaseErlang/OTP
2013-03-08Merge branch 'fredrik/ssh/fix-rekeying/OTP-10911' into maint-r16Erlang/OTP
* fredrik/ssh/fix-rekeying/OTP-10911: Fixed rekeying initiation and secured testcase
2013-03-08Fixed rekeying initiation and secured testcaseFredrik Gustafsson
2013-03-08reduce bashismYAMAMOTO Takashi
taken from from a pkgsrc patch: patch-lib_wx_configure.in
2013-03-08compilation fix for NetBSDYAMAMOTO Takashi
taken from a pkgsrc patch: patch-lib_os__mon_c__src_memsup.c
2013-03-07Merge branch 'anders/cover_source_search/OTP-10902' into maintAnders Svensson
* anders/cover_source_search/OTP-10902: Remove obsolete common_test note regarding source paths Extend cover.erl source search Document change to cover.erl source search Fix cover.xml formatting error
2013-03-07[debugger] Add an option 'Strings'Hans Bolinder
A new checkbox has been added. When it is checked, the range set by the 'erl' flag '+pc' is used for determining when to print lists of integers as strings. When it is unchecked, integer lists are never printed as strings. A minor incompatibility: settings saved by Erlang R16B01 or later cannot be read by Erlang R16B or earlier.
2013-03-06ssl: Handle next protocol negotiation when reusing a session.Ingela Anderton Andin
2013-03-06Merge branch 'ia/ssl/versions-option' into maintIngela Anderton Andin
* ia/ssl/versions-option: ssl: Clean code thanks to dialyzer ssl: Check that negotiated version is a supported version.
2013-03-06Merge branch 'lh/fix-hipe-doc-title/OTP-10904' into maintFredrik Gustafsson
* lh/fix-hipe-doc-title/OTP-10904: Fix the title of hipe_app documentation page
2013-03-06Remove obsolete common_test note regarding source pathsAnders Svensson
2013-03-06Extend cover.erl source searchAnders Svensson
Commit 29231033 made cover fall back to compile info if source was not found in pwd or ../src. This isn't sufficient for source that lies in subdirectories of ../src when beams and source have been moved since compilation (eg. install of some OTP applications), so first try finding source relative to the beam directory. For example, given a beam path /installed/path/to/app-1.0/ebin/root.beam and a source path /compiled/path/to/app/src/subdir/root.erl then look for /installed/path/to/app-1.0/ebin/../src/subdir/root.erl before the source path.
2013-03-06Document change to cover.erl source searchAnders Svensson
The change was introduced in commit 29231033.
2013-03-06Fix cover.xml formatting errorAnders Svensson
2013-03-06Include module, function and arity in Dialyzer's "overlapping domain" warningsMagnus Henoch
The function name can give information that the line number doesn't, for example when using a parse transform that creates new functions.
2013-03-05tests: Refactor away ?line macro in test suiteBjörn-Egil Dahlberg
Refactor away ?line macro in application_SUITE
2013-03-05kernel: Tests for application:ensure_started/1,2Björn-Egil Dahlberg
2013-03-05kernel: Add application:ensure_started/1,2Björn-Egil Dahlberg
Similar to application:start/1,2 except it returns 'ok' on already started applications instead of {'error', {'already_started', ...}}.
2013-03-05ssl: Clean code thanks to dialyzerIngela Anderton Andin
2013-03-05ssl: Check that negotiated version is a supported version.Ingela Anderton Andin
2013-03-05[jinterface] Kill process between tests to avoid consequential errorSiri Hansen
In some cases when a test case fails, the erl_link_server process (which is spawned by many test cases in jinterface_SUITE) does not terminate. This causes the next test case to fail with a badarg as it tries to register a new process with the same name. To avoid this, erl_link_server, if it exists, is now killed in end_per_testcase. Also, some compiler warnings are removed from jitu.erl.
2013-03-04Remove Flymake dependency in erlang-pkg.elMagnus Henoch
The dependency was incorrect, as the package is called flymake, not flymake-mode. It also used to suggest a newer version of flymake than the one that comes with Emacs, even though the Erlang mode works well with the older version. Removing the dependency instead of depending on version 0.3 (the one shipped with Emacs), since the downloadable version of package.el for Emacs 23 and earlier doesn't recognise Emacs built-in libraries as packages. (Thanks to Steve Purcell for pointing this out.)
2013-03-04[test_server] Remove unused code related to remote targetsSiri Hansen
After removing the functionality for remote target nodes in R16A, there was still some unused code left and some documentation that was not updated. This is now completed.
2013-03-04[observer] Extend timer to allow trace msgs to arrive over tcp/ipSiri Hansen
Some tests fail (mostly on windows) every now and then with too few trace messages in log. Extending the timer from 200 to 500 ms to see if this is the reason. Plus removing a compiler warning in ttb_SUITE.
2013-03-04[observer] Kill slave node between tests in etop_SUITESiri Hansen
To avoid that the second test case fails (due to duplicate name) if the first fails - always kill the slave node after each test case.
2013-03-04[observer] Accept current function for a process to be 'undefined' on hipeSiri Hansen
2013-03-04[observer] Improve measurement of CPU utilization in etopSiri Hansen
Now using scheduler_wall_time instead of runtime/wall_clock to get cpu utilization. The old version could give CPU utilization far beyond 100%. Also, a bug which sometimes gave a badarith when calculating the CPU utilization is corrected.
2013-03-04[observer] Fix non tail-recusive loop when measuring scheduler utilizationSiri Hansen
2013-03-04[jinterface] Make tests handle space in path on windowsSiri Hansen
Add quotes around classpath on windows.
2013-03-04[common_test] Extend timers for slave nodes in ct_cover_SUITESiri Hansen
Also, rename some nodes to avoid node name clash between test cases, and ensure proper cleanup of nodes.
2013-03-04[test_server] Clean up unused code in test_server_SUITESiri Hansen
2013-03-04[reltool] Increase timetrap timeout for reltool_server_SUTIE to 10 minutesSiri Hansen
The timeout of 5 minutes sometimes expired for test case use_selected_vsn on some platforms.
2013-03-04[test_server] Fix encoding of HTML file references to work on windowsSiri Hansen
The URI encoding when in unicode file name mode did not preserve @, : and /, and thus some links were did not work on windows (think c:/). This has been corrected.
2013-03-04[test_server] Use simpler tc name in unicode test to make it work on windowsSiri Hansen
A test case in test_server_unicode_SUITE contained characters that were not allowed in filenames on windows - e.g. \. The test case name will be used as filename for the HTML log for the test, so this failed on windows. This is now corrected.
2013-03-02Fix the title of hipe_app documentation pageLoïc Hoguin
2013-03-02Fix http_request:http_headers/1 to send content-length when length is zeroCA Meijer
In R16B01, the http_request:http_headers/1 function removes the content-length field from the HTTP headers if the content length is zero. This results in some (perhaps many) HTTP servers rejecting POSTs and PUTs without data with a 411 status word. From RFC2616, section 14.13: "Any Content-Length greater than or EQUAL to zero is a valid value".
2013-03-01ssl: correct test caseIngela Anderton Andin
2013-03-01ssh: Prepare for upcoming releaseIngela Anderton Andin
Note: If more things are added before the next releas the appup will need more updates.
2013-03-01ssh: Ctify test docIngela Anderton Andin
2013-03-01ssh: Test and enhance handling of nonexistent subsystemIngela Anderton Andin
2013-02-27erl_interface: Remove superfluous comma in enum erlang_char_encodingSverker Eriksson
2013-02-27Update version numbers for R16B01 developmentBjörn-Egil Dahlberg
2013-02-26stdlib: Remove race in ets_SUITE:delete_large_tabSverker Eriksson
2013-02-26stdlib: Remove race in ets_SUITE:delete_large_named_tableSverker Eriksson
2013-02-25Prepare releaseOTP_R16BErlang/OTP
2013-02-25Merge branch 'kostis/hipe-icode-range-bug'Sverker Eriksson
* kostis/hipe-icode-range-bug: Fix bug related to the handling of is_number/1 by the range analysis Clean up and homogenize text messages for options OTP-10897
2013-02-25Update to work with new default windows max portsLukas Larsson
2013-02-25Fix bug related to the handling of is_number/1 by the range analysisKostis Sagonas
The following module produced erroneous results when compiled with HiPE: -module(a). -export([foo/1]). foo(X) when is_number(X) -> is_integer(X). Running: 1> c(a). 2> a:foo(0). true 3> hipe:c(a). 4> a:foo(0). false % *** WRONG *** The problem was that the 'number' case for the `hipe_icode:type_test/1` was going to the default case where the argument was determined as being something other than an integer. Thanks to Sebastian Egner and Johannes Weißl for bringing the bug into attention. Fixed on the day it was reported.
2013-02-25Clean up and homogenize text messages for optionsKostis Sagonas