Commit Graph

607 Commits

Author SHA1 Message Date
Anthony Minessale bc3e1c9e7d FS-11225: [freeswitch-core] Crash in fs_cli #resolve 2018-07-24 07:21:56 +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
Andrey Volk e7ff903629 FS-11150: [Build-System] Fix broken ESL in .Net project. 2018-07-24 07:21:52 +00:00
Anthony Minessale bb7013817b FS-11138: [freeswitch-core] Leak in ESL client #resolve 2018-07-24 07:21:51 +00:00
Muteesa Fred 9fc898daac FI-393 [fs_cli banner] this commit changes the text on the fs_cli banner 2018-06-14 19:38:05 +00:00
Trever L. Adams 052c7c3061 FS-9785: Fix format-truncation warnings for systems that treat it as an error. 2017-06-29 21:35:38 -06:00
Mike Jerris 3347820c1e FS-10427: move libesl to use swig3.0 so we can reswig on debian9 2017-06-27 12:10:04 -05:00
Mike Jerris 417b1d2a9a FS-10036: fix include 2017-03-15 13:33:03 -05:00
Mike Jerris e4e4fd2f9f FS-10036: add back in patch from FS-4285. Still need to address this upstream 2017-03-08 20:50:34 -06:00
Mike Jerris 20bcb2edef FS-10036: update cJSON code to pre 1.4.0 release of cJSON. this includes backports of all our fixes, and our build macros for windows and visibility. It also makes it easy to drop in a new version, and to in the future be able to switch to a system version of cJSON easily (after all these updates are in, probably around v2.0 timeframe. Note this new version adds a lot of extra error checking, fixes some buffer overruns, and improves parser and printer performance 2017-02-27 18:53:23 -06:00
Anthony Minessale 9dba32410f FS-10015: [freeswitch-core] Add variable to allow firing of text events #resolve 2017-02-06 16:37:59 -06:00
Anthony Minessale c409499cd9 FS-9576 #resolve [Add Realtime Text] 2016-09-27 16:40:43 -05:00
Michael Jerris 7f5af042be FS-8814: fix build on older libedit 2016-02-09 12:38:40 -06:00
Ken Rice 1b28dadc16 FS-8808 #resolve fixed ^D in fs_cli with editline to delete char under cursor, not just backspace 2016-02-08 12:42:41 -06:00
Anthony Minessale c4cea0cf44 FS-8787 #resolve [fs_cli prompt modifications] 2016-01-27 12:01:14 -06:00
Anthony Minessale 26bed941b3 FS-8160 Additional vulnerability in json parsing malformed utf encoded chars discovered by Brian Martin - Tenable Security Response CVE-2015-7392 2015-11-19 13:45:04 -06:00
Mike Jerris 4cd0288034 Merge pull request #519 in FS/freeswitch from ~MBRANCA/freeswitch:bugfix/FS-8248-python-esl-bindings-are-installed to master
* commit 'f5441a09f8f0c20750b1f9762d361d6f1a2f19c8':
  FS-8248 put python binaries into site arch path
2015-11-09 13:52:41 -06:00
Artur Kraev 54be6fc573 ESL-111 Fix esl/python/Makefile to create install directory
This need when using make install DESTDIR=...
2015-10-29 23:27:54 +03:00
matteo brancaleoni f5441a09f8 FS-8248 put python binaries into site arch path 2015-09-30 12:43:42 +02:00
Michael Jerris cf892528a1 FS-8160: properly handle malformed json when parsing json with \u at the end of a json string 2015-09-14 17:56:55 -04:00
Mike Jerris 46c0d05216 FS-7966: fix more msvc 2015 build warnings. 2015-09-02 13:07:17 -04: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
Mike Jerris 288c62576f FS-7966: fix more warnings in msvc 2015 build 2015-08-28 17:42:55 -04:00
Mike Jerris 5de2f7d7bd FS-7966: multiple fixes for msvc 2015 build, silence multiple warnings 2015-08-27 18:49:13 -06: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 Jerris 6565473ba0 add dependency so that 'make -C libs/esl/perl perlmod-install' works right 2015-07-29 21:48:08 -05:00
Anthony Minessale 34fd0e9ad8 FS-7769 More features
add var=val member lookup usable wherver member_id is valid in api commands
add bgimg to layouts with api command or config for global setting
fix bug with overlap layouts combined with odd sized layers
improve switch_img_fit to take a modifier for fit, streach or both at once
2015-07-28 19:43:04 -05:00
Michael Giagnocavo f116387443 FS-7644. Change 2013.vcxproj references to 2013 2015-06-18 04:17:53 -06:00
Brian West 54762dd197 update esl swig to swig 2.0 and reswig 2015-06-16 12:43:53 -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
Anthony Minessale d961aad2c2 FS-7604 #resolve 2015-06-02 13:17:04 -05:00
Brian West cd98ec85e2 fix line endings 2015-05-28 12:46:43 -05:00
Michael Jerris 85a5e1db1d FS-7294: Enable -Werror when building with clang compiler 2015-02-17 16:23:53 -05:00
Michael Jerris c36196db3f FS-7180: when using system lua, properly link against renamed library versions on debian for esl luamod 2015-01-20 14:32:36 -05:00
Brian West 1d361b6108 FS-7180: let esl lua module build against lua 5.1 or 5.2 (requires newer swig) 2015-01-20 12:26:57 -06:00
Mike Jerris 4c89075f2d Merge pull request #147 in FS/freeswitch from ~DDRAGIC/freeswitch:feature/FS-7128-fs_cli-ignore-duplicate-lines to master
* commit '2406abdb76a2c6dfb3da364a3997fb6d422e759d':
  FS-7128 fs_cli: ignore duplicate lines in history
2015-01-09 11:52:54 -06:00
Dušan Dragić 959b07c06f FS-7129 fs_cli: add toggle mode to function keys 2015-01-04 00:29:38 +01:00
Dušan Dragić 2406abdb76 FS-7128 fs_cli: ignore duplicate lines in history 2015-01-03 23:46:19 +01:00
Mike Jerris a5f4810c0d Merge pull request #88 in FS/freeswitch from ~DANIELWEBER/freeswitch:FixManaged to master
* commit 'a0d6b642fff4fddf1bd62f39ccf952891c7817e3':
  Fix ManagedEsl.2012.csproj: There is no file 'ESLconnection.2010.cs'.
2014-10-16 11:54:13 -05:00
Michael Jerris acd8d74316 cleanup conditions 2014-10-03 12:48:43 -04:00
Travis Cross 051772e4ae Add fs_cli option to disable use of history file
With this commit, passing -Q to fs_cli will cause fs_cli to not load
or save the command history file (~/.fs_cli_history).  This can be
useful e.g. on read-only systems.

This can also be set in the fs_cli configuration file with the option
`no-history-file`.
2014-09-25 11:07:49 +00:00
Daniel Weber a0d6b642ff Fix ManagedEsl.2012.csproj: There is no file 'ESLconnection.2010.cs'. 2014-09-24 10:16:35 +02:00
Travis Cross 323a3d617c Avoid output of junk text by fs_cli
In some cases where `redisplay()` is called immediately after a
command is run (e.g. `log ...`) we often get a prompt, junk output,
and a second prompt.  This is due to a (known) race.

We believe we're falling afoul of this code in `el_deletestr`:

    if (el->el_line.cursor < &el->el_line.buffer[n])
            return;

Basing the length of text to delete off of the cursor position
resolves the issue of junk text, but the real solution is to eliminate
the race conditions, which will also resolve the sometimes duplicated
prompt.

FS-6764 #resolve

Thanks-to: Nathan Neulinger <nneul@neulinger.org>
2014-08-26 20:18:22 +00:00
Travis Cross 8414c498cf Fix line endings per .gitattributes 2014-08-08 15:24:42 +00:00
Chris Rienzo 9b14633cf3 fs_cli: fix compiler error on CentOS 6 caused by recent short uuid logging change 2014-06-30 17:30:59 -04:00
Michael Jerris 0a6a10f584 FS-6604: fix this same issue in esl too 2014-06-17 12:10:47 -05:00
Jeff Lenk a607c20a94 windows fix for a0e9ddf589 2014-06-08 16:06:32 -05:00
Travis Cross 31186d815b Improve a parameter name for fs_cli
What we momentarily called log-uuid-chars is now better called
log-uuid-length.  Setting log-uuid-length will specify a truncation
length for UUIDs displayed by setting log-uuid.
2014-06-04 16:07:10 +00:00
Travis Cross c015013e5f Add log-uuid-short option to fs_cli
If log-uuid-short is set, or -S is passed to fs_cli, we only display
the first 8 hex digits of the UUID.  The log-uuid-chars option may
instead be set to specify some other truncation length for the UUID.
2014-06-04 12:01:01 +00:00