Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-01-25 | Testcase expecting newline | Fredrik Gustafsson | |
2013-01-25 | Merge branch 'sa/dialyzer-unknown-arity-funs/OTP-10772' | Fredrik Gustafsson | |
* sa/dialyzer-unknown-arity-funs/OTP-10772: Update one more unused funs result as per ffe582b Remove pubsub and comm_layer tests from testsuite Properly support functions with arbitrary arity in type specs. Conflicts: lib/hipe/cerl/erl_types.erl | |||
2013-01-25 | ssh: Fix dialyzer and doc warnings | Ingela Anderton Andin | |
2013-01-25 | Merge branch 'ia/public_key/PKCS-10-usage-of-PKCS-9' | Ingela Anderton Andin | |
* ia/public_key/PKCS-10-usage-of-PKCS-9: public_key: Include some PKCS-9 support needed by PKCS-10 | |||
2013-01-25 | Add testcases for odbc:param_query | Danil Onishchenko | |
Add testcases for odbc:param_query/3 and odbc:param_query4 with unparameterized query string and empty parameters list. | |||
2013-01-24 | Update documentation | Peter Andersson | |
OTP-9881 | |||
2013-01-24 | Fix syntax highlighting of $\' in Emacs mode | Magnus Henoch | |
The single quote in $\' does not begin an atom. Change the regexp to treat it just like $\". Previously this code would be incorrectly highlighted: foo() -> Quote = $\', %% This gets coloured as an atom, not as a comment ... | |||
2013-01-24 | ic: Making tests pass after changes in erl_interface and jinterface | Sverker Eriksson | |
Note that all these changes was needed due to violations of the APIs in erl_interface and jinterface. One might of course argue that these violations was made due to shortages in erl_interface and jinterface. | |||
2013-01-24 | ic: Revert --enable-silent-rules for test Makefile | Sverker Eriksson | |
Seems like this Makefile.src was included by mistake in fed9a8415fc77ed42bf9a94ea421eff4f62c5eb4 | |||
2013-01-24 | Merge branch 'kp/odbc-oracle-autocommit-fix/OTP-10735' | Fredrik Gustafsson | |
* kp/odbc-oracle-autocommit-fix/OTP-10735: Fix aotocommit for Oracle ODBC driver in Linux. | |||
2013-01-24 | Changed to correct errorcode in testcase | Fredrik Gustafsson | |
2013-01-24 | Merge branch 'bjorn/kernel/undefined-function-handler/OTP-10617' | Björn Gustavsson | |
* bjorn/kernel/undefined-function-handler/OTP-10617: Add a warning to discourage abuse of $handle_undefined_function/2 | |||
2013-01-24 | Merge branch 'bjorn/warnings-zero-tolerance' | Björn Gustavsson | |
* bjorn/warnings-zero-tolerance: Turn warnings to errors on selected applications runtime_tools_sup: Eliminate warning inet_parse: Eliminate a compiler warning | |||
2013-01-24 | Don't export encode_disp/2 and decode_disp/2 in generated modules | Björn Gustavsson | |
Those functions were exported for no good reason. | |||
2013-01-24 | Remove vestiges of support for the {TypeName,Value} notation | Björn Gustavsson | |
Support in BER was removed in 3d1279f3cebfdd2483c3afea9f225613fe45cd00. | |||
2013-01-24 | Add tests and correct errors | Peter Andersson | |
OTP-9881 | |||
2013-01-24 | Update CT Master | Peter Andersson | |
OTP-9881 | |||
2013-01-24 | Implement support for including test specifications | Peter Andersson | |
OTP-9881 | |||
2013-01-24 | Make it possible to execute one test run per test specification | Peter Andersson | |
OTP-9881 | |||
2013-01-23 | ssl: Enhance dialyzer specs | Kostis Sagonas | |
2013-01-23 | ssl: Do not return random values | Kostis Sagonas | |
2013-01-23 | ssl: M-x erlang-indent-buffer | Ingela Anderton Andin | |
2013-01-23 | ssl: Remove unnecessary construction of a return value | Kostis Sagonas | |
2013-01-23 | Merge branch 'sverk/r16/utf8-atoms' | Sverker Eriksson | |
* sverk/r16/utf8-atoms: erl_interface: Fix bug when transcoding atoms from and to UTF8 erl_interface: Changed erlang_char_encoding interface erts: Testcase doing unicode atom printout with ~w erl_interface: even more utf8 atom stuff erts: Fix bug in analyze_utf8 causing faulty latin1 detection Add UTF-8 node name support for epmd workaround... Fix merge conflict with hasse UTF-8 atom documentation test case erl_interface: utf8 atoms continued Add utf8 atom distribution test cases atom fixes for NIFs and atom_to_binary UTF-8 support for distribution Implement UTF-8 atom support for jinterface erl_interface: Enable decode of unicode atoms stdlib: Fix printing of unicode atoms erts: Change internal representation of atoms to utf8 erts: Refactor rename DFLAG(S)_INTERNAL_TAGS for conformity Conflicts: erts/emulator/beam/io.c OTP-10753 | |||
2013-01-23 | Merge branch 'sal/float_to_list_2/OTP-10752' | Björn-Egil Dahlberg | |
* sal/float_to_list_2/OTP-10752: Text representation of a float formatted using given options. | |||
2013-01-23 | vsn -> 1.4 | Anders Svensson | |
2013-01-23 | Update appup | Anders Svensson | |
2013-01-23 | Spec fix | Anders Svensson | |
2013-01-23 | Test makefile tweak | Anders Svensson | |
2013-01-23 | Warn about applications/capabilities mismatches in doc | Anders Svensson | |
2013-01-23 | Minor documentation fixes | Anders Svensson | |
2013-01-23 | Remove upgrade code not needed at a major release | Anders Svensson | |
2013-01-23 | Comment fix | Anders Svensson | |
2013-01-23 | Add patch target to makefile | Anders Svensson | |
For building unofficial patches. | |||
2013-01-23 | Merge branch 'anders/diameter/registered/OTP-10442' | Anders Svensson | |
* anders/diameter/registered/OTP-10442: Add registered server names to app file | |||
2013-01-23 | erts,stdlib: Increase number of locks for write_concurrency | Sverker Eriksson | |
2013-01-23 | Merge branch 'siri/common_test/minor_test_fixes/OTP-10483' | Siri Hansen | |
* siri/common_test/minor_test_fixes/OTP-10483: [common_test] Extend timetrap time in ct_hooks_SUITE [common_test] Avoid hanging ct@host node if crypto does not exist [common_test] Changed call to publick_key to use documented interface [common_test] Extend timeout values for slave nodes in ct_master_SUITE [common_test] Extend valid interval for approximate timer values in tests | |||
2013-01-23 | erl_interface: Fix bug when transcoding atoms from and to UTF8 | Lukas Larsson | |
2013-01-23 | erl_interface: Changed erlang_char_encoding interface | Sverker Eriksson | |
to allow bitwise-or'd combinations. | |||
2013-01-23 | Add testcase for oct counters | Patrik Nyblom | |
2013-01-23 | Fix efile_drv crash when using async thread pool | Filipe David Borba Manana | |
When using the async thread pool and compressed files, when an efile driver port instance is shutdown, the efile_drv stop callback closes the file descriptor (a gzFile instance actually) - this is dangerous if at the same time there's an async thread performing an operation against the file, for example calling invoke_read(), which can result in a segmentation fault, or calling invoke_close() which double closes the gzFile and this in turn causes 2 consecutive calls to driver_free() against same gzFile instance (resulting in later unexpected crashes in erl_bestfit_alloc.c for example). The following test program makes the emulator crash when using the async thread pool: -module(t2). -export([t/1]). t(N) -> file:delete("foo.bar"), % Use of 'compressed' option, for creating/writing the file, % is irrelevant. It only matters when opening it later for % reads - a non-compressed file open with the 'compressed' % option goes through an internal gzFile handle (instead of % a plain integer fd), just like a compressed file. %{ok, Fd} = file:open("foo.bar", [raw, write, binary]), {ok, Fd} = file:open("foo.bar", [raw, write, binary, compressed]), ok = file:write(Fd, <<"qwerty">>), ok = file:close(Fd), Pid = spawn_link(fun() -> process_flag(trap_exit, true), loop(N) end), Ref = erlang:monitor(process, Pid), receive {'DOWN', Ref, _, _, _} -> ok end. loop(0) -> ok; loop(N) -> Server = self(), Pid = spawn(fun() -> {ok, Fd} = file:open("foo.bar", [read, raw, binary, compressed]), Server ! continue, % Comment the file:read/2 call to make the file:close/1 call much % more likely to crash or end up causing efile_drv to close twice % the fd (gzFile), which will make the emulator crash later in the % best fit allocator (erl_bestfit_alloc.c). _ = file:read(Fd, 5), file:close(Fd) end), receive continue -> ok end, exit(Pid, shutdown), loop(N - 1). Running this test when using the async thread pool: shell> erl +A 4 Erlang R15B03 (erts-5.9.3.1) [source] [64-bit] [smp:4:4] [async-threads:4] [hipe] [kernel-poll:false] Eshell V5.9.3.1 (abort with ^G) 1> c(t2). {ok,t2} 2> t2:t(500000). Segmentation fault (core dumped) When not using the async thread pool, there are no issues: shell> erl Erlang R15B03 (erts-5.9.3.1) [source] [64-bit] [smp:4:4] [async-threads:0] [hipe] [kernel-poll:false] Eshell V5.9.3.1 (abort with ^G) 1> c(t2). {ok,t2} 2> t2:t(500000). ok 3> An example stack trace when the crash happens because there's an ongoing read operation is: Thread 1 (Thread 0x7f021cf2c700 (LWP 10687)): #0 updatewindow (strm=0x2691bf8, out=5) at zlib/inflate.c:338 #1 0x00000000005a2ba0 in inflate (strm=0x2691bf8, flush=0) at zlib/inflate.c:1141 #2 0x000000000055c46a in erts_gzread (file=0x2691bf8, buf=0x7f0215b29e80, len=5) at drivers/common/gzio.c:523 #3 0x00000000005849ef in invoke_read (data=0x26b2228) at drivers/common/efile_drv.c:1114 #4 0x000000000050adcb in async_main (arg=0x7f021bf5cf40) at beam/erl_async.c:488 #5 0x00000000005c21a0 in thr_wrapper (vtwd=0x7fff69c6ff10) at pthread/ethread.c:106 #6 0x00007f021c573e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #7 0x00007f021c097cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #8 0x0000000000000000 in ?? () And when there's an ongoing close operation when the driver is stopped: Thread 1 (Thread 0x7fe5f5654700 (LWP 747)): #0 0x0000000000459b64 in bf_unlink_free_block (block=0x10b2a70, allctr=<optimized out>, flags=<optimized out>) at beam/erl_bestfit_alloc.c:792 #1 bf_unlink_free_block (flags=0, block=0x10b2a70, allctr=0x873380) at beam/erl_bestfit_alloc.c:822 #2 bf_get_free_block (allctr=0x873380, size=<optimized out>, cand_blk=<optimized out>, cand_size=<optimized out>, flags=0) at beam/erl_bestfit_alloc.c:869 #3 0x000000000044f0dd in mbc_alloc_block (alcu_flgsp=<synthetic pointer>, blk_szp=<synthetic pointer>, size=200, allctr=0x873380) at beam/erl_alloc_util.c:1198 #4 mbc_alloc (allctr=0x873380, size=200) at beam/erl_alloc_util.c:1345 #5 0x000000000045449b in do_erts_alcu_alloc (size=200, extra=0x873380, type=165) at beam/erl_alloc_util.c:3442 #6 erts_alcu_alloc_thr_pref (type=165, extra=<optimized out>, size=192) at beam/erl_alloc_util.c:3520 #7 0x000000000055c0bf in gz_open (mode=0x5d98b2 "rb", path=0x1103418 "foo.bar") at drivers/common/gzio.c:164 #8 erts_gzopen (path=0x1103418 "foo.bar", mode=0x5d98b2 "rb") at drivers/common/gzio.c:307 #9 0x0000000000584e47 in invoke_open (data=0x1103330) at drivers/common/efile_drv.c:1857 #10 0x000000000050adcb in async_main (arg=0x7fe5f698af80) at beam/erl_async.c:488 | |||
2013-01-23 | inets: Prepare for R16 | Ingela Anderton Andin | |
2013-01-23 | Simplify the functions for decoding lengths | Björn Gustavsson | |
Now that the decoding of all types are generated inline, we can take out most of the code for decoding lengths. | |||
2013-01-23 | per,uper: Optimize decoding of the remaining data types | Björn Gustavsson | |
2013-01-23 | per,uper: Optimize decoding of the remaining string types | Björn Gustavsson | |
2013-01-23 | Share all code for dec_gen_prim/3 between per/uper back-ends | Björn Gustavsson | |
2013-01-23 | per,uper: Optimize decoding of the string data types | Björn Gustavsson | |
2013-01-23 | testPrimStrings: Test some constraints | Björn Gustavsson | |
2013-01-23 | By default, encode BIT STRING to bitstrings | Björn Gustavsson | |
Add the option 'legacy_bit_string' to decode to the old list format. | |||
2013-01-23 | wx: Add wxTreeCtrl:isTreeItemIdOk/1 | Dan Gudmundsson | |
Since I have replaced the wxTreeItemIdClass with integers, there is no way to verify that it is a valid wxTreeItemId that is returned from the wxTreeCtrl:getItem* functions. Still the check is that is non null so beware don't construct your own id's. |