summaryrefslogtreecommitdiff
path: root/source4/lib/talloc
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r6474: - added a simple talloc web page at http://talloc.samba.org/Andrew Tridgell5-16/+81
- make it easier to seperataly build talloc for other projects (This used to be commit 27b987d267603977be8798e7e5412b91e18a316b)
2007-10-10r6075: added talloc_enable_null_tracking() (asked for by lifeless)Andrew Tridgell3-2/+21
(This used to be commit 40b8ee186af3e7f771c680dbbb03fdcf559bf103)
2007-10-10r6033: Patch from 'lifeless' to clarify behaviour with NULL pointers.Andrew Bartlett2-1/+3
Andrew Bartlett (This used to be commit 48c518796797f021c9c7f319ca8cd0a0c185f64c)
2007-10-10r5939: improve talloc_realloc() docs after feedback from lifelessAndrew Tridgell1-1/+5
(This used to be commit 301cbb0d12919f83d6b735c2e23b49fb49d5394d)
2007-10-10r5938: - allow NULL string argument to talloc_vasprintf_append()Andrew Tridgell1-1/+9
- default to using va_copy(), thus assuming a modern libc (This used to be commit 3060b26c9e745330682f6209d97e723113b65b56)
2007-10-10r5937: - performance improvement to talloc_asprintf_append()Andrew Tridgell2-5/+10
- allow standalone talloc to use gcc printf attributes (This used to be commit e25aa54e962796e6e7385afed57aa287ef6f869d)
2007-10-10r5142: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit d8aeb69ea85cc0df89e213482c446eb8e793bc86)
2007-10-10r5119: fflush after talloc reports to ensure they are fully on disk when ↵Andrew Tridgell1-1/+2
using tee (This used to be commit e73e49aaa64f6f976918f087cf196b00eecc3eb2)
2007-10-10r4793: minor doc updatesAndrew Tridgell1-15/+9
(This used to be commit ad1af519eb1a138e44cc94676f845b8ba65e3371)
2007-10-10r4790: added type checking helper macros in talloc. These take advantage ofAndrew Tridgell4-9/+107
the type names that talloc already keeps around for pointers, and allows the user to type check void* private pointers. It can also be used to implement polymorphism in C, as I'm sure someone would have pointed out to me sooner or later :-) (This used to be commit c283e1a3efac3a92e29a35856e20eb61ef4c221e)
2007-10-10r4718: don't use the deprecated __va_copy() unless va_copy() is unavailableAndrew Tridgell1-0/+2
(This used to be commit 603ef69be075821e3ffe2084bb5cfb0bc9cce180)
2007-10-10r4711: - deprecate talloc_destroy()Andrew Tridgell3-9/+19
- expanded the talloc_realloc() test a little (I was concerned about a possible bug, which turned out to be an illusion) - don't enable gcov by default in Makefile.talloc (This used to be commit 4ec47cc1083c4cdb780e548177631c5914bf677a)
2007-10-10r4689: - make talloc_report_depth() publicStefan Metzmacher2-1/+9
- add talloc_parent() to return the parent context of a pointer these are very use full for debuging metze (This used to be commit 9b9501bc03ef8d4b53049f6b3531d06ed7ef7f89)
2007-10-10r4688: don't run male proto for lib/talloc/Stefan Metzmacher1-0/+1
metze (This used to be commit 4ab63d547903814318b74ea030bba9da0f36942f)
2007-10-10r4687: use struct type and location for easier findingStefan Metzmacher1-1/+1
metze (This used to be commit a88aac7a397972c52ca2fb192b58f2a172630a6e)
2007-10-10r4609: add a usefull data_blob_dup_talloc() macroStefan Metzmacher1-0/+1
metze (This used to be commit 11e006df1689d4b4b202bca640106fd789495284)
2007-10-10r4593: don't use the _p function in the testsuite, as when built standalone ↵Andrew Tridgell1-9/+9
it doesn't use TALLOC_DEPRECATED (This used to be commit 2fe0e2528f14627832942f6404a4b1be4b556c97)
2007-10-10r4592: fixed typo from talloc testsuite fixup for the new syntaxAndrew Tridgell1-1/+1
(This used to be commit 1177200dd9392c088f5b009f55390ad31c367e5f)
2007-10-10r4591: - converted the other _p talloc functions to not need _pAndrew Tridgell4-50/+70
- added #if TALLOC_DEPRECATED around the _p functions - fixes the code that broke from the above while doing this I fixed quite a number of places that were incorrectly using the non type-safe talloc functions to use the type safe ones. Some were even doing multiplies for array allocation, which is potentially unsafe. (This used to be commit 6e7754abd0c225527fb38363996a6e241b87b37e)
2007-10-10r4550: talloc() is now typesafe. It is exactly equivalent to the old ↵Andrew Tridgell4-26/+26
talloc_p() macro. Use talloc_size() if you want the old behaviour. I have kept talloc_p() as an alias for now. Once we change all calls to be plain talloc() then we can remove it. (This used to be commit 2011bbeb841fd6bfccf3d44a49f79203f7f55baa)
2007-10-10r4549: got rid of a lot more uses of plain talloc(), instead usingAndrew Tridgell2-9/+10
talloc_size() or talloc_array_p() where appropriate. also fixed a memory leak in pvfs_copy_file() (failed to free a memory context) (This used to be commit 89b74b53546e1570b11b3702f40bee58aed8c503)
2007-10-10r4547: - added talloc_new(ctx) macro that is a neater form of the common ↵Andrew Tridgell3-2/+12
talloc(ctx, 0) call. - cleaned up some talloc usage in various files I'd like to get to the point that we have no calls to talloc(), at which point we will rename talloc_p() to talloc(), to encourage everyone to use the typesafe functions. (This used to be commit e6c81d7c9f8a6938947d3c1c8a971a0d6d50b67a)
2007-10-10r4479: added the function talloc_autofree_context() which returns a talloc ↵Andrew Tridgell3-0/+28
context that will automatically be freed on program exit. This is useful for reducing clutter in leak reports (This used to be commit cf73dda652e0a121901f22771104be6751c0fcb9)
2007-10-10r4473: - moved talloc into its own lib/talloc/ areaAndrew Tridgell7-0/+2421
- added gcov flags to Makefile.talloc - expanded talloc testsuite to add a test for realloc with a child ptr - fixed a bug in talloc_realloc() with realloc of a ptr that has child ptrs (This used to be commit 98b5f73c1ba34d7576c5995069b485c1c5ede324)