summaryrefslogtreecommitdiff
path: root/lib/talloc
AgeCommit message (Collapse)AuthorFilesLines
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
2010-04-18talloc-waf: added ABI checking for tallocAndrew Tridgell2-0/+65
2010-04-13s4-waf: don't try to use the system lib for the library buildAndrew Tridgell1-4/+5
when building library FOO, don't try to find the system library FOO Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13talloc-waf: the talloc1-compat lib depends on tallocAndrew Tridgell1-2/+2
It is a library linked to another library, not a 2nd copy of talloc.c Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13talloc-waf: added the manpage generation and talloc1-compat generationAndrew Tridgell1-1/+34
this allows the RPM spec file to be used with only a tiny mod (using autogen-waf.sh instead of autogen.sh and using ln -sf for the library links instead of ln -s) Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-12build: use a common autogen-waf.sh for all buildsAndrew Tridgell1-22/+1
the symlink will get updated with the right target when waf dist is used in each directory
2010-04-06s4-waf: fixed waf distcheck for our standalone libs and s4Andrew Tridgell1-0/+4
2010-04-06s4-waf: added simple 'waf test' support for tdb, talloc and ldbAndrew Tridgell1-4/+5
2010-04-06s4-waf: autogen-waf.sh for the standalone library buildsAndrew Tridgell1-0/+22
2010-04-06s4-waf: use a common pattern for finding buildtools and libsAndrew Tridgell1-12/+7
2010-04-06s4-waf: move to a universal method of recursing into subdirsAndrew Tridgell1-3/+3
This works with both standalone lib builds and bundled builds
2010-04-06s4-waf: fixed finding of buildtools and srcdirAndrew Tridgell1-7/+9
2010-04-06s4-waf: avoid having to run waf configure before waf distAndrew Tridgell1-1/+4
This should be useful for building tarballs from a clean checkout
2010-04-06s4-waf: allow standalone tarball build of librariesAndrew Tridgell1-1/+9
2010-04-06s4-waf: added 'waf dist' to our standalone libs as wellAndrew Tridgell1-1/+1
2010-04-06s4-waf: added 'waf dist' to build the tarballAndrew Tridgell1-1/+8
2010-04-06talloc-waf: install talloc.pc if standaloneAndrew Tridgell1-0/+8
2010-04-06talloc-waf: match version number with main buildAndrew Tridgell1-1/+1
2010-04-06s4-waf: added implied_deps for system librariesAndrew Tridgell1-1/+2
when we use a system version of a library such as talloc, then we no longer get the automtica dependency propogation of talloc implying libreplace. That means we don't get the includes for libreplace, which means things can fail to build. To fix this this change adds an implied_deps option to CHECK_BUNDLED_SYSTEM(), which tells the samba_deps module to add an implied dependency on the listed targets if the system library is chosen.
2010-04-06talloc-waf: don't build the talloc testsuite in s4Andrew Tridgell1-4/+6
its built into smbtorture already
2010-04-06s4-waf: support the use of system librariesAndrew Tridgell1-4/+11
distros can set --bundled-libraries=NONE to force use of all system libraries. If the right version isn't found then configure will fail. Users may choose which libraries to use from the system, and which to use bundled libs. The default is to try system libs, and use them if their version matches the one in the source tree.
2010-04-06s4-waf: set default for bundled librariesAndrew Tridgell1-0/+6
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell1-0/+2
them
2010-04-06build: don't install talloc_testsuite and ldbtestAndrew Tridgell1-1/+2
2010-04-06build: using deps= for deps is clearerAndrew Tridgell1-1/+1
2010-04-06build: added BUILD_SUBDIR() wrapperAndrew Tridgell1-1/+1
2010-04-06build: added ADD_CFLAGS() and started of Samba4 buildAndrew Tridgell1-1/+1
2010-04-06build: added waf build rules for ldbAndrew Tridgell1-3/+3
2010-04-06build: neater way to find libreplace and start on tevent waf buildAndrew Tridgell1-4/+10
2010-04-06build: renamed autoconf.py to wafsamba.py and added SAMBA_*() functionsAndrew Tridgell1-12/+6
2010-04-06build: updates to waf scripts for replace and tallocAndrew Tridgell1-3/+1
2010-04-06build: a first attempt at waf build for talloc and libreplaceAndrew Tridgell1-0/+27
very rough so far
2010-04-02talloc: a useful bit of debug codeAndrew Tridgell1-0/+8
this is useful when tracking down talloc loops. It is probably too expensive to have on by default.
2010-04-02talloc: add a define for TALLOC_MAX_DEPTHAndrew Tridgell2-1/+5
Thanks to the suggestion from simo