Brian West
34ec9f861f
update languages to use swig2.0 and reswig
2015-06-16 12:58:24 -05:00
Brian West
4e88d9eea1
update languages to use swig2.0 and reswig
2015-06-16 12:44:37 -05:00
Brian West
6a903e2397
fix perl swig patching to work with latest swig from debian jessie
2015-06-16 12:03:53 -05:00
Brian West
a81a896690
FS-7666: [mod_managed] pass in proper core CPP flags to find public headers
2015-06-16 11:24:00 -05:00
Brian West
34f5994aa2
swigall
2015-06-16 11:23:25 -05:00
Jeff Lenk
345e50d25a
FS-7644
2015-06-11 15:29:28 -05:00
Michael Jerris
2cc0348422
FS-7635: remove msvc 2005 2008 and 2010 non working build systems. There are now multiple more recent (3 different ones) and some free versions of the compiler that can be used.
2015-06-10 16:33:14 -04:00
William King
cdead84d3b
CID 1216601 Fix a possible memory leak in mod_basic
2015-05-28 12:47:34 -05:00
Mike Jerris
387b405ccd
FS-7500: fix include paths for libvpx
2015-05-28 12:47:32 -05:00
Michael Jerris
d376150e0e
FS-7488: [mod_managed] fix build error and enable on debina packages
2015-05-28 12:47:26 -05:00
Anthony Minessale
7c294f242f
FS-7504: allow <modname>.<codecname> support so multiple modules can exist for the same codec
2015-05-28 12:47:13 -05:00
Anthony Minessale
970064294c
FS-7500: refactoring
2015-05-28 12:46:50 -05:00
Jeff Lenk
278b42eb11
FS-7488 remove windows duplicate files
2015-05-20 13:19:12 -05:00
Jeff Lenk
acdb1ca582
FS-7488 windows fix build error
2015-05-17 13:45:52 -05:00
Michael Jerris
b90aa23cbd
FS-7488: [mod_managed] fix build error
2015-04-28 11:59:15 -05:00
Anthony Minessale
452a4c1b05
swigall
2015-04-27 12:35:38 -05:00
Anthony Minessale
3058709a92
swigall
2015-04-25 14:15:26 -05:00
Vineet Chaudhary
299b313b78
FS-7269 : Add error logs in exec_user_method() when exception occurs.
...
In exec_user_method() report ERROR LOG to console in cases exceptions occurs,
like if any of class/method/userMethod->arg is null or for any reason which
sets status to SWITCH_STATUS_FALSE because that prevents loading mod_java and
users don't have clue why it is failing to load.
With this patch error logs can tell why method failed to execute.
2015-02-12 18:41:12 +05:30
Vineet Chaudhary
adccf499ad
FS-7256 : Unable to load mod_java.
...
FS not able to load mod_java because in load_config switch_status_t status
is not initialised and in some conditions status is not gets set ever
resulting returning garbage value, resulting failuar to load mod_java.so.
With this patch status is set to SWITCH_STATUS_SUCCESS so in case everything
is loaded it can load mod_java else status is set to SWITCH_STATUS_FALSE(which
is already covered).
2015-02-10 12:43:26 +05:30
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
749ced5f60
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 13:03:06 -05: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
Mike Jerris
e86d359443
Merge pull request #57 in FS/freeswitch from ~LEKENSTEYN/freeswitch:fixes to master
...
* commit '8e4423f126b9476123c6fa8c41c5f8ebfe1d0cb5':
Document Dbh.test_reactive, return saner values
2014-11-06 11:48:12 -06:00
Artur Kraev
c97c0e8a78
Fix for case-sensitive filesystems
2014-11-06 12:36:02 +03:00
Artur Kraev
14bf6c1604
Fixed code formatting.
...
Return ListDelegate
2014-11-06 12:29:10 +03:00
Artur Kraev
889b678e58
mod_managed: Added GetPtr to Util class for internal pointers extraction (very useful when using native api)
2014-11-03 00:43:59 +03:00
Artur Kraev
33cb950500
mod_managed: Added pure CreateStateHandlerDelegate in ManagedSession for native api usage
2014-11-03 00:42:00 +03:00
Artur Kraev
10ebebaae0
mod_managed: added console log level
2014-11-03 00:34:04 +03:00
Artur Kraev
4037e782a5
mod_managed: support per-module references directory
2014-11-03 00:32:30 +03:00
Artur Kraev
f3d089a998
mod_managed: not crash when cannot remove shadow directory (this sometimes happens when restarting from FS console)
2014-11-03 00:24:49 +03:00
Artur Kraev
7c0cf506d8
mod_managed: managedlist command must return value to api stream instead of log
2014-11-03 00:17:57 +03:00
Anthony Minessale
6b42e5a231
FS-6849 #comment change to 'import freeswitch' to only load it
2014-10-16 11:36:59 -05:00
Anthony Minessale
3cd0400d38
FS-6849 #resolve #comment scripts need to have 'from freeswitch import *' at the top. I added it explicitly to compensate.
2014-10-16 10:58:55 -05:00
Travis Cross
0cc7bc8db6
Add missing CURLOPT_NOSIGNAL options
...
To work correctly in a multi-threaded environment, curl needs to be
used with CURLOPT_NOSIGNAL set to 1. If it's left at zero, the
default, then curl will use signals to deal with timeouts which will
often result in a crash.
ref: http://curl.haxx.se/libcurl/c/libcurl-tutorial.html#Multi-threading
ref: http://curl.haxx.se/libcurl/c/CURLOPT_NOSIGNAL.html
ref: http://stackoverflow.com/questions/9191668/error-longjmp-causes-uninitialized-stack-frame
ref: https://bugzilla.redhat.com/show_bug.cgi?id=539809
ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570436
2014-09-23 00:04:21 +00:00
Anthony Minessale
1bb0b8e16d
fix leak in lua when script does not execute properly in xml_binding handler
2014-09-23 03:57:04 +05:00
Peter Wu
8e4423f126
Document Dbh.test_reactive, return saner values
...
In the FreeSWITCH core, the return value of switch_case_db_test_reactive
is ignored, but it is usable in LUA modules (and other bindings via
SWIG). The LUA API example[1] shows how to check the return value, but
that example miserably fails if the database did not exist before.
Changes:
- Document the expected behavior of the test_reactive function.
- Assert that test_sql and sql_reactive are both given. If either
query is not given, the caller is using the wrong API.
- When SCF_AUTO_SCHEMAS is cleared, use the return value of the
test_sql execution. Does anybody use this? Why not remove it?
- Do not unconditionally return SWITCH_FALSE when test_sql fails,
instead allow it to become SWITCH_TRUE when reactive_sql passes.
- Remove the unnecessary test_sql check for SCDB_TYPE_CORE_DB
(this is now enforced through an assert check). (+reindent)
- Clarify the error message of drop_sql, prepending "Ignoring" to
the "SQL ERR" message.
- LUA: Do not print "DBH NOT Connected" if the query fails. This was
the initial source of confusion.
[1]: https://confluence.freeswitch.org/display/FREESWITCH/Lua+API+Reference
2014-09-15 15:39:08 +02:00
Brian West
66302cac89
FS-6811 #resolve
2014-09-09 17:59:29 -05:00
Jeff Lenk
f230eb2a98
vs2010 reswig again
2014-09-08 10:32:35 -05:00
Jeff Lenk
f63ad553f7
vs2010 reswig
2014-09-08 10:18:23 -05:00
Seven Du
59cd3c77d8
FS-6796 #resolve hack mod_lua to read correct binary string
2014-09-06 19:38:40 +08:00
Seven Du
d8bc5ed7ae
swigall
2014-09-06 07:18:38 +08:00
Seven Du
1a4e6e3093
FS-6796 #comment avoid use c++ string since it causing troubles
2014-09-06 07:18:38 +08:00
Travis Cross
e79380c394
Catch more swig-generated files with gitattributes
2014-09-04 03:36:44 +00:00
Seven Du
a80f1d3524
swig all
2014-09-04 10:31:23 +08:00
Seven Du
1f26712330
swig hack
2014-09-04 10:13:45 +08:00
Seven Du
31f78d8cac
add ability to read from a stream
...
do not use this unless you understand what you are doing and you want to take the risk,
you are warnned
2014-09-04 09:45:16 +08:00
Travis Cross
75836b603f
Suppress diff output for swig-generated files
2014-08-30 03:22:59 +00:00
Moises Silva
d6574e8c0f
dos2unix a bunch of files
...
For some reason these files would get marked as modified
just after a fresh clone on Linux
2014-07-22 15:04:28 -04:00
William King
d208484a1c
Fixing linefeed for mod_managed
2014-07-21 14:00:55 -07:00
Jeff Lenk
ae670ad924
FS-6615 reswig vs2010
2014-07-16 15:24:03 -05:00