summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-09-15tdb: allow reads after prepare commitAndrew Tridgell1-8/+0
We previously only allowed a commit to happen after a prepare commit. It is in fact safe to allow reads between a prepare and a commit, and the s4 replication code can make use of that, so allow it.
2009-09-15talloc: when we enable NULL tracking, reparent the autofree contextAndrew Tridgell1-0/+3
If NULL tracking is enabled after the autofree context is initialised then autofree ends up separate from the null_context. This means that talloc_report_full() doesn't report the autofree context. Fix this by reparenting the autofree context when we create the null_context.
2009-09-16lib/crypto: link in AES crypto for s4 as well.Günther Deschner1-1/+2
Guenther
2009-09-16lib/crypto: add aes encryption routines to main cryto lib.Günther Deschner4-0/+1462
Guenther
2009-09-15libreplace: white space cleanupsBjörn Jacke2-12/+12
2009-09-15libcli:nbt put util_net.c protos in new header fileAndrew Bartlett2-21/+46
This fixed a very odd build problem due to util.h importing system/network.h being imported before the uid_wapper code. Andrew Bartlett
2009-09-15libcli:nbt make the lmhosts parsing code and dependicies commonAndrew Bartlett2-2/+138
This starts the process to have Samba4 use lmhosts. Andrew Bartlett
2009-09-14Prepend "$libreplacedir/" to all objects in LIBREPLACEOBJMatt Kraai7-14/+14
2009-09-11tevent:mksyms: fix spelling...Michael Adam2-2/+2
Michael
2009-09-11talloc:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion argsMichael Adam1-1/+1
Michael
2009-09-11talloc:mksigs: normalize bool -> _BoolMichael Adam1-0/+3
Michael
2009-09-11talloc:mksigs: ignore symbols (like _DEPRECATED_) after closing function ↵Michael Adam1-0/+1
parentheses Michael
2009-09-11talloc:mksigs: correctly ignode multiline function typedefsMichael Adam1-5/+5
by first concatenating multilint parentheses and removing typefes afterwards. Michael
2009-09-11talloc:mksigs: ignore struct forward declarations.Michael Adam1-0/+1
Michael
2009-09-11talloc:mksyms: allow characters after closing functions parenthesis.Michael Adam1-2/+2
Michael
2009-09-11talloc:mksyms: allow double pointer return value of functions.Michael Adam1-1/+1
Michael
2009-09-11tdb:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion argsMichael Adam1-1/+1
Michael
2009-09-11tdb:mksigs: normalize bool -> _BoolMichael Adam1-0/+3
Michael
2009-09-11tdb:mksigs: ignore symbols (like _DEPRECATED_) after closing function ↵Michael Adam1-0/+1
parentheses Michael
2009-09-11tdb:mksigs: correctly ignode multiline function typedefsMichael Adam1-5/+5
by first concatenating multilint parentheses and removing typefes afterwards. Michael
2009-09-11tdb:mksigs: ignore struct forward declarations.Michael Adam1-0/+1
Michael
2009-09-11tdb:mksyms: allow characters after closing functions parenthesis.Michael Adam1-2/+2
Michael
2009-09-11tdb:mksyms: allow double pointer return value of functions.Michael Adam1-1/+1
Michael
2009-09-11tevent:signatures: add _tevent_req_cancel and tevent_req_set_cancel_fnMichael Adam1-0/+2
introduced in 45e4be0d96abdc729252df1e97bb9a56302e5a4a Michael
2009-09-11tevent:exports: add _tevent_req_cancel and tevent_req_set_cancel_fn.Michael Adam1-0/+2
These were added in 45e4be0d96abdc729252df1e97bb9a56302e5a4a Michael
2009-09-11tevent:mksigs: allow PRINTF_ATTRIBUTE(..) macros function types as funcion argsMichael Adam1-1/+1
Michael
2009-09-11tevent:mksigs: normalize bool -> _BoolMichael Adam1-0/+3
Michael
2009-09-11tevent:mksigs: ignore symbols (like _DEPRECATED_) after closing function ↵Michael Adam1-0/+1
parentheses Michael
2009-09-11tevent:mksigs: correctly ignode multiline function typedefsMichael Adam1-5/+5
by first concatenating multilint parentheses and removing typefes afterwards. Michael
2009-09-11tevent:mksigs: ignore struct forward declarations.Michael Adam1-0/+1
Michael
2009-09-11tevent:mksyms: allow characters after closing functions parenthesis.Michael Adam1-2/+2
Michael
2009-09-11tevent:mksyms: allow double pointer return value of functions.Michael Adam1-1/+1
Michael
2009-09-11tevent: add abi_checks to "make test"Michael Adam1-0/+2
Michael
2009-09-11tevent: remove filese generated by "make abi_checks" in "make clean".Michael Adam1-0/+2
Michael
2009-09-11tevent: add a make target "make abi_checks"Michael Adam1-0/+4
Michael
2009-09-11tevent: move the original abi_checks script to script/abi_checks_gcc.shMichael Adam1-0/+0
Michael
2009-09-11tevent: add script/abi_checks.sh. check for abi changes without gcc magic.Michael Adam1-0/+91
USAGE: abi_checks.sh LIBRARY_NAME header1 [header2 ...] This creates symbol signature lists using the mksyms and mksigs scripts and compares them with the checked in lists. Michael
2009-09-11tevent: add script to extract signatures from header files.Michael Adam1-0/+178
This produces output like the output gcc produces when invoked with the -aux-info switch. Run like this: cat include/tevent.h | ./script/mksigs.pl This simple parser is probably too coarse to handle all possible header files, but it treats tevent.h correctly... Michael
2009-09-11tevent: add scripts to extract library symbols (exports file) from headersMichael Adam2-0/+121
Michael
2009-09-10util_strlist: Add some more "const"s - small correctionMatthias Dieter Wallnöfer1-1/+1
2009-09-10util_strlist: Add some more "const"sMatthias Dieter Wallnöfer2-22/+27
2009-09-08s4/torture: add new torture_assert_*_todo() macrosSteven Danneman1-0/+38
These allow torture tests to perform cleanup after a failure, by jumping to a goto label.
2009-09-08lib/util: add unique string generator helper functionSteven Danneman2-0/+69
2009-09-08socket_wrapper: swrap_read() should use SWRAP_RECV* for swrap_dump_packet()Stefan Metzmacher1-5/+3
This is the same as swrap_recv(). metze
2009-09-07Add read() to socketwrapper. Metze please check.Jeremy Allison2-1/+38
Jeremy.
2009-09-07s4:tests/iconv - Fix a warningMatthias Dieter Wallnöfer1-1/+2
2009-09-07lib/tdr: fix the build with --enable-automatic-dependenciesStefan Metzmacher1-1/+1
metze
2009-09-07tdb: fix c++ build warning.Günther Deschner1-2/+2
Guenther
2009-09-07s4: Fix "Small memory leak after calling several times lp_update"Inra2-37/+20
Should fix bug #6660.
2009-09-05util:tests: Correct time tests for negative UTC offsets.Andrew Kroeger1-2/+23
All: Please find attached a patch to fix the timestring and http_timestring tests on hosts that have a negative UTC offset (west of the Prime Meridian). Sincerely, Andrew Kroeger >From 8a8ca35edccf64aa98f2f3ae1469c4c27db8215e Mon Sep 17 00:00:00 2001 From: Andrew Kroeger <andrew@id10ts.net> Date: Fri, 4 Sep 2009 01:31:50 -0500 Subject: [PATCH] util:tests: Correct time tests for negative UTC offsets. The timestring and http_timestring tests were failing on hosts with negative offsets from UTC. Due to the timezone offset, the returned values were back in the year 1969 (before the epoch) and did not match the test patterns. The correction computes the offset from UTC, and if it is negative that offset is added onto the value given to the timestring() and http_timestring() calls so that the returned values fall on 01-Jan-1970 and match the test pattern.