aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-08-23Merge branch 'maint'Ingela Anderton Andin
* maint: Fix assembler comments for hipe on ppc odbc: remove "-" in hostname from generated unique table name
2012-08-23Merge branch 'ia/odbc/test-suite-maint' into maintIngela Anderton Andin
* ia/odbc/test-suite-maint: odbc: remove "-" in hostname from generated unique table name
2012-08-23Merge branch 'sverk/hipe-ppc-assembler-comment' into maintSverker Eriksson
* sverk/hipe-ppc-assembler-comment: Fix assembler comments for hipe on ppc
2012-08-23Merge branch 'maint' of super:otp into maintFredrik Gustafsson
* 'maint' of super:otp: Revert "Merge branch 'nox/compile-column-numbers' into maint" compiler: Warn if the size of a binary segment is invalid Allow non-ASCII characters in Xref filanmes Add powerpc dso xcomp file
2012-08-23Merge branch 'maint'Björn Gustavsson
* maint: compiler: Warn if the size of a binary segment is invalid
2012-08-23Merge branch 'bjorn/compiler/illegal-size/OTP-10197' into maintBjörn Gustavsson
* bjorn/compiler/illegal-size/OTP-10197: compiler: Warn if the size of a binary segment is invalid
2012-08-23Merge branch 'hb/edoc/union_paren/OTP-10195'Hans Bolinder
* hb/edoc/union_paren/OTP-10195: Fix an issue with parentheses and separate values of union types
2012-08-23Merge branch 'hb/dets_bound_key_opt/OTP-10097'Hans Bolinder
* hb/dets_bound_key_opt/OTP-10097: Optimize traversal of Dets tables with bound key
2012-08-23Merge branch 'maint'Hans Bolinder
* maint: Allow non-ASCII characters in Xref filanmes
2012-08-23Merge branch 'hb/tools/xref_filenames/OTP-10192' into maintHans Bolinder
* hb/tools/xref_filenames/OTP-10192: Allow non-ASCII characters in Xref filanmes
2012-08-22Merge branch 'maint'Lukas Larsson
* maint: Add powerpc dso xcomp file
2012-08-22Merge branch 'lukas/erts/xcomp-ppc/OTP-10198' into maintLukas Larsson
* lukas/erts/xcomp-ppc/OTP-10198: Add powerpc dso xcomp file
2012-08-22Merge branch 'maint'Lukas Larsson
* maint: Revert "Merge branch 'nox/compile-column-numbers' into maint"
2012-08-22Revert "Merge branch 'nox/compile-column-numbers' into maint"Lukas Larsson
Column numbers was merged without understanding all the whole story. See mail on erlang-patches for details. This reverts commit df8e67e203b83f95d1e098fec88ad5d0ad840069, reversing changes made to 0c9d90f314f364e5b1301ec89d762baabc57c7aa.
2012-08-22Fix assembler comments for hipe on ppcSverker Eriksson
Change to preprocessor comments to work on all OS.
2012-08-22compiler: Warn if the size of a binary segment is invalidBjörn Gustavsson
The compiler would silently accept and Dialyzer would crash on code like: <<X:(2.5)>> It is never acceptable for Dialyzer to crash. The compiler should at least generate a warning for such code. It is tempting to let the compiler generate an error, but that would mean that code like: Sz = 42.0, <<X:Sz>>. would be possible to compile with optimizations disabled, but not with optimizations enabled. Dialyzer crashes because it calls cerl:bitstr_bitsize/1, which crashes if the type of size for the segment is invalid. The easiest way to avoid that crash is to extend the sanity checks in v3_core to also include the size field of binary segments. That will cause the compiler to issue a warning and to replace the bad binary construction with a call to erlang:error/1. (It also means that Dialyzer will not issue a warning for bad size fields.)
2012-08-22odbc: remove "-" in hostname from generated unique table nameIngela Anderton Andin
2012-08-22Fix an issue with parentheses and separate values of union typesHans Bolinder
Since EDoc 0.7.7 (R14B02) separate values of union types can be annotated. However, the parser has hitherto chosen not to add the necessary parentheses due to backwards compatibility. From this release on code traversing the output of edoc_parser needs to take care of parentheses around separate values of union types. Examples of such code are layout modules and doclet modules. The following example shows annotated values of a union type: -type t() :: (Name1 :: atom()) | (Name2 :: integer()).
2012-08-22Allow non-ASCII characters in Xref filanmesHans Bolinder
Xref now accepts filenames with character codes greater than 126. (Thanks to Emile Joubert for reporting the issue.)
2012-08-22Merge branch 'bjorn/remove-tuple-funs/OTP-10170'Björn Gustavsson
* bjorn/remove-tuple-funs/OTP-10170: Remove support for tuple funs
2012-08-21Optimize traversal of Dets tables with bound keyHans Bolinder
Dets tables are no longer fixed while traversing with a bound key (when only the objects with the right key are matched). This optimization affects the functions match/2, match_object/2, select/2, match_delete/2, and select_delete/2.
2012-08-21Merge branch 'maint'Hans Bolinder
* maint: Let t_inf() substitute any() for variables in a few more cases Fix a bug in dialyzer_dataflow
2012-08-21Merge branch 'hb/dialyzer/bug_fixes/OTP-10191' into maintHans Bolinder
* hb/dialyzer/bug_fixes/OTP-10191: Let t_inf() substitute any() for variables in a few more cases Fix a bug in dialyzer_dataflow
2012-08-21Let t_inf() substitute any() for variables in a few more casesHans Bolinder
The clauses handling opaque types haven't been fixed here.
2012-08-21Fix a bug in dialyzer_dataflowHans Bolinder
2012-08-21Merge branch 'maint'Dan Gudmundsson
2012-08-21Merge branch 'dgud/dialyzer_fixes' into maintDan Gudmundsson
* dgud/dialyzer_fixes: [et] Remove dead code (and fix dialyser warnings) [wx] Add callback option to event handler spec
2012-08-21Merge branch 'dgud/observer/bug-fixes/OTP-10075' into maintDan Gudmundsson
* dgud/observer/bug-fixes/OTP-10075: [observer] Fix dialyser warnings Format latin binary strings in table viewer Fix process_info from app tab on other nodes
2012-08-21Merge branch 'maint'Hans Bolinder
* maint: Add an undocumented option [--solver [v1 | v2]] Add an alternative implmentation of the typesignature solver
2012-08-21Merge branch 'hb/dialyzer/typesig_solver_v2/OTP-10110' into maintHans Bolinder
* hb/dialyzer/typesig_solver_v2/OTP-10110: Add an undocumented option [--solver [v1 | v2]] Add an alternative implmentation of the typesignature solver
2012-08-21Add an undocumented option [--solver [v1 | v2]]Hans Bolinder
The original implementation of the type signature solver is called 'v1' and the newly introduced alternative implementation is called 'v2'. It is possible to run just the one of the solvers (in case there is a bug in for instance the v2 implementation) or both solvers ("--solver v1 --solver v2"). In the latter case an error is thrown if the outcome differ.
2012-08-21Add an alternative implmentation of the typesignature solverHans Bolinder
An alternative implementation of the solver in dialyzer_typesig has been introduced. It is faster than the original implementation. Note: there is code for "loop detection". Where a loop occurs, the evaluation is stopped and the current solution returned. This behaviour is consistent with how the original implementation works. There are a few known cases where the loop detection kicks in. They are due to bugs which will hopefully be fixed in a near future.
2012-08-20Merge branch 'maint'Patrik Nyblom
Conflicts: erts/doc/src/erlang.xml erts/preloaded/ebin/init.beam lib/kernel/doc/src/os.xml lib/stdlib/test/filename_SUITE.erl
2012-08-20Merge branch 'pan/unicode_home/OTP-10160' into maintPatrik Nyblom
* pan/unicode_home/OTP-10160: Teach release_handler_SUITE about file:native_name_encoding/0 Add documetation about Unicode in environment Make get/putenv and erlexec understand Unicode
2012-08-20Merge branch 'pan/werl_caret/OTP-10181' into maintPatrik Nyblom
* pan/werl_caret/OTP-10181: Teach caret to appear correctly after focus loss
2012-08-20Merge branch 'slf/slf-relocate-dtrace-N-probes/OTP-10189' into maintFredrik Gustafsson
* slf/slf-relocate-dtrace-N-probes/OTP-10189: Relocate bodies of DTrace probes to the statically-linked VM.
2012-08-20Merge branch 'jkl/fix-filename-nativename/OTP-10188' into maintFredrik Gustafsson
* jkl/fix-filename-nativename/OTP-10188: Fix filename:nativename/1 on Win32 Add filename:nativename/1 binary argument test to suite
2012-08-20Merge branch 'psi/fix-clever-mktime/OTP-10187' into maintFredrik Gustafsson
* psi/fix-clever-mktime/OTP-10187: Fix use of "clever" mktime
2012-08-20Merge branch 'maint'Patrik Nyblom
Conflicts: erts/etc/common/heart.c
2012-08-20Merge branch 'maint-r15' into maintPatrik Nyblom
2012-08-20Merge branch 'pan/heart_and_times/OTP-10111' into maintPatrik Nyblom
* pan/heart_and_times/OTP-10111: Make heart use clock_gettime when available
2012-08-20Merge branch 'maint-r14' into maint-r15Patrik Nyblom
2012-08-20Merge branch 'maint-r13' into maint-r14Patrik Nyblom
2012-08-17Merge branch 'maint'Siri Hansen
2012-08-17Merge branch 'siri/common_test/ct_netconfc/OTP-10025' into maintSiri Hansen
* siri/common_test/ct_netconfc/OTP-10025: [common_test] Move ct_netconfc_SUITE into datadir and run with ct_test_support [common_test] Don't abort test if opening of connection fails [common_test] Don't allow named (required) connection to be opened twice [common_test] Don't abort test run if connection process crashes [common_test] Add netconf client, ct_netconfc
2012-08-17Relocate bodies of DTrace probes to the statically-linked VM.Scott Lystig Fritchie
Due to various operating systems (in both the DTrace and SystemTap worlds) not fully supporting DTrace probes (or SystemTap-compatibility mode probes) in shared libraries, we relocate those probes to the statically-linked virtual machine. This could be seen as pollution of the pristine VM by a (yet) experimental feature. However: 1. This code can be eliminated completely by the C preprocessor. 2. Leaving the probes in the dyntrace NIF shared library simply does not work correctly on too many platforms. *Many* thanks to Macneil Shonle at Basho for assisting when my RSI-injured fingers gave out. Tested on: * CentOS 5, SystemTap 1.3 * Solaris 10 (note) * Solaris 11 * OpenIndiana 151 * SmartOS 20120809T221258Z * FreeBSD 9.0-RELEASE (note) I had hoped to be able to test CentOS 6 + SystemTap 1.7, but the details of dealing with all dependencies for a 2.6.32-279.5.1.el6.x86_64 kernel are too time consuming right now. (note: Solaris 10 and FreeBSD 9.0-RELEASE can take a long time to compile)
2012-08-17Merge branch 'maint'Micael Karlberg
2012-08-17Merge branch 'bmk/snmp/snmp4221_integration2' into maintMicael Karlberg
2012-08-17Merge branch 'bmk/inets/inets591_integration' into maintMicael Karlberg
2012-08-17[common_test] Move ct_netconfc_SUITE into datadir and run with ct_test_supportSiri Hansen