Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-08-24 | updated XML source for talloc man page | Andrew Tridgell | 1 | -1/+73 | |
2009-08-24 | added talloc_set_log_* documentation | Andrew Tridgell | 1 | -0/+11 | |
2009-08-24 | updated talloc guide for recent API changes | Andrew Tridgell | 1 | -2/+54 | |
2009-08-24 | talloc: add --enable-talloc-compat1 to build a compat library for talloc 1.x.x | Stefan Metzmacher | 5 | -0/+89 | |
metze | |||||
2009-08-24 | talloc: update talloc.exports and talloc.signatures | Stefan Metzmacher | 2 | -4/+8 | |
metze | |||||
2009-08-24 | talloc: add defines and functions for TALLOC_MAJOR/MINOR_VERSION | Stefan Metzmacher | 6 | -11/+72 | |
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: change version to 2.0.0 | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-08-24 | talloc: remove ABI compat functions | Stefan Metzmacher | 2 | -31/+0 | |
metze | |||||
2009-08-24 | talloc: remove unused build dependecies to samba | Stefan Metzmacher | 1 | -18/+0 | |
metze | |||||
2009-08-24 | talloc/testsuite: use talloc_set_log_fn() and log to stdout | Stefan Metzmacher | 1 | -0/+6 | |
metze | |||||
2009-08-24 | talloc: add talloc_set_log_fn() and talloc_set_log_stderr() | Stefan Metzmacher | 2 | -12/+51 | |
So that the application can setup a log function to get ERROR and WARNING messages. metze | |||||
2009-08-24 | talloc: let talloc_steal() only generate a warning if it's used with references | Stefan Metzmacher | 1 | -2/+1 | |
We have to many callers, which rely on that talloc_steal() never fails. metze | |||||
2009-08-24 | talloc/testsuite: report __location__ of testsuite failures | Stefan Metzmacher | 1 | -6/+6 | |
metze | |||||
2009-08-24 | talloc/testsuite: add infrastructure to test aborts | Stefan Metzmacher | 1 | -0/+20 | |
metze | |||||
2009-08-24 | talloc/testsuite: reset the globals after each subtest | Stefan Metzmacher | 1 | -3/+29 | |
metze | |||||
2009-08-24 | talloc: call return after abort, because an overloaded abort function might ↵ | Stefan Metzmacher | 1 | -0/+4 | |
not exit This will be useful in the testsuite, where we could check if an abort would happen. metze | |||||
2009-08-24 | talloc: report the size of reference handles as 0 | Stefan Metzmacher | 1 | -1/+3 | |
metze | |||||
2009-08-24 | talloc: let talloc_total_blocks() and talloc_get_size() operate on the ↵ | Stefan Metzmacher | 1 | -2/+15 | |
null_context metze | |||||
2009-07-30 | DCE/RPC(Python): Rename py_talloc_import to py_talloc_steal. | Jelmer Vernooij | 2 | -7/+8 | |
Use py_talloc_reference in DCE/RPC code, fixes access to SAMR pipe. | |||||
2009-07-04 | Fix some warnings | Volker Lendecke | 1 | -2/+3 | |
2009-07-03 | Restore ABI compatibility for talloc. | Simo Sorce | 6 | -60/+106 | |
2009-07-02 | talloc: change TALLOC_MAGIC for version 2.0.0 | Stefan Metzmacher | 1 | -1/+12 | |
metze | |||||
2009-07-02 | change talloc to 2.0.0 | Andrew Tridgell | 1 | -1/+1 | |
This is needed to prevent samba3 and samba4 from using an ABI incompatible system version of talloc See ongoing discussion on the samba-technical mailing list | |||||
2009-07-01 | fixed the talloc testsuite for the recent changes | Andrew Tridgell | 1 | -6/+10 | |
2009-07-01 | a talloc_realloc() to zero size needs to use an unambiguous free | Andrew Tridgell | 1 | -1/+1 | |
2009-07-01 | changes to remove the ambiguity in talloc_free() and talloc_steal() | Andrew Tridgell | 2 | -26/+109 | |
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-07-01 | fixed use of reference in pytalloc | Andrew Tridgell | 2 | -3/+24 | |
The previous code caused memory leaks, and also caused situations where talloc_free could be called on pointers with multiple parents The new approach is to have two functions: py_talloc_import : steals the pointer, so it becomes wholly owned by the python object py_talloc_reference: uses a reference, so it is owned by both python and C | |||||
2009-06-17 | fix release scripts to always git clean | Simo Sorce | 1 | -0/+3 | |
This makes sure we do not include foreign object files or other build byproducts by mistake. | |||||
2009-06-15 | Add exports file and abi checker for talloc | Simo Sorce | 8 | -9/+169 | |
This is a first attempt at exporting symbols only for public functions We also provide a rudimentary ABI checker that tries to check that function signatures are not changed by mistake. Given our use of macros this is not an API checker. It's all based on talloc.h contents and the gcc -aux-info option | |||||
2009-06-08 | talloc: try to fix the source4 build on AIX | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-05-16 | Update copies of config.guess and config.sub. | Jelmer Vernooij | 2 | -76/+282 | |
2009-05-06 | Avoid --nonet when building manpages; xsltproc will already prefer local | Jelmer Vernooij | 1 | -2/+2 | |
stylesheets if they are installed. | |||||
2009-05-05 | Update tdb and talloc web pages | Simo Sorce | 1 | -5/+10 | |
2009-05-05 | Add release scripts for talloc and tdb | Simo Sorce | 1 | -0/+45 | |
2009-04-22 | Prevent reallocs of the talloc pool itself | Simo Sorce | 1 | -0/+5 | |
2009-03-22 | talloc_array_length: talloc_get_size deals fine with NULL | Volker Lendecke | 1 | -1/+1 | |
2009-03-22 | Revert "Add a basic Doxyfile for talloc" | Volker Lendecke | 1 | -8/+0 | |
This reverts commit f55e84e904173bed8dc9099ad523ca1e7be12355. | |||||
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 "Delete talloc_guide.txt" | Volker Lendecke | 1 | -0/+694 | |
This reverts commit 3f9c30022a53a37ad829f8882a9a5161fcadda8b. | |||||
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 | |