aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2014-04-03compiler,stdlib: Fix Map literals as keys for Maps in patternsBjörn-Egil Dahlberg
2014-04-02Merge branch 'egil/test-cuddling'Björn-Egil Dahlberg
* egil/test-cuddling: tools: Refactor testcase emulator: Increase timetrap timeout for binary_SUITE emulator: Increase timetrap timeout for match_spec_SUITE
2014-04-02Merge branch 'siri/ct_netconfc-spec/OTP-11834'Siri Hansen
* siri/ct_netconfc-spec/OTP-11834: Fix specs for return values in ct_netconfc
2014-04-01tools: Refactor testcaseBjörn-Egil Dahlberg
2014-04-01Fix specs for return values in ct_netconfcSiri Hansen
Some functions in ct_netconfc which return XML data had faulty specs. These have been corrected.
2014-04-01Merge branch 'yiannist/erllvm-fixes'Sverker Eriksson
* yiannist/erllvm-fixes: Fix frame size adjustment of stack descriptors Fix counting of arguments of closures Check for required LLVM version or issue error
2014-04-01Merge branch 'anders/diameter/17.0_release/OTP-11825'Anders Svensson
* anders/diameter/17.0_release/OTP-11825: Simplify xref tests in app suite Add app suite test for app file runtime_dependencies Generate runtime_dependencies in app file Remove syntax_tools and runtime_tools from app file
2014-04-01Merge branch 'egil/maps-doc'Björn-Egil Dahlberg
* egil/maps-doc: doc: Add Maps example for sequential programming doc: Mention map expressions and map guards doc: Add maps to reference manual edoc: Add map/0 as a new predefined type doc: Descripe Maps type syntax doc: Clearify language of user-defined attributes doc: Document Maps datatype in reference manual erts: Document map guard functions erts: Fix is_map/1 spec
2014-04-01edoc: Add map/0 as a new predefined typeBjörn-Egil Dahlberg
2014-04-01Merge branch 'ia/inets/dialyzer'Ingela Anderton Andin
* ia/inets/dialyzer: inets: Handle all response codes in httpd_util:message/3
2014-03-31Merge branch 'ia/ssl/accept-with-options'Ingela Anderton Andin
* ia/ssl/accept-with-options: ssl: Add possibility to specify ssl options when calling ssl:ssl_accept
2014-03-31ssl: Add possibility to specify ssl options when calling ssl:ssl_acceptIngela Anderton Andin
2014-03-31Simplify xref tests in app suiteAnders Svensson
By examining which modules *use* runtime and compiler modules instead of which modules compiler modules call. Note that the semantics are changed somewhat: we will now fail if diameter modules are called from an application which diameter.app lists as a start dependency, which wasn't the case previously.
2014-03-31Add app suite test for app file runtime_dependenciesAnders Svensson
In particular, that modules listed in the 'modules' tuple only call modules in other applications listed in the 'runtime_dependencies' tuple.
2014-03-31Generate runtime_dependencies in app fileAnders Svensson
To avoid having to specify applications more than once.
2014-03-31Merge branch 'kostis/hipe-test-fix'Sverker Eriksson
* kostis/hipe-test-fix: Add support for testing the LLVM backend too Ensure generated modules are properly included in the Emakefile
2014-03-31Merge branch 'ia/inets/test-case-cuddling'Ingela Anderton Andin
* ia/inets/test-case-cuddling: inets: Avoid timing issus in test case code inets: Avoid Windows XP port problems
2014-03-31Merge branch 'bjorn/asn1/documentation'Björn Gustavsson
* bjorn/asn1/documentation: Consistenly use ASN.1 instead of asn1 Correct some spelling, grammar and punctation issues Correct description of the undec_rest option Correct description of the REAL type Replace "extend-ability" with "extensibility" Remove the section about encoding rules Bring information about tags up to date Don't waste words describing the SET type Correct and modernize the examples for DEFAULT Correct the UTF8String description and example Correct the PrimStrings example Remove all uses of the deprecated asn1{ct,rt}:{en,de}code/2 functions Correct and modernize the "A First Example" section Shorten the Introduction section, keeping only the essential details Fix an ampersand Document the asn1_OPENTYPE wrapper
2014-03-31inets: Handle all response codes in httpd_util:message/3Ingela Anderton Andin
2014-03-31Merge branch 'anders/diameter/unicode_path/OTP-11655'Anders Svensson
* anders/diameter/unicode_path/OTP-11655: Fix unicode path failure in diameter_make:codec/2
2014-03-31Merge branch 'anders/diameter/unicode/OTP-11686'Anders Svensson
* anders/diameter/unicode/OTP-11686: Use fun encoding to erl_parse:abstract/2 Adapt dictionary compilation to new default encoding
2014-03-31Merge branch 'anders/diameter/pick_peer/OTP-11789'Anders Svensson
* anders/diameter/pick_peer/OTP-11789: Fix pick_peer case clause failure
2014-03-31Merge branch 'ks/hipe-is_map-support/OTP-11831'Björn-Egil Dahlberg
* ks/hipe-is_map-support/OTP-11831: Reinstate native code compilation of cerl and erl_types Take out no_native compiler attribute Add support for the compilation of the is_map/1 guard to native code Add 'map' to the set of icode_type_test()s Support the translation of the is_map BEAM instruction to Icode
2014-03-31Merge branch 'egil/ssl-test-fix'Björn-Egil Dahlberg
* egil/ssl-test-fix: ssl: Testing - sha256 digest not supported on all platforms
2014-03-31Merge branch 'dw/common_test/run-test-typo'Björn-Egil Dahlberg
* dw/common_test/run-test-typo: Fix typo in common_test documentation for the -join_specs flag
2014-03-30Fix frame size adjustment of stack descriptorsYiannis Tsiouris
In case of function calls with arguments that are passed to the stack, the frame size of corresponding stack descriptors needs to be reduced by the number of stack arguments. This commit fixes a bug in this adjustment which was caused by an incorrect check.
2014-03-30Fix counting of arguments of closuresChristos Stavrakakis
Do not rely on MFA name for the arity of functions, since closures have an extra argument. Instead, just use the length of the arguments list.
2014-03-30Check for required LLVM version or issue errorYiannis Tsiouris
This checks that a required LLVM version (i.e. 3.4 or greater) appears in $PATH when 'to_llvm' flag is used; in case of failure, abort compilation with an error.
2014-03-30Remove syntax_tools and runtime_tools from app fileAnders Svensson
The former is used by the dictionary compiler, the latter by some unfinished code in diameter_dbg. None of the corresponding modules are included in the app file since they typically aren't needed/wanted on a target system.
2014-03-30Merge branch 'anders/diameter/17.0_release/OTP-11605'Anders Svensson
* anders/diameter/17.0_release/OTP-11605: Move info modules into own subdirectory Include compiler and info modules in app file Remove unused diameter_dbg:log/4 Remove case expecting a pre-R16B return value from os:type/1 Fix doc typo: required -> requires Remove release note unrelated to functionality
2014-03-30Merge branch 'kostis/dialyzer/report_wall_clock_time'Hans Bolinder
* kostis/dialyzer/report_wall_clock_time: Report wall clock time instead of runtime when crashing
2014-03-30Fix reference to start_type() i application(3)Hans Bolinder
2014-03-30Export type application:start_type()Loïc Hoguin
Also use this type in the start/2 callback spec.
2014-03-29Move info modules into own subdirectoryAnders Svensson
Possibly overkill for two modules but it mirrors their different treatment by the makefile.
2014-03-29Include compiler and info modules in app fileAnders Svensson
Albeit as comments. This is just to make it more obvious that these aren't include in the modules list, since they typically aren't needed/wanted on a target system. Also add comments for the corresponding dependencies on syntax_tools and runtime_tools, as well as the optional runtime dependency on ssl.
2014-03-29Remove unused diameter_dbg:log/4Anders Svensson
It was intended to replace diameter_lib:log/4 at some point but that was a bad idea since diameter_dbg isn't included in the app file.
2014-03-29Remove case expecting a pre-R16B return value from os:type/1Anders Svensson
The documented return value changed in commit c37a9761.
2014-03-29Fix doc typo: required -> requiresAnders Svensson
2014-03-29Remove release note unrelated to functionalityAnders Svensson
2014-03-28ssl: Testing - sha256 digest not supported on all platformsBjörn-Egil Dahlberg
Certificates uses: default_md = sha256 This is not supported on all test platforms, use md5 instead for testing.
2014-03-28Reinstate native code compilation of cerl and erl_typesKostis Sagonas
2014-03-28Take out no_native compiler attributeKostis Sagonas
2014-03-28Add support for the compilation of the is_map/1 guard to native codeKostis Sagonas
Namely, extend the HiPE tagging scheme info, properly handle the translation of the (is_)map type test to Icode and RTL and support handling of the map() type in the type system. While at it, also performed some clean up of things that needed small fixes.
2014-03-28Add 'map' to the set of icode_type_test()sKostis Sagonas
2014-03-28Support the translation of the is_map BEAM instruction to IcodeKostis Sagonas
2014-03-28Merge branch 'egil/maps-fix-src-listing'Björn-Egil Dahlberg
* egil/maps-fix-src-listing: stdlib: Fix map type listing
2014-03-28Report wall clock time instead of runtime when crashingKostis Sagonas
On SMPs, the time reports that Dialyzer produced when crashing were inaccurate. Fix this by using wall_clock rather than runtime.
2014-03-28Merge branch 'peppe/test_server/parallel_tests_timing'Peter Andersson
* peppe/test_server/parallel_tests_timing: Relax time limits for parallel groups tests
2014-03-28Merge branch 'peppe/common_test/ct_telnet_close_error'Peter Andersson
* peppe/common_test/ct_telnet_close_error: Fix problem with bad match error after close
2014-03-28Dialyzer now plays nicely with funs that come as "external" argumentsStavros Aronis
Two steps are needed to make this work: 1) Avoid generating the additional "apply_constraint" in dialyzer_typesig by reporting every function argument as a potential external function (patch on dialyzer_dep). This will produce correct success typings for all functions in the test case, but dataflow would miss the key warnings that help identify the bugs. 2) Patch dialyzer_dataflow so that it uses the "handle just external" path as a fallback whenever there are any external calls. As a result, if we have info about some paths, then: a) use the old "handle known apply" code to mark these functions as used and b) ignore the generalized result and use the one found by typesig for the return value of the apply itself.