Commit Graph

29 Commits (132204459cb3dcd675d19e79f91e5ac28b7874e0)

Author SHA1 Message Date
Kevin P. Fleming 2746f589b7 Add a more efficient way of allocating structures that use stringfields
17 years ago
Kevin P. Fleming 1f49e675bb Correct some flaws in the memory accounting code for stringfields and ao2 objects
17 years ago
Kevin P. Fleming d8182202ef Ensure that string pools allocated to hold stringfields are properly accounted in MALLOC_DEBUG mode
17 years ago
Russell Bryant 1dda5f7c80 Fix dev-mode build on my box.
17 years ago
Kevin P. Fleming a009068110 Optimizations to the stringfields API
17 years ago
Kevin P. Fleming 0381d94d14 Merged revisions 176216 via svnmerge from
17 years ago
Kevin P. Fleming 96ae957f35 it does help if the compiler attribute syntax is correct
17 years ago
Tilghman Lesher 3d4c0cd421 Merged revisions 160207 via svnmerge from
17 years ago
Kevin P. Fleming 887e28d7aa incorporates r159808 from branches/1.4:
17 years ago
Kevin P. Fleming f910cfc444 Merged revisions 132872 via svnmerge from
17 years ago
Luigi Rizzo 4afe3b5ba9 remove redundant #include "asterisk/compat.h",
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Tilghman Lesher 8309f54e39 If we're going to be passing a negative value for the size of a stringfield,
18 years ago
Jason Parker cfbc4f5fb8 Doxygen fixes.
18 years ago
Luigi Rizzo 08b10da53b Simplify the implementation and the API for stringfields;
18 years ago
Jason Parker d72ea80a00 Doxygen cleanups/fixes.
18 years ago
Russell Bryant 1d57ccb6f7 Fix a bunch of doxygen errors and document more things
19 years ago
Russell Bryant e4cd3c1cc2 Fix some compiler warnings in C++ modules.
19 years ago
Steve Murphy 908f176cf3 A fair number of changes for the sake of bug 7506
19 years ago
Kevin P. Fleming 696f9ed677 Merged revisions 45408 via svnmerge from
19 years ago
Steve Murphy 3042d0e046 This commit folds in changes to both stringfields (some enhancements to the ...field_set() macro, to optimize setting strings to empty, resetting strings to shorter contents, etc.) and to chan_iax2.c, to use stringfields in the user, peer, and pvt structs. Has been running stably on iaxtel, but while iaxtel has a large registration volume, it doesn't seem to have a high call volume. So far, it seems to reduce heap usage by over half. YMMV\! Please report any IAX bugs that might involve stringfields\!
19 years ago
Kevin P. Fleming b31b0be819 various minor portability fixes (mostly from tholo for OpenBSD)
20 years ago
Russell Bryant bbc584e3d7 fix some typos in the stringfields documentation
20 years ago
Russell Bryant 588b54f8c2 fix a typo in the documentation of how to use string fields
20 years ago
Russell Bryant 8232b40884 eliminate warning on older versions of gcc
20 years ago
Kevin P. Fleming a16ae226b6 use string fields for some stuff in ast_channel
20 years ago
Kevin P. Fleming 4467ab62c8 string field manager improvements:
20 years ago
Kevin P. Fleming 1fe5108763 ensure that string field 'build' operation only evaluates arguments one time
20 years ago
Kevin P. Fleming 80fa9689b7 add memory-pool based string field management for structures
20 years ago