summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* 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