aboutsummaryrefslogtreecommitdiffstats
path: root/erts
AgeCommit message (Collapse)Author
2011-04-28Merge branch 'ms/file-fix-hang-reading-compressed-files' into devHenrik Nord
* ms/file-fix-hang-reading-compressed-files: file: fix hang reading compressed files OTP-9245
2011-04-27Merge branch 'sverker/code_SUITE-false_dependency-bug' into devSverker Eriksson
* sverker/code_SUITE-false_dependency-bug: Fix bug in test case code_SUITE:false_dependency
2011-04-27Merge branch 'sverker/enif_is_exception/OTP-9150' into devSverker Eriksson
* sverker/enif_is_exception/OTP-9150: add support for checking if an ERL_NIF_TERM is an exception
2011-04-27Merge branch 'sverker/erts_printf-halfword' into devSverker Eriksson
* sverker/erts_printf-halfword: erts_printf %be to print integers of size Eterm Fix use of type BeamInstr in hipe_debug.c Conflicts: erts/emulator/hipe/hipe_debug.c
2011-04-15Merge branch 'ms/heart-rem-garbage-append' into devHenrik Nord
* ms/heart-rem-garbage-append: heart: remove garbage appended to heart command OTP-9224
2011-04-14Merge branch 'maint-r14' into devSverker Eriksson
Conflicts: erts/vsn.mk
2011-04-14Merge branch 'hw/fix-epmd-perror' into devHenrik Nord
* hw/fix-epmd-perror: Fix epmd's dbg_perror() output OTP-9223
2011-04-12Merge branch 'bjorn/erts/remove-init_get_args-doc/OTP-9209' into devBjörn Gustavsson
* bjorn/erts/remove-init_get_args-doc/OTP-9209: Remove documentation for non-existent init:get_args/0
2011-04-11Prepare releaseErlang/OTP
2011-04-11Merge branch 'rickard/process-status/OTP-9197' into maint-r14Erlang/OTP
* rickard/process-status/OTP-9197: Fix thread unsafe access Fix lost wakeup when process garbage collected by other Only set status P_WAITING when needed Add testcase for process_info() badarg bug
2011-04-11Fix thread unsafe accessRickard Green
Fix thread unsafe access to process status field introduced in OTP-9125.
2011-04-11Fix lost wakeup when process garbage collected by otherRickard Green
2011-04-11Only set status P_WAITING when neededRickard Green
The status of a process was unnecessarily set to waiting before the process was enqueued in a run queue. This bug was harmless up until OTP-R14B01. In OTP-R14B02 erlang:hibernate/3 was fixed (OTP-9125). After the introduction of OTP-9125, the previously harmless process status bug sometimes caused erroneous badarg exceptions from process_info().
2011-04-11Remove documentation for non-existent init:get_args/0Björn Gustavsson
init:get_args/0 was deprecated in R9C and removed in R12B. Reported-by: Eric Pailleau
2011-04-08Merge branch 'ms/epmd-local-access-check' into devHenrik Nord
* ms/epmd-local-access-check: epmd: include host address in local access check OTP-9214
2011-04-08Merge branch 'hw/epmd-bind-to-address' into devHenrik Nord
* hw/epmd-bind-to-address: Allow user to specify the IP address epmd binds to OTP-9213
2011-04-07Remove truncation error in key comparision for ordered setPatrik Nyblom
2011-04-07Merge branch 'ta/erts-unused-vars' into devHenrik Nord
* ta/erts-unused-vars: erts: Remove unused variables OTP-9205
2011-04-07file: fix hang reading compressed filesMichael Santos
The gzio driver goes into an infinite loop when reading past the end of a compressed file. Reported-By: Alex Morarash
2011-04-07Add testcase for process_info() badarg bugRickard Green
2011-04-06Fix bug in test case code_SUITE:false_dependencySverker Eriksson
Causing out-of-memory on halfword emulator.
2011-04-06heart: remove garbage appended to heart commandMichael Santos
heart:get_cmd/0 is documented to return an empty string if the command is cleared. get_cmd/0 returns 2 extra bytes: 1 byte for the trailing null, 1 byte from the op (the op is an unsigned char and 2 bytes are allocated for it in the returned buffer). 1> heart:get_cmd(). {ok,[0,0]} 2> heart:set_cmd("echo hello"). ok 3> heart:get_cmd(). {ok,[101,99,104,111,32,104,101,108,108,111,0,0]} 4> heart:clear_cmd(). ok 5> heart:get_cmd(). {ok,[0,99]}
2011-04-05Merge branch 'ks/hipe-ppc64' into devHenrik Nord
* ks/hipe-ppc64: Enable HiPE by default when compiling for PPC64 Translate RTL to PPC code on PPC64 too Changes in ppc files for PPC64 Additions for the PPC64 backend Changes for the PPC64 backend Added loader for ppc64 New files for the 64-bit backends Cleanup tags OTP-9198
2011-04-05Merge branch 'pan/run_erl_race_creating_fifo/OTP-9164' into devPatrik Nyblom
* pan/run_erl_race_creating_fifo/OTP-9164: Fix race in pipe creation. Two simultaneous node starts caused failure
2011-04-05Merge branch 'egil/estone-exported-fix' into devBjörn-Egil Dahlberg
* egil/estone-exported-fix: Fix unexported function in estone testcase
2011-04-05Merge branch 'cg/fix-pointer-dereference' into devHenrik Nord
* cg/fix-pointer-dereference: Fix some wrong pointer dereferences OTP-9194
2011-04-04Merge branch 'ta/driver_entry-typos-re' into devHenrik Nord
* ta/driver_entry-typos-re: Remove gratuitous paren in driver_entry OTP-9192
2011-04-04Fix unexported function in estone testcaseBjörn-Egil Dahlberg
2011-04-04Merge branch 'gl/erts-doterlang-docs' into devHenrik Nord
* gl/erts-doterlang-docs: Add back documentation on .erlang processing OTP-9189
2011-04-01Merge branch 'sverker/config-hipe-halfword-prevent' into devSverker Eriksson
* sverker/config-hipe-halfword-prevent: Prevent configuration of hipe and halfword emulator together
2011-03-30Remove gratuitous paren in driver_entryTuncer Ayaz
2011-03-30Merge branch 'hw/call-chmod-without-f' into devHenrik Nord
* hw/call-chmod-without-f: Call chmod without the "-f" flag Conflicts: erts/emulator/test/Makefile lib/asn1/test/Makefile lib/crypto/test/Makefile lib/debugger/test/Makefile lib/docbuilder/test/Makefile lib/edoc/test/Makefile lib/erl_interface/test/Makefile lib/inviso/test/Makefile lib/parsetools/test/Makefile lib/percept/test/Makefile lib/ssl/test/Makefile lib/syntax_tools/test/Makefile lib/test_server/test/Makefile lib/tools/test/Makefile OTP-9170
2011-03-29Fix race in pipe creation. Two simultaneous node starts caused failurePatrik Nyblom
2011-03-29Fix duplicate entries in stacktraces after calling certain BIFsBjörn Gustavsson
Calling a BIF thaf is called as a function (such as process_info/{1,2}) would leave a non-zero value in c_p->cp, which would lead to duplicate entries in the stacktrace.
2011-03-29BEAM loader: Simplify handling of the func_info/3 instructionBjörn Gustavsson
For some historical reason, the transformation of a func_info/3 instruction to the internal i_func_info/4 instruction is more involved than it needs to be. Remove the gen_func_info() function in the loader and use a simple transformation.
2011-03-25Merge branch 'pan/valgrind_xml_log' into devPatrik Nyblom
* pan/valgrind_xml_log: Make xml valgrind messages end up in xml log OTP-9079
2011-03-25Merge branch 'pan/tcp_send_timeout/OTP-9145' into devPatrik Nyblom
* pan/tcp_send_timeout/OTP-9145: Add testcase Teach tcp_recv not to cancel send timer
2011-03-25Merge branch 'pan/system_info_procs_crash/OTP-9140' into devPatrik Nyblom
* pan/system_info_procs_crash/OTP-9140: Make erts_printf %T not recurse on C stack Corrected fd_driver and cleaned up some really old code in win32/sys.[ch]
2011-03-25Merge branch 'pan/win_init_restart_oldshell/OTP-9139' into devPatrik Nyblom
* pan/win_init_restart_oldshell/OTP-9139: Add testcase Teach win32/sys.c (fd-driver) not to leak readers causing init:restart to fail Make Erlang build with Latest MS SDK, 7.1 (and VStudio 2010)
2011-03-25Merge branch 'pan/tcp_send_timeout/OTP-9145' of super:pan_otp into ↵Patrik Nyblom
pan/valgrind_xml_log
2011-03-25Fix two typos in erlsrv log messagesTuncer Ayaz
2011-03-25Fix typo in epmd helpTuncer Ayaz
2011-03-25erts: Fix doc typos, duplication and readabilityTuncer Ayaz
2011-03-24add support for checking if an ERL_NIF_TERM is an exceptionSteve Vinoski
Add the enif_is_exception function to allow callers to determine whether an ERL_NIF_TERM represents an exception. (Currently the only supported exception is badarg since only enif_make_badarg exists, but this will likely be expanded in future releases.) This allows NIF code to call other NIF functions that return ERL_NIF_TERM and properly check to see if the returned terms are exceptions. Without the enif_is_exception function, developers have to create their own means of checking whether a function creates an exception, such as returning boolean success/failure indicators or some other special value indicating that an exception is in effect. The declaration of enif_is_exception in erl_nif_api_funcs.h respects the order of declarations required to keep compatibility on Windows. Add a new test to verify the operation of enif_is_exception. Modify the erl_nif man page to add a description of enif_is_exception and also to clarify the requirements of calling the enif_make_badarg function. If code calls enif_make_badarg, the env passed in gets set with exception information and so the return value of the calling function MUST be the badarg term returned from enif_make_badarg. Also clarify that the result of enif_make_badarg may be passed only to enif_is_exception and not to any other NIF API functions.
2011-03-21Make xml valgrind messages end up in xml logPatrik Nyblom
2011-03-21Teach tcp_recv not to cancel send timerPatrik Nyblom
2011-03-21Teach win32/sys.c (fd-driver) not to leak readers causing init:restart to failPatrik Nyblom
2011-03-21Make Erlang build with Latest MS SDK, 7.1 (and VStudio 2010)Patrik Nyblom
2011-03-17Make erts_printf %T not recurse on C stackPatrik Nyblom
2011-03-17Prevent configuration of hipe and halfword emulator togetherSverker Eriksson
If not explicitly enabled, hipe is auto-disabled for halfword emulator. Configuration fails if both are explicitly enabled.