Commit Graph
95 Commits
Author SHA1 Message Date
Andrey Volk 3c47eadd28 [mod_v8] SayPhrase: Coverity 1546153 COPY_INSTEAD_OF_MOVE 2024-07-30 18:24:16 +03:00
Jakub Karolczyk 70c144309c [mod_v8] Coverity CID 1468570 (Resource leak) 2023-04-14 17:40:48 +01:00
Andrey Volk 6ef22a6f7d [mod_v8] Fix dead nested assignments 2022-08-09 23:35:13 +03:00
Andrey Volk 4ab8936a0e [mod_v8] Fix false-positive memory leak detected in process_status_function() by scan-build 2021-10-19 20:24:09 +03:00
Norm Brandinger 7b841c048a [mod_v8] Fix C++ compile warning 2020-12-17 00:48:03 +04:00
Andrey Volk 0275ea1eb4 [Build-System] Use $(DefaultPlatformToolset) so it's easier to build using newer Microsoft Visual Studio versions. 2020-05-25 14:18:25 +04:00
Andrey Volk 7bbec6611c [mod_v8] Fix scan-build warnings. 2020-02-28 03:13:06 +04:00
Andrey Volk 27669eda04 FS-11194: [mod_v8] Implement JavaScript Process Status with Heap statistics. 2019-07-26 00:01:22 +04:00
Christian Schmidt e7c63eec0c FS-11552: [mod_v8] Crash when accessing props of dead session 2018-12-05 22:10:25 +01:00
Anthony Minessale d3e320ef56 FS-11346: [core] add api to pass pre-parsed values instead of dial strings to switch_ivr_originate
SWITCH_DECLARE(switch_status_t) switch_dial_handle_create(switch_dial_handle_t **handle);
SWITCH_DECLARE(void) switch_dial_handle_destroy(switch_dial_handle_t **handle);
SWITCH_DECLARE(void) switch_dial_handle_add_leg_list(switch_dial_handle_t *handle, switch_dial_leg_list_t **leg_listP);
SWITCH_DECLARE(void) switch_dial_leg_list_add_leg(switch_dial_leg_list_t *parent, const char *dial_string, switch_dial_leg_t **legP);
SWITCH_DECLARE(void) switch_dial_handle_add_global_var(switch_dial_handle_t *handle, const char *var, const char *val);
SWITCH_DECLARE(void) switch_dial_handle_add_global_var_printf(switch_dial_handle_t *handle, const char *var, const char *fmt, ...);
SWITCH_DECLARE(switch_status_t) switch_dial_handle_add_leg_var(switch_dial_leg_t *leg, const char *var, const char *val);
SWITCH_DECLARE(switch_status_t) switch_dial_handle_add_leg_var_printf(switch_dial_leg_t *leg, const char *var, const char *fmt, ...);
SWITCH_DECLARE(int) switch_dial_handle_get_peers(switch_dial_handle_t *handle, int idx, char **array, int max);
SWITCH_DECLARE(int) switch_dial_handle_get_vars(switch_dial_handle_t *handle, int idx, switch_event_t **array, int max);
SWITCH_DECLARE(switch_event_t *) switch_dial_handle_get_global_vars(switch_dial_handle_t *handle);
SWITCH_DECLARE(switch_event_t *) switch_dial_leg_get_vars(switch_dial_leg_t *leg);
SWITCH_DECLARE(int) switch_dial_handle_get_total(switch_dial_handle_t *handle);
SWITCH_DECLARE(void) switch_ivr_orig_and_bridge(switch_core_session_t *session, const char *data, switch_dial_handle_t *dh);

add switch_dial_handle_t *dh to end of args for switch_ivr_originate
2018-08-22 18:20:13 +00:00
Andrey Volk 671da28796 FS-11263: [Build-System] Move FreeSWITCH build system to Visual Studio 2017 on Windows. 2018-07-24 07:21:55 +00:00
Mike Jerris bf59e825bd FS-11047: [build] support v8 6.6 fixes from Andrey Volk 2018-07-24 07:21:52 +00:00
Mike Jerris b8b4517843 Revert "FS-11048: [build] support v8 6.6 fixes from Andrey Volk"
This reverts commit 27389f2937.
2018-07-24 07:21:52 +00:00
Mike Jerris 54c2bbeda8 FS-11047: [build] support v8 6.6 fixes from Andrey Volk 2018-07-24 07:21:52 +00:00
Mike Jerris 524ad35933 FS-11047: add mod_v8 back to build 2018-07-24 07:21:51 +00:00
Andrey Volk 561d187085 FS-11125: [Build-System] Remove unused files left from previous Visual Studio version. 2018-07-24 07:21:51 +00:00
Andrey Volk c31e7062b7 FS-11085: [Build-System] Update curl to 7.59.0 and move to pre-compiled binaries on Windows. 2018-07-24 07:21:46 +00:00
Andrey Volk 24ef5b2762 FS-11065: [Build-System, mod_v8] Update libv8 to 6.1.298 on windows, speedup windows build by moving libv8 to pre-compiled binaries. 2018-07-24 07:21:42 +00:00
Marc Olivier Chouinard 3d9365edbb FS-10496: [mod_v8] Fixing regression from FS-10496 when no settings exist in v8.conf. 2018-01-28 10:18:58 -05:00
Andrey Volk c1280938bf FS-10496: [mod_v8] Speedup JavaScript. Enabling Code Caching. 2017-12-05 14:25:13 +03:00
Andrey Volk db3e6ec32f FS-10789: [mod_v8] v8 segs on invalid instruction 2017-12-05 13:56:40 +03:00
Andrey Volk bf101a5f0b FS-10525: [Build-System] Update curl to 7.54.1 for windows, move to props. 2017-07-21 01:21:34 +03:00
Andrey Volk 28913d2764 FS-10488: [mod_v8] Fix memory leak. 2017-07-11 21:34:45 +03:00
Andrey Volk 105afc3f29 FS-10465: [mod_v8] Fix javascript failures when a session callback is called from another thread/leg. 2017-07-03 23:01:59 +03:00
Andrey Volk cd79ae19ad FS-10464 [mod_v8] Fix broken classes after switching to new libv8 #resolve 2017-07-03 18:16:54 +03:00
Mike Jerris c7de29c16d FS-10455: [build, mod_v8] new build system for libv8 and upgrade libv8 2017-06-30 16:34:21 -04:00
Andrey Volk ba32e0e23d FS-10435 [mod_v8] Update mod_v8 to support future v8 engine version change 2017-06-29 01:05:19 +03:00
Mike Jerris 95c7fb0155 Merge pull request #1221 in FS/freeswitch from ~NBLASGEN/freeswitch:feature/FS-10084-mod_v8-block-for-event to master
* commit 'd9c6ebc8031ef665f0332b3832030d8cb95b61b7':
  FS-10084 [mod_v8] Fixed incorrect variable name
  FS-10084 [mod_v8] If the value passed is negative, block until event is received
2017-06-06 18:40:58 +00:00
Nicholas Blasgen d9c6ebc803 FS-10084 [mod_v8] Fixed incorrect variable name 2017-04-01 05:29:21 +00:00
Nicholas Blasgen fabe27abde FS-10128 [mod_v8] This commit removes strlen() in favor of binary safe .length() function 2017-03-16 01:15:10 +00:00
Nicholas Blasgen 2fe107aca9 FS-10084 [mod_v8] If the value passed is negative, block until event is received 2017-03-12 18:20:11 +00:00
Mike Jerris be245edf5e FS-10060: fix scope of declarations 2017-02-24 11:11:30 -06:00
Andrey Volk 658b1f85f5 FS-10060 [mod_v8] Add startup scripts support. 2017-02-22 18:18:08 +03:00
Sergey Safarov df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Mike Jerris a3ee7595bb FS-10025: fix global symbol scope issue causing modules to use another modules global pointer 2017-02-09 17:23:30 -06:00
Andrey Volk 7e6ba429e7 FS-9928 [mod_v8] Implement Event Hooks in JavaScript 2017-01-06 21:57:20 +03:00
Andrey Volk a3a8d7e6b3 FS-9896 [mod_v8] Implement Serving Configuration with JavaScript 2016-12-29 03:58:22 +03:00
Andrey Volk 3f3cd7343b FS-7933 [mod_v8] Implement timeout property for Socket() class in javascript. 2016-12-27 04:18:14 +03:00
Brian West 2af53f5a30 Merge pull request #1080 in FS/freeswitch from ~MOCHOUINARD/freeswitch:FS-9788 to master
* commit '347c93f1c1360d7f03d337d4b428cd24ad6d7b16':
  FS-9788: Add close() option to FileIO implementation
2016-12-04 06:53:51 -06:00
Andrey Volk fff5b939b5 FS-9798 [mod_v8] Implement native PostgreSQL in JavaScript by adding a Database Handler (DBH) class 2016-12-01 15:45:18 +03:00
Marc Olivier Chouinard 347c93f1c1 FS-9788: Add close() option to FileIO implementation 2016-11-30 14:28:39 -05:00
Andrey Volk 36ffb29298 FS-9256: mod_v8: Add DB.Finalize() in order to close statements. 2016-06-13 12:25:22 +03:00
Anthony Minessale 550029b80e FS-8811 #resolve [FS 1.7 crashes intermittently] 2016-03-04 16:56:55 -06:00
Saumar Hajjar 3aa051e1a1 FS-7673: ODBC NULL value incorrectly evaluated in mod_v8 2015-09-21 23:36:42 -03:00
Michael Jerris 164c6111a1 FS-7966: remove some older versions of msvc build system as these will no longer work soon, please use 2015 instead 2015-08-31 10:19:10 -05:00
Michael Giagnocavo 5e456fe9a6 FS-7966. First pass at moving to Visual Studio 2015.
The new C compiler breaks a lot of things. snprintf and timespec now exist, and redefining causes an error.
Many more things are warnings, so warnings-as-errors will fail - remove it from some projects for now.
V8: don't pass VS version to build batch file.
mod_sofia: Config has too-long if/elseif chain. Break this up to avoid "parser stack overflow; program too complex".
Add mod_conference.h to project and dir to includes.
2015-08-21 18:28:32 -04:00
Michael Giagnocavo f116387443 FS-7644. Change 2013.vcxproj references to 2013 2015-06-18 04:17:53 -06: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
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