marian
d476e43a2a
Added String::insert().
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6512 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-16 06:40:44 +00:00
marian
c76bfa67c5
Added NamedList method used to retrieve an unsigned 64bit parameter value.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6487 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-14 07:12:02 +00:00
paulc
885573a423
Fixed a buffer overflow in the regexroute $(timestamp) function.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6486 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-04 09:31:13 +00:00
oana
1651bb84c7
Fix compilation errors for hashing functions on Windows.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6450 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-30 15:51:34 +00:00
oana
8fec00a500
Fix compilation error introduced by previous commit that was only detected by older compilers: replace erroneous #elif directive with #else.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6449 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-30 14:55:13 +00:00
oana
b971c2465a
Add hashing functions for uint32, uint64 and pointer types.
...
Use pointer hashing function in accessing list that tracks JS objects.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6448 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-30 13:56:33 +00:00
oana
4fe3b7e62d
Add methods to HashList that allow adding and removing of an object with arbitrary associated hashes.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6441 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-21 10:44:33 +00:00
oana
841314da5f
Add YATE library support for setting and getting the affinity of a thread.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6429 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-23 15:26:34 +00:00
oana
cf70b9bd0b
Fix compilation errors on Windows due to lack of definition for strtoull function.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6428 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-23 14:45:59 +00:00
marian
17f46a9ce1
Added support to set a Regexp in message handler filter.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6425 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-22 11:25:41 +00:00
oana
fa7d1244ca
Add String::toUInt64() method which parses an uint64_t from a string.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6418 acf43c95-373e-0410-b603-e72c3f656dc1
2020-08-05 13:02:53 +00:00
oana
f0a327d2bb
Add a trace ID to objects.
...
Add debugging methods variants that print the trace ID.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6402 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-22 12:00:37 +00:00
paulc
94a3b70b42
Added support for retrieving the timezone at any time, not just now.
...
Fixed the Javascript Date getTimezoneOffset() result.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6396 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-01 07:38:14 +00:00
marian
eca47dccd3
Added String split method using a regular expression to match the delimiter.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6382 acf43c95-373e-0410-b603-e72c3f656dc1
2020-02-21 14:13:44 +00:00
marian
ee79c52c14
Added Time methods used to encode to and parse from string containing internet/javascript date and time.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6364 acf43c95-373e-0410-b603-e72c3f656dc1
2019-11-08 11:07:12 +00:00
marian
5c75161cff
Constifyed String::encodeFlags() methods.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6349 acf43c95-373e-0410-b603-e72c3f656dc1
2019-03-28 13:55:51 +00:00
sabina
25f55abcc5
Implementation of encodeFlags() and decodeFlags functions.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6341 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-17 15:24:55 +00:00
marian
9479c5b028
Added TokenDict64 structure and lookup functions.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6340 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-14 14:57:27 +00:00
marian
f3a58864c0
Added Time methods for 32bit NTP time conversion.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6338 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-14 09:19:22 +00:00
oana
68264bce99
Add UTF-16 encoding support to UChar class.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6313 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-25 12:16:54 +00:00
paulc
1dc8d69a8e
Added a helper class SocketRef and use it instead of all ad-hoc similar classes.
...
Fixed a memory leak in Jabber SSL listeners.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6299 acf43c95-373e-0410-b603-e72c3f656dc1
2018-02-20 11:58:02 +00:00
paulc
c4c9e994f0
Renamed DebugGoOn to DebugCrit so it better matches its purpose.
...
Swapped order of DebugCall and DebugNote so DebugCall is less visible.
Changed default debug level to DebugNote.
Modified a few inadequate uses of DebugCrit.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6250 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-01 13:08:23 +00:00
paulc
cdba9c103b
Added method for URI escaping an entire list of characters.
...
Escape status detail characters that may disturb status parsing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6184 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-16 11:24:25 +00:00
paulc
c67312d159
Added extra checks for race conditions where CallEndpoint::setEndpoint() may fail.
...
Added convenience static RefObject::alive() method to check a RefObject pointer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6177 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-27 11:25:29 +00:00
paulc
4c8a54c0b8
Check if YSTRING and YATOM are used incorrectly on a non-literal srting.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6161 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-07 12:26:19 +00:00
marian
6529e4d34f
Added missing getObject() to SocketAddr.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6123 acf43c95-373e-0410-b603-e72c3f656dc1
2016-06-28 09:01:13 +00:00
marian
5e18aa85f8
Added Regexp flag used to avoid regexp re-compile if not changed. Removed valid() method.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6099 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-04 10:24:01 +00:00
marian
26cb46d632
Added method used to check if a Regexp is valid.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6094 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-19 12:36:51 +00:00
paulc
6f3f09ddbe
Added support for specifying the mode to mkdir.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6061 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-11 17:58:05 +00:00
paulc
6f44645eab
Added method to retrieve the TOS/DSCP of a Socket.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5977 acf43c95-373e-0410-b603-e72c3f656dc1
2015-06-03 14:18:07 +00:00
paulc
09f40eb24c
Added overallocation support for DataBlock.
...
This provides improved performance for repeated binary data appending.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5973 acf43c95-373e-0410-b603-e72c3f656dc1
2015-05-18 13:12:02 +00:00
paulc
4c0a8e31c9
Made String::printf(const char* format, ...) grow with the format string length.
...
The helper function string_printf is now static.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5963 acf43c95-373e-0410-b603-e72c3f656dc1
2015-03-23 15:37:43 +00:00
marian
b19d0a8e8e
Added String constructor from double. Added assignment and append operators from double.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5962 acf43c95-373e-0410-b603-e72c3f656dc1
2015-03-19 13:11:45 +00:00
andrei
8ef9679c3d
Added a better description and more suggestive parameters for String::appendFixed method.
...
Clear the String in 'printf' method if 'malloc' fails.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5960 acf43c95-373e-0410-b603-e72c3f656dc1
2015-03-13 16:03:42 +00:00
andrei
ca3a15437c
Added printf style format method for String.
...
Added utility method to append and align a string on a specified size.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5959 acf43c95-373e-0410-b603-e72c3f656dc1
2015-03-13 13:25:35 +00:00
marian
6d1a1111a6
Debug output can now be hooked using a custom function. Added Debugger method used to relay preformatted strings. Added Engine method used to build a command line from current settings. Added Engine methods used to init and cleanup libyate based applications.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5942 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 09:32:36 +00:00
marian
56d84e6a37
Added accessor for Lockable safety flag.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5941 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-19 13:53:38 +00:00
marian
988d1af0e4
Semaphore initial count can now be set in constructor.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5939 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-18 11:36:25 +00:00
paulc
0953ee36d5
Added NIST FIPS 186-2 change notice 1 Pseudo Random Function with 160 bits SHA-1.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5936 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-05 17:58:39 +00:00
paulc
7f38064c6d
Added getInt64Value to NamedList and Configuration classes.
...
Added getIntValue and getBoolValue to Javascript ConfigFile and ConfigSection.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5930 acf43c95-373e-0410-b603-e72c3f656dc1
2014-12-22 11:56:16 +00:00
paulc
7f834fd8b8
Added engine and Javascript methods for packing and unpacking IP addresses.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5929 acf43c95-373e-0410-b603-e72c3f656dc1
2014-12-18 15:11:42 +00:00
oana
a9fa6b1bd0
Add function to the String API for locating the last instance of a substring in a string.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5916 acf43c95-373e-0410-b603-e72c3f656dc1
2014-10-16 12:34:11 +00:00
paulc
7efd3b0747
Store TTL in retrieved DNS records.
...
Add ttl, order and preference to JS returned NAPTR and SRV records.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5889 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-31 13:32:54 +00:00
paulc
08fe54e27a
Added YIGNORE macro to silence compiler warnings about unused values.
...
Cleaned up a number of compiler warnings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5888 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-31 12:13:52 +00:00
paulc
ad8e1fa56c
Added Resolver support for A, AAAA and TXT records.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5874 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-22 11:03:38 +00:00
paulc
ce97d09aa4
Made static String::hash() capable of incremental hashing.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5859 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-02 07:30:37 +00:00
oana
55017210ff
Bug fix: keep the ObjList autodelete flag when doing ObjList::sort().
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5834 acf43c95-373e-0410-b603-e72c3f656dc1
2014-05-19 14:34:42 +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
paulc
76fdb5ce75
Added support for counting allocated objects for memory leaks troubleshooting.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5752 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-04 16:36:23 +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