summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19490: better to check the return resultSimo Sorce1-4/+5
(This used to be commit abdc4edbb8f8b8234bad1be05fa92b3f3bc8876c)
2007-10-10r19489: Change ldb_msg_add_value and ldb_msg_add_empty to take a foruth ↵Simo Sorce10-34/+44
argument. This is a pointer to an element pointer. If it is not null it will be filled with the pointer of the manipulated element. Will avoid double searches on the elements list in some cases. (This used to be commit 0fa5d4bc225b83e9f63ac6d75bffc4c08eb6b620)
2007-10-10r19485: Fix Coverity # 319Volker Lendecke1-1/+1
(This used to be commit d12bdb6133c1612b9d3e1a0c6692cbc4ab17fe32)
2007-10-10r19461: Make sqlite3 work again (semi-async)Simo Sorce2-398/+167
Still not all tests pass (This used to be commit cbfc7305ad594c672a16a7f6f82758d17eb5ba62)
2007-10-10r19460: currently building when there is an existing previous build in place ↵Simo Sorce1-1/+4
is broken (This used to be commit 59ac5cf96b208cebe2eb608d853314d335756068)
2007-10-10r19459: Do not build nss by default (it probably works only on linux)Simo Sorce2-4/+10
Fix warning with standalone.sh if build exists (This used to be commit d74fac574067ff2f3918ad435df2c2352e4b2ef7)
2007-10-10r19458: Some info on the "schema"Simo Sorce1-0/+34
(This used to be commit 724d8fb153cfe6f941ba2b8893e5221b24da9431)
2007-10-10r19457: committed by mistake, this binary is available from here anyway:Simo Sorce1-433/+0
http://www.samba.org/ftp/unpacked/junkcode/nsstest.c (This used to be commit 48e38abe7170a4ec9996079fd5c4672312cc96a0)
2007-10-10r19456: Add an example application for ldb using the tdb backendSimo Sorce6-3/+1598
(This used to be commit 778198f279b374222c737e5eda1c47efc2dce39c)
2007-10-10r19455: forgot thisSimo Sorce1-0/+1
(This used to be commit 2b770885cd234027f92ba543706df5d55f16f739)
2007-10-10r19454: In standalone build init asq tooSimo Sorce1-0/+1
(This used to be commit e58b03cd666c6e5df8e5720a62aef23f87be9362)
2007-10-10r19453: Expose helper functionsSimo Sorce2-3/+143
(This used to be commit ee86e88e4f523d67900b52b5a4d4040a76360c61)
2007-10-10r19452: Warn but don't die if registering against the rootdse is not possibleSimo Sorce3-8/+3
(This used to be commit 4ad2eba2aa7711d480a844766e2dd3da938b3413)
2007-10-10r19442: this real cause of the failures on *BSD came from the missingStefan Metzmacher2-4/+6
ICONV dependency and not from a broken configure test and incorrect ifdef's. metze (This used to be commit 3df2cb1ea82dae7395d3d19ba73f97dad26bb86b)
2007-10-10r19440: merged from samba3Andrew Tridgell1-4/+4
(This used to be commit c22fb040234d0cb808fb36e1b4b7ea7bfd45c8cb)
2007-10-10r19438: try to fix up the build breakages on BSD systems due to incorrectlyAndrew Tridgell2-8/+11
detecting iconv.h (This used to be commit e6baa13e1f9c35f95021512b713cebba680b2a72)
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-10r19428: moved tdbutil.c from lib/tdb/common/ to lib/util/util_tdb.cAndrew Tridgell14-72/+30
tdbutil.c is Samba specific, so should not be part of the generic tdb library (This used to be commit 979dd24f5e44605fc1603b690913b8c31be7478f)
2007-10-10r19425: two more tdb functions from samba3Andrew Tridgell2-0/+13
(This used to be commit c9d9d79c34e8a36a6f684b173b1cc861330adc5c)
2007-10-10r19423: merge some tdb changes from SAMBA_3_0 to SAMBA_4_0Andrew Tridgell5-12/+23
this is in preparation of a merge in the other direction (This used to be commit db3211079fd594aa03c3b9bb3eb6ad86bdd32837)
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-10r19411: sigh - we can't call close here as its mapped to swrap_close() in theAndrew Tridgell1-3/+0
build farm (This used to be commit be43b8c5692f6bb6f1cc74d07f24376b43593256)
2007-10-10r19410: - fixed checker errorAndrew Tridgell1-1/+4
- close the sockets after the socketpair test (This used to be commit e679163ac26dccee028ca501e4ef6229a3c761ee)
2007-10-10r19409: Pull in <sys/time.h> for struct timeval for non samba build (don'tLove Hörnquist Åstrand1-0/+1
depend on namespace pollution) (This used to be commit 5052d2d10693e67f1b7c6c71277c8d1bc9c8b612)
2007-10-10r19408: I think tm_mon is ending up as -1 on some platformsAndrew Tridgell1-0/+1
(This used to be commit d01bdf1f2dcdf77043a5ad162ee336d3c6f2e944)
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-10r19403: try to fix the crashes in the buildfarm related to timegmAndrew Tridgell1-1/+10
(This used to be commit c4e1d2c5ae11acac7dd2cedca411b9b6be84962f)
2007-10-10r19402: - use the new tdb_lockall_read() to make ldb_search() more efficient,Andrew Tridgell4-20/+15
by avoiding chain locks on each tdb_fetch() within the search - use the tdb_get_seqnum() call to avoid re-reading the @BASEINFO record when it hasn't changed. These speed up the LOCAL-DBSPEED test for ldb from 7k ops/sec to a bit over 11k ops/sec (This used to be commit 1347ad254eb8cd12ce22a5a2a37bec0a0ac8dbf1)
2007-10-10r19401: make tdb_lockall() much more efficient, and add a tdb_lockall_read()Andrew Tridgell7-69/+142
call which does a read lock on all chains. These will be used to make ldb searches more efficient (This used to be commit de664ec1f8cf179f1d650563272c0de3f7636e2b)
2007-10-10r19400: fixed a valgrind error in the directory registry backend (name wasAndrew Tridgell1-2/+2
used after closedir(), which invalidates the name) (This used to be commit d8af519c2d2fcab3baa822c5fd4c1079dcbd1de3)
2007-10-10r19395: Fix replacement function compilation.Jelmer Vernooij1-1/+1
(This used to be commit b79303f25180c777d9d09b2cdf852bf0a5eda70d)
2007-10-10r19393: Add replacement function for socketpair()Jelmer Vernooij3-0/+66
(This used to be commit 448a3ecc0184bfa063db1eb3ae6dc16b8b792792)
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-10r19375: very basic helper script to build ldb standaloneSimo Sorce1-0/+21
(This used to be commit b4c8bf7398cd8a9a2132dd4b04a0ea8004e7f1b0)
2007-10-10r19373: Merge changes from subunit branch: Convert libreplace testsuite to aJelmer Vernooij4-24/+25
standalone program that speaks subunit. (This used to be commit 48d316e7594dfc29b8e6a710e32bb5a6a036b7cf)
2007-10-10r19370: Handle errors if talloc_reference failsSimo Sorce1-2/+7
(This used to be commit 05134a90e3ff0e4039dbd34c52f824bc666feb11)
2007-10-10r19367: Solaris needs <sys/filio.h> for FIONREAD.Love Hörnquist Åstrand1-0/+1
(This used to be commit e2866ce78851a84c937408c0781fcc1e7107f663)
2007-10-10r19365: fixed a memory leak in the ldb attribute handlingAndrew Tridgell3-8/+19
(This used to be commit d7e07685164141f8fb2c2a6258e1fcb46ff9d06c)
2007-10-10r19363: - don't need to store the baseinfo message after cache loadAndrew Tridgell2-8/+9
(This used to be commit 8c091bcdece5c17073838ad2367f3f4e22e97c31)
2007-10-10r19362: - don't need to store the baseinfo message after cache loadAndrew Tridgell5-0/+11
- set better names on talloc structures in ldb modules, making leaks easier to track down (This used to be commit 3bf76db42dc6dde5d71083216dba819869b31c75)
2007-10-10r19361: added a commentAndrew Tridgell1-0/+3
(This used to be commit 1581babfb5a5bbbfc2706dbec9b37b03fe9a5af6)
2007-10-10r19360: improve the ldb leak detector - it now takes into account the numberAndrew Tridgell1-3/+12
of blocks used at connect time (which depends on how many modules are loaded) (This used to be commit e3aa03bf1f7c7b770606f5e860fce11b4402fc84)
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-10r19347: Add socketpair()Jelmer Vernooij2-1/+2
(This used to be commit 8a8e974d2150d00855ccafef02b7ef2607921ea0)
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 Vernooij3-340/+215
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-10r19338: leak on errorSimo Sorce1-0/+1
(This used to be commit 326389afed0521133ac07339bd5e2bfbf8d80d0a)
2007-10-10r19332: ldb_parse_tree leaksSimo Sorce2-2/+2
(This used to be commit 3e0e2787c1da1c3831e21b163e1370001d725a3d)
2007-10-10r19327: fixed a leak in ldif_canonicalise_objectCategory()Andrew Tridgell1-4/+6
(This used to be commit 5cc92d915b7442d2eebc4b66ab89bbd15b96a493)
2007-10-10r19324: fixed a leak on deleting records when no index is in placeAndrew Tridgell1-6/+6
(This used to be commit 0824b3b8c1003064b0f2c5a3f084f3e711155e8c)