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
Michael Jerris
4110f73cf3
add msvc 2008 sln/project files
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6690 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 01:40:13 +00:00
Anthony Minessale
85d374dbd7
minor tweaks
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6496 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-04 18:10:04 +00:00
Michael Jerris
e5ae5e5c75
don't directly include malloc.h, it doesn't exist on some platforms
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6252 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-13 23:24:36 +00:00
Michael Jerris
9d8c15e34b
fix build error on OsX 10.5
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6251 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-13 23:18:52 +00:00
Michael Jerris
89ecc93992
dos2unix
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6242 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-13 20:23:26 +00:00
Anthony Minessale
2372dcddd6
add regex api func
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6193 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-09 15:26:32 +00:00
Michael Jerris
8fb47f8878
add mod_expr to the windows build.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6190 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-09 00:43:21 +00:00
Anthony Minessale
713afbd975
add some logic tools
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6189 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-08 23:46:26 +00:00