summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
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
2010-11-22Avoid the use of PyAPI_DATA, which is for internal Python API's.Arnaud Faucher1-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
2010-11-20waf:lib/util - add missing dependency on tallocMatthias Dieter Wallnöfer1-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
2010-11-19talloc: added TALLOC_FREE_FILL environment variableAndrew Tridgell1-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
2010-11-17tevent: Fix docstring, tevent_req_is_in_progress does not destroy private dataKai Blin1-2/+0
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Wed Nov 17 07:23:51 UTC 2010 on sn-devel-104
2010-11-15Add attribute macros for Heimdal to useAndrew Bartlett1-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
2010-11-12unix_privs: Add missing dependency on libreplace.Jelmer Vernooij1-0/+1
2010-11-12socket_wrapper: Only add as global dependency when enabled.Jelmer Vernooij1-3/+3
2010-11-12s4-waf: Only enable various wrappers if they're actually used.Jelmer Vernooij3-2/+5
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 12 14:33:34 UTC 2010 on sn-devel-104
2010-11-12tdb: set tdb->name early, as it's needed for tdb_name()Stefan Metzmacher1-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
2010-11-11s4:pytevent.c - fix a discard const warningMatthias Dieter Wallnöfer1-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
2010-11-07pytalloc: Make some arguments optional.Jelmer Vernooij1-6/+6
2010-11-05socket_wrapper: fill in sa.sa_len if the system supports itStefan Metzmacher1-2/+12
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Nov 5 14:40:00 UTC 2010 on sn-devel-104
2010-11-05tsocket: fill in sa.sa_len if the system supports itStefan Metzmacher1-0/+12
metze
2010-11-05talloc: Add python talloc module, move convenience functions to it.Jelmer Vernooij2-1/+90
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 5 02:48:21 UTC 2010 on sn-devel-104
2010-11-05talloc: rename pytalloc.c to pytalloc_util.cJelmer Vernooij2-1/+1
2010-11-04compression: added a simple lzxpress testAndrew Tridgell1-1/+48
2010-11-04compression: fixed an uninitialised data but in lzxpressAndrew Tridgell1-0/+2
2010-11-04debug: fixed default debug settingsAndrew Tridgell2-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
2010-11-03lib/util/charset/charconv: clarify comments in next_codepoint_convenience_ext()Michael Adam1-5/+8
Give the unicod U+<hexnumber> notation of the codepoints referred to in the comments. Also reformat the comments some.
2010-11-03lib/util/charset/util_unistr: clarify the comment header for strlen_m().Michael Adam1-5/+6
2010-11-03lib/util/charset/util_unistr: add strlen_m_ext_term() - variant of ↵Michael Adam2-0/+12
strlen_m_ext() counting terminator
2010-11-03lib/util/charset/util_unistr: add strlen_m_ext that takes input and output ↵Michael Adam2-10/+51
charset The function calculates the number of units (8 or 16-bit, depending on the destination charset), that would be needed to convert the input string which is expected to be in in src_charset encoding to the dst_charset (which should be a unicode charset).
2010-11-03lib/charcnv/util_unistr: add next_codepoint_ext() that accepts input charset.Michael Adam2-0/+8
next_codepoint() takes as string in CH_UNIX encoding and returns the unicode codepoint of the next (possibly multibyte) character of the input string. The new next_codepoint_ext() function adds the encoding of the input string as a parameter. next_codepoint() now only calls next_codepoint_ext() with CH_UNIX als src_charset argument.
2010-11-03lib/charset/charcnv: rename a parameter of next_codepoint_convenience_ext() ↵Michael Adam1-5/+5
for clarity
2010-11-03lib/charset/charcnv: add next_codepoint_convenience_ext() that accepts input ↵Michael Adam2-11/+37
charset. next_codepoint_convenience() takes as string in CH_UNIX encoding and returns the unicode codepoint of the next (possibly multibyte) character of the input string. The new next_codepoint_convenience_ext() function adds the encoding of the input string as a parameter. next_codepoint_convenience() now only calls next_codepoint_convenience_ext() with CH_UNIX als src_charset argument.
2010-11-03util/charset: remove a duplicate comment.Michael Adam1-5/+0
This seems to have been copied twice from source3/ code.
2010-11-03build: a more portable way of finding waf in makefilesAndrew Tridgell3-9/+3
this avoids using the non-portable shell command in makefiles Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 22:44:59 UTC 2010 on sn-devel-104
2010-11-03replace/wscript: add size checks for stdint.h typesStefan Metzmacher1-0/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 3 19:12:39 UTC 2010 on sn-devel-104
2010-11-03replace/wscript: do the size checks directly after the type checksStefan Metzmacher1-4/+4
metze
2010-11-03replace/wscript: define bool to int instead of off_tStefan Metzmacher1-1/+1
metze
2010-11-03replace/wscript: check for uint8_tStefan Metzmacher1-0/+1
metze
2010-11-03waf: added reconfigure targets to our librariesAndrew Tridgell3-0/+15
This allows you to do "make reconfigure" to re-run configure only if needed
2010-11-02debug Explain the behaviour of setup_logging() more clearlyAndrew Bartlett1-1/+7
2010-11-02lib/debug Use vdprintf rather than manually allocateAndrew Bartlett1-5/+1
This allows the system to use whatever buffers it wants for the string rather than assuming we need to malloc() it. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 2 00:18:43 UTC 2010 on sn-devel-104
2010-11-01lib/util Remove setup_logging_stdout()Andrew Bartlett2-15/+1
This API is no longer required now that we don't attempt to build ndrdump with the s3 build system, and because the s3 debug system will soon have the same setup_logging() API. Andrew Bartlett
2010-11-01talloc: Install pytalloc.h.Jelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 1 17:25:07 UTC 2010 on sn-devel-104
2010-11-01tdb: Use waf by default.Jelmer Vernooij2-14/+15
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 1 06:04:14 UTC 2010 on sn-devel-104
2010-10-31replace/talloc: Avoid automatically pulling in new configure/Makefile,Jelmer Vernooij2-12/+0
as these files are checked in, and the source might not be available. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 22:27:56 UTC 2010 on sn-devel-104
2010-10-31talloc: Look harder for waf.Jelmer Vernooij1-1/+8
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 18:06:16 UTC 2010 on sn-devel-104
2010-10-31replace: Look harder for waf.Jelmer Vernooij1-1/+8
2010-10-31build: check that if we provide -liconv we can build shared libsMatthieu Patou1-0/+6
On Solaris with sun studio compiling an executable with -liconv even if there is no libiconv.so or libiconv.a will work but not for a shared lib. This problem leads to build problem as the linker won't be able to find libiconv when building shared lib as liconv is wrongly specified
2010-10-31replace: Build using waf by default.Jelmer Vernooij6-15/+111
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:45:21 UTC 2010 on sn-devel-104