summaryrefslogtreecommitdiff
path: root/lib/talloc
AgeCommit message (Collapse)AuthorFilesLines
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
2010-04-02talloc: change talloc minor version to 2.0.2Andrew Tridgell1-1/+1
this has the talloc_is_parent() bugfix
2010-04-02talloc: limit the depth that talloc will go for talloc_is_parent()Andrew Tridgell1-2/+11
We have a bug in the dcerpc registry code that can cause a talloc loop that chews unlimited CPU because of talloc_is_parent() during a talloc_free()
2010-03-29pytalloc: allow for using a system libtalloc-dev with pytallocAndrew Tridgell1-1/+1
When we have a system talloc library, we still need to grab pytalloc.h from lib/talloc. We don't want to just use -Ilib/talloc, as otherwise we'll get the in-tree talloc.h which may not be compatible with the system talloc.h So we need to give the path to pytalloc.h
2010-03-29talloc: testsuite should use <talloc.h> not "talloc.h"Andrew Tridgell1-1/+1
if we are using the system talloc, the testsuite needs to use the system talloc.h
2010-03-10doxygen: talloc_get_type name fixed in Doxygen documentationKamen Mazdrashki1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-08release-scripts: parametrize scriptsSimo Sorce1-14/+17
This should make it easier to keep all release scripts alined as it will reduce the difference between them to ideally a few variables Also moves the tdb script in the scripts directory.
2010-02-08talloc: Fix abi checks in release scriptSimo Sorce1-17/+24
We must perform abi checks against the version we are going to release. Not against the current tree we are in.
2010-02-08talloc: Fix abi checks and ifdefsSimo Sorce3-4/+32
teach the abi check scripts to skip the DOXYGEN sections fix the header to use #ifdef DOXYGEN and not #if DOXYGEN
2010-02-08talloc: fixed doc typoAndrew Tridgell1-1/+1
2010-02-08Move the talloc details to the mainpage.Andreas Schneider2-64/+69
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-08talloc: Added doxygen config file.Andreas Schneider1-0/+1538
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-08talloc: Documented talloc with doxygen.Andreas Schneider2-67/+1559
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-02Change uint_t to unsigned int in lib/tallocMatt Kraai2-6/+6
Signed-off-by: Stefan Metzmacher <metze@samba.org>