147 Commits

Author SHA1 Message Date
Ken Rice
c1ed0618fd Merge branch 'master' into v1.4 2015-03-12 13:53:07 -05:00
Ken Rice
4df2105a46 bump version 2015-03-12 13:52:19 -05:00
Ken Rice
5a650e4c2f Merge branch 'master' into v1.4
Conflicts:
	build/next-release.txt
2015-03-12 13:51:12 -05:00
Ken Rice
40e1d8f914 version bump 2015-03-12 13:49:45 -05:00
Ken Rice
0828caf695 Merge branch 'master' into v1.4 2015-03-12 13:49:00 -05:00
Michael Jerris
f83e429d36 FS-7350: add --enable-address-sanitizer configure flag to enable clang address sanitizer 2015-03-05 14:54:19 -06:00
Michael Jerris
302a339fdf FS-7294: Enable -Werror when building with clang compiler #resolve 2015-02-17 12:20:33 -05:00
Michael Jerris
8fc19a6037 FS-7180: properly build esl luamod when not using the --enable-system-lua configure arg 2015-01-20 14:37:43 -05:00
Brian West
861961bd4d FS-7180: when using system lua, properly link against reanmed library versions on debian for mod_lua 2015-01-20 13:18:12 -06:00
Michael Jerris
07d09b7869 FS-7180: add --enable-sytem-lua configure arg to allow building mod_lua against system lua and allow mod_lua to build against lua 5.1 or 5.2 2015-01-20 11:48:00 -05:00
Humberto Diógenes
ece5cd52db FS-7088 #resolve Set flag to enable core dump from non-root users.
When FreeSWITCH is running as a non-privileged user, we need to enable
PR_SET_DUMPABLE for it to be able to generate core dumps.

Instead of a generic __linux__ check, there's a new configure.ac flag
to check directly for prctl.h, which could also be used in other
places in the code.
2015-01-05 21:06:29 -03:00
Ken Rice
c52df1d8e4 version bump 2014-12-24 21:26:15 -06:00
Ken Rice
ca1d990cfc bump version number 2014-11-19 16:11:13 -06:00
Ken Rice
af97a59956 Merge branch 'master' into v1.4 2014-11-19 16:09:14 -06:00
Michael Jerris
62a2e10e41 remove hack breaking some cross compile builds. if you really need this, you should be using new enough glibc anyways 2014-11-19 16:06:42 -05:00
Ken Rice
decb35332b Merge branch 'master' into v1.4 2014-11-18 10:18:40 -06:00
Michael Jerris
11e62dd40d Revert "Revert "FS-6967 New mod_say_es_AR to support Argentina Spanish variant.""
This reverts commit d9d9510ce4783879ea10a06114d5695a637dcd87.
2014-11-10 11:12:15 -05:00
Ken Rice
d9d9510ce4 Revert "FS-6967 New mod_say_es_AR to support Argentina Spanish variant."
This reverts commit e75d0675afd8974687931143709814544299fadc.

Revert "Add mod_say_es_ar to debian packaging"
This reverts commit ebb3c8fbfa3ec8b9f4b4a2ef20d62d343c8ff6c4.

Conflicts:
	configure.ac
2014-11-08 15:53:57 -06:00
Travis Cross
070aaefaeb Fix whitespace inconsistency 2014-11-07 18:18:03 +00:00
Mike Jerris
b7741916eb Merge pull request #49 in FS/freeswitch from ~VIPKILLA/freeswitch-mod_odbc_cdr:master to master
* commit '544c5faf5e6ce6fe2b87523304d1f00e2d201d90':
  Add module mod_odbc_cdr
2014-11-07 08:34:55 -06:00
Mike Jerris
60b51c46cc Merge pull request #50 in FS/freeswitch from ~JMESQUITA/freeswitch:mod_say_es_AR to master
* commit 'e75d0675afd8974687931143709814544299fadc':
  FS-6967 New mod_say_es_AR to support Argentina Spanish variant.
2014-11-06 17:21:08 -06:00
Joao Mesquita
e75d0675af FS-6967 New mod_say_es_AR to support Argentina Spanish variant. 2014-11-06 19:21:13 -03:00
Ken Rice
b942d0faa8 Rev Bump and fox some merge issues 2014-11-03 13:53:00 -06:00
Ken Rice
ace49af950 Merge branch 'master' into v1.4 2014-11-03 13:51:39 -06:00
Brian West
5dee5ce1d5 FS-6953 #resolve 2014-11-03 11:40:17 -06:00
Ken Rice
b33a86cd48 Bump rev 2014-10-10 16:16:02 -05:00
Ken Rice
2aca57517a Bump rev 2014-10-10 14:40:17 -05:00
Ken Rice
a4ef985bf5 Prep for v1.4.10, update version numbers in configure.ac and
Merge branch 'master' into v1.4

Conflicts:
	configure.ac
2014-10-09 10:55:28 -05:00
E. Schmidbauer
544c5faf5e Add module mod_odbc_cdr 2014-10-08 08:31:35 -04:00
Michael Jerris
acd8d74316 cleanup conditions 2014-10-03 12:48:43 -04:00
Anthony Minessale
9486a645f8 bump 2014-10-01 18:35:04 -05:00
Anthony Minessale
cc44659a7c bump 2014-10-01 18:34:05 -05:00
Ken Rice
2ded568068 bump rev 2014-09-29 10:22:12 -05:00
Ken Rice
2d89eca611 Merge branch 'master' into v1.4 2014-09-29 10:20:27 -05:00
Travis Cross
13d9e99ae7 Handle gcc quirk with parameter checking
At least some versions of GCC appear to take any -Wno-foo option
without error even if that option is not supported.  But they will
error out if -Wno-error=foo is used.  This sounds like a GCC bug, but
we'll work around it and test for the feature both ways.

Thanks-to: Matteo Brancaleoni <mbrancaleoni@voismart.it>

FS-6850 #resolve
2014-09-25 13:22:16 +00:00
Ken Rice
55d0aec559 Merge branch 'master' into v1.4
Conflicts:
	freeswitch.spec
2014-09-17 12:23:14 -05:00
Travis Cross
bb84b0534c Check for libpq in core before building mod_cdr_pg_csv 2014-09-10 22:29:24 +00:00
Ken Rice
9f72b11892 Merge branch 'master' into v1.4 2014-09-10 13:11:55 -05:00
Moises Silva
fa3a1a0bdd Added mod_bert module 2014-09-09 04:07:02 -04:00
Ken Rice
5605274664 Merge branch 'master' into v1.4 2014-09-03 09:47:10 -05:00
Russell Treleaven
ce96d95c5e add support for cache directory
make configs use specific directory variables instead of just base_dir
so that one configuration can be used for fhs and legacy installations
2014-08-31 20:22:08 -04:00
Travis Cross
1c058e0f45 Check gcc support for -Wno-unused-result
We're using -Wno-unused-result to work around what is arguably a GCC
bug, but this option is not supported on older GCC versions.  So on
those versions we won't pass -Werror either.

ref: commit b874048efcee4ea985cf9e5592d289ddef2df40a
2014-08-28 13:37:37 +00:00
Ken Rice
498f58677f Merge branch 'master' into v1.4 2014-08-25 11:34:46 -05:00
Travis Cross
b874048efc Handle gcc's overzealous unused-result warning
Modern static analyzers warn when a variable is set but not used.  GCC
warns when the result of a function marked as
`__attribute__((warn_unused_result))` is not set to some variable,
even when the function is cast to `(void)`, which is the recognized
way of indicating the intent to ignore the result.  We treat all
warnings as errors.

The combination of behaviors here makes it difficult if we really
don't care about the result of the function; the obvious workarounds
are precluded.

GCC's maintainers don't consider this to be a bug:

  Why do you think this is a bug?  warn_unused_result is for cases where
  "not checking the result is either a security problem or always a
  bug".

  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509#c1

GLIBC however marks functions like `read` and `write` with this
attribute.  While it certainly in most cases is correct to act on
their return value, in some cases we really just don't care.

So when we see that we're building with GCC, and that we're building
with all warnings enabled, we'll just pass -Wno-unused-result to
disable the warning.

ref: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509
ref: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
2014-08-22 20:13:39 +00:00
Ken Rice
ac405bb132 Bumb Rev 2014-07-31 09:09:15 -05:00
Ken Rice
7a96fe57ba Merge branch 'master' into v1.4 2014-07-31 09:05:27 -05:00
Travis Cross
1933c7cb8a Fix build on Debian sid/jessie
Debian has packaged libpq version 9.4beta2.  We were parsing the minor
version as "4beta2" and then trying to treat it as a constant integer,
which obviously doesn't work.

There's not really a perfect way to handle versions like this, so
we'll just pretend it's 9.4.0.
2014-07-31 04:05:47 +00:00
Charlie Root
a1d73dfd09 Fix configure check for libjpeg to not break other checks 2014-07-23 14:52:07 -05:00
Travis Cross
a537d80372 Add new module: mod_prefix
mod_prefix is an in-memory data store optimized for fast lookups
according to the longest prefix match (LPM) rule.

Tables of key-value string pairs in JSON format can be loaded at
startup via configuration and at runtime via the API.

The implementation uses a bitwise trie (aka binary prefix tree), so
arbitrary string keys are supported.
2014-07-22 15:28:31 +00:00
Travis Cross
02ee686d85 Remove remaining traces of mod_spidermonkey 2014-07-18 19:07:38 +00:00