]> git.llucax.com Git - software/eventxx.git/log
software/eventxx.git
17 years agoFix another inconsistency with eventxx::type vs. short.
Leandro Lucarella [Thu, 22 Mar 2007 21:06:01 +0000 (21:06 +0000)]
Fix another inconsistency with eventxx::type vs. short.

17 years agoConsistence fix about eventxx::type vs. short.
Leandro Lucarella [Thu, 22 Mar 2007 20:49:08 +0000 (20:49 +0000)]
Consistence fix about eventxx::type vs. short.
It wasn't very clear when to use short and when to use eventxx::type. Now it's
clear. Everything use eventxx::type excepto C-like callbacks, which expects a
short.

17 years agoMove ccallback declaration into the Events group.
Leandro Lucarella [Thu, 22 Mar 2007 20:32:38 +0000 (20:32 +0000)]
Move ccallback declaration into the Events group.

17 years agoAdd operator| for eventxx::type.
Leandro Lucarella [Thu, 22 Mar 2007 20:30:49 +0000 (20:30 +0000)]
Add operator| for eventxx::type.
Now it's possible to do eventxx::READ | eventxx::PERSIST and this yieds another
eventxx::type, not an int.

17 years agoAdd mem_cb functor to use an arbitrary memeber function as an event handler.
Leandro Lucarella [Wed, 21 Mar 2007 21:31:43 +0000 (21:31 +0000)]
Add mem_cb functor to use an arbitrary memeber function as an event handler.

17 years agotagged 0.2 0.2
Leandro Lucarella [Mon, 19 Feb 2007 13:51:46 +0000 (13:51 +0000)]
tagged 0.2

17 years agoChange version number.
Leandro Lucarella [Mon, 19 Feb 2007 13:50:52 +0000 (13:50 +0000)]
Change version number.

17 years agoMinor documentation fix.
Leandro Lucarella [Mon, 19 Feb 2007 12:55:24 +0000 (12:55 +0000)]
Minor documentation fix.

17 years agoFix dispatcher::dispatch() return documentation.
Leandro Lucarella [Mon, 29 Jan 2007 18:51:36 +0000 (18:51 +0000)]
Fix dispatcher::dispatch() return documentation.

17 years agoRemove trailing space.
Leandro Lucarella [Mon, 29 Jan 2007 18:51:00 +0000 (18:51 +0000)]
Remove trailing space.

17 years agoGrammar corrections suggested by Alberto Bertogli.
Leandro Lucarella [Mon, 29 Jan 2007 14:39:04 +0000 (14:39 +0000)]
Grammar corrections suggested by Alberto Bertogli.

17 years agoExcuses about not throwing an exception on dispatcher's dispatch() and exit().
Leandro Lucarella [Mon, 29 Jan 2007 00:44:37 +0000 (00:44 +0000)]
Excuses about not throwing an exception on dispatcher's dispatch() and exit().
Since libevent don't specify very clearly when and what event_dispatch() and
event_exitloop() returns errors, I cannot specify precisely the exceptions to
throw, so the user must manage the error codes returned by itselfs until
libevent gets documented.

17 years agoUse NULL default void* parameter with C-like callbacks events.
Leandro Lucarella [Mon, 29 Jan 2007 00:34:44 +0000 (00:34 +0000)]
Use NULL default void* parameter with C-like callbacks events.

17 years agoDon't use the EVENT_BASE_FREE_FIX as default in the tests.
Leandro Lucarella [Mon, 29 Jan 2007 00:21:16 +0000 (00:21 +0000)]
Don't use the EVENT_BASE_FREE_FIX as default in the tests.

17 years agoUse 80 column width.
Leandro Lucarella [Mon, 29 Jan 2007 00:20:57 +0000 (00:20 +0000)]
Use 80 column width.

17 years agoImprove documentation.
Leandro Lucarella [Mon, 29 Jan 2007 00:20:19 +0000 (00:20 +0000)]
Improve documentation.

17 years agoSmall documentation fix.
Leandro Lucarella [Sat, 27 Jan 2007 06:08:20 +0000 (06:08 +0000)]
Small documentation fix.

17 years agotagged 0.1 0.1
Leandro Lucarella [Fri, 26 Jan 2007 21:12:35 +0000 (21:12 +0000)]
tagged 0.1

17 years agoChange current release naming.
Leandro Lucarella [Fri, 26 Jan 2007 21:09:35 +0000 (21:09 +0000)]
Change current release naming.

17 years agoAdd link to darcsweb RSS feed.
Leandro Lucarella [Fri, 26 Jan 2007 21:03:51 +0000 (21:03 +0000)]
Add link to darcsweb RSS feed.

17 years agoAdd links to releases.
Leandro Lucarella [Fri, 26 Jan 2007 21:03:38 +0000 (21:03 +0000)]
Add links to releases.

17 years agoAcknowledge test ported from libevent and add a missing test to doxygen documentation.
Leandro Lucarella [Fri, 26 Jan 2007 20:49:30 +0000 (20:49 +0000)]
Acknowledge test ported from libevent and add a missing test to doxygen documentation.

17 years agoChange my e-mail on tests adapted from libevent.
Leandro Lucarella [Fri, 26 Jan 2007 20:46:05 +0000 (20:46 +0000)]
Change my e-mail on tests adapted from libevent.

17 years agoSpell checked.
Leandro Lucarella [Fri, 26 Jan 2007 20:32:55 +0000 (20:32 +0000)]
Spell checked.

17 years agoAdd libevent link.
Leandro Lucarella [Fri, 26 Jan 2007 20:32:38 +0000 (20:32 +0000)]
Add libevent link.

17 years agoRestore the TREEVIEW for doxygen.
Leandro Lucarella [Fri, 26 Jan 2007 20:12:03 +0000 (20:12 +0000)]
Restore the TREEVIEW for doxygen.

17 years agoImprove documentation.
Leandro Lucarella [Fri, 26 Jan 2007 19:59:06 +0000 (19:59 +0000)]
Improve documentation.
Add some more documentation and include the examples.

17 years agoRemove the using eventxx::dispatcher from the mixed test.
Leandro Lucarella [Fri, 26 Jan 2007 19:35:51 +0000 (19:35 +0000)]
Remove the using eventxx::dispatcher from the mixed test.

17 years agoAdd a test with mixed C-like and function object callbacks.
Leandro Lucarella [Fri, 26 Jan 2007 19:02:03 +0000 (19:02 +0000)]
Add a test with mixed C-like and function object callbacks.

17 years agoFix a bug when the dispatcher destructor is working.
Leandro Lucarella [Tue, 2 Jan 2007 20:01:53 +0000 (20:01 +0000)]
Fix a bug when the dispatcher destructor is working.

17 years agoUse enums for several flags.
Leandro Lucarella [Tue, 2 Jan 2007 20:01:27 +0000 (20:01 +0000)]
Use enums for several flags.
Now the event type symbols are enums (and have scope, so they are part of the
eventxx namespace). Same for the EVLOOP_* symbols, now are eventxx::*.

17 years agoDocumentation fixes.
Leandro Lucarella [Tue, 2 Jan 2007 18:13:50 +0000 (18:13 +0000)]
Documentation fixes.
Thanks to Alberto Bertogli for this corrections.

17 years agoFix priorities API.
Leandro Lucarella [Tue, 2 Jan 2007 18:13:42 +0000 (18:13 +0000)]
Fix priorities API.
Priorities were added in the event constructor, but event priority are reseted
by libevent when they are associated with an event_base (event_base_set()), so
it was useless. Now priorities are set in the dispatcher::add() method, so
event_priority_set() y called just after event_base_set() and we can be all
happy and have working priorities.

17 years agoAdd license file.
Leandro Lucarella [Tue, 2 Jan 2007 15:34:11 +0000 (15:34 +0000)]
Add license file.

17 years agoRename event namespace to eventxx.
Leandro Lucarella [Tue, 2 Jan 2007 15:09:18 +0000 (15:09 +0000)]
Rename event namespace to eventxx.
This renaming is for the sake of clarity, so libevent and eventxx don't get
confused (by the compiler, by the documentation tools, by the man page reader,
etc.).

17 years agoMinor documentation fixes.
Leandro Lucarella [Tue, 2 Jan 2007 15:08:11 +0000 (15:08 +0000)]
Minor documentation fixes.

17 years agoAdd new tests.
Leandro Lucarella [Tue, 2 Jan 2007 15:07:31 +0000 (15:07 +0000)]
Add new tests.

17 years agoAdd tests.
Leandro Lucarella [Wed, 27 Dec 2006 19:21:13 +0000 (19:21 +0000)]
Add tests.
Some tests are ported from C libevent to this C++ wrapper.

17 years agoPrevents a bug in libevent event_base_free().
Leandro Lucarella [Wed, 27 Dec 2006 19:03:46 +0000 (19:03 +0000)]
Prevents a bug in libevent event_base_free().
event_base_free() has a bug that make it assert() always. This patch avoid using
it (leaking memory).

17 years agoCasting fixes.
Leandro Lucarella [Wed, 27 Dec 2006 19:01:45 +0000 (19:01 +0000)]
Casting fixes.
When using function pointers (other than the libevent C API style callbacks),
the implicit cast doesn't work, so reinterpret_cast< void* > is used.

17 years agoMinor documentation fixes.
Leandro Lucarella [Wed, 27 Dec 2006 18:59:43 +0000 (18:59 +0000)]
Minor documentation fixes.

17 years agoC++ wrapper for libevent.
Leandro Lucarella [Wed, 27 Dec 2006 15:55:46 +0000 (15:55 +0000)]
C++ wrapper for libevent.
This is a simple, direct, one-header inline C++ wrapper for libevent.
It's designed to be as close to use to libevent without compromising modern
C++ programming techniques and efficiency (since all implementation is
trivial and inline, theoretically, it imposes no overhead at all).