Commit Graph

98 Commits (12a8ae6c91d238e169c5aafd9988393143b84080)

Author SHA1 Message Date
Mark Michelson 3a6e79ad80 Fixes Solaris build warnings
18 years ago
Joshua Colp 56e74f0dde (closes issue #10603)
18 years ago
Tilghman Lesher f8c93488d5 Fix documentation for Set (closes issue #10549)
18 years ago
Steve Murphy 9836efb5fb This commit closes bug 7605, and half-closes 7638. The AEL code has been redistributed/repartitioned to allow code re-use both inside and outside of Asterisk. This commit introduces the utils/conf2ael program, and an external config-file reader, for both normal config files, and for extensions.conf (context, exten, prio); It provides an API for programs outside of asterisk to use to play with the dialplan and config files.
18 years ago
Russell Bryant 668a334f85 Add another big set of doxygen documentation improvements from snuffy.
18 years ago
Joshua Colp 1e4bd7a192 Instead of adding the SOLARIS check to each HAVE_SYSINFO check let's just make the sysinfo autoconf logic a bit pickier about what it considers a usable sysinfo.
19 years ago
Joshua Colp a7aaa0bbc2 Solaris does not have a sysinfo like we know of on Linux.
19 years ago
Russell Bryant 4e0947c5f1 Convert code that checks the _softhangup member of ast_channel directory to use
19 years ago
Tilghman Lesher 55b1ee298e Merge the dialplan_aesthetics branch. Most of this patch simply converts applications
19 years ago
Russell Bryant f1f72312bb (closes issue #10192)
19 years ago
Tilghman Lesher 81bc1d7af5 Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second
19 years ago
Russell Bryant 9ffd55b6f9 Merged revisions 75403 via svnmerge from
19 years ago
Joshua Colp 344e6fd016 Change the function name slightly... just for kpfleming!
19 years ago
Joshua Colp e498488bde For my next trick I will make it so dialplan functions no longer need to call ast_module_user_add and ast_module_user_remove. These are now called in the ast_func_read and ast_func_write functions outside of the module.
19 years ago
Joshua Colp b8cd949cce Applications no longer need to call ast_module_user_add and ast_module_user_remove. This is now taken care of in the pbx_exec function outside of the application.
19 years ago
Steve Murphy 6a4efe5d5a In regards to changes for 9508, expr2 system choking on floating point numbers, I'm adding this update to round out (no pun intended) and make this FP-capable version of the Expr2 stuff interoperate better with previous integer-only usage, by providing Functions syntax, with 20 builtin functions for floating pt to integer conversions, and some general floating point math routines that might commonly be used also. Along with this, I made it so if a function was not a builtin, it will try and find it in the ast_custom_function list, and if found, execute it and collect the results. Thus, you can call system functions like CDR(), CHANNEL(), etc, from within $\[..\] exprs, without having to wrap them in $\{...\} (curly brace) notation. Did a valgrind on the standalone and made sure there's no mem leaks. Looks good. Updated the docs, too.
19 years ago
Russell Bryant d2a85e5f64 After some discussion on the asterisk-dev list, we determined that this approach
19 years ago
Russell Bryant 9aa28d2d3d Add "core dump funcdocs" CLI command
19 years ago
Russell Bryant f1468915c7 change the "core dump appdocs" CLI command to use the new API for creating
19 years ago
Tilghman Lesher 396a37eba8 Fix trunk brokenness; also, optimize application registration
19 years ago
Steve Murphy 2462d5ab4f Cleaning up a small disaster I created earlier
19 years ago
Russell Bryant b179e2155f Convert uses of strdup() to ast_strdup()
19 years ago
Kevin P. Fleming 5fdba27ea2 Merged revisions 69392 via svnmerge from
19 years ago
Jason Parker 63535ada60 Fixes for ast_strlen_zero() janitor project.
19 years ago
Russell Bryant ff4fc97911 Convert pbx.c to use ast_debug() for debug logging.
19 years ago
Russell Bryant 334d8d9dc4 Add channel variable manager event
19 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
19 years ago
Russell Bryant b1490716f6 remove a bogus comment that came from copy/paste
19 years ago
Russell Bryant 605368649e Merge major changes to the way device state is passed around Asterisk. The two
19 years ago
Russell Bryant 4b3a3fb14c Add a new API call for creating detached threads. Then, go replace all of the
19 years ago
Steve Murphy a76ff39c0e Merged revisions 64193 via svnmerge from
19 years ago
Steve Murphy 8e90622210 Merged revisions 62738 via svnmerge from
19 years ago
Steve Murphy fe7068a51b Merged revisions 62689 via svnmerge from
19 years ago
Russell Bryant ec0cae93a4 Merged revisions 62171 via svnmerge from
19 years ago
Russell Bryant 0c9ef3221c Merged revisions 61765 via svnmerge from
19 years ago
Dwayne M. Hubbard 2151e532fe changed #if HAVE_SYSINFO to #if defined(HAVE_SYSINFO)
19 years ago
Dwayne M. Hubbard 6a5f3599bb added HAVE_SYSINFO preprocessor directives for portability and general happiness
19 years ago
Dwayne M. Hubbard 62256ee410 added option_minmemfree for use in asterisk.conf to specify the amount of minimum free memory prior to accepting calls. added CLI 'core show sysinfo' to display system information
19 years ago
Steve Murphy ecaf781933 Merged revisions 60989 via svnmerge from
19 years ago
Steve Murphy 09c0d56c5c Merged revisions 59522 via svnmerge from
19 years ago
Steve Murphy 0f11d3c8c3 Merged revisions 59486 via svnmerge from
19 years ago
Tilghman Lesher 433a7a721c Merged revisions 58946 via svnmerge from
19 years ago
Tilghman Lesher 8c4c5d9910 Fix trunk so that it compiles again
19 years ago
Russell Bryant 1cf3a12047 Merged revisions 58931 via svnmerge from
19 years ago
Steve Murphy 96fe5e2286 Merged revisions 57826 via svnmerge from
19 years ago
Joshua Colp 96693aca99 Don't try to do recursive locking/unlocking when it isn't supported.
19 years ago
Steve Murphy 1220306aab Merged revisions 57473 via svnmerge from
19 years ago
Joshua Colp 5bc0d8d324 Minor code cleanup... nothing to write home about.
19 years ago
Joshua Colp e7b03a991e Convert the PBX core to use read/write locks. This yields a nifty performance improvement when it comes to simultaneous calls going through the dialplan. Using murf's test the old mutex based core took an average of 57.3 seconds while the rwlock based core took 31.1 seconds. That's a nifty 26.2 seconds performance improvement. The other good part is that if we do need to switch back then we just have to change the lock/unlock API calls. I converted everywhere that used to touch the mutex locks directly to use them.
19 years ago
Steve Murphy 462f759e67 Merged revisions 57139 via svnmerge from
19 years ago