Archived
14
0
Fork 0
Commit graph

8014 commits

Author SHA1 Message Date
rizzo
298249eb17 when compiling ast_expr2 from utils/ the current directory
is utils/ so the compiler fails to find the header which is in ../
(at least on FreeBSD; this works on linux but it may be due to
differences in gmake).
For the time being, fix it by adding -I.. to the includes.
However i think a proper fix is to make sure that ast_expr2
is built using the rules in the top-level makefile instead
of those in the subdirectory.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23535 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 08:35:49 +00:00
rizzo
27f2b805b2 more simplifications in the bison sources,
more annotation with XXX of dubious code.
(The code still passes tests)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23534 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 08:21:46 +00:00
kpfleming
e80d7ce6e3 remove attribute checking... it was an attempt to support older GCC compilers but is not worth the effort :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23514 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 06:50:53 +00:00
russell
d419dcffbb remove unneeded define - it is already in asterisk.h
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23494 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 05:27:57 +00:00
russell
42ab0b1445 convert the dundi_request list to use the list macros
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23493 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 05:24:10 +00:00
russell
06ccc3d745 convert existing comments to doxygen format
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23492 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 05:15:53 +00:00
russell
658212c4a2 fix indentation for this function
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23491 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 05:09:34 +00:00
russell
ed1caa71f4 immediately handle ast_strdupa result so that one more level of indentation
can be removed from this function


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23490 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 05:07:52 +00:00
russell
4a493cac7d fix the indentation of a large block
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23489 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 05:06:14 +00:00
russell
a1c748420c handle a memory allocation failure immediately so the following large block
does not have to be indented


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23480 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 05:02:07 +00:00
russell
4fba9b433c - convert the list of dundi mappings to use the list macros
- change an instance of malloc+memset to use ast_calloc, instead


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23468 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 04:59:36 +00:00
russell
02d013ed45 use the INSTALL variable instead of "install" directly
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23467 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 04:34:04 +00:00
russell
7c173e8b7d change a list traversal to use a for loop
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23466 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 04:28:47 +00:00
russell
d4a3a827cb fix the indentation of a large block of code
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23465 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 04:26:11 +00:00
russell
5f70bde331 immediately handle a memory allocation failure so the rest of the function
doesn't have to be indented (indentation still to be fixed)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23464 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 04:23:09 +00:00
russell
211ac379f1 - convert some comments to doxygen format
- convert the list of dundi peers to use the list macros
- convert a use of malloc+memset to use ast_calloc


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23463 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 04:20:20 +00:00
crichter
abdc0b9710 added an up-queue message mechanism to avoid buffer fillups in the kernel, also changed some strdups to ast_strdupa
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23443 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 22:56:00 +00:00
russell
a2120a0a67 revert the last change to this Makefile which removed the rules to build
app_apt.  These rules *are* needed beacause this module uses libtonezone,
so it needs this information from autoconf in case it is located in a
non-standard location.  Also, without it, app_rpt.so would not be linked
with libtonezone at all.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23422 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 19:26:53 +00:00
rizzo
4ccacc7ac4 remove now useless rule for app_rpt (bug 7059)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23402 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 18:22:08 +00:00
russell
bdded3f07f oops, i modified the Makefile isntead of Makefile.in
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23382 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 15:44:02 +00:00
russell
e94f1ab32f - the configure script should never be regenerated for mxml
- also remove an unneeded .cvsignore


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23381 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 15:34:33 +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
russell
9f605ef88f add aelparse to svn:ignore
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23376 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 15:07:16 +00:00
russell
06fbbd1989 a bunch of conversion to ast_channel_*lock (issue #7058)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23355 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 14:50:18 +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
russell
a93a6a71ee if the "action-if-found" is left empty, AC_CHECK_LIB will add a default result
instead which can break things in the rest of the script (issue #7043)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23335 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 13:32:38 +00:00
russell
c9833020fc - convert lists to use linked list macros
- instead of allocating a frame on the stack every time the music on hold
  generator is called, put a frame in the mohdata structure.  Also, initialize
  the parts of the frame that will never change when the mohdata struct is
  allocatted and only change the necessary parts in the generator function.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23334 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 13:15:05 +00:00
kpfleming
f5bd1e827c Merged revisions 23305 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r23305 | kpfleming | 2006-04-29 06:40:04 -0500 (Sat, 29 Apr 2006) | 3 lines

do installation in subdirs as a separate target (so external modules can use the Makefile more easily)
generate final messages -after- running any post-install script that may be present

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23306 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 11:42:31 +00:00
russell
31a8ac0fd5 - don't create duplicate log messages
- note when the data part of the tech/data pair is missing not only when using
  the app version, but the exten version as well
- instead of logging syntax errors, just output them to the CLI


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23284 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 05:02:17 +00:00
rizzo
40a5624b85 add reload() (bug 9981)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23273 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 04:55:47 +00:00
rizzo
5540c8dc86 partial adaptation to the new module loading
(not sure if it compiles, partly inspired by #9981 but
with adaptations)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23272 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 04:54:05 +00:00
russell
8dc07ce85e add a small optimization for deleting all the members of a list
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23271 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 04:13:07 +00:00
russell
dc64af4667 - convert the list of zones to use the list macros, and add locking (issue #7027, with mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23250 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 01:05:13 +00:00
russell
5402844572 move the "show version" CLI command from cli.c to asterisk.c so that only one
file depends on version.h, and thus, only one file has to be rebuilt when
version.h gets regenerated (issue #6942)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23229 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 00:15:28 +00:00
russell
94af7e7b21 support "make distclean" as well as "make dist-clean" for the picky people
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23208 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 17:39:54 +00:00
russell
f1552addcf fix spelling typo -- what's a Diaplan?
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23207 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 17:17:46 +00:00
russell
f1632f581b fix sending the group numbers for a sip peer over the manager interface
(issue #7046)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23178 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 16:50:32 +00:00
russell
3aec7a9bd5 note that group assignments must be from 0 to 63 (issue #7048)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23177 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 16:42:42 +00:00
rizzo
3b3a2ef19d whitespace - format the source in a more readable way;
On passing, define the macros as do {... } while (0) to
be free of unwanted side effects.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23175 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 16:39:25 +00:00
rizzo
e165a9c6b9 make the 'runtest' filter less strict on line numbers.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23154 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 15:51:31 +00:00
rizzo
4b4456cf10 simplify handling of line numbers
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23153 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 15:42:13 +00:00
rizzo
e00ea05cea fix last known bug in computing columb numbers in error messages
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23152 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 15:33:05 +00:00
rizzo
859a7936e1 fix a bug in computing line numbers
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23151 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 15:24:30 +00:00
rizzo
5a2411d0df - fix miscalculation in column numbers when multiple tabs
or empty lines are involved;
- change linku1() to return the head of the list (unused at the moment);
- ignore the source line number in runtests as they change with the
  source and cause mismatches in the comparison with the reference output.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23130 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 14:17:03 +00:00
rizzo
06c0629cdc last batch of npval -> npval2 changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23109 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 11:20:21 +00:00
rizzo
37f396a2c1 more npval -> npval2 changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23088 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 10:06:10 +00:00
rizzo
6149076261 minor cleanup
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23067 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 06:40:40 +00:00
rizzo
8d0224e1fa more npval -> npval2 conversions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23066 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 06:26:27 +00:00
russell
515c466cad remove this option for now, because it can only be enabled when
optimizations aren't being used


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23037 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 00:59:30 +00:00