aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2015-05-06Correct filename:split(<<"">>)Björn Gustavsson
filename:split("") returns [], while filename:split(<<"">>) returns [<<"/">>]. Since the support in the filename module for binary arguments is much more recent than support for strings, change filename:split(<<"">>) so that it returns []. Noticed-by: KOUCHANG
2015-05-06Merge branch 'bjorn/kernel/code-loading'Björn Gustavsson
* bjorn/kernel/code-loading: kernel application: Start code server first code: Reduce overhead of native code checking for loaded modules
2015-05-06Merge branch 'bjorn/debugger'Björn Gustavsson
* bjorn/debugger: debugger: Optimize evaluation of new map creation dbg_iload: Correct translation of generators debugger test suite: Scale down t_frequency_table/1
2015-05-06kernel application: Start code server firstBjörn Gustavsson
When the code server has started, it will read the .beam files for all loaded modules to see whether they contain native code that should be loaded. To make that as fast as possible when we have no native code, start the code server as early as possible to minimize the number .beam files that must be read from disk. The code server does not use the 'file' module, so it is OK to start the code server before starting the file_server process. On my computer, the time for checking the loaded modules for native code is reduced from roughly 2 ms to 1.5 ms.
2015-05-06code: Reduce overhead of native code checking for loaded modulesBjörn Gustavsson
When the code server has been started, the function load_native_code_for_all_loaded/0 will check whether the .beam files for all loaded modules contain any native code. If there is native code, it will be loaded. If there is no native code, on my computer the check will take about 10 ms. That time can be reduced to about 2 ms if we replace the call to code beam_lib:chunks/2 with a call to prim_file:read_file/1 to read the file and a call to code:get_chunk/2 to check whether the chunk for native code is present. Furthermore, the entire check can be spawned off to a separate process and done in parallel with OTP starting up.
2015-05-05Merge branch 'egil/strengthen-dialyzer-tests'Björn-Egil Dahlberg
* egil/strengthen-dialyzer-tests: dialyzer: Strengthen maps tests
2015-05-05Merge branch 'dotsimon/ssh_sftp_version_negotiation_timeout'Zandra Hird
OTP-12708
2015-05-05Merge branch 'ia/ssh/docs'Ingela Anderton Andin
* ia/ssh/docs: ssh: No description in v-tag ssh: Fix missed alphabetic ordering and indentation ssh: Use correct ASCII char for quote ssh: Fix links
2015-05-05ssh: No description in v-tagIngela Anderton Andin
2015-05-05ssh: Fix missed alphabetic ordering and indentationIngela Anderton Andin
2015-05-05ssh: Use correct ASCII char for quoteIngela Anderton Andin
2015-05-05ssh: Fix linksIngela Anderton Andin
2015-05-05wx: Add missing data in eventsDan Gudmundsson
Some events where missing useful information. May require user code recompilation, since some records in wx.hrl have chnaged it's definition.
2015-05-05Merge branch 'dgud/wx/optimize-queues'Dan Gudmundsson
* dgud/wx/optimize-queues: wx: Fix delete object wx: Optimize command queues wx: Optimize OpenGL invocations
2015-05-05wx: Fix delete objectDan Gudmundsson
delete_object used a deleted reference
2015-05-05wx: Optimize command queuesDan Gudmundsson
Remove allocations
2015-05-05Merge branch 'erland/OTP18/inets/time_dialyzer/OTP-12441'Erland Schönbeck
* erland/OTP18/inets/time_dialyzer/OTP-12441: inets: Remove dialyzer warning for inets_lib
2015-05-04Merge branch 'peppe/add_obsolete_app_warnings'Peter Andersson
* peppe/add_obsolete_app_warnings: Declare webtool and test_server as obsolete OTP-10922 OTP-10923
2015-05-04Merge branch 'peppe/common_test/ct_telnet_modifications'Peter Andersson
* peppe/common_test/ct_telnet_modifications: Set TCP option {nodelay,true} as default for telnet connections Increase speed of keep_alive (NOP) polls OTP-12678
2015-05-04Merge branch 'peppe/jcl_mode_improvements'Peter Andersson
* peppe/jcl_mode_improvements: Fix problem with unitialized edlin text buffer Fix shell crash when in switch command mode OTP-12673
2015-05-04Merge remote-tracking branch 'origin/peppe/common_test/ct_gen_conn_problem'Peter Andersson
* origin/peppe/common_test/ct_gen_conn_problem: Improve code OTP-10365
2015-05-04Merge remote-tracking branch ↵Peter Andersson
'origin/peppe/common_test/improve_suite_error_reports' * origin/peppe/common_test/improve_suite_error_reports: Add missing events and hook function calls Improve error reports in log when suite compilation fails OTP-10816
2015-05-04Merge remote-tracking branch 'origin/peppe/common_test/test_categories'Peter Andersson
* origin/peppe/common_test/test_categories: Reintroduce functions for backwards compatibility Update handling of failing all/0 function in test suites Add tests for the get_testspec_terms functionality Introduce test categories for OTP tests OTP-11962
2015-05-04Merge remote-tracking branch 'origin/peppe/common_test/remove_old_scripts'Peter Andersson
* origin/peppe/common_test/remove_old_scripts: Remove obsolete installation scripts and update documentation OTP-12421
2015-05-04Merge branch 'ia/ssl/docs'Ingela Anderton Andin
* ia/ssl/docs: ssl: Add missing tag ssl: Put back marker ssl: Fix links ssl: Align with application naming rules ssl: Keep information in one place only ssl: Correct makefile
2015-05-04ssl: Add missing tagIngela Anderton Andin
2015-05-04Merge branch 'ia/ssh/test-openssh-cuddle'Ingela Anderton Andin
* ia/ssh/test-openssh-cuddle: ssh: Add openSSH interop check
2015-04-30dialyzer: Strengthen maps testsBjörn-Egil Dahlberg
2015-04-30Merge branch 'hans/ssh/rekey/OTP-12692'Hans Nilsson
* hans/ssh/rekey/OTP-12692: ssh: Fix bug causing rekeying once per minute after 1st Gbyte Thanks Simon
2015-04-30ssh: Fix bug causing rekeying once per minute after 1st Gbyte Thanks SimonHans Nilsson
The port stats are not accumulated so that once rekey_limit bytes (by default, 1GB) have been transmitted the connection will be rekeyed every minute, not after the next 1GB.
2015-04-30ssl: Put back markerIngela Anderton Andin
2015-04-30debugger: Optimize evaluation of new map creationBjörn Gustavsson
Make sure that we recognize map literals at load time, as we do for lists and tuples. Also use maps:from_list/1 to build a new map instead of building it up from scratch inserting one key/value pair at the time.
2015-04-30dbg_iload: Correct translation of generatorsBjörn Gustavsson
The pattern in the generator for a list or binary comprehension was processed as an expression instead of as a pattern. That happened to work because expressions and patterns were translated in the same way. In the future we might want to process expressions and patterns differently.
2015-04-30debugger test suite: Scale down t_frequency_table/1Björn Gustavsson
t_frequency_table/1 would take about 40 seconds on my computer. Scale down the number of iterations 100 times to speed it up. The large number of iterations does not find any more bugs in the debugger.
2015-04-30Ensure that erl_anno is used when building the primary bootstrapBjörn Gustavsson
As the erl_anno module is used by the compiler, it must be included in the set of modules that are used when building the primary bootstrap.
2015-04-30erl_docgen: Use module erl_annoHans Bolinder
2015-04-30wx: Use module erl_annoHans Bolinder
2015-04-30diameter: Use module erl_annoHans Bolinder
2015-04-30dialyzer: Use module erl_annoHans Bolinder
2015-04-30eunit: Use module erl_annoHans Bolinder
2015-04-30hipe: Use module erl_annoHans Bolinder
2015-04-30edoc: Use module erl_annoHans Bolinder
2015-04-30syntax_tools: Use module erl_annoHans Bolinder
2015-04-30test_server: Use module erl_annoHans Bolinder
2015-04-30tools: Use module erl_annoHans Bolinder
2015-04-30parsetools: Use module erl_annoHans Bolinder
2015-04-30kernel: Use module erl_annoHans Bolinder
2015-04-30asn1: Use module erl_annoHans Bolinder
2015-04-30debugger: Use module erl_annoHans Bolinder
2015-04-30stdlib: Silence some of qlc's warningsHans Bolinder
As long as the Erlang Compiler and qlc do not agree on the location of LC warnings, qlc's own warnings about patterns and filters that always fail have been silenced.