file
13fbf56ca2
Include string compatibility file in hashtest2.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82235 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-11 13:46:08 +00:00
file
86db19ffc0
Include compat.h to hopefully make it compatible with FreeBSD.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82234 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-11 13:41:03 +00:00
file
3c5783a144
Fix building under FreeBSD. Make sure alloca.h exists before including it.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82233 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-11 13:37:26 +00:00
murf
32f5cd5202
Committing my test for astobj2, hashtest2.c, along with makefile changes in utils.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82140 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-10 16:59:18 +00:00
murf
88e10708c5
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.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81361 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-29 20:55:40 +00:00
murf
ddcd4809bf
fix up the MODULEINFO in conf2ael.c as well
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80748 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-24 15:42:25 +00:00
russell
181ac01389
Merged revisions 80722 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r80722 | russell | 2007-08-24 10:28:05 -0500 (Fri, 24 Aug 2007) | 3 lines
Tweak the formatting of this MODULEINFO block. I think this would have caused
a "*" to get in the menuselect-tree file.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80725 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-24 15:29:16 +00:00
murf
02ba9efa48
Merged revisions 80717 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r80717 | murf | 2007-08-24 08:48:49 -0600 (Fri, 24 Aug 2007) | 1 line
This change addresses JerJer's complaint that aelparse builds and installs even if pbx_ael is unchecked in the menuselect stuff.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80718 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-24 14:55:34 +00:00
russell
b80981fc9e
Ensure that the object code for ast_atomic_fetchadd_int() gets included in the
...
check_expr binary when building with LOW_MEMORY defined.
(reported by Brian Capouch on the asterisk-dev list, patch by me)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80262 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-22 16:27:39 +00:00
murf
a295b03cb1
Stephn Davies reports that this will help make things work on 64-bit machines
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80075 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-20 17:37:36 +00:00
murf
0bd0ded5c0
pval.c should not be in svn, in the utils dir
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80037 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-20 15:27:35 +00:00
file
f5d4c789d6
Bring pval.c in utils up to date with pval.c in res/ael.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80033 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-20 15:10:55 +00:00
file
5971b5afa1
(closes issue #10496 )
...
Reported by: caio1982
Fix building on OSX.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79989 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-20 00:38:20 +00:00
tilghman
3ee21aac93
Add strcompat dependency for check_expr (needed for platforms that don't have strndup)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79980 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-19 14:17:30 +00:00
murf
0fb9c73a98
Many thanks to mvanbaak for his update to translate hints; I added the -d option for local testing purposes. This is from bug 10472
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79736 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-16 19:40:28 +00:00
murf
479ad31fdb
mvanbaak asks: why did you include that twice? Answer: dunno. removed redundant include
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79719 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-16 17:34:50 +00:00
murf
ceda4a6aec
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.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79714 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-16 16:50:58 +00:00
file
fc904a4a1d
Make conf2ael build on 64-bit systems.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79687 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-16 15:27:33 +00:00
tilghman
6cead1571e
Missing from murf's last trunk commit, which was why trunk won't compile
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79623 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-15 21:25:13 +00:00
murf
e897b4499e
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.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79595 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-15 19:21:27 +00:00
murf
66add1d2ba
Merged revisions 79255 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r79255 | murf | 2007-08-13 11:49:54 -0600 (Mon, 13 Aug 2007) | 1 line
This patch fixes bug 10411. I added a new regression test, some regression test cleanups
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79392 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-14 14:32:21 +00:00
russell
595d13f876
Add another big set of doxygen documentation improvements from snuffy.
...
(closes issue #9892 )
(closes issue #10395 )
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@78541 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-07 23:04:01 +00:00
file
b758097d02
Merged revisions 77869 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r77869 | file | 2007-08-01 14:56:59 -0300 (Wed, 01 Aug 2007) | 2 lines
Add some fixes for building on Solaris.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77870 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-01 18:01:33 +00:00
murf
cdfb9990ad
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.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@75400 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-17 19:40:29 +00:00
murf
c66181df61
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.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73449 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05 18:15:22 +00:00
murf
9e3b3287a4
Merged revisions 72933 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r72933 | murf | 2007-07-02 14:16:31 -0600 (Mon, 02 Jul 2007) | 1 line
support for floating point numbers added to ast_expr2 $\[...\] exprs. Fixes 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/trunk@72940 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 21:50:15 +00:00
murf
1de82b08fc
Merged revisions 67526 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r67526 | murf | 2007-06-05 15:30:18 -0600 (Tue, 05 Jun 2007) | 1 line
this fixes bug 9883, wherein macros were not allowing the includes construct. fixed and tested, looks OK. Now includes can serve as an adjunct to catch.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67529 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-05 22:04:22 +00:00
murf
63bdd09ee4
Merged revisions 59145 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r59145 | murf | 2007-03-22 08:40:53 -0600 (Thu, 22 Mar 2007) | 1 line
The stuff in utils was compiling with -O6 even if DONT_OPTIMIZE is set in menuconfig. Added the include to fix that
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@59146 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-22 14:48:09 +00:00
murf
40b2713d84
Merged revisions 57426 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r57426 | murf | 2007-03-01 22:21:36 -0700 (Thu, 01 Mar 2007) | 1 line
I almost had comma escapes right, but 9184 points out the problem-- the 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/trunk@57438 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-02 05:57:06 +00:00
murf
d43fdf4f8a
Merged revisions 52052 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r52052 | murf | 2007-01-24 11:26:22 -0700 (Wed, 24 Jan 2007) | 9 lines
Merged revisions 52002 via svnmerge from
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/trunk@52053 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-24 18:39:49 +00:00
kpfleming
d8e7fcf209
Merged revisions 49676 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49676 | kpfleming | 2007-01-05 16:16:33 -0600 (Fri, 05 Jan 2007) | 2 lines
reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most cases
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49678 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-05 22:43:18 +00:00
murf
b9f48ef3a2
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.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@49019 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-28 17:56:21 +00:00
kpfleming
02448f47eb
Merged revisions 48554 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48554 | kpfleming | 2006-12-18 05:59:24 -0600 (Mon, 18 Dec 2006) | 3 lines
remove some now-unnecessary explicit includes of autoconfig.h
clean up per-file dependencies during 'make clean'
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48555 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-18 11:59:48 +00:00
kpfleming
7fdeb17c60
Merged revisions 48525 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48525 | kpfleming | 2006-12-16 15:14:34 -0600 (Sat, 16 Dec 2006) | 2 lines
simplify dependency tracking system, using the compiler's built-in method 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/trunk@48527 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-16 21:24:52 +00:00
russell
c8bcf8099a
Merged revisions 47331 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47331 | russell | 2006-11-08 12:03:09 -0500 (Wed, 08 Nov 2006) | 5 lines
I occasionally get email from users that are trying to figure out what this
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/trunk@47332 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-08 17:06:33 +00:00
russell
d0a6280e3e
check for failure after call to calloc() (issue #8295 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47232 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-06 18:05:11 +00:00
file
fd703bef54
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)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47229 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-06 17:05:04 +00:00
murf
2fad9467dc
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.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46541 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-30 23:11:55 +00:00
file
4835baec4c
Merged revisions 46377 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46377 | file | 2006-10-28 12:37:44 -0400 (Sat, 28 Oct 2006) | 2 lines
Don't build muted on OpenBSD, it is not supported.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46378 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-28 16:39:40 +00:00
russell
217ac79e02
Merged revisions 46067 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46067 | russell | 2006-10-23 21:27:42 -0400 (Mon, 23 Oct 2006) | 7 lines
In muted.c, check the return value of strdup. In ael_main.c, check the return
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/trunk@46068 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-24 01:28:45 +00:00
murf
e2c65a7dae
astman was slightly weirding out over the new Dial and Newcallerid events
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@45712 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-19 19:32:25 +00:00
kpfleming
58f87fa327
Merged revisions 44436 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44436 | kpfleming | 2006-10-04 20:42:06 -0500 (Wed, 04 Oct 2006) | 2 lines
this change was correct, the old version is no longer needed
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44437 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-05 01:43:02 +00:00
rizzo
ec4d3f904f
correct libraries for astman, at least so i think...
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44410 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04 22:52:35 +00:00
kpfleming
a8442c9b22
Merged revisions 44055 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44055 | kpfleming | 2006-09-29 17:47:40 -0500 (Fri, 29 Sep 2006) | 2 lines
fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44056 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29 22:48:43 +00:00
kpfleming
170dae49be
Merged revisions 43996-43997,44008,44011-44012 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r43996 | kpfleming | 2006-09-29 11:47:05 -0500 (Fri, 29 Sep 2006) | 2 lines
another cross-compile fix
........
r43997 | kpfleming | 2006-09-29 11:52:27 -0500 (Fri, 29 Sep 2006) | 2 lines
support --without-curl in configure script
........
r44008 | kpfleming | 2006-09-29 13:25:49 -0500 (Fri, 29 Sep 2006) | 2 lines
don't abuse CFLAGS and LDFLAGS for build of Asterisk components, because they are also then used for non-Asterisk components (like menuselect); use our own variables instead
........
r44011 | kpfleming | 2006-09-29 13:40:17 -0500 (Fri, 29 Sep 2006) | 2 lines
missed one conversion to ASTCFLAGS
........
r44012 | kpfleming | 2006-09-29 13:49:07 -0500 (Fri, 29 Sep 2006) | 2 lines
yet another place where we were not using the correct CFLAGS by default
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44013 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29 18:54:21 +00:00
qwell
d275c13edc
be a little more consistent with our variable usage
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43257 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 14:16:12 +00:00
qwell
d4544fc830
Change the includes to work on FreeBSD
...
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-18 22:35:40 +00:00
qwell
fe9ed45b05
Many Solaris fixes - this moves some of the stuff from utils.c to strcompat.c
...
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-15 17:16:00 +00:00
kpfleming
0439aaa76a
more makefile tweaks to keep targets from being run when they don't need to be
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42505 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-09 03:27:21 +00:00
russell
1a0e185890
suppress compiler warning
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41271 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29 13:48:15 +00:00
murf
320436acc4
My apologies, I missed the compiler warning in a previous commit for the 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-28 15:31:14 +00:00
kpfleming
0ba6df7e01
GNU make already knows how to quietly ignore non-existent files in 'include' directives
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41209 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-26 23:58:47 +00:00
murf
5c397dd961
Changes to fix all problems reported in 7804 are included here.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41150 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-25 20:43:51 +00:00
file
a5ab970080
Another compile time warning bites the dust
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40820 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-22 02:30:38 +00:00
kpfleming
683bb1cd0f
build muted by default, since there is no Makefile target for it anymore
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40770 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 14:45:58 +00:00
kpfleming
8b0c007ad9
merge new_loader_completion branch, including (at least):
...
- 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-21 02:11:39 +00:00
murf
0d42de398c
added a -q for quiet, option to aelparse
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39543 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-11 21:30:03 +00:00
murf
22ade97588
This commit adds the enhancemnt per bug 7606, adding
...
the -w option to aelparse.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39431 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-09 01:17:47 +00:00
kpfleming
661a4f572c
use LDFLAGS and LIBS properly, and allow dependencies to provide LDFLAGS if needed (although none do today)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37653 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-15 16:40:05 +00:00
russell
8cb5683206
pointer signedness warnings
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37302 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07 16:20:28 +00:00
kpfleming
e319f5334e
make the build output less noisy (optional, can be controlled by the 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-07-06 23:18:45 +00:00
russell
9b1d7f9fa8
- convert the 'uninstall' target to use separate targets to process each
...
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 15:38:13 +00:00
russell
ddb0e59eb0
- specify that 'depend' is a .PHONY target
...
- 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 15:08:08 +00:00
russell
0bb78235cb
- specify that 'all' is a .PHONY target
...
- 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-22 14:09:18 +00:00
russell
b70a7c6a7c
add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targets
...
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-22 11:27:03 +00:00
kpfleming
e456018965
minor fix
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33869 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-13 15:11:29 +00:00
russell
f352569f79
don't use ast_copy_string when building for an external tool
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33423 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-10 04:41:34 +00:00
russell
c299dc314b
don't redefine PATH_MAX
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33422 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-10 04:38:04 +00:00
russell
44ee84a182
convert a few more uses of AST_CONFIG_MAX_PATH to use PATH_MAX
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33421 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-10 04:34:48 +00:00
kpfleming
cbd3156f72
move autoconfig.h to the include/asterisk directory so it will get installed
...
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-07 19:05:35 +00:00
kpfleming
73c525e6e2
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 18:54:56 +00:00
kpfleming
bb0b421ea8
use module names, not file names, in menuselect
...
work around XML parsing bug in menuselect for default sounds package
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32407 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-05 20:46:27 +00:00
file
2290704127
Be gone foul Makefile usage! er I mean use the correct variable... UTILS instead of TARGET. (issue #7239 reported by casper)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30805 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-30 16:23:34 +00:00
kpfleming
2671db4051
don't force the compiler name
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30012 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-24 18:18:14 +00:00
russell
e9b1b115e3
fix the build of func_realtime and aelparse with MTX_PROFILE enabled
...
(issue #7187 , #7188 , casper)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28895 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 00:41:36 +00:00
russell
4a2c61fdc8
we have to build local copies of aelflex.o, aelbison.o, and pbx_ael.o as well
...
to make sure aelparse doesn't use versions of these objects compiled with astmm
support (issue #7122 )
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28796 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19 19:46:10 +00:00
russell
52c9e41ded
Merged revisions 28790 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r28790 | russell | 2006-05-19 15:18:41 -0400 (Fri, 19 May 2006) | 3 lines
fix the build of smsq with -Werror. I learned something new about format
strings from this patch! (issue #7141 , Mithraen)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28791 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19 19:19:27 +00:00
tilghman
df142b8142
Don't try to build aelparse if pbx_ael is disabled in menuselect (otherwise the build breaks)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25654 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 16:47:49 +00:00
kpfleming
7dade312ab
remove incorrect Makefile rule that was causing aelparse to be rebuilt unnecessarily
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25566 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 14:43:49 +00:00
kpfleming
dff3da58c2
don't let make use implicit rules for bison/flex output files
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25565 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 14:34:32 +00:00
russell
ea05e09317
instead of just building local object files for ast_expr2.o and ast_expr2f.o,
...
actually link to them as well
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24213 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 17:17:19 +00:00
russell
f2062e9c84
The build of aelparse was still broken in some cases, so instead of having to
...
keep figuring out workarounds for build issues on various platforms, just go
ahead and remove what started all of this. Two instances of ast_calloc have
been changed to calloc in pbx/ael/ael.y.
ast_copy_string isn't actually needed here because the only place it is used is
in ast_expr2f.c. However, the utils Makefile already builds its own
ast_expr2f.o with -DSTANDALONE, which makes it use strncpy instead of
ast_copy_string.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24115 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 03:03:27 +00:00
rizzo
8eb09360b1
add missing functions - see the comment in the file explaining
...
in detail why this is needed and that hopefully this is a
temporary workaround.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24020 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01 20:44:26 +00:00
russell
6decaec170
make sure non-inlined versions of ast_copy_string and _ast_calloc are available
...
in the cases where they are needed (issue #7054 )
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23984 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01 19:23:43 +00:00
kpfleming
7313590690
simplify CFLAGS handling for subdirectories
...
don't put paths into the include search path when they are not needed
don't auto-rebuild the AEL bison/flex output based on make dependencies (the generated files are already checked in, and the timestamps generated by a checkout will usually cause them to be overwritten)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23582 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 11:40:06 +00:00
kpfleming
c228e657ce
and now with the correct filenames
...
add basic support for checking for C compiler attribute support
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23380 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 15:31:45 +00:00
kpfleming
c197a96d0f
add the other two files that should have been on this target... oops
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23378 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 15:15:21 +00:00
kpfleming
4e767760c8
fix up dependencies for aelparse so that bison/flex will not be run to rebuild source files (that should _only_ be done manually)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23354 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 14:48:32 +00:00
rizzo
d87a3b0d91
uncomment some functions in the flex code that were actually
...
used in the bison code - detected by making aelparse compile
again.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22702 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 00:05:05 +00:00
kpfleming
6baa8fbab8
Merge Steve Murphy's (murf) complete re-implementation of AEL, which is now no longer considered experimental :-)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22273 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24 17:41:27 +00:00
kpfleming
29f496ef12
Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24 17:11:45 +00:00
rizzo
08c77ea86d
add 'show threads' and 'show profile' commands.
...
These are momstly debugging tools for developers,
a bit documented in the header files (utils.h),
although more documentation is definitely necessary.
The performance impact is close to zero(*) so there is no
need to compile it conditionally.
(*) not completely true - thread destruction still needs
to search a list _but_ this can be easily optimized if we
end up with hundreds of active threads (in which case, though,
the problem is clearly elsewhere).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19544 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-12 20:40:46 +00:00
oej
7a3d9bbdd0
Update to code documentation and developer guidelines.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16161 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-29 17:09:33 +00:00
kpfleming
eed38bf1f8
remove file for testing
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9994 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14 19:37:19 +00:00
kpfleming
8f9a21a235
test pre-commit script
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9993 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14 19:28:07 +00:00
kpfleming
e217105bfc
ensure that dependencies are rebuilt after 'make update' so that builds don't break when files are removed/renamed
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9691 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-12 16:52:42 +00:00
mogorman
4ef13bdcda
Allows for user to uninstall asterisk binaries
...
bug 6177
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01 18:39:41 +00:00
russell
b902e3122f
don't leak almost 200 bytes for each new channel and store the active
...
channel list using the linked list macros (issue #6330 )
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8618 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-25 05:37:29 +00:00
russell
a1447ba856
remove redundant CFLAGS for BSD which are already set in the main Makefile (issue #6250 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8101 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-16 17:51:35 +00:00
russell
d0bde5055e
Merged revisions 7404,7406,7425,7427,7429-7430 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r7404 | tilghman | 2005-12-08 18:32:08 -0500 (Thu, 08 Dec 2005) | 2 lines
Documenting two keywords that were previously missing
........
r7406 | tilghman | 2005-12-08 18:45:36 -0500 (Thu, 08 Dec 2005) | 2 lines
Bug 5960
........
r7425 | bweschke | 2005-12-10 13:10:50 -0500 (Sat, 10 Dec 2005) | 4 lines
Bug #5877
Make sure the digit string from E&M wink DNIS collection is properly null terminated as it grows.
........
r7427 | tilghman | 2005-12-10 20:15:15 -0500 (Sat, 10 Dec 2005) | 2 lines
Bug 5967
........
r7429 | tilghman | 2005-12-10 20:26:51 -0500 (Sat, 10 Dec 2005) | 2 lines
Bug 5965 - major bug in AST_LIST_REMOVE
........
r7430 | russell | 2005-12-11 01:08:56 -0500 (Sun, 11 Dec 2005) | 2 lines
silence a couple of compiler warnings about pointer signedness
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7431 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-11 06:17:36 +00:00