Commit Graph

48 Commits

Author SHA1 Message Date
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 5c62b9e049 Added a base class for all digest calculation classes.
Added SHA256 calculation class.
Added HMAC calculation methods.
Added test module for cryptographic functions validation.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5651 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-13 12:43:20 +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
oana a9672028df Detect the presence of the sa_len field of struct sockaddr and set it if that is the case. Fixes the comparison of SocketAddr objects on Mac OS X and BSD-based systems.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5218 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-07 12:08:16 +00:00
paulc 444d136aa8 Added G.711 tables to SVN.
Compute slin to mulaw and alaw tables at startup.
Got rid of the sox build time dependency.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5050 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-09 12:32:43 +00:00
oana 5fe9e0dd4f Detect Mac OS X user path using Mac OS X Foundation API. Modified the build system to build and link Objective-C code.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4991 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-04 12:46:24 +00:00
paulc 43be2f2be1 Removed scripting classes from main library.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4833 acf43c95-373e-0410-b603-e72c3f656dc1
2012-02-04 18:01:49 +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
marian 12e6bd1f60 Added Resolver class to engine. Use it in jabber library.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4548 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-19 13:04:53 +00:00
paulc ca0ba28f91 Add the "workpath" to the Engine parameters so the current working directory can be found at runtime.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4223 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-28 13:32:24 +00:00
marian 2518fbfe8c Added abstract Compressor class for data (de)compression.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3423 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-09 10:20:08 +00:00
oana 51b082375f Yate has been ported on Mac OS X.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3153 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-30 11:49:43 +00:00
paulc 15904daef1 Reorder libraries so that Yate libraries and modules can be linked using --as-needed avoiding underlinking or overlinking.
Reported by Mandriva (bug report #206).


git-svn-id: http://yate.null.ro/svn/yate/trunk@3143 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-24 13:46:12 +00:00
paulc f8311873ee Added a set of classes for evaluating C or SQL style expressions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3055 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-01 20:53:47 +00:00
paulc 749f559c9c Made more Socket methods virtual to allow implementing non kernel-based sockets.
Removed SCTP specific methods, they will go in a separate class.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2984 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-14 16:37:08 +00:00
paulc d98cc424eb Use inet_ntop, inet_pton and gethostbyname_r if available on system.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2859 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-02 10:00:23 +00:00
paulc c0a309d809 Build the SCTP flags in configure, they may be needed outside the engine.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2846 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-21 11:37:38 +00:00
paulc f17d89f159 Detect prctl availability when configuring.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2730 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 12:22:52 +00:00
paulc 186ac531ca Changed the order the engine object files are listed in the Makefile to match the desired initialization order.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2706 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-12 15:24:45 +00:00
paulc 6ad1605ad6 Reserve $LIBS and @LIBS@ for the system libraries that can be passed to
the configure script.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2678 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 19:17:54 +00:00
paulc 74f8043378 Replaced hardcoded -lpthread with detected library.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2676 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 17:15:03 +00:00
paulc 2c03a9624d Use the system detected CFLAGS instead of hardcoding -O2
git-svn-id: http://yate.null.ro/svn/yate/trunk@2673 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 16:06:14 +00:00
paulc fae10b7ecd Added abstract Cipher class for encryption related tasks.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2290 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-28 11:36:28 +00:00
paulc 380b59f1f6 Merged branches/marian/client up to rev. 2134.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2135 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-04 02:06:00 +00:00
paulc 14bf8a5cd3 Add configure time LDFLAGS to linker command line.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2006 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-03 10:59:16 +00:00
marian d9703a0089 Added Base64 class: encode/decode data using BASE64 alphabet.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1870 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-02 15:04:56 +00:00
paulc a230bd49b5 New option -F to increase maximum file handle instead of running ulimit -n.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1751 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-10 15:40:54 +00:00
paulc b3946d3d3d Reverted to hardcoded relative paths because top_builddir is not portable
across autoconf versions.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1484 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-23 14:14:54 +00:00
paulc b42a894ddc Directory reorder #3
git-svn-id: http://yate.null.ro/svn/yate/trunk@1476 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-15 23:06:36 +00:00
paulc 05d646e887 Added MIME related classes in engine.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1410 acf43c95-373e-0410-b603-e72c3f656dc1
2007-07-26 23:45:33 +00:00
paulc 1f00fdddf4 Added debug, ddebug and xdebug targets.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1324 acf43c95-373e-0410-b603-e72c3f656dc1
2007-05-15 14:15:16 +00:00
paulc f839f83f78 Added SHA1 digest class.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1080 acf43c95-373e-0410-b603-e72c3f656dc1
2006-10-19 12:52:22 +00:00
paulc 0fc4ee430e Included regexp library can be used for other non-Linux systems (*BSD).
git-svn-id: http://yate.null.ro/svn/yate/trunk@996 acf43c95-373e-0410-b603-e72c3f656dc1
2006-08-15 13:59:29 +00:00
paulc 8eb77992e6 Added support for socket shutdown and SCTP association peel-off.
git-svn-id: http://yate.null.ro/svn/yate/trunk@771 acf43c95-373e-0410-b603-e72c3f656dc1
2006-05-04 12:24:44 +00:00
paulc b849422edd Moved URI in base classes, added support for Call-Info in SIP and client.
git-svn-id: http://yate.null.ro/svn/yate/trunk@748 acf43c95-373e-0410-b603-e72c3f656dc1
2006-04-12 12:37:25 +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 18705c3e87 Added capability to include optional YateLocal.mak file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@611 acf43c95-373e-0410-b603-e72c3f656dc1
2005-12-19 17:57:16 +00:00
paulc abd96bee47 Separated database functions from register into separate driver.
git-svn-id: http://yate.null.ro/svn/yate/trunk@579 acf43c95-373e-0410-b603-e72c3f656dc1
2005-11-16 05:53:33 +00:00
paulc 9b0a4adf0c Fixed IAX, H.323, ISDN and CDR to include caller/called and time in msec.
Fixed a bug in H.323 connection cleanup.
Some patches for FreeBSD compatibility.


git-svn-id: http://yate.null.ro/svn/yate/trunk@553 acf43c95-373e-0410-b603-e72c3f656dc1
2005-10-30 04:03:25 +00:00
paulc 1d7c54d6d7 Made FD_SETSIZE configurable on glibc >= 2.2 - thanks, Squid authors!
git-svn-id: http://yate.null.ro/svn/yate/trunk@458 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-20 04:42:29 +00:00
paulc f64ca1875c Removed old Gtk-1 and Qt clients, added hashed lists.
git-svn-id: http://yate.null.ro/svn/yate/trunk@447 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-15 20:48:06 +00:00
paulc d1c8926c82 Added skinnable Gtk2 client.
git-svn-id: http://yate.null.ro/svn/yate/trunk@429 acf43c95-373e-0410-b603-e72c3f656dc1
2005-07-04 22:04:47 +00:00
paulc 9459c52dcd *** empty log message ***
git-svn-id: http://yate.null.ro/svn/yate/trunk@284 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-10 21:52:31 +00:00
paulc d35d4d6b4a Separated non-engine related classes in their own include file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@279 acf43c95-373e-0410-b603-e72c3f656dc1
2005-04-08 10:55:22 +00:00
paulc 31265e0300 Renamed MD5.cpp to YMD5.cpp to avoid a conflict on Windows.
git-svn-id: http://yate.null.ro/svn/yate/trunk@269 acf43c95-373e-0410-b603-e72c3f656dc1
2005-03-29 14:27:09 +00:00
paulc 61d3b640b0 Added Channel and Driver classes, beautified source a little.
git-svn-id: http://yate.null.ro/svn/yate/trunk@263 acf43c95-373e-0410-b603-e72c3f656dc1
2005-03-20 03:11:53 +00:00
paulc 72b64d8618 Fixed bug in library path.
git-svn-id: http://yate.null.ro/svn/yate/trunk@261 acf43c95-373e-0410-b603-e72c3f656dc1
2005-03-18 18:23:48 +00:00
paulc 8123c918b2 Moved the engine away, added install-noapi
git-svn-id: http://yate.null.ro/svn/yate/trunk@260 acf43c95-373e-0410-b603-e72c3f656dc1
2005-03-18 18:16:59 +00:00