aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-08-10Merge branch 'rc/eunit-2.2.3/OTP-10173' into maintFredrik Gustafsson
* rc/eunit-2.2.3/OTP-10173: Include fixture setup and cleanup errors in Eunit Surefire report documentation fixes add {test,M,F} as a better variant of {M,F} and make the latter obsolete minor cleanup Write chars as UTF-8 to file detect and report bad return values from generators and instantiators eunit_tests should not be listed in eunit.app improved layout of error messages - stack trace before error term bumped revision make stack trace pruning know about the new format Make EUnit print stacktraces with location information Add option 'no_tty' to silent the default tty report
2012-08-10Include fixture setup and cleanup errors in Eunit Surefire reportMagnus Henoch
An error during fixture setup means that some tests could not be run, and therefore needs to be highlighted in the test report. Likewise, a cleanup failure is often a problem that needs to be looked into. Since setup and cleanup are not part of any single test in Eunit's view, I include them as phantom test cases in the report whenever they fail.
2012-08-10documentation fixesRichard Carlsson
2012-08-10add {test,M,F} as a better variant of {M,F} and make the latter obsoleteRichard Carlsson
2012-08-10minor cleanupRichard Carlsson
2012-08-10Write chars as UTF-8 to fileLukas Larsson
2012-08-10detect and report bad return values from generators and instantiatorsRichard Carlsson
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-10Merge branch 'rc/edoc-0.7.10/OTP-10174' into maintFredrik Gustafsson
* rc/edoc-0.7.10/OTP-10174: bumped revision List behaviour callbacks in Edoc when using -callback attribute added special case for file names under Windows, thanks to Beads Land-Trujillo
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-08bumped revisionRichard Carlsson
2012-08-08List behaviour callbacks in Edoc when using -callback attributeMagnus Henoch
Defining a behaviour_info/1 function is no longer the only way to define a behaviour; you can use -callback attributes as well. This change makes edoc aware of the latter, such that the module documentation page for a behaviour module will list the name and arity of the required callback functions. Ideally, edoc should use the type information present in the callback attributes, but with this change, the documentation is at least no worse than when using an explicit behaviour_info function.
2012-08-08added special case for file names under Windows, thanks to Beads Land-TrujilloRichard Carlsson
2012-08-07Update preloadedSiri Hansen
erl_prim_loader.beam
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-31Merge branch 'rickard/cerl-emacs-gdb' into maintRickard Green
* rickard/cerl-emacs-gdb: Use annotate level 1 for 'gdb' with 'emacs' in 'cerl'
2012-07-31Merge branch 'rickard/proc-lock-queues/OTP-10163' into maintRickard Green
* rickard/proc-lock-queues/OTP-10163: Use static allocation of process lock queues
2012-07-31Merge branch 'rickard/dealloc/OTP-10162' into maintRickard Green
* rickard/dealloc/OTP-10162: Improve the enqueue operation of delayed dealloc Implement delayed aux work wake up
2012-07-31Use static allocation of process lock queuesRickard Green
By using statically allocated lock queues there is no longer any need for locking corresponding pix lock when process locks have been transferred after a wait. This costs us 3 words extra in process structure, but improves performance during contention.
2012-07-31Improve the enqueue operation of delayed deallocRickard Green
The enqueue operation have been re-written to behave better during heavy contention by spreading writes over multiple locations. This enqueue operation also take advantage of the delayed aux work wake up functionality and can by this omit one memory barrier.
2012-07-31Implement delayed aux work wake upRickard Green
By using a delayed aux work wake up approach, a memory barrier can be omitted in the delayed dealloc enqueue operation. The amount of operations, on the potentially contended, wake up structure is also reduced.
2012-07-27Use annotate level 1 for 'gdb' with 'emacs' in 'cerl'Rickard Green
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-25Merge branch 'egil/fix-install-osx-readme' into maintBjörn-Egil Dahlberg
* egil/fix-install-osx-readme: Clean up Install Erlang on OSX
2012-07-25Clean up Install Erlang on OSXBjörn-Egil Dahlberg
2012-07-25Merge branch 'egil/fix-inet-bit8-doc' into maintBjörn-Egil Dahlberg
* egil/fix-inet-bit8-doc: doc: Fix faulty tag in inet bit8 documentation
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-18Update preloadedHenrik Nord
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-11erts: add space before '*' in some function prototypesHans Bolinder
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.