paulc
05a21a1d34
Moved XML classes to the main library.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5864 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-04 15:18:11 +00:00
paulc
8f8fe9ad85
Increment the SDP session version only if the hash of the body (except version) has changed.
...
This helps with some SIP endpoints that reject any SDP change.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5861 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-02 07:37:11 +00:00
paulc
cb382e02a2
Fixed assignment operation changed in Rev. 5856.
...
Report the ExpOperation types in Engine.print_r().
git-svn-id: http://yate.null.ro/svn/yate/trunk@5857 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-25 16:04:00 +00:00
oana
3047c9b55b
Fix loss of boolean type information through assignment due to changes in commit 5854.
...
Do proper cloning on ExpOperation when resolving fields and do proper detection for number conversion on boolean values.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5856 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-25 14:09:32 +00:00
paulc
11fcab1ab1
Implement independent CSeq generators for INVITE dialogs and REGISTER sessions.
...
Always parse CSeq in base 10, some implementations left pad with zeros.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5855 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-25 12:27:56 +00:00
oana
7a41ecce69
Do proper number conversion for arithmetic operations.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5854 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-24 13:36:53 +00:00
paulc
46df18335d
Fixed build on 32 bit systems.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5851 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-23 10:39:35 +00:00
oana
1ea753395a
Bug fix: do proper resolving for null object in object and array initializers.
...
Do not copy the singleton null object, provide a clone instead.
While doing object parameter resolving, do not alter prototypes for frozen objects.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5849 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-20 11:27:12 +00:00
paulc
87d25e86a7
Minor typo fix.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5848 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-18 13:27:27 +00:00
paulc
feea943ca1
Added coders for GSM L3 Handover Complete and Handover Failure.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5847 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-18 08:41:35 +00:00
paulc
fce2aa8548
Allow retrieving and setting more SIP dialog components.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5846 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-18 08:38:30 +00:00
paulc
41241ca8fc
Allow controlling the number of (re)transmission per SIP transaction.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5844 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-12 09:50:50 +00:00
paulc
f2fe82537c
Generate monotonic per-dialog Command Sequence numbers (CSeq) derived from the global sequence.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5841 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-11 12:02:40 +00:00
paulc
7c72c1ba6a
Ignore final commas in Array and Object initializers.
...
Handle successive commas in Array initializers by inserting undefined.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5840 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-11 10:39:34 +00:00
oana
01d170e8c4
Replaced commentary with a shorter version.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5838 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-06 15:02:56 +00:00
oana
82edff8d9e
Bug fix: avoid returning arbitrary values for functions that have no return value. Return undefined instead.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5837 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-06 11:57:05 +00:00
oana
e1285e0a68
Leave Javascript array data untouched if sorting fails. Slightly optimized the native sort procedure for Javascript array.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5835 acf43c95-373e-0410-b603-e72c3f656dc1
2014-05-19 15:01:29 +00:00
oana
eadca3e467
Bug fix: check that we extract a valid pointer from the stack when running the compare function for Array.sort().
...
This avoids segmentation faults caused by a callback compare function for Array.sort() which doesn't return anything. Instead, signal a runtime error.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5833 acf43c95-373e-0410-b603-e72c3f656dc1
2014-05-16 10:40:56 +00:00
marian
d5b3ce3fb7
Added parser method used to obtain a 'null' object reference.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5830 acf43c95-373e-0410-b603-e72c3f656dc1
2014-05-14 09:05:33 +00:00
oana
06536919fe
Added support for Javascript RegExp constructor from string.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5825 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-18 13:37:49 +00:00
oana
0b7aacf102
Added discrimination between boolean and integer values.
...
Return proper results for typeof and toString() calls for boolean values.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5819 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-09 13:52:54 +00:00
paulc
3e29286042
When building a default SIP domain from local address include port if not 5060.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5815 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-02 11:23:58 +00:00
paulc
410dd9a8c6
Fixed the type of the result of Array.indexOf(), must be number.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5812 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-01 13:25:17 +00:00
marian
50eb96f454
Prepare ougoing xml's buffer before adding it to queue to reduce stream mutex contention.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5805 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-21 09:23:00 +00:00
oana
63a85d3bf2
Fixed implementation of Array.splice() and Array.slice() functions.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5800 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-14 16:08:31 +00:00
paulc
0e603be619
Added and extra include path (defaulting to config dir) for JS scripts.
...
Engine runtime parameters can be used in javascript.conf for script paths.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5799 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-14 14:45:41 +00:00
paulc
fca0d0f1d9
Fixed a memory leak in JS Array.concat(Array), wrapper object was not destroyed.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5798 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-14 10:35:29 +00:00
oana
3f359c0a11
Use new JsArray constructor in the implementation of Array methods.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5797 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-14 10:09:15 +00:00
oana
6d2de9dfc8
Bug fix: properly set prototype property on JS Array objects.
...
Added JsObject::setPrototype() in order to set an objects prototype from given context.
Added new JsArray constructor which set its own prototype. Replaced use of constructor which returned Array prototype with this contructor.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5796 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-13 13:10:56 +00:00
oana
3144b3563f
Fixed documentation comment.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5793 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-28 11:55:58 +00:00
paulc
b0b2021a27
Added proper constructor for JS Array object.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5789 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-26 12:25:53 +00:00
paulc
3669db3d7b
Correctly parse numbers with sign, in that case sthe sign is not an unary operator.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5788 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-26 12:25:13 +00:00
marian
6565a427ff
Properly skip one UTF-8 instead of C char.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5783 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-21 13:32:11 +00:00
marian
ef205b0094
Marked file for utf-8 encoding.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5762 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-07 13:51:08 +00:00
marian
753d0b043f
Added methods used to encode and decode GSM 7bit buffers.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5760 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-07 08:18:43 +00:00
paulc
632070e047
Fixed implementation of JS Array concat() and reverse() methods.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5759 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-06 10:02:01 +00:00
paulc
5efdfb17dc
Fixed JS Array.pop() and unshift()
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5758 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 17:22:09 +00:00
paulc
4f9ea57ca1
Fixed JS Array.shift(), was breaking non-string values.
...
Marked pop(), concat(), reverse(), unshift() in need of fixing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5757 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 16:49:01 +00:00
paulc
37a72e4bc1
Added copyright notices to sources and scripts missing them.
...
Updated copyright notices for 2014.
Fixed end of lines in many files.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
oana
1e46a91857
Fixed compilation warnings.
...
Add new line and vi settings at the end of file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5753 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 08:48:35 +00:00
paulc
83028f342a
Disabled implicit copy constructor and assignment operator of GenObject.
...
Fixed bugs exposed by this change.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5749 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-30 20:42:40 +00:00
paulc
6c99ac9558
Added reporting the number of SIP transactions to "status sip" command.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5746 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-29 13:26:24 +00:00
oana
03501695c6
Added missing CP Cause value.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5744 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-28 08:34:01 +00:00
oana
e7c36992ff
Fixed encoding/decoding of EPS Security Header.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5743 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-24 09:24:08 +00:00
oana
f62c01d0e5
Fixed decoding of PLMN Identity.
...
If MCC is 000, skip over PLMN Identity.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5742 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-23 15:33:53 +00:00
oana
0960497615
Replaced include of yatengine.h with yateclass.h.
...
Moved class which was using an Engine class to the SNMP module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5740 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-23 11:43:40 +00:00
oana
fd44402cb4
Fixed encoding of even BCD numbers.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5739 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-22 15:46:08 +00:00
oana
ddfb6a4d29
Added type definition for Facility parameters specified in MO Setup.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5738 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-22 14:00:14 +00:00
oana
63561d9dcd
Added type definitions for MM Timer and Routing Area Identification.
...
Improved some debug messages.
Check String pointers before using them while encoding a BCD number or Bearer Capability.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5737 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-22 12:57:20 +00:00
oana
4ee62a3e21
Added type definition for PLMN list.
...
Added encoder for imbricated Radio Layer 3 message.
Fixed dictionary entries that contained spaces.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5736 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-22 10:59:03 +00:00