Merge branch 'siri/ct_netconfc-dialyzer'

* siri/ct_netconfc-dialyzer:
  Fix some dialyzer warnings in ct_netconfc
ssl: Handle SNI alert unrecognized_name and gracefully deal with
unexpected alerts.

Add recognitions of RFC 4366 alerts and handle possible
unimplementd alerts in a gracefully way.
Merge branch 'paulgray/dtrace_snprintf_fix/OTP-11816'

* paulgray/dtrace_snprintf_fix/OTP-11816:
  Pass full strings to DTrace probes
Merge branch 'vinoski/sys-get-rep-state2'

* vinoski/sys-get-rep-state2:
  remove tuple funs from special process documentation
  fix sys:get_state/1,2 and sys:replace_state/2,3 when sys suspended

OTP-11817
Merge branch 'vladdu/unicode_parameters_doc'

* vladdu/unicode_parameters_doc:
  Specify that +fn* flags affect even command-line parameters and environment variables

OTP-11818
wx: Fix possibility to fetch early open msgs on mac

Mac doesn't add clicked files to program arguments, a callback
is invoked instead, send msgs to erlang about them.
wx: Fix memory garbage collector
Merge branch 'peppe/common_test/master_test_timeout'

* peppe/common_test/master_test_timeout:
  Shorten default timetrap timeout for ct_master test suite
Merge branch 'peppe/common_test/dialyzer_warnings'

* peppe/common_test/dialyzer_warnings:
  Update incorrect type specifications
  Fix code to get rid of dialyzer warnings
  Remove dead code
Merge branch 'peppe/common_test/cth_surefire_crash'

* peppe/common_test/cth_surefire_crash:
  Prevent cth_surefire hook from crashing if previous hook returns fail or skip.

OTP-11811
Merge branch 'peppe/common_test/telnet_expect_timeout'

* peppe/common_test/telnet_expect_timeout:
  Add test cases
  Introduce total timeout value in ct_telnet:expect/3 options

OTP-11689
Change spawn/1 + monitor/2 to spawn_monitor/1 to avoid deadlock

crashdump_viewer:progress_pmap did sometimes hang since is spawned a
process, then monitored it and waited for a specific DOWN
message. When the process' work was very fast, it would exit before
the call to monitor and the DOWN message would contain reason 'noproc'
instead of the expected {pmap_done,Result}.

By doing spawn_monitor/1 instead, the monitor is always set before the
process exits so the deadlock is avoided.
Fix crash in crashdump_viewer when node has multiple creations

A node to which we have references to multiple instances (creations)
will have an information line in the crashdump like this:

Creation: 1 2 ...

This would earlier crash because crashdump_viewer would try to do
list_to_integer on the value after "Creation: ". This is now
corrected.

This correction also helps the case when the emulator is debug
compiled, since the line could then be

Creation: 1 (refc=1)
Fix DTrace/SystemTap-related formatting

Thanks to Michał Ptaszek for bringing this embarrassing formatting error to
my attention.  Many DTrace/SystemTap trace strings are incorrectly
truncated at 4/8 bytes, depending on the CPU word size.  This patch expands
the work from commit d032e097 by zheng siyao.

Michał's report to the erlang-bugs list can be found at:
http://erlang.org/pipermail/erlang-bugs/2014-March/004250.html

Conflicts:
	erts/emulator/beam/beam_emu.c
	erts/emulator/beam/copy.c
	erts/emulator/beam/dist.c
	erts/emulator/beam/erl_async.c
	erts/emulator/beam/erl_bif_port.c
	erts/emulator/beam/erl_port_task.c
	erts/emulator/beam/erl_process.c
	erts/emulator/beam/io.c
Merge branch 'paulgray/dtrace_snprintf_fix/OTP-11816'

* paulgray/dtrace_snprintf_fix/OTP-11816:
  Fix DTrace/SystemTap-related formatting
Merge branch 'hans/eldap/asn1_bin_lists/OTP-11768'

* hans/eldap/asn1_bin_lists/OTP-11768:
  eldap: Fix asn.1 decode into binaries
wx: Added misc functions

Nice to have functionality
erts: Fix compile warning in io.c for windows
ssh: Fix dialyzer warning for arg Data in ssh_connection_handler:send/4
Use fun encoding to erl_parse:abstract/2

This is an encoding that didn't exist at the time of the previous
commit, but which was added in commit 83b6daef. Use it to restrict
stringification to lists containing printable ascii.