aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2018-06-11Merge branch 'hans/ssh/cuddle_tests'Hans Nilsson
* hans/ssh/cuddle_tests: ssh: Fix client_sends_info_timing property test case ssh: Add ssh/test/property_test dir to test releases
2018-06-11Merge branch 'hans/public_key/dialyzer'Hans Nilsson
* hans/public_key/dialyzer: public_key: Make dialyzer happy
2018-06-11Merge branch 'hans/public_key/new_moduli_file/OTP-15113'Hans Nilsson
* hans/public_key/new_moduli_file/OTP-15113: public_key: Generated new moduli file
2018-06-11public_key: Generated new moduli fileHans Nilsson
2018-06-11Add test caseRaimo Niskanen
2018-06-11Parse #mc_new_type{}s before definitions_loop/2Raimo Niskanen
2018-06-11Merge branch 'raimo/better-TLS-distribution/OTP-15058'Raimo Niskanen
* raimo/better-TLS-distribution/OTP-15058: Test nodename whitelist Use public_key to verify client hostname
2018-06-11edoc, erl_docgen: Fix pretty-printing of type map()Hans Bolinder
Complex types including map() are now pretty-printed.
2018-06-08public_key: Make dialyzer happyHans Nilsson
2018-06-08Test nodename whitelistRaimo Niskanen
2018-06-08Use public_key to verify client hostnameRaimo Niskanen
2018-06-08[logger] Update return values from get_handler_config/0,1 and get_config/0Siri Hansen
Module and Id are now always included as fields in Config, so these are no longer returned as separate elements.
2018-06-08[logger] Change name of handler specific config field from ?MODULE to 'config'Siri Hansen
And add field 'module' in handler config.
2018-06-08[logger] Add more functions for reading configurationSiri Hansen
Added: * logger:get_config() - replaces i(), returns all Logger configuration, i.e. primary and handler config, and module levels * logger:get_handler_ids() -> [HandlerId] * logger:get_handler_config() -> [{HandlerId,Module,Config}] Removed: * logger:i/1, will probably be replaced in a later release.
2018-06-08[logger] Change concept of 'global' configuration to 'primary' configurationSiri Hansen
Function names changed: get/set/update_logger_config -> get/set/update_primary_config add/remove_logger_filter -> add/remove_primary_filter
2018-06-08[logger] Don't use error_logger:warning_map/0Siri Hansen
The warning map was added to allow backwards compatiblity with error_logger event handlers that were not prepared to receive warning reports. error_logger still uses this internally, if legacy error logger event handlers are installed. But Logger does not use it for new Logger handlers.
2018-06-08[logger] Add if-exist functionality for metadata keys in formatter templateSiri Hansen
* Nested metadata keys are now expressed as list of atoms (was earlier tuples). * If-exist is expressed as: {Key,IfExist,Else} Key :: atom() | [atom()] IfExist :: template() Else :: template()
2018-06-08[logger] Add configurable log levels 'all' and 'none'Siri Hansen
New default for handlers is 'all'.
2018-06-08[logger] Change registered name of built-in handlers and use TID for mode tablePeter Andersson
2018-06-08[logger] Update interface for setting/unsetting module levelSiri Hansen
* Level can now be set/unset for multiple modules in one call. * Added functions get_module_level/0 and get_module_level/1.
2018-06-08Allow 'unlimited' as value to Kernel parameter error_logger_format_depthSiri Hansen
2018-06-08[logger] Change base OTP domain from [beam,erlang,otp] to [otp]Siri Hansen
2018-06-08[logger] Change handler config to accept all levels by defaultSiri Hansen
2018-06-08[logger] Change names of sync functions in built-in handlersSiri Hansen
logger_std_h:filesync/1 -----> logger_std_h:sync/1 logger_disk_log_h:disk_log_sync/1 -----> logger_disk_log_h:sync/1
2018-06-08kernel: Use ~0pHans Bolinder
2018-06-08debugger: Use ~0pHans Bolinder
2018-06-08common_test: Use ~0pHans Bolinder
2018-06-08Merge branch 'ingela/ssl/verify-hostname-customize/OTP-15102'Ingela Anderton Andin
* ingela/ssl/verify-hostname-customize/OTP-15102: ssl: Add option customize_hostname_check
2018-06-08ssl: Add option customize_hostname_checkIngela Anderton Andin
2018-06-08Merge branch 'hasse/common_test/remove_edoc_comments'Hans Bolinder
* hasse/common_test/remove_edoc_comments: common_test: Remove EDoc comments in internal modules common_test: Remove EDoc documentation in internal modules common_test: Remove EDoc documentation in public modules
2018-06-08Merge branch 'hasse/eliminate_lib_module/OTP-15072/ERL-634'Hans Bolinder
* hasse/eliminate_lib_module/OTP-15072/ERL-634: stdlib: Move eval_str/1 from mod_esi to erl_eval
2018-06-08Optimise beam_jumpMichał Muskała
This is an alternative to #1832. The optimisation relies on special-casing the common pattern of "renaming" a label by direct jump to another label. The change makes beam_jump recognise couple more opportunities for optimisation. The optimisation additionally avoids superfluous list concatenations by only flattening the accumulator at the very end.
2018-06-08Run the sharing optimisation in beam_jump until fixpointMichał Muskała
This is especially useful after inlining a function with a case. Today the compiler would most probably be able to unify all the leafs of the case during the sharing optimisation, but it would fail to unify the pattern matching itself. Naively running the optimisation multiple times wouldn't be able to find the common code either, because it would differ in jump/fail targets of various instructions. To remedy this, after doing each sharing pass we traverse the code backwards when reversing and update all the jump targets with the new targets that were discovered during the unification pass. This allows running the optimisation until fixpoint and makes sure all sharing opportunities will be discovered. This optimisation also helps with the Elixir's `with/else` construct.
2018-06-07ssh: Fix client_sends_info_timing property test caseHans Nilsson
2018-06-07public_key: Extend test case pkix_verify_hostname_subjAltNameHans Nilsson
2018-06-07ssh: Add ssh/test/property_test dir to test releasesHans Nilsson
2018-06-07Merge pull request #1832 from josevalim/jv-revert-beam-jumpBjörn Gustavsson
Revert "Run the sharing optimisation in beam_jump until fixpoint"
2018-06-07Merge pull request #1831 from bjorng/bjorn/compiler/fix-name-captureBjörn Gustavsson
Fix name capture problem in sys_core_fold OTP-15115
2018-06-07stdlib: Move eval_str/1 from mod_esi to erl_evalHans Bolinder
See also https://bugs.erlang.org/browse/ERL-634. The utility program `erl_call' in erl_interface used to call lib:eval_str/1, which is no longer present in Erlang/OTP 21.0. The lib module was eliminated in OTP-15072, see also https://github.com/erlang/otp/pull/1786.
2018-06-07Don't use deprecated ssl:ssl_accept/1-3Anders Svensson
2018-06-07Don't use deprecated erlang:get_stacktrace/0Anders Svensson
2018-06-07common_test: Remove EDoc comments in internal modulesHans Bolinder
2018-06-07common_test: Remove EDoc documentation in internal modulesHans Bolinder
2018-06-07common_test: Remove EDoc documentation in public modulesHans Bolinder
2018-06-07stdlib: Make pP insert no line breaks with field width zeroHans Bolinder
See also https://bugs.erlang.org/browse/ERL-607. A zero field width used to insert line breaks "everywhere", but with this patch no line breaks are inserted.
2018-06-06Fold is_function/1,2 during compilationMichał Muskała
This can often appear in code after inlining some higher-order functions. * mark is_function/2 as pure * track function types in sys_core_fold * use those types to eval is_function/1,2 at compile-time when possible
2018-06-05ssh: Document default algorithm order + update SSH_app linksHans Nilsson
2018-06-05Merge branch 'maint'John Högberg
* maint: Updated OTP version Prepare release inets: Gracefully handle bad headers
2018-06-05Merge branch 'maint-20' into maintJohn Högberg
* maint-20: Updated OTP version Prepare release inets: Gracefully handle bad headers [erl_docgen] Update version [erl_docgen] Add missing file db_funcs.xsl to file list erts: Fix bug in system_profile erts: Fix bug in enif_binary_to_term for immediates
2018-06-05ssh: Remove dubious pubkey setupHans Nilsson
Conflicts: lib/ssh/test/ssh_algorithms_SUITE.erl