Commit Graph

627 Commits

Author SHA1 Message Date
Marc Alexander Lehmann 5483edf2dc *** empty log message *** 2008-03-23 00:05:03 +00:00
Marc Alexander Lehmann 3906697fd1 *** empty log message *** 2008-03-22 13:42:45 +00:00
Marc Alexander Lehmann 09a5a4b7c5 *** empty log message *** 2008-03-16 16:38:23 +00:00
Marc Alexander Lehmann adb03d331c *** empty log message *** 2008-03-13 13:06:14 +00:00
Marc Alexander Lehmann 99c2f13076 *** empty log message *** 2008-03-08 10:38:40 +00:00
Marc Alexander Lehmann 9c8a026cf3 *** empty log message *** 2008-03-08 07:04:55 +00:00
Marc Alexander Lehmann 09ed89308a *** empty log message *** 2008-02-24 06:50:16 +00:00
ayin 73b573a8fd Fix typo. 2008-02-21 10:34:15 +00:00
Marc Alexander Lehmann e7ec3ab352 *** empty log message *** 2008-02-20 17:45:29 +00:00
Marc Alexander Lehmann 8484be105d fix a race between ev_async and ev_signal 2008-02-19 19:21:20 +00:00
Marc Alexander Lehmann 0f428d452b async events might shadow signal events and vice versa, fixed 2008-02-19 19:13:50 +00:00
Marc Alexander Lehmann 9f7f728ff2 steting got_:async when we never reset it is harmful as it blocks signal handling 2008-02-19 19:01:12 +00:00
Marc Alexander Lehmann df8d56d064 *** empty log message *** 2008-02-19 17:09:28 +00:00
Marc Alexander Lehmann 34dfbc2dd6 *** empty log message *** 2008-02-09 00:34:11 +00:00
Marc Alexander Lehmann 449dc257db *** empty log message *** 2008-02-06 18:34:24 +00:00
Marc Alexander Lehmann 7ae3068915 compile without it, too, fix memleak 2008-02-05 23:56:33 +00:00
Marc Alexander Lehmann bd42bc5ac0 *** empty log message *** 2008-02-01 13:53:56 +00:00
Marc Alexander Lehmann 0ffe8988ba *** empty log message *** 2008-02-01 13:47:08 +00:00
Marc Alexander Lehmann 91699fc1f9 *** empty log message *** 2008-02-01 13:46:26 +00:00
Marc Alexander Lehmann 8214abaf97 *** empty log message *** 2008-02-01 13:43:38 +00:00
Marc Alexander Lehmann b363db0504 add queueing example 2008-02-01 13:41:03 +00:00
Marc Alexander Lehmann 3e36dce537 testsuite 2008-02-01 13:22:48 +00:00
Marc Alexander Lehmann 5d04a80b66 *** empty log message *** 2008-02-01 13:08:54 +00:00
Marc Alexander Lehmann 36033092fc *** empty log message *** 2008-01-31 19:59:23 +00:00
Marc Alexander Lehmann eb045407b1 *** empty log message *** 2008-01-31 13:25:10 +00:00
Marc Alexander Lehmann 14f38f5fa8 first round of ev_async 2008-01-31 13:10:56 +00:00
Marc Alexander Lehmann 98d802caf4 udpate to 1.4.1-beta, doh 2008-01-28 12:47:02 +00:00
Marc Alexander Lehmann ca75b9e95c *** empty log message *** 2008-01-28 12:23:01 +00:00
Marc Alexander Lehmann b65c47bdc0 *** empty log message *** 2008-01-28 12:13:54 +00:00
Marc Alexander Lehmann 69bba30c26 *** empty log message *** 2008-01-28 11:43:37 +00:00
Marc Alexander Lehmann 7a8a81bbe7 *** empty log message *** 2008-01-25 15:45:08 +00:00
Marc Alexander Lehmann bc293bede0 indent, don't throw in loop_ref, make urxvt compile again 2008-01-22 18:09:23 +00:00
llucax 28cad79c44 Use #if !EV_MULTIPLICITY instead of #ifndef because it should be defined always. 2008-01-22 17:57:17 +00:00
llucax 09a0cd707d Remove remaining EV_THROW macro calls. 2008-01-22 17:56:54 +00:00
llucax 6a0dd54043 loop_ref constructor don't throw anything if EV_MULTIPLICITY is false. 2008-01-22 17:56:29 +00:00
Marc Alexander Lehmann 9ebd2ed7df microsoft hits. you hit microsoft. microsoft hits. microsoft hits. microsoft hits. you die. 2008-01-20 15:37:03 +00:00
Marc Alexander Lehmann 907c58d001 make excptions mandatory but stdexcept.h not, make \!EV_MULTIPLICITY compile 2008-01-19 00:49:06 +00:00
Marc Alexander Lehmann 4d08211a95 throw declarations are fine any time 2008-01-19 00:39:38 +00:00
llucax 0f140ad22b Add exceptions support to C++ interface.
Add exception specification and a ev::bad_loop exception that is thrown
when a loop can't be initialized.
2008-01-18 18:15:35 +00:00
llucax a836b93fee Add missing ev_time () to ev namespace, but renamed as now ().
Note there is no colission with ev_now (), which is a member function of
loop_ref named in the C++ interface.
2008-01-18 18:15:01 +00:00
llucax 8218239271 Add loop wrappers to C++ interface.
3 new classes are provided: loop_ref, dynamic_loop and default_loop.

loop_ref has value semantics and is just a pointer wrapper (but with
reference syntax). You can change a ev_loop* for a loop_ref and
vice-versa without notice. You can create (or asign) a loop_ref from
a ev_loop* and you can cast a loop_ref to a ev_loop*. You can check
for equality between loop_refs and ev_loop pointers. No clean-up is done
by a loop_ref.

dynamic_loop and default_loop have both reference semantics (they are
non-copiable and non-assignable), and provide automatic destruction.
2008-01-18 18:14:41 +00:00
llucax 888247c72c Add missing feed_event () method to base watchers class. 2008-01-18 18:14:23 +00:00
llucax 41a0047f88 Add missing free functions to ev namespace. 2008-01-18 18:13:57 +00:00
llucax 4b62c8e39d Add missing constants to ev namespace. 2008-01-18 18:13:40 +00:00
llucax 9a6f0043cb Move typedef and constant to the top. 2008-01-18 18:13:21 +00:00
llucax fef12f5966 Remove private implementation of watcher's copy ctor and operator=. 2008-01-18 18:12:42 +00:00
Marc Alexander Lehmann 5916a051ca *** empty log message *** 2008-01-18 13:45:55 +00:00
Marc Alexander Lehmann ccbc064c49 *** empty log message *** 2008-01-18 11:31:02 +00:00
Marc Alexander Lehmann 113f5166e9 *** empty log message *** 2008-01-15 04:07:37 +00:00
Marc Alexander Lehmann 95a9270715 *** empty log message *** 2008-01-10 06:00:55 +00:00