Commit Graph

475 Commits (63669c4496ab86833c8b9afac366b1e3293283e7)

Author SHA1 Message Date
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