aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2010-12-02beam_utils: Fix check_liveness/3 for receive loopsBjörn Gustavsson
Sometimes the beam_bool pass wants to know whether an y register will be killed by the code that follows and will do (effectively): beam_utils:is_killed({y,Y}, Code, L) When asked to calculate the liveness for an y register, beam_utils:is_killed/3 will loop forever if the code includes a receive loop. Since this rarely occurs, fix the problem in the simplest and most conservative way. Reported-by: Christopher Williams
2010-11-26beam_utils: Fix liveness analysis for gc_bif instructionsBjörn Gustavsson
When gc_bif instructions occurred outside of a block, beam_utils:check_liveness/3 did not take into account that the instruction could do a garbage collection, and could falsely report that an x register would be killed. That could cause the beam_dead pass to make the code unsafe by removing the assignment to an x register that would subsequently be referenced by the garbage collector. Reported-by: Christopher Williams
2010-11-24Merge branch 'egil/eprof-api-mismatch/OTP-8853' into devBjörn-Egil Dahlberg
* egil/eprof-api-mismatch/OTP-8853: Fix eprof API mismatch of sort functionality
2010-11-24Merge branch 'sverker/ets_compress/OTP-8922' into devSverker Eriksson
* sverker/ets_compress/OTP-8922: ETS 'compressed' option.
2010-11-24Merge branch 'sverker/crypto_aes_ctr_cmac/OTP-8752' into devSverker Eriksson
* sverker/crypto_aes_ctr_cmac/OTP-8752: Fix nif_SUITE to not assume that it is the only one loading NIFs. crypto CTR support
2010-11-22Fix eprof API mismatch of sort functionalityBjörn-Egil Dahlberg
Option {sort, calls} now sorts on calls. Option {sort, time } now sorts on time.
2010-11-22ETS 'compressed' option.Sverker Eriksson
The compressed format is using a slighty modified variant of the extern format (term_to_binary). To not worsen key lookup's too much, the top tuple itself and the key element are not compressed. Table objects with only immediate non-key elements will therefor not gain anything (but actually consume one extra word for "alloc_size").
2010-11-22Merge branch 'ao/mod_auth-doc-typos' into devBjörn Gustavsson
* ao/mod_auth-doc-typos: Fix escaped xml character and a missing closing tag in mod_auth.xml
2010-11-22Merge branch 'bf/mnesia-doc-fixes' into devBjörn Gustavsson
* bf/mnesia-doc-fixes: doc: "works like" instead of "works as" + missing like remove '\011' from mnesia doc fix typo in mnesia doc
2010-11-22Merge branch 'lukas/common_test/master_include/OTP-8935' into devLukas Larsson
* lukas/common_test/master_include/OTP-8935: Update master test to put slave logs in /tmp for windows as otherwise filenames become too long and the tests fail Update master test specs to work with include directives
2010-11-22Merge branch 'ml/re-manpage-cleanup' into devBjörn Gustavsson
* ml/re-manpage-cleanup: Improve the 're' manpage by correcting typos and rewording
2010-11-22Merge branch 'ks/edoc-dialyzer-fixes' into devBjörn Gustavsson
* ks/edoc-dialyzer-fixes: Fix various dialyzer warnings
2010-11-22Merge branch 'ks/dialyzer-fixes' into devBjörn Gustavsson
* ks/dialyzer-fixes: dialyzer: Speed up analysis of nested list comprehensions
2010-11-22Merge branch 'ms/ei-fixes' into devBjörn-Egil Dahlberg
* ms/ei-fixes: ei: check memory was allocated ei: error if return value of ei_alloc_big is NULL OTP-8943
2010-11-22Merge branch 'ks/file_open-mode' into devBjörn Gustavsson
* ks/file_open-mode: Add the {encoding, _} options to file:open/2's modes
2010-11-22Merge branch 'ms/ei-fix-node-name-overflow' into devBjörn-Egil Dahlberg
* ms/ei-fix-node-name-overflow: ei: check the length of the node name OTP-8943
2010-11-22Merge branch 'ks/hipe-patches' into devBjörn Gustavsson
* ks/hipe-patches: hipe: Update types and specs
2010-11-22hipe: Update types and specsKostis Sagonas
2010-11-22Merge branch 'ks/erl_types-fixes' into devBjörn Gustavsson
* ks/erl_types-fixes: erl_types: Fix pretty rare crashes and an infinite loop OTP-8942
2010-11-22erl_types: Fix pretty rare crashes and an infinite loopKostis Sagonas
- Fixed pretty rare crash when taking the infimum of two tuple_sets (initial fix by Kostis Sagonas but then a better fix was provided by Stavros Aronis and this is the one adopted). - Fixed pretty rare crash when using parameterized types containing unbound variables (thanks to Nicolas Trangez for reporting it). - Fixed pretty rare infinite loop when refining the types of an SCC whose functions all returned none() (thanks to Stavros Aronis).
2010-11-18Fix escaped xml character and a missing closing tag in mod_auth.xmlAhmed Omar
In description of the list_users/2 function, the character < was escaped and a closing tag was missing which resulted in an invalid xml and a wrong formatting.
2010-11-17crypto CTR supportSverker Eriksson
2010-11-17Update master test to put slave logs in /tmp for windows as otherwise ↵Lukas Larsson
filenames become too long and the tests fail
2010-11-15Fix various dialyzer warningsKostis Sagonas
Add appropriate specs to shut off dialyzer's no_return warnings and also fix an erroneous use of lists:concat/1 instead of lists:append/1.
2010-11-12Merge branch 'ia/ssl-decryption-error/OTP-8930' into devIngela Anderton Andin
* ia/ssl-decryption-error/OTP-8930: Added "DECRYPTION_FAILED ALERT" for block decipher failure.
2010-11-12Merge branch 'ia/odbc/windows_fix' into devIngela Anderton Andin
* ia/odbc/windows_fix: Added needed include file ws2tcpip.h for windows.
2010-11-12Added needed include file ws2tcpip.h for windows.Raimo Niskanen
2010-11-12Merge branch 'raimo/inet-getifaddrs/OTP-8926' into devRaimo Niskanen
* raimo/inet-getifaddrs/OTP-8926: Write documentation Delete decommented code Add testcase Implement inet:getifaddrs/0 on Windows Implement basic inet:getifaddrs/0 Fix building error of SCTP in FreeBSD 7.1 and later
2010-11-12Merge branch 'raimo/wxwidgets-configure-fixes' into devRaimo Niskanen
* raimo/wxwidgets-configure-fixes: wxWidgets configure fixes
2010-11-11Merge branch 'maint-r14' into devBjörn-Egil Dahlberg
2010-11-11Update master test specs to work with include directivesLukas Larsson
2010-11-10Added "DECRYPTION_FAILED ALERT" for block decipher failure.Ingela Anderton Andin
Also fixed incorrect dialyzer spec.
2010-11-10wxWidgets configure fixesRaimo Niskanen
2010-11-09Merge branch 'sverker/doc-fixes/OTP-8880' into devSverker Eriksson
* sverker/doc-fixes/OTP-8880: Documentation update to ETS and drivers
2010-11-09Write documentationRaimo Niskanen
2010-11-09Improve the 're' manpage by correcting typos and rewordingMatthias Lang
Correct typos (e.g. it's -> its as appropriate). Reword some sections for clarity.
2010-11-09dialyzer: Speed up analysis of nested list comprehensionsKostis Sagonas
Nested list comprehensions are translated into strongly connected funs but dialyzer ignored this. This meant that self-recursive analysis was normally executed for each fun and the whole fixpoint took some time to calculate. This patch adds every fun found in constraint generation to the SCC that is under analysis and then solves the SCC as a whole. Possible issues: - The returned dict contains more entries than usual. This triggered a bug in contract checking that is dealt with is this patch as well (dialyzer_contracts.erl). - As it's not easy to tell apart real fun SCCs from simple funs it performance might be hampered in the simple funs case. While doing these changes, also added and strengthened some specs. In addition, incorporated a modified patch by Ahmed Omar that fixes a bug in dialyzer_analysis_callgraph module that kept the files of only one selected directory in dialyzer's GUI.
2010-11-09Fix two typos in Dialyzer documentationTuncer Ayaz
2010-11-09Add testcaseRaimo Niskanen
2010-11-09Implement basic inet:getifaddrs/0Raimo Niskanen
2010-11-08Add release notes for erl_interface-3.7.1.1Björn-Egil Dahlberg
2010-11-08Fix faulty tracelevel in erl_interfaceBjörn-Egil Dahlberg
2010-11-04Fix badly formed Dets file after initializationHans Bolinder
If a Dets table with fewer slots than keys was opened and then closed after just a lookup, the contents were no longer well-formed. This bug has been fixed. (Thanks to Matthew Evans.)
2010-11-02Merge branch 'maint-r14' into devNiclas Eklund
2010-11-02Merge branch 'lukas/common_test/ct_parse_table/OTP-8907' into devLukas Larsson
* lukas/common_test/ct_parse_table/OTP-8907: Update parse_table to take multiline sql rows Add test cases for ct:parse_table
2010-11-02Merge branch 'hb/parsetools/format_yecc_messages/OTP-8919' into devHans Bolinder
* hb/parsetools/format_yecc_messages/OTP-8919: Improve formating of Yecc error messages
2010-11-01doc: "works like" instead of "works as" + missing likeBoris 'billiob' Faure
2010-11-01remove '\011' from mnesia docBoris 'billiob' Faure
2010-11-01fix typo in mnesia docBoris 'billiob' Faure
2010-11-01Merge branch 'ia/odbc/windows_fix' into devIngela Anderton Andin
* ia/odbc/windows_fix: Better configure test that also works on windows.