summaryrefslogtreecommitdiff
path: root/source4/lib/talloc
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r22600: Update bzr ignores, put right version in .pc files, prepare for ↵Jelmer Vernooij4-8/+11
support of system versions of tdb, talloc. (This used to be commit 9b991ce9ca28b3d88c778305ec5f681506162637)
2007-10-10r22598: Simplify includes for replace.Jelmer Vernooij1-1/+1
(This used to be commit e72cec408e832e0f6ce05c38febdd56de501dbf7)
2007-10-10r22596: Set _CFLAGS variables rather than putting knowledge in the ldb Makefile.Jelmer Vernooij1-0/+3
This should make it easier to allow use of system tdb or talloc libs using pkg-config. (This used to be commit a3ec90a2635d47e5c073e873c15daab4a8ef5400)
2007-10-10r22563: As tridge requested remove the _strict calls - for Samba3 I'm movingJeremy Allison2-105/+0
to a separate file. Jeremy. (This used to be commit 80706cf98d31593a899652acb2cdedaa8bf3dfab)
2007-10-10r22541: Added talloc_size_strict macro.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 219e1cae7792a5da886212f335ed11a35f28b3eb)
2007-10-10r22540: Added _strict varients of the macro calls - addedJeremy Allison1-0/+6
prototypes. Jeremy. (This used to be commit ba1a66cc6febed8b9c809c59562414675df5f74e)
2007-10-10r22539: Added _strict varients of the talloc calls toJeremy Allison2-1/+96
return NULL on size == 0 varients. Jeremy. (This used to be commit 1ef269067ca501e2a4ded4ca8654c6a6cc26f385)
2007-10-10r22518: Create pkgconfig dir.Jelmer Vernooij1-0/+1
(This used to be commit 17e9c56a75264e77a9cab130890ad97618442301)
2007-10-10r22517: Use DESTDIRJelmer Vernooij1-7/+7
(This used to be commit 4614da125fe3ce87ab59bc583aa95fa73beebaab)
2007-10-10r22514: Add version numbers to tdb and talloc (required so they can be ↵Jelmer Vernooij1-1/+1
packaged independent of Samba for Debian). (This used to be commit 846cfcf44df07457d228c9a5afab743e071ab7aa)
2007-10-10r22365: prepare merge to samba3Stefan Metzmacher1-2/+2
metze (This used to be commit 6780c234275b29192c49bf6d45204b0ac458faaf)
2007-10-10r22267: protect #define __location__ with an #ifndefStefan Metzmacher1-4/+6
metze (This used to be commit 138ffd6d486bb315ee6933f25e693d4207d870d6)
2007-10-10r21297: Remove the GTK+ tools and library from the main repository. They are ↵Jelmer Vernooij1-0/+4
now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk This also adds some more headers to the list that is installed and a couple of extra #include lines so these headers can be used externally without problems. (This used to be commit 07652f65ce7a5b19130f1a27cbf0e1e5fae13454)
2007-10-10r21174: many thanks to Paul Wayper for pointing out that C99 requires aAndrew Tridgell1-6/+11
matching va_end() for each va_copy(). This doesn't matter for most architectures, but there could be some obscure ones where it does matter. some of this should be ported to Samba3 (This used to be commit 21eb316473486cb6b73bb3ff9c5f3a44ecd57e4a)
2007-10-10r20650: revert a bunch of code I didn't mean to commit yetAndrew Tridgell1-34/+0
(This used to be commit b3e2d4908781781a487eaeb683d22eb967e5597d)
2007-10-10r20647: add cluster codeAndrew Tridgell1-0/+34
(This used to be commit 5870830b99a8d76bda1ff5af3fcf8dda9aba50ec)
2007-10-10r20195: fix typoStefan Metzmacher1-1/+1
metze (This used to be commit 9d06a4b6e22e18bdaa4383c7b9ab8af058c157c0)
2007-10-10r20194: inline all static talloc functionsStefan Metzmacher1-4/+6
metze (This used to be commit ee47b404412299ac0e341f0d269adc21a7ebc603)
2007-10-10r20193: - let talloc_parent_chunk() handle a NULL pointerStefan Metzmacher2-15/+12
- use talloc_parent_chunk() in talloc_parent_name() - add prototype of talloc_parent_name() metze (This used to be commit 85fc18f047cd2132d0c455f739ee76ce5005d7ed)
2007-10-10r19684: Talloc_guide text on multithreading by Remi TurboultVolker Lendecke1-0/+16
(This used to be commit 7b9b2e5358030aed5cb69dbc93d3175c9cac4455)
2007-10-10r19636: Add URLs to ldb and talloc pkg-config files.Jelmer Vernooij1-0/+1
Always build and install .pc files as they make sense for static libs as well. (This used to be commit 82cb91e2dd50899050066cccee82cb5be52ec3fe)
2007-10-10r19570: Fix dependencies in pkg-config files.Jelmer Vernooij1-2/+2
(This used to be commit 1b046698521f77b843f4a2fcf91230ee2917b569)
2007-10-10r19498: the autofree test cannot be run as part of smbtortureAndrew Tridgell1-0/+3
(This used to be commit ebf1d523da45fe19757bca45262f7514702ee108)
2007-10-10r19495: Stop linking binaries twice (once before installation, once during ↵Jelmer Vernooij2-6/+10
build). Make TORTURE-TALLOC and TORTURE-REPLACE builtin again rather than separate binaries. (This used to be commit 8913d60c72a67b041b08d569c9bd048953106c85)
2007-10-10r19434: we need to force line buffering as the new torture code doesn't createAndrew Tridgell1-0/+2
a pty in the piped_child() code Jelmer, if you want to fix this on platforms that support it, see the forkpty() call, or see http://junkcode.samba.org/ftp/unpacked/junkcode/rline/ (This used to be commit 35908a29922b93d133b19881dc8205a7116cae8e)
2007-10-10r19412: some rather strange looking changes to talloc that gain us about 50%Andrew Tridgell1-211/+299
in the talloc benchmark. These changes were driven by some cachegrind profiles, with the biggest improvements coming from inlining some functions. I don't think it would be a good idea to start spreading inline and likely()/unlikely() in other parts of Samba, as the benefit in most code will be very small, but talloc() is such a speed critical part of Samba that I think these changes are worthwhile (This used to be commit 8644708c3f42d249b5d1fd2bde37aeb35288da13)
2007-10-10r19405: the talloc speed test suite was not giving an accurate picture of theAndrew Tridgell1-13/+18
cost of talloc versus malloc. The size parameter in the test suite was constantly increasing, leading to a worst case for malloc. It is far more common to have talloc calls of 100 bytes or lower, so change the benchmark to reflect this. This makes talloc look much worse - on my laptop I now get: talloc: 5615164 ops/sec malloc: 14337130 ops/sec I'm working on improving that. (This used to be commit db273ef4dd6ab58da57bb4b59fb1fd5568585ed8)
2007-10-10r19381: Print out the specific tests that failed after a smbtorture run.Jelmer Vernooij1-188/+189
Support listing known failures as a list of wildcards in the file `KNOWN_FAILURES'. (This used to be commit 23f66efd564d1ad549fc0cd60348f54808f5cafa)
2007-10-10r19350: Properly list LOCAL-TALLOC under the "LOCAL" header.Jelmer Vernooij1-2/+2
Support directories for subcategories in tests. Several small other fixes. (This used to be commit bde00d97068d559b025ab131ff698a82430d14b3)
2007-10-10r19343: Add support for external scripts/binaries that write results using theJelmer Vernooij2-188/+252
'subunit' protocol. This allows us to easily plug EJS scripts or binaries that can't depend on -ltorture into smbtorture. The protocol is very simple: - write "comments" to stderr Example output on stdout: test: foo success: foo test: bar success: bar test: blah failure: blah [ dummy.c:30: Expression 1 != 2 failed! ] test: blie skip: blie [ Iconv support not built in ] I've already converted the talloc testsuite. (This used to be commit e1742c14a247fabba969f8698108e73997d3f420)
2007-10-10r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij1-304/+195
output in the testsuite rather than just True or False for a set of tests. The aim is to use this for: * known failure lists (run all tests and detect tests that started working or started failing). This would allow us to get rid of the RPC-SAMBA3-* tests * nicer torture output * simplification of the testsuite system * compatibility with other unit testing systems * easier usage of smbtorture (being able to run one test and automatically set up the environment for that) This is still a work-in-progress; expect more updates over the next couple of days. (This used to be commit 0eb6097305776325c75081356309115f445a7218)
2007-10-10r19304: If you really want to look at the contents undef this oneSimo Sorce1-0/+17
(This used to be commit fe20ac404d654abe31729664584391f3b3cd0214)
2007-10-10r19118: get rid of a bunch of bool misuse warningsAndrew Tridgell1-19/+19
(This used to be commit e620f44643caf93a8bcb203a966c986c14a8dc0e)
2007-10-10r18995: - fix bug 4078Stefan Metzmacher2-12/+37
- talloc_free(talloc_autofree_context()); should not result in a SIGABORT on exit - add a test for this, but this test can also pass in the standalone build and samba3, as samba4 uses talloc_autofree_context() metze (This used to be commit 2be48c1b033dceb9517826054b8ea97df2c94472)
2007-10-10r18946: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit 450595822441ebaa199d6b10d568274940b1a91b)
2007-10-10r18601: updated web page for new talloc build methodAndrew Tridgell1-0/+2
(This used to be commit fbd8028080108cd920ee0a65bdb10de2eb419cde)
2007-10-10r18600: - fix shell syntax in tests for librariesAndrew Tridgell1-1/+1
- add library test for libpopt (This used to be commit 13878b7e7ec65b21df954f83afc0e9ceb73e44a0)
2007-10-10r18594: fail the configure step if the required library is not found for tdb,Andrew Tridgell1-1/+5
talloc or libreplace (This used to be commit 9f45f970f71ee5585bf3c924b9c77188405fa246)
2007-10-10r18539: 'make distclean' should delete config.cacheAndrew Tridgell1-3/+1
(This used to be commit 5a8becb1be1b41b4fecf9f9f47a60eed5f77c264)
2007-10-10r18535: move the AC_CANONICAL_HOST and host specific flag tests intoAndrew Tridgell2-0/+3045
libreplace. This should fix the standalone build of tdb on HPUX, where we need to blacklist mmap. Unfortunately this requires that we have a copy of config.guess and config.sub in each of our project subdirectories. I tried to find a way to use something like AC_CONFIG_AUX_DIR($libreplacedir) and just put config.{guess,sub} in the lib/replace/ directory, but I couldn't figure out how to do that in a way that kept autoconf happy for each of our separate builds. Any autoconf guru out there see a way to do this? (This used to be commit 823cd3ab35456769dcefee17bdaca21f01ba0f63)
2007-10-10r18521: implement volkers suggestion for avoiding the type punning warningsAndrew Tridgell2-3/+4
(This used to be commit 9b9f058edb033c999c4430add4f05459ac43c9e2)
2007-10-10r18485: include libreplace.m4 in the aclocal.m4 filesStefan Metzmacher2-2/+3
and use the macros in configure.ac metze (This used to be commit 95d33e4d71b4c97af8413bcd136f393aa3e380dd)
2007-10-10r18439: 2nd try at a talloc_move() api. This type with the ** ptr interfaceAndrew Tridgell3-4/+4
exposed. Unfortunately this generates a large number of type punning warnings. We'll have to find some magic to hide those. (This used to be commit 254cbf09dee5a1e20c47e47a298f1a8d172b41b9)
2007-10-10r18435: added a function talloc_move() which is like talloc_steal(), but isAndrew Tridgell4-3/+61
meant for moving pointers between structures. The difference is that talloc_move() will zero the source pointer, thus ensuring you don't reference the pointer in the old context. talloc_move() is appropriate in some, but not all cases where we use talloc_steal() now. The interface came out of a discussion with Jeremy. (This used to be commit 200756017e1867faa207703eddc00a75ae4527df)
2007-10-10r18283: libreplace.m4 needs to be early in configure.ac in other packages tooAndrew Tridgell1-10/+5
(This used to be commit 03f9c67c066d772d9a544f1183fbee609ab8137b)
2007-10-10r18213: don't list LIBREPLACE depdendecies explicit andStefan Metzmacher1-1/+0
always at it as first private dependencies metze (This used to be commit 135d096776b53ae09ffc2b4f767dfbd18139570f)