Commit Graph

813 Commits (812f5b51cb56a36668decc6dfc83adeca185429e)

Author SHA1 Message Date
Kevin P. Fleming 74f31a51bc add -Wundef to the --enable-dev-mode flags, so that mistyped macro names in #if expressions will be caught
19 years ago
Russell Bryant 84718d10c4 Merged revisions 54898 via svnmerge from
19 years ago
Russell Bryant b233892198 Merged revisions 53046 via svnmerge from
19 years ago
Tilghman Lesher a3ce6f5f8c Merged revisions 52679 via svnmerge from
19 years ago
Steve Murphy 85f65b1ff0 Merged revisions 51409 via svnmerge from
19 years ago
Jason Parker 5abda34cd9 Merged revisions 49742 via svnmerge from
19 years ago
Kevin P. Fleming cd73a483f1 const-ify some more APIs, and fix rev 49710 from branch-1.4 in a better way here
19 years ago
Steve Murphy 7c6b71df21 Merged revisions 49237 via svnmerge from
19 years ago
Joshua Colp 858796affa Merged revisions 49073 via svnmerge from
19 years ago
Steve Murphy b96a97e315 Merged revisions 49061 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
Joshua Colp 7231cc108a Merged revisions 49009 via svnmerge from
19 years ago
Steve Murphy f92697c5fc This small update will generate WARNINGS if there is garbage in your extensions.conf file (liken extem => instead of exten => !)
19 years ago
Russell Bryant 17a2888d2e Staticize one, and Constify a bunch of usage strings for CLI commands.
19 years ago
Joshua Colp 4e333a782c More fixes for referencing a structure after it has been freed. (issue #8425 reported by arkadia)
19 years ago
Joshua Colp 237c8be66c Merged revisions 48038 via svnmerge from
19 years ago
Steve Murphy 2bdd7b7790 Eager people beat me to fixing the messed if, but we all forgot to update the regressions. Until now.
19 years ago
Joshua Colp 23ebec40a5 Clean up last commit to better conform to standards.
19 years ago
Steve Murphy 4115ea029d AEL need not complain about parkedcalls not being found... just confuses users
19 years ago
Joshua Colp eceb5c60d7 Fine, take this.
19 years ago
Joshua Colp 3521586712 Hello compiler working, goodbye compiler warning. (fix compiler warning introduced from pbx_dundi optimizations)
19 years ago
Russell Bryant 74b6314d50 Various little bits of code cleanup to reduce nesting, remove useless casts,
19 years ago
Russell Bryant 908b6ed6bc Make pbx_dundi compile again. Sorry. :(
19 years ago
Russell Bryant b1e7dd843a use the AST_MODULE_LOAD_* return codes from load_module()
19 years ago
Russell Bryant 121bd75fcc simplify a couple of loops
19 years ago
Russell Bryant 4b5ad8fb98 Do some minor cleanup to the section of code that sets the EID by getting the
19 years ago
Russell Bryant 4ffc388358 Add the ability to pass options to the Dial application when using the DUNDi
19 years ago
Kevin P. Fleming 749029de38 Merged revisions 46200 via svnmerge from
19 years ago
Steve Murphy 8567b0ee84 Correction for bug 8128 in trunk
19 years ago
Russell Bryant fef9ec96c7 put flags in an enum and remove a couple of unused defines
19 years ago
Steve Murphy 6f34a8d78d These mods fix a problem pointed out by dgartang, where in certain situations, the target of a goto cannot be found, even right under your nose. This is because the current context is not updated properly, and rather than waste time and find why and where the context should have been updated, I just use my newly added 'dad' ptrs, and pop until I have either the context or extension, and use that instead.
19 years ago
Kevin P. Fleming 3c876af5cf Merged revisions 44378 via svnmerge from
19 years ago
Steve Murphy de7a85105a These changes resolve the problems in bug 8090, where there's a crash compiling an empty context
19 years ago
Steve Murphy 19dc73ad40 These changes correspond to the changes to app_stack's Gosub() application
19 years ago
Matt O'Gorman ae8cc3e18b bug #8076 check option_debug before printing to debug channel.
19 years ago
Paul Cadach b4ef9599de Merged revisions 44186 via svnmerge from
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
Steve Murphy 35b951d2ac This commits the changes to AEL to use the gosub-with-args from Tilghman to perform macro calls. This results in substantially smaller stack footprint, which allows macro call depths in excess of 100,000 levels, rather than the limit of 7 calls deep, which the Macro app is subject to.
19 years ago
Steve Murphy bcdb270c57 This commits a change to return MODULE_LOAD_FAILURE on error, and SUCCESS (instead of 0) when all goes well for bug 8004
19 years ago
Steve Murphy 13ceee6333 As per bug 8004, we now return AST_MODULE_LOAD_DECLINE when we can't read extensions.ael
19 years ago
Tilghman Lesher 6ae8741518 Lots more removal of deprecated things
19 years ago
Tilghman Lesher 70af28270d Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
19 years ago
Matthew Fredrickson 33ddb53663 Various updates from PCadach's chan_h323-live branch
19 years ago
Matt O'Gorman d0a1a0033d similar patch for verbose vs debug with minor changes
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago
Kevin P. Fleming c2c4f86c72 merge markster's usersconf branch with some slight changes
19 years ago
Matt O'Gorman 05a695af72 everything that loads a config that needs a config file to run
19 years ago
Steve Murphy 6557d250c8 This commit is a basic AEL enhancement: c-style comments
19 years ago
Russell Bryant f7cac071d9 Merged revisions 41269 via svnmerge from
19 years ago
Steve Murphy 8efd121371 Bugfix for 7813 applied to trunk as per patch supplied by stevens
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 7734efb97b Make a warning about an unused function & variable go away on the stand alone AEL build.
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Steve Murphy 834c7265de This commit merges the contents of 7721, as it applied to the trunk version. Added the item that would previously trigger a false error to test1.
19 years ago
Steve Murphy 1d2b76a0f8 added a -q for quiet, option to aelparse
19 years ago
Steve Murphy 980a79a24d This bug adds enhancement as per bug 7606, the -w
19 years ago
Russell Bryant 92bd7f19f7 Merge team/russell/ast_verbose_threadstorage
19 years ago
Steve Murphy 14c12fed9b The contents of branch teams/murf/bug_7598 are being folded in here.
19 years ago
Steve Murphy f67f6b2261 This branch will resolve the bug 7635.
19 years ago
Russell Bryant 1372de4988 suppress some compiler warnings ...
19 years ago
Russell Bryant dff27908dc allow the gtk console to build and load
19 years ago
Russell Bryant ca9ba719b6 Merge a new implementation of ast_inet_ntoa, our thread safe replacement for
19 years ago
Steve Murphy db0b142b06 committing a fix for colons in goto arguments and suppressing operator messages in globals assignments.
19 years ago
Kevin P. Fleming 000ba592b2 more Makefile cleanup and consistency stuff
19 years ago
Kevin P. Fleming acfa035afe Merged revisions 37417 via svnmerge from
19 years ago
Kevin P. Fleming 13ba816edd rename this file so it doesn't appear to be a module by itself
19 years ago
Kevin P. Fleming bc9ed9f5c4 various minor fixes
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
Steve Murphy 04ed725e73 OK, here is everything I changed to fix 7474:
19 years ago
Kevin P. Fleming 748431f7b6 move rules file to prepare for generic rules file
19 years ago
Kevin P. Fleming a579371f43 use new (separate) dependencies file from menuselect
19 years ago
Russell Bryant 2f80e9db74 fix pbx_dundi build (issue #7424, jstrom)
19 years ago
Kevin P. Fleming e61d3d91f3 The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)
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
Russell Bryant 9f2a6516cf don't blow up in the sub Makefiles if menuselect.makeopts is not present. This
19 years ago
Russell Bryant 73ae55698f merge changes from team/murf/AEL-trunk-fixesonly
19 years ago
Russell Bryant b6147a21b9 remove "depend" from the "all" targets in sub Makefiles. The main Makefile
19 years ago
Russell Bryant 171992e505 don't use ast_copy_string when building for an external tool
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 b31b0be819 various minor portability fixes (mostly from tholo for OpenBSD)
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
19 years ago
Russell Bryant 503f99e2e8 remove the need to have to re-run make after a default menuselect.makeopts
19 years ago
Kevin P. Fleming e856010714 use module names, not file names, in menuselect
19 years ago
Kevin P. Fleming dd6de5ee4e it's time... only enable global priority jumping if the config file says to do so
19 years ago
Joshua Colp 35d729fb40 Add Archive option to call files and add documentation on them. (issue #5426 reported by ezio - props to blitzrage for proof reading the documentation)
19 years ago
Russell Bryant f9e5541689 on a clean, we have to clean out the ael directory too
19 years ago
Russell Bryant 004885c2fa Make the new behavior where the timestamp is checked on the call file before
19 years ago
Russell Bryant 50775a944d only delete call files if the timestamp on the file is not in the future, so
19 years ago
Luigi Rizzo 7c415648d1 change macro into a function, remove unused code.
19 years ago
Luigi Rizzo b09dd8708b start cleanup indentation etc.
19 years ago
Russell Bryant 04ecb29d03 remove almost all of the checks of the result from ast_strdupa() or alloca().
19 years ago
Kevin P. Fleming ed3ffb4b46 various doxygen fixes
19 years ago
BJ Weschke 569ecaf5a2 use pid_t instead of long for pid variables. #7099 (casper)
19 years ago
Russell Bryant b7c2ae9dba - use ast_calloc instead of malloc+memset
19 years ago
Luigi Rizzo b569ebd593 more simplifications
19 years ago
Luigi Rizzo 5f612f9ae6 consistent rule for goto...
19 years ago
Luigi Rizzo e5b0c721e5 remove another useless nonterminal
19 years ago
Luigi Rizzo 34d67f7d09 remove a useless nonterminal
19 years ago
Luigi Rizzo 49227c7ba1 more simplifications
19 years ago
Luigi Rizzo 7695df3896 remove more shift-reduce conflicts
19 years ago
Luigi Rizzo 820ef22951 remove a redundant rule
19 years ago
Luigi Rizzo 673607f87a reduce shift/reduce warnings
19 years ago
Luigi Rizzo 9ebc190fdc simplify case_statements
19 years ago
Luigi Rizzo e2e92e49a6 switch statement in one place
19 years ago
Luigi Rizzo 7cc4511fa2 common syntax for context name
19 years ago
Luigi Rizzo 34dcc89e24 another instance of context name
19 years ago
Luigi Rizzo 7a625b894d fix a bug previously introduced in the handling of timespec.
19 years ago
Luigi Rizzo 0cf25becb9 simplify case statements
19 years ago
Luigi Rizzo 05d2b78132 one more instance of assignment
19 years ago
Luigi Rizzo 0e8e343e1f global_statement is really an assignment statement
19 years ago
Luigi Rizzo b222d1247f expressions used in if, while, switch are all of the same kind
19 years ago
Luigi Rizzo 99dec41a4c macro statements can be empty
19 years ago
Luigi Rizzo 65b8f8365e empty arglists are valid
19 years ago
Luigi Rizzo 3173305448 rename the rule for context names properly
19 years ago
Luigi Rizzo 9eaa57bebc simplify handling of 'include' lists
19 years ago
Luigi Rizzo 827abbf46e ... and use a single rule for timespec
19 years ago
Luigi Rizzo 7b10b81a58 use a single rule to parse timeranges hh:mm-hh:mm
19 years ago
Luigi Rizzo 5c940c74a6 if/ifTime/random statements are all the same thing
19 years ago
Luigi Rizzo 16f94523ad includedname is just a regular word_or_default name,
19 years ago
Luigi Rizzo df3f8aa2b9 remove useless 'extern' declaration
19 years ago
Luigi Rizzo 5cbf333fee remove some unneeded local variables.
19 years ago
Luigi Rizzo f262d06975 more usage of nword(). I think the references to source
19 years ago
Luigi Rizzo d8e1ad052a more simplifications involving linku1
19 years ago
Luigi Rizzo 182a536722 correct linku1() to handle the case tail = NULL correctly.
19 years ago
Russell Bryant 0765f065ca staticize the list heads from my recent conversions to list macros
19 years ago
Russell Bryant 34e0ae0e6a The build of aelparse was still broken in some cases, so instead of having to
19 years ago
Tilghman Lesher 9be0f34a3e Bug 7062 - Rename ael2 CLI commands to ael
19 years ago
Russell Bryant 02eda146ac - convert permission lists to use list macros
19 years ago
Russell Bryant 5a60431c29 conver the lists of dundi packets to use the list macros
19 years ago
Russell Bryant 7ce2726c09 - convert the dundi precache list to use the list macros
19 years ago
Luigi Rizzo c305fb082d more simplifications
19 years ago
Luigi Rizzo 01360f6440 always trim the trailing ';'
19 years ago
Luigi Rizzo 33167fc41c comment usage of contexts
19 years ago
Luigi Rizzo 2c2f7e817b fix dereferencing freed memory
19 years ago
Luigi Rizzo 595955ea98 switch a couple of operands.
19 years ago
Luigi Rizzo 8faa2e7d44 put back some simplifications, this time really tested
19 years ago
Luigi Rizzo db14f6b107 revert ael.flex to the last correct version.
19 years ago
Luigi Rizzo 44f43f9eb1 another small set of simplifications
19 years ago
Russell Bryant b992d92742 - convert the lists of dundi_transactions to the list macros
19 years ago
Luigi Rizzo c22ef69d1f simplify logic (runtest passed).
19 years ago
Luigi Rizzo 85480376f7 more nword() usages, and mark some dubious places.
19 years ago
Luigi Rizzo f239ec2080 introduce a new frontend to npval for the very common case
19 years ago
Luigi Rizzo 5e746bf38f another client for switchlist_block
19 years ago
Luigi Rizzo 813f565de7 more merge of common blocks through intermediate rules.
19 years ago
Luigi Rizzo f4b05f86cc make destroy_pval able to handle a NULL value
19 years ago
Luigi Rizzo ce05a548c3 remove some commented-out code
19 years ago
Luigi Rizzo 36a26a9197 simplify updating the token position markers
19 years ago
Kevin P. Fleming 7343d311f1 simplify CFLAGS handling for subdirectories
19 years ago
Luigi Rizzo c5f779d0a0 more comments
19 years ago
Luigi Rizzo 9a8a037250 comment some code
19 years ago
Luigi Rizzo 6eb6343d9a more simplifications in the bison sources,
19 years ago
Russell Bryant 31cd56f76e remove unneeded define - it is already in asterisk.h
19 years ago
Russell Bryant 03d005e472 convert the dundi_request list to use the list macros
19 years ago
Russell Bryant dbbe944da8 convert existing comments to doxygen format
19 years ago
Russell Bryant 149e45924a fix indentation for this function
19 years ago
Russell Bryant fcb2809e45 immediately handle ast_strdupa result so that one more level of indentation
19 years ago
Russell Bryant ef775bbd66 fix the indentation of a large block
19 years ago
Russell Bryant ed320702d9 handle a memory allocation failure immediately so the following large block
19 years ago
Russell Bryant 4cfcacf6c9 - convert the list of dundi mappings to use the list macros
19 years ago
Russell Bryant d9fa5f3c89 change a list traversal to use a for loop
19 years ago
Russell Bryant c7fea723a3 fix the indentation of a large block of code
19 years ago
Russell Bryant 059f0bd108 immediately handle a memory allocation failure so the rest of the function
19 years ago
Russell Bryant d66de679d9 - convert some comments to doxygen format
19 years ago
Russell Bryant 8682a7378d add a small optimization for deleting all the members of a list
19 years ago
Luigi Rizzo c7a892d5f9 make the 'runtest' filter less strict on line numbers.
19 years ago
Luigi Rizzo d30ead1474 simplify handling of line numbers
19 years ago
Luigi Rizzo dad2812867 fix last known bug in computing columb numbers in error messages
19 years ago
Luigi Rizzo c1366df3d5 fix a bug in computing line numbers
19 years ago
Luigi Rizzo 799126216e - fix miscalculation in column numbers when multiple tabs
19 years ago
Luigi Rizzo 43bfe82828 last batch of npval -> npval2 changes
19 years ago
Luigi Rizzo 5291b89f30 more npval -> npval2 changes
19 years ago
Luigi Rizzo c9816d135d more npval -> npval2 conversions
19 years ago
Luigi Rizzo 304fbbd1b6 fix destructor for pval objects (thanks to Steve Murphy);
19 years ago
Luigi Rizzo 85ea0974f8 always call the destructor
19 years ago
Luigi Rizzo 456e27b453 document variable and options used.
19 years ago
Luigi Rizzo 810e701b1e document options, move objects of the same type close to
19 years ago
Luigi Rizzo 9033ecfaa2 slightly restructure a block to reduce nesting,
19 years ago
Luigi Rizzo f0d3175793 imore npval -> npval2 conversions
19 years ago
Luigi Rizzo cbbcc2047c more npval2 replacement, mark XXX dubious arguments
19 years ago
Luigi Rizzo 5c34366afc more npval -> npval2 replacement, and a fix for a likely
19 years ago
Luigi Rizzo dadafb65cf introduce a simplified interface for npval and start using it
19 years ago
Luigi Rizzo 54616839d7 formatting fixes
19 years ago
Luigi Rizzo 776a3da1a7 use ast_calloc for memory allocations
19 years ago
Luigi Rizzo 73ea5316b5 fix a couple of bugs in arguments to npval
19 years ago
Luigi Rizzo b37af2f16c remove some commented-out code
19 years ago
Luigi Rizzo a5fdd0d6b0 finish packing yylloc into macros
19 years ago
Luigi Rizzo e51725d6d4 add some comments to the code
19 years ago
Luigi Rizzo 7422c5495b more formatting cleanup
19 years ago
Luigi Rizzo 5591294c5e more dup removal
19 years ago
Luigi Rizzo 98d769c7c0 more duplicate removal
19 years ago
Luigi Rizzo ef8f9a28a3 remove duplicated code
19 years ago
Luigi Rizzo 53715e59cf staticize c_prevword()
19 years ago
Luigi Rizzo 073391cc63 more indentation fixes
19 years ago
Luigi Rizzo 20314914e8 use asprintf instead of malloc
19 years ago
Luigi Rizzo f7e55f9a47 more formatting cleanup
19 years ago
Luigi Rizzo c740982bef more indentation fixes
19 years ago
Luigi Rizzo 6c8c83c106 more formatting cleanup
19 years ago
Luigi Rizzo c081c8bdf7 cleanup formatting to emphsize common code blocks
19 years ago
Luigi Rizzo a8995c0bfd move similar blocks close to each other to make similarities
19 years ago
Luigi Rizzo e7d6df39d0 normalize and simplify the code for keeping track of line and column number.
19 years ago
Luigi Rizzo 2d33128385 define some flex constants for character sets.
19 years ago
Luigi Rizzo d19f767c3c uncomment some functions in the flex code that were actually
19 years ago
Luigi Rizzo a857016551 use \t to indicate a tab, and fix indentation for
19 years ago
Luigi Rizzo f52022fc6f remove common blocks of code with a macro (waiting for a better
19 years ago
Luigi Rizzo df5635d844 staticize some variables
19 years ago
Luigi Rizzo e141352fd9 comment behaviour of pbcwhere in preparation for its use
19 years ago
Luigi Rizzo aaf99191c8 include/asterisk/ael_structs.h:
19 years ago
Luigi Rizzo 55a24ef8cc whitespace-only change:
19 years ago
Luigi Rizzo 2de9dcb345 whitespace-only change:
19 years ago
Kevin P. Fleming dcccc2ed71 don't rely on default search paths for finding local include files
19 years ago
Luigi Rizzo 36807ad092 wrong path in include file.
19 years ago
Luigi Rizzo d85048d692 fix variable declaration in the middle of a block
19 years ago
Kevin P. Fleming 5f58cc8770 Merge Steve Murphy's (murf) complete re-implementation of AEL, which is now no longer considered experimental :-)
19 years ago
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
19 years ago
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
19 years ago
Kevin P. Fleming f515078c53 Merged revisions 19345 via svnmerge from
19 years ago
Kevin P. Fleming f10f427d49 since the module API is changing, it's a good time to const-ify the description() and key() return values
19 years ago
Luigi Rizzo 08dfc15553 whitespace and formatting fix postponed from last commit:
19 years ago
Luigi Rizzo 25a61b9e08 split pbx_load_module so we can reduce the indentation depth.
19 years ago
Luigi Rizzo 38f14cbca7 use FREE instead of free as pointer to the destructor function.
19 years ago
Tilghman Lesher 756c7cbb12 Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
19 years ago
Luigi Rizzo 94b886650c fix formatting
19 years ago
Luigi Rizzo ad47951739 minor code simplifications - no need to use temporary
19 years ago
Luigi Rizzo 6c232811c0 as discussed with Mark a few weeks ago, the 'newstack' argument
19 years ago
Olle Johansson 16728da6a7 Whitespace fix forgotten by someone who added a note about needing to fix this...
19 years ago
Luigi Rizzo 4ca73f8ae4 as reported in mantis #6066, fix a bunch of cli bugs and
19 years ago
Russell Bryant 7298d3feb3 Merged revisions 15658 via svnmerge from
19 years ago
Luigi Rizzo d0bc6c20a7 - remove an unnecessary cast and recomputation of (timeout - now);
19 years ago
Olle Johansson acfc219733 Reverting revision 10998 that was accidentaly committed to trunk. My apologies.
20 years ago
Olle Johansson dd5222fd30 Update to trunk
20 years ago
Kevin P. Fleming 302c943001 add 'consumed' argument to ast_get_time_t, so callers can know how many characters were used in the parser
20 years ago
Mark Spencer c3447c7cce Fix a few compile warnings (turned errors) and disable -Werror on the
20 years ago
Russell Bryant a0d438fb6c remove the uses of the deprecated STANDARD_LOCAL_USER
20 years ago
Russell Bryant 2f2530b8e6 remove LOCAL_USER_ACF_ADD since it is now the same as LOCAL_USER_ADD
20 years ago
Kevin P. Fleming e7c198453d ensure that dependencies are rebuilt after 'make update' so that builds don't break when files are removed/renamed
20 years ago
Kevin P. Fleming 96bf384e7d major dialplan functions update
20 years ago
Russell Bryant 452f87a465 Merged revisions 9609 via svnmerge from
20 years ago
Russell Bryant 95151cead2 Merged revisions 9581 via svnmerge from
20 years ago
Kevin P. Fleming 407d3c289c use auto-build for pbx modules
20 years ago
Matt O'Gorman 7d03c33e0a Allows for user to uninstall asterisk binaries
20 years ago
Russell Bryant 6f71e1178e constify arguments in more places where strings should not be modified (issue #6286)
20 years ago
Kevin P. Fleming 065a368463 remove some more deprecated (pre-1.2) stuff
20 years ago
Russell Bryant 4a7cec937d remove redundant CFLAGS for BSD which are already set in the main Makefile (issue #6250)
20 years ago
Tilghman Lesher 335cd7d3a2 Merged revisions 7908 via svnmerge from
20 years ago
Tilghman Lesher 32f05bfa95 Merged revisions 7848 via svnmerge from
20 years ago
Tilghman Lesher a84633ba26 Merged revisions 7831 via svnmerge from
20 years ago
Russell Bryant ef1ce7aec9 Merged revisions 7634 via svnmerge from
20 years ago
Tilghman Lesher 84d98f6b84 Merged revisions 7577 via svnmerge from
20 years ago
Russell Bryant ec05153ac4 convert most of the option_*'s to a single ast_flags structure. Also, fix some
20 years ago
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
20 years ago
Kevin P. Fleming c14588af86 remove remaining .cvsignore files
20 years ago
Josh Roberson c203681525 Make conform to coding guidelines... thanks drumkilla :)
20 years ago
Josh Roberson 39407c4366 issue #5806
20 years ago
Kevin P. Fleming 492087f45f issue #5761
20 years ago
Russell Bryant d8dfa4434d finish merging doxygen updates from issue #5605
20 years ago
Mark Spencer 8f965a06cb Never call load_module / unload_module
20 years ago
Kevin P. Fleming adb02d0107 issue #5354
20 years ago
Kevin P. Fleming 829447c811 issue #5701
20 years ago
Russell Bryant 987b87662c make app_queue 1.2 jump compliant (issue #5580)
20 years ago
Kevin P. Fleming a0a9769616 issue #5648
20 years ago
Russell Bryant 31a804b97c issue #5605
20 years ago
Kevin P. Fleming 7ffb604a2f issue #4678
20 years ago
Kevin P. Fleming 8fb55e2478 fix various bugs related to list handling of channel variables (issue #5548)
20 years ago
Russell Bryant b5326f99fc use ast_skip_blanks in pbx_ael
20 years ago
Russell Bryant 3453e3efa5 Doxygen documentation update from oej (issue #5505)
20 years ago
Russell Bryant 65cb05b658 clean up DUNDiLookup application
20 years ago
Kevin P. Fleming a3df4cdda2 fix typo
20 years ago
Kevin P. Fleming 053326ac85 ensure that priorityjumping option returns to its default during reload if it is no longer specified in extensions.conf
20 years ago
Mark Spencer 7c99490b3a Fix ael if, while, else (bug #5370)
20 years ago
Mark Spencer bdef480cdd Back out improper freeing of variables
20 years ago
Russell Bryant 460655f31c allow semicolons to be escaped in call files (issue #5407)
20 years ago
Mark Spencer 1ae71d0b41 Fix memory leak in outbound calls (bug #5406, with mods)
20 years ago
Russell Bryant 779d033f21 move process_quotes_and_slashes to utils.c since it is used by both pbx_ael and pbx_config
20 years ago
Russell Bryant afb00fce12 Use Goto instead of GotoIf when jumping over the else block (issue #4660)
20 years ago
Kevin P. Fleming 5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
20 years ago
Kevin P. Fleming 1e854ea773 remove useless buffer initializations (issue #5134)
20 years ago
Kevin P. Fleming 6543de5620 use native-sign characters for strings (issue #5105)
20 years ago
Kevin P. Fleming f16cd5f39c use matching char types for strings (issue #5106)
20 years ago
Kevin P. Fleming 9519f6c5f4 clean up, use make functions instead of subshells, remove unused stuff
20 years ago
Kevin P. Fleming 27dda09b0f work around parsing problem by using GotoIf() (issue #4876)
20 years ago
Kevin P. Fleming ad21be9cc7 ignore equals-signs inside parens (issue #5022)
20 years ago
Mark Spencer d5a51058cc Fix AEL max character bug (bug #4837)
20 years ago
Kevin P. Fleming 5cc0413c54 add a global option to disable priority jumping in applications (when they get updated), settable in extensions.conf
20 years ago
Russell Bryant a9c7f50a09 Allow manager originate to specifiy more than one variable to be set.
20 years ago
Kevin P. Fleming 22b0f5d306 add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504)
20 years ago
Russell Bryant da1d0363ca get rid of compiler warning
20 years ago
Russell Bryant 3c7779c766 fix some indentation
20 years ago
Kevin P. Fleming f268ea2b3c make CLI output use singular/plural when appropriate (bug #4654)
20 years ago
Kevin P. Fleming 232e7869e0 don't force autofallthrough to on (bug #4599)
20 years ago
Kevin P. Fleming 5769e90427 update to current loader API (bug #4574)
20 years ago
Kevin P. Fleming c4be3dfb53 make query cache time configurable (bug #4524)
20 years ago
Kevin P. Fleming 0e9d920a60 move tools used during build into build_tools subdirectory
20 years ago
Mark Spencer 33263739ca Oops
20 years ago
Kevin P. Fleming fb6f36387f dueling commits, mark won!
20 years ago
Mark Spencer 3ba6894cd5 AEL minor fixes (bug #4539)
20 years ago
Mark Spencer e0f057820a Add Asterisk Extension Language support (AEL) from Astricon talk
20 years ago
Kevin P. Fleming e5e64bfd41 header ordering fixes for FreeBSD (pending a global merge into asterisk.h) (bug #4484)
20 years ago
Kevin P. Fleming 2b8338cb52 more file version tags
20 years ago
Kevin P. Fleming 4f299de252 major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug #4116)
20 years ago
Kevin P. Fleming ce89d985f2 allow global variables to be reset on reload (defaults to off) (bug #4385)
20 years ago
Josh Roberson 43866b0ef2 Change define __OSX__ to more appropriate __Darwin__ (in light of Darwin being open sourced, and able to run on x86, OSX isn't really suitable)
20 years ago
Russell Bryant 3c98814bb5 add 'dontwarn' option to asterisk.conf to appease the whining masses :p (bug #4320)
20 years ago
Russell Bryant 364e179b78 check to see if a comma or an open paren came first when splitting the application
20 years ago
Russell Bryant 7d3f5785e9 fix some more typos and clarity issues
20 years ago
Russell Bryant e82344f7e0 fix a little typo
20 years ago
Mark Spencer 00bcbaaa05 Fix gethostname calls (bug #4198, with mods)
20 years ago
Kevin P. Fleming 0fddec0421 remove obsolete module (still available in CVS history if needed) (inspired by bug #4127)
20 years ago
Kevin P. Fleming 8634ef9e4a don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110)
20 years ago
Kevin P. Fleming a9831e75ee perform global variable substitution before splitting extension and cidmatch when reading in dialplan (bug #4035)
20 years ago
Kevin P. Fleming 1f9ab2380a use double-quotes instead of angle-brackets for non-system include files (bug #4058)
20 years ago
Mark Spencer fdff1f69b5 Add warning for _. match (bug #4032)
20 years ago
Kevin P. Fleming b052fe894b ensure that the random number generator(s) are always seeded with a different value during Asterisk startup
20 years ago
Kevin P. Fleming 3da361ee77 optimize file reading in pbx_spool (bug #3927)
20 years ago
Mark Spencer 6e764dc097 Fix spool files that lack their last return
20 years ago
Mark Spencer a0a2592025 Fix cross compiling (bug #3868)
20 years ago
Russell Bryant f0c880d6f6 silly typo
20 years ago
Mark Spencer 18d9b26cf9 Rework channel structure to eliminate "pvt" portion of channel (bug #3573)
21 years ago
Josh Roberson d271dfa7af Fix build on OpenBSD and fix small typo. (Bug #3502)
21 years ago
Mark Spencer ab0566923b Include uniqueid in response for ManagerOriginate stuff (bug #3439)
21 years ago
Mark Spencer 9ae7f2430a Add dundi show peers summary stats (bug #3474)
21 years ago
Mark Spencer 5f726ad8c7 Merge config updates (bug #3406)
21 years ago
Russell Bryant 0c30452423 update copyright headers for 2005
21 years ago
Mark Spencer 278a0a0891 Implement eswitch for evalulating variables at runtime (bug #3168)
21 years ago
Mark Spencer 92eb0c2018 More flagification, courtesy drumkilla (bug #3280)
21 years ago
Mark Spencer 8db8179f97 Fix DUNDi segfault
21 years ago
Mark Spencer 7abe9e6c16 List improvements from kpfleming (bugs #3166,#3140)
21 years ago
Mark Spencer cecda3fb67 Speed up ast_list macros (bug #3135)
21 years ago
Mark Spencer a519477534 Fix Realtime to work with MySQL and Postgres both (bug #3029)
21 years ago
Mark Spencer 61f25c3e92 Merge twisted's OSX compat fix (bug #3090)
21 years ago
Mark Spencer 9d40b8ee80 Merge slimey's Solaris compatibility (with small mods) (bug #2740)
21 years ago
Mark Spencer dc074b7029 Merge bkw's formatting and variable substitition (bug #2984)
21 years ago
Mark Spencer 8f2b687a95 Make realtime pbx understand patterns.
21 years ago
Mark Spencer a69c0016da Realtime improvements
21 years ago
Mark Spencer b48d2563ae Fix missing arguments
21 years ago
Mark Spencer 536d9d370e Minor realtime improvements
21 years ago
Mark Spencer fdfd69cca0 Add first pass at realtime
21 years ago
Mark Spencer 06221c4ec5 Fix leaky fd issue (bug #2832)
21 years ago
Mark Spencer 6cb38ac23a Add features (incomplete, highly experimental), fix DundiLookup app, debug improvements (bug #2800)
21 years ago
Mark Spencer 50010fd3d0 Fix "killa" console issue
21 years ago
Mark Spencer 9941b34dd8 Fix locking issues
21 years ago
Mark Spencer 5d93698d99 Fix off-by-one buglet
21 years ago
Mark Spencer bec04aa020 Misc code fixes (bug #2762)
21 years ago
Mark Spencer da13a5c885 Oopsies...
21 years ago
Mark Spencer f38c6ee7fa Make retrans timer less aggressive
21 years ago
Mark Spencer c46c83bc96 Complete DUNDi push (first pass) support
21 years ago
Mark Spencer 4c0c0db318 Preliminary "PRECACHE" / push support...
21 years ago
James Golovich 286ea2461d Use same defines for NetBSD as FreeBSD in pbx_dundi.c (bug 2716)
21 years ago
James Golovich 8009d53690 Pass format string
21 years ago
Mark Spencer 16e8f4ca35 Allow "dundi flush" to flush statistics too
21 years ago
Mark Spencer 11dfba3120 Add cache bypass mode
21 years ago
Mark Spencer 49da32e637 Oops
21 years ago
Mark Spencer 76b5be4c87 DUNDi performance enhancments and metrics for average lookup time.
21 years ago
Mark Spencer 382bbb68cc Add missing pbx_loopback file...
21 years ago
Mark Spencer 82cbf28993 Add "Loopback" switch
21 years ago
Mark Spencer 69a8f90814 Fix for FreeBSD (netbsd too?) (bug #2702)
21 years ago
James Golovich 1890e5d87e Cleanup dundi-parser.c
21 years ago
Mark Spencer 8c4657bddf Work on precaching
21 years ago
Mark Spencer a73fc9a283 Disable mac lookup, fix compile on NetBSD (bug #2680)
21 years ago
Mark Spencer 06dfca5d24 Add DUNDi.... (http://www.dundi.com)
21 years ago
Mark Spencer 996c8e7126 Add autofallthrough mode
21 years ago
Mark Spencer 9b702cc543 Don't build GTK console by default
21 years ago
Mark Spencer b4142e0cd2 Allow you to use labels with + to be nice to Tilghman.
21 years ago
Mark Spencer 027f79d840 Add '+foo' option, update sample config
21 years ago
Mark Spencer fce17976e9 Major PBX revamps (including labels, update examples)
21 years ago
Mark Spencer 34988d1ce9 Allow "n" or "next" and "s" or "same" in dialplan logic priorities
21 years ago
Mark Spencer 15c6bf0860 Add iax2 parsing for TNS/TON/PRES
21 years ago
Mark Spencer 04fc29c8b2 Huge callerid rework (might break H.323, others)
21 years ago
Mark Spencer 64b9a563f2 Make menu interruptible (bug #2377), Also fix PBX "add extension" CLI (bug #2289)
21 years ago
Mark Spencer de3528f0be Save CID and switches in "save dialplan" command (bug #2279)
21 years ago
Mark Spencer 7acee329e1 Merge BSD stack size work (bug #2067)
21 years ago
Mark Spencer 044ad2e2e7 Merge remaining audit patch (save dlfcn.c)
21 years ago
Mark Spencer fb3f2062fa Fix silly pbx spool buglet (bug #2007)
21 years ago
Mark Spencer 9b32ff1eeb Minor formatting fixes for pbx_wilcalu
21 years ago
James Golovich 8801247d76 Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
21 years ago
Mark Spencer 8c4cacbd58 Use ' instead of " for quoting in extensions.conf (bug #1872)
21 years ago
James Golovich d88a461764 Cleanup formatting
21 years ago
James Golovich db8da85266 Cleanup formatting
21 years ago
James Golovich bc80b3130d Cleanup formatting
21 years ago
Mark Spencer c53e76528d Allow escaping of commas as well as ability to use quotes (bug #1826)
21 years ago
Mark Spencer d208532e6e x86-64 compile fixes and cleanups
21 years ago
Mark Spencer 727abcdec7 Merge FreeBSD locking fixes (bug #1411)
21 years ago
James Golovich 29718a5001 ast_strlen_zero changes
21 years ago
Mark Spencer f2ccbc81d9 Internationalize say_date_time, fix small pbx_config seglet (bug #1537)
21 years ago
James Golovich 0122a3ea08 Fix 'remove extension' completion
21 years ago
Mark Spencer ce44c6ec41 More select/poll updates for various applications
21 years ago
James Golovich dc383a7ee7 Make outgoing call spool only consider # a comment if at the beginning of a line or following whitespace (bug 1346)
21 years ago
James Golovich aacc5e108b Only update utime in pbx_spool.c if the file exists
21 years ago
James Golovich 1cf0d5ad9d Make pbx_spool update utime with every safe_append
21 years ago
Mark Spencer 71e80e5f62 Leave retry time alone, handle "opaque" stuff in message.
21 years ago
Mark Spencer 79668f0624 Correctly handle call flow with outgoing queue, avoiding retries while call acti
21 years ago
James Golovich 200ae67551 Update spool file times after we close the file (bug 1018)
21 years ago
James Golovich a23c89dd75 Fix some comments in pbx.c and pbx_config.c
22 years ago
Mark Spencer 83344af1c2 Fix add include (bug #966) and small update to bug 890
22 years ago
Mark Spencer 695422d698 Various minor cleanups (bug #931)
22 years ago
Mark Spencer 1c838758c3 Save global variables across "save dialplan" (bug #426)
22 years ago