Commit Graph

32 Commits (master)

Author SHA1 Message Date
Luz Paz e3ad4cea4e docs: Fix various typos in main/
2 months ago
Jaco Kroon 44e5dd288b Remove #include <sys/cdefs.h>
5 years ago
Sean Bright fd0ca1c3f9 Remove as much trailing whitespace as possible.
7 years ago
Corey Farrell 58d032112b Fix compiler warnings on Fedora 26 / GCC 7.
8 years ago
Corey Farrell a6e5bae3ef Remove ASTERISK_REGISTER_FILE.
9 years ago
Richard Mudgett 44f16af7cc ast_expr2: Fix off-nominal memory leak.
9 years ago
Alexei Gradinari 820ed3d4b3 fix: memory leaks, resource leaks, out of bounds and bugs
9 years ago
Timo Teräs 9c1d95e873 Fix #include poll.h and sys/cdefs.h
9 years ago
Corey Farrell 478fb4a388 MALLOC_DEBUG: Replace WRAP_LIBC_MALLOC with ASTMM_LIBC.
10 years ago
Corey Farrell 55a780d211 Git Conversion: Switch Non-C files to ASTERISK_REGISTER_FILE.
10 years ago
Walter Doekes 37179a2b1f core: Don't allow free to mean ast_free (and malloc, etc..).
11 years ago
Russell Bryant cad07b3800 Multiple revisions 360356-360357
13 years ago
Tilghman Lesher c60d15222c Add ABS() absolute value function to the expression parser.
13 years ago
Tilghman Lesher d07eca63b6 Merged revisions 293197 via svnmerge from
15 years ago
Paul Belanger c2e059292d Merged revisions 267009 via svnmerge from
15 years ago
Jason Parker 21954cea7d Allow "REMAINDER" to function properly in expressions.
16 years ago
Steve Murphy f47b03877b Merged revisions 179807 via svnmerge from
16 years ago
Steve Murphy 2fb28891a3 This patch allows null args in ast_expr2 func calls, and fixes commas being converted to pipes, which was 1.4 type stuff.
17 years ago
Kevin P. Fleming 629861a705 Merged revisions 144924-144925 via svnmerge from
17 years ago
Steve Murphy c0b8f57b9d (closes issue #12467)
17 years ago
Steve Murphy 241de02854 Terry found this problem with running the expr2 parser on OSX. Make the #defines come out the same between the parser & lexer.
18 years ago
Steve Murphy 16d06cb62f 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.
18 years ago
Tilghman Lesher 727a908023 Simplify some preprocessor logic by using #elif
18 years ago
Tilghman Lesher 48f56ba8b4 Fixes for FreeBSD... testing for every conceivable math function now
18 years ago
Tilghman Lesher 78a94595f6 Check for the presence of trunc and round, and make the ISOC99 detection a little more sane (closes issue #10776)
18 years ago
Tilghman Lesher 935bd057f8 Restore EXP2 and LOG2 functions, by providing mathematical identify functions, when the underlying C functions are not available.
18 years ago
Steve Murphy 1827bcba77 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
18 years ago
Russell Bryant 2b0ec81639 resolve a compiler warning so i can build in dev mode
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
Steve Murphy 94b934c8f6 Merged revisions 72933 via svnmerge from
18 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
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago