Commit Graph

18 Commits (ef9ef40c19c0683eba4cdba7d1877ba7a47ca90d)

Author SHA1 Message Date
Mark Michelson 4cad4bff2c Update to stringfield handling so that side-effects on
18 years ago
Tilghman Lesher 1653a9ef65 Ensure that Asterisk builds with --enable-dev-mode, even on the latest gcc
18 years ago
Kevin P. Fleming 50515ed372 update dev-mode compiler flags to match the ones used by default on Ubuntu Intrepid, so all developers will see the same warnings and errors
18 years ago
Kevin P. Fleming 888d269e8f revert an optimization that broke ABI... thanks russell!
18 years ago
Kevin P. Fleming f6d7c63346 minor optimization for stringfields: when a field is being set to a larger value than it currently contains and it happens to be the most recent field allocated from the currentl pool, it is possible to 'grow' it without having to waste the space it is currently using (or potentially even allocate a new pool)
18 years ago
Luigi Rizzo a0edff2477 Rename ast_string_field_free_pool to ast_string_field_free_memory,
19 years ago
Russell Bryant 35e7f6e86e Fix some compiler warnings in C++ modules.
19 years ago
Steve Murphy 517978fd5f These mods are to solve the problem in bug 7506. It's a lot of rework to solve a fairly small problem... such is life.
20 years ago
Kevin P. Fleming 227d415709 optimize the 'quick response' code a bit more... no more malloc() or memset() for each response
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