Commit Graph

167 Commits (1f21e03746398857e660670a812d259b51d45461)

Author SHA1 Message Date
Tilghman Lesher 7adbd6bb16 Remove redundant includes (patch by snuffy) (Closes issue #10922)
18 years ago
Joshua Colp 648f67d4c8 Fix up tree so that it compiles when MTX Profiling is enabled.
18 years ago
Steve Murphy 0d2ee300e7 OK. THis a DEBUG_THREADS situation.
18 years ago
Steve Murphy e8c8bb4a14 picky gcc versions... sigh.
18 years ago
Steve Murphy db26685460 This mod will allow check_expr to compile in the presence of DEBUG_THREAD situations. At least, it does for me. And it's less expensive than several other approaches I tried.
18 years ago
Russell Bryant 437b439c61 Add some files to the utils directory svn:ignore and Makefile clean target
18 years ago
Tilghman Lesher 1b949d24c0 Fix build of check_expr and hashtest2 when DEBUG_THREADLOCAL is defined
18 years ago
Russell Bryant 9f64905d4e Merged revisions 83432 via svnmerge from
18 years ago
Russell Bryant 99fb378cdc Change the traversal to use ao2_callback() instead of an ao2_iterator. Using
18 years ago
Steve Murphy c88e216a14 This solves an unreported solaris compile problem (missing -lnsl -lsocket).
18 years ago
Steve Murphy 26d739ff5b fixing up the pthread stuff for hashtest2
18 years ago
Joshua Colp 56a31d1d20 Include string compatibility file in hashtest2.
18 years ago
Joshua Colp c81d14226a Include compat.h to hopefully make it compatible with FreeBSD.
18 years ago
Joshua Colp 219470dc43 Fix building under FreeBSD. Make sure alloca.h exists before including it.
18 years ago
Steve Murphy c4133cc03f Committing my test for astobj2, hashtest2.c, along with makefile changes in utils.
18 years ago
Steve Murphy b5cd67adc3 This code was in team/murf/bug8684-trunk; it should fix bug 8684 in trunk. I didn't add it to 1.4 yet, because it's not entirely clear to me if this is a bug fix or an enhancement. A lot of files were affected by small changes like ast_variable_new getting an added arg, for the file name the var was defined in; ast_category_new gets added args of filename and lineno; ast_category and ast_variable structures now record file and lineno for each entry; a list of all #include and #execs in a config file (or any of its inclusions are now kept in the ast_config struct; at save time, each entry is put back into its proper file of origin, in order. #include and #exec directives are folded in properly. Headers indicating that the file was generated, are generated also for each included file. Some changes to main/manager.c to take care of file renaming, via the UpdateConfig command. Multiple inclusions of the same file are handled by exploding these into multiple include files, uniquely named. There's probably more, but I can't remember it right now.
18 years ago
Steve Murphy 088d7ef8bc fix up the MODULEINFO in conf2ael.c as well
18 years ago
Russell Bryant 6814e7b77e Merged revisions 80722 via svnmerge from
18 years ago
Steve Murphy 6419bd36ba Merged revisions 80717 via svnmerge from
18 years ago
Russell Bryant 483c2bad07 Ensure that the object code for ast_atomic_fetchadd_int() gets included in the
18 years ago
Steve Murphy b69734ae09 Stephn Davies reports that this will help make things work on 64-bit machines
18 years ago
Steve Murphy a9f86a939e pval.c should not be in svn, in the utils dir
18 years ago
Joshua Colp 4edcf623f0 Bring pval.c in utils up to date with pval.c in res/ael.
18 years ago
Joshua Colp ab2c114cd7 (closes issue #10496)
18 years ago
Tilghman Lesher 488f6973cd Add strcompat dependency for check_expr (needed for platforms that don't have strndup)
18 years ago
Steve Murphy c0060cd99a Many thanks to mvanbaak for his update to translate hints; I added the -d option for local testing purposes. This is from bug 10472
18 years ago
Steve Murphy c33e2ec2ae mvanbaak asks: why did you include that twice? Answer: dunno. removed redundant include
18 years ago
Steve Murphy c11e482cc8 svn did me dirty for some reason. Left 5 files out of the commit; Tilghman copied them in from the branch, but I had made changes to these. Here they are.
18 years ago
Joshua Colp b10671b0b8 Make conf2ael build on 64-bit systems.
18 years ago
Tilghman Lesher 918348f03c Missing from murf's last trunk commit, which was why trunk won't compile
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
Steve Murphy d9b52497f0 Merged revisions 79255 via svnmerge from
18 years ago
Russell Bryant 668a334f85 Add another big set of doxygen documentation improvements from snuffy.
18 years ago
Joshua Colp d9aee5e353 Merged revisions 77869 via svnmerge from
18 years ago
Steve Murphy 8a7732f067 via 10206, I have added an option (e) to Dial to allow the h exten to get run on peer. Had to upgrade ast_flag stuff to 64 bits to do this.
18 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.
18 years ago
Steve Murphy 94b934c8f6 Merged revisions 72933 via svnmerge from
18 years ago
Steve Murphy 52efde5c65 Merged revisions 67526 via svnmerge from
18 years ago
Steve Murphy 1613b4e58e Merged revisions 59145 via svnmerge from
18 years ago
Steve Murphy 91a9b97a73 Merged revisions 57426 via svnmerge from
18 years ago
Steve Murphy bf0fbdd09b Merged revisions 52052 via svnmerge from
19 years ago
Kevin P. Fleming 87b9abc892 Merged revisions 49676 via svnmerge from
19 years ago
Steve Murphy 6c7f4c1e32 Jason is having problems with the inclusion of <err.h>; it appears to be unnecessary for sucessful builds, so I either removed or commented out the inclusions from all the AEL related code. New outputs from bison/flex are included, etc.
19 years ago
Kevin P. Fleming 920de98f68 Merged revisions 48554 via svnmerge from
19 years ago
Kevin P. Fleming 89c41e2403 Merged revisions 48525 via svnmerge from
19 years ago
Russell Bryant aabf2ce6f0 Merged revisions 47331 via svnmerge from
19 years ago
Russell Bryant 0f621aa13e check for failure after call to calloc() (issue #8295)
19 years ago
Joshua Colp 980ce017ec Add support for manager hooks, so you could fire off manager events over IRC if you were crazy enough. (issue #5161 reported by anthm with mods by moi)
19 years ago
Steve Murphy 6d81c47801 These changes submitted by moy via bug 6992, to add a Dial 'End' event to asterisk. I include some changes to astman to cover other events that have been added.
19 years ago
Joshua Colp 6948019465 Merged revisions 46377 via svnmerge from
19 years ago