Commit Graph

614 Commits (46c3a5373952f87f1c772667172cef510e6ff7f3)

Author SHA1 Message Date
Olle Johansson 75d387acbc Doxygen additions, corrections
19 years ago
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
20 years ago
Kevin P. Fleming acfa035afe Merged revisions 37417 via svnmerge from
20 years ago
Kevin P. Fleming 13ba816edd rename this file so it doesn't appear to be a module by itself
20 years ago
Kevin P. Fleming bc9ed9f5c4 various minor fixes
20 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)
20 years ago
Steve Murphy 04ed725e73 OK, here is everything I changed to fix 7474:
20 years ago
Kevin P. Fleming 748431f7b6 move rules file to prepare for generic rules file
20 years ago
Kevin P. Fleming a579371f43 use new (separate) dependencies file from menuselect
20 years ago
Russell Bryant 2f80e9db74 fix pbx_dundi build (issue #7424, jstrom)
20 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>)
20 years ago
Russell Bryant 48ae9f0d4f - convert the 'uninstall' target to use separate targets to process each
20 years ago
Russell Bryant 55e8a60363 - specify that 'depend' is a .PHONY target
20 years ago
Russell Bryant 9db0520ff9 - specify that 'all' is a .PHONY target
20 years ago
Russell Bryant c399a06450 add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targets
20 years ago
Russell Bryant 9f2a6516cf don't blow up in the sub Makefiles if menuselect.makeopts is not present. This
20 years ago
Russell Bryant 73ae55698f merge changes from team/murf/AEL-trunk-fixesonly
20 years ago
Russell Bryant b6147a21b9 remove "depend" from the "all" targets in sub Makefiles. The main Makefile
20 years ago
Russell Bryant 171992e505 don't use ast_copy_string when building for an external tool
20 years ago
Russell Bryant 0e140be311 convert a few more uses of AST_CONFIG_MAX_PATH to use PATH_MAX
20 years ago
Kevin P. Fleming b31b0be819 various minor portability fixes (mostly from tholo for OpenBSD)
20 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
20 years ago
Russell Bryant 503f99e2e8 remove the need to have to re-run make after a default menuselect.makeopts
20 years ago
Kevin P. Fleming e856010714 use module names, not file names, in menuselect
20 years ago
Kevin P. Fleming dd6de5ee4e it's time... only enable global priority jumping if the config file says to do so
20 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)
20 years ago
Russell Bryant f9e5541689 on a clean, we have to clean out the ael directory too
20 years ago
Russell Bryant 004885c2fa Make the new behavior where the timestamp is checked on the call file before
20 years ago
Russell Bryant 50775a944d only delete call files if the timestamp on the file is not in the future, so
20 years ago
Luigi Rizzo 7c415648d1 change macro into a function, remove unused code.
20 years ago
Luigi Rizzo b09dd8708b start cleanup indentation etc.
20 years ago
Russell Bryant 04ecb29d03 remove almost all of the checks of the result from ast_strdupa() or alloca().
20 years ago
Kevin P. Fleming ed3ffb4b46 various doxygen fixes
20 years ago
BJ Weschke 569ecaf5a2 use pid_t instead of long for pid variables. #7099 (casper)
20 years ago
Russell Bryant b7c2ae9dba - use ast_calloc instead of malloc+memset
20 years ago
Luigi Rizzo b569ebd593 more simplifications
20 years ago
Luigi Rizzo 5f612f9ae6 consistent rule for goto...
20 years ago
Luigi Rizzo e5b0c721e5 remove another useless nonterminal
20 years ago
Luigi Rizzo 34d67f7d09 remove a useless nonterminal
20 years ago
Luigi Rizzo 49227c7ba1 more simplifications
20 years ago
Luigi Rizzo 7695df3896 remove more shift-reduce conflicts
20 years ago
Luigi Rizzo 820ef22951 remove a redundant rule
20 years ago
Luigi Rizzo 673607f87a reduce shift/reduce warnings
20 years ago
Luigi Rizzo 9ebc190fdc simplify case_statements
20 years ago
Luigi Rizzo e2e92e49a6 switch statement in one place
20 years ago
Luigi Rizzo 7cc4511fa2 common syntax for context name
20 years ago
Luigi Rizzo 34dcc89e24 another instance of context name
20 years ago
Luigi Rizzo 7a625b894d fix a bug previously introduced in the handling of timespec.
20 years ago
Luigi Rizzo 0cf25becb9 simplify case statements
20 years ago
Luigi Rizzo 05d2b78132 one more instance of assignment
20 years ago
Luigi Rizzo 0e8e343e1f global_statement is really an assignment statement
20 years ago
Luigi Rizzo b222d1247f expressions used in if, while, switch are all of the same kind
20 years ago
Luigi Rizzo 99dec41a4c macro statements can be empty
20 years ago
Luigi Rizzo 65b8f8365e empty arglists are valid
20 years ago
Luigi Rizzo 3173305448 rename the rule for context names properly
20 years ago
Luigi Rizzo 9eaa57bebc simplify handling of 'include' lists
20 years ago
Luigi Rizzo 827abbf46e ... and use a single rule for timespec
20 years ago
Luigi Rizzo 7b10b81a58 use a single rule to parse timeranges hh:mm-hh:mm
20 years ago
Luigi Rizzo 5c940c74a6 if/ifTime/random statements are all the same thing
20 years ago
Luigi Rizzo 16f94523ad includedname is just a regular word_or_default name,
20 years ago
Luigi Rizzo df3f8aa2b9 remove useless 'extern' declaration
20 years ago
Luigi Rizzo 5cbf333fee remove some unneeded local variables.
20 years ago
Luigi Rizzo f262d06975 more usage of nword(). I think the references to source
20 years ago
Luigi Rizzo d8e1ad052a more simplifications involving linku1
20 years ago
Luigi Rizzo 182a536722 correct linku1() to handle the case tail = NULL correctly.
20 years ago
Russell Bryant 0765f065ca staticize the list heads from my recent conversions to list macros
20 years ago
Russell Bryant 34e0ae0e6a The build of aelparse was still broken in some cases, so instead of having to
20 years ago
Tilghman Lesher 9be0f34a3e Bug 7062 - Rename ael2 CLI commands to ael
20 years ago
Russell Bryant 02eda146ac - convert permission lists to use list macros
20 years ago
Russell Bryant 5a60431c29 conver the lists of dundi packets to use the list macros
20 years ago
Russell Bryant 7ce2726c09 - convert the dundi precache list to use the list macros
20 years ago
Luigi Rizzo c305fb082d more simplifications
20 years ago
Luigi Rizzo 01360f6440 always trim the trailing ';'
20 years ago
Luigi Rizzo 33167fc41c comment usage of contexts
20 years ago
Luigi Rizzo 2c2f7e817b fix dereferencing freed memory
20 years ago
Luigi Rizzo 595955ea98 switch a couple of operands.
20 years ago
Luigi Rizzo 8faa2e7d44 put back some simplifications, this time really tested
20 years ago
Luigi Rizzo db14f6b107 revert ael.flex to the last correct version.
20 years ago
Luigi Rizzo 44f43f9eb1 another small set of simplifications
20 years ago
Russell Bryant b992d92742 - convert the lists of dundi_transactions to the list macros
20 years ago
Luigi Rizzo c22ef69d1f simplify logic (runtest passed).
20 years ago
Luigi Rizzo 85480376f7 more nword() usages, and mark some dubious places.
20 years ago
Luigi Rizzo f239ec2080 introduce a new frontend to npval for the very common case
20 years ago
Luigi Rizzo 5e746bf38f another client for switchlist_block
20 years ago
Luigi Rizzo 813f565de7 more merge of common blocks through intermediate rules.
20 years ago
Luigi Rizzo f4b05f86cc make destroy_pval able to handle a NULL value
20 years ago
Luigi Rizzo ce05a548c3 remove some commented-out code
20 years ago
Luigi Rizzo 36a26a9197 simplify updating the token position markers
20 years ago
Kevin P. Fleming 7343d311f1 simplify CFLAGS handling for subdirectories
20 years ago
Luigi Rizzo c5f779d0a0 more comments
20 years ago
Luigi Rizzo 9a8a037250 comment some code
20 years ago
Luigi Rizzo 6eb6343d9a more simplifications in the bison sources,
20 years ago
Russell Bryant 31cd56f76e remove unneeded define - it is already in asterisk.h
20 years ago
Russell Bryant 03d005e472 convert the dundi_request list to use the list macros
20 years ago
Russell Bryant dbbe944da8 convert existing comments to doxygen format
20 years ago
Russell Bryant 149e45924a fix indentation for this function
20 years ago
Russell Bryant fcb2809e45 immediately handle ast_strdupa result so that one more level of indentation
20 years ago
Russell Bryant ef775bbd66 fix the indentation of a large block
20 years ago
Russell Bryant ed320702d9 handle a memory allocation failure immediately so the following large block
20 years ago
Russell Bryant 4cfcacf6c9 - convert the list of dundi mappings to use the list macros
20 years ago
Russell Bryant d9fa5f3c89 change a list traversal to use a for loop
20 years ago
Russell Bryant c7fea723a3 fix the indentation of a large block of code
20 years ago
Russell Bryant 059f0bd108 immediately handle a memory allocation failure so the rest of the function
20 years ago
Russell Bryant d66de679d9 - convert some comments to doxygen format
20 years ago
Russell Bryant 8682a7378d add a small optimization for deleting all the members of a list
20 years ago
Luigi Rizzo c7a892d5f9 make the 'runtest' filter less strict on line numbers.
20 years ago
Luigi Rizzo d30ead1474 simplify handling of line numbers
20 years ago
Luigi Rizzo dad2812867 fix last known bug in computing columb numbers in error messages
20 years ago
Luigi Rizzo c1366df3d5 fix a bug in computing line numbers
20 years ago
Luigi Rizzo 799126216e - fix miscalculation in column numbers when multiple tabs
20 years ago
Luigi Rizzo 43bfe82828 last batch of npval -> npval2 changes
20 years ago
Luigi Rizzo 5291b89f30 more npval -> npval2 changes
20 years ago
Luigi Rizzo c9816d135d more npval -> npval2 conversions
20 years ago
Luigi Rizzo 304fbbd1b6 fix destructor for pval objects (thanks to Steve Murphy);
20 years ago
Luigi Rizzo 85ea0974f8 always call the destructor
20 years ago
Luigi Rizzo 456e27b453 document variable and options used.
20 years ago
Luigi Rizzo 810e701b1e document options, move objects of the same type close to
20 years ago
Luigi Rizzo 9033ecfaa2 slightly restructure a block to reduce nesting,
20 years ago
Luigi Rizzo f0d3175793 imore npval -> npval2 conversions
20 years ago
Luigi Rizzo cbbcc2047c more npval2 replacement, mark XXX dubious arguments
20 years ago
Luigi Rizzo 5c34366afc more npval -> npval2 replacement, and a fix for a likely
20 years ago
Luigi Rizzo dadafb65cf introduce a simplified interface for npval and start using it
20 years ago
Luigi Rizzo 54616839d7 formatting fixes
20 years ago
Luigi Rizzo 776a3da1a7 use ast_calloc for memory allocations
20 years ago
Luigi Rizzo 73ea5316b5 fix a couple of bugs in arguments to npval
20 years ago
Luigi Rizzo b37af2f16c remove some commented-out code
20 years ago
Luigi Rizzo a5fdd0d6b0 finish packing yylloc into macros
20 years ago
Luigi Rizzo e51725d6d4 add some comments to the code
20 years ago
Luigi Rizzo 7422c5495b more formatting cleanup
20 years ago
Luigi Rizzo 5591294c5e more dup removal
20 years ago
Luigi Rizzo 98d769c7c0 more duplicate removal
20 years ago
Luigi Rizzo ef8f9a28a3 remove duplicated code
20 years ago
Luigi Rizzo 53715e59cf staticize c_prevword()
20 years ago
Luigi Rizzo 073391cc63 more indentation fixes
20 years ago
Luigi Rizzo 20314914e8 use asprintf instead of malloc
20 years ago