aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-02-13Merge branch 'bjorn/makefiles' into maintBjörn Gustavsson
* bjorn/makefiles: Include the xmerl include files in the bootstrap Teach lib/Makefile to build applications listed in EXTRA-APPLICATIONS Clean up lib/Makefile
2012-02-13Add behaviour (api) module with callback specsGustav Simonsson
Function parameter and return type specifications for the public key functions
2012-02-13Make dialyzer recognize the process_flag option sensitiveHenrik Nord
add missing specs to documentation
2012-02-13Client now honors the allow_user_interaction optionIngela Anderton Andin
2012-02-13Avoid to crash if the remote side closes the connection prematurelyIngela Anderton Andin
2012-02-13Fix to integer and sequence definitionsGustav Simonsson
Enable re-use of integer definitions in subsequent definitions and added clauses to check greatest common range for sequence definitions
2012-02-13Merge branch 'maint'Ingela Anderton Andin
* maint: Correct access flag handling in sftpd Client fallbacks to ipv4 if connection is refused with ipv6 Cleaned up code so that ssh_file can become a template for a documented ssh_keys behavior Test case maintenance Better handling of IPv6 Ssh daemon handles RSA host keys Removed no longer needed code Use the public_key application for all public key handling
2012-02-13compiler: Teach the inliner to preserve on_load functionsBjörn Gustavsson
The inliner was ignorant of on_load functions and would discard them (unless they were exported or referenced). Noticed-by: Yiannis Tsiouris <[email protected]>
2012-02-13Merge branch 'ia/ssh/public_keys/OTP-9911' into maintIngela Anderton Andin
* ia/ssh/public_keys/OTP-9911: Correct access flag handling in sftpd Client fallbacks to ipv4 if connection is refused with ipv6 Cleaned up code so that ssh_file can become a template for a documented ssh_keys behavior Test case maintenance Better handling of IPv6 Ssh daemon handles RSA host keys Removed no longer needed code Use the public_key application for all public key handling
2012-02-10Correct access flag handling in sftpdIngela Anderton Andin
Also Moved app test to ssh_basic_SUITE There is no reason to have a separate suite for the app test it increases maintenance costs
2012-02-10Client fallbacks to ipv4 if connection is refused with ipv6Ingela Anderton Andin
2012-02-10Cleaned up code so that ssh_file can become a template for a documentedIngela Anderton Andin
ssh_keys behavior
2012-02-10Test case maintenanceIngela Anderton Andin
2012-02-10Better handling of IPv6Ingela Anderton Andin
2012-02-10Ssh daemon handles RSA host keysIngela Anderton Andin
Solves OTP-7677
2012-02-10Removed no longer needed codeIngela Anderton Andin
2012-02-10Use the public_key application for all public key handlingIngela Anderton Andin
Also improved test suites to avoid copying of users keys to test server directories as this is a security liability
2012-02-10Include the xmerl include files in the bootstrapBjörn Gustavsson
2012-02-10Teach lib/Makefile to build applications listed in EXTRA-APPLICATIONSBjörn Gustavsson
2012-02-10Clean up lib/MakefileBjörn Gustavsson
We only support building epmd, erl_interface, and ic for VxWorks; therefore there is no need to have a conditional section for VxWorks. We use to build different applications on Windows and Unix, but that is no longer the case; therefore one list of applications is sufficient. Unfortunately, there are build order dependencies between the applications, so we must not sort the list.
2012-02-10Merge branch 'maint'Hans Bolinder
* maint: Remove usage of tuple funs in sofs
2012-02-10Merge branch 'hb/stdlib/sofs_tuple_funs/OTP-9909' into maintHans Bolinder
* hb/stdlib/sofs_tuple_funs/OTP-9909: Remove usage of tuple funs in sofs
2012-02-09Merge branch 'maint'Björn Gustavsson
* maint: Update primary bootstrap HiPE: Remove support for is_constant/1 erl_lint: Remove handling of constant/1 erl_bif_types: Remove type for is_constant/1 erl_eval: Remove support for is_constant/1 Remove support for is_constant/1 in ms_transform Remove references to is_constant/1 from the match spec documentation Conflicts: lib/hipe/cerl/erl_bif_types.erl Also re-instate the type for erlang:is_boolean/1 which was accidentally omitted in the master branch.
2012-02-09Remove usage of tuple funs in sofsHans Bolinder
2012-02-09Update primary bootstrapBjörn Gustavsson
2012-02-09Merge branch 'bjorn/remove-is_constant-vestiges/OTP-6454' into maintBjörn Gustavsson
* bjorn/remove-is_constant-vestiges/OTP-6454: HiPE: Remove support for is_constant/1 erl_lint: Remove handling of constant/1 erl_bif_types: Remove type for is_constant/1 erl_eval: Remove support for is_constant/1 Remove support for is_constant/1 in ms_transform Remove references to is_constant/1 from the match spec documentation
2012-02-09Merge branch 'maint'Ingela Anderton Andin
* maint: User defined verify_fun is now called correctly Do not test sslv2 rejection with openssl-1.*
2012-02-09Merge branch 'ia/ssl/test-maint/reject-sslv2-test' into maintIngela Anderton Andin
* ia/ssl/test-maint/reject-sslv2-test: Do not test sslv2 rejection with openssl-1.*
2012-02-09Merge branch 'ia/ssl/verify_fun' into maintIngela Anderton Andin
* ia/ssl/verify_fun: User defined verify_fun is now called correctly
2012-02-09Merge branch 'maint'Björn Gustavsson
* maint: Update primary bootstrap Deprecate the Toolbar application Deprecate applications that have been superseded by observer Suppress deprecated warnings in all modules that call 'gs' Deprecate the gs application Mark doc_builder as removed (and not merely deprecated)
2012-02-09Update primary bootstrapBjörn Gustavsson
2012-02-09Merge branch 'bjorn/deprecations/OTP-9907' into maintBjörn Gustavsson
* bjorn/deprecations/OTP-9907: Deprecate the Toolbar application Deprecate applications that have been superseded by observer Suppress deprecated warnings in all modules that call 'gs' Deprecate the gs application Mark doc_builder as removed (and not merely deprecated)
2012-02-08Deprecate the Toolbar applicationBjörn Gustavsson
2012-02-08Deprecate applications that have been superseded by observerBjörn Gustavsson
2012-02-08Suppress deprecated warnings in all modules that call 'gs'Björn Gustavsson
2012-02-08Deprecate the gs applicationBjörn Gustavsson
2012-02-08Mark doc_builder as removed (and not merely deprecated)Björn Gustavsson
2012-02-08User defined verify_fun is now called correctlyIngela Anderton Andin
Background from erlang-questions: > We use this test suite to verify our PKIX-path-validation code, > granted we do not yet support CRL-handling but that is on its > way. Our verify_fun will let you work around the problem that it > is not yet supported. (Not so fun for you perhaps but a possible > solution for now). this is unfortunately not the case since for versions that contain commit 4dbf3c9e4ae7cfd19b247353369166d31b8f15e5 (it is in R14B04 and R15B) the documented behaviour (verify_fun will be called for every certificate) is broken: the verify_fun will only be called, if the certificate contains unknown extensions. it is therefore not useful as a CRL workaround (anymore). best regards Stefan Grundmann
2012-02-08Merge branch 'bjorn/bif-test-cases'Björn Gustavsson
* bjorn/bif-test-cases: bif_SUITE: Test for suitable "shadowed by erl_bif_types" comments bif_SUITE: Add test to ensure that all guard BIFs have type info Replace autoimport_SUITE with bif_SUITE:auto_imports/1 bif_SUITE: Add test case for specs and BIF stubs
2012-02-08bif_SUITE: Test for suitable "shadowed by erl_bif_types" commentsBjörn Gustavsson
2012-02-08bif_SUITE: Add test to ensure that all guard BIFs have type infoBjörn Gustavsson
2012-02-08Replace autoimport_SUITE with bif_SUITE:auto_imports/1Björn Gustavsson
erts/test/autoimport_SUITE tested that auto-import information in erl_internal:bif/2 was consistent with the documentation. It did it by scanning erlang.xml. Since the documentation is now based on the specs in erlang.erl, we should now test consistency of the specs and erl_internal:bif/2. Since anyone that adds a new BIF runs the emulator test suite, it makes sense to do this test in bif_SUITE in the emulator test suite.
2012-02-08bif_SUITE: Add test case for specs and BIF stubsBjörn Gustavsson
Rename the existing types/1 test case to erl_bif_types/1 to make it clearer what it does. Also no longer test for missing type information for BIFs (since it has become optional), but only check that the information provided seems to be consistent. Introduce the specs/1 test case to ensure that all BIFs have specs. Also introduce improper_bif_stubs/1 to check for proper stubs. Since the BEAM loader will now silently allow stubs for BIFs, we want to be particular about exactly what a stub look like, so that an Erlang function is not unintentionally overridden by a BIF.
2012-02-08Fix typo in supervisor behaviour docRicardo Catalinas Jiménez
Remove unnecessary &gt; from a CDATA section.
2012-02-07Merge branch 'maint'Patrik Nyblom
Conflicts: erts/doc/src/erlang.xml erts/preloaded/ebin/erlang.beam
2012-02-07Merge branch 'dgud/sched-work-time/OTP-9858' into maintPatrik Nyblom
* dgud/sched-work-time/OTP-9858: emulator: Document and test scheduler_wall_time Implement statistics(scheduler_wall_time)
2012-02-07Merge branch 'pan/bif_specs/OTP-9684'Patrik Nyblom
* pan/bif_specs/OTP-9684: Correct docs, comments and dialyzer tests Reintroduce sensitive BIFs in erl_bif_types Correct dializer errors in erlang.erl and others Make erlang doc use specs from erlang.erl erlang.erl with specs for all (but one) bif
2012-02-07Correct docs, comments and dialyzer testsPatrik Nyblom
Update preloaded erlang.beam Removed stray error in dialyzer test suite - different error message with the new specs.
2012-02-07Reintroduce sensitive BIFs in erl_bif_typesPatrik Nyblom
This involves exception BIF's, guar BIF's and some other complicated BIF's Also some minor corrections to documentation and specs in erlang.erl Added comment for each spec in erlang.erl shadowed by erl_bif_types. Dialyzer test should now run well except for one or two cases.
2012-02-07Correct dializer errors in erlang.erl and othersPatrik Nyblom
New errors found when adding specs to erlang.erl and removing them from erl_bif_types are examined and corrected. Some errors was due to faulty specs, while others were actual errors in the code using BIF's.