aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc
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-22Merge branch 'jv/on_load_docs' into maintGustav Simonsson
2012-02-21Merge branch 'rj/add-space-spec_proc-doc' into maintGustav Simonsson
2012-02-20Fix a typo on documentation. desciption -> description.José Valim
2012-02-20Mention on_load on module attributes section.José Valim
2012-02-14Add missing white space in Special Process docRicardo Catalinas Jiménez
2012-02-08Fix typo in supervisor behaviour docRicardo Catalinas Jiménez
Remove unnecessary > from a CDATA section.
2011-12-09Update copyright yearsBjörn-Egil Dahlberg
2011-12-09Fix error in dtd include paths to xsltproc.Lars Thorsen
2011-12-05Fix typos in expressions.xmlTuncer Ayaz
2011-12-01Fix minor faults in documentation of release handlingSiri Hansen
Fix typos or minor faults. Move out code listing of target_system.erl, and use codeinclude statement to include this file from sasl/examples directory.
2011-12-01Rename create_target.xml to create_target.xmlsrc to prepare for codeincludeSiri Hansen
2011-11-24Merge branch 'bjorn/remove-regexp-module/OTP-9737'Björn Gustavsson
* bjorn/remove-regexp-module/OTP-9737: stdlib: Remove the deprecated regexp module
2011-11-18Merge branch 'siri/sasl/upgrade-erts/OTP-9438'Siri Hansen
* siri/sasl/upgrade-erts/OTP-9438: Fix bug in erts upgrade on windows Add release vsn info to erts_vsn_changed warning Check for sasl application in systools:make_script and make_relup Add syntax check of relup to check_install_release and install_release Add documentation for upgrade from pre R15 to post R15 sasl Handle upgrade from pre R15 to post R15 sasl Step version of sasl to 2.2 for R15 Document upgrade instructions restart_new_emulator and restart_emulator Wait for two restarts in upgrade_restart test Add restart_new_emulator instruction to kernel, stdlib and sasl appups Distinguish restart_new_emulator from restart_emulator in upgrade instructions Upgrade erts: merge sys.config for tmp release instead of using old Allow regexp for version in .appup Restart emulator before running upgrade script when erts is upgraded Conflicts: lib/sasl/src/release_handler.erl lib/sasl/test/release_handler_SUITE.erl
2011-11-17Add documentation for upgrade from pre R15 to post R15 saslSiri Hansen
2011-11-17Document upgrade instructions restart_new_emulator and restart_emulatorSiri Hansen
2011-11-16Improve documentation on supervisor restart strategySiri Hansen
2011-11-10Merge branch 'rj/fix-remove-exec-bit'Henrik Nord
* rj/fix-remove-exec-bit: Remove exec bit from files: info files, dat, bat Remove exec bit from files related to: XML, make, C Remove exec bit from: erl, hrl, xml, html, asn, gif, xpm OTP-9698
2011-11-10Remove exec bit from: erl, hrl, xml, html, asn, gif, xpmRicardo Catalinas Jiménez
2011-11-09Add missing spaces in the Reference Manual distributed sectionRicardo Catalinas Jiménez
In the HTML version of the doc those spaces are necessary to separate those words.
2011-11-09Fix typo in the Reference Manual macros sectionRicardo Catalinas Jiménez
The module is not added in a function call inside a macro.
2011-11-07EEP-23: Allow variables in fun M:F/ABjörn Gustavsson
Currently, the external fun syntax "fun M:F/A" only supports literals. That is, "fun lists:reverse/1" is allowed but not "fun M:F/A". In many real-life situations, some or all of M, F, A are not known until run-time, and one is forced to either use the undocumented erlang:make_fun/3 BIF or to use a "tuple fun" (which is deprecated). EEP-23 suggests that the parser (erl_parse) should immediately transform "fun M:F/A" to "erlang:make_fun(M, F, A)". We have not followed that approach in this implementation, because we want the abstract code to mirror the source code as closely as possible, and we also consider erlang:make_fun/3 to be an implementation detail that we might want to remove in the future. Instead, we will change the abstract format for "fun M:F/A" (in a way that is not backwards compatible), and while we are at it, we will move the translation from "fun M:F/A" to "erlang:make_fun(M, F, A)" from sys_pre_expand down to the v3_core pass. We will also update the debugger and xref to use the new format. We did consider making the abstract format backward compatible if no variables were used in the fun, but decided against it. Keeping it backward compatible would mean that there would be different abstract formats for the no-variable and variable case, and tools would have to handle both formats, probably forever. Reference: http://www.erlang.org/eeps/eep-0023.html
2011-11-02Reference manual: Improve the documentation for external funsBjörn Gustavsson
2011-11-01Merge branch 'lukas/erts/large_float_cmp/OTP-9497'Lukas Larsson
* lukas/erts/large_float_cmp/OTP-9497: Update documentation after changes in integer and float comparison Do small optimisation on platforms with 32 bit Eterm Add tests for equality checking Optimize comparison of huge floats and smaller bignums Add tests for comparing large floats and small bignums Cleanup double_to_bignum conversion code Update size of tmp cmp bignum buffer Expand tests for float and number comparison Update heauristic to work on halfword Add heauristics bignum vs float checks Optimise bugnum and small comparison Add float vs integer comparison tests Update integer and floating point number comparisons
2011-10-27stdlib: Remove the deprecated regexp moduleBjörn Gustavsson
2011-10-27Remove unused */doc/src/make.dep filesBjörn Gustavsson
These dependency files was once used when building the documentation, but are no longer needed.
2011-10-27erl_html_tools: Eliminate mention of deprecated regexp moduleBjörn Gustavsson
2011-10-24otp: Update profiling doc with eprofBjörn-Egil Dahlberg
2011-10-20Merge branch 'cf/simple_one_for_one_shutdown'Henrik Nord
* cf/simple_one_for_one_shutdown: Explain how dynamic child processes are stopped Stack errors when dynamic children are stopped Explicitly kill dynamic children in supervisors Conflicts: lib/stdlib/doc/src/supervisor.xml OTP-9647
2011-10-20Merge branch 'cf/supervisor_shutdown_infinity'Henrik Nord
* cf/supervisor_shutdown_infinity: Add a warning to docs about workers' shutdown strategy Allow an infinite timeout to shutdown worker processes OTP-9648
2011-10-19Update documentation after changes in integer and float comparisonLukas Larsson
2011-10-13Allow noncharacter code points in unicode encoding and decodingBjörn Gustavsson
The two noncharacter code points 16#FFFE and 16#FFFF were not allowed to be encoded or decoded using the unicode module or bit syntax. That causes an inconsistency, since the noncharacters 16#FDD0 to 16#FDEF could be encoded/decoded. There is two ways to fix that inconsistency. We have chosen to allow 16#FFFE and 16#FFFF to be encoded and decoded, because the noncharacters could be useful internally within an application and it will make encoding and decoding slightly faster. Reported-by: Alisdair Sullivan
2011-10-10Add a warning to docs about workers' shutdown strategyChristopher Faulet
2011-10-10Allow an infinite timeout to shutdown worker processesChristopher Faulet
Now, in child specification, the shutdown value can also be set to infinity for worker children. This restriction was removed because this is not always possible to predict the shutdown time for a worker. This is highly application-dependent.
2011-10-07Update the documentation with information on the callback attributeStavros Aronis
2011-09-29Merge branch 'dev' into majorBjörn-Egil Dahlberg
* dev: Update copyright years
2011-09-29Update copyright yearsBjörn-Egil Dahlberg
2011-09-21system documentation: Support parallel makeBjörn Gustavsson
2011-09-16Explain how dynamic child processes are stoppedChristopher Faulet
2011-08-30Merge branch 'dev' into majorHenrik Nord
2011-08-18Update examples in the documentation to include line numbersBjörn Gustavsson
2011-07-20Fix non-existing function (erlang:disconnect/1) in distributed reference manualFabian Król
2011-05-20Update copyright yearsBjörn-Egil Dahlberg
2011-04-13Add terminate_child(Sup, Pid) for simple_one_for_oneSiri Hansen
2011-03-25Fix typos in efficiency guideTuncer Ayaz
2011-03-11Update copyright yearsBjörn-Egil Dahlberg
2011-03-11Merge branch 'bjorn/doc-fixes' into devBjörn Gustavsson
* bjorn/doc-fixes: Reference Manual: Replace "it's" with "its" Reference manual: Add missing right parenthesis Reference manual: Don't mention fault/{1,2}
2011-03-09Merge branch 'gl/gen_server-doc' into devNiclas Axelsson
* gl/gen_server-doc: Update Handling Other Messages section in gen_server, gen_fsm, gen_events overviews OTP-9121
2011-03-09Reference Manual: Replace "it's" with "its"Björn Gustavsson
"Its" is a possessive pronoun, "it's" is a contraction of "it is".
2011-03-09Reference manual: Add missing right parenthesisBjörn Gustavsson