aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc
AgeCommit message (Collapse)Author
2018-11-02Merge branch 'john/erts/minusminus_trapping/OTP-15371' into maintJohn Högberg
* john/erts/minusminus_trapping/OTP-15371: Optimize operator '--' and yield on large inputs Inline erts_cmp Clarify a magical allocation size Fix trapping in lists:reverse/2
2018-10-29Optimize operator '--' and yield on large inputsJohn Högberg
The removal set now uses a red-black tree instead of an array on large inputs, decreasing runtime complexity from `n*n` to `n*log(n)`. It will also exit early when there are no more items left in the removal set, drastically improving performance and memory use when the items to be removed are present near the head of the list. This got a lot more complicated than before as the overhead of always using a red-black tree was unacceptable when either of the inputs were small, but this compromise has okay-to-decent performance regardless of input size. Co-authored-by: Dmytro Lytovchenko <[email protected]>
2018-10-26Update profiling.xmlxbofang
memory typo
2018-09-21Update copyright yearHenrik Nord
2018-09-12Remove outdated reference to error loggersSiri Hansen
2018-09-07[supervisor] Add warning about race conditionSiri Hansen
ERL-724: "During a 'gentle' shutdown, supervisors unlink from their children before sending shutdown signals to them. This can lead to a race condition in supervision trees, when the timeout for gentle shutdown of a parent supervisor expires and it kills a child supervisor that has just unlinked from a child of its own, leaving the child supervisor's own child still running after its supervisor is killed." This commit adds a warning about this in the documentation.
2018-08-27Merge pull request #1863 from gomoripeti/types_int_opsHans Bolinder
Document allowed integer ops in types
2018-08-24Refer to OTP Versions Tree from documentationRickard Green
Refer to the OTP Versions Tree in the documentation in order to better illustrate how the version scheme works
2018-08-24Document allowed integer ops in typesPéter Gömöri
2018-08-09Fix violation of documentation rulesBjörn Gustavsson
In the documentation, we don't use contractations such as "don't" or "that's". We also avoid abbreviations. "i.e." should be written out as "that is". In this case it is better to omit it altogether. 629ad2e0971ef introduced the violation.
2018-08-08Add clarification on nil typeBrujo Benavides
As explained by @psyeugenic on Slack: > empty list `[]` is regarded as a separate type from `list()`, `[]` < `list()` > i.e. nil is `[]`
2018-07-13docs: make clean all XMLDIRLukas Larsson
2018-07-03fix some errors in code samples for gen_statem behaviourAlberto Sartori
* consistently use var name `Button` instead of `Digit` * remove unnecessary calls to `do_lock` and `do_unlock` * fix compile errors
2018-06-18Update copyright yearHenrik Nord
2018-06-15Merge pull request #1839 from rickard-green/rickard/misc-docRickard Green
Info about support, compatibility, deprecation and removal OTP-15140
2018-06-14Info about support, compatibility, deprecation and removalRickard Green
2018-06-13Explain why the AM becomes group leaderXavier Noria
2018-06-11[logger] Update documentationSiri Hansen
2018-06-04Merge branch 'sverker/ets-count/OTP-14987'Sverker Eriksson
* sverker/ets-count/OTP-14987: erts,stdlib: Improve docs about obsolete ets_limit erts: Reduce test log noise from ets_SUITE erts: Increase scalability of ets name lookup erts: Rename one of delete_trap to select_delete_trap erts: Refactor usage of am_atom_put to ERTS_MAKE_AM erts: Add system_info(ets_count) erts: Fix narrow race between ets:new and ets:delete
2018-06-04erts,stdlib: Improve docs about obsolete ets_limitSverker Eriksson
2018-05-24Merge branch 'siri/logger-fix'Siri Hansen
* siri/logger-fix: Update documentation of logger and error_logger Change type name logger:log() to logger:log_event() Update preloaded Update primary bootstrap Rename module logger_simple to logger_simple_h Change env var logger_log_progress to logger_progress_reports Remove HandlerId from handler callback functions and add it to Config Change handler id for sasl handler from sasl_h to sasl Change Compare parameter to logger_filters:domain/2 Update Logger documentation Rename reset_module_level to unset_module_level Allow chars_limit to limit strings Add logger:update_formatter_config/2,3 Set legacy_header=true for kernel's default handler only Improve documentation of logger and error_logger Use system_time instead of monotonic_time as timestamp in logger
2018-05-24Update copyright yearHenrik Nord
2018-05-23Update documentation of logger and error_loggerSiri Hansen
2018-05-23Change env var logger_log_progress to logger_progress_reportsSiri Hansen
2018-05-23Improve documentation of logger and error_loggerSiri Hansen
2018-05-17Merge pull request #1810 from tomas-abrahamsson/bjorn/preprocessor-extensionsBjörn Gustavsson
Add ?OTP_RELEASE, -if and -elif to the preprocessor OTP-15087
2018-05-09macros.xml: Document ?OTP_RELEASE, -if and -elifTomas Abrahamsson
2018-05-07Remove obsolete example in Efficiency GuideBjörn Gustavsson
The argument order is no longer important.
2018-04-27Move the corba applcations to separate repositoryLars Thorsen
All corba applications are moved to a separate repository. E.g. orber, ic, cosEvent, cosEventDomain, cosNotifications cosTime, cosTransactions, cosProperty and cosFileTransfer.
2018-04-26Merge pull request #1759 from sunboshan/sys-fixSiri Hansen
[stdlib/sys.erl] Fix sys module's debug statistics not including the out message count when using gen_server:call/2. OTP-15047
2018-04-24Merge branch 'raimo/stdlib/gen_statem-dev/OTP-14015'Raimo Niskanen
* raimo/stdlib/gen_statem-dev/OTP-14015: Fix after feedback Improve pointer to User's Guide Fix after feedback on 'When to use' Add a 'When to use' section Fix timeout parsing and doc feedback Improve doc, change images to .svg erl_docgen: Implement width in image tag Update User's Guide and pointers to it Improve error reasons from state enter call
2018-04-23Fix sys's debug statistics.Boshan Sun
Currently, in sys:stat/2, the message out only count for system events with format {out, Msg, To}. However, the gen_server:reply/5 will call sys:handle_debug/4 with format {out, Reply, To, State}. That will make the message out count fail to pattern matching. Also update sys_SUITE.erl and relevant docs.
2018-04-18Fix after feedbackRaimo Niskanen
2018-04-17Fix after feedback on 'When to use'Raimo Niskanen
2018-04-12Add a 'When to use' sectionRaimo Niskanen
2018-04-12Fix timeout parsing and doc feedbackRaimo Niskanen
2018-04-10erl_docgen: Fix ghlinks to .xmlsrcLukas Larsson
2018-04-09erl_docgen: Add ghlink step for all non-generated doc xml filesLukas Larsson
In order to get line numbers into the ghlink we have to add a post processing step for all xml files.
2018-04-05Doc: use that node name between code and commandsYoan Tournade
The server_node() function in the sample code was referring to messenger@bill, while the commands that follow use messenger@super as node name. Making both names consistent make it easier for newbies to test the code.
2018-03-29Improve doc, change images to .svgRaimo Niskanen
2018-03-22Update User's Guide and pointers to itRaimo Niskanen
2018-03-21Add an option to ?MODULE:module_info/1 for listing NIFsJohn Högberg
2018-03-12Merge branch 'john/erts/tuple-arityval-fixes/OTP-14963/ERL-577'John Högberg
* john/erts/tuple-arityval-fixes/OTP-14963/ERL-577: Make doc entry for maximum tuple size reflect reality Assert that sz <= MAX_ARITYVAL in make_arityval(sz)
2018-03-05Merge pull request #1560 from tsloughter/no_warn_sysconfigSiri Hansen
Include sys.config.src in release tar file OTP-14950
2018-03-05Make doc entry for maximum tuple size reflect realityJohn Högberg
2018-02-27update create_target.xmlsrc and release structure docsTristan Sloughter
2018-02-26Merge branch 'maint'John Högberg
* maint: Update advanced.xml
2018-02-13Update advanced.xmlKennethL-patch-1Kenneth Lundin
2018-01-24Merge branch 'maint'Raimo Niskanen
Conflicts: lib/stdlib/src/gen_statem.erl
2018-01-09stdlib: Improve erl_eval's stacktracesHans Bolinder
The call "erlang:get_stacktrace()" is not handled explicitly. If there are issues, they can probably be ignored since erlang:get_stacktrace/1 will be deprecated and removed.