Commit Graph

219 Commits (b148e15762f39bded9b10aee463cdf906efa1e8c)

Author SHA1 Message Date
Steve Murphy e5fa15d812 more stub routines to allow linkage in stand-alone environment, with thread debugs turned on
18 years ago
Steve Murphy 65786f15fa more stub routines to allow linkage in stand-alone environment, with thread debugs turned on
18 years ago
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
19 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
Russell Bryant 283b1bdeb3 Merged revisions 46067 via svnmerge from
19 years ago
Steve Murphy d752a6e521 astman was slightly weirding out over the new Dial and Newcallerid events
19 years ago
Kevin P. Fleming cd0457d14e Merged revisions 44436 via svnmerge from
19 years ago
Luigi Rizzo d16122c826 correct libraries for astman, at least so i think...
19 years ago
Kevin P. Fleming e92c34cc38 Merged revisions 44055 via svnmerge from
19 years ago
Kevin P. Fleming 89050169c8 Merged revisions 43996-43997,44008,44011-44012 via svnmerge from
19 years ago
Jason Parker 8699205857 be a little more consistent with our variable usage
19 years ago
Jason Parker 9177d1143b Change the includes to work on FreeBSD
19 years ago
Jason Parker f18cbf77df Many Solaris fixes - this moves some of the stuff from utils.c to strcompat.c
19 years ago
Kevin P. Fleming be29512d1e more makefile tweaks to keep targets from being run when they don't need to be
19 years ago
Russell Bryant 1627052cf1 suppress compiler warning
19 years ago
Steve Murphy d5572fac38 My apologies, I missed the compiler warning in a previous commit for the ael_main.c;
19 years ago
Kevin P. Fleming d12f54f90b GNU make already knows how to quietly ignore non-existent files in 'include' directives
19 years ago
Steve Murphy 51132bbdbf Changes to fix all problems reported in 7804 are included here.
19 years ago
Joshua Colp fbe03b3f30 Another compile time warning bites the dust
19 years ago
Kevin P. Fleming 53b1c97c9a build muted by default, since there is no Makefile target for it anymore
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Steve Murphy 1d2b76a0f8 added a -q for quiet, option to aelparse
19 years ago
Steve Murphy f56d340b1c This commit adds the enhancemnt per bug 7606, adding
19 years ago
Kevin P. Fleming 396ef6f9e7 use LDFLAGS and LIBS properly, and allow dependencies to provide LDFLAGS if needed (although none do today)
19 years ago
Russell Bryant bb628eac98 pointer signedness warnings
19 years ago
Kevin P. Fleming 4f826452cf make the build output less noisy (optional, can be controlled by the NOISY_BUILD variable in the top-level Makefile)
19 years ago
Russell Bryant 48ae9f0d4f - convert the 'uninstall' target to use separate targets to process each
19 years ago
Russell Bryant 55e8a60363 - specify that 'depend' is a .PHONY target
19 years ago
Russell Bryant 9db0520ff9 - specify that 'all' is a .PHONY target
19 years ago
Russell Bryant c399a06450 add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targets
19 years ago
Kevin P. Fleming 241cd6163a minor fix
19 years ago
Russell Bryant 171992e505 don't use ast_copy_string when building for an external tool
19 years ago
Russell Bryant 89672b86d0 don't redefine PATH_MAX
19 years ago
Russell Bryant 0e140be311 convert a few more uses of AST_CONFIG_MAX_PATH to use PATH_MAX
19 years ago
Kevin P. Fleming 274ce731e2 move autoconfig.h to the include/asterisk directory so it will get installed
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
19 years ago
Kevin P. Fleming e856010714 use module names, not file names, in menuselect
19 years ago
Joshua Colp 3872b97683 Be gone foul Makefile usage! er I mean use the correct variable... UTILS instead of TARGET. (issue #7239 reported by casper)
19 years ago
Kevin P. Fleming 0661a76fc7 don't force the compiler name
19 years ago
Russell Bryant 3d022d073a fix the build of func_realtime and aelparse with MTX_PROFILE enabled
19 years ago
Russell Bryant 4a8ed5c136 we have to build local copies of aelflex.o, aelbison.o, and pbx_ael.o as well
19 years ago
Russell Bryant c91382a0a0 Merged revisions 28790 via svnmerge from
19 years ago
Tilghman Lesher 9d07a0ffc6 Don't try to build aelparse if pbx_ael is disabled in menuselect (otherwise the build breaks)
19 years ago
Kevin P. Fleming b4b36d6b83 remove incorrect Makefile rule that was causing aelparse to be rebuilt unnecessarily
19 years ago
Kevin P. Fleming a4e7ae1537 don't let make use implicit rules for bison/flex output files
19 years ago
Russell Bryant 7c46ef67ad instead of just building local object files for ast_expr2.o and ast_expr2f.o,
19 years ago
Russell Bryant 34e0ae0e6a The build of aelparse was still broken in some cases, so instead of having to
19 years ago
Luigi Rizzo e635b463fc add missing functions - see the comment in the file explaining
19 years ago
Russell Bryant d2e78c7b35 make sure non-inlined versions of ast_copy_string and _ast_calloc are available
19 years ago
Kevin P. Fleming 7343d311f1 simplify CFLAGS handling for subdirectories
19 years ago
Kevin P. Fleming 3878a2a9fb and now with the correct filenames
19 years ago
Kevin P. Fleming 24f241bc72 add the other two files that should have been on this target... oops
19 years ago