Commit Graph

70 Commits (ffb3f301af3b5d6d4c021b04bbdb9484bf2d4cf7)

Author SHA1 Message Date
Tilghman Lesher c6cb67b941 Resolve issue with negative vs non-negative length parameters.
18 years ago
Tilghman Lesher 4a9e8078b9 When using ast_str with a non-ast_str-enabled API, we need to update the buffer
18 years ago
Eliel C. Sardanons 344a37f2a7 Remove duplicate code from the ast_str API. We now use __AST_STR_* to
18 years ago
Tilghman Lesher 42e26ee700 Revert ast_str opacity in chan_sip for now, since something wasn't quite right
18 years ago
Steve Murphy 203e224bcb I was getting this warning during a compile
18 years ago
Russell Bryant 808a5fda59 Fix a couple more build issues related to ast_str_opaque
18 years ago
Tilghman Lesher c31cbd7f1a Don't pass a negative to an unsigned type and expect things to work correctly.
18 years ago
Tilghman Lesher c8223fc957 Merge ast_str_opaque branch (discontinue usage of ast_str internals)
18 years ago
Kevin P. Fleming 887e28d7aa incorporates r159808 from branches/1.4:
18 years ago
Tilghman Lesher afb571ba8f Starting with a change to ensure that ast_verbose() preserves ABI compatibility
18 years ago
Mark Michelson cf6c66de65 Fix some refcounting in app_queue.c and change the
18 years ago
Kevin P. Fleming 2872f82397 use some fancy compiler magic (thanks to Matthew Woehlke on the gcc-help mailing list) to restore type-safety to S_OR by going back to a macro, but preserve the side-effect-safe usage of the macro arguments
18 years ago
Russell Bryant ef489f8195 - Check for failure when putting the packet in the ast_str
18 years ago
Kevin P. Fleming 433af4241a make S_OR and S_COR safe to use even if the parameters are function calls or have side effects. it still bothers me that these are called S_OR and not something like ast_string_or, but that's water over the bridge
18 years ago
Russell Bryant 5b168ee34b Merge changes from team/group/appdocsxml
18 years ago
Tilghman Lesher d5837ba8c2 Add additional memory debugging to several core APIs, and fix several memory
18 years ago
Tilghman Lesher c1351ad237 Merge realtime_update2 branch, which adds a new realtime API call named
18 years ago
Sean Bright 4fb07fb0c1 Merge in a few more changes. This time the include/ directory.
18 years ago
Russell Bryant 3cf77c4c7f Fix a bunch of places where \arg was used instead of \param. Using \arg
18 years ago
Tilghman Lesher 5168282ba1 Add an extra check in ast_strlen_zero, and make ast_assert() not print the
19 years ago
Mark Michelson 3a0f4cc933 Temporary revert of 111662. It's causing lots of trouble and appears to not be
19 years ago
Mark Michelson ca8e44c051 The copy_request function did not take into account the necessary null terminator
19 years ago
Terry Wilson b02bc230af Go through and fix a bunch of places where character strings were being interpreted as format strings. Most of these changes are solely to make compiling with -Wsecurity and -Wformat=2 happy, and were not
19 years ago
Jason Parker 72bc8a7c7d Fix up some doxygen issues.
19 years ago
Luigi Rizzo 8e4360b072 Add a new API function, written at least twice in app_voicemail.c
19 years ago
Jason Parker 35ecd08b46 Add an S_COR macro, which is similar to the existing S_OR macro,
19 years ago
Luigi Rizzo 4afe3b5ba9 remove redundant #include "asterisk/compat.h",
19 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
19 years ago
Russell Bryant a4d915608b Merged revisions 85561 via svnmerge from
19 years ago
Jason Parker d72ea80a00 Doxygen cleanups/fixes.
19 years ago
Russell Bryant 50d7fc81aa Merged revisions 80362 via svnmerge from
19 years ago
Jason Parker 100e2387db Merged revisions 79904 via svnmerge from
19 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
19 years ago
Russell Bryant 8d1e53958c Merge a bunch of doxygen updates to header files. This includes changes to
19 years ago
Tilghman Lesher a952147446 Remove the ill-advised ast_restrdupa API call and related structures
19 years ago
Russell Bryant 1d57ccb6f7 Fix a bunch of doxygen errors and document more things
20 years ago
Luigi Rizzo 9d509eaf76 As the comment in the diff says:
20 years ago
Joshua Colp 982c8e1465 Return the useless casts that ensure this file is C++ clean. (issue #8602 reported by mikma)
20 years ago
Kevin P. Fleming dfe56d30bc ensure that the proper file/function/line shows up for dynamic string threadstorage objects
20 years ago
Kevin P. Fleming 4764795b37 Merged revisions 49553 via svnmerge from
20 years ago
Luigi Rizzo 23be2c0bf4 apply the proposed fix for bug 8602
20 years ago
Luigi Rizzo 20b382cfff replace ast_build_string() with ast_str_*() functions.
20 years ago
Luigi Rizzo 055abfe9d9 simplify the ast_dynamic_str_*.... routines by
20 years ago
Luigi Rizzo 961754d4b1 move the dynamic string support in a better place i.e. string.h
20 years ago
Jason Parker f18cbf77df Many Solaris fixes - this moves some of the stuff from utils.c to strcompat.c
20 years ago
Joshua Colp 696275bcc1 Fixed. Done. Good. Make ast_join work like it used to.
20 years ago
Joshua Colp 2e58363fed Unbreak ast_join due to whitespace changes
20 years ago
Russell Bryant c2d851de2b add the missing prototype for the included asprintf
21 years ago
Luigi Rizzo b3ad3a7556 as discussed on the -dev list, introduce a macro to simplify the
21 years ago
Kevin P. Fleming 302c943001 add 'consumed' argument to ast_get_time_t, so callers can know how many characters were used in the parser
21 years ago