Commit Graph

1359 Commits

Author SHA1 Message Date
Travis Cross 32c03b39d9 Replace gets(3) with fgets(3) in my-basic
gets(3) is going away; it's been removed by C11, and gcc now warns on
it, breaking the build.
2014-04-05 04:45:30 +00:00
Brian West 34b31f8f02 swig managed 2014-04-04 07:27:48 -05:00
Michael Jerris 5320075df7 FS-6429: --resolve check return values of fread and gets 2014-04-03 21:43:12 -04:00
Michael Jerris 98237f5962 fix mod_basic clang build warning, we don't need to declare var we don't use on this side of the ifdef 2014-04-03 19:35:43 -04:00
Jeff Lenk 554abf3e0c vs2010 reswig 2014-04-01 18:13:07 -05:00
Anthony Minessale 7151d6acea FS-6402 part 2 2014-04-02 03:21:37 +05:00
Travis Cross 6234a94f41 Cleanup style for consistency 2014-04-01 20:54:44 +00:00
Travis Cross a8dd56f2b3 Convert my_basic files to Unix newline format 2014-04-01 20:41:19 +00:00
Anthony Minessale 5c0cff70b3 FS-6402 --resolve 2014-04-02 01:20:19 +05:00
Ken Rice 6681176ce9 prevent a segfault in mod_basic if someone calls basic from CLI w/ no args 2014-04-01 08:57:15 -05:00
Anthony Minessale e458fa2d5a allow execute with no args 2014-03-31 18:37:35 -05:00
Anthony Minessale 3a2736291e add mod_basic 2014-03-31 18:08:59 -05: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
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
Peter Olsson c8fa0f0c4b mod_v8: Use parallel build by default. Use configure flag "--disable-parallel-build-v8" to disable it. It's disabled by default for Debian build scripts, since parallel build has some issues with cowbuilder. 2014-03-23 09:25:41 +01:00
Peter Olsson 742e28e1c5 FS-6395 2014-03-22 12:56:46 +01:00
Peter Olsson 8be3ca59e2 FS-6395 2014-03-22 11:55:04 +01:00
Jeff Lenk dd242f3ba6 FS-6346 2014-03-20 18:32:19 -05:00
Travis Cross 1470622292 Require libcurl as a system dependency
This purges libcurl from our tree and requires it to be present on the
system for building and running FreeSWITCH.

FS-353
2014-03-20 21:15:29 +00:00
Travis Cross 4dec1607ce Revert "Cleanup whitespace"
Too much was staged accidentally on that last commit.

This reverts commit f112627242.
2014-03-20 20:34:18 +00:00
Travis Cross f112627242 Cleanup whitespace 2014-03-20 20:33:34 +00:00
Peter Olsson 03739a8293 FS-6365 --resolve 2014-03-20 19:48:37 +01:00
Brian West 2da4e3d3b8 FS-6293: fix mod_managed srcdir build 2014-03-20 08:34:16 -05:00
Brian West 09811b522f FS-6369: fix uninstall on mod_managed 2014-03-20 08:16:14 -05:00
Michael Jerris 8cd69cc0f4 fix perldir to at least point to install the same place as the code looks for it. Note, on fhs type builds, where prefix is /usr, these files are going to go into /usr/perl, which probably isn't right, but thats where the code looks too, we should do something better for builds that are not in the prefix 2014-03-19 17:24:26 -04:00
Travis Cross 962eaaeae8 Make sure -w is set in mod_perl CXXFLAGS
Autogenerated bits of the code warn when building which would
otherwise break the build.
2014-03-19 21:01:30 +00:00
Michael Jerris 2ce609ac45 FS-6293: fix mod_spidermonkey srcdir build 2014-03-18 22:20:52 -04:00
Travis Cross 0e22f1e954 Fix mod_java build issues
...including one syntax error and an underspecified cast.
2014-03-19 00:43:24 +00:00
Michael Jerris d35a6818a3 fix typo in removing of apr dso funcitons 2014-03-18 19:53:43 -04:00
Brian West 0ea5c4fb4d FS-6369: --resolve fix automake build of mod_managed 2014-03-18 17:48:44 -05:00
Michael Jerris bf756f2be6 FS-6293: don't blow up on clean on mod_managed (still does not do srcdir right) 2014-03-18 14:58:48 -04:00
Michael Jerris 9f7399c272 FS-6293: fix lua to build using automake, so it works right with srcdir, and avoids the linking to .a is not portable warning 2014-03-18 13:28:52 -04:00
Brian West 7990bb44f3 Reswig managed 2014-03-17 20:51:51 -05:00
Michael Jerris 1c5e61447b move libs/stfu into the core, as it is not really a lib 2014-03-17 09:44:14 -04:00
Michael Jerris 048ce8d1f3 FS-6293: srcdir builds, most of the built in mods work now 2014-03-14 23:13:34 -04:00
Anthony Minessale 25db7bd7c2 fix perl build and install 2014-03-14 16:31:34 -04:00
Jeff Lenk 0ea3b1f89b vs2010 reswig 2014-03-14 15:18:54 -05:00
Michael Jerris df8fbb60e8 FS-6352: --resolve don't override install target when using automake, make your own install target that will get depended upon instead 2014-03-13 09:13:56 -04:00
Michael Jerris 5e0fc8f666 remove usage of apr dso functions, we have our own dso abstraction 2014-03-12 19:02:49 -04:00
Brian West 666231f91b BNPH-6149: allow to use system curl again, fix some types on auth_scheme values to all be long, don't use curl private function in our wrapper. This may cause missing symbol curl_easy_setopt with visibility turned on, if it does that, please let me know 2014-03-12 13:47:24 -05:00
Jeff Lenk f649af84e8 fix windows build for last commit 2014-03-08 14:23:41 -06:00
Anthony Minessale 804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Travis Cross e6ec9b3c61 Add automake subdir-options for modules
The automake project is apparently changing behavior in their next
major version and warning everyone who relies on subdir-options to add
it explicitly.
2014-03-08 00:32:02 +00:00
Michael Jerris bcd9f49fbe move applications to use automake 2014-03-07 18:36:12 -05:00
Peter Olsson 8b57411bdd FS-6290 --resolve 2014-03-01 10:03:56 +01:00
Jeff Lenk f882af93c6 FS-3588 remove packages.config 2014-02-28 07:44:21 -06:00
Jeff Lenk bdbb6c1401 windows wftb fix excess cpu usage 2014-02-26 22:07:02 -06:00
Seven Du f7dfe71c4c break CF_MEDIA_PAUSE to CF_AUDIO_PAUSE and CF_VIDEO_PAUSE so we can control them separately 2014-02-25 11:22:53 +08:00
Michael Jerris f3616c815f FS-6263: --resolve link to odbc when building mod_v8 w/ odbc 2014-02-24 11:24:41 -05:00
Jeff Lenk aa7800690d FS-3588 --resolve thanks drk 2014-02-23 23:48:31 -06:00
Brian West a54901212c FS-6248 it builds, ship it... 2014-02-22 20:18:36 -06:00
Brian West c0d078e0bb FS-6248 --resolve 2014-02-22 18:08:56 -06:00
Peter Olsson c679d98eb7 mod_v8: Minor tweaks to keep up with recent V8 API changes 2014-02-20 17:34:27 +01:00
Michael Jerris b622a66cb7 FS-6245: add this for now until we figure out a better way 2014-02-19 19:16:37 -05:00
Michael Jerris fba1c2bf36 FS-6245: add this for now until we figure out a better way 2014-02-19 18:44:02 -05:00
Brian West cc32113ed4 FS-6245 2014-02-19 17:34:06 -06:00
Michael Jerris 6184e9c0f2 freebsd doesn't have g++ so you need to tell the makefile what to use 2014-02-19 18:02:24 -05:00
Anthony Minessale 99765fbd9a FS-6241 --resolve 2014-02-20 01:25:12 +05:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Jeff Lenk 3846bef5f1 FS-6213 --resolve 2014-02-12 08:49:40 -06:00
Anthony Minessale aae30e358c swigall master 2014-02-09 00:14:12 +05:00
Jeff Lenk 6dca277ed1 fix compiler error with last commit 2014-02-04 15:36:13 -06:00
Michael Jerris 1f2b632aee FS-5999: set visibility on lua symbols that are supposed to be exported 2014-02-04 16:09:08 -05:00
Peter Olsson 1e0e66fd47 FS-6160 --resolve 2014-02-02 08:13:55 +01:00
Peter Olsson 40a48ae951 mod_v8: Fixed compiler warnings on Linux 2014-02-01 19:18:47 +01:00
Peter Olsson 4f9402c09d mod_v8: Fixed line endings, and removed old code. 2014-02-01 18:54:39 +01:00
Peter Olsson 04005dfa68 mod_v8: Added new extension class that makes it possible to subscribe to FS events. Wiki will be updated soon. 2014-02-01 18:20:04 +01:00
Peter Olsson 7e04f2178c FS-6147 --resolve 2014-01-25 11:38:17 +01:00
Peter Olsson d878bac69c mod_v8: Skip clean before rebuild 2014-01-24 22:39:50 +01:00
Jeff Lenk 790c69cb48 vs2010 reswig 2014-01-23 22:20:43 -06:00
Peter Olsson 04f7e7c025 mod_v8: Removed i18n support (ECMAScript 402) from V8 for now, to make build work on ARM platform. This will also force a rebuild of V8 2014-01-23 23:46:49 +01:00
Peter Olsson a120177144 mod_v8: Updated license header 2014-01-23 12:25:15 +01:00
Peter Olsson 93696934b2 Silence more compiler warnings 2014-01-23 12:25:15 +01:00
Peter Olsson 5a820fdc78 Disabled some compiler warnings on Windows build (for Visual Studio 2012), also disabled code analysis one some projects. This should make the Windows build more clean in the future. 2014-01-22 22:47:11 +01:00
Peter Olsson 084e245085 Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks. 2014-01-22 22:30:23 +01:00
Peter Olsson 855361d8ae mod_v8: Force V8 build to disable python multithreading support during build, to make it safe to build even if there is not enough rights on /dev/shm. FS-6111 --resolve 2014-01-21 10:54:30 +01:00
Peter Olsson 2e32d10503 mod_v8: Added configure flag --enable-static-v8 to enable static linking of the V8 lib. Also enabled this flag for the Debian packaging system. Please note the static linking has only been verified on Linux so far 2014-01-20 11:33:38 +01:00
Peter Olsson df193ac5c6 mod_v8: Detect the g++ target platform, and use this when building V8 2014-01-19 11:41:15 +01:00
Peter Olsson 177d8950c2 mod_v8: Add support for build in VS2010. Files manually patched, but they should work as expected 2014-01-18 11:24:57 +01:00
Anthony Minessale 8dfbd91a3d fold version macros into runtime functions to avoid cascade rebuilds when modifying the core 2014-01-17 01:54:47 +05:00
Peter Olsson 104ce2a35f mod_v8: Improved build for some version of gcc and (hopefully) fixed build on OSX 2014-01-16 19:56:45 +01:00
Peter Olsson 50b9ba29b4 mod_v8: In FileIO, make sure to initialize buffer with NULL, and add extra space for terminating NULL char 2014-01-15 17:47:16 +01:00
Peter Olsson dd145edc8c mod_v8: Extended FSEvent class to handle array values in headers, also a new constructor flag was added to make it possible to create events holding only unique headers 2014-01-15 16:55:04 +01:00
Peter Olsson 47006e90ea mod_v8: Renamed XML error property to a better name 2014-01-14 23:05:55 +01:00
Anthony Minessale 283342fae6 wire json api interface into mod_v8 2014-01-15 00:28:30 +05:00
Peter Olsson c346f0813f mod_v8: Tweak to Windows build 2014-01-14 18:30:32 +01:00
Peter Olsson 4e85716905 mod_v8: Added shell script used to fetch a specific version of V8 from git, and package it into tarballs 2014-01-14 15:41:44 +01:00
Peter Olsson b762332669 Initial commit of mod_v8 2014-01-14 15:38:41 +01:00
Jeff Lenk bc8f2ffeb3 vs2010 reswig 2013-12-23 15:28:30 -06:00
Anthony Minessale 615a4ec1cf update python diff 2013-12-23 23:26:34 +05:00
Anthony Minessale 0de5e6fb93 chage swig hack diff 2013-12-23 23:26:10 +05:00
Anthony Minessale b63bacf43f FS-6061 swigall 2013-12-23 22:43:48 +05:00
Jeff Lenk 553bda996b vs2010 reswig 2013-12-08 21:53:56 -06:00
Anthony Minessale a0e2fc0342 swigall 2013-11-30 21:02:52 -06:00
Anthony Minessale b64cbe33b4 swigall 2013-11-22 16:21:41 -06:00
Jeff Lenk cec4b78d53 fix windows build for lua 5.2 VS2010 2013-11-13 19:42:52 -06:00
Jeff Lenk 7fb68faa55 fix windows build for lua 5.2 2013-11-13 18:06:12 -06:00
Anthony Minessale 81a48a9e4e missed a few files in new lua commit 2013-11-13 21:06:04 +05:00
Anthony Minessale 2771498707 change to lua 5.2 2013-11-13 07:55:12 +05:00
Jeff Lenk bf03df9f14 fix windows compiler warnings and vs2010 reswig 2013-11-07 23:01:40 -06:00
Anthony Minessale b86770f34c FS-5935 --resolve this was broken from the initial check in FS-5524 2013-11-01 16:34:14 -05:00
William King 40c1053221 Fixing printf arg mismatch 2013-10-28 17:01:13 -07:00
Anthony Minessale c94dd25e4e swigall 2013-10-15 15:31:28 -05:00
Anthony Minessale 903461559e swigall 2013-09-16 19:56:24 -05:00
Anthony Minessale 482afbf964 swigall 2013-08-28 10:34:00 -05:00
Anthony Minessale 185917edfe swigall 2013-07-25 10:50:14 -05:00
Jeff Lenk 292e39187c vs2010 reswig 2013-07-24 22:11:01 -05:00
Anthony Minessale 5f2dca72b3 swigall 2013-07-24 18:49:27 -05:00
Anthony Minessale ac700966e9 swigall 2013-07-24 18:42:50 -05:00
Ken Rice eb329ad5ae FS-5524 --resolve 2013-07-10 11:49:59 -05:00
Nathan Neulinger 32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Anthony Minessale b0f964f23f swigall 2013-06-20 11:41:34 -05:00
Jeff Lenk ec9eebbf99 fix trivial compiler error and vs2010 reswig 2013-06-18 16:55:03 -05:00
Anthony Minessale a42b7de6d5 swigall 2013-06-18 09:13:50 -05:00
Jeff Lenk f858176f89 vs2010 reswig 2013-06-14 11:45:44 -05:00
William King b73a8fe624 Fix missing return statement. 2013-06-13 10:08:16 -07:00
William King a181ec629f On the off chance the if statement takes the false branch, let's not leak the memory. again. 2013-06-12 16:46:38 -07:00
William King 5e5af427ef On the off chance the if statement takes the false branch, let's not leak the memory 2013-06-12 16:41:24 -07:00
Travis Cross 5b1d1de1a7 Add common include paths for jni.h and jni_md.h 2013-05-27 16:19:24 +00:00
Anthony Minessale e169212319 swig 2013-05-23 09:53:50 -05:00
Anthony Minessale 8ac3178e45 FS-5242 2013-05-21 10:03:22 -05:00
William King 09553f424a FS-5443: --resolve leaked because the JS api's copy and return new malloc'd pointers. 2013-05-18 15:47:01 -07:00
Anthony Minessale 81788f1192 FS-5416 --resolve just missing the part that registers it 2013-05-14 07:38:00 -05:00
Seven Du 5b9318c109 FS-4990 change uuid_debug_audio to uuid_debug_media and add video params 2013-04-27 06:47:06 +08:00
Anthony Minessale 7c9885a045 swigall 2013-04-16 08:51:29 -05:00
Jeff Lenk bec0a5f5c3 vs2010 reswig 2013-04-05 22:08:22 -05:00
Anthony Minessale 312b86e331 oops 2013-04-05 15:00:46 -05:00
Anthony Minessale 5f4ee1b464 FS-5216 don't allow recursive call to speek 2013-04-05 14:27:44 -05:00
Jeff Lenk fd7d5e0801 windows compiler fixes - now builds again 2013-04-03 21:55:50 -05:00
Anthony Minessale e976144ef1 FS-5216 seems like invalid codec lets try this 2013-03-29 22:35:32 -05:00
Anthony Minessale c0f736c9da FS-5242 2013-03-29 10:54:45 -05:00
Jeff Lenk 772e9f4c70 FS-4568 --resolve 2013-03-24 14:32:56 -05:00
Anthony Minessale 0ca2c2b0e7 print message before destroying obj 2013-03-22 10:28:15 -05:00
Jeff Lenk be3df1b1c2 vs2010 reswig 2013-02-26 17:11:08 -06:00
Jeff Lenk 1efcc01c2a FS-5108 --resolve 2013-02-21 15:20:06 -06:00
Anthony Minessale 6f81477ca5 swigall 2013-02-19 14:22:01 -06:00
Anthony Minessale f3206e5ff1 reswig and fix header file 2013-02-04 11:36:56 -06:00
Jeff Lenk 3a30c4df33 FS-4768 MSB_LNK_warnings.diff applied 2013-01-31 15:36:08 -06:00
Jeff Lenk 283eb6ee45 vs2010 reswig 2013-01-31 10:45:25 -06:00
Anthony Minessale 25a992bc27 reswig 2013-01-29 09:34:27 -06:00
Anthony Minessale 117609d2b3 FS-5027 try this one 2013-01-23 14:32:04 -06:00
Anthony Minessale 120a0e3385 make it back-compat as possible instead 2013-01-22 10:26:51 -06:00
Anthony Minessale 6b6198e96f FS-5027 2013-01-22 09:55:15 -06:00
Jeff Lenk dc2c11f13f FS-4768 initial add of vs2012 build support 2012-12-29 14:57:15 -06:00
Anthony Minessale 081e261956 FS-4883 --resolve I can add this but if it leads to issues in the loaded code we may not have resoures to investigate 2012-11-29 08:58:44 -06:00
Anthony Minessale 428cd029de FS-4868 --resolve This patch also adds freeswitch.ready() which will return false once shutdown has started 2012-11-26 15:18:58 -06:00
William King 48a0924b54 merge failure on my part. this should have been included. 2012-11-07 18:04:13 -08:00
William King 2cea7f0ff6 Enable mod_lua to use native pgsql dbh support 2012-11-07 17:47:46 -08:00