summaryrefslogtreecommitdiff
path: root/lib/talloc
AgeCommit message (Collapse)AuthorFilesLines
2010-11-19talloc: added TALLOC_FREE_FILL environment variableAndrew Tridgell1-0/+30
when this environment variable is set, talloc will fill freed memory with the value from that environment variable. This can be used to help find use after free bugs when valgrind is too slow to be used
2010-11-07pytalloc: Make some arguments optional.Jelmer Vernooij1-6/+6
2010-11-05talloc: Add python talloc module, move convenience functions to it.Jelmer Vernooij2-1/+90
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 5 02:48:21 UTC 2010 on sn-devel-104
2010-11-05talloc: rename pytalloc.c to pytalloc_util.cJelmer Vernooij2-1/+1
2010-11-03build: a more portable way of finding waf in makefilesAndrew Tridgell1-3/+1
this avoids using the non-portable shell command in makefiles Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 22:44:59 UTC 2010 on sn-devel-104
2010-11-03waf: added reconfigure targets to our librariesAndrew Tridgell1-0/+5
This allows you to do "make reconfigure" to re-run configure only if needed
2010-11-01talloc: Install pytalloc.h.Jelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 1 17:25:07 UTC 2010 on sn-devel-104
2010-10-31replace/talloc: Avoid automatically pulling in new configure/Makefile,Jelmer Vernooij1-6/+0
as these files are checked in, and the source might not be available. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 22:27:56 UTC 2010 on sn-devel-104
2010-10-31talloc: Look harder for waf.Jelmer Vernooij1-1/+8
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 18:06:16 UTC 2010 on sn-devel-104
2010-10-31replace: Build using waf by default.Jelmer Vernooij1-1/+3
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:45:21 UTC 2010 on sn-devel-104
2010-10-31talloc: Switch over to using waf as the default build system for the ↵Jelmer Vernooij5-15/+107
standalone build.
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij1-7/+0
The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-30talloc.3: Remove documentation for deprecated talloc_append_string,Jelmer Vernooij1-11/+0
consistent with other deprecated functionality.
2010-10-30talloc: Fix manual pages in standalone build.Jelmer Vernooij1-2/+1
2010-10-27talloc: fix waf build for libtalloc-compat1Stefan Metzmacher1-4/+4
We need to use 'libtalloc.so.1' as soname, otherwise the compat library is useless. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 27 03:53:21 UTC 2010 on sn-devel-104
2010-10-26talloc: change pytalloc-util to be a public library.Jelmer Vernooij1-1/+2
2010-10-26talloc: Install pytalloc-util as system library.Jelmer Vernooij2-3/+36
2010-10-26talloc: Avoid dependency on unknown EXT_LIB_PYTHON.Jelmer Vernooij1-1/+1
2010-10-26talloc: Move pytalloc to lib/talloc.Jelmer Vernooij1-0/+8
2010-10-26waf: Only specify vnum for non-private libraries.Jelmer Vernooij1-15/+20
2010-10-24talloc: pytalloc should not depend on samba specific codeStefan Metzmacher1-3/+2
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Oct 24 19:21:25 UTC 2010 on sn-devel-104
2010-10-23waf: Rename some BUNDLED_ functios to PRIVATE_.Jelmer Vernooij1-1/+1
2010-10-21waf: replace the is_bundled option with private_libraryAndrew Tridgell1-2/+2
'private_library' better captures what we are trying to get at when we bundle a library
2010-10-21s4-build: fixed some formattingAndrew Tridgell1-3/+3
indentation was far too deep
2010-10-20pytalloc: use talloc_unlink() to free py_talloc objectsKamen Mazdrashki1-1/+3
Those type of objects are referenced every time we assign them to other py_talloc objects, which leads to runtime warnings that we are trying to free an object with references Wrap talloc_unlink() in SMB_ASSERT() to ensure we catch possible failure Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Oct 20 21:37:06 UTC 2010 on sn-devel-104
2010-10-20talloc: make header C++ safeSimo Sorce1-0/+8
Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Wed Oct 20 18:15:09 UTC 2010 on sn-devel-104
2010-10-09talloc: Fix #include line in manpage.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Oct 9 13:53:25 UTC 2010 on sn-devel-104
2010-10-08pytalloc: Fix warning that we are subtracting void* pointersKamen Mazdrashki1-1/+1
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Fri Oct 8 23:36:54 UTC 2010 on sn-devel-104
2010-10-08Move talloc_enable_null_tracking() to the s3 daemonsVolker Lendecke1-7/+0
2010-10-07waf: fixed exit status of test suitesAndrew Tridgell1-2/+4
use RUN_COMMAND() to handle signal errors and exit status
2010-09-24talloc: Add a warning about talloc_autofree_context() and dlclose()Volker Lendecke2-0/+22
2010-09-21pytalloc: Add default compare function.Jelmer Vernooij2-1/+15
2010-09-20pidl: Fix segfault when accessing unicode objects.Jelmer Vernooij2-11/+0
2010-09-15talloc: fixed spelling errors in commentAndrew Tridgell1-2/+2
2010-09-02pidl-python: cope with NULL pointers in more placesAndrew Tridgell2-0/+24
NULL is converted to Py_None
2010-09-02pytalloc: treat a NULL ptr as Py_NoneAndrew Tridgell1-1/+7
2010-08-25pytalloc: fixed py_talloc_steal()Andrew Tridgell2-1/+9
py_talloc_steal() was implemented as a macro which evaluated it's 2nd argument twice. It was often called via a macro with a 2nd argument that was a function call, for example an allocation in py_talloc_new(). This meant it allocated memory twice, and leaked one of them. This re-implements py_talloc_steal() as a function, so that it only does the allocation once.
2010-08-25s4-pytalloc: use better names for python talloc objectsAndrew Tridgell1-0/+2
2010-08-14talloc:documentation - explain that "talloc_free" works also with "NULL" ↵Matthias Dieter Wallnöfer2-14/+26
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-06-19wafsamba: Fix typo: noextenion -> noextension.Jelmer Vernooij1-1/+1
2010-05-31talloc: Don't set is_bundled for standalone build.Jelmer Vernooij1-2/+4
2010-05-31Add manpages argument to SAMBA_LIBRARY().Jelmer Vernooij1-17/+2
2010-05-31s4-waf: sanitize library names like the old build system did, only addJelmer Vernooij1-2/+2
-samba4 suffix for libraries that are bundled.
2010-05-10talloc: Fixed a doxygen problem with PRINTF_ATTRIBUTE.Andreas Schneider1-3/+3
2010-05-06talloc: Documented the missing string functions.Andreas Schneider1-0/+86
2010-05-01talloc: Documentation fix for tallocHolger Hans Peter Freyther2-2/+2
2010-04-20talloc: there is no ambiguity when freeing a ptr with a null parentAndrew Tridgell5-2/+104
when a ptr has a single reference and a NULL parent, then talloc_free(ptr) is not ambiguous, as the caller could not have done a talloc_free(NULL) to free the memory Pair-Programmed-With: Rusty Russell <rusty@samba.org>
2010-04-18build: more adjustments for the ABI type name mapsAndrew Tridgell1-3/+3
- use 'va_list' instead of 'struct __va_list_tag *' Using the C name for va_list is preferable - add support for negative ABI name matches in abi_match=. That is used to exlude ldb_*module_ops from the ldb ABI - don't include the ldb module ops or backend ops in the ABI
2010-04-18s4-waf: rebuild signature files with the api type mapsAndrew Tridgell1-3/+3
This is not strictly necessary, as the old types would compare equal, but it is neater to use the generic type names
2010-04-18talloc: mark public functions as _PUBLIC_Andrew Tridgell1-62/+62