Commit Graph

39 Commits (f4daa91dcbcbf72f998a4e63d2b6583a77385842)

Author SHA1 Message Date
George Joseph f6f4cf459f stringfields: Refactor to allow fields to be added to the end of structures
10 years ago
Corey Farrell 8fb20cb05d stringfields: Fix bug in ast_string_fields_copy.
12 years ago
Corey Farrell 433366ab90 Fix unintential memory retention in stringfields.
12 years ago
Kinsey Moore 67102c3d3f Add aggregate operations for stuctures with string fields
14 years ago
Terry Wilson d54717c39e Add new config-parsing framework
14 years ago
Walter Doekes 41f5a1ab35 Update stringfield documentation for removed second va_list in favor of va_copy.
15 years ago
Walter Doekes 735e48f92f Use __alignof__ instead of sizeof for stringfield length storage.
15 years ago
Walter Doekes 7fd2a68b0e Ensure that string field lengths are properly aligned
15 years ago
Terry Wilson fc8d4e823c Use va_copy for stringfields
15 years ago
Kevin P. Fleming ef9be94b35 Change all refererences to 1.6.3 to be 1.8, since that will be the next feature release
17 years ago
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.
18 years ago
Kevin P. Fleming a009068110 Optimizations to the stringfields API
18 years ago
Kevin P. Fleming 0381d94d14 Merged revisions 176216 via svnmerge from
18 years ago
Kevin P. Fleming 96ae957f35 it does help if the compiler attribute syntax is correct
18 years ago
Tilghman Lesher 3d4c0cd421 Merged revisions 160207 via svnmerge from
18 years ago
Kevin P. Fleming 887e28d7aa incorporates r159808 from branches/1.4:
18 years ago
Kevin P. Fleming f910cfc444 Merged revisions 132872 via svnmerge from
18 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
Tilghman Lesher 8309f54e39 If we're going to be passing a negative value for the size of a stringfield,
19 years ago
Jason Parker cfbc4f5fb8 Doxygen fixes.
19 years ago
Luigi Rizzo 08b10da53b Simplify the implementation and the API for stringfields;
19 years ago
Jason Parker d72ea80a00 Doxygen cleanups/fixes.
19 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
20 years ago
Kevin P. Fleming 696f9ed677 Merged revisions 45408 via svnmerge from
20 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\!
20 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
21 years ago
Kevin P. Fleming a16ae226b6 use string fields for some stuff in ast_channel
21 years ago
Kevin P. Fleming 4467ab62c8 string field manager improvements:
21 years ago
Kevin P. Fleming 1fe5108763 ensure that string field 'build' operation only evaluates arguments one time
21 years ago
Kevin P. Fleming 80fa9689b7 add memory-pool based string field management for structures
21 years ago