Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-04-21 | Modify code_change/4 to return CallbackMode | Raimo Niskanen | |
Also move check of non-atom states in callback mode state_functions to where the state function is called. This gives homogenous diagnostics for state functions, code_change/4 and system_replace_state StateFun. Irregularities pointed out by James Fish. | |||
2016-04-12 | Fix missing short forms for event timeout | Raimo Niskanen | |
2016-03-18 | Do more intricate Fred Hebert doc changes | Raimo Niskanen | |
2016-03-17 | Change Caller -> From as suggested by Fred Hebert | Raimo Niskanen | |
2016-03-03 | Rename state_timeout -> event_timeout | Raimo Niskanen | |
2016-03-03 | Fix most of the system docs and emacs mode | Raimo Niskanen | |
2016-03-02 | Change code_change/4 to {ok,State,Data} | Raimo Niskanen | |
2016-02-29 | Sharpen test suite | Raimo Niskanen | |
2016-02-29 | Remove the remove_event action and all alike | Raimo Niskanen | |
Removing events from the internal queues is not necessary with the choosen semantics of the event queue vs. hibernate. In an early implementation it was possible by combining hibernate with e.g. postpone to get an event in the queue that you would not see before processing the postponed event, and therefore should you decide to cancel a timer it was essential to be able to remove that unseen event from the queue. With the choosen semantics you will have to postpone or generate an event for it to be in the event queue, and if you e.g. postpone a timeout event and then cancel the timer it is your mistake. You have seen the event and should know better than to try to cancel the timer. So, the actions: remove_event, cancel_timer, demonitor and unlink are now removed. There have also been some cleanup of the timer handling code. | |||
2016-02-26 | Relax caller() type check and cleanup | Raimo Niskanen | |
2016-02-26 | Optimize postponed handling | Raimo Niskanen | |
2016-02-26 | Allow actions without containing list | Raimo Niskanen | |
Type check atom state as early as possible | |||
2016-02-26 | Implement 'keep_state_and_data' and 'stop' | Raimo Niskanen | |
2016-02-25 | Remove {keep_state_and_data} | Raimo Niskanen | |
Correct typo reported by Luïc Hoguin. | |||
2016-02-24 | Type check in API | Raimo Niskanen | |
2016-02-24 | Ditch PrevState | Raimo Niskanen | |
StateName/4 -> StateName/3 handle_event/5 -> handle_event/4 | |||
2016-02-24 | Make first next_event in list arrive first | Raimo Niskanen | |
Define options as actions that set options, rework the documentation about this. | |||
2016-02-24 | Ditch State so StateName/5 -> StateName/4 | Raimo Niskanen | |
2016-02-23 | Add {stop_and_reply,Reason,Replies [,Data]) | Raimo Niskanen | |
Cleanup some error handling | |||
2016-02-23 | Rename Client -> Caller | Raimo Niskanen | |
2016-02-22 | Make callback_option() mandatory | Raimo Niskanen | |
2016-02-19 | Hide Data in default format_status/2 if callback crashes | Raimo Niskanen | |
2016-02-19 | Update terminology to data(), transition_op(), etc | Raimo Niskanen | |
2016-02-19 | Add reply([Reply]) | Raimo Niskanen | |
2016-02-19 | Add {keep_state,...} and {keep_state_and_data,...} | Raimo Niskanen | |
2016-02-18 | Change initial PrevState to 'undefined' | Raimo Niskanen | |
2016-02-18 | Write some convenience helpers | Raimo Niskanen | |
2016-02-18 | Rename retry -> postpone | Raimo Niskanen | |
2016-02-18 | Rename insert_event -> next_event | Raimo Niskanen | |
2016-02-18 | Clean up error report printouts | Raimo Niskanen | |
2016-02-18 | Implement option callback_mode | Raimo Niskanen | |
2016-02-16 | Change to {next_state,...} and {stop,...} return format | Raimo Niskanen | |
2016-02-09 | New state machine | Raimo Niskanen | |
2015-12-15 | Factor out common code to gen.erl | Raimo Niskanen | |
2015-12-11 | Update appups in kernel, stdlib and sasl for OTP-18.2 | Siri Hansen | |
2015-12-07 | Merge branch 'bjorn/stdlib/rand-export_seed/OTP-13162' into maint | Björn Gustavsson | |
* bjorn/stdlib/rand-export_seed/OTP-13162: Correct rand:export_seed/0 when there is no prior seed | |||
2015-12-07 | Correct rand:export_seed/0 when there is no prior seed | Björn Gustavsson | |
According to the documentation, rand:export_seed/0 should return 'undefined' if the seed has not been intialized. However, it will create and return a seed. That means that the following code will not work as expected: case rand:export_seed() of undefined -> rand:seen({1,2,3}); _ -> ok end, rand:uniform(Range) | |||
2015-12-07 | stdlib: Correct pretty-printing of map types | Hans Bolinder | |
Add parentheses around annotated type union elements in map pair types. The bug was introduced in Erlang/OTP 18.0. | |||
2015-12-07 | stdlib: Pretty-print constraints as 'V :: T' | Hans Bolinder | |
Print constraints as 'V :: T' rather than 'is_subtype(V, T)'. | |||
2015-12-03 | Extend erl_lint:format_error/1 to handle bittype mismatches | Björn Gustavsson | |
erl_lint:format_error/1 would crash with a function error if conflicting types were given. That was most easily noticed in the shell: Eshell V7.0.3 (abort with ^G) 1> <<0/integer-binary>>. *** ERROR: Shell process terminated! *** Noticed-by: Aleksei Magusev | |||
2015-11-27 | stdlib: Fix the shell command rp and pretty-printing | Hans Bolinder | |
The shell command 'rp' prints strings as lists of integers when pretty printing of lists is 'false'. | |||
2015-10-22 | beam_lib: Document all_chunks/1 and build_module/1 | Björn Gustavsson | |
beam_lib:all_chunks/1 and beam_lib:build_module/1 can be useful for special-purpose stripping, for example to remove the "Line" chunk. | |||
2015-10-08 | Merge branch 'tomszilagyi/shell-support-del-home-end' into maint | Zandra | |
OTP-12032 * tomszilagyi/shell-support-del-home-end: Erlang shell: Support keys Del, Home and End | |||
2015-10-02 | Merge branch 'nybek/supervisor_reporting_error' into maint | Zandra | |
* nybek/supervisor_reporting_error: Fix supervisor reporting error | |||
2015-09-18 | Update application versions | Hans Bolinder | |
2015-09-18 | Merge branch 'dgud/stdlib/fix-file-error_log-leak' into maint | Dan Gudmundsson | |
* dgud/stdlib/fix-file-error_log-leak: stdlib: Fix leaking files after error_logger:logfile(close) | |||
2015-09-17 | stdlib: Fix leaking files after error_logger:logfile(close) | Dan Gudmundsson | |
Introduced when changing state from tuple to record. | |||
2015-09-17 | Merge branch 'leoliu/export-catch_exception' into maint | Henrik Nord | |
* leoliu/export-catch_exception: Export shell:catch_exception/1 as documented | |||
2015-09-10 | Merge branch 'howleysv/stdlib/compiled-unicode/OTP-12977' into maint | Björn Gustavsson | |
* howleysv/stdlib/compiled-unicode/OTP-12977: stdlib: Fix bug with unicode detection in re | |||
2015-09-09 | stdlib: Fix bug with unicode detection in re | Shane Howley | |
Fix bug with unrecognised 'unicode' option in re:split/2,3 & re:replace/3,4 when using pre-compiled regex. |