Commit Graph

125 Commits (master)

Author SHA1 Message Date
Tilghman Lesher b4e18d5660 Add load priority order, such that preload becomes unnecessary in most cases
15 years ago
Tilghman Lesher a7c92fad28 Merged revisions 277568 via svnmerge from
15 years ago
Tilghman Lesher 35025c16d0 Merged revisions 265910 via svnmerge from
15 years ago
Tilghman Lesher 5c9fdd8666 Construct socket name, according to the Postgres docs, and document as such.
15 years ago
David Vossel 4e14faaefe fixes pgsql double free of threadstorage
16 years ago
Olle Johansson fff998bf41 Use extref for doxygen references to external libraries (in this case PostgreSQL)
16 years ago
Tilghman Lesher 2d60b75594 Change schema query to involve the use of an optional schema parameter.
16 years ago
Tilghman Lesher 642bec4d6f AST-2009-005
16 years ago
Kevin P. Fleming 82fb56886e More 'static' qualifiers on module global variables.
16 years ago
Kevin P. Fleming ab3e9ddad1 Merged revisions 182808 via svnmerge from
16 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
Tilghman Lesher c1351ad237 Merge realtime_update2 branch, which adds a new realtime API call named
17 years ago
Michiel van Baak 90751b16ca Merge the cli_cleanup branch.
17 years ago
Tilghman Lesher 434c69b7fd Change several improper "sizeof" to "strlen", as sizeof in that context would
17 years ago
Tilghman Lesher 08af5bb312 Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating
17 years ago
Sean Bright 357bf3e90b All of the res/ stuff (other than res_jabber) from the RSW branch.
17 years ago
Tilghman Lesher 52b2aeb679 Increase column size beyond the minimum required, since PostgreSQL won't let
17 years ago
Sean Bright 729df81a57 Fix some usages of snprintf, and clarify a couple variable names.
17 years ago
Tilghman Lesher 4d322f7bd3 Properly detect the size of char/varchar fields
17 years ago
Tilghman Lesher 53459f86b2 Expand RQ_INTEGER type out to multiple types, one for each precision
17 years ago
Tilghman Lesher 9471b87d27 Merge the adaptive realtime branch, which will make adding new required fields
17 years ago
Jason Parker 1ba4d31854 Merged revisions 114829 via svnmerge from
17 years ago
Tilghman Lesher d02f74ebfe An offhand comment from Russell made me realize that the configuration file
17 years ago
Joshua Colp 559870fd8a Fix building of trunk. dbpass is always going to exist.
17 years ago
Steve Murphy 14529764d7 On a 64-bit machine, with dev-mode turned on, and pgsql installed, I get warnings that stops the compile. They are fixed now.
17 years ago
Tilghman Lesher 9392dae2d6 Allow database password to be NULL and several other cleanups.
17 years ago
Tilghman Lesher 5e066908c8 Merged revisions 96318 via svnmerge from
18 years ago
Tilghman Lesher ecaaa14f46 Merged revisions 90736 via svnmerge from
18 years ago
Tilghman Lesher a31a852dbc Merged revisions 90160 via svnmerge from
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
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 9f64905d4e Merged revisions 83432 via svnmerge from
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 646234bd10 store and destroy implementations for realtime pgsql (closes issue #10372)
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
18 years ago
Joshua Colp 96a646734f It is no longer required for each module that deals with a channel to call ast_module_user_hangup_all in it's unload function. The loader will automatically perform this action for it.
18 years ago
Tilghman Lesher a952147446 Remove the ill-advised ast_restrdupa API call and related structures
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 f25db8cc78 Continuation of issue 9968 (revision 69081). This should be the last one.
18 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
18 years ago
Kevin P. Fleming a2c8e8a4a7 Merged revisions 62797,62807 via svnmerge from
18 years ago
Russell Bryant af870057c1 Constify a bunch of usage strings for CLI commands.
19 years ago
Matt O'Gorman ae8cc3e18b bug #8076 check option_debug before printing to debug channel.
19 years ago
Joshua Colp e8b820e743 Magical eightball says warnings be gone.
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago
Joshua Colp 93e161256d Use a better check to ensure database connection is up (pointer to connection must exist, and connection must report status being ok) (issue #7955 reported by sorg)
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 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Joshua Colp c5e5efb237 Move STD_MOD declaration to end of file as per the norm of everything else (issue #7711 reported by Mithraen)
19 years ago
North Antara 346c291a2d Remove "initialization from incompatible pointer type" warnings.
19 years ago
Kevin P. Fleming a353387ea7 restore buildability
19 years ago
Russell Bryant a10e1dad07 remove the unused usecount function to eliminate a compiler warning
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
19 years ago
Russell Bryant 1f7db8df6a add missing include
19 years ago
Russell Bryant 04ecb29d03 remove almost all of the checks of the result from ast_strdupa() or alloca().
19 years ago
Luigi Rizzo 532e552c1f add reload() (bug 9981)
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
Luigi Rizzo 8d98d44e82 fix another svn merge bug
19 years ago
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
19 years ago
Luigi Rizzo 7507309732 normalize code in preparation to module changes
19 years ago
Russell Bryant f7c5aee2ad remove a couple more unnecessary "out of memory" error messages
19 years ago
Russell Bryant 7878538953 use ast_*alloc and don't create duplicated error messages.
19 years ago
Russell Bryant 9a5c7c75a3 Instead of using strncpy, use ast_copy_string. Also, in the case of copying a
19 years ago
Russell Bryant d13bc3fc83 run the module through indent to fix the formatting issues that violate the
19 years ago
Russell Bryant d203e9c6c0 add back braces that were removed in a recent commit that leave a bunch of
19 years ago
Olle Johansson 70f18e5f31 Issue 6917 - some cleanups for res_config_pgsql.c (mithraen)
19 years ago
Kevin P. Fleming 699f55071b a few cleanups from the last commit
19 years ago
Olle Johansson d75fed39ca Issue #6893 - Compiler warnings for PostgreSQL ARA driver
19 years ago
Olle Johansson ef6b50b706 Issue #5637 - Realtime driver for PostgreSQL (mguesdon)
19 years ago