Walter Doekes
|
811197a149
core: Don't allow free to mean ast_free (and malloc, etc..).
|
10 سال پیش |
Tilghman Lesher
|
235ff981d9
Allow the REALTIME() function to report errors back to the caller.
|
12 سال پیش |
Russell Bryant
|
2f07938991
Multiple revisions 360356-360357
|
12 سال پیش |
Tilghman Lesher
|
db84d22f30
Add ABS() absolute value function to the expression parser.
|
13 سال پیش |
Tilghman Lesher
|
f27ab5ec8c
Merged revisions 293197 via svnmerge from
|
14 سال پیش |
Jason Parker
|
01911de1b2
Allow "REMAINDER" to function properly in expressions.
|
15 سال پیش |
David Vossel
|
acf236e14d
fixes a few redundant conditions
|
15 سال پیش |
David Vossel
|
2e6083823d
fixes some memory leaks and redundant conditions
|
15 سال پیش |
Steve Murphy
|
2852e49fd9
Merged revisions 179807 via svnmerge from
|
15 سال پیش |
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.
|
16 سال پیش |
Tilghman Lesher
|
e56baa5ede
That was weird...
|
16 سال پیش |
Tilghman Lesher
|
63d1a5aeff
Merged revisions 166953 via svnmerge from
|
16 سال پیش |
Kevin P. Fleming
|
56a0b7e953
incorporates r159808 from branches/1.4:
|
16 سال پیش |
Kevin P. Fleming
|
a6e68ccb24
Merged revisions 144924-144925 via svnmerge from
|
16 سال پیش |
Steve Murphy
|
9e25295f70
(closes issue #12467)
|
16 سال پیش |
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.
|
17 سال پیش |
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.
|
17 سال پیش |
Tilghman Lesher
|
72309f17d6
Simplify some preprocessor logic by using #elif
|
17 سال پیش |
Joshua Colp
|
169a080fc1
Fix up tree so that it compiles when MTX Profiling is enabled.
|
17 سال پیش |
Tilghman Lesher
|
9b1d345549
Fixes for FreeBSD... testing for every conceivable math function now
|
17 سال پیش |
Tilghman Lesher
|
b298788098
Check for the presence of trunc and round, and make the ISOC99 detection a little more sane (closes issue #10776)
|
17 سال پیش |
Tilghman Lesher
|
0ad37614e6
Restore EXP2 and LOG2 functions, by providing mathematical identify functions, when the underlying C functions are not available.
|
17 سال پیش |
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
|
17 سال پیش |
Russell Bryant
|
47f1b16d86
resolve a compiler warning so i can build in dev mode
|
17 سال پیش |
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.
|
17 سال پیش |
Steve Murphy
|
8013c3f89a
Merged revisions 72933 via svnmerge from
|
17 سال پیش |
Kevin P. Fleming
|
cc92637418
add -Wundef to the --enable-dev-mode flags, so that mistyped macro names in #if expressions will be caught
|
18 سال پیش |
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.
|
18 سال پیش |
Kevin P. Fleming
|
6d1e7d9f81
Merged revisions 45408 via svnmerge from
|
18 سال پیش |
Kevin P. Fleming
|
90db3f33ab
merge new_loader_completion branch, including (at least):
|
18 سال پیش |