Re: Async HTTP download with Glib event loop doesn't work on windows

2017-04-09 Thread Daniel Kasak
Sorry for the delay in getting stuff together - as I mentioned, we're renovating, and everything upstairs is packed / covered in dust / not functioning. Anyway, I've set up my home server again. I have binaries available at: https://tesla.duckdns.org/gtk3-perl-windows/ ... direct link: http://tesla

Re: Async HTTP download with Glib event loop doesn't work on windows

2017-03-11 Thread Daniel Kasak
I have some old(ish) binaries of Glib::Object::Introspection for Windows. Yes they were a major pain to build. I'd usually point you to my blog ( http://tesla.duckdns.org ) - but it's offline at the moment ... we're renovating the house and my ADLS2, home server, and other things are totally out of

Re: Async HTTP download with Glib event loop doesn't work on windows

2017-03-10 Thread Peter Juhasz
On Fri, Mar 10, 2017 at 4:38 PM, Emmanuele Bassi wrote: > Without knowing how AnyEvent works, if the handler involves threads > then calling *any* GTK+ API from different threads than the one that > called `gtk_main()` is going to blow up your application. Even if it > worked in one release, duri

Re: Async HTTP download with Glib event loop doesn't work on windows

2017-03-10 Thread Emmanuele Bassi
Without knowing how AnyEvent works, if the handler involves threads then calling *any* GTK+ API from different threads than the one that called `gtk_main()` is going to blow up your application. Even if it worked in one release, during a specific alignment of planets, or if you placed the machines

Re: Async HTTP download with Glib event loop doesn't work on windows

2017-03-10 Thread Peter Juhasz
The plot thickens. I've got a very helpful tip about Berrybrew ( https://github.com/stevieb9/berrybrew ), which is a Windows analog to Perlbrew, allowing multiple versions of Strawberry Perl to coexist on the same system. I've installed Glib (1.305), Gtk2 (1.2498), AnyEvent (7.13), AnyEvent::HTTP

Re: Async HTTP download with Glib event loop doesn't work on windows

2017-03-09 Thread Juhász Péter
On Thu, 2017-03-09 at 08:32 -0800, Brian Manning wrote: > On Wed, Mar 8, 2017 at 4:58 AM, Peter Juhasz wrote: > > Dear Gtk-Perl experts, > > > > We have a legacy Gtk2 application that occasionally has to send HTTP > > requests asynchronously. > > We've noticed that it hangs on Windows with recent

Re: Async HTTP download with Glib event loop doesn't work on windows

2017-03-09 Thread Brian Manning
On Wed, Mar 8, 2017 at 4:58 AM, Peter Juhasz wrote: > Dear Gtk-Perl experts, > > We have a legacy Gtk2 application that occasionally has to send HTTP > requests asynchronously. > We've noticed that it hangs on Windows with recent perls. What was the last versions of Perl/Gtk2/Glib/AnyEvent that w

Async HTTP download with Glib event loop doesn't work on windows

2017-03-08 Thread Peter Juhasz
Dear Gtk-Perl experts, We have a legacy Gtk2 application that occasionally has to send HTTP requests asynchronously. We've noticed that it hangs on Windows with recent perls. The issue can be reduced to the following simple test case: #!/usr/bin/perl use strict; use war