Jelmer Vernooij
b8dc3c8a83
pytalloc: Make py_talloc_dealloc private.
2010-12-01 01:48:25 +01:00
Jelmer Vernooij
4f0436f107
pytalloc: Make py_talloc_default_repr private (now exposed by talloc.Object).
2010-12-01 01:48:25 +01:00
Jelmer Vernooij
5891e9863c
pytalloc: Expose PyTalloc_GetObjectType
2010-12-01 01:48:25 +01:00
Jelmer Vernooij
36bdb3b9af
pytalloc: Add convenience function for checking if something is a talloc
...
object.
2010-12-01 01:48:24 +01:00
Jelmer Vernooij
e8aa266c97
talloc: Add talloc object.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Nov 30 23:26:56 CET 2010 on sn-devel-104
2010-11-30 23:26:56 +01:00
Andrew Tridgell
999f3ed2ce
talloc: added TALLOC_FREE_FILL environment variable
...
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-19 15:17:42 +11:00
Jelmer Vernooij
0d6f1a1630
pytalloc: Make some arguments optional.
2010-11-07 01:39:39 +01:00
Jelmer Vernooij
cd172e7724
talloc: Add python talloc module, move convenience functions to it.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Nov 5 02:48:21 UTC 2010 on sn-devel-104
2010-11-05 02:48:21 +00:00
Jelmer Vernooij
4edabb3256
talloc: rename pytalloc.c to pytalloc_util.c
2010-11-05 02:06:06 +00:00
Andrew Tridgell
14718a725b
build: a more portable way of finding waf in makefiles
...
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-03 22:44:59 +00:00
Andrew Tridgell
f0a472a2d6
waf: added reconfigure targets to our libraries
...
This allows you to do "make reconfigure" to re-run configure only if
needed
2010-11-03 01:34:04 +00:00
Jelmer Vernooij
ce1eb1f726
talloc: Install pytalloc.h.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Nov 1 17:25:07 UTC 2010 on sn-devel-104
2010-11-01 17:25:07 +00:00
Jelmer Vernooij
d5883c8d00
replace/talloc: Avoid automatically pulling in new configure/Makefile,
...
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-31 22:27:56 +00:00
Jelmer Vernooij
f6cfa86607
talloc: Look harder for waf.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 31 18:06:16 UTC 2010 on sn-devel-104
2010-10-31 18:06:16 +00:00
Jelmer Vernooij
f99c009b61
replace: Build using waf by default.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 31 02:45:21 UTC 2010 on sn-devel-104
2010-10-31 02:45:21 +00:00
Jelmer Vernooij
4f22cc7a28
talloc: Switch over to using waf as the default build system for the standalone build.
2010-10-31 02:04:05 +00:00
Jelmer Vernooij
3deece5591
s4: Remove the old perl/m4/make/mk-based build system.
...
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
2010-10-31 02:01:44 +00:00
Jelmer Vernooij
23b58804ba
talloc.3: Remove documentation for deprecated talloc_append_string,
...
consistent with other deprecated functionality.
2010-10-30 15:43:53 +02:00
Jelmer Vernooij
56b46d8d88
talloc: Fix manual pages in standalone build.
2010-10-30 08:27:12 +02:00
Stefan Metzmacher
4c634a3b2e
talloc: fix waf build for libtalloc-compat1
...
We need to use 'libtalloc.so.1' as soname, otherwise the
compat library is useless.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Oct 27 03:53:21 UTC 2010 on sn-devel-104
2010-10-27 03:53:21 +00:00
Jelmer Vernooij
a702c07e02
talloc: change pytalloc-util to be a public library.
2010-10-26 10:17:19 -07:00
Jelmer Vernooij
d44e3bf747
talloc: Install pytalloc-util as system library.
2010-10-26 10:17:19 -07:00
Jelmer Vernooij
98cfc71801
talloc: Avoid dependency on unknown EXT_LIB_PYTHON.
2010-10-26 10:17:19 -07:00
Jelmer Vernooij
1ae0981ce8
talloc: Move pytalloc to lib/talloc.
2010-10-26 10:17:18 -07:00
Jelmer Vernooij
50256c01d0
waf: Only specify vnum for non-private libraries.
2010-10-26 10:17:18 -07:00
Stefan Metzmacher
177aad556f
talloc: pytalloc should not depend on samba specific code
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Oct 24 19:21:25 UTC 2010 on sn-devel-104
2010-10-24 19:21:25 +00:00
Jelmer Vernooij
49ef288819
waf: Rename some BUNDLED_ functios to PRIVATE_.
2010-10-23 22:24:06 +00:00
Andrew Tridgell
7cba3cfac8
waf: replace the is_bundled option with private_library
...
'private_library' better captures what we are trying to get at when we
bundle a library
2010-10-21 19:03:24 +11:00
Andrew Tridgell
713900b812
s4-build: fixed some formatting
...
indentation was far too deep
2010-10-21 19:03:24 +11:00
Kamen Mazdrashki
c0b9526aaf
pytalloc: use talloc_unlink() to free py_talloc objects
...
Those type of objects are referenced every time we assign
them to other py_talloc objects, which leads to runtime
warnings that we are trying to free an object with references
Wrap talloc_unlink() in SMB_ASSERT() to ensure we catch possible failure
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Wed Oct 20 21:37:06 UTC 2010 on sn-devel-104
2010-10-20 21:37:06 +00:00
Simo Sorce
feb6034581
talloc: make header C++ safe
...
Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Wed Oct 20 18:15:09 UTC 2010 on sn-devel-104
2010-10-20 18:15:09 +00:00
Jelmer Vernooij
3cd558dbeb
talloc: Fix #include line in manpage.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Oct 9 13:53:25 UTC 2010 on sn-devel-104
2010-10-09 13:53:24 +00:00
Kamen Mazdrashki
76a8ae9e0d
pytalloc: Fix warning that we are subtracting void* pointers
...
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Fri Oct 8 23:36:54 UTC 2010 on sn-devel-104
2010-10-08 23:36:54 +00:00
Volker Lendecke
b5ed09c3af
Move talloc_enable_null_tracking() to the s3 daemons
2010-10-08 21:11:45 +02:00
Andrew Tridgell
bb0017615d
waf: fixed exit status of test suites
...
use RUN_COMMAND() to handle signal errors and exit status
2010-10-07 14:29:21 +11:00
Volker Lendecke
e325a5b674
talloc: Add a warning about talloc_autofree_context() and dlclose()
2010-09-24 17:21:42 -07:00
Jelmer Vernooij
049c4fa04d
pytalloc: Add default compare function.
2010-09-21 11:47:03 -07:00
Jelmer Vernooij
a7393449eb
pidl: Fix segfault when accessing unicode objects.
2010-09-20 22:40:46 -07:00
Andrew Tridgell
ba2c394ed4
talloc: fixed spelling errors in comment
2010-09-15 15:39:34 +10:00
Andrew Tridgell
58d92cefe2
pidl-python: cope with NULL pointers in more places
...
NULL is converted to Py_None
2010-09-02 13:37:07 +10:00
Andrew Tridgell
e7e39584a9
pytalloc: treat a NULL ptr as Py_None
2010-09-02 13:37:07 +10:00
Andrew Tridgell
634e06e465
pytalloc: fixed py_talloc_steal()
...
py_talloc_steal() was implemented as a macro which evaluated it's 2nd
argument twice. It was often called via a macro with a 2nd argument
that was a function call, for example an allocation in
py_talloc_new(). This meant it allocated memory twice, and leaked one
of them.
This re-implements py_talloc_steal() as a function, so that it only
does the allocation once.
2010-08-25 23:05:05 +10:00
Andrew Tridgell
d78417a5d6
s4-pytalloc: use better names for python talloc objects
2010-08-25 23:05:05 +10:00
Matthias Dieter Wallnöfer
2de63aa280
talloc:documentation - explain that "talloc_free" works also with "NULL" pointers
...
(talloc.c)
...
> static inline int _talloc_free_internal(void *ptr, const char *location)
> {
> struct talloc_chunk *tc;
>
> if (unlikely(ptr == NULL)) {
> return -1;
> }
>
> tc = talloc_chunk_from_ptr(ptr);
...
Obviously this never had been documented before.
2010-08-14 18:48:20 +02:00
Jelmer Vernooij
bd1786f7f1
wafsamba: Fix typo: noextenion -> noextension.
2010-06-19 12:10:29 +02:00
Jelmer Vernooij
8c017022db
talloc: Don't set is_bundled for standalone build.
2010-05-31 13:57:03 +02:00
Jelmer Vernooij
f98bb7ffc3
Add manpages argument to SAMBA_LIBRARY().
2010-05-31 13:56:25 +02:00
Jelmer Vernooij
3858b5db8b
s4-waf: sanitize library names like the old build system did, only add
...
-samba4 suffix for libraries that are bundled.
2010-05-31 03:28:42 +02:00
Andreas Schneider
876ed034c8
talloc: Fixed a doxygen problem with PRINTF_ATTRIBUTE.
2010-05-10 10:28:37 +02:00
Andreas Schneider
82900073fb
talloc: Documented the missing string functions.
2010-05-06 18:14:09 +02:00