aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-04-24Merge branch 'maint'Peter Andersson
2013-04-24Merge branch 'peppe/common_test/ts_logfile_problems' into maintPeter Andersson
* peppe/common_test/ts_logfile_problems: Fix error with refreshing logs when html util files are missing Add correct footer to last run index page Make test_server close log files properly and include correct footer
2013-04-24Merge branch 'maint'Lukas Larsson
* maint: Fix src/dest overlap in ttsl driver fix valgrind error in erts/emulator/drivers/unix/ttsl_drv.c
2013-04-24Merge branch 'sv-ttsl-valgrind' into maintLukas Larsson
* sv-ttsl-valgrind: Fix src/dest overlap in ttsl driver fix valgrind error in erts/emulator/drivers/unix/ttsl_drv.c OTP-11064
2013-04-24Merge branch 'maint'Hans Bolinder
* maint: [dialyzer] Fix a bug concerning the --gui and --wx options
2013-04-24Merge branch 'hb/dialyzer/gui-bugfix/OTP-11057' into maintHans Bolinder
* hb/dialyzer/gui-bugfix/OTP-11057: [dialyzer] Fix a bug concerning the --gui and --wx options
2013-04-24[dialyzer] Fix a bug concerning the --gui and --wx optionsHans Bolinder
A bug that made it impossible to do any analyses from the GUI has been fixed. The bug was introduced in dialyzer-2.5.2.
2013-04-22Fix src/dest overlap in ttsl driverLukas Larsson
2013-04-22Fix error with refreshing logs when html util files are missingPeter Andersson
OTP-11046
2013-04-22Add correct footer to last run index pagePeter Andersson
OTP-11046
2013-04-22Merge branch 'hb/unicode/OTP-10907'Björn Gustavsson
* hb/unicode/OTP-10907: otp_SUITE: Add test cases to ensure that OTP conventions are obeyed Convert XML files to UTF-8 Convert XML files to UTF-8, where needed Remove the "coding: utf-8" comment from all Erlang source files Update primary bootstrap Change the default encoding of Erlang files to UTF-8
2013-04-22Merge branch 'maint'Lukas Larsson
* maint: crypto: Fix typo in documentation
2013-04-22Merge branch 'kt/fix-crypto-doc-typo' into maintLukas Larsson
* kt/fix-crypto-doc-typo: crypto: Fix typo in documentation OTP-11058
2013-04-21fix valgrind error in erts/emulator/drivers/unix/ttsl_drv.cSteve Vinoski
Running some valgrind memory checking showed the error below: ==18040== Thread 6: ==18040== Source and destination overlap in memcpy(0xf3f3f04, 0xf3f3f08, 52) ==18040== at 0x4C2CFA0: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==18040== by 0x5CF527: del_chars (ttsl_drv.c:845) ==18040== by 0x5CED5E: ttysl_from_erlang (ttsl_drv.c:658) ==18040== by 0x4982E3: erts_write_to_port (io.c:1235) ==18040== by 0x49A2BD: erts_port_command (io.c:2223) ==18040== by 0x48C054: do_send (bif.c:1962) ==18040== by 0x48CB6E: erl_send (bif.c:2162) ==18040== by 0x566599: process_main (beam_emu.c:1665) ==18040== by 0x4B1A95: sched_thread_func (erl_process.c:4834) ==18040== by 0x6075E2: thr_wrapper (ethread.c:106) ==18040== by 0x5560E99: start_thread (pthread_create.c:308) This occurred on Linux using R15B01 while the shell was emitting a prompt, but the same problem is still present in R16B. Change the memcpy on line 845 of ttsl_drv.c to memmove as valgrind suggests. After the change, verify with valgrind that the error no longer occurs.
2013-04-21crypto: Fix typo in documentationKlaus Trainer
2013-04-19Merge branch 'maint'Fredrik Gustafsson
2013-04-19Merge branch 'fredrik/ssh/unicode_adapt' into maintFredrik Gustafsson
* fredrik/ssh/unicode_adapt: ssh: unicode adaptions
2013-04-19otp_SUITE: Add test cases to ensure that OTP conventions are obeyedBjörn Gustavsson
Erlang source files should not have any "coding:" comment. The encoding for documentation XML files should be "utf-8" or "UTF-8".
2013-04-19Convert XML files to UTF-8Hans Bolinder
2013-04-19Convert XML files to UTF-8, where neededHans Bolinder
2013-04-19Remove the "coding: utf-8" comment from all Erlang source filesHans Bolinder
2013-04-19Update primary bootstrapHans Bolinder
2013-04-19Change the default encoding of Erlang files to UTF-8Hans Bolinder
2013-04-19Make test_server close log files properly and include correct footerPeter Andersson
OTP-11046
2013-04-19Update primary bootstrapFredrik Gustafsson
2013-04-19Merge branch 'nox/move-let-into-seq/OTP-11056'Fredrik Gustafsson
* nox/move-let-into-seq/OTP-11056: Move let expressions into sequences
2013-04-19Merge branch 'maint'Anders Svensson
2013-04-19Merge branch 'anders/diameter/mkdir_race/OTP-11051' into maintAnders Svensson
* anders/diameter/mkdir_race/OTP-11051: Fix mkdir race
2013-04-19Merge branch 'maint'Fredrik Gustafsson
2013-04-19Update primary bootstrapFredrik Gustafsson
2013-04-19Merge branch 'maint'Siri Hansen
2013-04-19Merge branch 'siri/cuddle-with-tests' into maintSiri Hansen
* siri/cuddle-with-tests: [common_test] Adjusted timers in ct_repeat_testrun_SUITE [common_test] Extend timer in cover_SUITE for slow test host [sasl] Remove compiler warning in release_handler_SUITE [common_test] Kill slave nodes after test cases in cover_SUITE [reltool] Remove erlang:port_close/1 for node port
2013-04-19[common_test] Adjusted timers in ct_repeat_testrun_SUITESiri Hansen
This is to allow slower test hosts.
2013-04-19[common_test] Extend timer in cover_SUITE for slow test hostSiri Hansen
2013-04-19[sasl] Remove compiler warning in release_handler_SUITESiri Hansen
2013-04-19[common_test] Kill slave nodes after test cases in cover_SUITESiri Hansen
The test case cover_SUITE:slave_start_slave often fails on a test host (windows) due to a hanging node from an earlier test run. In the first test, the slave fails to start (boot_timeout?) and is never connected to the test node. The attempt at cleaning up used nodes() to find which slaves to kill - so in the case where the slave was never connected it was never killed. This is no changed so each slave is explicitly killed by name - no matter if it is pingable or not.
2013-04-19[reltool] Remove erlang:port_close/1 for node portSiri Hansen
Test nodes are started with erlang:open_port/2, using the -detached option to erl. -detached causes the port returned from open_port/2 to be closed automatically. Some test cases failed occasionally with a badarg when attempting to close the port with erlang:port_close/1. To avoid this the call to port_close/1 is now removed.
2013-04-19Merge branch 'maint'Fredrik Gustafsson
2013-04-19Merge branch 'ak/fix-cpu-overhead-of-timer-server/OTP-11053' into maintFredrik Gustafsson
* ak/fix-cpu-overhead-of-timer-server/OTP-11053: fix excessive CPU consumption of timer_server
2013-04-19fix excessive CPU consumption of timer_serverAliaksey Kandratsenka
I've found stdlib's timer to burn CPU without good reason. Here's what happens. The problem is that it sleeps in milliseconds but computes time in microseconds. And there is bug in code to compute milliseconds to sleep. It computes microseconds difference between now and nearest timer event and then does _truncating_ division by 1000. So on average it sleeps 500 microseconds _less than needed_. On wakeup its checks do I have timer tick that already occurred? No. Ok how much I need to sleep ? It does that bad computation again and gets 0 milliseconds. So next gen_server timeout happens right away only to find we're still before closest timer tick and to decide to sleep 0 milliseconds again. And again and again. This commit changes division to pick ceiling of ratio rather than floor. So that we always sleep not less then difference between now and closest event time.
2013-04-18Fix mkdir raceAnders Svensson
Creating examples/code and examples/dict in parallel can fail when examples doesn't exists. This has been seen on FreeBSD.
2013-04-18Merge branch 'maint'Björn Gustavsson
* maint: Prepare release Prepare release Do not count offline run-queues as empty Prepare release Prevent loss of objects after the extension marker Don't lose the extension mark for object set parameters
2013-04-18Merge branch 'maint-r16' into maintBjörn Gustavsson
* maint-r16: Prepare release Prepare release Do not count offline run-queues as empty Prepare release Prevent loss of objects after the extension marker Don't lose the extension mark for object set parameters Conflicts: erts/vsn.mk
2013-04-18Merge branch 'maint-r15' into maint-r16Björn Gustavsson
* maint-r15: Prepare release Dummy merge.
2013-04-18Prepare releaseErlang/OTP
2013-04-18Merge branch 'rickard/sched/OTP-11022' into maint-r16Erlang/OTP
* rickard/sched/OTP-11022: Do not count offline run-queues as empty
2013-04-18Prepare releaseErlang/OTP
2013-04-18Merge branch 'maint'Siri Hansen
2013-04-18Merge branch 'siri/ct/error-printout-link/OTP-11044' into maintSiri Hansen
* siri/ct/error-printout-link/OTP-11044: [common_test] Add link from red error notification to full error description [common_test] Use max importance when logging errors
2013-04-18Merge branch 'maint'Siri Hansen