Russell Bryant
|
2f07938991
Multiple revisions 360356-360357
|
hace 13 años |
Tilghman Lesher
|
db84d22f30
Add ABS() absolute value function to the expression parser.
|
hace 13 años |
Tilghman Lesher
|
f27ab5ec8c
Merged revisions 293197 via svnmerge from
|
hace 14 años |
Paul Belanger
|
4a7c6b5863
Merged revisions 267009 via svnmerge from
|
hace 15 años |
Jason Parker
|
01911de1b2
Allow "REMAINDER" to function properly in expressions.
|
hace 15 años |
Steve Murphy
|
2852e49fd9
Merged revisions 179807 via svnmerge from
|
hace 16 años |
Steve Murphy
|
4932a07f65
This patch allows null args in ast_expr2 func calls, and fixes commas being converted to pipes, which was 1.4 type stuff.
|
hace 16 años |
Kevin P. Fleming
|
a6e68ccb24
Merged revisions 144924-144925 via svnmerge from
|
hace 16 años |
Steve Murphy
|
9e25295f70
(closes issue #12467)
|
hace 17 años |
Steve Murphy
|
e1a8e6a0f5
Terry found this problem with running the expr2 parser on OSX. Make the #defines come out the same between the parser & lexer.
|
hace 17 años |
Steve Murphy
|
7820acad74
closes issue #11045 - each file needs to define ASTERISK_FILE_VERSION, if you are going to set MTX_PROFILE in the compiler flags; the problem was that the fixes were getting made to the generated .c file, and erased the next time someone regenerated that file from the corresponding .y or .flex file. Moral of story: keep your eyes open and make mods to the .y (or flex input file) and re-run bison (or flex) as the Makefile directs for that file, and then check in both. Also, res_config_sqlite was kinda missed, and has the same issue.
|
hace 17 años |
Tilghman Lesher
|
72309f17d6
Simplify some preprocessor logic by using #elif
|
hace 17 años |
Tilghman Lesher
|
9b1d345549
Fixes for FreeBSD... testing for every conceivable math function now
|
hace 17 años |
Tilghman Lesher
|
b298788098
Check for the presence of trunc and round, and make the ISOC99 detection a little more sane (closes issue #10776)
|
hace 17 años |
Tilghman Lesher
|
0ad37614e6
Restore EXP2 and LOG2 functions, by providing mathematical identify functions, when the underlying C functions are not available.
|
hace 17 años |
Steve Murphy
|
e915bee1d9
These changes fix 10145 and 10150, a prob with BSD and exp2/log2 not existing, as well as the bootstrap needing a small upgrade for openbsd. Many thanks to mvanbaak
|
hace 17 años |
Russell Bryant
|
47f1b16d86
resolve a compiler warning so i can build in dev mode
|
hace 17 años |
Steve Murphy
|
8ffa04fa2f
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.
|
hace 17 años |
Steve Murphy
|
8013c3f89a
Merged revisions 72933 via svnmerge from
|
hace 17 años |
Steve Murphy
|
aaac9cdaf5
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.
|
hace 18 años |
Kevin P. Fleming
|
90db3f33ab
merge new_loader_completion branch, including (at least):
|
hace 18 años |