Hello community, here is the log from the commit of package vala for openSUSE:Factory checked in at 2015-08-14 14:45:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vala (Old) and /work/SRC/openSUSE:Factory/.vala.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vala" Changes: -------- --- /work/SRC/openSUSE:Factory/vala/vala.changes 2015-03-30 19:16:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.vala.new/vala.changes 2015-08-14 14:45:31.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Aug 11 22:09:15 UTC 2015 - zai...@opensuse.org + +- Update to version 0.28.1: + + Bug fixes and binding updates. + +------------------------------------------------------------------- Old: ---- vala-0.28.0.tar.xz New: ---- vala-0.28.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vala.spec ++++++ --- /var/tmp/diff_new_pack.D2vP41/_old 2015-08-14 14:45:32.000000000 +0200 +++ /var/tmp/diff_new_pack.D2vP41/_new 2015-08-14 14:45:32.000000000 +0200 @@ -17,13 +17,13 @@ Name: vala -Version: 0.28.0 +Version: 0.28.1 Release: 0 %define vala_version 0.28 %define vala_libversion 0_28 # The priority defines which version of vala, in case of multiple ones are installed # is to be used by default. The rule-of-thumb for vala is to use MAJORMINOR without -# decimal separator, hoping they will not get to the idea to crate a 0.100 release. +# decimal separator, hoping they will not get to the idea to create a 0.100 release. %define vala_priority 28 Summary: Programming language for GNOME License: LGPL-2.0 @@ -94,9 +94,6 @@ ln -s -f %{_sysconfdir}/alternatives/vapigen.pc %{buildroot}%{_datadir}/pkgconfig/vapigen.pc %fdupes %{buildroot}%{_datadir} -%clean -rm -rf %{buildroot} - %post update-alternatives \ --install %{_bindir}/vala vala %{_bindir}/vala-%{vala_version} \ ++++++ vala-0.28.0.tar.xz -> vala-0.28.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vala-0.28.0/.tarball-version new/vala-0.28.1/.tarball-version --- old/vala-0.28.0/.tarball-version 2015-03-22 20:56:33.000000000 +0100 +++ new/vala-0.28.1/.tarball-version 2015-08-11 21:11:44.000000000 +0200 @@ -1 +1 @@ -0.28.0 +0.28.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vala-0.28.0/.version new/vala-0.28.1/.version --- old/vala-0.28.0/.version 2015-03-22 20:53:26.000000000 +0100 +++ new/vala-0.28.1/.version 2015-08-11 21:10:15.000000000 +0200 @@ -1 +1 @@ -0.28.0 +0.28.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vala-0.28.0/ChangeLog new/vala-0.28.1/ChangeLog --- old/vala-0.28.0/ChangeLog 2015-03-22 20:56:33.000000000 +0100 +++ new/vala-0.28.1/ChangeLog 2015-08-11 21:11:44.000000000 +0200 @@ -1,3 +1,37 @@ +2015-08-11 Jürg Billeter <j...@bitron.ch> + + Release 0.28.1 + +2015-08-11 Luca Bruno <luca...@src.gnome.org> + + codegen: check for null value before calling g_strv_length + Fixes bug 751338 + +2015-06-21 Rico Tzschichholz <ric...@ubuntu.com> + + codegen: fix generating struct equal function + Fixes bug 749952 + +2015-06-16 Rico Tzschichholz <ric...@ubuntu.com> + + glib-2.0: Conditionally use boxed OptionGroup since 2.44 + (cherry picked from commit 108a0c59502b6e00bb0782af904f12eae8c1adeb) + + Revert "glib-2.0: Conditionally use boxed OptionContext since 2.44" + This reverts commit 559a92b2256835dc6f933733a30cd98d462b33b0. + + (cherry picked from commit e6b24a2e5f00ba73dd06b8e57cc1ab8ccddf38ee) + +2015-04-08 Rico Tzschichholz <ric...@ubuntu.com> + + gtk+-3.0: Update to 3.16.1 + (cherry picked from commit 2c607951cd8a7443bcb68a191e5aad48483128a0) + +2015-03-25 Rico Tzschichholz <ric...@ubuntu.com> + + vapi: Update GIR-based bindings + (cherry picked from commit 3502b1f6468ae01ab2585015c10742d84de66e0e) + 2015-03-22 Jürg Billeter <j...@bitron.ch> Release 0.28.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vala-0.28.0/NEWS new/vala-0.28.1/NEWS --- old/vala-0.28.0/NEWS 2015-03-22 20:51:27.000000000 +0100 +++ new/vala-0.28.1/NEWS 2015-08-11 21:09:05.000000000 +0200 @@ -1,3 +1,8 @@ +Vala 0.28.1 +=========== + + * Bug fixes and binding updates. + Vala 0.28.0 =========== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vala-0.28.0/codegen/valaccodebasemodule.c new/vala-0.28.1/codegen/valaccodebasemodule.c --- old/vala-0.28.0/codegen/valaccodebasemodule.c 2015-03-22 20:55:16.000000000 +0100 +++ new/vala-0.28.1/codegen/valaccodebasemodule.c 2015-08-11 21:10:36.000000000 +0200 @@ -16256,17 +16256,17 @@ static gchar* vala_ccode_base_module_generate_struct_equal_function (ValaCCodeBaseModule* self, ValaStruct* st) { gchar* result = NULL; - gchar* equal_func = NULL; ValaStruct* _tmp0_ = NULL; - gchar* _tmp1_ = NULL; - gchar* _tmp2_ = NULL; - gchar* _tmp3_ = NULL; - gchar* _tmp4_ = NULL; - const gchar* _tmp5_ = NULL; - gboolean _tmp6_ = FALSE; + ValaStruct* _tmp1_ = NULL; + ValaStruct* _tmp2_ = NULL; + gchar* equal_func = NULL; ValaStruct* _tmp7_ = NULL; - ValaStruct* _tmp8_ = NULL; - ValaStruct* _tmp9_ = NULL; + gchar* _tmp8_ = NULL; + gchar* _tmp9_ = NULL; + gchar* _tmp10_ = NULL; + gchar* _tmp11_ = NULL; + const gchar* _tmp12_ = NULL; + gboolean _tmp13_ = FALSE; ValaCCodeFunction* function = NULL; const gchar* _tmp14_ = NULL; ValaCCodeFunction* _tmp15_ = NULL; @@ -16301,32 +16301,31 @@ g_return_val_if_fail (self != NULL, NULL); g_return_val_if_fail (st != NULL, NULL); _tmp0_ = st; - _tmp1_ = vala_ccode_base_module_get_ccode_lower_case_prefix ((ValaSymbol*) _tmp0_); + _tmp1_ = vala_struct_get_base_struct (_tmp0_); _tmp2_ = _tmp1_; - _tmp3_ = g_strdup_printf ("_%sequal", _tmp2_); - _tmp4_ = _tmp3_; - _g_free0 (_tmp2_); - equal_func = _tmp4_; - _tmp5_ = equal_func; - _tmp6_ = vala_ccode_base_module_add_wrapper (self, _tmp5_); - if (!_tmp6_) { - result = equal_func; + if (_tmp2_ != NULL) { + ValaStruct* _tmp3_ = NULL; + ValaStruct* _tmp4_ = NULL; + ValaStruct* _tmp5_ = NULL; + gchar* _tmp6_ = NULL; + _tmp3_ = st; + _tmp4_ = vala_struct_get_base_struct (_tmp3_); + _tmp5_ = _tmp4_; + _tmp6_ = vala_ccode_base_module_generate_struct_equal_function (self, _tmp5_); + result = _tmp6_; return result; } _tmp7_ = st; - _tmp8_ = vala_struct_get_base_struct (_tmp7_); + _tmp8_ = vala_ccode_base_module_get_ccode_lower_case_prefix ((ValaSymbol*) _tmp7_); _tmp9_ = _tmp8_; - if (_tmp9_ != NULL) { - ValaStruct* _tmp10_ = NULL; - ValaStruct* _tmp11_ = NULL; - ValaStruct* _tmp12_ = NULL; - gchar* _tmp13_ = NULL; - _tmp10_ = st; - _tmp11_ = vala_struct_get_base_struct (_tmp10_); - _tmp12_ = _tmp11_; - _tmp13_ = vala_ccode_base_module_generate_struct_equal_function (self, _tmp12_); - result = _tmp13_; - _g_free0 (equal_func); + _tmp10_ = g_strdup_printf ("_%sequal", _tmp9_); + _tmp11_ = _tmp10_; + _g_free0 (_tmp9_); + equal_func = _tmp11_; + _tmp12_ = equal_func; + _tmp13_ = vala_ccode_base_module_add_wrapper (self, _tmp12_); + if (!_tmp13_) { + result = equal_func; return result; } _tmp14_ = equal_func; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vala-0.28.0/codegen/valaccodebasemodule.vala new/vala-0.28.1/codegen/valaccodebasemodule.vala --- old/vala-0.28.0/codegen/valaccodebasemodule.vala 2015-01-12 19:48:33.000000000 +0100 +++ new/vala-0.28.1/codegen/valaccodebasemodule.vala 2015-08-11 21:05:28.000000000 +0200 @@ -2736,6 +2736,10 @@ } private string generate_struct_equal_function (Struct st) { + if (st.base_struct != null) { + return generate_struct_equal_function (st.base_struct); + } + string equal_func = "_%sequal".printf (get_ccode_lower_case_prefix (st)); if (!add_wrapper (equal_func)) { @@ -2743,10 +2747,6 @@ return equal_func; } - if (st.base_struct != null) { - return generate_struct_equal_function (st.base_struct); - } - var function = new CCodeFunction (equal_func, "gboolean"); function.modifiers = CCodeModifiers.STATIC; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vala-0.28.0/codegen/valagobjectmodule.c new/vala-0.28.1/codegen/valagobjectmodule.c --- old/vala-0.28.0/codegen/valagobjectmodule.c 2015-03-22 20:54:28.000000000 +0100 +++ new/vala-0.28.1/codegen/valagobjectmodule.c 2015-08-11 21:10:36.000000000 +0200 @@ -2469,16 +2469,16 @@ ValaList* props = NULL; ValaClass* _tmp40_ = NULL; ValaList* _tmp41_ = NULL; - ValaCCodeFunction* _tmp354_ = NULL; - ValaCCodeFunction* _tmp355_ = NULL; - ValaCCodeFunction* _tmp356_ = NULL; - ValaCCodeFunction* _tmp357_ = NULL; - ValaCCodeFunction* _tmp358_ = NULL; - ValaCCodeFunction* _tmp359_ = NULL; - ValaCCodeFile* _tmp360_ = NULL; - ValaCCodeFunction* _tmp361_ = NULL; - ValaCCodeFile* _tmp362_ = NULL; - ValaCCodeFunction* _tmp363_ = NULL; + ValaCCodeFunction* _tmp366_ = NULL; + ValaCCodeFunction* _tmp367_ = NULL; + ValaCCodeFunction* _tmp368_ = NULL; + ValaCCodeFunction* _tmp369_ = NULL; + ValaCCodeFunction* _tmp370_ = NULL; + ValaCCodeFunction* _tmp371_ = NULL; + ValaCCodeFile* _tmp372_ = NULL; + ValaCCodeFunction* _tmp373_ = NULL; + ValaCCodeFile* _tmp374_ = NULL; + ValaCCodeFunction* _tmp375_ = NULL; g_return_if_fail (self != NULL); g_return_if_fail (cl != NULL); _tmp0_ = cl; @@ -2603,8 +2603,8 @@ ValaProperty* _tmp158_ = NULL; ValaDataType* _tmp159_ = NULL; ValaDataType* _tmp160_ = NULL; - ValaCCodeFunction* _tmp233_ = NULL; - ValaCCodeFunction* _tmp234_ = NULL; + ValaCCodeFunction* _tmp245_ = NULL; + ValaCCodeFunction* _tmp246_ = NULL; _tmp47_ = _prop_index; _prop_index = _tmp47_ + 1; _tmp48_ = _prop_index; @@ -2911,21 +2911,35 @@ ValaCCodeFunctionCall* _tmp189_ = NULL; ValaCCodeIdentifier* _tmp190_ = NULL; ValaCCodeIdentifier* _tmp191_ = NULL; - ValaCCodeFunctionCall* cstrvlen = NULL; + ValaCCodeBinaryExpression* cisnull = NULL; ValaCCodeIdentifier* _tmp192_ = NULL; ValaCCodeIdentifier* _tmp193_ = NULL; - ValaCCodeFunctionCall* _tmp194_ = NULL; - ValaCCodeFunctionCall* _tmp195_ = NULL; - ValaCCodeFunctionCall* _tmp196_ = NULL; - ValaCCodeIdentifier* _tmp197_ = NULL; + ValaCCodeConstant* _tmp194_ = NULL; + ValaCCodeConstant* _tmp195_ = NULL; + ValaCCodeBinaryExpression* _tmp196_ = NULL; + ValaCCodeBinaryExpression* _tmp197_ = NULL; + ValaCCodeFunctionCall* cstrvlen = NULL; ValaCCodeIdentifier* _tmp198_ = NULL; - ValaCCodeFunctionCall* _tmp199_ = NULL; + ValaCCodeIdentifier* _tmp199_ = NULL; ValaCCodeFunctionCall* _tmp200_ = NULL; - ValaCCodeFunction* _tmp201_ = NULL; - ValaCCodeFunction* _tmp202_ = NULL; - ValaCCodeFunctionCall* _tmp203_ = NULL; - ValaCCodeFunction* _tmp204_ = NULL; - ValaCCodeFunction* _tmp205_ = NULL; + ValaCCodeFunctionCall* _tmp201_ = NULL; + ValaCCodeFunctionCall* _tmp202_ = NULL; + ValaCCodeIdentifier* _tmp203_ = NULL; + ValaCCodeIdentifier* _tmp204_ = NULL; + ValaCCodeConditionalExpression* ccond = NULL; + ValaCCodeBinaryExpression* _tmp205_ = NULL; + ValaCCodeConstant* _tmp206_ = NULL; + ValaCCodeConstant* _tmp207_ = NULL; + ValaCCodeFunctionCall* _tmp208_ = NULL; + ValaCCodeConditionalExpression* _tmp209_ = NULL; + ValaCCodeConditionalExpression* _tmp210_ = NULL; + ValaCCodeFunctionCall* _tmp211_ = NULL; + ValaCCodeConditionalExpression* _tmp212_ = NULL; + ValaCCodeFunction* _tmp213_ = NULL; + ValaCCodeFunction* _tmp214_ = NULL; + ValaCCodeFunctionCall* _tmp215_ = NULL; + ValaCCodeFunction* _tmp216_ = NULL; + ValaCCodeFunction* _tmp217_ = NULL; _tmp171_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); _tmp172_ = _tmp171_; vala_ccode_function_open_block (_tmp172_); @@ -2958,103 +2972,122 @@ _tmp191_ = _tmp190_; vala_ccode_function_call_add_argument (_tmp189_, (ValaCCodeExpression*) _tmp191_); _vala_ccode_node_unref0 (_tmp191_); - _tmp192_ = vala_ccode_identifier_new ("g_strv_length"); + _tmp192_ = vala_ccode_identifier_new ("boxed"); _tmp193_ = _tmp192_; - _tmp194_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp193_); + _tmp194_ = vala_ccode_constant_new ("NULL"); _tmp195_ = _tmp194_; + _tmp196_ = vala_ccode_binary_expression_new (VALA_CCODE_BINARY_OPERATOR_EQUALITY, (ValaCCodeExpression*) _tmp193_, (ValaCCodeExpression*) _tmp195_); + _tmp197_ = _tmp196_; + _vala_ccode_node_unref0 (_tmp195_); _vala_ccode_node_unref0 (_tmp193_); - cstrvlen = _tmp195_; - _tmp196_ = cstrvlen; - _tmp197_ = vala_ccode_identifier_new ("boxed"); - _tmp198_ = _tmp197_; - vala_ccode_function_call_add_argument (_tmp196_, (ValaCCodeExpression*) _tmp198_); - _vala_ccode_node_unref0 (_tmp198_); - _tmp199_ = ccall; - _tmp200_ = cstrvlen; - vala_ccode_function_call_add_argument (_tmp199_, (ValaCCodeExpression*) _tmp200_); - _tmp201_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); - _tmp202_ = _tmp201_; - _tmp203_ = ccall; - vala_ccode_function_add_expression (_tmp202_, (ValaCCodeExpression*) _tmp203_); - _tmp204_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); - _tmp205_ = _tmp204_; - vala_ccode_function_close (_tmp205_); + cisnull = _tmp197_; + _tmp198_ = vala_ccode_identifier_new ("g_strv_length"); + _tmp199_ = _tmp198_; + _tmp200_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp199_); + _tmp201_ = _tmp200_; + _vala_ccode_node_unref0 (_tmp199_); + cstrvlen = _tmp201_; + _tmp202_ = cstrvlen; + _tmp203_ = vala_ccode_identifier_new ("boxed"); + _tmp204_ = _tmp203_; + vala_ccode_function_call_add_argument (_tmp202_, (ValaCCodeExpression*) _tmp204_); + _vala_ccode_node_unref0 (_tmp204_); + _tmp205_ = cisnull; + _tmp206_ = vala_ccode_constant_new ("0"); + _tmp207_ = _tmp206_; + _tmp208_ = cstrvlen; + _tmp209_ = vala_ccode_conditional_expression_new ((ValaCCodeExpression*) _tmp205_, (ValaCCodeExpression*) _tmp207_, (ValaCCodeExpression*) _tmp208_); + _tmp210_ = _tmp209_; + _vala_ccode_node_unref0 (_tmp207_); + ccond = _tmp210_; + _tmp211_ = ccall; + _tmp212_ = ccond; + vala_ccode_function_call_add_argument (_tmp211_, (ValaCCodeExpression*) _tmp212_); + _tmp213_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); + _tmp214_ = _tmp213_; + _tmp215_ = ccall; + vala_ccode_function_add_expression (_tmp214_, (ValaCCodeExpression*) _tmp215_); + _tmp216_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); + _tmp217_ = _tmp216_; + vala_ccode_function_close (_tmp217_); + _vala_ccode_node_unref0 (ccond); _vala_ccode_node_unref0 (cstrvlen); + _vala_ccode_node_unref0 (cisnull); _vala_ccode_node_unref0 (cgetcall); } else { ValaCCodeFunctionCall* cgetcall = NULL; - ValaCCodeFunctionCall* _tmp206_ = NULL; - ValaProperty* _tmp207_ = NULL; - ValaDataType* _tmp208_ = NULL; - ValaDataType* _tmp209_ = NULL; - ValaTypeSymbol* _tmp210_ = NULL; - ValaTypeSymbol* _tmp211_ = NULL; - ValaCCodeFunctionCall* _tmp225_ = NULL; - ValaCCodeIdentifier* _tmp226_ = NULL; - ValaCCodeIdentifier* _tmp227_ = NULL; - ValaCCodeFunctionCall* _tmp228_ = NULL; - ValaCCodeFunctionCall* _tmp229_ = NULL; - ValaCCodeFunction* _tmp230_ = NULL; - ValaCCodeFunction* _tmp231_ = NULL; - ValaCCodeFunctionCall* _tmp232_ = NULL; - _tmp206_ = vala_ccode_function_call_new (NULL); - cgetcall = _tmp206_; - _tmp207_ = prop; - _tmp208_ = vala_property_get_property_type (_tmp207_); - _tmp209_ = _tmp208_; - _tmp210_ = vala_data_type_get_data_type (_tmp209_); - _tmp211_ = _tmp210_; - if (_tmp211_ != NULL) { - ValaCCodeFunctionCall* _tmp212_ = NULL; - ValaProperty* _tmp213_ = NULL; - ValaDataType* _tmp214_ = NULL; - ValaDataType* _tmp215_ = NULL; - ValaTypeSymbol* _tmp216_ = NULL; - ValaTypeSymbol* _tmp217_ = NULL; - gchar* _tmp218_ = NULL; - gchar* _tmp219_ = NULL; - ValaCCodeIdentifier* _tmp220_ = NULL; - ValaCCodeIdentifier* _tmp221_ = NULL; - _tmp212_ = cgetcall; - _tmp213_ = prop; - _tmp214_ = vala_property_get_property_type (_tmp213_); - _tmp215_ = _tmp214_; - _tmp216_ = vala_data_type_get_data_type (_tmp215_); - _tmp217_ = _tmp216_; - _tmp218_ = vala_ccode_base_module_get_ccode_get_value_function ((ValaCodeNode*) _tmp217_); - _tmp219_ = _tmp218_; - _tmp220_ = vala_ccode_identifier_new (_tmp219_); - _tmp221_ = _tmp220_; - vala_ccode_function_call_set_call (_tmp212_, (ValaCCodeExpression*) _tmp221_); - _vala_ccode_node_unref0 (_tmp221_); - _g_free0 (_tmp219_); + ValaCCodeFunctionCall* _tmp218_ = NULL; + ValaProperty* _tmp219_ = NULL; + ValaDataType* _tmp220_ = NULL; + ValaDataType* _tmp221_ = NULL; + ValaTypeSymbol* _tmp222_ = NULL; + ValaTypeSymbol* _tmp223_ = NULL; + ValaCCodeFunctionCall* _tmp237_ = NULL; + ValaCCodeIdentifier* _tmp238_ = NULL; + ValaCCodeIdentifier* _tmp239_ = NULL; + ValaCCodeFunctionCall* _tmp240_ = NULL; + ValaCCodeFunctionCall* _tmp241_ = NULL; + ValaCCodeFunction* _tmp242_ = NULL; + ValaCCodeFunction* _tmp243_ = NULL; + ValaCCodeFunctionCall* _tmp244_ = NULL; + _tmp218_ = vala_ccode_function_call_new (NULL); + cgetcall = _tmp218_; + _tmp219_ = prop; + _tmp220_ = vala_property_get_property_type (_tmp219_); + _tmp221_ = _tmp220_; + _tmp222_ = vala_data_type_get_data_type (_tmp221_); + _tmp223_ = _tmp222_; + if (_tmp223_ != NULL) { + ValaCCodeFunctionCall* _tmp224_ = NULL; + ValaProperty* _tmp225_ = NULL; + ValaDataType* _tmp226_ = NULL; + ValaDataType* _tmp227_ = NULL; + ValaTypeSymbol* _tmp228_ = NULL; + ValaTypeSymbol* _tmp229_ = NULL; + gchar* _tmp230_ = NULL; + gchar* _tmp231_ = NULL; + ValaCCodeIdentifier* _tmp232_ = NULL; + ValaCCodeIdentifier* _tmp233_ = NULL; + _tmp224_ = cgetcall; + _tmp225_ = prop; + _tmp226_ = vala_property_get_property_type (_tmp225_); + _tmp227_ = _tmp226_; + _tmp228_ = vala_data_type_get_data_type (_tmp227_); + _tmp229_ = _tmp228_; + _tmp230_ = vala_ccode_base_module_get_ccode_get_value_function ((ValaCodeNode*) _tmp229_); + _tmp231_ = _tmp230_; + _tmp232_ = vala_ccode_identifier_new (_tmp231_); + _tmp233_ = _tmp232_; + vala_ccode_function_call_set_call (_tmp224_, (ValaCCodeExpression*) _tmp233_); + _vala_ccode_node_unref0 (_tmp233_); + _g_free0 (_tmp231_); } else { - ValaCCodeFunctionCall* _tmp222_ = NULL; - ValaCCodeIdentifier* _tmp223_ = NULL; - ValaCCodeIdentifier* _tmp224_ = NULL; - _tmp222_ = cgetcall; - _tmp223_ = vala_ccode_identifier_new ("g_value_get_pointer"); - _tmp224_ = _tmp223_; - vala_ccode_function_call_set_call (_tmp222_, (ValaCCodeExpression*) _tmp224_); - _vala_ccode_node_unref0 (_tmp224_); + ValaCCodeFunctionCall* _tmp234_ = NULL; + ValaCCodeIdentifier* _tmp235_ = NULL; + ValaCCodeIdentifier* _tmp236_ = NULL; + _tmp234_ = cgetcall; + _tmp235_ = vala_ccode_identifier_new ("g_value_get_pointer"); + _tmp236_ = _tmp235_; + vala_ccode_function_call_set_call (_tmp234_, (ValaCCodeExpression*) _tmp236_); + _vala_ccode_node_unref0 (_tmp236_); } - _tmp225_ = cgetcall; - _tmp226_ = vala_ccode_identifier_new ("value"); - _tmp227_ = _tmp226_; - vala_ccode_function_call_add_argument (_tmp225_, (ValaCCodeExpression*) _tmp227_); - _vala_ccode_node_unref0 (_tmp227_); - _tmp228_ = ccall; - _tmp229_ = cgetcall; - vala_ccode_function_call_add_argument (_tmp228_, (ValaCCodeExpression*) _tmp229_); - _tmp230_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); - _tmp231_ = _tmp230_; - _tmp232_ = ccall; - vala_ccode_function_add_expression (_tmp231_, (ValaCCodeExpression*) _tmp232_); + _tmp237_ = cgetcall; + _tmp238_ = vala_ccode_identifier_new ("value"); + _tmp239_ = _tmp238_; + vala_ccode_function_call_add_argument (_tmp237_, (ValaCCodeExpression*) _tmp239_); + _vala_ccode_node_unref0 (_tmp239_); + _tmp240_ = ccall; + _tmp241_ = cgetcall; + vala_ccode_function_call_add_argument (_tmp240_, (ValaCCodeExpression*) _tmp241_); + _tmp242_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); + _tmp243_ = _tmp242_; + _tmp244_ = ccall; + vala_ccode_function_add_expression (_tmp243_, (ValaCCodeExpression*) _tmp244_); _vala_ccode_node_unref0 (cgetcall); } - _tmp233_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); - _tmp234_ = _tmp233_; - vala_ccode_function_add_break (_tmp234_); + _tmp245_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); + _tmp246_ = _tmp245_; + vala_ccode_function_add_break (_tmp246_); _vala_ccode_node_unref0 (cfunc); _vala_ccode_node_unref0 (cself); _vala_code_node_unref0 (base_prop); @@ -3064,320 +3097,320 @@ } { ValaList* _type_param_list = NULL; - ValaClass* _tmp235_ = NULL; - ValaList* _tmp236_ = NULL; + ValaClass* _tmp247_ = NULL; + ValaList* _tmp248_ = NULL; gint _type_param_size = 0; - ValaList* _tmp237_ = NULL; - gint _tmp238_ = 0; - gint _tmp239_ = 0; + ValaList* _tmp249_ = NULL; + gint _tmp250_ = 0; + gint _tmp251_ = 0; gint _type_param_index = 0; - _tmp235_ = cl; - _tmp236_ = vala_object_type_symbol_get_type_parameters ((ValaObjectTypeSymbol*) _tmp235_); - _type_param_list = _tmp236_; - _tmp237_ = _type_param_list; - _tmp238_ = vala_collection_get_size ((ValaCollection*) _tmp237_); - _tmp239_ = _tmp238_; - _type_param_size = _tmp239_; + _tmp247_ = cl; + _tmp248_ = vala_object_type_symbol_get_type_parameters ((ValaObjectTypeSymbol*) _tmp247_); + _type_param_list = _tmp248_; + _tmp249_ = _type_param_list; + _tmp250_ = vala_collection_get_size ((ValaCollection*) _tmp249_); + _tmp251_ = _tmp250_; + _type_param_size = _tmp251_; _type_param_index = -1; while (TRUE) { - gint _tmp240_ = 0; - gint _tmp241_ = 0; - gint _tmp242_ = 0; + gint _tmp252_ = 0; + gint _tmp253_ = 0; + gint _tmp254_ = 0; ValaTypeParameter* type_param = NULL; - ValaList* _tmp243_ = NULL; - gint _tmp244_ = 0; - gpointer _tmp245_ = NULL; + ValaList* _tmp255_ = NULL; + gint _tmp256_ = 0; + gpointer _tmp257_ = NULL; gchar* func_name = NULL; gchar* enum_value = NULL; ValaCCodeMemberAccess* cfield = NULL; ValaCCodeFunctionCall* cgetcall = NULL; - ValaTypeParameter* _tmp246_ = NULL; - const gchar* _tmp247_ = NULL; - const gchar* _tmp248_ = NULL; - gchar* _tmp249_ = NULL; - gchar* _tmp250_ = NULL; - gchar* _tmp251_ = NULL; - ValaClass* _tmp252_ = NULL; - gchar* _tmp253_ = NULL; - gchar* _tmp254_ = NULL; - const gchar* _tmp255_ = NULL; - gchar* _tmp256_ = NULL; - gchar* _tmp257_ = NULL; - gchar* _tmp258_ = NULL; - ValaCCodeFunction* _tmp259_ = NULL; - ValaCCodeFunction* _tmp260_ = NULL; - const gchar* _tmp261_ = NULL; - ValaCCodeIdentifier* _tmp262_ = NULL; - ValaCCodeIdentifier* _tmp263_ = NULL; - ValaCCodeIdentifier* _tmp264_ = NULL; - ValaCCodeIdentifier* _tmp265_ = NULL; - ValaCCodeMemberAccess* _tmp266_ = NULL; - ValaCCodeMemberAccess* _tmp267_ = NULL; - const gchar* _tmp268_ = NULL; - ValaCCodeMemberAccess* _tmp269_ = NULL; - ValaCCodeIdentifier* _tmp270_ = NULL; - ValaCCodeIdentifier* _tmp271_ = NULL; - ValaCCodeFunctionCall* _tmp272_ = NULL; - ValaCCodeFunctionCall* _tmp273_ = NULL; + ValaTypeParameter* _tmp258_ = NULL; + const gchar* _tmp259_ = NULL; + const gchar* _tmp260_ = NULL; + gchar* _tmp261_ = NULL; + gchar* _tmp262_ = NULL; + gchar* _tmp263_ = NULL; + ValaClass* _tmp264_ = NULL; + gchar* _tmp265_ = NULL; + gchar* _tmp266_ = NULL; + const gchar* _tmp267_ = NULL; + gchar* _tmp268_ = NULL; + gchar* _tmp269_ = NULL; + gchar* _tmp270_ = NULL; + ValaCCodeFunction* _tmp271_ = NULL; + ValaCCodeFunction* _tmp272_ = NULL; + const gchar* _tmp273_ = NULL; ValaCCodeIdentifier* _tmp274_ = NULL; ValaCCodeIdentifier* _tmp275_ = NULL; - ValaCCodeFunction* _tmp276_ = NULL; - ValaCCodeFunction* _tmp277_ = NULL; + ValaCCodeIdentifier* _tmp276_ = NULL; + ValaCCodeIdentifier* _tmp277_ = NULL; ValaCCodeMemberAccess* _tmp278_ = NULL; - ValaCCodeFunctionCall* _tmp279_ = NULL; - ValaCCodeFunction* _tmp280_ = NULL; - ValaCCodeFunction* _tmp281_ = NULL; - ValaTypeParameter* _tmp282_ = NULL; - const gchar* _tmp283_ = NULL; - const gchar* _tmp284_ = NULL; - gchar* _tmp285_ = NULL; - gchar* _tmp286_ = NULL; - gchar* _tmp287_ = NULL; - ValaClass* _tmp288_ = NULL; - gchar* _tmp289_ = NULL; - gchar* _tmp290_ = NULL; - const gchar* _tmp291_ = NULL; - gchar* _tmp292_ = NULL; - gchar* _tmp293_ = NULL; - gchar* _tmp294_ = NULL; - ValaCCodeFunction* _tmp295_ = NULL; - ValaCCodeFunction* _tmp296_ = NULL; - const gchar* _tmp297_ = NULL; - ValaCCodeIdentifier* _tmp298_ = NULL; - ValaCCodeIdentifier* _tmp299_ = NULL; - ValaCCodeIdentifier* _tmp300_ = NULL; - ValaCCodeIdentifier* _tmp301_ = NULL; - ValaCCodeMemberAccess* _tmp302_ = NULL; - ValaCCodeMemberAccess* _tmp303_ = NULL; - const gchar* _tmp304_ = NULL; - ValaCCodeMemberAccess* _tmp305_ = NULL; - ValaCCodeIdentifier* _tmp306_ = NULL; - ValaCCodeIdentifier* _tmp307_ = NULL; - ValaCCodeFunctionCall* _tmp308_ = NULL; - ValaCCodeFunctionCall* _tmp309_ = NULL; + ValaCCodeMemberAccess* _tmp279_ = NULL; + const gchar* _tmp280_ = NULL; + ValaCCodeMemberAccess* _tmp281_ = NULL; + ValaCCodeIdentifier* _tmp282_ = NULL; + ValaCCodeIdentifier* _tmp283_ = NULL; + ValaCCodeFunctionCall* _tmp284_ = NULL; + ValaCCodeFunctionCall* _tmp285_ = NULL; + ValaCCodeIdentifier* _tmp286_ = NULL; + ValaCCodeIdentifier* _tmp287_ = NULL; + ValaCCodeFunction* _tmp288_ = NULL; + ValaCCodeFunction* _tmp289_ = NULL; + ValaCCodeMemberAccess* _tmp290_ = NULL; + ValaCCodeFunctionCall* _tmp291_ = NULL; + ValaCCodeFunction* _tmp292_ = NULL; + ValaCCodeFunction* _tmp293_ = NULL; + ValaTypeParameter* _tmp294_ = NULL; + const gchar* _tmp295_ = NULL; + const gchar* _tmp296_ = NULL; + gchar* _tmp297_ = NULL; + gchar* _tmp298_ = NULL; + gchar* _tmp299_ = NULL; + ValaClass* _tmp300_ = NULL; + gchar* _tmp301_ = NULL; + gchar* _tmp302_ = NULL; + const gchar* _tmp303_ = NULL; + gchar* _tmp304_ = NULL; + gchar* _tmp305_ = NULL; + gchar* _tmp306_ = NULL; + ValaCCodeFunction* _tmp307_ = NULL; + ValaCCodeFunction* _tmp308_ = NULL; + const gchar* _tmp309_ = NULL; ValaCCodeIdentifier* _tmp310_ = NULL; ValaCCodeIdentifier* _tmp311_ = NULL; - ValaCCodeFunction* _tmp312_ = NULL; - ValaCCodeFunction* _tmp313_ = NULL; + ValaCCodeIdentifier* _tmp312_ = NULL; + ValaCCodeIdentifier* _tmp313_ = NULL; ValaCCodeMemberAccess* _tmp314_ = NULL; - ValaCCodeFunctionCall* _tmp315_ = NULL; - ValaCCodeFunction* _tmp316_ = NULL; - ValaCCodeFunction* _tmp317_ = NULL; - ValaTypeParameter* _tmp318_ = NULL; - const gchar* _tmp319_ = NULL; - const gchar* _tmp320_ = NULL; - gchar* _tmp321_ = NULL; - gchar* _tmp322_ = NULL; - gchar* _tmp323_ = NULL; - ValaClass* _tmp324_ = NULL; - gchar* _tmp325_ = NULL; - gchar* _tmp326_ = NULL; - const gchar* _tmp327_ = NULL; - gchar* _tmp328_ = NULL; - gchar* _tmp329_ = NULL; - gchar* _tmp330_ = NULL; - ValaCCodeFunction* _tmp331_ = NULL; - ValaCCodeFunction* _tmp332_ = NULL; - const gchar* _tmp333_ = NULL; - ValaCCodeIdentifier* _tmp334_ = NULL; - ValaCCodeIdentifier* _tmp335_ = NULL; - ValaCCodeIdentifier* _tmp336_ = NULL; - ValaCCodeIdentifier* _tmp337_ = NULL; - ValaCCodeMemberAccess* _tmp338_ = NULL; - ValaCCodeMemberAccess* _tmp339_ = NULL; - const gchar* _tmp340_ = NULL; - ValaCCodeMemberAccess* _tmp341_ = NULL; - ValaCCodeIdentifier* _tmp342_ = NULL; - ValaCCodeIdentifier* _tmp343_ = NULL; - ValaCCodeFunctionCall* _tmp344_ = NULL; - ValaCCodeFunctionCall* _tmp345_ = NULL; + ValaCCodeMemberAccess* _tmp315_ = NULL; + const gchar* _tmp316_ = NULL; + ValaCCodeMemberAccess* _tmp317_ = NULL; + ValaCCodeIdentifier* _tmp318_ = NULL; + ValaCCodeIdentifier* _tmp319_ = NULL; + ValaCCodeFunctionCall* _tmp320_ = NULL; + ValaCCodeFunctionCall* _tmp321_ = NULL; + ValaCCodeIdentifier* _tmp322_ = NULL; + ValaCCodeIdentifier* _tmp323_ = NULL; + ValaCCodeFunction* _tmp324_ = NULL; + ValaCCodeFunction* _tmp325_ = NULL; + ValaCCodeMemberAccess* _tmp326_ = NULL; + ValaCCodeFunctionCall* _tmp327_ = NULL; + ValaCCodeFunction* _tmp328_ = NULL; + ValaCCodeFunction* _tmp329_ = NULL; + ValaTypeParameter* _tmp330_ = NULL; + const gchar* _tmp331_ = NULL; + const gchar* _tmp332_ = NULL; + gchar* _tmp333_ = NULL; + gchar* _tmp334_ = NULL; + gchar* _tmp335_ = NULL; + ValaClass* _tmp336_ = NULL; + gchar* _tmp337_ = NULL; + gchar* _tmp338_ = NULL; + const gchar* _tmp339_ = NULL; + gchar* _tmp340_ = NULL; + gchar* _tmp341_ = NULL; + gchar* _tmp342_ = NULL; + ValaCCodeFunction* _tmp343_ = NULL; + ValaCCodeFunction* _tmp344_ = NULL; + const gchar* _tmp345_ = NULL; ValaCCodeIdentifier* _tmp346_ = NULL; ValaCCodeIdentifier* _tmp347_ = NULL; - ValaCCodeFunction* _tmp348_ = NULL; - ValaCCodeFunction* _tmp349_ = NULL; + ValaCCodeIdentifier* _tmp348_ = NULL; + ValaCCodeIdentifier* _tmp349_ = NULL; ValaCCodeMemberAccess* _tmp350_ = NULL; - ValaCCodeFunctionCall* _tmp351_ = NULL; - ValaCCodeFunction* _tmp352_ = NULL; - ValaCCodeFunction* _tmp353_ = NULL; - _tmp240_ = _type_param_index; - _type_param_index = _tmp240_ + 1; - _tmp241_ = _type_param_index; - _tmp242_ = _type_param_size; - if (!(_tmp241_ < _tmp242_)) { + ValaCCodeMemberAccess* _tmp351_ = NULL; + const gchar* _tmp352_ = NULL; + ValaCCodeMemberAccess* _tmp353_ = NULL; + ValaCCodeIdentifier* _tmp354_ = NULL; + ValaCCodeIdentifier* _tmp355_ = NULL; + ValaCCodeFunctionCall* _tmp356_ = NULL; + ValaCCodeFunctionCall* _tmp357_ = NULL; + ValaCCodeIdentifier* _tmp358_ = NULL; + ValaCCodeIdentifier* _tmp359_ = NULL; + ValaCCodeFunction* _tmp360_ = NULL; + ValaCCodeFunction* _tmp361_ = NULL; + ValaCCodeMemberAccess* _tmp362_ = NULL; + ValaCCodeFunctionCall* _tmp363_ = NULL; + ValaCCodeFunction* _tmp364_ = NULL; + ValaCCodeFunction* _tmp365_ = NULL; + _tmp252_ = _type_param_index; + _type_param_index = _tmp252_ + 1; + _tmp253_ = _type_param_index; + _tmp254_ = _type_param_size; + if (!(_tmp253_ < _tmp254_)) { break; } - _tmp243_ = _type_param_list; - _tmp244_ = _type_param_index; - _tmp245_ = vala_list_get (_tmp243_, _tmp244_); - type_param = (ValaTypeParameter*) _tmp245_; - _tmp246_ = type_param; - _tmp247_ = vala_symbol_get_name ((ValaSymbol*) _tmp246_); - _tmp248_ = _tmp247_; - _tmp249_ = g_ascii_strdown (_tmp248_, (gssize) (-1)); - _tmp250_ = _tmp249_; - _tmp251_ = g_strdup_printf ("%s_type", _tmp250_); + _tmp255_ = _type_param_list; + _tmp256_ = _type_param_index; + _tmp257_ = vala_list_get (_tmp255_, _tmp256_); + type_param = (ValaTypeParameter*) _tmp257_; + _tmp258_ = type_param; + _tmp259_ = vala_symbol_get_name ((ValaSymbol*) _tmp258_); + _tmp260_ = _tmp259_; + _tmp261_ = g_ascii_strdown (_tmp260_, (gssize) (-1)); + _tmp262_ = _tmp261_; + _tmp263_ = g_strdup_printf ("%s_type", _tmp262_); _g_free0 (func_name); - func_name = _tmp251_; - _g_free0 (_tmp250_); - _tmp252_ = cl; - _tmp253_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp252_, NULL); - _tmp254_ = _tmp253_; - _tmp255_ = func_name; - _tmp256_ = g_strdup_printf ("%s_%s", _tmp254_, _tmp255_); - _tmp257_ = _tmp256_; - _tmp258_ = g_ascii_strup (_tmp257_, (gssize) (-1)); + func_name = _tmp263_; + _g_free0 (_tmp262_); + _tmp264_ = cl; + _tmp265_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp264_, NULL); + _tmp266_ = _tmp265_; + _tmp267_ = func_name; + _tmp268_ = g_strdup_printf ("%s_%s", _tmp266_, _tmp267_); + _tmp269_ = _tmp268_; + _tmp270_ = g_ascii_strup (_tmp269_, (gssize) (-1)); _g_free0 (enum_value); - enum_value = _tmp258_; - _g_free0 (_tmp257_); - _g_free0 (_tmp254_); - _tmp259_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); - _tmp260_ = _tmp259_; - _tmp261_ = enum_value; - _tmp262_ = vala_ccode_identifier_new (_tmp261_); - _tmp263_ = _tmp262_; - vala_ccode_function_add_case (_tmp260_, (ValaCCodeExpression*) _tmp263_); - _vala_ccode_node_unref0 (_tmp263_); - _tmp264_ = vala_ccode_identifier_new ("self"); - _tmp265_ = _tmp264_; - _tmp266_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp265_, "priv"); - _tmp267_ = _tmp266_; - _tmp268_ = func_name; - _tmp269_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp267_, _tmp268_); - _vala_ccode_node_unref0 (cfield); - cfield = _tmp269_; - _vala_ccode_node_unref0 (_tmp267_); - _vala_ccode_node_unref0 (_tmp265_); - _tmp270_ = vala_ccode_identifier_new ("g_value_get_gtype"); - _tmp271_ = _tmp270_; - _tmp272_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp271_); - _vala_ccode_node_unref0 (cgetcall); - cgetcall = _tmp272_; - _vala_ccode_node_unref0 (_tmp271_); - _tmp273_ = cgetcall; - _tmp274_ = vala_ccode_identifier_new ("value"); + enum_value = _tmp270_; + _g_free0 (_tmp269_); + _g_free0 (_tmp266_); + _tmp271_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); + _tmp272_ = _tmp271_; + _tmp273_ = enum_value; + _tmp274_ = vala_ccode_identifier_new (_tmp273_); _tmp275_ = _tmp274_; - vala_ccode_function_call_add_argument (_tmp273_, (ValaCCodeExpression*) _tmp275_); + vala_ccode_function_add_case (_tmp272_, (ValaCCodeExpression*) _tmp275_); _vala_ccode_node_unref0 (_tmp275_); - _tmp276_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); + _tmp276_ = vala_ccode_identifier_new ("self"); _tmp277_ = _tmp276_; - _tmp278_ = cfield; - _tmp279_ = cgetcall; - vala_ccode_function_add_assignment (_tmp277_, (ValaCCodeExpression*) _tmp278_, (ValaCCodeExpression*) _tmp279_); - _tmp280_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); - _tmp281_ = _tmp280_; - vala_ccode_function_add_break (_tmp281_); - _tmp282_ = type_param; - _tmp283_ = vala_symbol_get_name ((ValaSymbol*) _tmp282_); - _tmp284_ = _tmp283_; - _tmp285_ = g_ascii_strdown (_tmp284_, (gssize) (-1)); - _tmp286_ = _tmp285_; - _tmp287_ = g_strdup_printf ("%s_dup_func", _tmp286_); - _g_free0 (func_name); - func_name = _tmp287_; - _g_free0 (_tmp286_); - _tmp288_ = cl; - _tmp289_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp288_, NULL); - _tmp290_ = _tmp289_; - _tmp291_ = func_name; - _tmp292_ = g_strdup_printf ("%s_%s", _tmp290_, _tmp291_); - _tmp293_ = _tmp292_; - _tmp294_ = g_ascii_strup (_tmp293_, (gssize) (-1)); - _g_free0 (enum_value); - enum_value = _tmp294_; - _g_free0 (_tmp293_); - _g_free0 (_tmp290_); - _tmp295_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); - _tmp296_ = _tmp295_; - _tmp297_ = enum_value; - _tmp298_ = vala_ccode_identifier_new (_tmp297_); - _tmp299_ = _tmp298_; - vala_ccode_function_add_case (_tmp296_, (ValaCCodeExpression*) _tmp299_); - _vala_ccode_node_unref0 (_tmp299_); - _tmp300_ = vala_ccode_identifier_new ("self"); - _tmp301_ = _tmp300_; - _tmp302_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp301_, "priv"); - _tmp303_ = _tmp302_; - _tmp304_ = func_name; - _tmp305_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp303_, _tmp304_); + _tmp278_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp277_, "priv"); + _tmp279_ = _tmp278_; + _tmp280_ = func_name; + _tmp281_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp279_, _tmp280_); _vala_ccode_node_unref0 (cfield); - cfield = _tmp305_; - _vala_ccode_node_unref0 (_tmp303_); - _vala_ccode_node_unref0 (_tmp301_); - _tmp306_ = vala_ccode_identifier_new ("g_value_get_pointer"); - _tmp307_ = _tmp306_; - _tmp308_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp307_); + cfield = _tmp281_; + _vala_ccode_node_unref0 (_tmp279_); + _vala_ccode_node_unref0 (_tmp277_); + _tmp282_ = vala_ccode_identifier_new ("g_value_get_gtype"); + _tmp283_ = _tmp282_; + _tmp284_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp283_); _vala_ccode_node_unref0 (cgetcall); - cgetcall = _tmp308_; - _vala_ccode_node_unref0 (_tmp307_); - _tmp309_ = cgetcall; - _tmp310_ = vala_ccode_identifier_new ("value"); + cgetcall = _tmp284_; + _vala_ccode_node_unref0 (_tmp283_); + _tmp285_ = cgetcall; + _tmp286_ = vala_ccode_identifier_new ("value"); + _tmp287_ = _tmp286_; + vala_ccode_function_call_add_argument (_tmp285_, (ValaCCodeExpression*) _tmp287_); + _vala_ccode_node_unref0 (_tmp287_); + _tmp288_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); + _tmp289_ = _tmp288_; + _tmp290_ = cfield; + _tmp291_ = cgetcall; + vala_ccode_function_add_assignment (_tmp289_, (ValaCCodeExpression*) _tmp290_, (ValaCCodeExpression*) _tmp291_); + _tmp292_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); + _tmp293_ = _tmp292_; + vala_ccode_function_add_break (_tmp293_); + _tmp294_ = type_param; + _tmp295_ = vala_symbol_get_name ((ValaSymbol*) _tmp294_); + _tmp296_ = _tmp295_; + _tmp297_ = g_ascii_strdown (_tmp296_, (gssize) (-1)); + _tmp298_ = _tmp297_; + _tmp299_ = g_strdup_printf ("%s_dup_func", _tmp298_); + _g_free0 (func_name); + func_name = _tmp299_; + _g_free0 (_tmp298_); + _tmp300_ = cl; + _tmp301_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp300_, NULL); + _tmp302_ = _tmp301_; + _tmp303_ = func_name; + _tmp304_ = g_strdup_printf ("%s_%s", _tmp302_, _tmp303_); + _tmp305_ = _tmp304_; + _tmp306_ = g_ascii_strup (_tmp305_, (gssize) (-1)); + _g_free0 (enum_value); + enum_value = _tmp306_; + _g_free0 (_tmp305_); + _g_free0 (_tmp302_); + _tmp307_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); + _tmp308_ = _tmp307_; + _tmp309_ = enum_value; + _tmp310_ = vala_ccode_identifier_new (_tmp309_); _tmp311_ = _tmp310_; - vala_ccode_function_call_add_argument (_tmp309_, (ValaCCodeExpression*) _tmp311_); + vala_ccode_function_add_case (_tmp308_, (ValaCCodeExpression*) _tmp311_); _vala_ccode_node_unref0 (_tmp311_); - _tmp312_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); + _tmp312_ = vala_ccode_identifier_new ("self"); _tmp313_ = _tmp312_; - _tmp314_ = cfield; - _tmp315_ = cgetcall; - vala_ccode_function_add_assignment (_tmp313_, (ValaCCodeExpression*) _tmp314_, (ValaCCodeExpression*) _tmp315_); - _tmp316_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); - _tmp317_ = _tmp316_; - vala_ccode_function_add_break (_tmp317_); - _tmp318_ = type_param; - _tmp319_ = vala_symbol_get_name ((ValaSymbol*) _tmp318_); - _tmp320_ = _tmp319_; - _tmp321_ = g_ascii_strdown (_tmp320_, (gssize) (-1)); - _tmp322_ = _tmp321_; - _tmp323_ = g_strdup_printf ("%s_destroy_func", _tmp322_); - _g_free0 (func_name); - func_name = _tmp323_; - _g_free0 (_tmp322_); - _tmp324_ = cl; - _tmp325_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp324_, NULL); - _tmp326_ = _tmp325_; - _tmp327_ = func_name; - _tmp328_ = g_strdup_printf ("%s_%s", _tmp326_, _tmp327_); - _tmp329_ = _tmp328_; - _tmp330_ = g_ascii_strup (_tmp329_, (gssize) (-1)); - _g_free0 (enum_value); - enum_value = _tmp330_; - _g_free0 (_tmp329_); - _g_free0 (_tmp326_); - _tmp331_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); - _tmp332_ = _tmp331_; - _tmp333_ = enum_value; - _tmp334_ = vala_ccode_identifier_new (_tmp333_); - _tmp335_ = _tmp334_; - vala_ccode_function_add_case (_tmp332_, (ValaCCodeExpression*) _tmp335_); - _vala_ccode_node_unref0 (_tmp335_); - _tmp336_ = vala_ccode_identifier_new ("self"); - _tmp337_ = _tmp336_; - _tmp338_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp337_, "priv"); - _tmp339_ = _tmp338_; - _tmp340_ = func_name; - _tmp341_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp339_, _tmp340_); + _tmp314_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp313_, "priv"); + _tmp315_ = _tmp314_; + _tmp316_ = func_name; + _tmp317_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp315_, _tmp316_); _vala_ccode_node_unref0 (cfield); - cfield = _tmp341_; - _vala_ccode_node_unref0 (_tmp339_); - _vala_ccode_node_unref0 (_tmp337_); - _tmp342_ = vala_ccode_identifier_new ("g_value_get_pointer"); - _tmp343_ = _tmp342_; - _tmp344_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp343_); + cfield = _tmp317_; + _vala_ccode_node_unref0 (_tmp315_); + _vala_ccode_node_unref0 (_tmp313_); + _tmp318_ = vala_ccode_identifier_new ("g_value_get_pointer"); + _tmp319_ = _tmp318_; + _tmp320_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp319_); _vala_ccode_node_unref0 (cgetcall); - cgetcall = _tmp344_; - _vala_ccode_node_unref0 (_tmp343_); - _tmp345_ = cgetcall; - _tmp346_ = vala_ccode_identifier_new ("value"); + cgetcall = _tmp320_; + _vala_ccode_node_unref0 (_tmp319_); + _tmp321_ = cgetcall; + _tmp322_ = vala_ccode_identifier_new ("value"); + _tmp323_ = _tmp322_; + vala_ccode_function_call_add_argument (_tmp321_, (ValaCCodeExpression*) _tmp323_); + _vala_ccode_node_unref0 (_tmp323_); + _tmp324_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); + _tmp325_ = _tmp324_; + _tmp326_ = cfield; + _tmp327_ = cgetcall; + vala_ccode_function_add_assignment (_tmp325_, (ValaCCodeExpression*) _tmp326_, (ValaCCodeExpression*) _tmp327_); + _tmp328_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); + _tmp329_ = _tmp328_; + vala_ccode_function_add_break (_tmp329_); + _tmp330_ = type_param; + _tmp331_ = vala_symbol_get_name ((ValaSymbol*) _tmp330_); + _tmp332_ = _tmp331_; + _tmp333_ = g_ascii_strdown (_tmp332_, (gssize) (-1)); + _tmp334_ = _tmp333_; + _tmp335_ = g_strdup_printf ("%s_destroy_func", _tmp334_); + _g_free0 (func_name); + func_name = _tmp335_; + _g_free0 (_tmp334_); + _tmp336_ = cl; + _tmp337_ = vala_ccode_base_module_get_ccode_lower_case_name ((ValaCodeNode*) _tmp336_, NULL); + _tmp338_ = _tmp337_; + _tmp339_ = func_name; + _tmp340_ = g_strdup_printf ("%s_%s", _tmp338_, _tmp339_); + _tmp341_ = _tmp340_; + _tmp342_ = g_ascii_strup (_tmp341_, (gssize) (-1)); + _g_free0 (enum_value); + enum_value = _tmp342_; + _g_free0 (_tmp341_); + _g_free0 (_tmp338_); + _tmp343_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); + _tmp344_ = _tmp343_; + _tmp345_ = enum_value; + _tmp346_ = vala_ccode_identifier_new (_tmp345_); _tmp347_ = _tmp346_; - vala_ccode_function_call_add_argument (_tmp345_, (ValaCCodeExpression*) _tmp347_); + vala_ccode_function_add_case (_tmp344_, (ValaCCodeExpression*) _tmp347_); _vala_ccode_node_unref0 (_tmp347_); - _tmp348_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); + _tmp348_ = vala_ccode_identifier_new ("self"); _tmp349_ = _tmp348_; - _tmp350_ = cfield; - _tmp351_ = cgetcall; - vala_ccode_function_add_assignment (_tmp349_, (ValaCCodeExpression*) _tmp350_, (ValaCCodeExpression*) _tmp351_); - _tmp352_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); - _tmp353_ = _tmp352_; - vala_ccode_function_add_break (_tmp353_); + _tmp350_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp349_, "priv"); + _tmp351_ = _tmp350_; + _tmp352_ = func_name; + _tmp353_ = vala_ccode_member_access_new_pointer ((ValaCCodeExpression*) _tmp351_, _tmp352_); + _vala_ccode_node_unref0 (cfield); + cfield = _tmp353_; + _vala_ccode_node_unref0 (_tmp351_); + _vala_ccode_node_unref0 (_tmp349_); + _tmp354_ = vala_ccode_identifier_new ("g_value_get_pointer"); + _tmp355_ = _tmp354_; + _tmp356_ = vala_ccode_function_call_new ((ValaCCodeExpression*) _tmp355_); + _vala_ccode_node_unref0 (cgetcall); + cgetcall = _tmp356_; + _vala_ccode_node_unref0 (_tmp355_); + _tmp357_ = cgetcall; + _tmp358_ = vala_ccode_identifier_new ("value"); + _tmp359_ = _tmp358_; + vala_ccode_function_call_add_argument (_tmp357_, (ValaCCodeExpression*) _tmp359_); + _vala_ccode_node_unref0 (_tmp359_); + _tmp360_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); + _tmp361_ = _tmp360_; + _tmp362_ = cfield; + _tmp363_ = cgetcall; + vala_ccode_function_add_assignment (_tmp361_, (ValaCCodeExpression*) _tmp362_, (ValaCCodeExpression*) _tmp363_); + _tmp364_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); + _tmp365_ = _tmp364_; + vala_ccode_function_add_break (_tmp365_); _vala_ccode_node_unref0 (cgetcall); _vala_ccode_node_unref0 (cfield); _g_free0 (enum_value); @@ -3386,23 +3419,23 @@ } _vala_iterable_unref0 (_type_param_list); } - _tmp354_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); - _tmp355_ = _tmp354_; - vala_ccode_function_add_default (_tmp355_); + _tmp366_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); + _tmp367_ = _tmp366_; + vala_ccode_function_add_default (_tmp367_); vala_gobject_module_emit_invalid_property_id_warn (self); - _tmp356_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); - _tmp357_ = _tmp356_; - vala_ccode_function_add_break (_tmp357_); - _tmp358_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); - _tmp359_ = _tmp358_; - vala_ccode_function_close (_tmp359_); + _tmp368_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); + _tmp369_ = _tmp368_; + vala_ccode_function_add_break (_tmp369_); + _tmp370_ = vala_ccode_base_module_get_ccode ((ValaCCodeBaseModule*) self); + _tmp371_ = _tmp370_; + vala_ccode_function_close (_tmp371_); vala_ccode_base_module_pop_function ((ValaCCodeBaseModule*) self); - _tmp360_ = ((ValaCCodeBaseModule*) self)->cfile; - _tmp361_ = set_prop; - vala_ccode_file_add_function_declaration (_tmp360_, _tmp361_); - _tmp362_ = ((ValaCCodeBaseModule*) self)->cfile; - _tmp363_ = set_prop; - vala_ccode_file_add_function (_tmp362_, _tmp363_); + _tmp372_ = ((ValaCCodeBaseModule*) self)->cfile; + _tmp373_ = set_prop; + vala_ccode_file_add_function_declaration (_tmp372_, _tmp373_); + _tmp374_ = ((ValaCCodeBaseModule*) self)->cfile; + _tmp375_ = set_prop; + vala_ccode_file_add_function (_tmp374_, _tmp375_); _vala_iterable_unref0 (props); _vala_ccode_node_unref0 (ccall); _vala_ccode_node_unref0 (set_prop); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vala-0.28.0/codegen/valagobjectmodule.vala new/vala-0.28.1/codegen/valagobjectmodule.vala --- old/vala-0.28.0/codegen/valagobjectmodule.vala 2015-03-17 16:37:44.000000000 +0100 +++ new/vala-0.28.1/codegen/valagobjectmodule.vala 2015-08-11 21:07:30.000000000 +0200 @@ -333,9 +333,12 @@ ccode.add_assignment (new CCodeIdentifier ("boxed"), cgetcall); ccall.add_argument (new CCodeIdentifier ("boxed")); + var cisnull = new CCodeBinaryExpression (CCodeBinaryOperator.EQUALITY, new CCodeIdentifier ("boxed"), new CCodeConstant ("NULL")); var cstrvlen = new CCodeFunctionCall (new CCodeIdentifier ("g_strv_length")); cstrvlen.add_argument (new CCodeIdentifier ("boxed")); - ccall.add_argument (cstrvlen); + var ccond = new CCodeConditionalExpression (cisnull, new CCodeConstant ("0"), cstrvlen); + + ccall.add_argument (ccond); ccode.add_expression (ccall); ccode.close (); } else { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vala-0.28.0/configure new/vala-0.28.1/configure --- old/vala-0.28.0/configure 2015-03-22 20:53:11.000000000 +0100 +++ new/vala-0.28.1/configure 2015-08-11 21:10:05.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for vala 0.28.0. +# Generated by GNU Autoconf 2.69 for vala 0.28.1. # # Report bugs to <j...@bitron.ch>. # @@ -589,8 +589,8 @@ # Identity of this package. PACKAGE_NAME='vala' PACKAGE_TARNAME='vala' -PACKAGE_VERSION='0.28.0' -PACKAGE_STRING='vala 0.28.0' +PACKAGE_VERSION='0.28.1' +PACKAGE_STRING='vala 0.28.1' PACKAGE_BUGREPORT='j...@bitron.ch' PACKAGE_URL='' @@ -1354,7 +1354,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures vala 0.28.0 to adapt to many kinds of systems. +\`configure' configures vala 0.28.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1424,7 +1424,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of vala 0.28.0:";; + short | recursive ) echo "Configuration of vala 0.28.1:";; esac cat <<\_ACEOF @@ -1554,7 +1554,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -vala configure 0.28.0 +vala configure 0.28.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1832,7 +1832,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by vala $as_me 0.28.0, which was +It was created by vala $as_me 0.28.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2699,7 +2699,7 @@ # Define the identity of the package. PACKAGE='vala' - VERSION='0.28.0' + VERSION='0.28.1' cat >>confdefs.h <<_ACEOF @@ -13306,7 +13306,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by vala $as_me 0.28.0, which was +This file was extended by vala $as_me 0.28.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -13372,7 +13372,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -vala config.status 0.28.0 +vala config.status 0.28.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vala-0.28.0/tests/Makefile.am new/vala-0.28.1/tests/Makefile.am --- old/vala-0.28.0/tests/Makefile.am 2015-03-17 16:37:44.000000000 +0100 +++ new/vala-0.28.1/tests/Makefile.am 2015-08-11 21:07:30.000000000 +0200 @@ -112,6 +112,7 @@ structs/bug685177.vala \ structs/bug686190.vala \ structs/bug690380.vala \ + structs/bug749952.vala \ delegates/delegates.vala \ delegates/bug539166.vala \ delegates/bug595610.vala \ @@ -162,6 +163,7 @@ objects/bug701978.vala \ objects/bug702736.vala \ objects/bug702846.vala \ + objects/bug751338.vala \ errors/errors.vala \ errors/bug567181.vala \ errors/bug579101.vala \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vala-0.28.0/tests/Makefile.in new/vala-0.28.1/tests/Makefile.in --- old/vala-0.28.0/tests/Makefile.in 2015-03-22 20:53:12.000000000 +0100 +++ new/vala-0.28.1/tests/Makefile.in 2015-08-11 21:10:06.000000000 +0200 @@ -136,11 +136,12 @@ structs/bug661945.vala structs/bug667890.vala \ structs/bug669580.vala structs/bug685177.vala \ structs/bug686190.vala structs/bug690380.vala \ - delegates/delegates.vala delegates/bug539166.vala \ - delegates/bug595610.vala delegates/bug595639.vala \ - delegates/bug638415.vala delegates/bug639751.vala \ - delegates/bug659778.vala delegates/bug703804.vala \ - objects/chainup.vala objects/classes.vala objects/fields.vala \ + structs/bug749952.vala delegates/delegates.vala \ + delegates/bug539166.vala delegates/bug595610.vala \ + delegates/bug595639.vala delegates/bug638415.vala \ + delegates/bug639751.vala delegates/bug659778.vala \ + delegates/bug703804.vala objects/chainup.vala \ + objects/classes.vala objects/fields.vala \ objects/interfaces.vala objects/methods.vala \ objects/properties.vala objects/regex.vala \ objects/signals.vala objects/test-025.vala \ @@ -160,8 +161,8 @@ objects/bug664529.vala objects/bug667668.vala \ objects/bug683646.vala objects/bug695671.vala \ objects/bug701978.vala objects/bug702736.vala \ - objects/bug702846.vala errors/errors.vala \ - errors/bug567181.vala errors/bug579101.vala \ + objects/bug702846.vala objects/bug751338.vala \ + errors/errors.vala errors/bug567181.vala errors/bug579101.vala \ errors/bug596228.vala errors/bug623049.vala \ errors/bug639589.vala errors/bug651145.vala \ asynchronous/bug595735.vala asynchronous/bug595755.vala \ @@ -1443,6 +1444,13 @@ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) +structs/bug749952.vala.log: structs/bug749952.vala + @p='structs/bug749952.vala'; \ + b='structs/bug749952.vala'; \ + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ + --log-file $$b.log --trs-file $$b.trs \ + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ + "$$tst" $(AM_TESTS_FD_REDIRECT) delegates/delegates.vala.log: delegates/delegates.vala @p='delegates/delegates.vala'; \ b='delegates/delegates.vala'; \ @@ -1792,6 +1800,13 @@ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ + "$$tst" $(AM_TESTS_FD_REDIRECT) +objects/bug751338.vala.log: objects/bug751338.vala + @p='objects/bug751338.vala'; \ + b='objects/bug751338.vala'; \ + $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ + --log-file $$b.log --trs-file $$b.trs \ + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) errors/errors.vala.log: errors/errors.vala @p='errors/errors.vala'; \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vala-0.28.0/tests/objects/bug751338.vala new/vala-0.28.1/tests/objects/bug751338.vala --- old/vala-0.28.0/tests/objects/bug751338.vala 1970-01-01 01:00:00.000000000 +0100 +++ new/vala-0.28.1/tests/objects/bug751338.vala 2015-08-11 21:07:30.000000000 +0200 @@ -0,0 +1,27 @@ +public class Foo : Object { + public string[]? strings { + get { return this._strings; } + set { this._strings = value; } + } + + private string[]? _strings; +} + +void main() { + string[]? strings; + var f = new Foo(); + + f.set("strings", new string[]{ "foo", "bar" }); + f.get("strings", out strings); + assert (strings[0] == "foo"); + assert (strings[1] == "bar"); + + f.set("strings", null); + f.get("strings", out strings); + assert(strings == null); + + f.set("strings", new string[]{ "foo", "bar" }); + f.get("strings", out strings); + assert (strings[0] == "foo"); + assert (strings[1] == "bar"); +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vala-0.28.0/tests/structs/bug749952.vala new/vala-0.28.1/tests/structs/bug749952.vala --- old/vala-0.28.0/tests/structs/bug749952.vala 1970-01-01 01:00:00.000000000 +0100 +++ new/vala-0.28.1/tests/structs/bug749952.vala 2015-08-11 21:05:28.000000000 +0200 @@ -0,0 +1,14 @@ +struct Foo { + int i; +} + +struct Bar : Foo { +} + +void main () { + Bar b1 = {}; + Bar b2 = {}; + + assert (b1 == b2); + assert (b2 == b1); +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vala-0.28.0/vapi/atk.vapi new/vala-0.28.1/vapi/atk.vapi --- old/vala-0.28.0/vapi/atk.vapi 2015-02-03 13:16:01.000000000 +0100 +++ new/vala-0.28.1/vapi/atk.vapi 2015-08-11 21:05:28.000000000 +0200 @@ -23,7 +23,7 @@ public virtual int get_start_index (); public virtual string get_uri (int i); public bool is_inline (); - [Deprecated] + [Deprecated (since = "1.8")] public virtual bool is_selected_link (); public virtual bool is_valid (); [NoWrapper] @@ -31,7 +31,7 @@ public int end_index { get; } [NoAccessorMethod] public int number_of_anchors { get; } - [Deprecated] + [Deprecated (since = "1.8")] [NoAccessorMethod] public bool selected_link { get; } public int start_index { get; } @@ -135,7 +135,7 @@ public double accessible_value { get; set; } public virtual signal void active_descendant_changed (void* child); public virtual signal void children_changed (uint change_index, void* changed_child); - [Deprecated] + [Deprecated (since = "2.9.4")] public virtual signal void focus_event (bool focus_in); public virtual signal void property_change (void* values); public virtual signal void state_change (string name, bool state_set); @@ -254,17 +254,17 @@ [CCode (has_construct_function = false)] protected Util (); [CCode (cheader_filename = "atk/atk.h", cname = "atk_add_focus_tracker")] - [Deprecated] + [Deprecated (since = "2.9.4")] public static uint add_focus_tracker (Atk.EventListener focus_tracker); [CCode (cheader_filename = "atk/atk.h", cname = "atk_add_global_event_listener")] public static uint add_global_event_listener ([CCode (type = "GSignalEmissionHook")] Atk.SignalEmissionHook listener, string event_type); [CCode (cheader_filename = "atk/atk.h", cname = "atk_add_key_event_listener")] public static uint add_key_event_listener (Atk.KeySnoopFunc listener); [CCode (cheader_filename = "atk/atk.h", cname = "atk_focus_tracker_init")] - [Deprecated] + [Deprecated (since = "2.9.4")] public static void focus_tracker_init (Atk.EventListenerInit init); [CCode (cheader_filename = "atk/atk.h", cname = "atk_focus_tracker_notify")] - [Deprecated] + [Deprecated (since = "2.9.4")] public static void focus_tracker_notify (Atk.Object object); [CCode (cheader_filename = "atk/atk.h", cname = "atk_get_focus_object")] public static unowned Atk.Object get_focus_object (); @@ -277,7 +277,7 @@ [CCode (cheader_filename = "atk/atk.h", cname = "atk_get_version")] public static unowned string get_version (); [CCode (cheader_filename = "atk/atk.h", cname = "atk_remove_focus_tracker")] - [Deprecated] + [Deprecated (since = "2.9.4")] public static void remove_focus_tracker (uint tracker_id); [CCode (cheader_filename = "atk/atk.h", cname = "atk_remove_global_event_listener")] public static void remove_global_event_listener (uint listener_id); @@ -296,7 +296,7 @@ } [CCode (cheader_filename = "atk/atk.h", type_id = "atk_component_get_type ()")] public interface Component : GLib.Object { - [Deprecated] + [Deprecated (since = "2.9.4")] public abstract uint add_focus_handler (Atk.FocusHandler handler); public abstract bool contains (int x, int y, Atk.CoordType coord_type); public abstract double get_alpha (); @@ -309,7 +309,7 @@ public abstract void get_size (int width, int height); public abstract bool grab_focus (); public abstract Atk.Object? ref_accessible_at_point (int x, int y, Atk.CoordType coord_type); - [Deprecated] + [Deprecated (since = "2.9.4")] public abstract void remove_focus_handler (uint handler_id); public abstract bool set_extents (int x, int y, int width, int height, Atk.CoordType coord_type); public abstract bool set_position (int x, int y, Atk.CoordType coord_type); @@ -330,7 +330,7 @@ [Deprecated] public virtual unowned string get_document_type (); [CCode (vfunc_name = "get_document_locale")] - [Deprecated] + [Deprecated (since = "2.7.90")] public virtual unowned string get_locale (); public virtual int get_page_count (); [CCode (vfunc_name = "set_document_attribute")] @@ -469,18 +469,18 @@ public abstract string get_selection (int selection_num, out int start_offset, out int end_offset); public abstract string? get_string_at_offset (int offset, Atk.TextGranularity granularity, out int start_offset, out int end_offset); public abstract string get_text (int start_offset, int end_offset); - [Deprecated] + [Deprecated (since = "2.9.3")] public abstract string get_text_after_offset (int offset, Atk.TextBoundary boundary_type, out int start_offset, out int end_offset); [Deprecated] public abstract string get_text_at_offset (int offset, Atk.TextBoundary boundary_type, out int start_offset, out int end_offset); - [Deprecated] + [Deprecated (since = "2.9.3")] public abstract string get_text_before_offset (int offset, Atk.TextBoundary boundary_type, out int start_offset, out int end_offset); public abstract bool remove_selection (int selection_num); public abstract bool set_caret_offset (int offset); public abstract bool set_selection (int selection_num, int start_offset, int end_offset); public virtual signal void text_attributes_changed (); public virtual signal void text_caret_moved (int location); - [Deprecated] + [Deprecated (since = "2.9.4")] public virtual signal void text_changed (int position, int length); public signal void text_insert (int arg1, int arg2, string arg3); public signal void text_remove (int arg1, int arg2, string arg3); @@ -901,7 +901,7 @@ [CCode (cheader_filename = "atk/atk.h", has_target = false)] public delegate void EventListenerInit (); [CCode (cheader_filename = "atk/atk.h", has_target = false)] - [Deprecated] + [Deprecated (since = "2.9.4")] public delegate void FocusHandler (Atk.Object object, bool focus_in); [CCode (cheader_filename = "atk/atk.h", instance_pos = 0.9)] public delegate bool Function (); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vala-0.28.0/vapi/glib-2.0.vapi new/vala-0.28.1/vapi/glib-2.0.vapi --- old/vala-0.28.0/vapi/glib-2.0.vapi 2015-03-18 20:48:14.000000000 +0100 +++ new/vala-0.28.1/vapi/glib-2.0.vapi 2015-08-11 21:05:28.000000000 +0200 @@ -3315,11 +3315,7 @@ } [Compact] -#if GLIB_2_44 - [CCode (ref_function = "g_option_context_ref", unref_function = "g_option_context_unref", type_id = "G_TYPE_OPTION_GROUP")] -#else [CCode (free_function = "g_option_context_free")] -#endif public class OptionContext { public OptionContext (string? parameter_string = null); public void set_summary (string summary); @@ -3383,7 +3379,11 @@ } [Compact] +#if GLIB_2_44 + [CCode (ref_function = "g_option_group_ref", unref_function = "g_option_group_unref", type_id = "G_TYPE_OPTION_GROUP")] +#else [CCode (free_function = "g_option_group_free")] +#endif public class OptionGroup { public OptionGroup (string name, string description, string help_description, void* user_data = null, DestroyNotify? destroy = null); public void add_entries ([CCode (array_length = false)] OptionEntry[] entries); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vala-0.28.0/vapi/gtk+-3.0.vapi new/vala-0.28.1/vapi/gtk+-3.0.vapi --- old/vala-0.28.0/vapi/gtk+-3.0.vapi 2015-03-17 20:27:36.000000000 +0100 +++ new/vala-0.28.1/vapi/gtk+-3.0.vapi 2015-08-11 21:05:28.000000000 +0200 @@ -5487,6 +5487,10 @@ [NoAccessorMethod] public bool strikethrough { get; set; } [NoAccessorMethod] + public Gdk.RGBA strikethrough_rgba { get; set; } + [NoAccessorMethod] + public bool strikethrough_rgba_set { get; set; } + [NoAccessorMethod] public bool strikethrough_set { get; set; } [NoAccessorMethod] public Pango.Style style { get; set; } @@ -5499,6 +5503,10 @@ [NoAccessorMethod] public Pango.Underline underline { get; set; } [NoAccessorMethod] + public Gdk.RGBA underline_rgba { get; set; } + [NoAccessorMethod] + public bool underline_rgba_set { get; set; } + [NoAccessorMethod] public bool underline_set { get; set; } [NoAccessorMethod] public Pango.Variant variant { get; set; }