… | |
… | |
878 | AnyEvent::Impl::EventLib based on Event::Lib, leaks memory and worse. |
878 | AnyEvent::Impl::EventLib based on Event::Lib, leaks memory and worse. |
879 | AnyEvent::Impl::POE based on POE, very slow, some limitations. |
879 | AnyEvent::Impl::POE based on POE, very slow, some limitations. |
880 | AnyEvent::Impl::Irssi used when running within irssi. |
880 | AnyEvent::Impl::Irssi used when running within irssi. |
881 | AnyEvent::Impl::IOAsync based on IO::Async. |
881 | AnyEvent::Impl::IOAsync based on IO::Async. |
882 | AnyEvent::Impl::Cocoa based on Cocoa::EventLoop. |
882 | AnyEvent::Impl::Cocoa based on Cocoa::EventLoop. |
|
|
883 | AnyEvent::Impl::FLTK based on FLTK. |
883 | |
884 | |
884 | =item Backends with special needs. |
885 | =item Backends with special needs. |
885 | |
886 | |
886 | Qt requires the Qt::Application to be instantiated first, but will |
887 | Qt requires the Qt::Application to be instantiated first, but will |
887 | otherwise be picked up automatically. As long as the main program |
888 | otherwise be picked up automatically. As long as the main program |
… | |
… | |
1151 | |
1152 | |
1152 | package AnyEvent; |
1153 | package AnyEvent; |
1153 | |
1154 | |
1154 | # basically a tuned-down version of common::sense |
1155 | # basically a tuned-down version of common::sense |
1155 | sub common_sense { |
1156 | sub common_sense { |
1156 | # from common:.sense 3.3 |
1157 | # from common:.sense 3.4 |
1157 | ${^WARNING_BITS} ^= ${^WARNING_BITS} ^ "\x3c\x3f\x33\x00\x0f\xf3\x0f\xc0\xf0\xfc\x33\x00"; |
1158 | ${^WARNING_BITS} ^= ${^WARNING_BITS} ^ "\x3c\x3f\x33\x00\x0f\xf0\x0f\xc0\xf0\xfc\x33\x00"; |
1158 | # use strict vars subs - NO UTF-8, as Util.pm doesn't like this atm. (uts46data.pl) |
1159 | # use strict vars subs - NO UTF-8, as Util.pm doesn't like this atm. (uts46data.pl) |
1159 | $^H |= 0x00000600; |
1160 | $^H |= 0x00000600; |
1160 | } |
1161 | } |
1161 | |
1162 | |
1162 | BEGIN { AnyEvent::common_sense } |
1163 | BEGIN { AnyEvent::common_sense } |
1163 | |
1164 | |
1164 | use Carp (); |
1165 | use Carp (); |
1165 | |
1166 | |
1166 | our $VERSION = '5.29'; |
1167 | our $VERSION = '5.34'; |
1167 | our $MODEL; |
1168 | our $MODEL; |
1168 | |
1169 | |
1169 | our $AUTOLOAD; |
1170 | our $AUTOLOAD; |
1170 | our @ISA; |
1171 | our @ISA; |
1171 | |
1172 | |
… | |
… | |
1211 | [POE::Kernel:: => AnyEvent::Impl::POE::], # lasciate ogni speranza |
1212 | [POE::Kernel:: => AnyEvent::Impl::POE::], # lasciate ogni speranza |
1212 | [Wx:: => AnyEvent::Impl::POE::], |
1213 | [Wx:: => AnyEvent::Impl::POE::], |
1213 | [Prima:: => AnyEvent::Impl::POE::], |
1214 | [Prima:: => AnyEvent::Impl::POE::], |
1214 | [IO::Async::Loop:: => AnyEvent::Impl::IOAsync::], |
1215 | [IO::Async::Loop:: => AnyEvent::Impl::IOAsync::], |
1215 | [Cocoa::EventLoop:: => AnyEvent::Impl::Cocoa::], |
1216 | [Cocoa::EventLoop:: => AnyEvent::Impl::Cocoa::], |
|
|
1217 | [FLTK:: => AnyEvent::Impl::FLTK::], |
1216 | ); |
1218 | ); |
1217 | |
1219 | |
1218 | our %method = map +($_ => 1), |
1220 | our %method = map +($_ => 1), |
1219 | qw(io timer time now now_update signal child idle condvar one_event DESTROY); |
1221 | qw(io timer time now now_update signal child idle condvar one_event DESTROY); |
1220 | |
1222 | |