paulc
d56cecb40e
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://voip.null.ro/svn/yate@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
paulc
424feb6aad
Added support for counting allocated objects for memory leaks troubleshooting.
...
git-svn-id: http://voip.null.ro/svn/yate@5752 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-04 16:36:23 +00:00
paulc
18e10bfd69
Changed license terms in each source file to reference an external file.
...
git-svn-id: http://voip.null.ro/svn/yate@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
paulc
9d214b663f
Added a generic Alarm() function that can be hooked by a module.
...
git-svn-id: http://voip.null.ro/svn/yate@5559 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-05 12:40:59 +00:00
paulc
a4ac0559c7
Prevent controlReturn() from overwriting a previous return parameter.
...
Simplified rmanager control return value interpretation.
git-svn-id: http://voip.null.ro/svn/yate@5504 acf43c95-373e-0410-b603-e72c3f656dc1
2013-05-10 14:50:36 +00:00
marian
30c251e08d
Fixed time zone retrieval on Windows.
...
git-svn-id: http://voip.null.ro/svn/yate@5472 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-18 12:11:38 +00:00
paulc
2bef0f9d8c
Added method for retrieving the current timezone offset from UTC.
...
Added possibility to return day of week from Time::toDateTime()
git-svn-id: http://voip.null.ro/svn/yate@5468 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-17 15:38:44 +00:00
paulc
d6fec3d6d8
Added support for inserting separators in log timestamps.
...
git-svn-id: http://voip.null.ro/svn/yate@5467 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-17 15:26:03 +00:00
paulc
7c8b2d4c38
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://voip.null.ro/svn/yate@5449 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:19:14 +00:00
andrei
f8944670c6
Differentiate "No component could process the command" and "The component failed to process the command" in rmanager control output.
...
git-svn-id: http://voip.null.ro/svn/yate@5396 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-08 15:23:06 +00:00
paulc
380eeec28b
Turn off debugging while capturing an event from debug output.
...
Prevents a deadlock if String is compiled with XDEBUG.
git-svn-id: http://voip.null.ro/svn/yate@5108 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-12 23:50:59 +00:00
paulc
0de2be06bb
Preserve and use the debug level in the Debugger class.
...
git-svn-id: http://voip.null.ro/svn/yate@5060 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-15 11:29:05 +00:00
paulc
3d1f0fcf05
Added a DebugTest level always visible and displayed white on blue background.
...
git-svn-id: http://voip.null.ro/svn/yate@4949 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-01 12:14:10 +00:00
paulc
0ca4590818
Added proper implementation of RefObject::getObject().
...
git-svn-id: http://voip.null.ro/svn/yate@4928 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-20 14:17:59 +00:00
paulc
a7198f5e6b
Added support for holding in memory and retrieving events from startup or arbitrary sources.
...
git-svn-id: http://voip.null.ro/svn/yate@4887 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-10 13:59:36 +00:00
paulc
4c26bc0772
Support timestamping logs in local timezone format.
...
git-svn-id: http://voip.null.ro/svn/yate@4684 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-09 12:41:00 +00:00
paulc
b88d2cbd9e
Moved the debug timestamping to a separate method.
...
git-svn-id: http://voip.null.ro/svn/yate@4683 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-09 10:55:27 +00:00
paulc
55e3261c5f
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://voip.null.ro/svn/yate@4682 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-07 17:10:32 +00:00
paulc
7ad49ca553
Removed some unused RefObject methods.
...
git-svn-id: http://voip.null.ro/svn/yate@4679 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-04 18:24:51 +00:00
marian
82a1e0dd88
Initialize class member in constructor body to avoid VC++ warning.
...
git-svn-id: http://voip.null.ro/svn/yate@4561 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-23 10:03:41 +00:00
paulc
07132042d0
Added class for pseudo random number generation.
...
Replace library ::random() and ::rand() calls with shared Random method.
git-svn-id: http://voip.null.ro/svn/yate@4470 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-29 11:19:02 +00:00
paulc
681a16bd9a
Moved some annoying messages to DDebug.
...
git-svn-id: http://voip.null.ro/svn/yate@4345 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-27 19:42:37 +00:00
marian
e93dca85c5
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://voip.null.ro/svn/yate@3760 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-01 14:54:53 +00:00
paulc
57c23cb9c2
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://voip.null.ro/svn/yate@3710 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-12 09:27:13 +00:00
paulc
c80d0eca1d
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://voip.null.ro/svn/yate@3680 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-29 15:28:27 +00:00
paulc
5227505c00
Added names to the Mutex class to ease debugging of deadlocks.
...
git-svn-id: http://voip.null.ro/svn/yate@2611 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 12:25:31 +00:00
marian
3927454b61
Fixed epoch time conversion (start with the right year).
...
git-svn-id: http://voip.null.ro/svn/yate@2423 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-12 09:38:53 +00:00
marian
c3f08b847f
Added File manipulation methods. Added Time conversion methods. Thread last error string can now be obtained from the system.
...
git-svn-id: http://voip.null.ro/svn/yate@2416 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-09 14:30:05 +00:00
marian
2252c25017
Put a NUL after vsnprintf() buffer (needed only for Windows).
...
git-svn-id: http://voip.null.ro/svn/yate@2203 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-16 15:25:26 +00:00
paulc
328fc87323
Suppress debugging output when reentering from output handler...
...
git-svn-id: http://voip.null.ro/svn/yate@1431 acf43c95-373e-0410-b603-e72c3f656dc1
2007-08-23 09:58:46 +00:00
paulc
601e5dd4dd
Added non-locking, protected version of ref().
...
git-svn-id: http://voip.null.ro/svn/yate@1355 acf43c95-373e-0410-b603-e72c3f656dc1
2007-06-07 17:53:01 +00:00
paulc
4b20366101
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://voip.null.ro/svn/yate@1348 acf43c95-373e-0410-b603-e72c3f656dc1
2007-06-04 22:18:59 +00:00
paulc
b4f8056f72
Moved the destroyed() method to RefObject (since its call in GenObject is
...
not guaranteed). Added inline helper destruct functions.
git-svn-id: http://voip.null.ro/svn/yate@1322 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 12:51:13 +00:00
paulc
02a45da0a8
Added pre-destruction notification method.
...
git-svn-id: http://voip.null.ro/svn/yate@1321 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 11:16:41 +00:00
paulc
3f56343808
Fixed Windows build, added preliminary project for Speex codec.
...
git-svn-id: http://voip.null.ro/svn/yate@1154 acf43c95-373e-0410-b603-e72c3f656dc1
2007-01-02 15:58:37 +00:00
paulc
e590ddde8b
Added formatted timestamping option, changed the API to allow more changes.
...
git-svn-id: http://voip.null.ro/svn/yate@1146 acf43c95-373e-0410-b603-e72c3f656dc1
2006-12-22 00:57:35 +00:00
paulc
14f3a7848a
Added option to display EPOCH based debugging timestamps.
...
git-svn-id: http://voip.null.ro/svn/yate@1127 acf43c95-373e-0410-b603-e72c3f656dc1
2006-12-16 01:07:26 +00:00
paulc
93a7756496
Fixed crash in windows' uptime command.
...
git-svn-id: http://voip.null.ro/svn/yate@919 acf43c95-373e-0410-b603-e72c3f656dc1
2006-07-01 00:23:11 +00:00
paulc
3a1938c2c7
Updated copyright and FSF address.
...
git-svn-id: http://voip.null.ro/svn/yate@815 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 15:08:43 +00:00
paulc
7f57bba0fc
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://voip.null.ro/svn/yate@813 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-27 14:53:18 +00:00
paulc
2fc3f41989
Fixed to compile with VC++ 6.
...
git-svn-id: http://voip.null.ro/svn/yate@810 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-26 08:16:45 +00:00
paulc
0f2d3fb03f
Added system usage class and uptime command.
...
git-svn-id: http://voip.null.ro/svn/yate@807 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-24 10:04:22 +00:00
paulc
ff1a8a6d4f
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://voip.null.ro/svn/yate@798 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-19 15:52:05 +00:00
paulc
8be0976a2d
Undone utility function - not usable.
...
git-svn-id: http://voip.null.ro/svn/yate@699 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-21 16:02:59 +00:00
paulc
715e911d69
Added a convenient utility function to zero and destruct a GenObject.
...
git-svn-id: http://voip.null.ro/svn/yate@698 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-21 15:48:49 +00:00
paulc
cf336ee56d
Increased some buffers to accomodate large text elements.
...
SDP can be forwarded as-is instead of the parsed version.
git-svn-id: http://voip.null.ro/svn/yate@681 acf43c95-373e-0410-b603-e72c3f656dc1
2006-02-08 16:53:08 +00:00
paulc
6771d7472e
Reference counters are strictly enforced.
...
git-svn-id: http://voip.null.ro/svn/yate@651 acf43c95-373e-0410-b603-e72c3f656dc1
2006-01-18 16:06:05 +00:00
paulc
400acbf857
Added a much needed Windows random function.
...
git-svn-id: http://voip.null.ro/svn/yate@648 acf43c95-373e-0410-b603-e72c3f656dc1
2006-01-13 05:09:50 +00:00
paulc
3490d2d891
Refactored locking and list iteration to solve deadlocks and race conditions.
...
git-svn-id: http://voip.null.ro/svn/yate@639 acf43c95-373e-0410-b603-e72c3f656dc1
2006-01-12 05:32:06 +00:00
paulc
f08c697651
Added mechanism to avoid immediate destruction of dereferenced RefObjects so
...
we can clear the H.323 channels asynchronously.
git-svn-id: http://voip.null.ro/svn/yate@456 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-18 21:47:18 +00:00