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
paulc
f0f255a9e9
Fixed to compile with VC++ 6.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@810 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-26 08:16:45 +00:00
paulc
b1e52e95f5
Added system usage class and uptime command.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@807 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-24 10:04:22 +00:00
paulc
5717e14f59
Changes to enable color debugging, based on the patch sent by maciejka.
...
Advanced debugging options are retained in NDEBUG build mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@798 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-19 15:52:05 +00:00
paulc
3054913590
Undone utility function - not usable.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@699 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-21 16:02:59 +00:00
paulc
77ef99f5c0
Added a convenient utility function to zero and destruct a GenObject.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@698 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-21 15:48:49 +00:00
paulc
41e0489d65
Increased some buffers to accomodate large text elements.
...
SDP can be forwarded as-is instead of the parsed version.
git-svn-id: http://yate.null.ro/svn/yate/trunk@681 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-08 16:53:08 +00:00
paulc
73e01366aa
Reference counters are strictly enforced.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@651 acf43c95-373e-0410-b603-e72c3f656dc1
2006-01-18 16:06:05 +00:00
paulc
0006294f42
Added a much needed Windows random function.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@648 acf43c95-373e-0410-b603-e72c3f656dc1
2006-01-13 05:09:50 +00:00
paulc
739bed212b
Refactored locking and list iteration to solve deadlocks and race conditions.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@639 acf43c95-373e-0410-b603-e72c3f656dc1
2006-01-12 05:32:06 +00:00
paulc
dd956a32b5
Added mechanism to avoid immediate destruction of dereferenced RefObjects so
...
we can clear the H.323 channels asynchronously.
git-svn-id: http://yate.null.ro/svn/yate/trunk@456 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-18 21:47:18 +00:00