aboutsummaryrefslogtreecommitdiffstats
path: root/system
AgeCommit message (Collapse)Author
2014-03-25Merge branch 'vinoski/sys-get-rep-state2'Siri Hansen
* vinoski/sys-get-rep-state2: remove tuple funs from special process documentation fix sys:get_state/1,2 and sys:replace_state/2,3 when sys suspended OTP-11817
2014-03-21remove tuple funs from special process documentationSteve Vinoski
Support for tuple funs was removed in R16B but the documentation for special processes, sys, and proc_lib in the OTP Design Principles still showed examples using them, and those examples no longer worked. Fix the examples to use regular functions instead and fix the documentation to reflect the changes.
2014-03-21fix sys:get_state/1,2 and sys:replace_state/2,3 when sys suspendedSteve Vinoski
Add two new system callbacks Module:system_get_state/1 and Module:system_replace_state/2 to allow sys:get_state/1,2 and sys:replace_state/2,3 to operate correctly even if a process is sys suspended. Modify gen_server, gen_fsm, and gen_event to support the new callbacks. If a callback module does not export these functions, then by default the Misc value (the same as that passed as the final argument to sys:handle_system_msg/6, and returned as part of the return value of sys:get_status/1,2) is treated as the callback module's state. The previous behaviour of intercepting the system message and passing a tuple of size 2 as the last argument to sys:handle_system_msg/6 is no longer supported. Add tests to verify the correctness of sys:get_state/1,2 and sys:replace_state/2,3 when processes are sys suspended. Add two tests for modules that implement special processes, one that exports system_get_state/1 and system_replace_state/2 and one that doesn't. Much of the credit for this patch goes to James Fish, who reported the initial problem and implemented much of the fix.
2014-03-21Documentation fixRickard Green
2014-03-20Verify runtime_dependencies when running 'otp_build patch_app'Rickard Green
2014-03-17Clarify the reference manual regarding source file encodingHans Bolinder
2014-02-24Merge branch 'rickard/otp_version/OTP-11615'Rickard Green
* rickard/otp_version/OTP-11615: Update OTP version documentation
2014-02-24Update OTP version documentationRickard Green
2014-02-24Merge branch 'lukas/ose/master/OTP-11334'Lukas Larsson
* lukas/ose/master/OTP-11334: (71 commits) erts: Fix unix efile assert ose: Use -O2 when building ose: Expand OSE docs ose: Add dummy ttsl driver ose: Cleanup cleanup of mutex selection defines ose: Polish mmap configure checks ose: Add ose specific x-compile flags ose: Updating fd_driver and spawn_driver for OSE ose: Updating event and signal API for OSE ose: Cleanup of mutex selection defines win32: Compile erl_log.exe ose: Remove uneccesary define ose: Fix ssl configure test for osx erts: Fix sys_msg_dispatcher assert ose: Fix broken doc links ose: Thread priorities configurable from lmconf ose: Yielding the cpu is done "the OSE" way ose: Start using ppdata for tse key ose: Do not use spinlocks on OSE ose: Fix support for crypto ... Conflicts: lib/crypto/c_src/crypto.c
2014-02-24Merge branch 'byaruhaf/add-books/OTP-11754'Henrik Nord
* byaruhaf/add-books/OTP-11754: Updated Copyright year and recent Erlang books
2014-02-24ose: Create OSE applicationLukas Larsson
Create an specific OSE application that mainly contains documentation around the OSE specific part of Erlang/OTP.
2014-02-21Merge branch 'rickard/otp_version/OTP-11615'Rickard Green
* rickard/otp_version/OTP-11615: Misc adjustments of OTP version
2014-02-20erts: Add more details to warning in on_load docsSverker Eriksson
2014-02-19Misc adjustments of OTP versionRickard Green
2014-02-18Updated Copyright year and recent Erlang booksByaruhanga Franklin
Added "Introducing Erlang" & "Learn You Some Elrlang for Great Good" Also changed the href for "Programming Erlang" to the new second edition.
2014-02-12[refmanual] Fix List in definition of pre-defined typesHans Bolinder
improper_list(Type1, Type2) has been replaced by nonempty_improper_list(Type1, Type2).
2014-01-28Merge branch 'essen/remote-set-cookie/OTP-11637'Lukas Larsson
* essen/remote-set-cookie/OTP-11637: set_cookie/2 call needs to be fully qualified
2014-01-28Merge branch 'bjorn/on_load-documentation/OTP-11611'Björn Gustavsson
* bjorn/on_load-documentation/OTP-11611: Update the note for -on_load()
2014-01-27Merge branch 'lukas/17/docfixes/OTP-11613'Lukas Larsson
* lukas/17/docfixes/OTP-11613: system: Fix documentation typoes
2014-01-27system: Fix documentation typoesLukas Larsson
2014-01-27Update the note for -on_load()Björn Gustavsson
We can't recommend -on_load() for general use.
2014-01-24Merge branch 'zaa/docfix'Henrik Nord
* zaa/docfix: Typo fix OTP-11606
2014-01-16set_cookie/2 call needs to be fully qualifiedLoïc Hoguin
2014-01-03Typo fixAlexander Zhuravlev
Corrected a link to gen_fsm behaviour description.
2013-12-20Merge branch 'dgud/remove-gs-apps/OTP-10915'Dan Gudmundsson
2013-12-12Document named fun expressionsAnthony Ramine
2013-12-09Update preloaded modulesMagnus Lidén
2013-12-09Update system readme for R16B03Magnus Lidén
2013-11-29Merge branch 'maint'Dan Gudmundsson
Conflicts: erts/etc/win32/Install.c
2013-11-29Merge branch 'dgud/sasl/no_dot_erlang_boot/OTP-8479' into maintDan Gudmundsson
* dgud/sasl/no_dot_erlang_boot/OTP-8479: sasl: Add no_dot_erlang documentation and tests sasl: Add no_dot_erlang start script
2013-11-13Merge branch 'maint'Fredrik Gustafsson
2013-11-09fixed small typo (missing right parenthesis) in gen_fsm exampleBoris Mühmer
2013-11-07Remove references to removed applicationsDan Gudmundsson
2013-10-14Merge branch 'maint'Fredrik Gustafsson
2013-10-14Merge branch 'fenollp/treewide_remove_unexpected_0xff/OTP-11323' into maintFredrik Gustafsson
* fenollp/treewide_remove_unexpected_0xff/OTP-11323: Remove ^L characters hidden randomly in the code. Not those used in text files as delimiters.
2013-10-03sasl: Add no_dot_erlang documentation and testsDan Gudmundsson
2013-09-13Update system readme for R16B02Magnus Lidén
2013-09-12Remove ^L characters hidden randomly in the code. Not those used in text ↵Pierre Fenoll
files as delimiters. While working on a tool that processes Erlang code and testing it against this repo, I found out about those little sneaky 0xff. I thought it may be of help to other people build such tools to remove non-conforming-to-standard characters.
2013-09-12Merge branch 'maint'Hans Bolinder
* maint: Correct documentation of predefined types crypto: Add ticket for 5d8a13bb6a180e0a
2013-09-12Correct documentation of predefined typesHans Bolinder
The documentation of predefined types has been corrected Thanks to Kostis Sagonas.
2013-09-10Merge branch 'maint'Hans Bolinder
* maint: Correct documentation of predefined and built-in types
2013-09-06Correct documentation of predefined and built-in typesHans Bolinder
iodata/0, arity/0, and nonempty_list/0,1 have been added; nonempty_maybe_improper_list/1 and maybe_improper_list/1 removed.
2013-07-08Merge branch 'maint'Fredrik Gustafsson
2013-07-07Fix Nif doc typosYoshihiro Tanaka
2013-06-12Merge branch 'maint'Björn-Egil Dahlberg
2013-06-12Update copyright yearsBjörn-Egil Dahlberg
2013-06-10Merge branch 'maint'Fredrik Gustafsson
2013-06-10Remove 'query' from the list of reserved words in docsLoïc Hoguin
Credits go to Matthias Endler for finding it.
2013-04-19Convert XML files to UTF-8Hans Bolinder
2013-04-08Remove unused Postscript filesHans Bolinder