summaryrefslogtreecommitdiff
path: root/source4/lib/talloc
AgeCommit message (Collapse)AuthorFilesLines
2008-02-11Fix a c++ warningVolker Lendecke1-1/+2
(This used to be commit 9f402c607f44663cab91cc7d2139f62b84c99cc0)
2008-02-11talloc_free_children can only reset pool if it's emptyVolker Lendecke1-1/+2
(This used to be commit 5cc7a638e93e5f3540755b441a99d4fd3c9c7134)
2008-02-11Mark talloc_pool memory for valgrindVolker Lendecke1-3/+16
(This used to be commit 6deca23b6c66616fbf5ba004e9b778aa68790df6)
2008-02-11Implement talloc_pool()Volker Lendecke3-7/+207
A talloc pool is a chunk of memory that can be used as a context for further talloc calls. Allocations with the pool as the parent just chew from that memory by incrementing a pointer. If the talloc pool is full, then we fall back to the normal system-level malloc(3) to get memory. The use case for talloc pools is the transient memory that is used for handling a single SMB request. Incrementing a pointer will be way faster than any malloc implementation. There is a downside of this: If you use talloc_steal() to move something out of the pool, the whole pool memory is kept around until the last object inside the pool is freed. So if you talloc_free() the pool, it might happen that the memory is freed later. So don't hang anything off a talloc pool that should live long. Volker (This used to be commit 60ef9a84f0bd18d48e453c08aa420d17275e0881)
2008-02-11Add a comment.Michael Adam1-0/+1
Michael (This used to be commit 2a2c28584cdb65fcea8563eb3bf21fea497fdff3)
2008-02-11Fix talloctort: move size check after referenced ptr check.Michael Adam1-5/+5
Michael (This used to be commit a0caedb94f6f7c62ae706e35a4c0b2876f74978d)
2008-02-11Don't shrink a talloc area if we have less than 1k to gainVolker Lendecke1-0/+5
(This used to be commit 0c829e6ee6f43299cc5889c2af3d0402256da0d0)
2008-01-22build: Remove support for DESCRIPTION setting that is now unused.Jelmer Vernooij1-1/+0
(This used to be commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20)
2008-01-22ldb/talloc/tdb: Use manually written pc file.Jelmer Vernooij1-0/+1
(This used to be commit c8947fda23eb874a7694bdee1b4de605744c2769)
2007-12-24r26570: - Trim size of the swig-generated Python bindings by removing a ↵Jelmer Vernooij1-1/+1
bunch of {}'s. - Start working on Python equivalents for various EJS tests. - Fix regression in argument order for reg_diff_apply() in EJS bindings. (This used to be commit c550c03372cb260b78f6a6c132e70571bc4cb852)
2007-12-21r26514: Revert the talloc.c part of r26511, as talloc.h already takes care ↵Kai Blin1-3/+0
of thois. Thanks to metze for pointing this out (This used to be commit 4a5e1047fff0620aa534b147ac7e0bd0416a8fe7)
2007-12-21r26511: Janitorial: Fix a warning for the 'printf' attribute on gendb_search_vKai Blin1-2/+5
While at it, also add a PRINTF_ATTRIBUTE for talloc_vasprintf. (This used to be commit 5b3a8c8ae195e6a98357a407a0699493f54a8b79)
2007-12-21r26454: Add simple SWIG macro for wrapping talloced types.Jelmer Vernooij1-0/+7
(This used to be commit 760fcc8bfa2a7cd7641465cb3bae889e9e0fbc75)
2007-12-21r26292: Make sure swig directory exists.Jelmer Vernooij1-0/+1
(This used to be commit 7962d221fcb877c9fd3bbc890827338de54ca94a)
2007-12-21r26280: Fix installation if swig is not available.Jelmer Vernooij1-1/+1
(This used to be commit 3320bd401f7b669bd62f83bf16a1c16ad0543a5c)
2007-12-21r26276: Install SWIG files if swig is present.Jelmer Vernooij1-0/+1
(This used to be commit dfd5b456f932268e2b1a82e2775037d356b9483e)
2007-12-21r26197: Add bindings for libsecurity.Jelmer Vernooij2-9/+2
(This used to be commit 8625cd403ba3a7d2b1b1fccfeb5efd7e21de0135)
2007-12-21r26187: Fix module name, indentation.Jelmer Vernooij1-0/+2
(This used to be commit ef790ebf3a712dbbb85d6af65c804199c2c084fc)
2007-12-21r26072: Import trivial SWIG wrapper for talloc.Jelmer Vernooij1-0/+24
(This used to be commit 02d259c2c45c03dbfcd16173df93d7ba96ed1419)
2007-12-21r25990: talloc: use AC_LIBREPLACE_SHLD and use it for linking the shared libraryStefan Metzmacher2-1/+3
metze (This used to be commit c179807165b84dd832ab64f794034960668e5957)
2007-12-21r25987: libreplace: rename AC_LD_SHLDFLAGS into AC_LIBREPLACE_SHLD_FLAGSStefan Metzmacher1-1/+1
metze (This used to be commit 410cdf789a72209f9e10321519fe18ab40a43f95)
2007-12-21r25973: talloc: fix usage of SONAMEFLAGStefan Metzmacher1-2/+1
metze (This used to be commit 7fecb8f3cd9f5f69dce7b9e566011e5de1e01a4a)
2007-12-21r25953: AIX make doesn't support $^.Jelmer Vernooij1-1/+1
(This used to be commit 91133d27110ee6447dbc64f1c8d52cb90ca1a86c)
2007-12-21r25944: Fix handling of sonameflag on AIX, which doesn't have anything like ↵Jelmer Vernooij1-1/+1
that. (This used to be commit 228dd6830eb9c91287bb3e0233d8b3a404ff3676)
2007-12-21r25884: Specify shldflags first, as required by some compilers.Jelmer Vernooij1-1/+1
(This used to be commit 40a8cd0d2fd4d10110243ee75ff92bef73bb06b9)
2007-12-21r25882: Build shared library of talloc as well.Jelmer Vernooij2-2/+22
(This used to be commit 3692ba8299d4177289ca401fa467143ad14ccad4)
2007-10-10r25216: make talloc_append_string() a deprecated macro instead ofStefan Metzmacher2-28/+1
having it as a real function. metze (This used to be commit 2b2e8414650f4793e7fd6e7fb368383ee268948f)
2007-10-10r25211: fix compiler warningStefan Metzmacher1-0/+4
metze (This used to be commit c0d095c8c9c1f9a7a96771e20680c105f0cce308)
2007-10-10r25209: unify logic of talloc_vasprintf_append() and ↵Stefan Metzmacher1-50/+29
talloc_vasprintf_append_buffer() metze (This used to be commit 780c1c776e15f7224256a0ba0bda3e9f04702abe)
2007-10-10r25208: add talloc_str[n]dup_append[_buffer]() functionsStefan Metzmacher2-9/+114
metze (This used to be commit 8532076720ddaf3409db1196550cd7c6884380fc)
2007-10-10r25207: remove one nesting level and use unlikely()Stefan Metzmacher1-7/+7
metze (This used to be commit c2931540bc6e2d7665ef46a123f1c0618c3b55b7)
2007-10-10r25206: unify logic of talloc_strdup() and talloc_strndup(),Stefan Metzmacher1-22/+20
only strlen() vs. strnlen() is the difference now. metze (This used to be commit 92106e6b7e4ed3b6e1aa942b6dc8ae52fdf5805b)
2007-10-10r25205: $(srcdir) isn't expanded here...Stefan Metzmacher1-1/+1
metze (This used to be commit 4bce808917e296a0d50f39516da06bfb12418cf8)
2007-10-10r25190: Update talloc version to 1.1.0 after API-incompatible changes.Jelmer Vernooij1-1/+1
(This used to be commit 66000a1fa2365cd8a08e3ecaaa116b27eb74e8b8)
2007-10-10r25175: Change to talloc_asprintf_append_buffer().Jeremy Allison1-4/+4
Jeremy. (This used to be commit 0844dbf597191b3e4d35a696695b229e986daec4)
2007-10-10r25164: Add talloc_asprintf_append_buffer() and the docs for it.Jeremy Allison3-4/+82
Jeremy. (This used to be commit 5bb8613b86a6788efde840d5b50710f9afd22fed)
2007-10-10r25116: Fix talloc_asprintf_append to do the right thing withJeremy Allison1-5/+2
truncated strings. Jeremy. (This used to be commit 948d32bb62b0e8c68cc961a380eae602ffc71870)
2007-10-10r24814: Fix headers, trim core.h even more.Jelmer Vernooij1-1/+1
(This used to be commit 9647f860bdd5c0a74583e886182bd041a45e7655)
2007-10-10r24688: Make output subunit-parseable.Jelmer Vernooij1-20/+20
(This used to be commit 2585c6feb22b4409a635017875a2e93fe7c436ba)
2007-10-10r24626: as TALLOC_ABORT() is defined to abort() by defaultStefan Metzmacher1-2/+12
wrap it into a function so that the function name in the backtrace shows what happens. metze (This used to be commit 0216ff6daa276e413811ca32cca0a66b4b2abe55)
2007-10-10r23802: fixed URL in XMLAndrew Tridgell1-1/+1
(This used to be commit c0111223e2201b2c62e25a4c88e1ee445fde5ab6)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 5c9b19271e0e3ad897499707003ce4703ffa4870)
2007-10-10r23799: updated old Franklin Street FSF addresses to new URLAndrew Tridgell2-6/+2
(This used to be commit db92b76a0034899f5f0dc2d012ee7709ff9a6132)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell3-6/+3
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
2007-10-10r23796: main COPYING file for samba4, plus some formatting varientsAndrew Tridgell1-1/+1
(This used to be commit 76c6bfdeb51b5673bbabe0ca3d8bff3b74a327ee)
2007-10-10r23795: more v2->v3 conversionAndrew Tridgell5-5/+5
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
2007-10-10r23158: Set version to 1.0.1.Jelmer Vernooij1-1/+1
(This used to be commit db065db67a5edcefc6dbe2e504a4922b9b9f7f21)
2007-10-10r23157: Add news file for talloc.Jelmer Vernooij1-0/+13
(This used to be commit cb92da26799d27975dd27255007573cef6397d8a)
2007-10-10r22758: - add missing _talloc_set_name_const(ret, ret); to ↵Stefan Metzmacher3-1/+41
talloc_append_string() - update manpage and add comments about _talloc_set_name_const(ret, ret); in all places which use them metze (This used to be commit 5cd100de829b75b83e49bd572a33a267cf86f215)
2007-10-10r22757: test if calling talloc_free() works on parent elements from within a ↵Stefan Metzmacher1-1/+41
destrutor metze (This used to be commit 305117fae0b4692b27b9cc7204fc59fb1312eabb)