Commit Graph

26469 Commits

Author SHA1 Message Date
James Le Cuirot 4bdef6e605 Fix detection of libedit on BSD
Since libedit originates from NetBSD, this and other BSDs use the
official version while Linux distributions tend to use the
autotoolized fork. The official version does not install a .pc file so
we cannot rely exclusively on pkg-config for detection.

FS-6408

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-31 21:59:42 +00:00
James Le Cuirot ec044e62e2 Add -I flags to CPPFLAGS
Don't use CFLAGS or CXXFLAGS for this because AC_CHECK_HEADER only
uses CPPFLAGS.

FS-6408

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-31 21:59:41 +00:00
Anthony Minessale aa147fa5fd FS-6412 --resolve 2014-03-31 16:22:33 -05:00
Travis Cross b9369f6d4e Remove stray executable bits 2014-03-31 20:38:09 +00:00
Anthony Minessale c02a5e67b8 FS-6413 --resolve with this patch you will need to make sure the boxes have the clocks synced and both started inside the same occurence of the most recent new year. 2014-03-31 15:23:50 -05:00
Anthony Minessale 107c5eccc3 video refresh floor holder on conference join 2014-03-31 22:39:46 +05:00
Michael Jerris 1e51e86845 working cross configure for arm gnueabi 2014-03-31 10:34:46 -04:00
Michael Jerris 0876df6a11 a bit more open in type of arm 2014-03-31 09:56:45 -04:00
Michael Jerris ab2cab2660 also push PKG_CONFIG_SYSROOT_DIR and set some test results that can not be figured out during cross compile explicitly for arm-linux-gnueabi*|arm-*-linux-gnueabi* 2014-03-31 09:48:02 -04:00
Michael Jerris 2d2cb445c0 push sysroot down to other libs and things that don't use libtool as well, so you don't need to specify it in a bunch of different ways when using it. 2014-03-31 08:27:11 -04:00
Tamas Cseke 9b56dff275 Say zero in time measurement only if it is neccessary 2014-03-31 09:33:17 +02:00
William King e0d9d7f0b2 FS-6410 Adding some log lines to mod_sonar so that it is more clear what is happening when the app is sending and detecting pings. 2014-03-29 19:08:24 -07:00
Michael Jerris 7dba19ceeb make cross compile a bit easier, as this setitng needs to be set manually, and we never use this feature 2014-03-28 17:00:53 -04:00
Michael Jerris f50f04be51 FS-6356: --resolve fix assert when you set the time > 15 days in the future during operation while things are in queue to be processeed 2014-03-28 14:33:47 -04:00
Travis Cross 0fe2039219 Require libedit-dev be available unless disabled
Previously we enabled libedit support opportunistically if it was
neither enabled nor disabled explicitly.  But this can result in
people being confused by libedit features not being available when
they really just need to install dependencies.  With this change,
we'll break on configure if libedit-dev isn't there.  If the user
really wants to build without libedit they just need to explicitly
disable it.

Cc: Ken Rice <krice@freeswitch.org>
2014-03-28 15:48:20 +00:00
Brian West 89094cfca0 start updating doxygen 2014-03-28 10:04:31 -05:00
Brian West 1e7d8e9733 Give warning in the vars.xml docs about SRTP + VBR codecs 2014-03-28 09:37:56 -05:00
Travis Cross 180d081be4 Use buffered printers in fs_cli
Now that all output should end in a newline, we don't need to play
tricks with getting certain escape codes out ahead of buffered output.

This updates what we tried to do in commit
991b83d23c.

This partially reverts commit
8056125077.
2014-03-28 00:01:33 +00:00
Travis Cross 11f4628cae Reenable the new EL_REFRESH mechanism 2014-03-27 23:09:06 +00:00
Travis Cross 59f80c9e4f Handle bodies not ending in newlines w/EL_REFRESH
The issue is that sofia siptrace output doesn't end each line with a
newline.  Instead it sends a separate newline afterward, which comes
in as a separate event body.  With the new EL_REFRESH code in effect
the line is being cleared after the siptrace output has been written
but before that next newline comes in.

With our own refresh code this doesn't happen because of slight
differences in where the stdio buffers get flushed compared to where
the output of clear_line() ends up.

This is a bit of a clumsy workaround.  But we'll fix it first, then
refactor.
2014-03-27 23:06:07 +00:00
Travis Cross 3bc51dfff9 Turn on the fancy fs_cli with a modern libedit
We turn ON the features with a newer libedit.

This fixes commit 4f54f912c3.
2014-03-27 17:35:35 +00:00
Travis Cross 4f54f912c3 Add back terminal detection for old libedits
Using the system libedit means that libedit will again make absolute
movements on certain kinds of terminals.  Older versions of libedit
without EL_PROMPT_ESC miscalculate the length of the prompt.
Combined, this results in the cursor ending up in the wrong place.

We knew this was a possibility when we moved to system libedit, and
we're OK with it.  We certainly lived without this fancy prompt
feature for a long time.

This change puts back in place detection of the terminal type when
EL_PROMPT_ESC isn't available.  On these older versions of libedit,
we'll only enable the fancy features when we know that libedit will
only make relative movements and not tickle the bug.

This partially reverts commit:
b9b77bd615
2014-03-27 17:19:55 +00:00
Travis Cross dc093d179e Drop use of libedit EL_REFRESH in fs_cli for now
Newer versions of libedit provide an EL_REFRESH mechanism for
redrawing the prompt.  We had previously written our own code to
handle this.  In theory handing this over to libedit should be better.

Unfortunately when using EL_REFRESH the output of sofia siptrace isn't
showing up.  We're working on that, but for now we're just force own
our redrawing code to be used instead.
2014-03-27 12:20:43 +00:00
Jeff Lenk 7ed144d115 * Deprecate mod_spidermonkey windows part 1 2014-03-26 18:33:37 -05:00
Michael Jerris 1681b04129 FS-6406: --resolve add a way to specify build compiler for cross compile 2014-03-26 17:15:24 -04:00
Michael Jerris d40615267e FS-353: better error reporting for missing lib, don't error on clean 2014-03-26 17:11:18 -04:00
Travis Cross f9d065cda3 Use system libyaml for mod_yaml
FS-353
2014-03-26 19:27:22 +00:00
Travis Cross 5e3ba399c7 Use CPPFLAGS in mod_yaml 2014-03-26 19:27:21 +00:00
Michael Jerris 885fdbf28c hack harder 2014-03-26 14:49:59 -04:00
Travis Cross b54ba38255 Follow mod_spidermonkey deprecation in debian/
It wasn't supported, and we weren't building it by default as it was.
2014-03-26 18:17:16 +00:00
Travis Cross b0bcc011ea Deprecate mod_spidermonkey
We consider mod_spidermonkey to be completely replaced by mod_v8 (and
more generally by mod_lua) at this point.  We've barely supported
mod_spidermonkey for years.  Everyone should stop using it.

We're keeping this around for awhile in case people are relying on C
extensions to mod_spidermonkey and need time to migrate.  This module
may or may not be part of a v1.4 release depending on whether we find
anyone cares.  It definitely will not be part of the next release
after v1.4.
2014-03-26 18:01:49 +00:00
Michael Jerris 310f2ec3d6 initialize var 2014-03-26 11:25:23 -04:00
Raymond Chandler 5cccc6270b seg-- 2014-03-25 23:31:16 -04:00
Raymond Chandler 0ddd151a22 FS-5845 more leaks found by mikej 2014-03-25 22:44:37 -04:00
Ico fa17059787 Fix memory leak when outbound socket is closed by server
ESL-88 --resolve

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-26 01:36:48 +00:00
Brian West 04de0f77d3 FS-6396 fix mod_silk builid on FreeBSD 2014-03-25 20:25:11 -05:00
Jeff Lenk 4dd0a5848f FS-6293 windows duh 2014-03-24 18:45:05 -05:00
Jeff Lenk 07438df263 FS-6293 fix windows build from version.h being added to xmlrpc 2014-03-24 18:09:07 -05:00
Chris Rienzo 98bba8b57a mod_mongo: switched from C++ to latest C driver 2014-03-24 17:34:56 -04:00
Brian West c7bd862e9a FS:353: correct #if check for libedit function capability 2014-03-24 16:18:03 -05:00
Chris Rienzo 0b9e5c82a5 FS-6402 mod_rayo/mod_ssml: add mutex to hashes now that iteration is no longer thread-safe 2014-03-24 17:03:33 -04:00
Michael Jerris 5ac9748827 FS-5845: don't leak dbh in error conditions 2014-03-24 16:10:12 -04:00
Travis Cross bcfb72cb2b Lower required version of sqlite for CentOS 6
Apparently CentOS 6 has only v3.6.20 of sqlite, so we'll accommodate
that barring evidence we shouldn't.  Please test and report back.
2014-03-24 13:55:44 +00:00
Travis Cross 3964aa1fdf Lower required version of sqlite
We've really only tested 3.8.3.1, so you might want to consider using
that.  We'll lower this down to 3.7.13 for Debian wheezy.  Please
test.
2014-03-24 13:55:43 +00:00
Michael Jerris 169a264c33 FS-353: sqlite pkg-config path for mac homebrew 2014-03-24 09:09:52 -04:00
Anthony Minessale 487128950d Use the system version of APR / APR-util if possible
Autodetect whether the system libapr / libaprutil has our
necessary modifications and use it if it does.
2014-03-24 12:54:50 +00:00
Travis Cross cde20f6fe6 Require sqlite as a system dependency
This purges sqlite from our tree and requires it to be present on the
system for building and running FreeSWITCH.

FS-353
2014-03-24 12:54:49 +00:00
James Le Cuirot 8574988c3a Completely unbundle libedit
FS-353

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-24 12:39:59 +00:00
Jeff Lenk 1cde5f01e0 FS-6386 --resolve 2014-03-23 16:15:49 -05:00
Jeff Lenk f4abf3dab4 FS-6397 --resolve 2014-03-23 14:28:42 -06:00