70 Commits

Author SHA1 Message Date
Michael Jerris
7efeb68228 code analysis for hash functions.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7404 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-28 09:27:01 +00:00
Michael Jerris
284d03e5e1 code analysis, bounds checks, buffer overrun fixes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-28 08:47:55 +00:00
Michael Jerris
482badffca code analysis, clean up asserts related to switch_core_session_get_channel.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7402 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-28 07:26:10 +00:00
Michael Jerris
d11c261718 fix build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7400 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-28 01:18:18 +00:00
Brian West
84161010ab cleanup and consistency.. blah rain @ PHX fun
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7396 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-27 20:01:02 +00:00
Michael Jerris
235ac6ea53 for msvc 2005 team edition.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7019 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-29 17:56:42 +00:00
Michael Jerris
d603e22551 whoops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6957 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-22 02:20:53 +00:00
Michael Jerris
e3c48c6ac1 add more function details for code analysis.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6911 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-20 03:07:00 +00:00
Michael Jerris
899b5fd066 add functions param details for msvc code analysis.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6902 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-19 15:36:07 +00:00
Michael Jerris
ccffaad03c fix msvc build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6692 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 02:10:52 +00:00
Michael Jerris
2fcd93c6fc cleanup some macros a bit more.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6665 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 20:25:15 +00:00
Michael Jerris
71de88d574 add macro for assert to satisfy the code analysis tools.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6651 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 17:18:22 +00:00
Michael Jerris
14608093b1 add new macros and approach to module loader.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5337 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 14:35:55 +00:00
Michael Jerris
90d2d377e2 msvc odbc build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4854 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-05 10:07:25 +00:00
Michael Jerris
92d726b995 use int64_t internally for storage of time_t values in the scheduler because at least then we know what format string to use to print them, and they are often that type anyways.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4802 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 01:40:50 +00:00
Michael Jerris
6ba96a7913 spring cleaning on msvc build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4801 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 01:22:45 +00:00
Anthony Minessale
c15d7892c0 indent again
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:15:25 +00:00
Anthony Minessale
debdfb1aab indent
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4798 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 00:13:31 +00:00
Anthony Minessale
3a54126261 spring cleaning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 22:31:56 +00:00
Michael Jerris
bc8a4855a6 use autoconf determined time_t printf format specifier
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4787 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 04:08:18 +00:00
Michael Jerris
8d0a8690c2 use _snprintf instead of switch_snprintf on windows for now.. snprintf seems to be having issues handling anything that uses the #define'd format strings for time t and 64 bit ints on windows.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4621 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-16 21:03:38 +00:00
Michael Jerris
d212e1ab5c add some missing headers on bsd builds.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4503 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-10 20:50:20 +00:00
Michael Jerris
42e78242a3 add wrapper code to fully encapsulate apr, apr-utils, pcre, and sqlite. fully use switch_ namespace in modules, create our own format and type defines. follow up commit for unix autotools coming soon after this. PLEASE NOTE: you will NEED to do a make megaclean and run configure again after this update (and the following commit) or it will not build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4494 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 20:44:13 +00:00
Michael Jerris
4ae10379f2 add windows build for mod_xml_cdr. This probably also fixes the build on several non-linux systems.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4309 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-17 06:55:43 +00:00
Michael Jerris
2aa5aa4fe7 get rid of disabling of some warnings on windows, because we don't have those warnings anymore. Document the others that we have disabled.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4227 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 06:08:28 +00:00
Michael Jerris
0a5b02999c add PRINTF_FUNCTION specifier to printf like functions to let gcc tell us when we are using the wrong format specifiers on these functions. Suggested by <MrEIso> via irc.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4224 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 03:17:19 +00:00
Michael Jerris
f359f847f7 fix magic emacs and vi formatting comments in the bottom of our source files to use tabs instead of spaces
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4176 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 02:36:03 +00:00
Michael Jerris
f82b80b57c tweak ifdef for _MSC_VER instead of WIN32
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3731 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 19:41:07 +00:00
Anthony Minessale
81452c2679 autodroolz
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3707 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 00:41:20 +00:00
Anthony Minessale
d7400bf319 build changed
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3690 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 00:48:34 +00:00
Anthony Minessale
44cc7d5cfe build progress break everything
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3682 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-17 01:01:09 +00:00
Michael Jerris
44649c70b4 Add magic comments for emacs and vi in source and header files to properly format and display tabs vs. spaces in those editors:
/* For Emacs:
 * Local Variables:
 * mode:c
 * indent-tabs-mode:nil
 * tab-width:4
 * c-basic-offset:4
 * End:
 * For VIM:
 * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab:
 */


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-27 22:30:48 +00:00
Michael Jerris
f64ae18ac6 add endian defines on MSVC
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3088 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-19 01:21:17 +00:00
Michael Jerris
10e3b22f8a use our inline macro, really
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2649 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-12 03:14:52 +00:00
Anthony Minessale
086676f6e9 what comes up must come down
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2555 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 15:15:39 +00:00
Anthony Minessale
a4c778a00c fix namespace
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2548 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-07 14:23:31 +00:00
Michael Jerris
1bfe008b7f add inline macro for msvc for upcoming inline functions.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2481 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-02 18:33:29 +00:00
Michael Jerris
ae380d58ec Update to new build system for windows.
This fixes several issues when debugging code in the ide, and does better dependency tracking.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2317 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-08-17 19:58:55 +00:00
Michael Jerris
e80c5808fb fix windows issue when building with C++.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2074 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-24 06:48:01 +00:00
Michael Jerris
85d442615e fix C linkage when using templates issue when building C++ modules in msvc that stems from including some windows header files inside of an extern C block, when building with C++.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2070 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-24 04:31:28 +00:00
Michael Jerris
e00f82c550 solaris updates.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1394 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-08 04:07:30 +00:00
Michael Jerris
c1a255075b make sqlite a dynamic lib for msvc.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1349 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-04 16:03:26 +00:00
Michael Jerris
751ca005d3 use macro for EXTERN "C" begin and end lines in header files to clean up the headers, and to eliminate a format bug in emacs.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1291 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-28 20:04:08 +00:00
Michael Jerris
a70b4a15a6 silence warning on msvc
C4132: 'object' : const object should be initialized
This is firing when there is a prototype for a const object declared later in the file.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1259 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-26 17:07:39 +00:00
Michael Jerris
f2812dbcea fix build on msvc when building with non-english default codepage (strange carachters in a spidermonkey header file)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1197 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-19 16:30:51 +00:00
Michael Jerris
9ac4da17f6 add stdio.h include for msvc, remove truncating cast warning, change to dynamic runtime on msvc. You can not pass FILE * between mods with differrent runtimes on msvc.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1125 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-12 15:25:26 +00:00
Michael Jerris
7f03b92fe6 switch_rtp windows tweaks and type changes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1026 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-04 04:15:39 +00:00
Michael Jerris
32817ef343 msvc tweaks, more to come.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1018 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-03 22:58:40 +00:00
Anthony Minessale
828e03715f try out new builtin RTP using srtp lib
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1012 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-03 21:00:13 +00:00
Michael Jerris
f8ec13115a win32 build tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1008 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-02 06:28:02 +00:00