Jelmer Vernooij
30bdb68c9e
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-12-23 23:26:32 +01:00
Jelmer Vernooij
dcc4081f75
Fix more compiler warnings.
2008-12-23 23:22:57 +01:00
Jelmer Vernooij
bd64688c6a
Fix more compiler warnings in various places.
2008-12-23 22:57:11 +01:00
Jelmer Vernooij
32e03f9fa5
Install tevent_internal.h, as Samba 4 needs it.
2008-12-23 22:57:00 +01:00
Jelmer Vernooij
5c75b65ca1
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-12-23 22:12:23 +01:00
Jelmer Vernooij
ef80d1b794
Fix use of "time offset" parameter, and add test to make sure I don't break it again :-)
2008-12-23 22:10:34 +01:00
Jelmer Vernooij
31dc07ee28
pytevent: Add missing file.
2008-12-23 20:13:17 +01:00
Jelmer Vernooij
8b24da201b
Allow using external libtevent.
2008-12-23 19:59:57 +01:00
Jelmer Vernooij
22703bf3ff
standalone: Use more variables, preparing to include these files from main
...
Samba 4 makefile.
2008-12-23 19:44:11 +01:00
Jelmer Vernooij
465f78021e
Move Samba4-specific file out of common libtevent.
2008-12-23 19:28:22 +01:00
Jeremy Allison
aaea68791c
In gcc version 4.3.2 we get warnings for functions declared with
...
attribute warn_unused_result. Start to fix these.
Jeremy.
2008-12-22 20:08:14 -08:00
Jelmer Vernooij
bbc95fb1a8
ldb: Fix linking against tevent library (rather than events)
...
replace: Fix copyright for dlfcn.c.
2008-12-23 04:18:31 +01:00
Jelmer Vernooij
86cee0b28c
pytalloc: Add some comments, use talloc object location in repr rather
...
than python object location.
2008-12-23 04:06:21 +01:00
Jelmer Vernooij
998d588192
python/tevent: Remove use of pytalloc.h.
2008-12-23 03:25:51 +01:00
Jelmer Vernooij
e6d5552250
Fix prefixing swig library directory with prefix.
2008-12-23 01:40:08 +01:00
Jelmer Vernooij
e9deb75759
Fix installation of standalone tevent Python module.
2008-12-22 23:55:01 +01:00
Jelmer Vernooij
6704c27a78
Fix standalone build of tdb python module, update ignores for standalone tdb.
2008-12-22 23:39:30 +01:00
Jelmer Vernooij
c023828962
Fix missing symbols issues when building with shared libraries.
2008-12-22 21:03:09 +01:00
Jelmer Vernooij
50b0c5325e
Never build tevent modules as shared objects.
2008-12-22 17:56:28 +01:00
Jelmer Vernooij
29dd98be09
Remove unused Samba4-specific init functions for libtevent.
2008-12-22 17:43:46 +01:00
Jelmer Vernooij
6efb7ff981
Fix various Python-related bugs.
2008-12-21 07:34:27 +01:00
Jelmer Vernooij
eeb25cf548
Fix more introduced regressions in new bindings.
2008-12-21 04:36:16 +01:00
Jelmer Vernooij
2e7a6cb6bf
py: Fix initialisation of subtypes, fix segfaults.
2008-12-21 03:08:14 +01:00
Jelmer Vernooij
c1a9b68623
Create and use convenience function for creating new talloc-wrapping Python Objects, support subtypes of DCE/RPC interfaces properly
2008-12-21 00:37:31 +01:00
Jelmer Vernooij
5688f9b13e
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-12-20 21:21:19 +01:00
Jelmer Vernooij
ec80992ef5
Fix tevent python module build as part of samba 4.
2008-12-20 21:19:48 +01:00
Jelmer Vernooij
28f80dbb7c
Stop using SWIG for ldb Python bindings.
2008-12-20 19:54:13 +01:00
Jelmer Vernooij
1f4bd4b82c
Fix standalone compilation of events library.
2008-12-20 19:23:30 +01:00
Jelmer Vernooij
383e7c4d16
Add missing files for standalone build.
2008-12-20 18:06:31 +01:00
Jelmer Vernooij
a57b1aa0f1
Initial work using manual Python bindings for LDB, rather than SWIG-generated ones.
2008-12-19 01:22:07 +00:00
Jelmer Vernooij
6fe6983e4c
Make sure to not close tdb database more than once.
2008-12-18 20:42:50 +00:00
Jelmer Vernooij
8c1ede0b32
Remove swig use from tdb standalone build.
2008-12-18 19:49:53 +00:00
Jelmer Vernooij
2da551bbcc
Implement missing functions in pytdb.
2008-12-18 19:41:02 +00:00
Jelmer Vernooij
2a61fd41e9
Add simple manually written replacement for the tdb module.
2008-12-18 18:57:21 +00:00
Stefan Metzmacher
b97f17ddf1
lib/util: make it possible to use debug.h with using xfile.h
...
metze
2008-12-17 13:31:29 +01:00
Stefan Metzmacher
46eda79090
s4:lib/tevent: add lib/events/ compat and let things compile
...
metze
2008-12-17 13:31:29 +01:00
Stefan Metzmacher
504f8816e3
s4:lib/events: move to toplevel directory as lib/tevent/
...
This commit will not compile on its own.
metze
2008-12-17 13:31:28 +01:00
Tim Prouty
e48a5cd5d4
s3/s4: Fix "shadows a global declaration" warning
2008-12-16 08:34:53 -08:00
Holger Hetterich
42366bcbbd
Added a simple tdb integrity check to tdbtool. The command "check" runs traverse on the currently open tdb, and returns the number of entries if the integrity check is successful.
2008-12-16 13:58:48 +01:00
Andrew Tridgell
936d76802f
imported the tdb_repack() code from CTDB
...
The tdb_repack() function repacks a TDB so that it has a single
freelist entry. The file doesn't shrink, but it does remove all
freelist fragmentation. This code originated in the CTDB vacuuming
code, but will now be used in ldb to cope with fragmentation from
re-indexing
2008-12-16 14:38:17 +11:00
Andrew Tridgell
2e4247782b
make tdbbackup use transactions
...
tdbbackup was originally written before we had transactions, and it
attempted to use its own fsync() calls to make it safe. Now that we
have transactions we can do it in a much safer (and faster!) fashion
2008-12-16 14:36:56 +11:00
Tim Prouty
1eb743ab8e
s3: Change sockaddr util function names for consistency
...
Also eliminates name conflicts with OneFS system libraries
2008-12-03 10:40:20 -08:00
Andreas Schneider
b39611c36b
Fix circular dependency error with autoconf 2.6.3.
...
Signed-off-by: Andreas Schneider <anschneider@suse.de>
2008-11-26 16:44:50 +01:00
Tim Prouty
363fe11536
s3/s4 build: Fix "might be unitialized" warning
2008-11-20 18:04:42 -08:00
Tim Prouty
2b85288e82
s3 build: Fix incomplete types warnings
2008-11-20 13:11:59 -08:00
Tim Prouty
1115b7b342
s3/s4 build: Fix execinfo and sasl build error when the libs/headers are in non-standard locations.
...
These configure checks have the correct flags at configure time, so
let's pass them through so they are used at compile time.
2008-11-18 17:43:51 -08:00
Jelmer Vernooij
1c07c30d31
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-11-18 01:36:02 +01:00
Jelmer Vernooij
ab55ecb881
Explicitly include samba4 includes.h to fix the build.
2008-11-18 01:35:10 +01:00
Andrew Bartlett
3d0a3c1078
Add helpful function for comparison of DATA_BLOB elements
2008-11-17 10:12:13 +11:00
Stefan Metzmacher
64b6d2d3e3
lib/util: hex_encode_talloc(): fix error path and set talloc name
...
metze
2008-11-16 16:24:33 +01:00