Age | Commit message (Collapse) | Author |
|
|
|
|
|
* 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
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
* rickard/otp_version/OTP-11615:
Update OTP version documentation
|
|
|
|
* 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
|
|
* byaruhaf/add-books/OTP-11754:
Updated Copyright year and recent Erlang books
|
|
Create an specific OSE application that mainly contains documentation
around the OSE specific part of Erlang/OTP.
|
|
* rickard/otp_version/OTP-11615:
Misc adjustments of OTP version
|
|
|
|
|
|
Added "Introducing Erlang" & "Learn You Some Elrlang for Great Good"
Also changed the href for "Programming Erlang" to the new second edition.
|
|
improper_list(Type1, Type2) has been replaced by
nonempty_improper_list(Type1, Type2).
|
|
* essen/remote-set-cookie/OTP-11637:
set_cookie/2 call needs to be fully qualified
|
|
* bjorn/on_load-documentation/OTP-11611:
Update the note for -on_load()
|
|
* lukas/17/docfixes/OTP-11613:
system: Fix documentation typoes
|
|
|
|
We can't recommend -on_load() for general use.
|
|
* zaa/docfix:
Typo fix
OTP-11606
|
|
|
|
Corrected a link to gen_fsm behaviour description.
|
|
|
|
|
|
Conflicts:
erts/etc/win32/Install.c
|
|
* dgud/sasl/no_dot_erlang_boot/OTP-8479:
sasl: Add no_dot_erlang documentation and tests
sasl: Add no_dot_erlang start script
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
* maint:
Correct documentation of predefined types
crypto: Add ticket for 5d8a13bb6a180e0a
|
|
The documentation of predefined types has been corrected
Thanks to Kostis Sagonas.
|
|
* maint:
Correct documentation of predefined and built-in types
|
|
iodata/0, arity/0, and nonempty_list/0,1 have been added;
nonempty_maybe_improper_list/1 and maybe_improper_list/1 removed.
|
|
|
|
|
|
|
|
|
|
|
|
Credits go to Matthias Endler for finding it.
|
|
|
|
|
|
incompatible.xml and highlights.xml haven't been included anywhere
for a long time.
|
|
|