summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* lib/util/charset/util_unistr: clarify the comment header for strlen_m().Michael Adam2010-11-031-5/+6
|
* lib/util/charset/util_unistr: add strlen_m_ext_term() - variant of ↵Michael Adam2010-11-032-0/+12
| | | | strlen_m_ext() counting terminator
* lib/util/charset/util_unistr: add strlen_m_ext that takes input and output ↵Michael Adam2010-11-032-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).
* lib/charcnv/util_unistr: add next_codepoint_ext() that accepts input charset.Michael Adam2010-11-032-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.
* lib/charset/charcnv: rename a parameter of next_codepoint_convenience_ext() ↵Michael Adam2010-11-031-5/+5
| | | | for clarity
* lib/charset/charcnv: add next_codepoint_convenience_ext() that accepts input ↵Michael Adam2010-11-032-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.
* util/charset: remove a duplicate comment.Michael Adam2010-11-031-5/+0
| | | | This seems to have been copied twice from source3/ code.
* build: a more portable way of finding waf in makefilesAndrew Tridgell2010-11-033-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
* replace/wscript: add size checks for stdint.h typesStefan Metzmacher2010-11-031-0/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 3 19:12:39 UTC 2010 on sn-devel-104
* replace/wscript: do the size checks directly after the type checksStefan Metzmacher2010-11-031-4/+4
| | | | metze
* replace/wscript: define bool to int instead of off_tStefan Metzmacher2010-11-031-1/+1
| | | | metze
* replace/wscript: check for uint8_tStefan Metzmacher2010-11-031-0/+1
| | | | metze
* waf: added reconfigure targets to our librariesAndrew Tridgell2010-11-033-0/+15
| | | | | This allows you to do "make reconfigure" to re-run configure only if needed
* debug Explain the behaviour of setup_logging() more clearlyAndrew Bartlett2010-11-021-1/+7
|
* lib/debug Use vdprintf rather than manually allocateAndrew Bartlett2010-11-021-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
* lib/util Remove setup_logging_stdout()Andrew Bartlett2010-11-012-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
* talloc: Install pytalloc.h.Jelmer Vernooij2010-11-011-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 1 17:25:07 UTC 2010 on sn-devel-104
* tdb: Use waf by default.Jelmer Vernooij2010-11-012-14/+15
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 1 06:04:14 UTC 2010 on sn-devel-104
* replace/talloc: Avoid automatically pulling in new configure/Makefile,Jelmer Vernooij2010-10-312-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
* talloc: Look harder for waf.Jelmer Vernooij2010-10-311-1/+8
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 18:06:16 UTC 2010 on sn-devel-104
* replace: Look harder for waf.Jelmer Vernooij2010-10-311-1/+8
|
* build: check that if we provide -liconv we can build shared libsMatthieu Patou2010-10-311-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
* replace: Build using waf by default.Jelmer Vernooij2010-10-316-15/+111
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:45:21 UTC 2010 on sn-devel-104
* talloc: Switch over to using waf as the default build system for the ↵Jelmer Vernooij2010-10-315-15/+107
| | | | standalone build.
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-3121-630/+0
| | | | | | | | The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
* build: Remove zlib from the cache if we failed to pass all the testsMatthieu Patou2010-10-301-0/+6
| | | | This will avoid problems with redefinition of libs tests
* replace: Fix formatting.Jelmer Vernooij2010-10-301-8/+8
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Oct 30 16:32:15 UTC 2010 on sn-devel-104
* tevent: Drop autoconf-based build system for standalone build.Jelmer Vernooij2010-10-3013-3918/+0
|
* replace: Avoid autoproto as it breaks standalone builds.Jelmer Vernooij2010-10-302-1/+10
| | | | | | Automatic prototype generation uses ../../source4/script/mkproto.pl. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>