summaryrefslogtreecommitdiff
path: root/source4/lib/talloc
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r18163: Remove defines for BOOL, False and TrueJelmer Vernooij1-82/+72
(This used to be commit 6f5e7df6f2cf67731e596b1d1d6fafbb76123e89)
2007-10-10r18152: move our AC macros into lib/replace/libreplace_macros.m4Stefan Metzmacher1-0/+1
and include them from there metze (This used to be commit 38f9e90a120b4e62f005a1bac89139ee87f63071)
2007-10-10r18143: the 'showflags' convention from Samba is useful for the other packagesAndrew Tridgell1-1/+6
(This used to be commit a4d1f1d2229e1a0b1523bf14fab59278207abbc0)
2007-10-10r18142: add make distclean to talloc buildStefan Metzmacher1-4/+7
metze (This used to be commit c8342c9ae5b37acd72271e025f0ee735a95cf8e5)
2007-10-10r18129: moved the system includes into libreplace - this gives much moreAndrew Tridgell2-29/+2
isolation of our portability environment from the main code, and also simplifies the includes system (no separate #ifdef _SAMBA_BUILD for tdb. ldb etc now) (This used to be commit 77d1a468e06290aba789e2f3affc769fc5159a21)
2007-10-10r18100: actually make usage of libreplace :-)Stefan Metzmacher1-1/+1
metze (This used to be commit 357882e6ec20b559b7053a8dffb72b7dec26b82f)
2007-10-10r18096: try to make tcc happy and don't the same struct names in a global andStefan Metzmacher1-11/+7
a local scope metze (This used to be commit b787259365eb3dbbc5e8a82a95f0beeea0015682)
2007-10-10r18089: sometimes autoconf picks up some old stuff:Stefan Metzmacher1-0/+5
- remove configure and config.h.in - cleanup after autoconf and autoheader are done metze (This used to be commit 8246d8ecd2679af59e32901174638a166ed69222)
2007-10-10r18086: here tooAndrew Tridgell1-2/+2
(This used to be commit e485b25a39ebbbfaf150fad1946e138830bdbfec)
2007-10-10r18083: i should sleep more ....Andrew Tridgell2-1/+1
(This used to be commit 9bc583cf6c66130df4b9fd2ee1ab3ea486e22b8a)
2007-10-10r18082: bring talloc in line with new conventionsAndrew Tridgell2-2/+3
(This used to be commit 7f7c85fa2feb1398050ea6b2929628f83b6bdb11)
2007-10-10r18080: added distclean target to tallocAndrew Tridgell1-0/+7
(This used to be commit 1185dd044b40f722d06b0e148824582e7efcb380)
2007-10-10r18077: move some configure tests out of talloc that are now in libreplaceAndrew Tridgell1-22/+0
(This used to be commit b5d519eb1eea507a749cb252d8dd9265022f7054)
2007-10-10r18076: convert talloc to the new libreplace systemAndrew Tridgell4-7/+23
(This used to be commit 968a4e97cfa6585b06f0c5e64d746715a1297461)
2007-10-10r18064: merge from samba3Stefan Metzmacher1-6/+9
metze (This used to be commit c60deff667941e462fd9c8a894a723c792fe465e)
2007-10-10r18031: Merge my replace fixes:Jelmer Vernooij2-0/+1
* libreplace can now build stand-alone * add stub testsuite for libreplace * make talloc/tdb/ldb use libreplace (This used to be commit fe7ca4b1454e01a33ed0d53791ebffdd349298b4)
2007-10-10r18027: Fix some 64-bit warningsVolker Lendecke2-10/+19
(This used to be commit cd495d89314a653b5976b1690e075fd7bac2f59b)
2007-10-10r17966: remove all generated filesStefan Metzmacher1-1/+1
metze (This used to be commit 2493f670d3581df2bbbca7a0295e31ae3a09c2c0)
2007-10-10r17965: make talloc build more portableStefan Metzmacher1-1/+3
metze (This used to be commit 64ba7ffdb866cc74366842750d95a25b47266097)
2007-10-10r17964: try to support sun* hostsStefan Metzmacher1-2/+2
metze (This used to be commit 87d88b3a47047f837101aca2180555dc35cfcf31)
2007-10-10r17963: fix install logic for talloc.3Stefan Metzmacher1-2/+2
metze (This used to be commit 161f2c04f78ba03ae4a24667e50cc9d8a446921e)
2007-10-10r17960: try to use gmake if present on IRIXStefan Metzmacher1-0/+2
metze (This used to be commit 18b4ae591a3a137dd25edd16a574e489cd5552bf)
2007-10-10r17958: as talloc_init() enabled null tracking, we should avoid to use itStefan Metzmacher1-0/+2
in smbtorture, and in the LOCAL-TALLOC we should reset the null tracking also make bin/smbtorture //url/foo LOCAL-TALLOC LOCAL-TALLOC possible metze (This used to be commit d1dd3df5e4fd21f5cbd00e472438fe3eadb266e5)
2007-10-10r17957: don't try to use an internet connection when generating the manpageStefan Metzmacher1-5/+5
and only install the manpage if we build it metze (This used to be commit 23c6c7a27cc966d8e948e00c41d34e9a6ad40f2c)
2007-10-10r17952: merge changes from samba3Stefan Metzmacher1-1/+5
metze (This used to be commit ff8d044c2e14e81b4bb32eaacc56875e9602ce4d)
2007-10-10r17950: sync talloc with samba3Stefan Metzmacher1-0/+7
metze (This used to be commit 5697841e2949d2f7a053b4766c48906943a5a04e)
2007-10-10r17907: - add a generic talloc_report_depth_cb() function which takes a callbackStefan Metzmacher4-52/+173
to do the actual report. - make the talloc_report_depth_file() a wrapper of it - and talloc_report() and talloc_report_full() are wrapper of talloc_report_depth_file() metze (This used to be commit b199557b358e6216d89d233513079fcd56b307aa)
2007-10-10r17905: fix c++ warningsStefan Metzmacher1-13/+13
metze (This used to be commit 972a84f220f0dabc4e1cc3ffd40a4bf4dedc74d9)
2007-10-10r17895: - talloc_increase_ref_count() can failStefan Metzmacher4-7/+16
- make talloc_reference() typesafe when gcc >= 3 is used metze (This used to be commit 933d1b47ad614d02cc02b602e704948b342febdb)
2007-10-10r17893: add a function to disable the null_contextStefan Metzmacher3-2/+15
metze (This used to be commit 7cab4285b1b61ad5cb425e42d89bcf7d645b0710)