1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

190 Commits

Author SHA1 Message Date
Stefan Metzmacher
e47456143c s4:lib/events: remove unused allow_warnings=True
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2014-11-25 07:25:46 +01:00
Stefan Metzmacher
19f30c3834 s4:lib/events: explicitly use allow_warnings=True
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-04-02 09:03:46 +02:00
Stefan Metzmacher
1b75475ade s4:lib/events: make use of samba_tevent_set_debug()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-02-28 12:12:36 +01:00
Andrew Bartlett
7e562cf3eb s4-events: Do not vasprintf() the tevent debug messages that will not be shown
This malloc() and free() actually shows up quite high on a call profile of
provision of the AD DC.

Andrew Bartlett
2012-08-09 20:14:22 +10:00
Stefan Metzmacher
bf8829b56f s4:lib/events: no longer define TEVENT_COMPAT_DEFINES
metze
2012-05-14 15:12:34 +02:00
Stefan Metzmacher
d41db7247f s4:lib/events: remove unused event_context_find() prototype
metze
2012-05-14 15:12:34 +02:00
Andrew Bartlett
ea0ac9cdfc s4-auth Rename auth -> auth4 to avoid conflict with s3 auth 2011-05-08 10:56:26 +02:00
Jelmer Vernooij
21d926f0ef Use <tevent.h> so the system tevent gets included, if enabled. 2011-02-28 21:11:21 +01: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
8cf61377aa waf: Remove lib prefix from libraries manually. 2010-10-26 10:17:17 -07:00
Jelmer Vernooij
d9cbcdd410 s4: Drop duplicate 'lib' prefix for private libraries. 2010-10-26 10:17:16 -07:00
Jelmer Vernooij
833480d3ad s4: Rename LIBSAMBA-* to libsamba-* 2010-10-24 00:20:04 +00:00
Jelmer Vernooij
cf26d8a958 s4: Rename LIBEVENTS to libevents. 2010-10-23 22:24:06 +00:00
Andrew Tridgell
6ce4125bbe s4-events: LIBEVENTS depends on LIBSAMBA-UTIL
it needs it for the debug code

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21 19:03:27 +11:00
Andrew Tridgell
aa0dbdc5b1 s4-events: make LIBEVENTS a private library 2010-10-21 19:03:25 +11:00
Andrew Bartlett
69199a96d1 s4-tevent Remove event_contex_find() and event_context_set_default()
It is considered that it is better to create a new event context
rather than 'finding' some other event context, in the case
where we do not have one specified.

Andrew Bartlett
2010-10-11 13:02:16 +00:00
Andrew Tridgell
68fe347592 s4-event: event_context_find() should use s4_event_context_init()
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-23 15:55:39 +10:00
Andrew Tridgell
b690fedef5 s4-waf: removed the AUTOGENERATED markers
we won't be using the mk -> wscript generator again
2010-04-06 20:27:16 +10:00
Andrew Tridgell
f9eae32f4b s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them 2010-04-06 20:27:11 +10:00
Andrew Tridgell
845e0cbe6f build: commit all the waf build files in the tree 2010-04-06 20:26:48 +10:00
Andrew Tridgell
dcbba583d9 s4-event: added s4_event_context_set_default()
we're still not weaned off event_context_find()
2010-01-08 13:03:02 +11:00
Andrew Kroeger
b21656f09a s4:tevent: Increase trace debug level to 50.
The sheer volume of messages generated by tevent when the trace level is set to
10 makes it difficult to debug issues in a level 10 log.  Increasing this to
50 allows tevent tracing to be enabled if needed, but otherwise keeps the extra
chatter out of a level 10 log.
2009-05-27 07:58:07 +10:00
Stefan Metzmacher
a3d5d8378c s4:events: allow nested events until we fixed all code to avoid them
metze
2009-03-12 14:21:25 +01:00
Stefan Metzmacher
2bd8cacf0e s4:lib/events: map TEVENT_DEBUG_TRACE to debug level 10
metze
2009-02-25 15:05:50 +01:00
Jelmer Vernooij
d6497aa089 Stop installing events.h - it contains a broken include itself and
should be considered internal now.
2009-01-28 17:06:18 +01:00
Stefan Metzmacher
f3ac9ec8b3 s4:events: don't trigger \n in debug messages two times
metze
2009-01-08 15:59:09 +01:00
Stefan Metzmacher
268f3e93a4 s4:lib/events: remove unused events_internal.h
external users need to use tevent_internal.h anyway

metze
2009-01-02 18:16:55 +01:00
Stefan Metzmacher
34cc50cb63 s4:lib/events: convert to use tevent_* functions instead of compat macros
metze
2009-01-02 18:16:54 +01:00
Stefan Metzmacher
25387d8942 s4:lib/events: deprecate event_context_find()
metze
2009-01-02 18:16:49 +01:00
Stefan Metzmacher
3f8f99eaec s4:tevent: move event_context_find() to tevent_s4.c
metze
2009-01-02 18:16:48 +01:00
Stefan Metzmacher
183c379fe5 s4:lib/tevent: rename structs
list=""
list="$list event_context:tevent_context"
list="$list fd_event:tevent_fd"
list="$list timed_event:tevent_timer"

for s in $list; do
	o=`echo $s | cut -d ':' -f1`
	n=`echo $s | cut -d ':' -f2`
	r=`git grep "struct $o" |cut -d ':' -f1 |sort -u`
	files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4`
	for f in $files; do
		cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp
		mv $f.tmp $f
	done
done

metze
2008-12-29 20:46:40 +01:00
Stefan Metzmacher
7bf5768a52 lib/tevent: rename event_* => tevent_* in the header file
We have compat macros to keep the callers happy.

metze
2008-12-29 08:42:00 +01:00
Kai Blin
ef1e9ed941 Fix some tevent includes, trying to fix the build 2008-12-26 14:11:10 +01:00
Jelmer Vernooij
bd64688c6a Fix more compiler warnings in various places. 2008-12-23 22:57:11 +01:00
Jelmer Vernooij
465f78021e Move Samba4-specific file out of common libtevent. 2008-12-23 19:28:22 +01:00
Jelmer Vernooij
071a71e27f Specify explicit path to tevent.h, compilation breaks without it for me. 2008-12-19 22:03:11 +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
Jelmer Vernooij
87ec1d2532 Make sure prototypes are always included, make some functions static and
remove some unused functions.
2008-10-20 18:59:51 +02:00
Simo Sorce
474de0f217 Fix libevents standalone build
Make sure to build against libtalloc.a and not individual talloc objects,
so that the library can be also built against libtalloc.so and use it as
a shared library instead of statically compiling talloc.
Also add shared-build target to the events library.
Useful to build multiple standalone libraries that depend on each other
without having to install them to the final install dir during the build.
2008-09-19 18:08:12 -04:00
Jelmer Vernooij
6f6e42ce60 Generate with 1.3.36. 2008-09-18 23:55:50 +02:00
Andrew Tridgell
b38045f9da fixd a bug in the signal handling code - we could get phantom signals
(signum 64)
(This used to be commit af7fb2e38b)
2008-07-24 11:48:27 +10:00
Andrew Bartlett
b49c30dd39 Remove C++ keywords from events.h header.
Andrew Bartlett
(This used to be commit 7ca421eb32)
2008-07-14 18:47:10 +10:00
Stefan Metzmacher
27970ccc30 lib/events: build as MERGED_OBJ instead of STATIC_LIBRARY
metze
(This used to be commit a2a506ba2e)
2008-06-30 09:25:29 +02:00
Jelmer Vernooij
4f4949a8f4 Only try to detect the events lib dir if it wasn't set earlier.
(This used to be commit 3f48f68800)
2008-06-26 10:11:49 +02:00
Volker Lendecke
2d65e5a60d Include events_util.h in events_aio.c
Without this, linking fails with DLIST_ADD and DLIST_REMOVE being undefined

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 87385e4c87)
2008-06-19 14:23:13 +02:00
Jelmer Vernooij
8259cc5926 Make sure events pc file gets installed.
(This used to be commit e12c0b6157)
2008-06-17 13:42:19 +02:00
Jelmer Vernooij
c13e478ab8 Avoid including events_util.h in events_internal.h since the latter is
installed.
(This used to be commit 7a7e8f30dd)
2008-06-17 02:21:46 +02:00
Jelmer Vernooij
7a2d162414 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-fixmodulesdir
(This used to be commit 1659a572c4)
2008-06-15 19:18:48 +02:00
Jelmer Vernooij
7cb41fde3c Fix standalone ldb build.
(This used to be commit 4ac91e3014)
2008-06-15 19:16:35 +02:00