summaryrefslogtreecommitdiff
path: root/lib/megaco/src
Commit message (Collapse)AuthorAgeFilesLines
* megaco: Fix compile warning variable 'State' is unusedSverker Eriksson2020-11-201-1/+1
|
* Merge branch 'bmk/megaco/20201118/empty_statistics_descriptor/OTP-17012' ↵Micael Karlberg2020-11-203-11/+56
|\ | | | | | | | | | | into maint OTP-17012
| * [megaco] Empty statistics descriptor incorrectly not allowedMicael Karlberg2020-11-183-12/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In version 3 of the standard its *allowed* to have an 'empty' statistics descriptor. ABNF for version 3: statisticsDescriptor = StatsToken [LBRKT statisticsParameter *(COMMA statisticsParameter) RBRKT] This differ from version 1 where the ABNF looks like this: statisticsDescriptor = StatsToken LBRKT statisticsParameter *(COMMA statisticsParameter ) RBRKT Note that there is some conflict with, for instance, auditReturnItem, which required "some tweaking". OTP-17012 (ERL-1405)
* | [magaco] Updated the expected number of (yecc) warningsMicael Karlberg2020-09-072-4/+4
| | | | | | | | | | | | | | Updated the expected nnumber of yecc warnings for the v2 and v3 parser's. OTP-16836
* | Merge branch 'lars/megaco/v3_v2_ipv6_address_error/OTP-16818' into maintLars Thorsen2020-08-282-3/+3
|\ \ | | | | | | | | | | | | | | | * lars/megaco/v3_v2_ipv6_address_error/OTP-16818: [megaco|test] Add Test cases [megaco] V2/V3 text parser IPv6 address failure
| * | [megaco] V2/V3 text parser IPv6 address failureLars Thorsen2020-08-262-3/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The v2/v3 decoders could handle all kinds of IPv6 addresses. The reason for this was that some of the chars (a and e) in the short form was interpreted as 'AddToken' and 'EventsToken' respectively, which the v2/v3 parsers could not handle. ABNF for the mId (only the IPv6 version): mId = (( domainAddress / domainName ) [":" portNumber]) / mtpAddress / deviceName domainAddress = "[" (IPv4address / IPv6address) "]" IPv6address = hexpart [ ":" IPv4address ] hexpart = hexseq "::" [ hexseq ] / "::" [ hexseq ] / hexseq hexseq = hex4 *( ":" hex4) hex4 = 1*4HEXDIG HEXDIG = ( DIGIT / "A" / "B" / "C" / "D" / "E" / "F" ) DIGIT = %x30-39 ; 0-9 Example: [2409:8050:5005:1243:1011::a] The final 'a' (or 'e') caused it to fail. OTP-16818
* | Merge branch 'bmk/megaco/20200512/mini_parser_ipv6/22.3/OTP-16631' into maintMicael Karlberg2020-05-131-4/+4
|\ \ | | | | | | | | | OTP-16631
| * | [megaco] Mini text parser IPv6 address failureMicael Karlberg2020-05-121-4/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mini decoder could handle all kinds of IPv6 addresses. The reason for this was that the som of the chars (a and e) in the short form was interpreted as 'AddToken' and 'EventsToke' respectively, which the mini parser could not handle. ABNF for the mId (only the IPv6 version): mId = (( domainAddress / domainName ) [":" portNumber]) / mtpAddress / deviceName domainAddress = "[" (IPv4address / IPv6address) "]" IPv6address = hexpart [ ":" IPv4address ] hexpart = hexseq "::" [ hexseq ] / "::" [ hexseq ] / hexseq hexseq = hex4 *( ":" hex4) hex4 = 1*4HEXDIG HEXDIG = ( DIGIT / "A" / "B" / "C" / "D" / "E" / "F" ) DIGIT = %x30-39 ; 0-9 Example: [2409:8050:5005:1243:1011::a] The final 'a' (or 'e') caused it to fail. OTP-16631
* | Merge branch 'maint'Rickard Green2020-03-135-5/+5
|\ \ | |/ | | | | | | * maint: Update copyright year
| * Update copyright yearRickard Green2020-03-135-5/+5
| |
* | [megaco] Updated with regard to deprecated encoding configMicael Karlberg2020-03-1232-220/+789
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The codec(s) prev3a, prev3b and prev3c has been deprecated. Since they are never called directly by a user, there use is dependent on encodeding config, which the user provides, the reprecated attribute is not useful. Instead we rely on documentation (basically) and comments in the code for the eventual removal (in OTP 24). Also, a warning message is issued whenever an encoding config using the deprecated config is set: {version3, prev3a | prev3b | prev3c} OTP-16531
* | Merge branch 'maint'Micael Karlberg2020-02-131-1/+14
|\ \ | |/ | | | | OTP-16449
| * [megaco] Add (sdp) wrapper function to interface moduleMicael Karlberg2020-02-051-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | An already documented (wrapper) function was acually missing. The function megaco:get_sdp_record_from_PropertyGroup/2 was documented but did not exist in the main interface module (megaco.erl). It did exist inte the sdp module (megaco_sdp.erl). So, instead of documenting the megaco_sdp module, we added the missing wrapper function in the megaco module (so that the documentation is, finally, correct). OTP-16449
* | otp: Add descriptions to all deprecation attributesJohn Högberg2020-02-121-2/+1
|/
* [megaco] Improved internal utility functions for timestampsMicael Karlberg2019-12-101-6/+97
| | | | | | | Improve the internal (format and formated) timestamp utility functions. OTP-16158
* [megaco] Silence dialyzer warnings for "special" functionMicael Karlberg2019-11-041-1/+3
| | | | | | | | The functions (is_enabled and is_reentrant_enabled) used macro's defined during configure, which means they have at any given (run-) time a defined value. So, in order to satisfy dialyzer, the nowarn_function attribute has been added.
* [megaco] Timer cancellation improvementsMicael Karlberg2019-09-031-1/+1
| | | | | | When cancel a (megaco) timer, a failure (that is, a timer that has already expired) was converted to success. This in turn could confuse the (timer) test suite.
* [megaco] Update the app file and some docsMicael Karlberg2019-06-272-2/+3
| | | | OTP-15882
* [megaco] Add megaco_user behaviour moduleMicael Karlberg2019-06-275-10/+412
| | | | | | | | | | | Add a "proper" behaviour module for the megaco_user behaviour. This behaviour is not a proper behaviour since its possible to configure megaco to add additional arguments to *all* of the functions in the behaviour (with the user_args config option). So, this behaviour only reflects the *default config* (whith the user_args set to [], that is no extra args). OTP-15882
* [megaco] Updated behaviour definitionsMicael Karlberg2019-06-272-19/+118
| | | | | | | | Made the behaviour definitions of megaco_encoder and megaco_edist_compress follow "modern" standards (which satisfies dialyzer). OTP-15882
* [megaco] Various chages and corrections dealing with dialyzerMicael Karlberg2019-06-2722-36/+49
| | | | | | | | | Mostly added nowarn_function-attributes to silence dialyzer (for functions that are "future" proofed). But actually also found some errors (although the issues have not been found for almost 15 years, so...). OTP-15882
* Move configuration of crypto to crypto application from ertsRickard Green2018-08-211-30/+10
| | | | | In order to be able to handle runtime library path in crypto also DED parts was broken out into a macro.
* Update copyright yearRaimo Niskanen2017-05-043-3/+3
|
* Fixed typos in lib/megacoAndrew Dryga2017-02-143-3/+3
|
* Update copyright-yearErlang/OTP2016-12-071-1/+1
|
* fix appup for megacoHenrik Nord2016-06-011-26/+3
|
* update copyright-yearHenrik Nord2016-03-15118-118/+118
|
* Change license text to APLv2Bruce Yinhe2015-06-18120-1206/+1326
|
* megaco: Eliminate use of erlang:now/0Björn Gustavsson2015-05-273-5/+4
|
* Update application versionsHans Bolinder2015-05-271-1/+6
|
* Update runtime_dependencies in application resource filesHans Bolinder2015-05-251-2/+2
| | | | | | | | | | | Applications that use the new erl_anno module are depending on STDLIB 2.5. Note that CosNotification, Megaco, SNMP, Xmerl, and Parsetools use the erl_anno module via the Yecc parsers only (the header file in lib/parsetools/include/yeccpre.hrl calls the erl_anno module). HiPE does not call the erl_anno module, but uses an exported type. We have chosen to make HiPE dependent on the erl_anno module.
* Update megaco.appup.srcRickard Green2014-12-081-0/+5
|
* [megaco] Fix appup for OTP-17.3Siri Hansen2014-09-121-0/+10
|
* Introduce runtime_dependencies in .app filesRickard Green2014-03-201-1/+4
| | | | | | | | | | | | | Most dependencies introduced are exactly the dependencies to other applications found by xref. That is, there might be real dependencies missing. There might also be pure debug dependencies listed that probably should be removed. Each application has to be manually inspected in order to ensure that all real dependencies are listed. All dependencies introduced are to application versions used in OTP 17.0. This since the previously used version scheme wasn't designed for this, and in order to minimize the work of introducing the dependencies.
* Deprecate asn1 functionsBjörn Gustavsson2014-02-211-4/+4
| | | | | Those asn1 functions are no longer needed because they all have better alternatives.
* Merge branch 'bjorn/asn1/erlang-types/OTP-11594'Björn Gustavsson2014-01-291-1/+1
|\ | | | | | | | | | | | | | | | | | | | | * bjorn/asn1/erlang-types/OTP-11594: Update documentation Fix open types Fix OCTET STRING Fix BIT STRING Add legacy_erlang_types asn1 test suite: Modernize testTimer_* and testTimer.erl testPrimStrings: Run test of fragmented strings for PER too
| * Fix OCTET STRINGBjörn Gustavsson2014-01-241-1/+1
| |
* | [megaco] Updated version, appup and release notesMicael Karlberg2014-01-271-1/+12
|/ | | | OTP-10907
* megaco: Update appup fileBjörn-Egil Dahlberg2013-09-121-0/+4
|
* [megaco] Appup cleanupMicael Karlberg2013-04-221-12/+0
| | | | | | Removed instruction for 3.16.0.2 since this version has never existed in R16 and since we would otherwise have to include a *lot* of module delete instructions.
* Merge branch ↵Micael Karlberg2013-04-193-176/+187
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'bmk/megaco/flex_buffer_overrun_while_scanning_prop_parms/OTP-10998/r15' into bmk/megaco/flex_buffer_overrun_while_scanning_prop_parms/OTP-10998/r16 Conflicts: lib/megaco/doc/src/notes.xml lib/megaco/src/flex/megaco_flex_scanner_drv.flex.src lib/megaco/test/megaco_codec_prev3a_test.erl lib/megaco/test/megaco_codec_prev3b_test.erl lib/megaco/test/megaco_codec_prev3c_test.erl lib/megaco/test/megaco_codec_v1_test.erl lib/megaco/test/megaco_codec_v2_test.erl lib/megaco/test/megaco_codec_v3_test.erl lib/megaco/vsn.mk
| * Merge branch ↵Micael Karlberg2013-04-181-2/+2
| |\ | | | | | | | | | | | | | | | 'bmk/megaco/flex_buffer_overrun_while_scanning_prop_parms/OTP-10998/r14' into bmk/megaco/flex_buffer_overrun_while_scanning_prop_parms/OTP-10998/r15 [megaco] Fixed felx driver handler code-change tags.
| | * Merge branch ↵Micael Karlberg2013-04-181-2/+2
| | |\ | | | | | | | | | | | | | | | | | | | | 'bmk/megaco/flex_buffer_overrun_while_scanning_prop_parms/OTP-10998/r13' into bmk/megaco/flex_buffer_overrun_while_scanning_prop_parms/OTP-10998/r14 Fixed flex handler code-change version tag.
| | | * [megaco] Used wrong downgrade tag for (flex) handlerMicael Karlberg2013-04-181-1/+1
| | | |
| * | | [megaco] Fix mergeMicael Karlberg2013-04-171-6/+0
| | | |
| * | | Merge branch ↵Micael Karlberg2013-04-173-160/+188
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'bmk/megaco/flex_buffer_overrun_while_scanning_prop_parms/OTP-10998/r14' into bmk/megaco/flex_buffer_overrun_while_scanning_prop_parms/OTP-10998/r15 Conflicts: lib/megaco/.gitignore lib/megaco/doc/src/notes.xml lib/megaco/src/app/megaco.appup.src lib/megaco/src/flex/megaco_flex_scanner_drv.flex.src lib/megaco/test/megaco_codec_v2_test.erl lib/megaco/vsn.mk
| | * | Merge branch ↵Micael Karlberg2013-04-163-133/+174
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'bmk/megaco/flex_buffer_overrun_while_scanning_prop_parms/OTP-10998/r13' into bmk/megaco/flex_buffer_overrun_while_scanning_prop_parms/OTP-10998/r14 Conflicts: lib/megaco/doc/src/notes.xml lib/megaco/src/app/megaco.appup.src lib/megaco/test/megaco_codec_flex_lib.erl lib/megaco/test/megaco_codec_v2_test.erl lib/megaco/test/megaco_test_lib.erl lib/megaco/vsn.mk
| | | * Assign correct version and updated release notes accordingly.Micael Karlberg2013-04-102-66/+17
| | | | | | | | | | | | | | | | Also added (and cleaned up) appup.
| | | * Merge branch 'bmk/megaco/flex_scanner_core/seq12263' into ↵Micael Karlberg2013-04-101-9/+24
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bmk/megaco/flex_buffer_overrun_while_scanning_prop_parms/OTP-10998/r13 Conflicts: lib/megaco/src/flex/megaco_flex_scanner_drv.flex.src
| | | | * Removed commentsMicael Karlberg2013-04-031-2/+0
| | | | |