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



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


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