Commit Graph

59 Commits (1799ed126478bd91cad513473dd4579c4ee98b2a)

Author SHA1 Message Date
Marc Alexander Lehmann 0c56dcc65f *** empty log message *** 2012-05-09 16:50:23 +00:00
Marc Alexander Lehmann afe98cb388 *** empty log message *** 2011-11-29 15:10:05 +00:00
Marc Alexander Lehmann 635b8e2d66 ws cleanup, changes 2011-02-16 08:02:49 +00:00
Marc Alexander Lehmann 119f8da872 EV_UNDEF 2010-10-28 04:55:19 +00:00
Marc Alexander Lehmann ed0919e0e8 *** empty log message *** 2010-10-24 17:58:41 +00:00
Marc Alexander Lehmann a9e4e2682d compat3 for ev++.h, default args c++ 2010-10-22 05:57:55 +00:00
Marc Alexander Lehmann d27e4a6257 enum 2010-10-21 14:50:58 +00:00
Marc Alexander Lehmann 1976316308 *** empty log message *** 2010-10-21 02:33:08 +00:00
Marc Alexander Lehmann f3f0ec7434 *** empty log message *** 2010-09-10 05:38:45 +00:00
Marc Alexander Lehmann 3db397d29b *** empty log message *** 2010-06-24 19:22:26 +00:00
Marc Alexander Lehmann 0f3394f63a *** empty log message *** 2010-03-16 00:43:22 +00:00
Marc Alexander Lehmann 8dc495aec7 *** empty log message *** 2010-03-10 09:18:24 +00:00
Marc Alexander Lehmann 0aad32c7de *** empty log message *** 2009-12-26 09:21:54 +00:00
Marc Alexander Lehmann b2b052d5c4 *** empty log message *** 2009-08-22 20:40:02 +00:00
Marc Alexander Lehmann afbc64b517 *** empty log message *** 2009-07-10 00:36:21 +00:00
Marc Alexander Lehmann 5e60624df6 *** empty log message *** 2008-12-03 15:23:44 +00:00
Marc Alexander Lehmann 986cf79a3f *** empty log message *** 2008-11-05 14:36:18 +00:00
Marc Alexander Lehmann b6aad328f7 *** empty log message *** 2008-11-03 14:27:06 +00:00
Marc Alexander Lehmann e98cef2c16 *** empty log message *** 2008-09-30 18:35:47 +00:00
Marc Alexander Lehmann d658943665 *** empty log message *** 2008-05-17 12:15:30 +00:00
Marc Alexander Lehmann a955c39530 *** empty log message *** 2008-04-15 04:34:07 +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 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 95a9270715 *** empty log message *** 2008-01-10 06:00:55 +00:00
Marc Alexander Lehmann 441f6880c4 *** empty log message *** 2007-12-25 07:05:45 +00:00
Marc Alexander Lehmann 2a9e0df433 *** empty log message *** 2007-12-20 08:17:57 +00:00
Marc Alexander Lehmann a833e4a491 *** empty log message *** 2007-12-14 17:47:52 +00:00
Marc Alexander Lehmann ab41c6612e fucked up++ watchers again 2007-12-11 03:18:33 +00:00
Marc Alexander Lehmann bf86fed66d fix c++ interface 2007-12-08 14:27:38 +00:00
Marc Alexander Lehmann 19fc194840 document c++ callbacks! 2007-12-07 20:13:08 +00:00
Marc Alexander Lehmann 4989fff209 applied fix by chris brody 2007-12-05 00:09:35 +00:00
Marc Alexander Lehmann 435ffedd0e *** empty log message *** 2007-12-04 17:08:05 +00:00
Marc Alexander Lehmann 79531a989f complete c++ overhaul 2007-12-04 16:23:29 +00:00
Marc Alexander Lehmann de0d38140f fix bug reported by chris brody 2007-11-29 17:36:35 +00:00
Marc Alexander Lehmann 97ec2832ad great idea. radically simplify the method callbacks 2007-11-27 22:31:52 +00:00
Marc Alexander Lehmann 93e0a445b7 *** empty log message *** 2007-11-27 11:06:03 +00:00