Commit Graph

446 Commits

Author SHA1 Message Date
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
Marc Alexander Lehmann 45c24c27b7 *** empty log message *** 2008-01-09 04:15:39 +00:00
Marc Alexander Lehmann 682f5ae19d *** empty log message *** 2007-12-31 01:34:09 +00:00
Marc Alexander Lehmann 2cafb88abb *** empty log message *** 2007-12-31 01:32:59 +00:00
Marc Alexander Lehmann ed0fec5a67 *** empty log message *** 2007-12-31 01:31:30 +00:00
Marc Alexander Lehmann f7afac1b1e *** empty log message *** 2007-12-31 01:30:53 +00:00
Marc Alexander Lehmann b52e7468c1 *** empty log message *** 2007-12-29 16:19:36 +00:00
Marc Alexander Lehmann ba8e31809e temporarily reinstated 2007-12-27 08:00:18 +00:00
Marc Alexander Lehmann 99827ae2f2 *** empty log message *** 2007-12-26 08:06:09 +00:00
Marc Alexander Lehmann 8723c1e182 *** empty log message *** 2007-12-25 18:01:20 +00:00
Marc Alexander Lehmann 0eb5fb5fab *** empty log message *** 2007-12-25 07:16:52 +00:00
Marc Alexander Lehmann 441f6880c4 *** empty log message *** 2007-12-25 07:05:45 +00:00
Marc Alexander Lehmann 5cadd2ace0 *** empty log message *** 2007-12-24 13:19:12 +00:00
Marc Alexander Lehmann 9d5e16dba1 *** empty log message *** 2007-12-24 10:39:21 +00:00
Marc Alexander Lehmann 3891cec873 fix and update ev_stat docs 2007-12-24 04:34:00 +00:00
Marc Alexander Lehmann 88fbe34aae *** empty log message *** 2007-12-24 03:41:38 +00:00
Marc Alexander Lehmann 9726a0c091 *** empty log message *** 2007-12-23 04:45:51 +00:00
Marc Alexander Lehmann f7b8b08cc8 *** empty log message *** 2007-12-23 03:57:55 +00:00
Marc Alexander Lehmann 95377a9417 *** empty log message *** 2007-12-23 03:50:10 +00:00
Marc Alexander Lehmann 96d57ca979 *** empty log message *** 2007-12-23 03:48:02 +00:00
Marc Alexander Lehmann f0c00a836b *** empty log message *** 2007-12-23 03:44:57 +00:00
Marc Alexander Lehmann 33f4e6ff8d *** empty log message *** 2007-12-23 03:15:35 +00:00
Marc Alexander Lehmann 32305e1043 last second change 2007-12-22 17:28:20 +00:00
Marc Alexander Lehmann ed0e820b7d *** empty log message *** 2007-12-22 16:53:56 +00:00
Marc Alexander Lehmann 03e0e8b432 *** empty log message *** 2007-12-22 16:37:08 +00:00
Marc Alexander Lehmann b7b86b3cf4 *** empty log message *** 2007-12-22 16:21:25 +00:00
Marc Alexander Lehmann fd420dcce1 *** empty log message *** 2007-12-22 15:20:13 +00:00
ayin 1e2725c97e Fix typo. 2007-12-22 14:11:25 +00:00
Marc Alexander Lehmann 4855b90dfa *** empty log message *** 2007-12-22 12:43:28 +00:00
Marc Alexander Lehmann 9555017625 rework docs, finish embed implementation 2007-12-22 11:49:17 +00:00
Marc Alexander Lehmann 868db42fe5 *** empty log message *** 2007-12-22 11:44:51 +00:00
Marc Alexander Lehmann 24f0038007 doh 2007-12-22 07:31:47 +00:00