Jelmer Vernooij
7facdcc161
r8985: Automatically generate make dependency rules for
...
the asn1 and error table files.
This removes the need for HEIMDAL_EXTERNAL
(This used to be commit 2f481ac93c0151b82dab737d49ae8d0d3cbbbbbe)
2007-10-10 13:31:04 -05:00
Andrew Tridgell
ef300e6686
r8443: added talloc.3 to the tree to try to allow talloc to build on systems without xsltproc
...
(This used to be commit 0e5b89b1e8871a76c2f9c94d7d7552498d16f350)
2007-10-10 13:23:03 -05:00
Andrew Tridgell
ab65303fe8
r8127: fixed code in function error
...
(This used to be commit 46632e2048f0b87de351cd3f26229cfc4b3384ca)
2007-10-10 13:19:12 -05:00
Andrew Tridgell
b9e8935188
r8126: - moved to 16 byte alignment for talloc. This is in response to a bug
...
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-10 13:19:12 -05:00
Andrew Tridgell
9cfe2d83f1
r8032: added loop detection into talloc. Robert Collins found a way to make a
...
memory loop with talloc_unlink(), so now we detect it and handle it
(This used to be commit 563058e78b8c74e821fabf6a43fa861c1ad09944)
2007-10-10 13:19:00 -05:00
Jelmer Vernooij
fa8d539e0f
r7943: Add 'make manpages', fix 'make installman' and 'make uninstallman'.
...
Not part of the "all" make target yet, as it requires xsltproc
(This used to be commit fd3f4636438cf1d9c0dd802064033271b9e4d935)
2007-10-10 13:18:53 -05:00
Simo Sorce
1702f52498
r7936: new ldb_dn_explode and ldb_dn_casefold functions and co
...
(This used to be commit 7ccf21ab4eeb9821e457308a239f2103a106fb12)
2007-10-10 13:18:52 -05:00
Andrew Tridgell
a124028b66
r7781: finding the parent of a talloc ptr is trickier than it looks due to 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-10 13:18:36 -05:00
Andrew Tridgell
bb8d0c76b4
r7780: fixed a bug in talloc_find_parent_byname()
...
(This used to be commit ee3fe42fb16821eedd564201d953042190f7826f)
2007-10-10 13:18:35 -05:00
Andrew Tridgell
545203d915
r7778: added talloc_find_parent_bytype() and talloc_find_parent_byname()
...
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-10 13:18:35 -05:00
Derrell Lipman
4a139f8171
r7556: fixed typo in documentation
...
(This used to be commit 77fc2036a0db7bde9e90f090dbcd75ea70b3e0a0)
2007-10-10 13:18:08 -05:00
Andrew Tridgell
57bbd16b41
r6845: make the talloc header align to 40 bytes, which costs us an extra 4
...
bytes per allocation, but makes it much more portable
(This used to be commit 257027a571da254c16b0b456cb1cbec284d7fda0)
2007-10-10 13:16:50 -05:00
Andrew Tridgell
2cb07b0f1b
r6831: talloc now requires config.h (this fixes ldb build)
...
(This used to be commit aac86583a9bff7d882ed56633126a1d9f27eea6a)
2007-10-10 13:16:49 -05:00
Andrew Tridgell
eaa11475cd
r6830: put header checks in config.m4 so when it is included by other projects the right
...
configure checks are done
(This used to be commit 57c8db4f9aecd161d61cf0011e960edc718d7cf0)
2007-10-10 13:16:48 -05:00
Jelmer Vernooij
a0e786c446
r6828: More portability fixes
...
(This used to be commit f46c532883e18b8780ff73d3ac0899690eeab3f4)
2007-10-10 13:16:48 -05:00
Andrew Tridgell
3fd2a38e62
r6812: more talloc portability tweaks
...
(This used to be commit 450ac2e4dea25910ee5384747bdb6ad7323e967d)
2007-10-10 13:16:46 -05:00
Andrew Tridgell
9e044848e3
r6808: - test for gcov not needed
...
- 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-10 13:16:46 -05:00
Jelmer Vernooij
5251703764
r6807: Fix in-tree build of talloc testsuite
...
(This used to be commit 3541ebe31bef8ccae7a8a1ea4f451ddfbd24460a)
2007-10-10 13:16:46 -05:00
Jelmer Vernooij
1f474c2692
r6804: Add config.h for talloc (and use it)
...
(This used to be commit c2ce09d38003fd43212de9cd08e4a781cc2aff88)
2007-10-10 13:16:45 -05:00
Andrew Tridgell
03435f5de1
r6802: - fixed CFLAGS
...
- don't fail if we don't have xsltproc
(This used to be commit 235f5c510b4b68edf2a36d049bc0ff2afb73fd72)
2007-10-10 13:16:45 -05:00
Andrew Tridgell
9add53863f
r6741: prevent talloc_strndup() from reading one byte past the end of a buffer,
...
giving valgrind errors
(This used to be commit 7af0c547e0c0da3bc78a1ee6c2ab29114d8625cc)
2007-10-10 13:16:40 -05:00
Jelmer Vernooij
8797d0e29b
r6664: Obey overrided CC in the Makefile
...
(should fix build on several buildfarm hosts)
(This used to be commit cbd7af4fcf72fd21b2a8ea2ee8f9f61f90f36f03)
2007-10-10 13:16:33 -05:00
Andrew Tridgell
238f36b899
r6663: only use -Wall for gcc
...
(This used to be commit b7fbe2173d45456c77fad9673073173704a1b266)
2007-10-10 13:16:33 -05:00
Andrew Tridgell
3059fb2bc7
r6662: add an installcheck target for talloc
...
(This used to be commit 2f78428cfd823b499c60ac3cc02650183b760ef0)
2007-10-10 13:16:33 -05:00
Andrew Tridgell
30f817a202
r6661: fix up talloc autoconf to have a chance of working on the build farm
...
(This used to be commit 9318744fd496a829a57fc8e0f21d4b26b1eb74c7)
2007-10-10 13:16:32 -05:00
Volker Lendecke
c1d31ac8fc
r6660: Sorry for the spam... I think now I've got a version that should compile on
...
trunk, 3_0 and 4_0.
Volker
(This used to be commit 777c489cad610fef140ec80d5644111b04a314c1)
2007-10-10 13:16:32 -05:00
Simo Sorce
13bb5c3486
r6650: keep style consistent
...
(This used to be commit 34671674ee326ea835408f8c1fdb105ea50ccc55)
2007-10-10 13:16:32 -05:00
Simo Sorce
157a32956a
r6645: Add talloc_get_size() function.
...
Sometimes it is usefull to know this data.
Simo.
(This used to be commit df401847827ef660d8b9d55af9b27bb85bad6b5f)
2007-10-10 13:16:32 -05:00
Jelmer Vernooij
88f0a6e5e2
r6622: Add talloc manpage in DocBook XML, based on SGML version by Garry Williams
...
(This used to be commit 62550eac1e56e95c8080a0519579fd97ee5d465a)
2007-10-10 13:16:32 -05:00
Volker Lendecke
a53548d074
r6513: Commit talloc_free_children.
...
Volker
(This used to be commit 9fa26d2c971a7baee64d8938e31909cac80f0e5a)
2007-10-10 13:16:21 -05:00
Jelmer Vernooij
9ced235dab
r6478: Add 'make install' and a pkg-config file
...
(This used to be commit c8e1b7542736bd674b8407872dbbe3a9941fce59)
2007-10-10 13:16:18 -05:00
Jelmer Vernooij
26a625e857
r6477: Remove call to autoheader as autogenerated header files are not used
...
by talloc
(This used to be commit 5ca8a852067c34fed86f70be7f157714ecdd5501)
2007-10-10 13:16:18 -05:00
Andrew Tridgell
acb6110d5d
r6474: - added a simple talloc web page at http://talloc.samba.org/
...
- make it easier to seperataly build talloc for other projects
(This used to be commit 27b987d267603977be8798e7e5412b91e18a316b)
2007-10-10 13:11:40 -05:00
Andrew Tridgell
0d36266cd4
r6075: added talloc_enable_null_tracking() (asked for by lifeless)
...
(This used to be commit 40b8ee186af3e7f771c680dbbb03fdcf559bf103)
2007-10-10 13:11:17 -05:00
Andrew Bartlett
ae1ea5619b
r6033: Patch from 'lifeless' to clarify behaviour with NULL pointers.
...
Andrew Bartlett
(This used to be commit 48c518796797f021c9c7f319ca8cd0a0c185f64c)
2007-10-10 13:11:16 -05:00
Andrew Tridgell
da5349dede
r5939: improve talloc_realloc() docs after feedback from lifeless
...
(This used to be commit 301cbb0d12919f83d6b735c2e23b49fb49d5394d)
2007-10-10 13:11:10 -05:00
Andrew Tridgell
689a803ac7
r5938: - allow NULL string argument to talloc_vasprintf_append()
...
- default to using va_copy(), thus assuming a modern libc
(This used to be commit 3060b26c9e745330682f6209d97e723113b65b56)
2007-10-10 13:11:10 -05:00
Andrew Tridgell
340d35be2d
r5937: - performance improvement to talloc_asprintf_append()
...
- allow standalone talloc to use gcc printf attributes
(This used to be commit e25aa54e962796e6e7385afed57aa287ef6f869d)
2007-10-10 13:11:10 -05:00
Stefan Metzmacher
dd0d8b2a89
r5142: fix compiler warning
...
metze
(This used to be commit d8aeb69ea85cc0df89e213482c446eb8e793bc86)
2007-10-10 13:09:27 -05:00
Andrew Tridgell
784dde73bc
r5119: fflush after talloc reports to ensure they are fully on disk when using tee
...
(This used to be commit e73e49aaa64f6f976918f087cf196b00eecc3eb2)
2007-10-10 13:09:24 -05:00
Andrew Tridgell
6717dcca76
r4793: minor doc updates
...
(This used to be commit ad1af519eb1a138e44cc94676f845b8ba65e3371)
2007-10-10 13:08:55 -05:00
Andrew Tridgell
7b79694ead
r4790: added type checking helper macros in talloc. These take advantage of
...
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-10 13:08:55 -05:00
Andrew Tridgell
c710c0671f
r4718: don't use the deprecated __va_copy() unless va_copy() is unavailable
...
(This used to be commit 603ef69be075821e3ffe2084bb5cfb0bc9cce180)
2007-10-10 13:08:47 -05:00
Andrew Tridgell
4b73689468
r4711: - deprecate talloc_destroy()
...
- 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-10 13:08:46 -05:00
Stefan Metzmacher
90d65c2e85
r4689: - make talloc_report_depth() public
...
- 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-10 13:08:43 -05:00
Stefan Metzmacher
8ac3838d19
r4688: don't run male proto for lib/talloc/
...
metze
(This used to be commit 4ab63d547903814318b74ea030bba9da0f36942f)
2007-10-10 13:08:43 -05:00
Stefan Metzmacher
0c440d6506
r4687: use struct type and location for easier finding
...
metze
(This used to be commit a88aac7a397972c52ca2fb192b58f2a172630a6e)
2007-10-10 13:08:43 -05:00
Stefan Metzmacher
1bdbd21eb2
r4609: add a usefull data_blob_dup_talloc() macro
...
metze
(This used to be commit 11e006df1689d4b4b202bca640106fd789495284)
2007-10-10 13:08:33 -05:00
Andrew Tridgell
35a2ced64a
r4593: don't use the _p function in the testsuite, as when built standalone it doesn't
...
use TALLOC_DEPRECATED
(This used to be commit 2fe0e2528f14627832942f6404a4b1be4b556c97)
2007-10-10 13:08:30 -05:00
Andrew Tridgell
8b1512fc9b
r4592: fixed typo from talloc testsuite fixup for the new syntax
...
(This used to be commit 1177200dd9392c088f5b009f55390ad31c367e5f)
2007-10-10 13:08:30 -05:00