Commit Graph

751 Commits (1.8)

Author SHA1 Message Date
Tilghman Lesher e8c781b215 Add pbx_lua as a method of doing extensions
18 years ago
Steve Murphy 63f2f04cf4 This commits the performance mods that give the priority processing engine in the pbx, a 25-30% speed boost. The two updates used, are, first, to merge the ast_exists_extension() and the ast_spawn_extension() where they are called sequentially in a loop in the code, into a slightly upgraded version of ast_spawn_extension(), with a few extra args; and, second, I modified the substitute_variables_helper_full, so it zeroes out the byte after the evaluated string instead of demanding you pre-zero the buffer; I also went thru the code and removed the code that zeroed this buffer before every call to the substitute_variables_helper_full. The first fix provides about a 9% speedup, and the second the rest. These figures come from the 'PIPS' benchmark I describe in blogs, conf. reports, etc.
18 years ago
Russell Bryant 1c7eb1d82b Change some uses of free() to ast_free(). (No functional differences.)
18 years ago
Steve Murphy c9f3efc381 Merged revisions 87168 via svnmerge from
18 years ago
Steve Murphy b7ef49c931 closes issue #11005, where #include uses the current dir instead of the config dir (/etc/asterisk) for relative path includes for AEL
18 years ago
Jason Parker ebe4050128 Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense
18 years ago
Joshua Colp 9409a33900 Merged revisions 86661 via svnmerge from
18 years ago
Jason Parker b0f3e6097e Convert NEW_CLI to AST_CLI.
18 years ago
Jason Parker ed690fc348 Switch dundi to new tos config format.
18 years ago
Russell Bryant be54dc15e5 Simplify buffer handling in dundi-parser.c. This also makes the code a bit
18 years ago
Russell Bryant 3f2e8db598 Merged revisions 85556 via svnmerge from
18 years ago
Russell Bryant ac46e63a41 Merged revisions 85540 via svnmerge from
18 years ago
Russell Bryant e5853d8409 Merged revisions 85515 via svnmerge from
18 years ago
Russell Bryant e97a723cf1 Merge a ton of NEW_CLI conversions. Thanks to everyone that helped out! :)
18 years ago
Steve Murphy 3ffa04bbd3 Merged revisions 84511 via svnmerge from
18 years ago
Steve Murphy b3168a76c9 Merged revisions 84239 via svnmerge from
18 years ago
Russell Bryant d78463be1e Corydon posted this janitor project to the bug tracker and mvanbaak provided
18 years ago
Steve Murphy c782398ca4 the last commit for AEL affected a small number of tests. Added a regression test for glob'd includes
18 years ago
Russell Bryant 41d513f443 Merged revisions 83976 via svnmerge from
18 years ago
Steve Murphy f2b38cf2f3 Merged revisions 83558 via svnmerge from
18 years ago
Russell Bryant 9f64905d4e Merged revisions 83432 via svnmerge from
18 years ago
Joshua Colp 6489076887 Fix memory leaks in pbx_dundi, cdr_pgsql, and the configuration file parser.
18 years ago
Russell Bryant 3d7cf301d8 Merged revisions 82802 via svnmerge from
18 years ago
Russell Bryant 9388173f85 Make the MALLOC_DEBUG output for free() useful again. After changing calls to
18 years ago
Jason Parker 584a510d20 Merged revisions 82358 via svnmerge from
18 years ago
Russell Bryant c0f72f5311 Merged revisions 82250 via svnmerge from
18 years ago
Joshua Colp 078595f5c5 Merged revisions 82243 via svnmerge from
18 years ago
Steve Murphy b5cd67adc3 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.
18 years ago
Russell Bryant 2f4a2811b6 Add proper channel locking around the uses of datastore_add and _find. There
18 years ago
Russell Bryant 44795584b2 This should have been trunk only, I guess. oh well ... it's harmless.
18 years ago
Russell Bryant adcd4d4ab4 Merged revisions 81074 via svnmerge from
18 years ago
Russell Bryant 8d4761f8d3 localize a variable and remove a duplicate error message
18 years ago
Steve Murphy 83e28341b5 an unreported crash I debugged, looked like it was backing up way too far after hitting the syntax error. An inspection of the code revealed that error tokens in lists were not rearranged when the rules were rearranged as part of a code neatening-up process. By moving the error tokens to where they should be, I also reduced the number of shift/reduce conflicts to 3 instead of 8. This introduces subtle differences in error messages, so the regressions had to be updated.
18 years ago
Jason Parker fafa7d93e4 Correct the argument separator for a Dial statement in pbx_dundi.
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Joshua Colp 3f998a86a1 (closes issue #10467)
18 years ago
Steve Murphy 9836efb5fb 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.
18 years ago
Steve Murphy d9b52497f0 Merged revisions 79255 via svnmerge from
18 years ago
Steve Murphy 526d1f39a2 Merged revisions 79099 via svnmerge from
18 years ago
Russell Bryant 668a334f85 Add another big set of doxygen documentation improvements from snuffy.
18 years ago
Russell Bryant 4e0947c5f1 Convert code that checks the _softhangup member of ast_channel directory to use
18 years ago
Tilghman Lesher 8f1c914c89 'dialplan save' shouldn't be converting '|' back to ',' anymore.
18 years ago
Steve Murphy ceca4d97e1 These fixes take care of two problems: a complaint in asterisk-dev that goto's aren't working in trunk, a side effect of the move to commas as arg seps in apps and funcs; and a problem I spotted myself with dial's 'e' option, where gotos were off by one, because I forgot to set the AUTOLOOP flag in the peer channel.
18 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
18 years ago
Steve Murphy f7213d2411 The upgrade of application argument separators to comma has an effect on AEL; I commented out the code that substitutes commas with vertbars, so we can get apps to parse their args correctly.
18 years ago
Tilghman Lesher 55b1ee298e Merge the dialplan_aesthetics branch. Most of this patch simply converts applications
18 years ago
Steve Murphy 0e969271ae After some study, thought, comparing, etc. I've backed out the previous universal mod to make ast_flags a 64 bit thing. Instead, I added a 64-bit version of ast_flags (ast_flags64), and 64-bit versions of the test-flag, set-flag, etc. macros, and an app_parse_options64 routine, and I use these in app_dial alone, to eliminate the 30-option limit it had grown to meet. There is room now for 32 more options and flags. I was heavily tempted to implement some of the other ideas that were presented, but this solution does not intro any new versions of dial, doesn't have a different API, has a minimal/zero impact on code outside of dial, and doesn't seriously (I hope) affect the code structure of dial. It's the best I can think of right now. My goal was NOT to rewrite dial. I leave that to a future, coordinated effort.
18 years ago
Steve Murphy 5ac24b25d3 This corrects the problem with flags and %lld formats on 64-bit machines, where uint64_t is NOT acceptable for %lld, and also works on 32-bit machines. At least, with gcc.
18 years ago
Joshua Colp 674dbeb0cf Merged revisions 75583 via svnmerge from
18 years ago
Joshua Colp 4003b31fc5 Minor code tweaks. Variables were being checked wrong in some situations and didn't need to be checked in others.
18 years ago
Steve Murphy 8b0b74c9b0 Spotted this bug today myself, trying to reproduce a BE bug. Use a vert bar instead of a comma, when calling RAND.
18 years ago
Steve Murphy 8a7732f067 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.
18 years ago
Joshua Colp 1040d3f64b Clean up pbx_spool. So many nested if statements...
18 years ago
Joshua Colp 836ea36d3c Merged revisions 74045 via svnmerge from
18 years ago
Joshua Colp d61056132a Merged revisions 73930 via svnmerge from
18 years ago
Steve Murphy 6a4efe5d5a 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.
18 years ago
Russell Bryant 3b0f89dae6 Merged revisions 72806 via svnmerge from
18 years ago
Russell Bryant 8d89f741a5 Merged revisions 72272 via svnmerge from
18 years ago
Joshua Colp 36668045a6 Merged revisions 72006 via svnmerge from
18 years ago
Tilghman Lesher a1bc823136 Issue 9990 - New API ast_mkdir, which creates parent directories as necessary (and is faster than an outcall to mkdir -p)
18 years ago
Steve Murphy c1bb0fc34b This finishes the changes for making Macro args LOCAL to the call, and allowing users to declare local variables.
18 years ago
Tilghman Lesher 704c756c4a Merge work to make U(...) option work for Dial
18 years ago
Russell Bryant 9e0458e9f1 Completely remove all of the code related to jumping to priority n + 101. yay!
18 years ago
Tilghman Lesher 7e52b8620b Merged revisions 68595 via svnmerge from
18 years ago
Steve Murphy 52efde5c65 Merged revisions 67526 via svnmerge from
18 years ago
Steve Murphy 00b33aaa49 Merged revisions 67420 via svnmerge from
18 years ago
Russell Bryant e1375b96c2 Change javadoc style code documentation to the same format we use elsewhere.
18 years ago
Kevin P. Fleming 4573b36af1 use the OpenSSL AES implementation if it's available (unless configured not to)
18 years ago
Russell Bryant 4b3a3fb14c Add a new API call for creating detached threads. Then, go replace all of the
18 years ago
Russell Bryant f02e26feff Make sure that DUNDIRESULT is given an ID.
18 years ago
Steve Murphy dc8f6a9473 Merged revisions 62883 via svnmerge from
18 years ago
Russell Bryant b419fc1134 Add support for setting the CoS for VLAN traffic (802.1p) in Linux. The
18 years ago
Russell Bryant c59b8876aa Merge changes from team/russell/dundi_results
18 years ago
Steve Murphy f120c26ec1 Merged revisions 59688 via svnmerge from
18 years ago
Steve Murphy e1476b8aab Merged revisions 59261 via svnmerge from
18 years ago
Steve Murphy 2ca78b4a6e added the no. 18 regression test
18 years ago
Steve Murphy 589a8f9214 updated the regressions with regards to 9373, the crash on double contexts, and brought other regressions up to date
18 years ago
Steve Murphy 3433b64703 Merged revisions 59228 via svnmerge from
18 years ago
Steve Murphy 834f783edf Merged revisions 59206 via svnmerge from
18 years ago
Joshua Colp 133f26f977 Merged revisions 59200 via svnmerge from
18 years ago
Steve Murphy e6d32d3132 The fix for the AEL <<security hole>> (bug 9316) is here...
18 years ago
Russell Bryant 32e03f9e4a Add the ability to dynamically specify weights for responses to DUNDi queries.
18 years ago
Steve Murphy 67df5b67ee updated the regression tests
18 years ago
Steve Murphy 91a9b97a73 Merged revisions 57426 via svnmerge from
18 years ago
Joshua Colp e7b03a991e Convert the PBX core to use read/write locks. This yields a nifty performance improvement when it comes to simultaneous calls going through the dialplan. Using murf's test the old mutex based core took an average of 57.3 seconds while the rwlock based core took 31.1 seconds. That's a nifty 26.2 seconds performance improvement. The other good part is that if we do need to switch back then we just have to change the lock/unlock API calls. I converted everywhere that used to touch the mutex locks directly to use them.
18 years ago
Steve Murphy bca20ed71e Merged revisions 57049 via svnmerge from
18 years ago
Joshua Colp e83cff1c23 Merged revisions 56856 via svnmerge from
18 years ago
Olle Johansson 75d387acbc Doxygen additions, corrections
18 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
18 years ago
Russell Bryant 84718d10c4 Merged revisions 54898 via svnmerge from
18 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