Commit Graph

278 Commits (f21824e65a68e3ea5ed37b59be1d5cabaae255b8)

Author SHA1 Message Date
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Steve Murphy 98429d37b2 Based on a note in asterisk-dev by Brian Capouch, I determined I too agressive in not initializing arrays passed to pbx_substitute_variables_xxxx; I reviewed the code (again) and hopefully found every possible spot where substitute_variables is called conditionally, and made sure the char array involved was set to a null string.
18 years ago
Jason Parker b436362b19 Fix a few potential deadlocks in cdr_sqlite3_custom.
18 years ago
Steve Murphy a87efea3c4 Merged revisions 89088 via svnmerge from
18 years ago
Joshua Colp 16e33c3791 Restore building under 64-bit platforms.
18 years ago
Tilghman Lesher 4650a56d23 Convert cdr_odbc to use res_odbc managed connections
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
Tilghman Lesher c96c01cfd1 Fix memory leak
18 years ago
Tilghman Lesher 9691f51d73 Set enablecdr at the end of re-reading the config file (Closes issue #10852)
18 years ago
Tilghman Lesher 2fc1f89c30 Fix cdr_manager, such that if the config file is created past load, it'll
18 years ago
Joshua Colp 6489076887 Fix memory leaks in pbx_dundi, cdr_pgsql, and the configuration file parser.
18 years ago
Joshua Colp 2f0dba3010 Clean up code in cdr_csv. (Are you sensing a theme for me today?)
18 years ago
Jason Parker 0d1abc92fe Don't try to continue loading cdr_sqlite3_custom on a module load failure (such as the config not existing)
18 years ago
Jason Parker 28fbbde310 Merged revisions 82344 via svnmerge from
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Russell Bryant 9d959a040e Resolve some compiler warnings so that I can build under dev mode
18 years ago
Tilghman Lesher 7f570a8b3d Some ODBC drivers don't set the CHAR_OCTET_LENGTH field correctly.
18 years ago
Joshua Colp 52099657d5 Merged revisions 77540 via svnmerge from
18 years ago
Mark Michelson 625410df63 Merged revisions 77318 via svnmerge from
18 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
18 years ago
Tilghman Lesher 81bc1d7af5 Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second
18 years ago
Steve Murphy 8aaa93e624 Merged revisions 70841 via svnmerge from
18 years ago
Jason Parker cf5666ca7a Merged revisions 70612 via svnmerge from
18 years ago
Jason Parker 21c8795c1d Merged revisions 70560 via svnmerge from
18 years ago
Jason Parker a5d03568e5 Merged revisions 70554 via svnmerge from
18 years ago
Steve Murphy 9c2197dc9e This enhancement provided via bug 9993, a patch to upgrade cdr_manager to have cdr_custom capabilities. Many thanks to eserra for this contribution
18 years ago
Russell Bryant 43658278ff Merged revisions 69702 via svnmerge from
18 years ago
Kevin P. Fleming 5fdba27ea2 Merged revisions 69392 via svnmerge from
18 years ago
Russell Bryant 055d82cbce Add a massive set of changes for converting to use the ast_debug() macro.
18 years ago
Russell Bryant febc05b1f7 Merged revisions 69016 via svnmerge from
18 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
18 years ago
Tilghman Lesher 2263fd907e Oops, should have released this when we were done with it.
18 years ago
Tilghman Lesher cff6586d8d Fix for 64-bit platform
18 years ago
Tilghman Lesher de27bce777 Comment a few more things, and remove an unnecessary db connection check
18 years ago
Tilghman Lesher 6fbadb4325 Merge cdr_adaptive_odbc from developer branch
18 years ago
Steve Murphy fe7068a51b Merged revisions 62689 via svnmerge from
18 years ago
Tilghman Lesher 711c77fc08 Merged revisions 59302 via svnmerge from
18 years ago
Olle Johansson fb0ed25369 Correct reference to Radius library
18 years ago
Russell Bryant 5bea998a55 Merge changes from team/russell/sqlite:
18 years ago
Olle Johansson bc01e39174 Creating new doxygen macro "\extref" to create page that lists
19 years ago
Jason Parker fe4208e4ee Merged revisions 50346 via svnmerge from
19 years ago
Steve Murphy 7b338004bf a quick fix to app_sms.c to get rid of cursed compiler warnings so I can compile under --enable-dev-mode
19 years ago
Joshua Colp 380d0e9070 Merged revisions 47584 via svnmerge from
19 years ago
Kevin P. Fleming 749029de38 Merged revisions 46200 via svnmerge from
19 years ago
Joshua Colp 68ccfe6e5e Merged revisions 45928 via svnmerge from
19 years ago
Matt O'Gorman ae8cc3e18b bug #8076 check option_debug before printing to debug channel.
19 years ago
Tilghman Lesher 993adde868 Merged revisions 43410 via svnmerge from
19 years ago
Tilghman Lesher 8e81e20658 One last forgotten constified file
19 years ago
Russell Bryant cb268c0228 resolve compiler warnings from constification
19 years ago
Joshua Colp e8b820e743 Magical eightball says warnings be gone.
19 years ago
Tilghman Lesher 70af28270d Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
19 years ago
Russell Bryant eb3db2fc15 fix some breakage, MOG DID IT!!!
19 years ago
Matt O'Gorman 05a695af72 everything that loads a config that needs a config file to run
19 years ago
Kevin P. Fleming d12f54f90b GNU make already knows how to quietly ignore non-existent files in 'include' directives
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Kevin P. Fleming 000ba592b2 more Makefile cleanup and consistency stuff
19 years ago
Kevin P. Fleming 748431f7b6 move rules file to prepare for generic rules file
19 years ago
Kevin P. Fleming dbf099cdb8 update dependency information to match new names for dependencies
19 years ago
Kevin P. Fleming 98a465fc09 move FreeTDS version check into configure script
19 years ago
Kevin P. Fleming a579371f43 use new (separate) dependencies file from menuselect
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 b6147a21b9 remove "depend" from the "all" targets in sub Makefiles. The main Makefile
19 years ago
Kevin P. Fleming 8d88bf549d there is no reason to define our own 'maximum path length' when the POSIX headers already define one for us
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
Russell Bryant a8c1284633 change a warning message to a debug message
19 years ago
Russell Bryant b0ee67ebdc remove a bunch of duplicated log messages. There is a warning that gets
19 years ago
Russell Bryant 1fcc86d905 Add support for logging CDR recrods to a radius server (issue #6639, phsultan)
19 years ago
Russell Bryant d8f4a04acc remove an unused variable, and default the user to asterisk if not specified
19 years ago
Russell Bryant f1a97c3b3f various fixes regarding coding guidelines issues
19 years ago
Russell Bryant 0523e82f46 if a hostname is not specified, connect over a unix socket instead of
19 years ago
Kevin P. Fleming d7aead737d Merged revisions 23673 via svnmerge from
19 years ago
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
19 years ago
Mark Spencer 746c984500 Fix CDR builds when includes are in freetds directory off include
19 years ago
Tilghman Lesher efc4a4708c Merged revisions 21597 via svnmerge from
19 years ago
Kevin P. Fleming 2229586d71 more module loader related fixes
19 years ago
Tilghman Lesher b8317169d0 Compatibility fixes for loader changes
19 years ago
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
19 years ago
Kevin P. Fleming f10f427d49 since the module API is changing, it's a good time to const-ify the description() and key() return values
19 years ago
Luigi Rizzo 408a6e25e4 remove duplicate CFLAGS and SOLINK definitions that are
19 years ago
Russell Bryant d3527e5020 add header to fix building with -Werror (issue #6718)
19 years ago
Matt O'Gorman dad9d7709b allows the table field to be configurable for
20 years ago
Matt O'Gorman 7377ebbd2e cdr_csv logging parameters in cdr.conf
20 years ago
Tilghman Lesher c6f691fbcc Merged revisions 11503 via svnmerge from
20 years ago
Kevin P. Fleming e7c198453d ensure that dependencies are rebuilt after 'make update' so that builds don't break when files are removed/renamed
20 years ago
Kevin P. Fleming 764b5d8686 use auto-build for cdr modules
20 years ago
Tilghman Lesher 8774e4a7d8 Merged revisions 9233 via svnmerge from
20 years ago
Matt O'Gorman 7d03c33e0a Allows for user to uninstall asterisk binaries
20 years ago
Olle Johansson aad2331375 - Adding whitespace that I found unused outside
20 years ago
Olle Johansson fe1366c201 Declaring conn and result static to avoid collission with realtime driver (issue 6336, pressureman)
20 years ago
Russell Bryant a725468381 update doxygen docs to specify authors
20 years ago
Tilghman Lesher cf1e68e4e8 Merged revisions 7637 via svnmerge from
20 years ago
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
20 years ago
Kevin P. Fleming c14588af86 remove remaining .cvsignore files
20 years ago