Matthias Dieter Wallnöfer
bb241f5cf8
s4:pytevent.c - fix a discard const warning
...
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-11 09:47:54 +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
fe6d404ea5
tevent: Drop autoconf-based build system for standalone build.
2010-10-30 17:50:09 +02:00
Jelmer Vernooij
50256c01d0
waf: Only specify vnum for non-private libraries.
2010-10-26 10:17:18 -07: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
Volker Lendecke
e36e67fe04
tevent: Do not use talloc_autofree_context
2010-10-08 21:11:45 +02:00
Volker Lendecke
1c9b856670
tevent: Only call handlers that ask for events
...
The s3 libsmbclient puts two different handlers on a single fd for readability
and writability. With select this works fine, however without this patch we
unconditionally call the write handler even if the socket is only readable. We
should have called the read handler instead.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Oct 6 23:40:24 UTC 2010 on sn-devel-104
2010-10-06 23:40:24 +00:00
Jelmer Vernooij
63928c82c1
ldb/tevent: Fix detection of waf paths.
2010-09-28 09:12:41 +02:00
Jelmer Vernooij
4752d88fed
tevent: Remove make targets that are not relevant for tevent.
2010-09-28 09:12:41 +02:00
Jelmer Vernooij
302423f306
tevent: Don't update Makefile/configure files.
2010-09-28 09:12:40 +02:00
Jelmer Vernooij
0a18f89e8a
pyteven: Fix build warnings.
2010-09-25 12:20:58 -07:00
Jelmer Vernooij
296ff486e4
Check in configure/Makefile for those projects that have waf as primary build system.
2010-09-25 12:20:57 -07:00
Jelmer Vernooij
e68afdc02f
pytevent: Add more tests.
2010-09-25 12:20:57 -07:00
Jelmer Vernooij
ddb3c48f1a
pytevent: Fill in client side fnuctions.
2010-09-25 12:20:57 -07:00
Jelmer Vernooij
465cff7531
tevent: Add infrastructure for python bindings.
2010-09-25 12:20:56 -07:00
Jelmer Vernooij
1f22b63b34
tevent: Switch to using waf by default.
2010-09-25 12:20:56 -07:00
Jelmer Vernooij
bd1786f7f1
wafsamba: Fix typo: noextenion -> noextension.
2010-06-19 12:10:29 +02:00
Volker Lendecke
7f29f817fa
tevent: Fix maxfd calculation in tevent_select
...
When doing
fd1 = tevent_add_fd(ev, ev, 2, 0, NULL, NULL);
fd2 = tevent_add_fd(ev, ev, 3, 0, NULL, NULL);
TALLOC_FREE(fd2);
fd2 = tevent_add_fd(ev, ev, 1, 0, NULL, NULL);
we end up with select_ev->maxfd==1. This is wrong.
An alternative fix might be to make select_ev->maxfd an unsigned int and make
EVENT_INVALID_MAXFD==UINT_MAX. But in theory we might end up with an fd of
UINT_MAX.
std_event_add_fd() contains exactly the same piece of code, so I'm directly
pushing it.
Volker
2010-06-10 11:24:00 +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
3addebee34
tevent: Added a description for tevent queue.
2010-05-10 10:28:37 +02:00
Andreas Schneider
d596bb1a1d
tevent: Added an introduction to the tevent_queue tutorial.
...
Thanks Volker.
2010-05-10 10:28:37 +02:00
Andreas Schneider
b2e520a28b
tevent: Fixed a doxygen problem with PRINTF_ATTRIBUTE.
2010-05-10 10:28:37 +02:00
Andreas Schneider
dc2f962aac
tevent: Started a tevent_queue tutorial.
2010-05-05 09:28:04 +02:00
Andreas Schneider
239d59feab
tevent: Document the tevent_queue functions.
2010-05-05 09:28:04 +02:00
Andreas Schneider
6c1bcdc2e2
tevent: Document the tevent helper functions.
2010-05-05 09:28:04 +02:00
Andreas Schneider
78fbedf369
tevent: Document missing callback typedefs.
2010-05-05 09:28:04 +02:00
Andreas Schneider
a8e575ac22
tevent: Document the missing tevent async request callback functions.
2010-05-05 09:28:04 +02:00
Andreas Schneider
d8a6b23b07
tevent: Create a typedef for the debug function callback.
2010-05-05 09:28:04 +02:00
Stephen Gallagher
e286966bba
tevent: Added more documentation.
2010-05-05 09:28:04 +02:00
Stephen Gallagher
098221e886
tevent: Remove erroneous comments about TEVENT_FD_AUTOCLOSE
...
There is no such flag.
2010-05-05 09:28:04 +02:00
Andreas Schneider
49c89b60e6
tevent: Add doxygen tevent config file.
2010-05-05 09:28:04 +02:00
Andreas Schneider
4263983cad
tevent: Added basic doxygen documentation.
2010-05-05 09:28:04 +02:00
Andrew Tridgell
7aa4c11fc4
build: more adjustments for the ABI type name maps
...
- use 'va_list' instead of 'struct __va_list_tag *'
Using the C name for va_list is preferable
- add support for negative ABI name matches in abi_match=. That is
used to exlude ldb_*module_ops from the ldb ABI
- don't include the ldb module ops or backend ops in the ABI
2010-04-18 18:24:27 +10:00
Andrew Tridgell
f96353adcf
s4-waf: rebuild signature files with the api type maps
...
This is not strictly necessary, as the old types would compare equal,
but it is neater to use the generic type names
2010-04-18 15:39:59 +10:00
Andrew Tridgell
5e26f65f79
tevent-waf: enabled ABI checking in tevent
2010-04-18 15:00:38 +10:00
Andrew Tridgell
2550bbc981
tevent: mark backend init fns as _PRIVATE_
...
these are not supposed to be exposed in the library
2010-04-18 15:00:38 +10:00
Andrew Tridgell
483d059c8e
tevent-waf: added man page and pkgconfig file
...
this allows libtevent to build under rpmbuild
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13 23:03:27 +10:00
Andrew Tridgell
ab73692bd3
s4-tevent: up tevent version number
...
tevent now has tevent_re_initialise() which is needed for the s4 build
2010-04-13 11:45:38 +10:00
Andrew Tridgell
98942c8d84
build: use a common autogen-waf.sh for all builds
...
the symlink will get updated with the right target when waf dist is
used in each directory
2010-04-12 11:17:35 +10:00
Andrew Tridgell
7ae4372124
s4-waf: fixed waf distcheck for our standalone libs and s4
2010-04-06 20:27:26 +10:00
Andrew Tridgell
fe060c8f50
s4-waf: added simple 'waf test' support for tdb, talloc and ldb
2010-04-06 20:27:26 +10:00
Andrew Tridgell
ccfce0bbae
s4-waf: autogen-waf.sh for the standalone library builds
2010-04-06 20:27:25 +10:00
Andrew Tridgell
c8835f440a
s4-waf: use a common pattern for finding buildtools and libs
2010-04-06 20:27:25 +10:00
Andrew Tridgell
553324bc10
s4-waf: move to a universal method of recursing into subdirs
...
This works with both standalone lib builds and bundled builds
2010-04-06 20:27:25 +10:00
Andrew Tridgell
8dc8d31f4a
s4-waf: fixed finding of buildtools and srcdir
2010-04-06 20:27:25 +10:00
Andrew Tridgell
1883ee6dbc
s4-waf: avoid having to run waf configure before waf dist
...
This should be useful for building tarballs from a clean checkout
2010-04-06 20:27:25 +10:00
Andrew Tridgell
9e9e878e8f
s4-waf: allow standalone tarball build of libraries
2010-04-06 20:27:25 +10:00