summaryrefslogtreecommitdiff
path: root/source4/lib/talloc
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r13400: Only return NULL from talloc_asprintf if vsnprintf returns anJames Peach1-1/+1
error (ie. zero is not an error). (This used to be commit 1ab4674196b9df0b2b7b6eb4991358cc2f86c0d9)
2007-10-10r13397: Propagate the error return from vsnprintf to trap the case whereJames Peach1-2/+12
we aren't linked against a C99 vsnprintf. (This used to be commit 23782f899aaa5fe488d86d5e67e91be99ff7a146)
2007-10-10r12633: expose talloc_vasprintf_append()Andrew Tridgell2-4/+2
(This used to be commit 7a0e7074f6d3d38ce92f2b617549d5dbbaf968ef)
2007-10-10r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not usingJelmer Vernooij1-1/+1
the difference between these at all, and in the future the fact that INIT_OBJ_FILES include smb_build.h will be sufficient to have recompiles at the right time. (This used to be commit b24f2583edee38abafa58578d8b5c4b43e517def)
2007-10-10r11984: LGPL on header and testsuite as wellAndrew Tridgell2-22/+30
(This used to be commit ed90975bf50644f00da681eb7cc41123abc60f81)
2007-10-10r11983: make talloc LGPL. This makes more sense given that ldb depends onAndrew Tridgell1-11/+15
talloc, and ldb is now LGPL (This used to be commit 5bdd50fa38b1be28cf7bcddc561c743437e70cae)
2007-10-10r11869: talloc has been ported :-)Volker Lendecke1-2/+3
(This used to be commit aad52d9a5fb66fe3b595190905e7237a279f7270)
2007-10-10r11377: Add support for building LIBRARY elements as shared libraries:Jelmer Vernooij1-0/+1
- Adds -rpath bin/ so you don't have to install Samba in order to use compiled binaries. - Writes out pkg-config files when building shared libs - Supports automatic fallback to MERGEDOBJ (which is the default) or OBJ_LIST (if ld -r is not supported) Building with shared libs reduces the size of the Samba binaries from 197 Mb to 60 Mb (including libraries) on my system (GCC4, with debugging). To build with shared libraries support enabled, run: LIBRARY_OUTPUT_TYPE=SHARED_LIBRARY ./config.status init functions don't get called correctly yet when using shared libs, so you won't be able to actually run anything with success :-) Once init functions are done, I'll look at support for loading shared modules once again. Based on a patch by Peter Novodvorsky (nidd on IRC). (This used to be commit 0b54405685674a2b19a28d77aae5b1136b5a4728)
2007-10-10r11303: Support defining and installing public headers for libraries.Jelmer Vernooij1-0/+1
Support installing libraries. Get rid of pkg-config file (will be autogenerated later on). (This used to be commit b4745032a2c55752c527026feb221ccc3dce10c8)
2007-10-10r11300: Treat libraries as a special kind of subsystemJelmer Vernooij1-12/+5
(one that can also be built as a library and installed). (This used to be commit 98d1f9b1dc523ed88c5aa8d066030b33d74f62bf)
2007-10-10r11244: Relative path names in .mk filesJelmer Vernooij1-2/+2
(This used to be commit 24e10300906c380919d2d631bfb3b8fd6b3f54ba)
2007-10-10r11214: Remove scons files (see ↵Jelmer Vernooij1-5/+0
http://lists.samba.org/archive/samba-technical/2005-October/043443.html) (This used to be commit 7fffc5c9178158249be632ac0ca179c13bd1f98f)
2007-10-10r10726: fix to talloc_parent() from Michael O'BrienAndrew Tridgell1-1/+1
(This used to be commit f31a2376f3fef1cc2b40b37fb4d94a4b67eec6d4)
2007-10-10r10586: Add MergedObject() builder. Default to Library() ratherJelmer Vernooij1-1/+1
then StaticLibrary() (This used to be commit b53313dc517986c69a4e4cb8fe3885b696f8faa1)
2007-10-10r10525: change from AC_CHECK_TYPES() to AC_CHECK_TYPE() for intptr_t, so theAndrew Tridgell1-1/+1
type is always available, which means we need less #ifdefs (This used to be commit d4af4b11ae69a63fa3b2048e6d576055d86d2bb4)
2007-10-10r10348: Add scons scripts for remaining subsystems. Most subsystems build now,Jelmer Vernooij1-1/+1
but final linking still fails (as does generating files asn1, et, idl and proto files) (This used to be commit 4f0d7f75b99c7f4388d8acb0838577d86baf68b5)
2007-10-10r10328: Add more emacs python-mode markers.Tim Potter1-0/+2
(This used to be commit 540a3649e88690e829c17d79ecdccdc9ed464845)
2007-10-10r10323: Add first bits required for getting compile with scons working. This ↵Jelmer Vernooij1-0/+3
does not work yet and can exist parallel with the existing build system. (This used to be commit 829568d75985e875e3363d76fb44270a0298c7f8)
2007-10-10r8985: Automatically generate make dependency rules forJelmer Vernooij1-7/+3
the asn1 and error table files. This removes the need for HEIMDAL_EXTERNAL (This used to be commit 2f481ac93c0151b82dab737d49ae8d0d3cbbbbbe)
2007-10-10r8443: added talloc.3 to the tree to try to allow talloc to build on systems ↵Andrew Tridgell1-0/+489
without xsltproc (This used to be commit 0e5b89b1e8871a76c2f9c94d7d7552498d16f350)
2007-10-10r8127: fixed code in function errorAndrew Tridgell1-2/+1
(This used to be commit 46632e2048f0b87de351cd3f26229cfc4b3384ca)
2007-10-10r8126: - moved to 16 byte alignment for talloc. This is in response to a bugAndrew Tridgell2-51/+54
report from robert collins. - updated talloc guide to reflect the fact that over the last few months talloc overhead compared to malloc has dropped, probably due to a bunch of small changes. It now costs about 4% more than malloc on my box (This used to be commit 689a9ccf91f9de560a500787d85321abe096b948)
2007-10-10r8032: added loop detection into talloc. Robert Collins found a way to make aAndrew Tridgell2-16/+67
memory loop with talloc_unlink(), so now we detect it and handle it (This used to be commit 563058e78b8c74e821fabf6a43fa861c1ad09944)
2007-10-10r7943: Add 'make manpages', fix 'make installman' and 'make uninstallman'.Jelmer Vernooij1-0/+1
Not part of the "all" make target yet, as it requires xsltproc (This used to be commit fd3f4636438cf1d9c0dd802064033271b9e4d935)
2007-10-10r7936: new ldb_dn_explode and ldb_dn_casefold functions and coSimo Sorce2-0/+23
(This used to be commit 7ccf21ab4eeb9821e457308a239f2103a106fb12)
2007-10-10r7781: finding the parent of a talloc ptr is trickier than it looks due to ↵Andrew Tridgell2-7/+27
the two-way tree nature of the data structure. I think I've finally got it right also added talloc_show_parents() for debugging (This used to be commit 5760ed20eed509b0b6e09e78c942dd0f70350fa9)
2007-10-10r7780: fixed a bug in talloc_find_parent_byname()Andrew Tridgell1-1/+1
(This used to be commit ee3fe42fb16821eedd564201d953042190f7826f)
2007-10-10r7778: added talloc_find_parent_bytype() and talloc_find_parent_byname()Andrew Tridgell3-0/+40
These provide a way to find a parent of a ptr that is of a given type. I will be using this to find the event context in smbd, relying on the fact that everything is a child of the top level event context. I did look at the alternatives, and found that passing the event context to just about every call in smbd was getting way too complex (we need to get it to anything that can do a ldb operation, as that can invoke ldap). So this method avoids a global, and seems to work nicely (This used to be commit bdb55c7a10a516b75652065e14f5acd09d24ab35)
2007-10-10r7556: fixed typo in documentationDerrell Lipman1-2/+2
(This used to be commit 77fc2036a0db7bde9e90f090dbcd75ea70b3e0a0)
2007-10-10r6845: make the talloc header align to 40 bytes, which costs us an extra 4Andrew Tridgell1-8/+11
bytes per allocation, but makes it much more portable (This used to be commit 257027a571da254c16b0b456cb1cbec284d7fda0)
2007-10-10r6831: talloc now requires config.h (this fixes ldb build)Andrew Tridgell1-2/+0
(This used to be commit aac86583a9bff7d882ed56633126a1d9f27eea6a)
2007-10-10r6830: put header checks in config.m4 so when it is included by other ↵Andrew Tridgell2-1/+1
projects the right configure checks are done (This used to be commit 57c8db4f9aecd161d61cf0011e960edc718d7cf0)
2007-10-10r6828: More portability fixesJelmer Vernooij3-2/+11
(This used to be commit f46c532883e18b8780ff73d3ac0899690eeab3f4)
2007-10-10r6812: more talloc portability tweaksAndrew Tridgell3-6/+3
(This used to be commit 450ac2e4dea25910ee5384747bdb6ad7323e967d)
2007-10-10r6808: - test for gcov not neededAndrew Tridgell3-15/+10
- samba malloc wrapper avoidance not needed now we don't use includes.h - make testsuite work when BOOL, True, False already defined (This used to be commit c8a274c8735957a8a8dd21421abd65a8a1af20f7)
2007-10-10r6807: Fix in-tree build of talloc testsuiteJelmer Vernooij1-7/+0
(This used to be commit 3541ebe31bef8ccae7a8a1ea4f451ddfbd24460a)
2007-10-10r6804: Add config.h for talloc (and use it)Jelmer Vernooij5-9/+31
(This used to be commit c2ce09d38003fd43212de9cd08e4a781cc2aff88)
2007-10-10r6802: - fixed CFLAGSAndrew Tridgell1-6/+4
- don't fail if we don't have xsltproc (This used to be commit 235f5c510b4b68edf2a36d049bc0ff2afb73fd72)
2007-10-10r6741: prevent talloc_strndup() from reading one byte past the end of a buffer,Andrew Tridgell1-1/+1
giving valgrind errors (This used to be commit 7af0c547e0c0da3bc78a1ee6c2ab29114d8625cc)
2007-10-10r6664: Obey overrided CC in the MakefileJelmer Vernooij1-1/+2
(should fix build on several buildfarm hosts) (This used to be commit cbd7af4fcf72fd21b2a8ea2ee8f9f61f90f36f03)
2007-10-10r6663: only use -Wall for gccAndrew Tridgell2-3/+4
(This used to be commit b7fbe2173d45456c77fad9673073173704a1b266)
2007-10-10r6662: add an installcheck target for tallocAndrew Tridgell1-0/+3
(This used to be commit 2f78428cfd823b499c60ac3cc02650183b760ef0)
2007-10-10r6661: fix up talloc autoconf to have a chance of working on the build farmAndrew Tridgell3-4/+250
(This used to be commit 9318744fd496a829a57fc8e0f21d4b26b1eb74c7)
2007-10-10r6660: Sorry for the spam... I think now I've got a version that should ↵Volker Lendecke2-2/+23
compile on trunk, 3_0 and 4_0. Volker (This used to be commit 777c489cad610fef140ec80d5644111b04a314c1)
2007-10-10r6650: keep style consistentSimo Sorce1-1/+2
(This used to be commit 34671674ee326ea835408f8c1fdb105ea50ccc55)
2007-10-10r6645: Add talloc_get_size() function.Simo Sorce3-0/+19
Sometimes it is usefull to know this data. Simo. (This used to be commit df401847827ef660d8b9d55af9b27bb85bad6b5f)
2007-10-10r6622: Add talloc manpage in DocBook XML, based on SGML version by Garry ↵Jelmer Vernooij3-1/+650
Williams (This used to be commit 62550eac1e56e95c8080a0519579fd97ee5d465a)
2007-10-10r6513: Commit talloc_free_children.Volker Lendecke2-20/+45
Volker (This used to be commit 9fa26d2c971a7baee64d8938e31909cac80f0e5a)
2007-10-10r6478: Add 'make install' and a pkg-config fileJelmer Vernooij3-1/+20
(This used to be commit c8e1b7542736bd674b8407872dbbe3a9941fce59)
2007-10-10r6477: Remove call to autoheader as autogenerated header files are not usedJelmer Vernooij1-1/+1
by talloc (This used to be commit 5ca8a852067c34fed86f70be7f157714ecdd5501)