aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2012-12-18asn1ct_parser2: Let synonyms share parsing codeBjörn Gustavsson
UNION and "|" are synonyms, as are INTERSECTION and "^". Use the same parsing code for the synonyms.
2012-12-18Add a test case for constraint equivalenceBjörn Gustavsson
The constraint simplification pass need to be seriously rethought and rewritten. As a starting point, add a test case to test that equivalent ways to write a constraint are reduced to the same simplified constraint. Fix a few obvious bugs to make the test cases to pass.
2012-12-18Make .abs file consultableBjörn Gustavsson
2012-12-18Fix a bug in skipping of extensionsBjörn Gustavsson
Extensions following a double bracket group were not skipped correctly. Fix this bug and add tests to ensure that extensions are skipped correctly.
2012-12-18asn1rt_uper_bin: Correct incorrect skipping of extensionsBjörn Gustavsson
Commit 1b622484ea984f3bc424d2a6760e2d961bfcf816 changed the type of the extension bitmap for uper (from a tuple to a bitstring), but did not do the the corresponding change to the run-time module.
2012-12-18asn1 doc: Remove a reference to a section that has been removedBjörn Gustavsson
2012-12-18Simplify testConstraints by introducing helper functionsBjörn Gustavsson
2012-12-18Simplify testCompactBitString by introducing roundtrip functionsBjörn Gustavsson
Also run the test case for all back-ends.
2012-12-17Simplify testEnumExt by introducing a roundtrip/2 functionBjörn Gustavsson
2012-12-17Simplify testChoExternal by introducing a roundtrip/2 functionBjörn Gustavsson
2012-12-17Simplify testChoRecursive by introducing a roundtrip/2 functionBjörn Gustavsson
2012-12-17Simplify testSeqExtension.erl by introducing a roundtrip/2 functionBjörn Gustavsson
Make the test suite more readable by introducing and using a roundtrip/2 function.
2012-12-17Simplify testChoExtension by introducing a roundtrip/2 functionBjörn Gustavsson
2012-12-17Simplify testSetOptional by introducing a roundtrip/2 functionBjörn Gustavsson
2012-12-17testSetOptional: Correct test case for decoding of corrupt dataBjörn Gustavsson
Eliminate the spawning of the process since the original bug is fixed.
2012-12-17asn1_SUITE: Only run testExtensionAdditionGroup/1 onceBjörn Gustavsson
2012-12-14Merge branch 'ia/ssh/add_users_guide/OTP-7786'Ingela Anderton Andin
* ia/ssh/add_users_guide/OTP-7786: ssh: Document and clean up SSH behaviours ssh: Add Users Guide and enhance man pages ssh: Added User's Guide framework and minor enhancements
2012-12-13ssh: Document and clean up SSH behavioursIngela Anderton Andin
2012-12-13Merge branch 'ao/fix_mnesia_overload_msg_format'Henrik Nord
* ao/fix_mnesia_overload_msg_format: Fix format of mnesia overload message OTP-10639
2012-12-13Merge branch 'tja/exported-function-face'Henrik Nord
* tja/exported-function-face: Add separate face for exported functions OTP-10637
2012-12-13Merge branch 'jwh/mnesia_interval_removal'Henrik Nord
* jwh/mnesia_interval_removal: mnesia: Use chained send_after instead of send_interval OTP-10636
2012-12-13Merge branch 'pgö/tv-refresh-crash'Henrik Nord
* pgö/tv-refresh-crash: Fix Table Viewer refresh crash on no more existing ets tables OTP-10635
2012-12-13ssh: Add Users Guide and enhance man pagesIngela Anderton Andin
2012-12-13ssh: Added User's Guide framework and minor enhancementsNiclas Eklund
2012-12-12Merge branch 'anders/diameter/tbit/OTP-10619'Anders Svensson
* anders/diameter/tbit/OTP-10619: Add discard testcases to failover suite Check for T flag in failover suite Fix setting of T flag at failover
2012-12-10Merge branch 'hm/debugger_settings_dialog'Henrik Nord
* hm/debugger_settings_dialog: Fix Debugger settings dialog due to changed behavior in wxFileDialog OTP-10621
2012-12-10Add discard testcases to failover suiteAnders Svensson
2012-12-10Fix printout of application crash message on startupserge
This is what a sample crash message looks like before applying patch: Kernel pid terminated (application_controller) ({application_start_failure,cmp,{{bad_return_value, {doc_root_not_exists,[46,47,119,119,119]}},{cmp_app,start,[normal,[]]}}}) This is what a sample crash message looks like after applying patch: Kernel pid terminated (application_controller) ({application_start_failure,cmp,{{bad_return_value, {doc_root_not_exists,"./www"}},{cmp_app,start,[normal,[]]}}})
2012-12-10Check for T flag in failover suiteAnders Svensson
2012-12-10Fix setting of T flag at failoverAnders Svensson
This seems to have been broken at some point before diameter was included in OTP, prior to R14B03.
2012-12-10Merge branch 'bjorn/asn1/optimize/OTP-10519'Björn Gustavsson
* bjorn/asn1/optimize/OTP-10519: Remove unused run-time functions Optimize decoding of extensions Do alignment optimization of SEQUENCEs and SETs Refactor code generation for decoding SEQUENCE/SET Teach asn1ct_imm to optimize alignment Optimize decoding of OCTET STRINGs Implement encoding of fragmented OCTET STRINGs Use asn1ct_imm to optimize decoding of per and uper Use asn1ct_imm:effective_constraint/2 Add the asn1ct_imm module Makefile: Add dependencies for header files Eliminate the useless 'telltype' argument in component decoding testPrimString: Increase readability by introducing a roundtrip function asn1_SUITE: Let the per/1 test case also test 'uper' asn1ct_value: Fix type for open type value for uper Optimize encoding/decoding of NULL in the per and uper back-ends Suppress warnings for unused variables using a compiler option
2012-12-07Merge branch 'rickard/port-optimizations/OTP-10336' into ↵Rickard Green
rickard/r16/port-optimizations/OTP-10336 * rickard/port-optimizations/OTP-10336: Change annotate level for emacs-22 in cerl Update etp-commands Add documentation on communication in Erlang Add support for busy port message queue Add driver callback epilogue Implement true asynchronous signaling between processes and ports Add erl_drv_[send|output]_term Move busy port flag Use rwlock for driver list Optimize management of port tasks Improve configuration of process and port tables Remove R9 compatibility features Use ptab functionality also for ports Prepare for use of ptab functionality also for ports Atomic port state Generalize process table implementation Implement functionality for delaying thread progress from unmanaged threads Conflicts: erts/doc/src/erl_driver.xml erts/doc/src/erlang.xml erts/emulator/beam/beam_bif_load.c erts/emulator/beam/beam_bp.c erts/emulator/beam/beam_emu.c erts/emulator/beam/bif.c erts/emulator/beam/copy.c erts/emulator/beam/erl_alloc.c erts/emulator/beam/erl_alloc.types erts/emulator/beam/erl_bif_info.c erts/emulator/beam/erl_bif_port.c erts/emulator/beam/erl_bif_trace.c erts/emulator/beam/erl_init.c erts/emulator/beam/erl_message.c erts/emulator/beam/erl_port_task.c erts/emulator/beam/erl_process.c erts/emulator/beam/erl_process.h erts/emulator/beam/erl_process_lock.c erts/emulator/beam/erl_trace.c erts/emulator/beam/export.h erts/emulator/beam/global.h erts/emulator/beam/io.c erts/emulator/sys/unix/sys.c erts/emulator/sys/vxworks/sys.c erts/emulator/test/port_SUITE.erl erts/etc/unix/cerl.src erts/preloaded/ebin/erlang.beam erts/preloaded/ebin/prim_inet.beam erts/preloaded/src/prim_inet.erl lib/hipe/cerl/erl_bif_types.erl lib/kernel/doc/src/inet.xml lib/kernel/src/inet.erl
2012-12-07Add support for busy port message queueRickard Green
2012-12-07Implement true asynchronous signaling between processes and portsRickard Green
2012-12-06Merge branch 'egil/fix-dialyzer-specs/OTP-10601'Björn-Egil Dahlberg
* egil/fix-dialyzer-specs/OTP-10601: common_test: Fix exported types
2012-12-06Merge branch 'maint'Ingela Anderton Andin
Conflicts: erts/emulator/sys/vxworks/sys.c erts/vsn.mk lib/ssl/src/ssl_connection.erl lib/ssl/test/ssl_basic_SUITE.erl
2012-12-06Update release notesErlang/OTP
2012-12-06ssl: Prepare for releaseIngela Anderton Andin
2012-12-06ssl: Export sslsocket() dialyzer typeIngela Anderton Andin
2012-12-06ssl: Cancel non expired timersIngela Anderton Andin
2012-12-06ssl: Fix recv after timeout expiredIngela Anderton Andin
Reset state so that "recv data" is not sent as "active data" after a recv timed out and no new recv has been called.
2012-12-06ssl: Timeout handling changed so that the fsm-process will terminate if the ↵Ingela Anderton Andin
ssl:ssl_accept/[2,3] or ssl:connect/[3,4] timeout expires. Add missing function clause to handle timeout during handshake. The missing clause had the effect that the timeout was wrongly discarded. Also add an extra test case for the recv timeout in addition to the one in ssl_packet_SUITE. The missing functions clause was introduced in 8a789189. This commit changed the timeout implementation, the previous implememtation could cause other type of problems as the timeout was client side.
2012-12-06Merge branch 'fredrik/ssh/doc-fun-logging/OTP-7792'Fredrik Gustafsson
* fredrik/ssh/doc-fun-logging/OTP-7792: Added documentation for failfun, connectfun and disconnectfun in ssh
2012-12-06Remove unused run-time functionsBjörn Gustavsson
2012-12-06Optimize decoding of extensionsBjörn Gustavsson
2012-12-06Do alignment optimization of SEQUENCEs and SETsBjörn Gustavsson
2012-12-06Refactor code generation for decoding SEQUENCE/SETBjörn Gustavsson
In order to optimize the generated code, we will need data structures that can be traversed in several passes before the actual code is generated. Refactor the code so that if first builds (essentially) a list of funs that do the actual code generation, and a second function that will call the funs one at the time.
2012-12-06Teach asn1ct_imm to optimize alignmentBjörn Gustavsson
2012-12-06Optimize decoding of OCTET STRINGsBjörn Gustavsson
Decoding of fragmented OCTET STRINGs was only implemented when the size was constrained to a single value. While at it, support decoding fragmented OCTET STRINGS in all circumstances.
2012-12-06Implement encoding of fragmented OCTET STRINGsBjörn Gustavsson
Decoding of a fragmented OCTET STRING with the size constrained to a single value is implemented, but encoding is not implemented, and decoding is not tested in any test case. There is no urgent need to support encoding of fragmented OCTET STRINGs, but not being able to encode such values complicates testing of decoding. For example, eif we add the following type to PrimStrings.asn1 in the test suite: FixedOs65536 ::= OCTET STRING (SIZE (65536)) then asn1ct:test('PrimStrings') will fail because this value cannot be encoded.