Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-10-19 | Merge branch 'gomoripeti/stdlib/ms_fix/PR-1203/OTP-13974' into maint | Hans Bolinder | |
* gomoripeti/stdlib/ms_fix/PR-1203/OTP-13974: dbg:fun2ms: allow empty list as head | |||
2016-10-19 | Merge branch 'raimo/gen_statem-improvements/OTP-13929' into maint | Raimo Niskanen | |
* raimo/gen_statem-improvements/OTP-13929: Fix race condition in cancel_timer/1 Use parameterized types Implement state timeouts Improve docs and types Change state entry events into state enter calls Improve docs Improve docs Implement state entry events Implement call/3 dirty_timeout | |||
2016-10-14 | Fix race condition in cancel_timer/1 | Raimo Niskanen | |
2016-10-13 | dbg:fun2ms: allow empty list as head | Péter Gömöri | |
Running 'dbg:fun2ms(fun([]) -> return_trace() end' resulted in an error "dbg:fun2ms requires fun with single variable or list parameter" But the empty list is actually a list and it is a valid value as a match-spec head (matching on arity-0 functions). Although its practical use is questionable this commit eliminates a small limitation of ms_transform which is not present in the match-spec grammar. | |||
2016-10-13 | Use parameterized types | Raimo Niskanen | |
2016-10-12 | Implement state timeouts | Raimo Niskanen | |
2016-10-04 | Improve docs and types | Raimo Niskanen | |
2016-09-30 | Change state entry events into state enter calls | Raimo Niskanen | |
2016-09-28 | Merge branch ↵ | Siri Hansen | |
'legoscia/dynamic-child-shutdown-tuple/ERL-163/PR-1158/OTP-13907' into maint * legoscia/dynamic-child-shutdown-tuple/ERL-163/PR-1158/OTP-13907: Don't report error for shutdown exit tuple | |||
2016-09-27 | Merge branch 'andrey/stdlib/fix_edlin_expand/ERL-1152' into maint | Hans Bolinder | |
* andrey/stdlib/fix_edlin_expand/ERL-1152: stdlib: Add a testcase for Unicode expander Support for unicode expander | |||
2016-09-26 | Update appups in kernel and stdlib for OTP versions > 19.1 | Siri Hansen | |
2016-09-16 | Implement state entry events | Raimo Niskanen | |
2016-09-16 | Implement call/3 dirty_timeout | Raimo Niskanen | |
2016-09-07 | Merge branch 'peppe/stdlib/zip-security-flaw/OTP-13633' into maint | Peter Andersson | |
OTP-13633 | |||
2016-09-05 | Don't report error for shutdown exit tuple | Magnus Henoch | |
When a simple_one_for_one supervisor is shutting down, and a child exits with an exit reason of the form {shutdown, Term}, handle it as if the exit reason were 'shutdown', without printing an error report. This makes the behaviour of wait_dynamic_children match that of do_restart. This fixes ERL-163. | |||
2016-09-05 | Handle directory traversal attack | Peter Andersson | |
2016-09-01 | beam_lib: Correct type for the abstract code chunk | Björn Gustavsson | |
The abstract_code chunk can also contain {eof,_}, {error,_}, and {warning,_} in addition to the abstract forms that make up the Erlang syntax proper. | |||
2016-08-30 | Support for unicode expander | Andrey Teplyashin | |
2016-08-18 | Improve sys debug | Raimo Niskanen | |
2016-08-17 | Handle exceptions in init/1 and callback_mode/0 | Raimo Niskanen | |
2016-08-17 | Clarify error values | Raimo Niskanen | |
2016-08-10 | Doc fixes | Raimo Niskanen | |
2016-07-27 | Rewrite gen_statem for M:callback_mode/0 | Raimo Niskanen | |
2016-07-19 | Merge branch ↵ | Raimo Niskanen | |
'raimo/stdlib/gen_statem-types-and-templates/ERL-172_ERL-187/OTP-13746' into maint * raimo/stdlib/gen_statem-types-and-templates/ERL-172_ERL-187/OTP-13746: Fix type and template errors from bugs.erlang.org: ERL-172 and ERL-187 | |||
2016-07-18 | Fix type and template errors from bugs.erlang.org: ERL-172 and ERL-187 | Raimo Niskanen | |
2016-07-15 | Merge branch 'maint-19' into maint | Björn-Egil Dahlberg | |
2016-07-04 | Fix return value spec for ets:match_object | ILYA Khlopotov | |
ets:match_object/1 and ets:match_object/3 return list of matches | |||
2016-07-04 | stdlib: Correct a bug regarding records in the shell | Hans Bolinder | |
See also ERL-182. | |||
2016-06-13 | stdlib: Let epp handle long file names | Hans Bolinder | |
2016-06-13 | Merge branch 'bjorn/stdlib/deprecate-queue-lait/OTP-13658' | Björn Gustavsson | |
* bjorn/stdlib/deprecate-queue-lait/OTP-13658: Deprecate queue:lait/1 | |||
2016-06-10 | Deprecate queue:lait/1 | Björn Gustavsson | |
2016-06-10 | Merge branch 'hasse/dialyzer/improve_from_form/OTP-13547' | Hans Bolinder | |
* hasse/dialyzer/improve_from_form/OTP-13547: Update primary bootstrap stdlib: Correct types and specs dialyzer: Minor adjustments dialyzer: Suppress unmatched_return for send/2 dialyzer: Improve the translation of forms to types dialyzer: Use a cache when translating forms to types dialyzer: Prepare erl_types:t_from_form() for a cache dialyzer: Optimize erl_types:t_form_form() dialyzer: Correct types syntax_tools: Correct types erts: Correct character repr in doc of the abstract format stdlib: Correct types and specs | |||
2016-06-09 | Remove support for '...' in Maps types | Hans Bolinder | |
It is possible that '...' is added later (OTP 20.0), but for now we are not sure of all details. | |||
2016-06-09 | stdlib: Correct types and specs | Hans Bolinder | |
2016-06-09 | stdlib: Correct types and specs | Hans Bolinder | |
2016-06-08 | Merge branch 'josevalim/supervisor-get-callback-module/PR-1000/OTP-13619' | Siri Hansen | |
* josevalim/supervisor-get-callback-module/PR-1000/OTP-13619: Return callback module in supervisor format_status | |||
2016-06-04 | Return callback module in supervisor format_status | José Valim | |
The previous implementation of supervisor:get_callback_module/1 used sys:get_status/1 to get the supervisor inner state and retrieve the callback module. Such implementation forbids any other supervisor implementation that has an internal state different than the #state{} record in supervisor.erl. This patch allows supervisors to return the callback module as part of the sys:get_status/1 data, no longer coupling the callback module implementation with the inner #state{} record. Notice we have kept the clause matching the previous sys:get_status/1 reply for backwards compatibility purposes. | |||
2016-05-31 | Merge branch 'rickard/rt-dep-erts-kernel-stdlib-sasl' | Rickard Green | |
* rickard/rt-dep-erts-kernel-stdlib-sasl: Bumped runtime dependencies between erts, kernel, stdlib, sasl | |||
2016-05-30 | Merge branch 'dgud/stdlib/relax-proc_lib-initial-call/OTP-13623' | Dan Gudmundsson | |
* dgud/stdlib/relax-proc_lib-initial-call/OTP-13623: Relax translation of initial calls | |||
2016-05-30 | Merge branch 'kostis/beam_disasm-entry-type/PR-1072' | Björn Gustavsson | |
* kostis/beam_disasm-entry-type/PR-1072: Declare the type of function entry points Export label() type | |||
2016-05-27 | Merge branch 'richcarl/erts/fix-init-stop/PR-911/OTP-13630/OTP-13631' | Sverker Eriksson | |
2016-05-27 | Export label() type | Kostis Sagonas | |
2016-05-27 | Bumped runtime dependencies between erts, kernel, stdlib, sasl | Rickard Green | |
2016-05-25 | erts: Implement halt/0 and halt/1 in Erlang | Sverker Eriksson | |
just to make things simpler. | |||
2016-05-25 | Relax translation of initial calls | Dan Gudmundsson | |
Remove the restriction to only do the translation for gen_server and gen_fsm. This enables user defined gen based generic callback modules to be displayed nicely in c:i() and observer. | |||
2016-05-25 | Merge branch 'josevalim/supervisor-try-again-restart/PR-1001/OTP-13618' | Siri Hansen | |
* josevalim/supervisor-try-again-restart/PR-1001/OTP-13618: Avoid potential timer bottleneck on supervisor restart | |||
2016-05-13 | Merge branch 'mururu/stdlib/fix-deprecated-warnings/PR-1050/OTP-13594' | Björn Gustavsson | |
* mururu/stdlib/fix-deprecated-warnings/PR-1050/OTP-13594: Fix deprecated warnings | |||
2016-05-10 | erts: Implement max_heap_size process flag | Lukas Larsson | |
The max_heap_size process flag can be used to limit the growth of a process heap by killing it before it becomes too large to handle. It is possible to set the maximum using the `erl +hmax` option, `system_flag(max_heap_size, ...)`, `spawn_opt(Fun, [{max_heap_size, ...}])` and `process_flag(max_heap_size, ...)`. It is possible to configure the behaviour of the process when the maximum heap size is reached. The process may be sent an untrappable exit signal with reason kill and/or send an error_logger message with details on the process state. A new trace event called gc_max_heap_size is also triggered for the garbage_collection trace flag when the heap grows larger than the configured size. If kill and error_logger are disabled, it is still possible to see that the maximum has been reached by doing garbage collection tracing on the process. The heap size is defined as the sum of the heap memory that the process is currently using. This includes all generational heaps, the stack, any messages that are considered to be part of the heap and any extra memory the garbage collector may need during collection. In the current implementation this means that when a process is set using on_heap message queue data mode, the messages that are in the internal message queue are counted towards this value. For off_heap, only matched messages count towards the size of the heap. For mixed, it depends on race conditions within the VM whether a message is part of the heap or not. Below is an example run of the new behaviour: Eshell V8.0 (abort with ^G) 1> f(P),P = spawn_opt(fun() -> receive ok -> ok end end, [{max_heap_size, 512}]). <0.60.0> 2> erlang:trace(P, true, [garbage_collection, procs]). 1 3> [P ! lists:duplicate(M,M) || M <- lists:seq(1,15)],ok. ok 4> =ERROR REPORT==== 26-Apr-2016::16:25:10 === Process: <0.60.0> Context: maximum heap size reached Max heap size: 512 Total heap size: 723 Kill: true Error Logger: true GC Info: [{old_heap_block_size,0}, {heap_block_size,609}, {mbuf_size,145}, {recent_size,0}, {stack_size,9}, {old_heap_size,0}, {heap_size,211}, {bin_vheap_size,0}, {bin_vheap_block_size,46422}, {bin_old_vheap_size,0}, {bin_old_vheap_block_size,46422}] flush(). Shell got {trace,<0.60.0>,gc_start, [{old_heap_block_size,0}, {heap_block_size,233}, {mbuf_size,145}, {recent_size,0}, {stack_size,9}, {old_heap_size,0}, {heap_size,211}, {bin_vheap_size,0}, {bin_vheap_block_size,46422}, {bin_old_vheap_size,0}, {bin_old_vheap_block_size,46422}]} Shell got {trace,<0.60.0>,gc_max_heap_size, [{old_heap_block_size,0}, {heap_block_size,609}, {mbuf_size,145}, {recent_size,0}, {stack_size,9}, {old_heap_size,0}, {heap_size,211}, {bin_vheap_size,0}, {bin_vheap_block_size,46422}, {bin_old_vheap_size,0}, {bin_old_vheap_block_size,46422}]} Shell got {trace,<0.60.0>,exit,killed} | |||
2016-05-09 | Merge branch 'bjorn/stdlib/warning-and-error/OTP-13476' | Björn Gustavsson | |
* bjorn/stdlib/warning-and-error/OTP-13476: Add documentation epp: Add the -error and -warning directives epp: Refactor expansion of header path | |||
2016-05-07 | Fix deprecated warnings | Yuki Ito | |
In current deprecated warnings such as `crypto:rand_bytes/1 is deprecated and will be removed in in a future release; use crypto:strong_rand_bytes/1`, the word "in" is duplicated. |