Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-09-24 | talloc: Add a warning about talloc_autofree_context() and dlclose() | Volker Lendecke | 1 | -0/+9 | |
2010-08-14 | talloc:documentation - explain that "talloc_free" works also with "NULL" ↵ | Matthias Dieter Wallnöfer | 1 | -10/+21 | |
pointers (talloc.c) ... > static inline int _talloc_free_internal(void *ptr, const char *location) > { > struct talloc_chunk *tc; > > if (unlikely(ptr == NULL)) { > return -1; > } > > tc = talloc_chunk_from_ptr(ptr); ... Obviously this never had been documented before. | |||||
2010-05-06 | talloc: Documented the missing string functions. | Andreas Schneider | 1 | -0/+86 | |
2010-05-01 | talloc: Documentation fix for talloc | Holger Hans Peter Freyther | 1 | -1/+1 | |
2010-04-02 | talloc: add a define for TALLOC_MAX_DEPTH | Andrew Tridgell | 1 | -0/+4 | |
Thanks to the suggestion from simo | |||||
2010-03-10 | doxygen: talloc_get_type name fixed in Doxygen documentation | Kamen Mazdrashki | 1 | -1/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-02-08 | talloc: Fix abi checks and ifdefs | Simo Sorce | 1 | -2/+2 | |
teach the abi check scripts to skip the DOXYGEN sections fix the header to use #ifdef DOXYGEN and not #if DOXYGEN | |||||
2010-02-08 | talloc: fixed doc typo | Andrew Tridgell | 1 | -1/+1 | |
2010-02-08 | Move the talloc details to the mainpage. | Andreas Schneider | 1 | -64/+0 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-02-08 | talloc: Documented talloc with doxygen. | Andreas Schneider | 1 | -67/+1523 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-09-20 | talloc: fixed talloc_disable_null_tracking() | Andrew Tridgell | 1 | -0/+1 | |
When we disable null tracking, we need to move any existing objects that are under the null_context to be parented by the true NULL context. We also need a new talloc_enable_null_tracking_no_autofree() function, as the talloc testsuite cannot cope with the moving of the autofree context under the null_context as it wants to check exact counts of objects under the null_context, and smbtorture has a large number of objects in the autofree_context from .init functions | |||||
2009-08-24 | talloc: add defines and functions for TALLOC_MAJOR/MINOR_VERSION | Stefan Metzmacher | 1 | -0/+6 | |
We also use the major and minor versions in the TALLOC_MAGIC, so that we can detect if two conflicting versions of talloc are loaded in one process. In this case we use talloc_log() to output a very useful debug message before we call talloc_abort(). metze | |||||
2009-08-24 | talloc: remove ABI compat functions | Stefan Metzmacher | 1 | -3/+0 | |
metze | |||||
2009-08-24 | talloc: add talloc_set_log_fn() and talloc_set_log_stderr() | Stefan Metzmacher | 1 | -0/+2 | |
So that the application can setup a log function to get ERROR and WARNING messages. metze | |||||
2009-07-03 | Restore ABI compatibility for talloc. | Simo Sorce | 1 | -6/+8 | |
2009-07-01 | changes to remove the ambiguity in talloc_free() and talloc_steal() | Andrew Tridgell | 1 | -6/+10 | |
These changes follow from the discussions on samba-technical. The changes are in several parts, and stem from the inherent ambiguity that was in talloc_free() and talloc_steal() when the pointer that is being changes has more than one parent, via references. The changes are: 1) when you call talloc_free() on a pointer with more than one parent the free will fail, and talloc will log an error to stderr like this: ERROR: talloc_free with references at some/foo.c:123 reference at other/bar.c:201 reference at other/foobar.c:641 2) Similarly, when you call talloc_steal() on a pointer with more than one parent, the steal will fail and talloc will log an error to stderr like this: ERROR: talloc_steal with references at some/foo.c:123 reference at other/bar.c:201 3) A new function talloc_reparent() has been added to change a parent in a controlled fashion. You need to supply both the old parent and the new parent. It handles the case whether either the old parent was a normal parent or a reference The use of stderr in the logging is ugly (and potentially dangerous), and will be removed in a future patch. We'll need to add a debug registration function to talloc. | |||||
2009-06-08 | talloc: try to fix the source4 build on AIX | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-03-22 | talloc_array_length: talloc_get_size deals fine with NULL | Volker Lendecke | 1 | -1/+1 | |
2009-03-22 | Revert "Convert the contents of talloc_guide.txt to doxygen-style talloc.h ↵ | Volker Lendecke | 1 | -1023/+1 | |
comments" This reverts commit d21212c9192b41a3fdc7e96cb9bf0125a1dc6c2d. | |||||
2009-03-22 | Revert "Add a default "undocumented" module" | Volker Lendecke | 1 | -9/+0 | |
This reverts commit ba42320c7e9f5ccbd32eccbfb1f2d77e13b3a318. | |||||
2009-03-22 | Revert "Add some initial hook to the front page" | Volker Lendecke | 1 | -3/+0 | |
This reverts commit cfce2d3611f225244fadf3d27d76371827fd6422. | |||||
2009-03-22 | Revert "Reformatting" | Volker Lendecke | 1 | -10/+5 | |
This reverts commit db447d0c476699dbf7fa0567c67f5938674ec811. | |||||
2009-03-22 | Revert "Document talloc_pool()" | Volker Lendecke | 1 | -35/+0 | |
This reverts commit 27944ed7452207ef3c686ff6bcd9c4e1cb7f36d8. | |||||
2009-03-22 | Revert "Add a talloc_internal "module"" | Volker Lendecke | 1 | -9/+0 | |
This reverts commit 02662d56c64f367bffa2febba9a396c15454cfdb. | |||||
2009-03-22 | Revert "Document _talloc" | Volker Lendecke | 1 | -10/+1 | |
This reverts commit 2ce70d4f5a30973b4cc083dbbb38b519007a31bd. | |||||
2009-03-22 | Revert "Document TALLOC_FREE()" | Volker Lendecke | 1 | -10/+0 | |
This reverts commit 3f81649b8dcadb3bd424f41d803dbd59f770b9ba. | |||||
2009-03-22 | Revert "Document talloc_parent, talloc_parent_name and talloc_is_parent" | Volker Lendecke | 1 | -29/+0 | |
This reverts commit 986c2e01cca0be993f1e52d3a27819f4044bfe4b. | |||||
2009-03-22 | Revert "Document talloc_zero_array()" | Volker Lendecke | 1 | -16/+0 | |
This reverts commit 59dff5745528a3efe585cdeb03e2bedd6b2e404a. | |||||
2009-03-21 | Document talloc_zero_array() | Volker Lendecke | 1 | -0/+16 | |
2009-03-21 | Document talloc_parent, talloc_parent_name and talloc_is_parent | Volker Lendecke | 1 | -0/+29 | |
2009-03-21 | Document TALLOC_FREE() | Volker Lendecke | 1 | -0/+10 | |
2009-03-21 | Document _talloc | Volker Lendecke | 1 | -1/+10 | |
2009-03-21 | Add a talloc_internal "module" | Volker Lendecke | 1 | -0/+9 | |
2009-03-21 | Document talloc_pool() | Volker Lendecke | 1 | -0/+35 | |
2009-03-21 | Reformatting | Volker Lendecke | 1 | -5/+10 | |
2009-03-21 | Add some initial hook to the front page | Volker Lendecke | 1 | -0/+3 | |
2009-03-21 | Add a default "undocumented" module | Volker Lendecke | 1 | -0/+9 | |
2009-03-21 | Convert the contents of talloc_guide.txt to doxygen-style talloc.h comments | Volker Lendecke | 1 | -1/+1023 | |
talloc_guide.txt was partly outdated, and as going through talloc.h now shows it was incomplete. | |||||
2009-03-16 | talloc: add useful talloc_array_length() macro | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2009-03-16 | talloc: add TALLOC_ZERO() | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2009-03-12 | talloc: add talloc_set_abort_fn() | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2009-03-03 | talloc: add talloc_get_type_abort() | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2008-09-17 | Move common libraries from root to lib/. | Jelmer Vernooij | 1 | -0/+183 | |