summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2010-12-20testtools: Merge in new upstream.Jelmer Vernooij14-48/+156
2010-12-20lib: Protect against tevent nterror mismatchesVolker Lendecke1-3/+23
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Dec 20 00:12:02 CET 2010 on sn-devel-104
2010-12-17util_net: fix a comment typo in interpret_string_addr_internal()Michael Adam1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-12-17s4-smbtorture: add torture_assert_strn_equal macro.Günther Deschner1-0/+10
Guenther
2010-12-14build: fix bad syntaxMatthieu Patou1-1/+1
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Tue Dec 14 20:55:17 CET 2010 on sn-devel-104
2010-12-13nss_wrapper: make nss_wrapper.pl executeable.Günther Deschner1-0/+0
Guenther
2010-12-12change searched name from _ss_family to __ss_familyMatthieu Patou1-1/+1
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Dec 12 20:05:23 CET 2010 on sn-devel-104
2010-12-12build: add a check for _ss_family as it used on aix to replace ss_familyMatthieu Patou1-0/+2
2010-12-12replace: add comments to make the #ifdef/#else/endif more readableMatthieu Patou1-3/+3
2010-12-11build: add a dependency on lib iconv for lib intl if we are not able to find itMatthieu Patou1-1/+12
This is due that on some platform lib intl depend on lib iconv, failling to provide this library cause waf to be unable to link with lib intl and makes it think that the library doesn't exists !
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij17-19/+18
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-12-11talloc: Add ability to generate Python docs using pydoctor.Jelmer Vernooij2-0/+10
2010-12-10dnspython: Update to newer upstream snapshot.Jelmer Vernooij22-95/+1175
2010-12-10subunit: Update to newer upstream snapshot.Jelmer Vernooij8-16/+47
2010-12-10testtools: Import new upstream snapshot.Jelmer Vernooij36-367/+3694
2010-12-10build: introduce SAMBA_CHECK_PYTHON_HEADERSMatthieu Patou3-3/+3
This function is a wrapper around waf's check_python_header. It avoids searching more than once for the headers bringing a small speed improvement and a better lisibility of the logs. But it's mainly to avoid a nasty bug when python libraries are in path pointed by python_LIBPL (ie. /usr/local/lib/python2.6/config/) instead of python_LIBDIR (ie. /usr/local/lib). On the first call waf will correctly find that in order to link with python libs it needs to add -L$python_LIBPL. But on the next calls of check_python_headers, waf will use both the current library path value (ie. -L/usr/local/lib/python2.6/config) and -L$python_LIBDIR (ie. /usr/local/lib/) which will make him beleive that python libraries are in $python_LIBDIR which at the end will make the final link test fails in check_python_headers as it will not use the good directory. So by avoiding calling check_python_headers more than once we avoid making waf fooling itself.
2010-12-10build: finishing fixing broken libiconv on hpuxMatthieu Patou1-0/+2
2010-12-09talloc: pytalloc-util should not have an ABI-file yetStefan Metzmacher1-2/+0
Somehow I forgot to remove this after discussion with Jelmer. metze
2010-12-09waf: remove the restriction that private libraries must not have a vnumAndrew Tridgell3-10/+4
we need the vnum for ABI checking for public libraries built as private libraries when bundled Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 9 12:47:41 CET 2010 on sn-devel-104
2010-12-09waf-abi: auto-generate per-symbol versions from ABI filesAndrew Tridgell3-4/+4
This changes our version-script generation to use the ABI files that are saved in git with each version number change of our public libraries. We use these ABI files to generate a linker version script that gives the exact version number that each symbol was introduced. This provides us with automatic fine grained symbol versioning. Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-12-08build: Cope with broken libiconvMatthieu Patou1-1/+5
library iconv needs mbrtowc but some system didn't provide it (ie. HP-UX 11.0) Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Dec 8 23:19:19 CET 2010 on sn-devel-104
2010-12-08talloc: build pytalloc-util with the same logic as libtallocStefan Metzmacher1-1/+4
metze
2010-12-08talloc: mark pytalloc-util functions as _PUBLIC_Stefan Metzmacher1-6/+6
metze
2010-12-08talloc: remove unused PyString_FromString_check_null() from pytalloc-utilStefan Metzmacher1-8/+0
metze
2010-12-08s4-pkgconfig: add @LIB_RPATH@ to our link flagsAndrew Tridgell6-6/+6
this is only set when rpath is used on install. It ensures that applications that link against Samba libraries get the rpath right Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 8 12:46:00 CET 2010 on sn-devel-104
2010-12-06Revert "lib/util:tests/time.c - "test_timestring" - fix it on Solaris"Matthias Dieter Wallnöfer1-5/+2
This reverts commit 654e0102ddb0acaaf45fb55c15818722235fcc9f. This should better be handled by the replace library. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Dec 6 12:17:31 CET 2010 on sn-devel-104
2010-12-06lib/util/fault.c - fix "pid_t" printf warning on SolarisMatthias Dieter Wallnöfer1-1/+1
According to "http://www.ibm.com/developerworks/linux/library/l-solar/" it's generally a 32bit "int" - therefore this cast should fit.
2010-12-06idtree: fix overflow for v. large ids on allocation and removalRusty Russell1-1/+1
Chris Cowan tracked down a SEGV in sub_alloc: idp->level can actually be equal to 7 (MAX_LEVEL) there, as it can be in sub_remove. (We unfairly blamed a shift of a signed var for this crash in commit 2db1987f5a3a). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Mon Dec 6 05:02:22 CET 2010 on sn-devel-104
2010-12-05lib/util:tests/time.c - "test_timestring" - fix it on SolarisMatthias Dieter Wallnöfer1-3/+5
Solaris returns "Thu Jan 01" and not "Thu Jan 1" - therefore proof for both. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Dec 5 23:09:13 CET 2010 on sn-devel-104
2010-12-05pytalloc: Add docstring for talloc.Object.Jelmer Vernooij1-1/+3
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Dec 5 18:12:59 CET 2010 on sn-devel-104
2010-12-04lib/torture: add torture_assert_u64_equal_goto()Stefan Metzmacher1-0/+13
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Dec 4 12:55:44 CET 2010 on sn-devel-104
2010-12-04Fix bug #3185 - testparm exits 0 if it can read the config file regardless ↵Holger Hetterich1-1/+1
of errors Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Dec 4 02:30:00 CET 2010 on sn-devel-104
2010-12-03talloc: add ABI/talloc-2.0.4.sigsStefan Metzmacher2-1/+63
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Dec 3 11:35:45 CET 2010 on sn-devel-104
2010-12-03talloc: Bump version number after pytalloc changes.Jelmer Vernooij1-1/+1
2010-12-02tests: avoid bash in shebang and fix wrong "==" in testBjörn Jacke2-12/+12
2010-12-02fix ѕome == to correct shell test in commented stuffBjörn Jacke2-2/+2
2010-12-01pytalloc: Make py_talloc_default_cmp private.Jelmer Vernooij3-14/+15
2010-12-01pytalloc: Make py_talloc_dealloc private.Jelmer Vernooij3-14/+11
2010-12-01pytalloc: Make py_talloc_default_repr private (now exposed by talloc.Object).Jelmer Vernooij3-15/+12
2010-12-01pytalloc: Expose PyTalloc_GetObjectTypeJelmer Vernooij2-2/+3
2010-12-01pytalloc: Add convenience function for checking if something is a tallocJelmer Vernooij2-0/+29
object.
2010-11-30talloc: Add talloc object.Jelmer Vernooij1-0/+15
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Nov 30 23:26:56 CET 2010 on sn-devel-104
2010-11-28replace:wscript - reintroduce the size check for "bool" due to a request of ↵Matthias Dieter Wallnöfer1-1/+1
metze
2010-11-28replace:wscript - change the "bool" checks to be compatible with more platformsMatthias Dieter Wallnöfer1-1/+1
- If the type was found then we are fine and define "HAVE_BOOL" - Othewise we substitute it in "replace.h" as "_Bool" or if not possible as "int" - This prevents lot of warnings on platforms where we don't have a "bool" type as Tru64 - The length check for "bool" is not really useful and therefore removed
2010-11-28replace:wscript - reintroduce the size check for "bool" due to a request of ↵Matthias Dieter Wallnöfer1-1/+1
metze Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Nov 28 15:48:40 CET 2010 on sn-devel-104
2010-11-28replace:wscript - change the "bool" checks to be compatible with more platformsMatthias Dieter Wallnöfer1-2/+2
- If the type was found then we are fine and define "HAVE_BOOL" - Othewise we substitute it in "replace.h" as "_Bool" or if not possible as "int" - This prevents lot of warnings on platforms where we don't have a "bool" type as Tru64 - The length check for "bool" is not really useful and therefore removed
2010-11-27tdb:common/open.c - use "discard_const_p" for certain "tdb->name" assignmentsMatthias Dieter Wallnöfer1-2/+2
In order to suppress compiler warnings.
2010-11-27tdb:tdbstore.c - remove an useless '\'Matthias Dieter Wallnöfer1-1/+1
Discovered by a warning of the Tru64 host on the buildfarm.
2010-11-26Fix endianess problems as discovered on the build farmMatthieu Patou1-5/+6
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Nov 26 22:32:16 CET 2010 on sn-devel-104
2010-11-24lib/debug Add clarifying commentsAndrew Bartlett1-2/+2