Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-12-09 | port_bif_SUITE_data/control_drv.c: Conform to updated driver API | Björn Gustavsson | |
Also include <string.h> to include a prototype for memcpy(). | |||
2011-12-09 | send_term_SUITE_data/send_term_drv.c: Conform to updated driver API | Björn Gustavsson | |
2011-12-09 | system_profile_SUITE_data/echo_drv.c: Conform to updated driver API | Björn Gustavsson | |
While at it, also eliminate all compiler warnings. Also remove the control callback since it is not actually used. | |||
2011-12-09 | trace_port_SUITE_data/echo_drv.c: Conform to updated driver API | Björn Gustavsson | |
While at it, also eliminate all compiler warnings. | |||
2011-12-09 | Remove support for old drivers without ERL_DRV_EXTENDED_MARKER | Björn Gustavsson | |
Because of the extensive changes in the driver API (and especially the change of return types for callbacks such as 'control'), we can no longer allow drivers without version numbers. | |||
2011-12-09 | built-in drivers: Add ERL_DRV_EXTENDED_MARKER and version numbers | Björn Gustavsson | |
2011-12-09 | Bump driver version to 2.0 | Raimo Niskanen | |
2011-12-09 | erl_driver.h: Enlarge type on return value from call | Raimo Niskanen | |
2011-12-09 | erl_driver.h: Enlarge types on driver callbacks output, control and call | Raimo Niskanen | |
2011-12-08 | Merge branch 'rickard/alloc-opt/OTP-7775' | Rickard Green | |
* rickard/alloc-opt/OTP-7775: Fix erts_thr_progress_wakeup() | |||
2011-12-08 | Fix erts_thr_progress_wakeup() | Rickard Green | |
2011-12-08 | Merge remote-tracking branch 'origin/pan/hipe-alignment-warning' | Patrik Nyblom | |
* origin/pan/hipe-alignment-warning: Declare hipe_mode_switch_debug extern in header | |||
2011-12-08 | Make erl_alloc.c use correct strtol variant on windows | Patrik Nyblom | |
2011-12-08 | Set absolute limit on number of threads in ethread_SUITE | Patrik Nyblom | |
Win64 has no limit on number of threads, at least not one you will reach before the memory gets exhausted on a mainstream machine. Therefore the testcase max_threads has to stop at some point before we consume all virtual memory in the machine. An arbitrary limit of 80000 threads was added. | |||
2011-12-08 | Merge branch 'lukas/bugs_and_tc_fixes' | Lukas Larsson | |
* lukas/bugs_and_tc_fixes: Fix test_server test makefile for windows Only step pointer arity steps Link with LIBS after ETHR_LIBS Save +M<S>t data as true or false, not the number Return true/false instead of num for +M<S>t info Return correct format for info about sys_alloc Add explanatory text for tc failure OTP-9800 | |||
2011-12-08 | Link with LIBS after ETHR_LIBS | Lukas Larsson | |
2011-12-08 | Return true/false instead of num for +M<S>t info | Lukas Larsson | |
OTP-7775 | |||
2011-12-08 | Return correct format for info about sys_alloc | Lukas Larsson | |
OTP-7775 | |||
2011-12-08 | Merge branch 'ta/sendfile/OTP-9240' | Lukas Larsson | |
* ta/sendfile/OTP-9240: Do not use async threads on DARWIN Fix cleanup when sendfile process crashes Return {error,closed} from sendfile if closed Do not use SFV_NOWAIT as it does not exist on all solaris Clarify some code comments Make solaris use sendfilev | |||
2011-12-08 | Merge branch 'rickard/generic-thr-queue/OTP-9632' | Rickard Green | |
* rickard/generic-thr-queue/OTP-9632: Give elements of lock-free queues some time to be deallocated Fix cleanup of elements in lock-free queues | |||
2011-12-08 | Merge branch 'sverk/misc-valgrind-fixes' | Sverker Eriksson | |
* sverk/misc-valgrind-fixes: erts: Suppress valgrind warning about syscall sendmsg erts: Fix memory leak in test drivers erts: Small fix in inet_drv.c:sctp_set_opts | |||
2011-12-08 | Do not use async threads on DARWIN | Lukas Larsson | |
2011-12-08 | Fix cleanup when sendfile process crashes | Lukas Larsson | |
When sendfile crashes during a send there should be no error_logger printouts about stolen fds. | |||
2011-12-08 | Merge branch 'egil/file-info-opt-utc/OTP-7687' | Björn-Egil Dahlberg | |
* egil/file-info-opt-utc/OTP-7687: (39 commits) Remove time_t specific test in prim_file_SUITE Update prim_file.beam and prim_zip.beam Add types for posixtime_to_universaltime and the reverse Set BASEYEAR to 1902 Set lower limit of years handled to 1601 Emulate localtime, gmtime and mktime to enable negative time_t Document file:*_file_info/2 Fix compiler warning in unix_efile.c Change name of bif universaltime_to_seconds/1 Change options to prim_file:*_file_info/* Remove dead code Catch errors from prim_file:*_file_info Testcase for utc <-> seconds conversion Fix negative time in seconds_to_universaltime/1 Remove OS taint from datetime conversion Add utc <-> seconds conversions bifs Let prim_file validate ctime in file_info Teach #file_info spec unix epochs for file times Add file_info_opt tests in prim_file_SUITE unix_efile: Zero is a valid number in utime ... Conflicts: erts/emulator/beam/erl_time_sup.c erts/emulator/sys/win32/erl_win_sys.h erts/emulator/sys/win32/sys_time.c | |||
2011-12-08 | Update prim_file.beam and prim_zip.beam | Björn-Egil Dahlberg | |
2011-12-08 | Set BASEYEAR to 1902 | Patrik Nyblom | |
2011-12-08 | Set lower limit of years handled to 1601 | Patrik Nyblom | |
2011-12-08 | Emulate localtime, gmtime and mktime to enable negative time_t | Patrik Nyblom | |
2011-12-08 | Fix compiler warning in unix_efile.c | Björn-Egil Dahlberg | |
2011-12-08 | Change name of bif universaltime_to_seconds/1 | Björn-Egil Dahlberg | |
* erlang:universaltime_to_seconds/1 changed to erlang:universaltime_to_posixtime/1 * erlang:seconds_to_universaltime/1 changed to erlang:posixtime_to_universaltime/1 Let prim_file.erl reflect these changes. | |||
2011-12-08 | Change options to prim_file:*_file_info/* | Björn-Egil Dahlberg | |
* 'utc' changed to 'universal' * 'epoch' changed to 'posix' This change conforms to other naming already in OTP, e.g. erlang:universaltime_to_localtime/1. | |||
2011-12-08 | Catch errors from prim_file:*_file_info | Björn-Egil Dahlberg | |
We do not want to crash the file server. | |||
2011-12-08 | Testcase for utc <-> seconds conversion | Björn-Egil Dahlberg | |
2011-12-08 | Fix negative time in seconds_to_universaltime/1 | Björn-Egil Dahlberg | |
2011-12-08 | Remove OS taint from datetime conversion | Björn-Egil Dahlberg | |
2011-12-08 | Add utc <-> seconds conversions bifs | Björn-Egil Dahlberg | |
2011-12-08 | Let prim_file validate ctime in file_info | Björn-Egil Dahlberg | |
2011-12-08 | unix_efile: Zero is a valid number in utime | Björn-Egil Dahlberg | |
Both mtime and atime were incorrectly checked for zero | |||
2011-12-08 | Let univ_to_local reflect HAVE localtime_r | Björn-Egil Dahlberg | |
Handle error cases when localtime or localtime_r returns null. | |||
2011-12-08 | Fix types for gregday in erl_time_sup.c | Björn-Egil Dahlberg | |
2011-12-08 | Teach windows sys_localtime_r | Björn-Egil Dahlberg | |
2011-12-08 | Declare hipe_mode_switch_debug extern in header | Patrik Nyblom | |
Fixes alignment warning from ld on 64bit platforms with gcc 4.6.1 | |||
2011-12-07 | Give elements of lock-free queues some time to be deallocated | Rickard Green | |
2011-12-07 | Fix cleanup of elements in lock-free queues | Rickard Green | |
2011-12-07 | Return {error,closed} from sendfile if closed | Lukas Larsson | |
If the socket is closed by the remote end, sendfile now returns {error,closed}. | |||
2011-12-07 | erl_driver.h: Enlarge types in driver output functions | Raimo Niskanen | |
2011-12-07 | erl_driver.h: Enlarge types in driver queue and alloc functions | Raimo Niskanen | |
2011-12-07 | erl_driver.h: Use ErlDrvSizeT for size field in ErlIOVec | Raimo Niskanen | |
2011-12-07 | erts: Suppress valgrind warning about syscall sendmsg | Sverker Eriksson | |
Valgrind complains: "Syscall param socketcall.sendmsg(msg.msg_control) points to uninitialised byte(s)". Seems valgrind do not know which bytes of msg_control are padding. | |||
2011-12-07 | erts: Fix memory leak in test drivers | Sverker Eriksson | |