aboutsummaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
2007-10-29clean up (and ignore) assembler and preprocessor intermediate files if any ↵kpfleming1-1/+1
are created during the build git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@87463 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-26closes issue #11086 where a user complains that references to following ↵murf1-0/+16
contexts report a problem; The problem was REALLy that he was referring to empty contexts, which were being ignored. Reporter stated that empty contexts should be OK. I checked it out against extensions.conf, and sure enough, empty contexts ARE ok. So, I removed the restriction from AEL. This, though, highlighted a problem with multiple contexts of the same name. This should be OK, also. So, I added the extend keyword to AEL, and it can preceed the 'context' keyword (mixed with 'abstract', if nec.). This will turn off the warnings in AEL if the same context name is used 2 or more times. Also, I now call ast_context_find_or_create for contexts now, instead of just ast_context_create; I did this because pbx_config does this. The 'extend' keyword thus becomes a statement of intent. AEL can now duplicate the behavior of pbx_config, git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@87168 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-21gcc 4.2 has a new set of warnings dealing with cosnt pointers. This set ofrussell1-5/+5
changes gets all of Asterisk (minus chan_alsa for now) to compile with gcc 4.2. (closes issue #10774, patch from qwell) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@83432 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-24Tweak the formatting of this MODULEINFO block. I think this would have causedrussell1-2/+2
a "*" to get in the menuselect-tree file. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@80722 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-24This change addresses JerJer's complaint that aelparse builds and installs ↵murf1-0/+4
even if pbx_ael is unchecked in the menuselect stuff. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@80717 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-13This patch fixes bug 10411. I added a new regression test, some regression ↵murf1-0/+11
test cleanups git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@79255 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-01Add some fixes for building on Solaris.file1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77869 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-11further reversion of previously applied floating point stuff for expr2murf1-4/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74628 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02support for floating point numbers added to ast_expr2 $\[...\] exprs. Fixes ↵murf1-0/+4
bug 9508, where the expr code fails with fp numbers. The MATH function returns fp numbers by default, so this fix is considered necessary. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@72933 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-22The stuff in utils was compiling with -O6 even if DONT_OPTIMIZE is set in ↵murf1-0/+2
menuconfig. Added the include to fix that git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59145 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-02I almost had comma escapes right, but 9184 points out the problem-- the ↵murf1-0/+34
escape is removed by pbx_config, and pbx_ael should also, before sending it down into the pbx engine. Also, you have to insert it back in, if you are generating extensions.conf code from the AEL. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@57426 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-24Merged revisions 52002 via svnmerge from murf2-61/+93
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r52002 | murf | 2007-01-24 10:43:50 -0700 (Wed, 24 Jan 2007) | 1 line updated check_expr via 8322 (refactoring of expression checking impl); elfring contributed a nice code reorg, I contributed some time to get it working again, better messages ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@52052 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-05reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most ↵kpfleming1-1/+7
cases git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49676 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-28removed <err.h> as in trunk from the ael stuff. Also, threw in a minor fix ↵murf1-3/+0
to frame.c to avoid build-killing compiler warnings. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@49020 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-18remove some now-unnecessary explicit includes of autoconfig.hkpfleming3-6/+0
clean up per-file dependencies during 'make clean' git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48554 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-16simplify dependency tracking system, using the compiler's built-in method ↵kpfleming1-12/+5
for generating them, and only doing dependency tracking if developer mode is enabled via the configure script git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@48525 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-08I occasionally get email from users that are trying to figure out what thisrussell1-8/+26
does, or due to some misunderstanding as to what it is supposed to do, can't get it to work. So, I have added some text here to hopefully explain what this application does and does not do. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@47331 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-28Don't build muted on OpenBSD, it is not supported.file1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46377 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-24In muted.c, check the return value of strdup. In ael_main.c, check the returnrussell2-9/+23
value of calloc. (issue #8157) In passing fix a few minor bugs in ael_main.c. The last argument to strncpy() was a hard-coded 100, where it should have been 99. I changed this to use sizeof() - 1. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46067 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-05Hang on a minute, the install process sticks muted.conf in /etc/asterisk, so ↵murf1-1/+1
that's where muted should look for it, right\? git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44465 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-05this change was correct, the old version is no longer neededkpfleming1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44436 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04as far as i can tell astman only uses newt...rizzo1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44409 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29fix a few build system bugs, and convert Makefiles to be compatible with GNU ↵kpfleming1-18/+33
make 3.80 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44055 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29don't abuse CFLAGS and LDFLAGS for build of Asterisk components, because ↵kpfleming1-5/+5
they are also then used for non-Asterisk components (like menuselect); use our own variables instead git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@44008 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19be a little more consistent with our variable usageqwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43257 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18Change the includes to work on FreeBSDqwell2-3/+4
Linux has sys/soundcard.h, which does a #include <linux/soundcard.h> git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43240 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-15Many Solaris fixes - this moves some of the stuff from utils.c to strcompat.cqwell1-3/+5
Every OS uses strcompat now - this was done on purpose. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42982 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-09more makefile tweaks to keep targets from being run when they don't need to bekpfleming1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42505 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29suppress compiler warningrussell1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41271 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-28My apologies, I missed the compiler warning in a previous commit for the ↵murf1-1/+1
ael_main.c; I've fixed this. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41230 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-26GNU make already knows how to quietly ignore non-existent files in 'include' ↵kpfleming1-3/+1
directives git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41209 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-25Changes to fix all problems reported in 7804 are included here.murf2-5/+24
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41150 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-22Another compile time warning bites the dustfile1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40820 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21build muted by default, since there is no Makefile target for it anymorekpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40770 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming3-16/+710
- restructured build tree and makefiles to eliminate recursion problems - support for embedded modules - support for static builds - simpler cross-compilation support - simpler module/loader interface (no exported symbols) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-11added a -q for quiet, option to aelparsemurf1-19/+30
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39543 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-09This commit adds the enhancemnt per bug 7606, addingmurf1-33/+266
the -w option to aelparse. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39431 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-15use LDFLAGS and LIBS properly, and allow dependencies to provide LDFLAGS if ↵kpfleming1-7/+6
needed (although none do today) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37653 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07pointer signedness warningsrussell1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37302 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06make the build output less noisy (optional, can be controlled by the ↵kpfleming1-34/+21
NOISY_BUILD variable in the top-level Makefile) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37273 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22- convert the 'uninstall' target to use separate targets to process eachrussell1-1/+1
subdirectory instead of a for loop - remove the FORCE target from the main Makefile and add the couple places I used it to the .PHONY target. .PHONY does the same thing and is a built-in more efficient way of doing it. - add a bunch more targets to .PHONY ... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35503 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22- specify that 'depend' is a .PHONY targetrussell1-1/+1
- use separate targets instead of a for loop for doing 'make depend' for each sub directory git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35501 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22- specify that 'all' is a .PHONY targetrussell1-2/+2
- add a copyright header to the build_tools Makefile - remove 'depend' from the 'all' target in agi/ and utils/ since it is handled by the main Makefile already git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35479 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-22add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targetsrussell1-0/+2
since they are targets that do not have resulting files and are never listed as prerequisites to real targets. Using .PHONY in this manner improves make performance by never having to check for resulting files. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35415 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-13minor fixkpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33869 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-10don't use ast_copy_string when building for an external toolrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33423 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-10don't redefine PATH_MAXrussell1-2/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33422 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-10convert a few more uses of AST_CONFIG_MAX_PATH to use PATH_MAXrussell1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33421 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07move autoconfig.h to the include/asterisk directory so it will get installedkpfleming3-3/+3
install asterisk.h include the system's default include directory git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32860 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵kpfleming3-0/+7
again :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b