aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-02-24Fix supervisor doc: Shutdown, MaxR and MaxT type specsRicardo Catalinas Jiménez
The next code snippets from supervisor.erl show that Shutdown from a child specification must be greater than zero and the same applies to MaxT. --- supervisor.erl ---------------------------------------------------------- validShutdown(Shutdown, _) when is_integer(Shutdown), Shutdown > 0 -> true; validShutdown(infinity, _) -> true; validShutdown(brutal_kill, _) -> true; validShutdown(Shutdown, _) -> throw({invalid_shutdown, Shutdown}). validIntensity(Max) when is_integer(Max), Max >= 0 -> true; validIntensity(What) -> throw({invalid_intensity, What}). validPeriod(Period) when is_integer(Period), Period > 0 -> true; validPeriod(What) -> throw({invalid_period, What}). -----------------------------------------------------------------------------
2012-02-24Add the type restrictions in the code commentsRicardo Catalinas Jiménez
2012-02-24Remove trailing spacesRicardo Catalinas Jiménez
2012-02-23Merge branch 'sverk/ets-compress-bug' into maintSverker Eriksson
* sverk/ets-compress-bug: erts: Fail binary_to_term if bignum arity is too large erts: Fix bignum-bug in ETS with compressed option OTP-9932
2012-02-22Merge branch 'tst/no_hipe_ceach' into maintGustav Simonsson
* tst/no_hipe_ceach: Remove hipe_ceach from hipe.app.src to fix reltool-generated release startup OTP-9939
2012-02-22* jv/on_load_docs:Gustav Simonsson
Fix a typo on documentation. desciption -> description. OTP-9937
2012-02-22Merge branch 'jv/on_load_docs' into maintGustav Simonsson
2012-02-21Merge branch 'rj/add-space-spec_proc-doc' into maintGustav Simonsson
2012-02-21Merge branch 'ks/compile_info-fix' into maintGustav Simonsson
* ks/compile_info-fix: compiler: Fix discrepancy in compile_info OTP-9917
2012-02-21erts: Fail binary_to_term if bignum arity is too largeSverker Eriksson
2012-02-21erts: Fix bignum-bug in ETS with compressed optionSverker Eriksson
A large 64-bit immediate number will be stored as SMALL_BIG_EXT by ETS compressed format. When uncompressing, the SMALL_BIG_EXT was first decoded as as bignum (by bytes_to_big) and then turned into a small (by big_norm). This works for normal "binary_to_term" as decoded_size() over-estimates the needed heap size. But for ETS no over-estimation is done as the real term size is known and stored in DbTerm. Fixed by preventing bytes_to_big() from writing bignum digit when the number is seen to fit in an immediate.
2012-02-20Fix a typo on documentation. desciption -> description.José Valim
2012-02-20Mention on_load on module attributes section.José Valim
2012-02-20Fix discrepancy in compile_infoKostis Sagonas
The BEAM disassembler used the atom 'none' to signify the absence of a compile_info chunk in a .beam file. This clashes with the type declaration of the compile_info field of a #beam_file{} record as containing a list. Use [] to signify the absence of this chunk. This simplifies the code and avoids a dialyzer warning. For fixing a similar problem and for consistency, changed also the return type of the attributes field of the #beam_file{} record. This required a change in the beam_disasm test suite.
2012-02-20Merge branch 'rickard/barriers/OTP-9922' into maintRickard Green
* rickard/barriers/OTP-9922: Reduce thread progress read operations in handle_aux_work() Misc memory barrier fixes
2012-02-19Reduce thread progress read operations in handle_aux_work()Rickard Green
2012-02-19Misc memory barrier fixesRickard Green
- Document barrier semantics - Introduce ddrb suffix on atomic ops - Barrier macros for both non-SMP and SMP case - Make the thread progress API a bit more intuitive
2012-02-16Update primary bootstrapBjörn Gustavsson
2012-02-16Merge branch 'bjorn/compiler/inline-and-on_load/OTP-9910' into maintBjörn Gustavsson
* bjorn/compiler/inline-and-on_load/OTP-9910: compiler: Teach the inliner to preserve on_load functions
2012-02-16Merge branch 'gustav/asn1-integer/sequence-fix/OTP-9688' into maintGustav Simonsson
2012-02-16Merge branch 'ahs/fix-gb_trees-doc' into maintHenrik Nord
* ahs/fix-gb_trees-doc: Put gb_trees documentation into alphabetical order OTP-9929
2012-02-16Merge branch 'vd/jinterface-atom-message' into maintHenrik Nord
* vd/jinterface-atom-message: Improve error message when creating a too long OtpErlangAtom OTP-9928
2012-02-16Merge branch 'vd/java-string-bug' into maintHenrik Nord
* vd/java-string-bug: add test for Java string bug workaround for Java bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6242664 OTP-9927
2012-02-16Merge branch 'jz/erts-remove-unused-var' into maintHenrik Nord
* jz/erts-remove-unused-var: erts: Remove unused variable OTP-9926
2012-02-16Merge branch 'rc/spell-registered' into maintHenrik Nord
* rc/spell-registered: Correct spelling of "registered" in various places in the source code OTP-9925
2012-02-16Merge branch 'rj/fix-sup-doc-typo' into maintHenrik Nord
* rj/fix-sup-doc-typo: Fix typo in supervisor behaviour doc OTP-9924
2012-02-16Merge branch 'ts/extend-specs-for-bifs' into maintHenrik Nord
* ts/extend-specs-for-bifs: Make dialyzer recognize the process_flag option sensitive OTP-9923
2012-02-16Merge branch 'rj/fix-binary-doc-spec' into maintHenrik Nord
* rj/fix-binary-doc-spec: Fix the type spec from the doc of binary:part/3 OTP-9920
2012-02-16Merge branch 'rj/fix-compile-doc-typo' into maintHenrik Nord
* rj/fix-compile-doc-typo: Fix typo in `compile' doc: unmatched parenthesis OTP-9919
2012-02-16Merge branch 'rj/doc-monospace-css' into maintHenrik Nord
* rj/doc-monospace-css: Set `font-family: Courier, monospace' in OTP doc CSS OTP-9918
2012-02-16Merge branch 'ia/ssh/server-user-dir-doc' into maintIngela Anderton Andin
* ia/ssh/server-user-dir-doc: Document user_dir for the server
2012-02-16Merge branch 'ia/ssh/pass-phrase-protected-keys/OTP-6400' into maintIngela Anderton Andin
* ia/ssh/pass-phrase-protected-keys/OTP-6400: Remove unused files from test data as it is confusing Add support for key files protected by pass phrases
2012-02-15Remove unused files from test data as it is confusingIngela Anderton Andin
2012-02-15Add support for key files protected by pass phrasesIngela Anderton Andin
2012-02-14Change test to use CT Config PrivDirGustav Simonsson
2012-02-14Document user_dir for the serverIngela Anderton Andin
2012-02-14Merge branch 'ia/ssh/crash-report-with-impatient-SFTP-client/OTP-9391' into ↵Ingela Anderton Andin
maint * ia/ssh/crash-report-with-impatient-SFTP-client/OTP-9391: Avoid to crash if the remote side closes the connection prematurely
2012-02-14Merge branch 'ia/ssh/keyboard-interactive-disable-bug/OTP-9466' into maintIngela Anderton Andin
* ia/ssh/keyboard-interactive-disable-bug/OTP-9466: Client now honors the allow_user_interaction option
2012-02-14Add missing white space in Special Process docRicardo Catalinas Jiménez
2012-02-14Merge branch 'gustav/asn1-integer/sequence-fix/OTP-9688' into maint_with_asn1Gustav Simonsson
2012-02-14Merge branch 'gustav/ssh/ssh-key-callback-specs' into maintGustav Simonsson
* gustav/ssh/ssh-key-callback-specs: Add behaviour (api) module with callback specs
2012-02-14Merge branch 'gustav/orber/fix-dbg-printout-format/OTP-9887' into maintGustav Simonsson
* gustav/orber/fix-dbg-printout-format/OTP-9887: Add parameter to error message string format
2012-02-14Merge branch 'gustav/sasl_release_handler_file_bugfix/OTP-9864' into maintGustav Simonsson
* gustav/sasl_release_handler_file_bugfix/OTP-9864: Fix so remove_release can remove symlinks
2012-02-14Merge branch 'pg/fix-ssl_tls_dist_proxy-setup-loop' into maintHenrik Nord
* pg/fix-ssl_tls_dist_proxy-setup-loop: Fix setup loop of SSL TLS dist proxy OTP-9915 OTP-9916
2012-02-14Merge branch 'pg/ssl_dist-fixes' into maintHenrik Nord
* pg/ssl_dist-fixes: Robustness and improvement to distribution over SSL
2012-02-14Robustness and improvement to distribution over SSLPaul Guyot
Fix a bug where the caller would timeout and ssl_tls_dist_proxy would crash. Fix a bug where a timeout from the SSL layer would block the distribution forever (typically when a non-SSL node tries to connect to an SSL node). Add this very case as a test (test_server tries to connect to SSL nodes). Run the proxy exclusively on the loopback interface.
2012-02-14Merge branch 'ws/erl-xcomp-avr32' into maintHenrik Nord
* ws/erl-xcomp-avr32: Update xcomp config for AVR32/buildroot-v3.0.0 OTP-9914
2012-02-14Merge branch 'av/maint-memsup' into maintHenrik Nord
* av/maint-memsup: Fix segmentation fault in memsup OTP-9913
2012-02-14Merge branch 'jz/reduce-smp-locking-time-range' into maintHenrik Nord
* jz/reduce-smp-locking-time-range: erts: reduce smp locking time range in erts_garbage_collect OTP-9912
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