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
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
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
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
d57fd133bc
Increased the size of the debug message hader buffer to accomodate up to 111 characters.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6133 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-14 09:08:48 +00:00
paulc
b02afc13c0
Fixed build on systems where timezone is not an integer type variable.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5944 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 09:53:31 +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
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
11a07cc613
Added object counter for main engine thread.
...
Fixed counter allocation reentrancy problem.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5780 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-19 11:40:50 +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
cf5d0fd71a
Changed license terms in each source file to reference an external file.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
paulc
696317d733
Added a generic Alarm() function that can be hooked by a module.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5559 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-05 12:40:59 +00:00
paulc
f9ca67c53a
Prevent controlReturn() from overwriting a previous return parameter.
...
Simplified rmanager control return value interpretation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5504 acf43c95-373e-0410-b603-e72c3f656dc1
2013-05-10 14:50:36 +00:00
marian
d7619ed087
Fixed time zone retrieval on Windows.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5472 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-18 12:11:38 +00:00
paulc
382229baaf
Added method for retrieving the current timezone offset from UTC.
...
Added possibility to return day of week from Time::toDateTime()
git-svn-id: http://yate.null.ro/svn/yate/trunk@5468 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-17 15:38:44 +00:00
paulc
b992373d2d
Added support for inserting separators in log timestamps.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5467 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-17 15:26:03 +00:00
paulc
3b49b78ecb
Added a shared static list of Atom strings and an YATOM macro.
...
This speeds up signifficantly the Yate RTTI on compilers that HAVE_BLOCK_RETURN.
Made the String comparison operator inline to shave off a few cycles.
Fast handle the comparison in identity case.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5449 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:19:14 +00:00
andrei
2a08c45703
Differentiate "No component could process the command" and "The component failed to process the command" in rmanager control output.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5396 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-08 15:23:06 +00:00
paulc
bb064d9629
Turn off debugging while capturing an event from debug output.
...
Prevents a deadlock if String is compiled with XDEBUG.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5108 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-12 23:50:59 +00:00
paulc
2ed4eee7d9
Preserve and use the debug level in the Debugger class.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5060 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-15 11:29:05 +00:00
paulc
0f30cc8f99
Added a DebugTest level always visible and displayed white on blue background.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4949 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-01 12:14:10 +00:00
paulc
96e4fd66d9
Added proper implementation of RefObject::getObject().
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4928 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-20 14:17:59 +00:00
paulc
25b49afb9c
Added support for holding in memory and retrieving events from startup or arbitrary sources.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4887 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-10 13:59:36 +00:00
paulc
775e67ecec
Support timestamping logs in local timezone format.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4684 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-09 12:41:00 +00:00
paulc
2351f08e2a
Moved the debug timestamping to a separate method.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4683 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-09 10:55:27 +00:00
paulc
30e8ae5eda
Detect and use atomic integer operations for RefObject reference counter.
...
Note that GCC supports them on specific architectures, on some platforms -march=... must be set in CFLAGS.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4682 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-07 17:10:32 +00:00
paulc
a63d128d43
Removed some unused RefObject methods.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4679 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-04 18:24:51 +00:00
marian
bd97f588ab
Initialize class member in constructor body to avoid VC++ warning.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4561 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 10:03:41 +00:00
paulc
1ae0546b45
Added class for pseudo random number generation.
...
Replace library ::random() and ::rand() calls with shared Random method.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4470 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-29 11:19:02 +00:00
paulc
43e3483179
Moved some annoying messages to DDebug.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4345 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-27 19:42:37 +00:00
marian
be61cac29b
Added MutexPool class implementing a fixed size array of mutexes. Replaced the global mutex protecting the RefObject counter changes with a mutex pool.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3760 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-01 14:54:53 +00:00
paulc
9ea9ed1782
Added a separate constant for the minimum settable debug level threshold.
...
This fixes a display bug caused by Rev 3680, FAIL and GOON were displayed like CONF.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3710 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-12 09:27:13 +00:00
paulc
09144d722d
Added a new debug level DebugConf with text CONF for reporting configuration problems.
...
Limit the minimum debug level so CONF and GOON are always visible besides FAIL.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3680 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-29 15:28:27 +00:00
paulc
85da36395b
Added names to the Mutex class to ease debugging of deadlocks.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2611 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 12:25:31 +00:00
marian
60828a7cb5
Fixed epoch time conversion (start with the right year).
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2423 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-12 09:38:53 +00:00
marian
31350b4fbe
Added File manipulation methods. Added Time conversion methods. Thread last error string can now be obtained from the system.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2416 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-09 14:30:05 +00:00
marian
74ce0a148a
Put a NUL after vsnprintf() buffer (needed only for Windows).
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2203 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-16 15:25:26 +00:00
paulc
d977c126e6
Suppress debugging output when reentering from output handler...
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@1431 acf43c95-373e-0410-b603-e72c3f656dc1
2007-08-23 09:58:46 +00:00
paulc
958c1bc7b0
Added non-locking, protected version of ref().
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@1355 acf43c95-373e-0410-b603-e72c3f656dc1
2007-06-07 17:53:01 +00:00
paulc
5de025800d
Added virtual method to control zero reference notification before the
...
RefObject mutex is unlocked. Also expose said mutex through static method.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1348 acf43c95-373e-0410-b603-e72c3f656dc1
2007-06-04 22:18:59 +00:00
paulc
defec8462a
Moved the destroyed() method to RefObject (since its call in GenObject is
...
not guaranteed). Added inline helper destruct functions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1322 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 12:51:13 +00:00
paulc
2400f21d6f
Added pre-destruction notification method.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@1321 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 11:16:41 +00:00
paulc
5b9b035209
Fixed Windows build, added preliminary project for Speex codec.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@1154 acf43c95-373e-0410-b603-e72c3f656dc1
2007-01-02 15:58:37 +00:00
paulc
ead7974941
Added formatted timestamping option, changed the API to allow more changes.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@1146 acf43c95-373e-0410-b603-e72c3f656dc1
2006-12-22 00:57:35 +00:00
paulc
0619862e38
Added option to display EPOCH based debugging timestamps.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@1127 acf43c95-373e-0410-b603-e72c3f656dc1
2006-12-16 01:07:26 +00:00
paulc
3ab82e9ea2
Fixed crash in windows' uptime command.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@919 acf43c95-373e-0410-b603-e72c3f656dc1
2006-07-01 00:23:11 +00:00
paulc
cda2d9f1c2
Updated copyright and FSF address.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@815 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 15:08:43 +00:00
paulc
4a292bd06b
Moved all classes in all modules in anonymous namespaces.
...
Added RTLD_GLOBAL dlopen()ing so symbols exported by libraries loaded by
modules will be available.
git-svn-id: http://yate.null.ro/svn/yate/trunk@813 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 14:53:18 +00:00