58 Commits

Author SHA1 Message Date
lazedo
da4fa9bac7
[mod_expr] log errors 2020-09-16 02:13:52 +01: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
Chris Rienzo
517985473a FS-11785 [mod_expr] fix scan-build false positives 2019-07-17 21:49:12 +04:00
Andrey Volk
75a37ba42e FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_expr 2019-07-15 23:39:23 +04: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
lazedo
72335514ee FS_10597: [mod_expr] add logic AND & OR 2017-08-17 02:35:10 +01:00
Sergey Safarov
df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Anthony Minessale
0c3ba1e378 FS-9978: [mod_expr] mod_expr random seed function not working for Windows #resolve 2017-01-25 12:48:07 -06:00
Mike Jerris
46c0d05216 FS-7966: fix more msvc 2015 build warnings. 2015-09-02 13:07:17 -04:00
Mike Jerris
5c59a0159d FS-7966: fix more msvc 2015 warnings. 2015-08-31 17:08:52 -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
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
Brian West
cd98ec85e2 fix line endings 2015-05-28 12:46:43 -05:00
Travis Cross
bca7216fdd Run dos2unix on mod_expr HTML files 2014-12-25 10:38:10 +00:00
Travis Cross
65e678ba1d Fix mod_expr clamp function
The clamp(v,a,b) function wraps v around the interval [a,b).

However prior to this commit, `clamp` was ignoring the third argument
and using the second argument again in its place.  This resulted in a
division by zero.  Hence `clamp` didn't work at all.

Even if the arguments were treated correctly, `clamp` incorrectly
multiplied rather than added whenever v < a.  This would have produced
bogus results.  (Thanks to Shona McNeill for pointing this out.)

Note that as implemented, `clamp` is undefined for b >= a.

These errors are present in the last upstream C version, v2.7.
They've been corrected in the C++ version that upstream now maintains
instead.

Thanks-to: Shona McNeill <prufrax@googlemail.com>

FS-7070 #resolve
2014-12-25 10:18:31 +00:00
Travis Cross
8414c498cf Fix line endings per .gitattributes 2014-08-08 15:24:42 +00:00
Ken Rice
6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Nathan Neulinger
32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
William King
3f2f393a7c If the addr pointer is NULL, better to check first before using it. 2013-06-12 21:24:06 -07:00
Jeff Lenk
dc2c11f13f FS-4768 initial add of vs2012 build support 2012-12-29 14:57:15 -06:00
Ken Rice
c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
Brian West
3734f4cd44 bump copyright date and fix some email and typos from diego. 2011-01-05 10:09:04 -06:00
Jeff Lenk
a87429ac87 Add initial support for VS2010 2010-06-28 15:49:19 -05:00
Michael Jerris
add3ded40a cleanup C reserved identifer violation (JANITOR-3) 2010-04-26 01:30:51 -04:00
Anthony Minessale
886e1ddb4d run indent on the whole tree and update copyright dates in prep for 1.0.5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-06 03:38:24 +00:00
Stefan Knoblich
c70f2d7e9f Avoid building static version of modules (e.g. mod_enum.a) by adding the "-shared" libtool option.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16225 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-10 00:27:48 +00:00
Brian West
21e3bb970a if space
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15893 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 01:20:26 +00:00
Michael Jerris
aad61cadd4 move mod_expr to use automake
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15813 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-07 07:14:34 +00:00
Michael Jerris
bd6082c923 fix --srcdir build for mod_expr (FSBUILD-211)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15711 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-29 08:28:28 +00:00
Anthony Minessale
df7637f687 change switch_strlen_zero to zstr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-23 16:03:42 +00:00
Brian West
22df29b568 corrections thanks diego
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14042 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-30 02:12:35 +00:00
Michael Jerris
bcd991e90f dos2unix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13477 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-27 23:23:29 +00:00
Michael Jerris
4212af498b build: build path cleanups (FSBUILD-130)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12490 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-06 19:27:14 +00:00
Michael Jerris
bbdf4744aa inital work on x64 windows build (FSBUILD-125)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12215 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-21 00:56:56 +00:00
Brian West
babb2f83f5 update copyright
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:37:37 +00:00
Brian West
ae220d3341 update email
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-04 21:20:54 +00:00
Michael Jerris
f73250c6d1 tweak for solaris
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 16:59:27 +00:00
Michael Jerris
5c5d03bcdc FSCORE-253 work around netbsd failures
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10762 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-15 03:28:23 +00:00
Anthony Minessale
b3720e9b10 fix endless loop in mod_expr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9217 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-01 16:00:55 +00:00
Michael Jerris
64997c4d8e vim extendtab is bad
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8894 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-03 19:12:26 +00:00
Anthony Minessale
f930eaeec7 indent pass 2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8689 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 04:54:52 +00:00
Brian West
131863171f cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-15 23:23:59 +00:00
Michael Jerris
ee70dcd1d2 tweak windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7558 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-08 18:26:34 +00:00
Brian West
b0ad7ab50c set tab mode properly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7500 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-03 22:14:57 +00:00
Michael Jerris
2737686af5 build cleanup.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6824 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-16 01:56:20 +00:00
Michael Jerris
54ec86f6ce use switch_snprintf instead of snprintf becuase in insures null termination of strings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6707 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 21:53:32 +00:00
Michael Jerris
8fd67f8779 cleanup, null checks. etc.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6695 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 03:21:14 +00:00