Re: [Vala] [Announcement] Vala will use GTask for async code instead of GSimpleAsyncResult if --target-glib=2.36 or greater is selected



I will test it.

few weeks ago I post bug:

https://bugzilla.gnome.org/show_bug.cgi?id=772084

With patch attached to solve a bug raised calling an sync function
that is not really asyncronous (with vala only is not possible to
create async code that is not asyncronous, but if vala call C code,
like gio, everything can happens)

somone think that is it convinent that I update my patch for the new code?

regards

2016-11-22 1:15 GMT+01:00 Michael Gratton <mike vee net>:

Hi all,

I just wanted to quickly say thanks to everyone involved with this. It will
cut down the amount of warnings generated when compiling Geary by a huge
amount!

//Mike

--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>


On Mon, Nov 21, 2016 at 10:27 PM, Al Thomas <astavale yahoo co uk> wrote:

A patch to Vala's master development branch was made this weekend. The
patch changes the C code generated from Vala's async code. Future versions
of Vala (0.36 and above) will use GLib's GTask instead of GSimpleAsyncResult
when --target-glib=2.36 or greater is selected. Vala 0.36 is expected with
GNOME 3.24 in March 2017. The patch is:

https://git.gnome.org/browse/vala/commit/?id=14ca2e09f9021e681947fa3f1fb5c1a6974059ae

Thanks to Carlos Garnacho for the main work on the patch, to Ben Iofel for
fixing cancelled tasks and to everyone else who tested and fed back on the
patch. To see more details of this example of collaborative working in the
Vala community:
https://bugzilla.gnome.org/show_bug.cgi?id=763345

If you use async code and want to test your project then download and
build Vala from git master. Instructions are available here:

https://wiki.gnome.org/Projects/Genie/Developing#Building_valac_from_Source

If your testing uncovers a bug then feedback through bugzilla:
https://bugzilla.gnome.org/page.cgi?id=browse.html&product=vala
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list


_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]