summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* waf-abi: auto-generate per-symbol versions from ABI filesAndrew Tridgell2010-12-093-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>
* build: Cope with broken libiconvMatthieu Patou2010-12-081-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
* talloc: build pytalloc-util with the same logic as libtallocStefan Metzmacher2010-12-081-1/+4
| | | | metze
* talloc: mark pytalloc-util functions as _PUBLIC_Stefan Metzmacher2010-12-081-6/+6
| | | | metze
* talloc: remove unused PyString_FromString_check_null() from pytalloc-utilStefan Metzmacher2010-12-081-8/+0
| | | | metze
* s4-pkgconfig: add @LIB_RPATH@ to our link flagsAndrew Tridgell2010-12-086-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
* Revert "lib/util:tests/time.c - "test_timestring" - fix it on Solaris"Matthias Dieter Wallnöfer2010-12-061-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
* lib/util/fault.c - fix "pid_t" printf warning on SolarisMatthias Dieter Wallnöfer2010-12-061-1/+1
| | | | | According to "http://www.ibm.com/developerworks/linux/library/l-solar/" it's generally a 32bit "int" - therefore this cast should fit.
* idtree: fix overflow for v. large ids on allocation and removalRusty Russell2010-12-061-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
* lib/util:tests/time.c - "test_timestring" - fix it on SolarisMatthias Dieter Wallnöfer2010-12-051-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
* pytalloc: Add docstring for talloc.Object.Jelmer Vernooij2010-12-051-1/+3
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Dec 5 18:12:59 CET 2010 on sn-devel-104
* lib/torture: add torture_assert_u64_equal_goto()Stefan Metzmacher2010-12-041-0/+13
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Dec 4 12:55:44 CET 2010 on sn-devel-104
* Fix bug #3185 - testparm exits 0 if it can read the config file regardless ↵Holger Hetterich2010-12-041-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
* talloc: add ABI/talloc-2.0.4.sigsStefan Metzmacher2010-12-032-1/+63
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Dec 3 11:35:45 CET 2010 on sn-devel-104
* talloc: Bump version number after pytalloc changes.Jelmer Vernooij2010-12-031-1/+1
|
* tests: avoid bash in shebang and fix wrong "==" in testBjörn Jacke2010-12-022-12/+12
|
* fix ѕome == to correct shell test in commented stuffBjörn Jacke2010-12-022-2/+2
|
* pytalloc: Make py_talloc_default_cmp private.Jelmer Vernooij2010-12-013-14/+15
|
* pytalloc: Make py_talloc_dealloc private.Jelmer Vernooij2010-12-013-14/+11
|
* pytalloc: Make py_talloc_default_repr private (now exposed by talloc.Object).Jelmer Vernooij2010-12-013-15/+12
|
* pytalloc: Expose PyTalloc_GetObjectTypeJelmer Vernooij2010-12-012-2/+3
|
* pytalloc: Add convenience function for checking if something is a tallocJelmer Vernooij2010-12-012-0/+29
| | | | object.
* talloc: Add talloc object.Jelmer Vernooij2010-11-301-0/+15
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Nov 30 23:26:56 CET 2010 on sn-devel-104
* replace:wscript - reintroduce the size check for "bool" due to a request of ↵Matthias Dieter Wallnöfer2010-11-281-1/+1
| | | | metze
* replace:wscript - change the "bool" checks to be compatible with more platformsMatthias Dieter Wallnöfer2010-11-281-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
* replace:wscript - reintroduce the size check for "bool" due to a request of ↵Matthias Dieter Wallnöfer2010-11-281-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
* replace:wscript - change the "bool" checks to be compatible with more platformsMatthias Dieter Wallnöfer2010-11-281-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
* tdb:common/open.c - use "discard_const_p" for certain "tdb->name" assignmentsMatthias Dieter Wallnöfer2010-11-271-2/+2
| | | | In order to suppress compiler warnings.
* tdb:tdbstore.c - remove an useless '\'Matthias Dieter Wallnöfer2010-11-271-1/+1
| | | | Discovered by a warning of the Tru64 host on the buildfarm.
* Fix endianess problems as discovered on the build farmMatthieu Patou2010-11-261-5/+6
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Nov 26 22:32:16 CET 2010 on sn-devel-104
* lib/debug Add clarifying commentsAndrew Bartlett2010-11-241-2/+2
|
* Avoid the use of PyAPI_DATA, which is for internal Python API's.Arnaud Faucher2010-11-221-1/+1
| | | | | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 22 00:52:56 CET 2010 on sn-devel-104
* waf:lib/util - add missing dependency on tallocMatthias Dieter Wallnöfer2010-11-201-1/+1
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Nov 20 23:35:48 CET 2010 on sn-devel-104
* talloc: added TALLOC_FREE_FILL environment variableAndrew Tridgell2010-11-191-0/+30
| | | | | | when this environment variable is set, talloc will fill freed memory with the value from that environment variable. This can be used to help find use after free bugs when valgrind is too slow to be used
* tevent: Fix docstring, tevent_req_is_in_progress does not destroy private dataKai Blin2010-11-171-2/+0
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Wed Nov 17 07:23:51 UTC 2010 on sn-devel-104
* Add attribute macros for Heimdal to useAndrew Bartlett2010-11-151-0/+12
| | | | | | | | Heimdal uses HEIMDAL_NORETURN_ATTRIBUTE and HEIMDAL_PRINTF_ATTRIBUTE, and we need to provide a link between these and Samba's function attribute handling. Andrew Bartlett
* unix_privs: Add missing dependency on libreplace.Jelmer Vernooij2010-11-121-0/+1
|
* socket_wrapper: Only add as global dependency when enabled.Jelmer Vernooij2010-11-121-3/+3
|
* s4-waf: Only enable various wrappers if they're actually used.Jelmer Vernooij2010-11-123-2/+5
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 12 14:33:34 UTC 2010 on sn-devel-104
* tdb: set tdb->name early, as it's needed for tdb_name()Stefan Metzmacher2010-11-121-6/+27
| | | | | | | | | | tdb_name() might be used within the given log function, which might be called from within tdb_open_ex(). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Nov 12 11:22:21 UTC 2010 on sn-devel-104
* s4:pytevent.c - fix a discard const warningMatthias Dieter Wallnöfer2010-11-111-1/+1
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Nov 11 09:47:55 UTC 2010 on sn-devel-104
* pytalloc: Make some arguments optional.Jelmer Vernooij2010-11-071-6/+6
|
* socket_wrapper: fill in sa.sa_len if the system supports itStefan Metzmacher2010-11-051-2/+12
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Nov 5 14:40:00 UTC 2010 on sn-devel-104
* tsocket: fill in sa.sa_len if the system supports itStefan Metzmacher2010-11-051-0/+12
| | | | metze
* talloc: Add python talloc module, move convenience functions to it.Jelmer Vernooij2010-11-052-1/+90
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 5 02:48:21 UTC 2010 on sn-devel-104
* talloc: rename pytalloc.c to pytalloc_util.cJelmer Vernooij2010-11-052-1/+1
|
* compression: added a simple lzxpress testAndrew Tridgell2010-11-041-1/+48
|
* compression: fixed an uninitialised data but in lzxpressAndrew Tridgell2010-11-041-0/+2
|
* debug: fixed default debug settingsAndrew Tridgell2010-11-042-1/+7
| | | | | | | | | this fixes -d in our command line tools (eg. samba-tool) Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 4 01:48:15 UTC 2010 on sn-devel-104
* lib/util/charset/charconv: clarify comments in next_codepoint_convenience_ext()Michael Adam2010-11-031-5/+8
| | | | | Give the unicod U+<hexnumber> notation of the codepoints referred to in the comments. Also reformat the comments some.