summaryrefslogtreecommitdiff
path: root/lib/tevent
AgeCommit message (Collapse)AuthorFilesLines
2011-08-21wafsamba: Only install .pc files if libraries are public.Jelmer Vernooij1-1/+1
2011-08-12tevent: don't force the nesting flag to false in the destructorAndrew Tridgell1-3/+7
the tevent destructor is called in tevent_re_initialise(), to reset the event context back to its original state for creating child processes. We need the nesting flag to stay the same Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Aug 12 05:18:25 CEST 2011 on sn-devel-104
2011-08-11tevent: fix documentation for tevent_context_init_byname()Sumit Bose1-2/+2
Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Aug 11 21:56:37 CEST 2011 on sn-devel-104
2011-08-11tevent: Set FD_CLOEXEC on epoll handleSumit Bose4-2/+52
If an application using libtevent starts a new process the epoll file descriptor is leaked to the new process if the event context is not freed explicitly. By setting FD_CLOEXEC this is not needed anymore. Signed-off-by: Simo Sorce <idra@samba.org>
2011-08-10tevent: cleanup nesting counter when doing a full reinit.Simo Sorce1-0/+7
We may be forking from within a loop, so we need to clean-up to avoid aborts when nesting is not allowed and we are in a new children. Signed-off-by: Andreas Schneider <asn@samba.org>
2011-08-09tevent: change the version to 0.9.14 after the tevent_queue changesStefan Metzmacher2-1/+79
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Aug 9 23:02:17 CEST 2011 on sn-devel-104
2011-08-09tevent: fix some comments in tevent.hStefan Metzmacher1-2/+2
metze
2011-08-09tevent: add tevent_queue_add_entry() and tevent_queue_add_optimize_empty()Stefan Metzmacher2-2/+131
This adds more flexible handling for the add operation: - It allows the caller to remove a tevent_req from the queue by calling talloc_free() on the returned tevent_queue_entry. - It allows the caller to optimize for the empty queue case, where it the caller wants to avoid the delay caused by the immediate event. metze
2011-08-09tevent: splitout tevent_queue_add_internal() from tevent_queue_add()Stefan Metzmacher1-8/+26
metze
2011-08-09tevent: allow tevent_queue_add() to take a NULL trigger functionStefan Metzmacher2-1/+10
This way the caller can add a blocker to the queue. metze
2011-08-09tevent: add tevent_queue_running() functionStefan Metzmacher2-0/+16
metze
2011-08-01Fix bug 7462 - Non-standard SA_RESETHAND is used in ↵Jeremy Allison2-0/+6
...lib/tevent/tevent_signal.c Make SA_RESETHAND conditional on its existance. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Aug 1 22:03:45 CEST 2011 on sn-devel-104
2011-07-28tevent: Slightly simplify poll_event_loop_pollVolker Lendecke1-33/+38
No real code change. Do an early return instead of an if-statement, avoiding one level of indentation.
2011-07-09tevent: change version to 0.9.13 after adding tevent_req_defer_callback()Stefan Metzmacher2-1/+76
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Jul 9 12:16:44 CEST 2011 on sn-devel-104
2011-07-09tevent: add tevent_req_defer_callback()Stefan Metzmacher3-0/+60
metze
2011-07-09tevent: fix comments for tevent_req_post()Stefan Metzmacher1-2/+2
metze
2011-06-20tevent: change version to 0.9.12Volker Lendecke2-1/+75
2011-06-20tevent: Add tevent_req_oomVolker Lendecke2-1/+20
This is a replacement for tevent_req_nomem(NULL, req)
2011-06-03Fix the poll() backend to correctly respond to POLLHUP|POLLERR returns on a ↵Jeremy Allison1-1/+13
fd selected for TEVENT_FD_WRITE only. Don't trigger the write handler and remove the POLLOUT flag for this fd. Report errors on TEVENT_FD_READ requests only. Metze please check ! Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jun 3 22:53:52 CEST 2011 on sn-devel-104
2011-06-01lib/tevent/tevent.h: minor documentation fix.Rusty Russell1-3/+3
The usecs arguments are (of course) microseconds, not milliseconds. This was added by Andreas Schneider in 6c1bcdc2 (tevent: Document the tevent helper functions.). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Wed Jun 1 11:47:38 CEST 2011 on sn-devel-104
2011-05-09tevent: Fix a typoVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon May 9 08:17:08 CEST 2011 on sn-devel-104
2011-04-23Support the 'PYTHON' environment variable.Jelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Apr 23 04:19:05 CEST 2011 on sn-devel-104
2011-03-19lib/: Fix prototypes for functions.Jelmer Vernooij1-1/+3
2011-03-15lib: don't install public headers if a private libraryAndrew Tridgell1-0/+1
for talloc/tevent/tdb, only install headers if we are doing a standalone build
2011-03-15tevent: use public_headers for tevent.hAndrew Tridgell1-1/+1
2011-03-10tevent: change version to 0.9.11Stefan Metzmacher2-1/+74
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 10 10:24:49 CET 2011 on sn-devel-104
2011-03-10tevent/poll: use fde->additional_flags to hold the array indexStefan Metzmacher1-17/+6
metze
2011-03-10tevent: change tevent_fd->additional_flags to uint64_tStefan Metzmacher1-1/+1
metze
2011-03-09tevent: Fixed tevent_wakeup_send code example.Andreas Schneider1-1/+1
2011-02-28Fix "cast from pointer to integer of different size" warnings on a 64-bit ↵Jeremy Allison1-7/+7
machine.
2011-02-28tevent: Add lib/tevent as include directory.Jelmer Vernooij1-0/+1
2011-02-28Finish the range checking on all FD_SET calls for select().Jeremy Allison2-0/+14
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Feb 28 21:10:08 CET 2011 on sn-devel-104
2011-02-28tevent: Add a poll backendVolker Lendecke5-0/+310
2011-02-17tevent: Fix a commentVolker Lendecke1-2/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Feb 17 18:16:18 CET 2011 on sn-devel-104
2011-02-14Return NULL if tevent_add_fd() is passed a negative fdStephen Gallagher1-0/+6
Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Mon Feb 14 17:47:03 CET 2011 on sn-devel-104
2011-02-09tevent: Fix typosVolker Lendecke1-2/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Feb 9 18:13:18 CET 2011 on sn-devel-104
2011-02-07build: removed the old autogen.sh and autogen-waf.sh scriptsAndrew Tridgell2-12/+0
for the builds that use waf only, these are no longer needed and just cause confusion Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-08waf: ensure "make dist" works from a clean git tree for all librariesAndrew Tridgell1-2/+4
this uses a temporary waf lock file to force the build directory Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Jan 8 02:35:22 CET 2011 on sn-devel-104
2011-01-01talloc/tdb/tevent: Remove obsolete signatures files.Jelmer Vernooij1-57/+0
2010-12-26tevent: More documentation updatesVolker Lendecke1-1/+72
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Dec 26 15:49:59 CET 2010 on sn-devel-104
2010-12-26tevent: More doc fixesVolker Lendecke1-13/+47
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Dec 26 10:20:51 CET 2010 on sn-devel-104
2010-12-25tevent: Some documentation fixesVolker Lendecke1-22/+45
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Dec 25 23:58:20 CET 2010 on sn-devel-104
2010-12-25tevent: Fix a typoVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Dec 25 22:56:18 CET 2010 on sn-devel-104
2010-12-23tevent: add ABI/tevent-0.9.10.sigsStefan Metzmacher1-0/+73
metze
2010-12-21tevent: Remove reference to nonexistant configure.developer from autogen.sh.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Dec 21 20:29:21 CET 2010 on sn-devel-104
2010-12-21tevent: Bump version number after symbol versioning changes.Jelmer Vernooij1-1/+1
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij1-1/+1
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-12-10build: introduce SAMBA_CHECK_PYTHON_HEADERSMatthieu Patou1-1/+1
This function is a wrapper around waf's check_python_header. It avoids searching more than once for the headers bringing a small speed improvement and a better lisibility of the logs. But it's mainly to avoid a nasty bug when python libraries are in path pointed by python_LIBPL (ie. /usr/local/lib/python2.6/config/) instead of python_LIBDIR (ie. /usr/local/lib). On the first call waf will correctly find that in order to link with python libs it needs to add -L$python_LIBPL. But on the next calls of check_python_headers, waf will use both the current library path value (ie. -L/usr/local/lib/python2.6/config) and -L$python_LIBDIR (ie. /usr/local/lib/) which will make him beleive that python libraries are in $python_LIBDIR which at the end will make the final link test fails in check_python_headers as it will not use the good directory. So by avoiding calling check_python_headers more than once we avoid making waf fooling itself.
2010-12-09waf: remove the restriction that private libraries must not have a vnumAndrew Tridgell1-3/+1
we need the vnum for ABI checking for public libraries built as private libraries when bundled Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 9 12:47:41 CET 2010 on sn-devel-104
2010-12-09waf-abi: auto-generate per-symbol versions from ABI filesAndrew Tridgell1-1/+1
This changes our version-script generation to use the ABI files that are saved in git with each version number change of our public libraries. We use these ABI files to generate a linker version script that gives the exact version number that each symbol was introduced. This provides us with automatic fine grained symbol versioning. Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>