aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2013-03-04Add transport_opt() watchdog_configAnders Svensson
To make the number of watchdogs sent before the transitions REOPEN -> OKAY and OKAY -> SUSPECT configurable. Using anything other then the default config is non-standard and should only be used for test.
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
2013-02-22Merge branch 'ia/ssl/doc'Ingela Anderton Andin
* ia/ssl/doc: ssl: Add missing option and links
2013-02-22ssl: Add missing option and linksIngela Anderton Andin
2013-02-22Merge branch 'bjorn/unicode-doc/OTP-10852'Björn Gustavsson
* bjorn/unicode-doc/OTP-10852: file: Document list_dir_all/1 and read_link_all/1 file: Remove note about Unicode handling being experimental filelib: Update documentation
2013-02-22Merge branch 'siri/reltool/unicode/OTP-10781'Siri Hansen
* siri/reltool/unicode/OTP-10781: [reltool] Improve stability of tests [reltool] Make escript test work with hipe and smp [reltool] Add unicode test [reltool] Change ~s to ~ts and ~p to ~tp when appropriate [reltool] Add unicode option to re:compile to allow unicode filenames [reltool] Fix reconstruct source from debug_info to handle unicode [reltool] Honour encoding in reltool_utils:prim_consult
2013-02-22Merge branch 'siri/sasl/unicode/OTP-10782'Siri Hansen
* siri/sasl/unicode/OTP-10782: [sasl] Add unicode test for systools:make_script [sasl] Adapt release handling mechanisms to unicode
2013-02-22[sasl] Add unicode test for systools:make_scriptSiri Hansen
2013-02-22[sasl] Adapt release handling mechanisms to unicodeSiri Hansen
* Update systool_lib:read_term/1 to honour magic encoding comment in file. * Add unicode option to re:compile and re:run when appropriate, allowing e.g. unicode filenames. * systools_make to allow unicode strings in .rel and .app files
2013-02-22ssl: Add missing group clause and correct parameters to packet/7Ingela Anderton Andin
2013-02-21Merge branch 'ia/ssl/econnaborted'Ingela Anderton Andin
* ia/ssl/econnaborted: ssl: Fatal close alert makes more sense than handshake failiure at econnaborted
2013-02-21Merge branch 'pan/unicode_filename_warnings'Björn Gustavsson
* pan/unicode_filename_warnings: prim_file: Fix error return from prim_file:list_dir/1
2013-02-21Merge branch 'lukas/stdlib/binary_typespec'Lukas Larsson
* lukas/stdlib/binary_typespec: bin_to_list can also take a negative len
2013-02-21bin_to_list can also take a negative lenLukas Larsson
2013-02-21Increase timetrap times in ct_verbosity_SUITEPeter Andersson
2013-02-21Introduce new type file:name_all()Hans Bolinder
2013-02-21[reltool] Improve stability of testsSiri Hansen
* Make sure test node is terminated between each test * Wait for expected applications to be started before continuing test * Use ping instead of nodedown messages to check that node is down (to avoid failure due to no flush of inbox)
2013-02-21[reltool] Make escript test work with hipe and smpSiri Hansen
reltool_server_SUITE:create_standalone and create_multiple_standalone failed on test hosts running hipe and smp. The reason was that the escript used in these tests explicitly disabled smp, which in turn made the emulator spit out warnings like this: "<HiPE (v 3.10)> Warning: not loading native code for module beam_lib: it was compiled for an incompatible runtime system; please regenerate native code for this runtime system" This was returned from the escript and did not match the expected result. To overcome this, the escript (reltool/examples/display_args) is changed and does no longer disable smp.
2013-02-21[reltool] Add unicode testSiri Hansen
2013-02-21[reltool] Change ~s to ~ts and ~p to ~tp when appropriateSiri Hansen
2013-02-21[reltool] Add unicode option to re:compile to allow unicode filenamesSiri Hansen
2013-02-21[reltool] Fix reconstruct source from debug_info to handle unicodeSiri Hansen
Also changing from using erl_syntax and erl_prettypr to using erl_pp in order to get better handling of specs.
2013-02-21[reltool] Honour encoding in reltool_utils:prim_consultSiri Hansen
This function is similar to file:consult, except it also operates on a binary (e.g. read from an archive). The function now takes magic encoding comment into account.
2013-02-20Add RFC 6737 Capabilities Update dictionaryAnders Svensson
Although it's neither built nor supported in code yet.
2013-02-20Remove cruft from doc MakefileAnders Svensson
2013-02-20erl_interface: Fix some warnings in test codeSverker Eriksson
by adding missing #include's
2013-02-20Merge branch 'ks/hipe_bif-remove_refs_from/OTP-10851'Fredrik Gustafsson
* ks/hipe_bif-remove_refs_from/OTP-10851: Fixed test to allow for lists:foreach/2 call Change the return value of hipe_bifs:remove_refs_from/1
2013-02-20ssl: Fatal close alert makes more sense than handshake failiure at econnabortedIngela Anderton Andin
2013-02-20inets httpd: Handle ipfamily option correctly when listning to port 0Ingela Anderton Andin
2013-02-20Merge branch 'ks/dialyzer-R16B-final-fixes/OTP-10865'Fredrik Gustafsson
* ks/dialyzer-R16B-final-fixes/OTP-10865: Native code compilation changes Code simplification Simplify a case construct using inequality Simplify a case construct using a boolean operator Code simplifications + take out obsolete note
2013-02-20Merge branch 'sverk/is_module_native-fix'Sverker Eriksson
* sverk/is_module_native-fix: erts: Fix code:is_module_native OTP-10870
2013-02-20Merge branch 'sa/dialyzer-types-arity/OTP-10861'Fredrik Gustafsson
* sa/dialyzer-types-arity/OTP-10861: Minor refactoring Update Dialyzer's documentation Support for types with the same name and different arity
2013-02-20prim_file: Fix error return from prim_file:list_dir/1Björn Gustavsson
When the run-time system was started with +fnue, the error tuple indicating a non-translatable filename was added as a non-proper list tail inside an {ok,Files} term.
2013-02-20Merge branch 'hb/edoc/bug_fix/OTP-10866'Hans Bolinder
* hb/edoc/bug_fix/OTP-10866: [edoc] Fix a bug involving a type declaration and a comment