Commit Graph

50 Commits (10e41e37b5031694e3ce663e89b14912816c859c)

Author SHA1 Message Date
Walter Doekes 02c8aaf3e3 Fix sqlite config driver segfault and broken queries
14 years ago
Terry Wilson 4e1084a392 Don't skip the query field on a realtime multi query
14 years ago
Leif Madsen 7caa2349af Merged revisions 328209 via svnmerge from
14 years ago
Russell Bryant f0f5e237bf Merged revisions 317474 via svnmerge from
14 years ago
Tilghman Lesher b4e18d5660 Add load priority order, such that preload becomes unnecessary in most cases
15 years ago
Leif Madsen c672763af8 Fix some doxygen warnings.
15 years ago
Tilghman Lesher 523e4e50bf Release list lock before returning on error.
15 years ago
Tilghman Lesher 642bec4d6f AST-2009-005
16 years ago
Kevin P. Fleming a5c2ac4fc2 a few more namespace updates... res_ael_share still needs some work before this can be merged to other release branches
16 years ago
Tilghman Lesher 4cc1606d27 Change the first field, or we don't get the necessary field separation.
17 years ago
Tilghman Lesher c8223fc957 Merge ast_str_opaque branch (discontinue usage of ast_str internals)
17 years ago
Eliel C. Sardanons 1e8e12efcf Janitor, use ARRAY_LEN() when possible.
17 years ago
Kevin P. Fleming 9a7c28cd5a we can now build with -Wformat=2, which found a couple of real bugs
17 years ago
Kevin P. Fleming bd4eb070f3 bring over all the fixes for the warnings found by gcc 4.3.x from the 1.4 branch, and add the ones needed for all the new code here too
17 years ago
Tilghman Lesher c1351ad237 Merge realtime_update2 branch, which adds a new realtime API call named
17 years ago
Sean Bright 1dedb785ab Don't include logger.h in asterisk.h by default as it is causing problems building
17 years ago
Tilghman Lesher 08af5bb312 Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating
17 years ago
Tilghman Lesher e682d4c67e Switch command order, to meet with current specs
17 years ago
Tilghman Lesher c4131d9752 Two errors:
17 years ago
Tilghman Lesher 57ffc548bc Add adaptive capabilities to the sqlite realtime driver
17 years ago
Michiel van Baak fe246aa673 fix a couple of comments in sqlite resource driver.
17 years ago
Tilghman Lesher 941599ce64 Fix memory leaks
17 years ago
Tilghman Lesher 38f7641c93 Fix memory leak.
17 years ago
Mark Michelson 255a968023 Don't try to dereference the dbfile pointer if
17 years ago
Joshua Colp e5c4deace3 Initialize all these here tmp pointers at declaration. They confused some compilers a wee bit.
17 years ago
Tilghman Lesher d02f74ebfe An offhand comment from Russell made me realize that the configuration file
17 years ago
Mark Michelson 269db42c02 Store dates using local time instead of UTC
18 years ago
Luigi Rizzo e0ff5fef5c remove a bunch of useless #include "options.h"
18 years ago
Luigi Rizzo 0595b5e2aa include "logger.h" and errno.h from asterisk.h - usage shows that they
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Tilghman Lesher 0f6892419e One more typo in config.c; and missed conversions due to the constifying of ast_variable_new parameters
18 years ago
Jason Parker cfbc4f5fb8 Doxygen fixes.
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
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
Jason Parker b0f3e6097e Convert NEW_CLI to AST_CLI.
18 years ago
Jason Parker 65761cbd7a More changes to NEW_CLI.
18 years ago
Russell Bryant 3dc9e8f38a Add support for #include, var_metric, and cat_metric in res_config_sqlite
18 years ago
Russell Bryant 1282de797d Various code and documentation cleanups for res_config_sqlite
18 years ago
Jason Parker d72ea80a00 Doxygen cleanups/fixes.
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
Tilghman Lesher c78ddffb04 store and destroy implementations for sqlite (closes issue #10446) and odbc (closes issue #10447)
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Russell Bryant eaebbdab61 (closes issue #10271)
18 years ago
Russell Bryant 055d82cbce Add a massive set of changes for converting to use the ast_debug() macro.
18 years ago
Jason Parker 77012734eb Fix incorrect logic for param count.
18 years ago
Russell Bryant 1d57ccb6f7 Fix a bunch of doxygen errors and document more things
18 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
18 years ago
Jason Parker 545de7746c Documentation fixes for res_config_sqlite.
18 years ago
Tilghman Lesher 1236ed3214 Issue 9477 - Improve menuselect labels
18 years ago
Russell Bryant 5bea998a55 Merge changes from team/russell/sqlite:
18 years ago