aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
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
2013-02-23Merge branch 'anders/diameter/SoC/OTP-10688'Anders Svensson
* anders/diameter/SoC/OTP-10688: Add RFC 6733 commentary to SoC chapter Add RFC 6737 Capabilities Update dictionary Remove cruft from doc Makefile
2013-02-22Add RFC 6733 commentary to SoC chapterAnders Svensson
The commentary is not yet complete. It currently stops at chapter 4 of the RFC.
2013-02-22Update copyright yearsBjörn-Egil Dahlberg
2013-02-22tests: Remove old_httpc_SUITE, no longer usedBjörn-Egil Dahlberg
2013-02-22Correct text according to document reviewsPatrik Nyblom
2013-02-22Adapt the Unicode chapter of STDLIB users guide to R16Patrik Nyblom
Also extended it with more examples, summaries and other stuff.
2013-02-22Merge branch 'sal/ftp/OTP-10886'Fredrik Gustafsson
* sal/ftp/OTP-10886: Changed to correct errorcode in testcase Handle correctly the "No files found or file unavailable" error code.
2013-02-22Merge branch 'sverk/erlang_pid-revert'Sverker Eriksson
* sverk/erlang_pid-revert: erl_interface: Fix some warnings in test code erl_interface,ic: Remove node_org_enc from erlang_{pid,port,ref}
2013-02-22[stdlib] Let the shell turn off echo while skipping lineHans Bolinder
The I/O-server group.erl echoed the skipped line.
2013-02-22Merge branch 'ia/inets/httpc-pipelin-vs-persisten-and-httpd-ssl-conf'Ingela Anderton Andin
* ia/inets/httpc-pipelin-vs-persisten-and-httpd-ssl-conf: inets httpd: Handle ipfamily option correctly when listning to port 0 inets: Improve ssl handling inets httpd: The option modules now defaults to its documented default value. inets httpc: Corrected separation of pipelining and persisten connections
2013-02-22Merge branch 'hb/file_name_type/OTP-10852'Patrik Nyblom
* hb/file_name_type/OTP-10852: Introduce new type file:name_all()
2013-02-22Merge branch 'pan/unicode_printable_ranges'Patrik Nyblom
* pan/unicode_printable_ranges: Adapt stdlib tests to ~tp detecting latin1 binaries Update primary bootstrap Make wx debugger use +pc flag when applicable Correct misspelled comments and space at lin ends Make ~tp output latin1 binaries as strings if possible Leave the +pc handling to io and io_lib_pretty Remove newly introduced warning in erlexec.c Make shell_SUITE:otp_10302 use +pc unicode when needed Fix io_proto_SUITE to handle the new io_lib_pretty:print Add testcase for +pc and io:printable_range/0 Make printing of UTF-8 in binaries behave like lists. Document +pc flag and io:printable_range/0 Add usage of and spec for io:printable_range/0 Add +pc {latin1|unicode} switch and io:printable_range/0 Fix some Unicode issues OTP-18084