aboutsummaryrefslogtreecommitdiffstats
path: root/system
AgeCommit message (Collapse)Author
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-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-11Update release version in install READMEBjö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
2011-03-09Reference manual: Don't mention fault/{1,2}Björn Gustavsson
2011-03-07Subsections below level 2 where not handled correct when generating html and ↵Lars Thorsen
pdf.
2011-02-25Update Handling Other Messages section in gen_server, gen_fsm, gen_events ↵Gabor Liptak
overviews
2011-01-18Lower the maximum arity from 256 to 255Björn Gustavsson
Historically, for no good reason, a function is allowed to have from 0 to 256 arguments. Thus, the number of arguments *almost* fits into a byte. HiPE only supports up to 255 arguments (because it assumes that the function arity fits into a single byte), and fixing that limitation would require ugly special-case handling. In Dialyzer, the arity type is defined to be a byte (i.e. 0..255). Since no-one uses functions with 256 arguments anyway, lower the limit to 255.
2010-10-21Merge branch 'maint-r14' into devBjörn Gustavsson
* maint-r14: Prepare release Fix that the documentation top index generator can handle an Ericsson internal application group Teach -init_debug to print info about on_load handlers begin run Fix hang in on_load handlers in embedded mode Conflicts: erts/vsn.mk lib/kernel/vsn.mk
2010-10-20Fix that the documentation top index generator can handle an Ericsson ↵Lars Thorsen
internal application group
2010-09-21Correct leading whitespace in C port tutorialTuncer Ayaz
2010-09-09Merge branch 'bjorn/remove-books' into devBjörn Gustavsson
* bjorn/remove-books: Documentation: Remove the system/doc/Books directory
2010-09-07Update the Types and Function Specifications chapter in the Reference Manual.Hans Bolinder
The latest additions to the extension of Erlang used for describing types and specifications have been documented. There are new compiler attributes such as -opaque and -export_all as well as an alternative syntax for subtype constraints ('::' instead of is_subtype/2).
2010-09-07Documentation: Remove the system/doc/Books directoryBjörn Gustavsson
Building of books is probably severerly broken by now, and there are no plans to print any more books, so there is no reason to keep the directory.
2010-09-07Up-to-date additions and changes to type reference manual.Kostis Sagonas
2010-09-07Up-to-date additions and changes to type reference manual.Kostis Sagonas
2010-08-31Merge branch 'lars/documentation-build-git/OTP-8601' into devLars Thorsen
* lars/documentation-build-git/OTP-8601: Fixed that the system documentation can be built from both a source and release structure.
2010-08-25Removed the links "Release highlights" and "Potential incompatibilities"Lars Thorsen
from the documentation frontpage.
2010-08-24Fixed that the system documentation can be built from both a source and ↵Lars Thorsen
release structure.
2010-07-08reference() substituted for ref() in docsHans Bolinder
2010-06-15Update highlightsPatrik Nyblom
2010-06-11** Empty commit message **Patrik Nyblom
2010-06-02Return nowarn_bif_clash functionality but with warningPatrik Nyblom
Wrote and changed some tests in stdlib:erl_lint_SUITE nowarn_bif_clash is obsoleted but will remove warnings and errors about bif clashes. The recommended way is to use no_auto_import directives instead. Hopefully erlang.erl is the only user in the world of nowarn_bif_clash.
2010-04-28OTP-8474 NIF improvements after R13B04Sverker Eriksson
New NIF API function enif_make_new_binary