2017-02-22 Maciej Piechotka <
[email protected]>
Release 0.19.91
Change @since to reflect the correct version
2017-01-17 Rodrigo Moya <
[email protected]>
Add some more query operations for Traversable<G>
* first_match (Predicate<G>) returns the first item that matches
* any_match (Predicate<G>) checks if any element matches
* all_match (Predicate<G>) checks if all elements match
* max/min returns max/min value
* order_by to perform ordering on any Traversable
https://bugzilla.gnome.org/show_bug.cgi?id=776558
2016-12-14 Rico Tzschichholz <
[email protected]>
Drop obsolete VALA_0_16 conditionals
2016-11-23 Colomban Wendling <
[email protected]>
Fix converting enumerations and flags to arrays
Enumerations and flags are classed types for Vala, not integers, so
they don't fall in the `typeof(G) == typeof(int)` kind of tests. This
leads to using the generic code in which Vala assumes pointer-sized
elements, which is often not true for enumerations and flags.
Add special case for those to use the `int` converters for enumerations
and flags.
This is most generally correct, but not always: the compiler will
likely chose a larger type for a specific enumeration if one of its
value is larger than `int`. It would be tempting to use the
enumeration's class minimum and maximum values to determine the
appropriate type, but unfortunately the API for this uses int itself,
so doesn't help.
https://bugzilla.gnome.org/show_bug.cgi?id=774669
2016-10-12 Maciej Piechotka <
[email protected]>
Release 0.18.1