aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2012-08-10eunit_tests should not be listed in eunit.appRichard Carlsson
2012-08-10improved layout of error messages - stack trace before error termRichard Carlsson
2012-08-10bumped revisionRichard Carlsson
2012-08-10make stack trace pruning know about the new formatRichard Carlsson
2012-08-10Make EUnit print stacktraces with location informationKlas Johansson
The format of stacktraces was changed in Erlang/OTP R15, adding location information. This had the effect that EUnit did not recognize stack traces as such and only printed the exception term. This patch makes Eunit recognize and print the new stacktrace format as well as the old.
2012-08-10Add option 'no_tty' to silent the default tty reportRichard Carlsson
2012-08-08Merge branch 'siri/erl_prim_loader/archive-scripts/OTP-10071' into maintSiri Hansen
* siri/erl_prim_loader/archive-scripts/OTP-10071: Bugfix escript_SUITE:archive_script_file_access Update preloaded Fix flattening of paths in erl_prim_loader
2012-08-08Bugfix escript_SUITE:archive_script_file_accessSiri Hansen
Used internal function do_run/3 instead of run/3 for executing escript. This will always fail on windows.
2012-08-07Fix flattening of paths in erl_prim_loaderSiri Hansen
When correcting OTP-10071, a new error was introduced in erl_prim_loader. In order to improve ability to detect if a file was inside the primary archive, all paths were flattened - i.e. "." and ".." were removed. This implementation had some faults, and it did not take symlinks into account. This has been corrected.
2012-08-06compiler: Eliminate EXIT messages from the temporary compiler processBjörn Gustavsson
If a process trap exits, calling the compiler would leave an EXIT message in the message queue of the calling process because the compiler spawns a temporary work process. Eliminate the EXIT process by monitoring the temporary process instead of linking to it. Reported-by: Jeremy Heater
2012-08-06compile_SUITE: Correct the forms_2 test case to work on WindowsBjörn Gustavsson
Correct the forms_2 test case introduced in 2d785c07fbf9f533bf so that it will work on Windows. As originally written, the test case assumed that filename:absname("/foo/bar") would return "/foo/bar", which is not true on Windows (typically, the result will be "c:/foo/bar"). While at it, clean up indentation, the overlong line, and comments.
2012-07-25Merge branch 'egil/change-os_mon-ports-error-messages/OTP-10161' into maintBjörn-Egil Dahlberg
* egil/change-os_mon-ports-error-messages/OTP-10161: os_mon: Elucidate port program error messages
2012-07-24doc: Fix faulty tag in inet bit8 documentationBjörn-Egil Dahlberg
2012-07-24os_mon: Elucidate port program error messagesBjörn-Egil Dahlberg
Try to avoid confusion of the message 'Erlang has closed' by clarifying that the message is sent from os_mon port programs.
2012-07-19Merge branch 'lukas/common_test/surefire_fix_skipped_end/OTP-10158' into maintLukas Larsson
* lukas/common_test/surefire_fix_skipped_end/OTP-10158: Fix bug where auto skipped tcs would disappear Allow non configlist returns from other cths Fix close of suite when end_per_suite is skipped
2012-07-19Merge branch 'lukas/common_test/ct_notify/OTP-10157' into maintLukas Larsson
* lukas/common_test/ct_notify/OTP-10157: Add ct:notify and ct:sync_notify
2012-07-19Add ct:notify and ct:sync_notifyLukas Larsson
2012-07-18Merge branch 'ta/prim_archive-reloading' into maintHenrik Nord
* ta/prim_archive-reloading: escript_SUITE: remove gratuitous space [erts,kernel,stdlib] fix escript/primary archive reloading Conflicts: erts/preloaded/src/erl_prim_loader.erl OTP-10151
2012-07-18Merge branch 'ms/correct-formating-in-exit' into maintHenrik Nord
* ms/correct-formating-in-exit: Correct formating in exit error messages OTP-10148
2012-07-18Merge branch 'tc/rpc-call-fix' into maintHenrik Nord
* tc/rpc-call-fix: Fix rpc:call/5 for local calls with a finite Timeout OTP-10149
2012-07-18Merge branch 'jv/forms-source' into maintHenrik Nord
* jv/forms-source: Allow the source to be set when compiling forms OTP-10150
2012-07-18Merge branch 'at/fix_asn1_typo' into maintHenrik Nord
* at/fix_asn1_typo: Fix typo error in selected decode function OTP-10152
2012-07-16Merge branch 'hb/erl_docgen/cref_spaces/OTP-10138' into maintHans Bolinder
* hb/erl_docgen/cref_spaces/OTP-10138: erts: add space before '*' in some function prototypes ic: add space before '*' in some function prototypes Fix a bug regarding spaces in C function prototypes
2012-07-11Merge branch 'siri/erl_prim_loader/archive-scripts/OTP-10071' into maintSiri Hansen
* siri/erl_prim_loader/archive-scripts/OTP-10071: Update preloaded Add tests for problems with handling of primary archive Add comments to make erl_prim_loader primary archive handling more readable Fix erl_prim_loader errors in handling of primary archive
2012-07-11ic: add space before '*' in some function prototypesHans Bolinder
2012-07-11Fix a bug regarding spaces in C function prototypesHans Bolinder
Thanks to Richard O'Keefe for pointing the bug out.
2012-07-10Merge branch 'gustav/stdlib/gen_server_enter_loop_global_scope/OTP-10130' ↵Gustav Simonsson
into maint * gustav/stdlib/gen_server_enter_loop_global_scope/OTP-10130: Change testcase of gen_server:enter_loop/4 with global scope to match on result of a gen_server:call/2 Correct guard matching in gen_server:enter_loop/4 to match global scope in ServerName without timeout.
2012-07-10Add tests for problems with handling of primary archiveSiri Hansen
Thanks to Tuncer Ayaz for co-authoring.
2012-07-06escript_SUITE: remove gratuitous spaceTuncer Ayaz
2012-07-06[erts,kernel,stdlib] fix escript/primary archive reloadingTuncer Ayaz
If the mtime of an escript/primary archive file changes after being added to the code path, correctly reload the archive and update the cache. The existing code didn't consider that it might be a zip archive and failed: =ERROR REPORT==== 3-Aug-2011::09:21:21 === File operation error: bad_central_directory. Target: /escript_archive/module.beam. Function: get_file. Process: code_server. Thanks David Reid and Hakan Mattson.
2012-07-06Merge branch 'slf/dtrace-nif-N-probes' into maintHenrik Nord
* slf/dtrace-nif-N-probes: Remove crufty scaffolding code Add 1024 separate USDT probes to dyntrace.erl and dyntrace.c Conflicts: lib/runtime_tools/src/dyntrace.erl OTP-10143
2012-07-06Merge branch 'slf/dyntrace-comment-and-func-cleanup' into maintHenrik Nord
* slf/dyntrace-comment-and-func-cleanup: dyntrace.erl comment cleanup and unused function removal OTP-10141
2012-07-04Change testcase of gen_server:enter_loop/4 with global scopeGustav Simonsson
to match on result of a gen_server:call/2
2012-07-03Correct guard matching in gen_server:enter_loop/4Gustav Simonsson
to match global scope in ServerName without timeout. OTP-10130
2012-07-02Correct the type of the disk log headerHans Bolinder
Thanks to Niclas Eklund.
2012-06-25Merge branch 'bjorn/compiler/eliminate-bottleneck/OTP-10123' into maintBjörn Gustavsson
* bjorn/compiler/eliminate-bottleneck/OTP-10123: sys_pre_expand: Eliminate bottleneck for modules with many functions
2012-06-25Merge branch 'rj/fix-eprof-doc' into maintHenrik Nord
* rj/fix-eprof-doc: Fix nonsense of eprof doc OTP-10121
2012-06-25Merge branch 'tab/fix-indentation-records-emacs' into maintHenrik Nord
* tab/fix-indentation-records-emacs: Fix indentation of record fields in Emacs OTP-10120
2012-06-25Merge branch 'rj/fix-et-doc' into maintHenrik Nord
* rj/fix-et-doc: Fix typo in ET doc OTP-10119
2012-06-20Merge branch 'ia/ssl/recv-bug/OTP-10118' into maintIngela Anderton Andin
* ia/ssl/recv-bug/OTP-10118: ssl: Fix bug in the handling of remote connection closure of {active,false} ssl sockets.
2012-06-20sys_pre_expand: Eliminate bottleneck for modules with many functionsBjörn Gustavsson
Use a gb_set instead of an ordset to store the set of defined functions in the module to avoid quadritic time complexity.
2012-06-19ssl: Fix pem cache bugIngela Anderton Andin
A general case clause was put before a less general so that the less general case would never match.
2012-06-15ssl: Fix bug in the handling of remote connection closure of {active,false} ↵Ingela Anderton Andin
ssl sockets.
2012-06-13Merge branch 'ia/ssl/bottlenecks/OTP-10113' into maintIngela Anderton Andin
* ia/ssl/bottlenecks/OTP-10113: ssl: Test case fixes ssl: Avoid second bottleneck in supervisor ssl: File handling optimization ssl: Simpler PEM cache ssl: Refactored for readability ssl: Use md5 as file ref id instead of filenames ssl: Move ets:select bottleneck in server ssl: Renegotiate updates session id in gen_fsm state ssl: Use ordered_set in cache ssl: Move and avoid ets:select bottleneck in client ssl: Reuse session check optimization ssl: Avoid supervior bottleneck
2012-06-12Merge branch 'ia/ssh/missing-reason-in-catch-exit/OTP-10112' into maintIngela Anderton Andin
* ia/ssh/missing-reason-in-catch-exit/OTP-10112: Improved handling of multiple closes
2012-06-12Fix indentation of record fields in EmacsTomas Abrahamsson
In some situations, the indentation of record fields in Emacs was strange. This example below shows how Emacs previously would indent two similar pieces of code very differently: some_function_with_a_very_long_name() -> #'a-long-record-name-like-it-sometimes-is-with-asn.1-records'{ field1=a, field2=b}. x() -> #some_record_name{ field1=a, field2=b}. This changes the indentation to be like below for both cases: some_function() -> #some_record{ field1=a, field2=b}.
2012-06-12Fix nonsense of eprof docRicardo Catalinas Jiménez
2012-06-12ssl: Test case fixesIngela Anderton Andin
2012-06-08ssl: Avoid second bottleneck in supervisorIngela Anderton Andin
Do proc_lib:spawn_link instead of proc_lib:start_link as synchronized init is not used/needed anyway.
2012-06-08ssl: File handling optimizationIngela Anderton Andin
Avoid cach validation with file:file_info/2 as this i too expensive and causes a bottleneck in the file server. Instead we expose a new API function ssl:clear_pem_cache/0 to deal with the problem. As we think it will be of occasional use and the normal case is that the cache will be valid we think it is the right thing to do. Convert file paths to binary representation in the ssl API module to avoid uncessarry calls in file later on. Also add sanity checks for openssl versions in testsuite due to new openssl bugs.