head 1.41; access; symbols pkgsrc-2023Q4:1.41.0.2 pkgsrc-2023Q4-base:1.41 pkgsrc-2023Q3:1.38.0.4 pkgsrc-2023Q3-base:1.38 pkgsrc-2023Q2:1.38.0.2 pkgsrc-2023Q2-base:1.38 pkgsrc-2023Q1:1.36.0.2 pkgsrc-2023Q1-base:1.36 pkgsrc-2022Q4:1.35.0.4 pkgsrc-2022Q4-base:1.35 pkgsrc-2022Q3:1.35.0.2 pkgsrc-2022Q3-base:1.35 pkgsrc-2022Q2:1.34.0.2 pkgsrc-2022Q2-base:1.34 pkgsrc-2022Q1:1.33.0.2 pkgsrc-2022Q1-base:1.33 pkgsrc-2021Q4:1.32.0.2 pkgsrc-2021Q4-base:1.32 pkgsrc-2021Q3:1.30.0.4 pkgsrc-2021Q3-base:1.30 pkgsrc-2021Q2:1.30.0.2 pkgsrc-2021Q2-base:1.30 pkgsrc-2021Q1:1.28.0.4 pkgsrc-2021Q1-base:1.28 pkgsrc-2020Q4:1.28.0.2 pkgsrc-2020Q4-base:1.28 pkgsrc-2020Q3:1.27.0.2 pkgsrc-2020Q3-base:1.27 pkgsrc-2020Q2:1.26.0.4 pkgsrc-2020Q2-base:1.26 pkgsrc-2020Q1:1.26.0.2 pkgsrc-2020Q1-base:1.26 pkgsrc-2019Q4:1.23.0.4 pkgsrc-2019Q4-base:1.23 pkgsrc-2019Q3:1.22.0.6 pkgsrc-2019Q3-base:1.22 pkgsrc-2019Q2:1.22.0.4 pkgsrc-2019Q2-base:1.22 pkgsrc-2019Q1:1.22.0.2 pkgsrc-2019Q1-base:1.22 pkgsrc-2018Q4:1.20.0.4 pkgsrc-2018Q4-base:1.20 pkgsrc-2018Q3:1.20.0.2 pkgsrc-2018Q3-base:1.20 pkgsrc-2018Q2:1.19.0.2 pkgsrc-2018Q2-base:1.19 pkgsrc-2018Q1:1.18.0.2 pkgsrc-2018Q1-base:1.18 pkgsrc-2017Q4:1.16.0.2 pkgsrc-2017Q4-base:1.16 pkgsrc-2017Q3:1.15.0.6 pkgsrc-2017Q3-base:1.15 pkgsrc-2017Q2:1.15.0.2 pkgsrc-2017Q2-base:1.15 pkgsrc-2017Q1:1.14.0.8 pkgsrc-2017Q1-base:1.14 pkgsrc-2016Q4:1.14.0.6 pkgsrc-2016Q4-base:1.14 pkgsrc-2016Q3:1.14.0.4 pkgsrc-2016Q3-base:1.14 pkgsrc-2016Q2:1.14.0.2 pkgsrc-2016Q2-base:1.14 pkgsrc-2016Q1:1.13.0.2 pkgsrc-2016Q1-base:1.13 pkgsrc-2015Q4:1.12.0.6 pkgsrc-2015Q4-base:1.12 pkgsrc-2015Q3:1.12.0.4 pkgsrc-2015Q3-base:1.12 pkgsrc-2015Q2:1.12.0.2 pkgsrc-2015Q2-base:1.12 pkgsrc-2015Q1:1.11.0.4 pkgsrc-2015Q1-base:1.11 pkgsrc-2014Q4:1.11.0.2 pkgsrc-2014Q4-base:1.11 pkgsrc-2014Q3:1.10.0.18 pkgsrc-2014Q3-base:1.10 pkgsrc-2014Q2:1.10.0.16 pkgsrc-2014Q2-base:1.10 pkgsrc-2014Q1:1.10.0.14 pkgsrc-2014Q1-base:1.10 pkgsrc-2013Q4:1.10.0.12 pkgsrc-2013Q4-base:1.10 pkgsrc-2013Q3:1.10.0.10 pkgsrc-2013Q3-base:1.10 pkgsrc-2013Q2:1.10.0.8 pkgsrc-2013Q2-base:1.10 pkgsrc-2013Q1:1.10.0.6 pkgsrc-2013Q1-base:1.10 pkgsrc-2012Q4:1.10.0.4 pkgsrc-2012Q4-base:1.10 pkgsrc-2012Q3:1.10.0.2 pkgsrc-2012Q3-base:1.10 pkgsrc-2012Q2:1.9.0.2 pkgsrc-2012Q2-base:1.9 pkgsrc-2012Q1:1.8.0.2 pkgsrc-2012Q1-base:1.8 pkgsrc-2011Q4:1.5.0.6 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.4 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.2 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.4.0.4 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.2 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.3.0.14 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.12 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.10 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.8 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.6 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.4 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.2 pkgsrc-2009Q1-base:1.3 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.41 date 2023.11.27.11.16.42; author jperkin; state Exp; branches; next 1.40; commitid rKZaHNcnX2NgTeOE; 1.40 date 2023.11.27.09.45.02; author jperkin; state Exp; branches; next 1.39; commitid CDWH9jFYRYwVneOE; 1.39 date 2023.11.12.13.22.33; author wiz; state Exp; branches; next 1.38; commitid SjpNXQIV5XeZ3kME; 1.38 date 2023.06.07.11.27.32; author micha; state Exp; branches; next 1.37; commitid oEIMun2BnBqLv0sE; 1.37 date 2023.05.31.09.33.45; author adam; state Exp; branches; next 1.36; commitid WebHTVl2t0Tg76rE; 1.36 date 2023.01.29.21.14.47; author ryoon; state Exp; branches; next 1.35; commitid QL7aBXsBGmQvUtbE; 1.35 date 2022.07.22.17.07.10; author micha; state Exp; branches; next 1.34; commitid 2PRaC46uDEsZFUMD; 1.34 date 2022.03.30.09.56.50; author wiz; state Exp; branches; next 1.33; commitid xTBRqDiF5sNcYdyD; 1.33 date 2021.12.29.16.31.40; author adam; state Exp; branches; next 1.32; commitid zvFq91unLeZS4zmD; 1.32 date 2021.12.08.16.02.18; author adam; state Exp; branches; next 1.31; commitid 2PyWjHx5T8rqARjD; 1.31 date 2021.09.29.09.02.49; author wiz; state Exp; branches; next 1.30; commitid DnepDL6YjehmwPaD; 1.30 date 2021.04.14.07.27.56; author wiz; state Exp; branches; next 1.29; commitid Z7KYwt0sjeTDoePC; 1.29 date 2021.04.13.13.34.17; author nia; state Exp; branches; next 1.28; commitid ebS4IrVFXtiis8PC; 1.28 date 2020.10.06.19.50.37; author wiz; state Exp; branches; next 1.27; commitid IFcG8pbaF7b4CSqC; 1.27 date 2020.08.17.20.17.34; author leot; state Exp; branches; next 1.26; commitid ybGS4iX9Fz8imskC; 1.26 date 2020.03.11.09.53.51; author wiz; state Exp; branches; next 1.25; commitid QivthcEh0h7M1YZB; 1.25 date 2020.03.11.09.44.11; author wiz; state Exp; branches; next 1.24; commitid SQlonnyovOspYXZB; 1.24 date 2020.03.08.16.47.52; author wiz; state Exp; branches; next 1.23; commitid rcNYzTQo8icypCZB; 1.23 date 2019.11.06.14.13.45; author wiz; state Exp; branches; next 1.22; commitid FFFdBTypFpS0wNJB; 1.22 date 2019.03.25.13.56.25; author wiz; state Exp; branches; next 1.21; commitid HM2sME0dDiWxGKgB; 1.21 date 2019.03.25.13.49.55; author wiz; state Exp; branches; next 1.20; commitid SY0En00QYb0iEKgB; 1.20 date 2018.09.03.10.46.45; author wiz; state Exp; branches; next 1.19; commitid nBWEifNavMC4aEQA; 1.19 date 2018.04.17.04.20.07; author wiz; state Exp; branches; next 1.18; commitid zxVKcMp2xW2suKyA; 1.18 date 2018.03.12.11.15.38; author wiz; state Exp; branches; next 1.17; commitid Mv60lx3Uo1UqW9uA; 1.17 date 2018.01.07.13.04.20; author rillig; state Exp; branches; next 1.16; commitid dlppcM1x04atAWlA; 1.16 date 2017.10.03.12.31.54; author wiz; state Exp; branches; next 1.15; commitid j9OOzZAdMJMLvB9A; 1.15 date 2017.05.29.12.20.23; author wiz; state Exp; branches; next 1.14; commitid qTHf03niJIIRwhTz; 1.14 date 2016.04.10.18.49.42; author prlw1; state Exp; branches; next 1.13; commitid T2XQrtUJNJ0tZ62z; 1.13 date 2016.02.04.12.12.36; author wiz; state Exp; branches; next 1.12; commitid p26t6yOrwkeOUATy; 1.12 date 2015.04.03.07.38.17; author wiz; state Exp; branches; next 1.11; commitid xWPsSNMLHVNxg7gy; 1.11 date 2014.11.01.10.25.20; author prlw1; state Exp; branches; next 1.10; commitid VwPr9FBxd26U5tWx; 1.10 date 2012.09.15.10.05.21; author obache; state Exp; branches; next 1.9; 1.9 date 2012.05.07.01.53.44; author dholland; state Exp; branches; next 1.8; 1.8 date 2012.03.03.00.12.11; author wiz; state Exp; branches; next 1.7; 1.7 date 2012.02.06.12.40.47; author wiz; state Exp; branches; next 1.6; 1.6 date 2012.02.06.11.48.32; author drochner; state Exp; branches; next 1.5; 1.5 date 2011.04.22.13.42.19; author obache; state Exp; branches; next 1.4; 1.4 date 2010.11.06.15.02.56; author gls; state Exp; branches; next 1.3; 1.3 date 2009.03.21.18.03.42; author ahoka; state Exp; branches; next 1.2; 1.2 date 2009.03.20.19.24.53; author joerg; state Exp; branches; next 1.1; 1.1 date 2009.03.05.21.56.29; author ahoka; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2009.03.05.21.56.29; author ahoka; state Exp; branches; next ; desc @@ 1.41 log @*: Simplify vala buildlink3. The default DEPMETHOD for vala's bl3 is "build", so there's no point duplicating that in each package. Given that it is only ever a build dependency, completely remove the indirect dependencies as they should not be made available. Also remove obsolete BUILDLINK_API_DEPENDS settings. Tested with a few of the affected packages. @ text @# $NetBSD: buildlink3.mk,v 1.40 2023/11/27 09:45:02 jperkin Exp $ BUILDLINK_TREE+= vala .if !defined(VALA_BUILDLINK3_MK) VALA_BUILDLINK3_MK:= BUILDLINK_API_DEPENDS.vala+= vala>=0.56 BUILDLINK_ABI_DEPENDS.vala+= vala>=0.56.13nb1 BUILDLINK_PKGSRCDIR.vala?= ../../lang/vala BUILDLINK_DEPMETHOD.vala?= build VALAC= ${PREFIX}/bin/valac-0.56 VAPIGEN= ${PREFIX}/bin/vapigen-0.56 .if defined(GNU_CONFIGURE) CONFIGURE_ENV+= VALAC=${VALAC} VAPIGEN=${VAPIGEN} .endif .endif # VALA_BUILDLINK3_MK BUILDLINK_TREE+= -vala @ 1.40 log @vala: Limit buildlink3 includes to DEPMETHOD=full. This file is generally only included when the valac and vapigen tools are required, and it even defaults to DEPMETHOD=build. The library dependencies are not required for running the tools, and this avoids a number of implicit dependency issues. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.39 2023/11/12 13:22:33 wiz Exp $ a18 6 .if ${BUILDLINK_DEPMETHOD.vala:U:Mfull} .include "../../devel/glib2/buildlink3.mk" .include "../../devel/libltdl/buildlink3.mk" .include "../../graphics/graphviz/buildlink3.mk" .endif @ 1.39 log @*: revebump for new brotli option for freetype2 Addresses PR 57693 @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.38 2023/06/07 11:27:32 micha Exp $ d19 1 d23 2 @ 1.38 log @Recursive revbump for new major version of graphics/graphviz. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.37 2023/05/31 09:33:45 adam Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.vala+= vala>=0.56.8nb1 @ 1.37 log @vala: updated to 0.56.8 Vala 0.56.8 =========== * Various improvements and bug fixes: - codegen: Include "glib-object.h" when using GType/GBoxedCopyFunc - valadoc: Backing method of lambda-expression isn't included in valadoc AST - valadoc/tests: Add girwriter test - build: Improve usage of AC_PATH_PROG() for valacs - build: valadoc requires valac 0.18.1 * Bindings: - gio-2.0: Add new symbols from 2.76 - glib-2.0: Add new symbols from 2.76 - glib-2.0: Fix binding of g_variant_type_n_items() - gtk4: Don't skip AlertDialog ctor @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.36 2023/01/29 21:14:47 ryoon Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.vala+= vala>=0.56.3nb1 @ 1.36 log @*: Recursive revbup from graphics/freetype2 @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.35 2022/07/22 17:07:10 micha Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.vala?= vala>=0.56.3nb1 @ 1.35 log @*: recursive bump for graphics/graphviz 5.0.0 @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.34 2022/03/30 09:56:50 wiz Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.vala?= vala>=0.56.2nb1 @ 1.34 log @vala: update to 0.56.0. Vala 0.56.0 =========== * Various improvements and bug fixes: - codegen: Drop confusing warning when accessing interface members * Bindings: - Add webkit2gtk-4.1 bindings - glib-2.0: Fix memory management of TestSuite.add*/get_root() with 2.70 [#1295] - libarchive: Fix a few binding errors - SDL2_ttf: Fix a few binding errors - tiff: Fix a few binding errors Vala 0.55.91 ============ * Various improvements and bug fixes: - girparser: + Handle duplicated and unnamed symbols + Add support for "copy_/free_function" metadata for compact classes + Don't count instance-parameter when checking for backwards closure reference [#721] * Bindings: - gst-editing-services-1.0: Fix BaseEffect.set_time_translation_funcs() - gstreamer-audio-1.0: Fix a few binding errors - gstreamer-base-1.0: Fix a few binding errors - gstreamer-video-1.0: Fix a few binding errors - gtk4: Fix content_deserialize_async() - libarchive: Fix a few binding errors - libgsf-1: Fix a few binding errors - libgrss: Fix FeedItem.get_geo_point() parameters Vala 0.55.90 ============ * Various improvements and bug fixes: - codegen: + Emit G_DEFINE_AUTOPTR_CLEANUP_FUNC() for interfaces with base class [#1292] + Emit G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC() for structs [#1293] + Default to "has_type_id = false" for external error-domains + Emit GType definition for error domains [#699] - vala: + Catch and throw possible inner error of lock statements [#83] + Keep error-code symbol reference in callable expression context + Allow delegate without target to be used as constant type - girparser: Pick up type_id of error domains * Bindings: - glib-2.0: Update 2.70/72 symbols - gstreamer: Update from 1.21.0+ git main - vapi: Update GIR-based bindings Vala 0.55.3 =========== * Highlights: - Allow usage of dynamic on VarType [#187] * Various improvements and bug fixes: - codegen: Use correct target/destroy of delegate field initializer [#1285] - codegen: Stop generating wrappers for dynamic property access - gtkmodule: Improve UI parsing and handling of nested objects and properties - vala: + Add missing TraverseVisitor.visit_data_type() + Improve check of generic type references in static contexts [#1284] + Make sure to drop our "trap" jump target in case of an error [#1287] + Move dynamic property errors to semantic analyzer pass + Free empty stack list for code contexts + Clear SemanticAnalyzer.current_{symbol,source_file} when not needed anymore * Bindings: - gio-2.0,glib-2.0,gobject-2.0: Update 2.72 symbols - gstreamer: Update from 1.19.90+ git main - gtk4: Specify sentinel for GtkAcessible methods - gtk4: Update to 4.6.0+06ec4ec1 - vapi: Update GIR-based bindings Vala 0.55.2 =========== * Highlights: - Add support for async main and yield statements in main block [#1275] - Add foreach statement support for GLib.Array and GLib.Sequence * Various improvements and bug fixes: - codegen: + Avoid symbol clashes with "va_*" from "stdarg.h" + Access of inline allocated array is guaranteed to be non null [#1282] + Don't uncoditionally null check callback_func for GLib.Closure [#1282] + Access of stack allocated struct is guaranteed to be non null [#1282] + Write array length of formal parameters with fixed length - vala: + Require lvalue access of delegate target/destroy "fields" [#857] + Implement missing YieldStatement.accept() + Add support to infer return type of dynamic signals + Transform assignment of an array element as needed [#889] [#1258] - parser: Reduce the source reference of main block method to its beginning - parser: Improve handling of nullable VarType in with-statement - manual: Update from wiki.gnome.org * Bindings: - glib-2.0,gio-2.0: Update 2.72 symbols - gstreamer: Update from 1.19.3+ git master - gtk4: Update to 4.6.0+a092986a - glib-2.0: Fix criticals in string.joinv() with arrays that start with null - vapi: Add linux-media bindings (linux/media.h) - alsa: Add/fix *.alloca() functions - posix: Add limits.h binding - v4l2: Update V4l2.Capabilities and fix some inline arrays Vala 0.55.1 =========== * Highlights: - Add support for partial classes [#370] - Add support for nested methods (local functions) [#1232] - Add multi-line support to Vala.Report [#764] - Support "emit" for explicit signal emission - Add native support to specify non default length-type for arrays [#607] * Various improvements and bug fixes: - codegen: + Move some errors to semantic analyzer pass + Stop generating wrappers for dynamic signal connections + gdbus: Use g_dbus_method_invocation_take_error() as simplification + Initialize type parameter properties for generics earlier [#67] + Initialize "result" variable on declaration for abstract methods only + Use __once instead of __volatile in generated code + Generated SimpleType structs don't have a type id - vala: + Add optional SourceReference parameter to DataType classes + Preserve the source reference when resolving data types + Set source references of created DataType instances in OCE + Set TypeParameter as symbol of GenericType + Add accessibility check of type for constants and structs base type + Don't allow casting to void [#1070] + Don't allow casting real structs to classes or simple-types [#1249] + Check accessibility of initializer for constant and enum value + Show source location when reporting deprecations * Bindings: - Add gnome-desktop-4, gnome-bg-4 and gnome-rr-4 bindings - Add libsoup-3.0 binding - Add webkit2gtk-5.0 bindings - glib-2.0: Add Unicode 14.0 symbols - glib-2.0: Update 2.72 symbols - gstreamer: Update from 1.19.3+ git master - gstreamer-1.0: Make Gst.Uri a sealed class - gtk4: Update to 4.6.0+06e5da45 - webkit2gtk-*.0: Update to 2.35.1 - vapi: Update GIR-based bindings Vala 0.54.6 =========== * Various improvements and bug fixes: - codegen: + Allow boxing of non-external SimpleType structs [#1273] + Cast given default-value of struct with possible member initializer [#1272] + Clear existing length values when revisiting a slice expression [#1274] - vala: + Allow unsafe assignment of integer to enum while reporting a notice + Non nullable enum types are simple types [#1268] + Correctly replace "in" expression in pre-/postconditions of method [#1269] * Bindings: - gio-2.0: Add custom MemoryOutputStream.with_*data() wrappers [#1271] Vala 0.54.5 =========== * Various improvements and bug fixes: - codegen: + Correctly handle chain up of struct creation methods [#1264] + Use a dedicated EmitContext for _variant_get*() functions + gtkmodule: Handle nested closure elements and bind them accordingly [#1262] - vala: + NullLiteral is not a valid argument for string concatenation [#1260] + Set is_yield_expression in async context when chaining up to async base ctor + Report statement parsing error if it is not meant to be an expression [#1261] + girparser: Avoid possibily creating duplicated attributes - vapigen.m4: use $PKG_CONFIG_SYSROOT_DIR * Bindings: - glib-2.0: Always use the actual C type for CCode.array_length_type - gstreamer: Cherry-pick bindings fixes from 0.56 - gstreamer-1.0: Unskip the ElementFactory.make/create_full() symbols Vala 0.54.4 =========== * Various improvements and bug fixes: - codegen: + Use CCodeConstant for member access of constant symbol + Emit constants without initializer list in defines section [#440] + Add and use CCodeConstantIdentifier for accessing constants + Check required length of enum type name for GType support + Add missing check while overriding virtual async interface methods [#852] + Drop inconsistent space for ObjectType parameters + Accept CCode.type attribute on parameters [#876] + Fix CCodeUnaryExpression.write() for PREFIX_INCREMENT/PREFIX_DECREMENT - vala: + Improve error message for invalid handler of dynamic signal + Using SignalHandler.disconnect() is required for dynamic signals + Check for unavailable value-type of variable initializer [#1253] + Add [Profile] as known attribute for methods + Report error on missing gio-2.0 package for async constructors + Fix signals with generic return + parser: Split out Parser.parse_switch_section_statement() + parser: Better handling of misplaced switch sections [#1246] - genie: + Amend text of indent and dedent for error messages [#497] + Accept INTERR token before type arguments when parsing type [#1245] + Properly handle plain "get" or "set" property accessors [#1248] + "exception" is the expected string for TokenType.ERRORDOMAIN + Accept accessibility/async modifiers on "construct" creation methods [#1235] - girparser: Accept "sealed" for transformed records and compact classes - gtkmodule: Improve error message for invalid signal element in ui-file - build: Add "test-update" which passed UPDATE_EXPECTED=1 to refresh c-expected - tests: Rename colliding test cases to avoid conflicts * Bindings: - alsa: Add more API and fix a few things - gnome-desktop-3.0: Some parameter fixes - gstreamer: Cherry-pick bindings fixes from 0.56 - gstreamer-base-1.0: Some parameter fixes [#1255] - gtk4: Update to 4.5.0~cd9b7307 - pango: Cherry-pick bindings fixes from 0.56 Vala 0.54.3 =========== * Various improvements and bug fixes: - codegen: Actually free data when using "remove(_all)" on GLib.Queue/(S)List [#1238] - vala: + Parameter following ellipsis parameter is not allowed [#1237] + More thorough check of ValueType and set CodeNode.error on failure + Really check compatiblity of error types for delegate symbol + Correctly output signature of callable throwing error + Report error for non ErrorType in throws + Implement CodeWriter.visit_foreach_statement()/visit_catch_clause() - parser: Make sure ErrorCodes are accessible as needed - girparser: Add support for "ref_/ref_sink_/unref_function" metadata for classes [#1233] Vala 0.54.2 =========== * Various improvements and bug fixes: - vala: + Multi-dimensional params-array not allowed [#1230] + Accept NullType as generic type argument + Set source references of created DataType instances in OCE * Bindings: - gio-2.0: Update to 2.71.0~a0d2efdc - glib-2.0: Update 2.70 symbols - gtk4: Update to 4.5.0~da5efea6 Vala 0.54.1 =========== * Regression and bug fixes: - codegen: + Add type declaration for implicit temporary local variable + Sealed class in external package is not special [#1229] * Bindings: - gstreamer: Update from 1.19.0+ git master - gtk4: Update to 4.5.0~3e20ecd6 @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.33 2021/12/29 16:31:40 adam Exp $ d9 1 @ 1.33 log @vala: updated to 0.54.5 Vala 0.54.5 =========== * Various improvements and bug fixes: - codegen: + Correctly handle chain up of struct creation methods + Use a dedicated EmitContext for _variant_get*() functions + gtkmodule: Handle nested closure elements and bind them accordingly - vala: + NullLiteral is not a valid argument for string concatenation + Set is_yield_expression in async context when chaining up to async base ctor + Report statement parsing error if it is not meant to be an expression + girparser: Avoid possibily creating duplicated attributes - vapigen.m4: use $PKG_CONFIG_SYSROOT_DIR * Bindings: - glib-2.0: Always use the actual C type for CCode.array_length_type - gstreamer: Cherry-pick bindings fixes from 0.56 - gstreamer-1.0: Unskip the ElementFactory.make/create_full() symbols @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.32 2021/12/08 16:02:18 adam Exp $ d8 1 a8 2 BUILDLINK_API_DEPENDS.vala+= vala>=0.54 BUILDLINK_ABI_DEPENDS.vala+= vala>=0.54.3 d12 2 a13 2 VALAC= ${PREFIX}/bin/valac-0.54 VAPIGEN= ${PREFIX}/bin/vapigen-0.54 @ 1.32 log @revbump for icu and libffi @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.31 2021/09/29 09:02:49 wiz Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.vala?= vala>=0.54.3 @ 1.31 log @vala: update to 0.54.0. Vala 0.54.0 =========== * Various improvements and bug fixes: - vala: Warn about unsupported cast to void and drop it [#1070] - vala: Don't restrict element type of GLib.Array [#1227] - valadoc: Correctly format background of inline @@link's [#1226] * Bindings: - gio-2.0: Unhide a few usable symbols which are marked not introspectable [#1222] Vala 0.53.2 =========== * Various improvements and bug fixes: - codegen: + Fix property access inside opaque compact class + Add missing cast to access base-class members in class/static ctor [#1221] * Bindings: - glib-2.0: Current constants in GLib.Math are part of glib.h [#1220] - glib-2.0: Add RefString since 2.58 [#723] - gstreamer: Update from 1.19.0+ git master - gtk4: Update to 4.5.0~e681fdd9 - vapi: Update GIR-based bindings Vala 0.53.1 =========== * Highlights: - Support explicit nullable var-type declarations [#1146] - Add support for variadic delegates [#160] - Add support for sealed classes [#278] - Add support for null-safe access operator [#522] - Emit external creation methods in bindings - Introduce VALA_EXPORT for public symbols to improve portability - girwriter: + Use "optional" and "nullable" instead of deprecated "allow-none" + Improve struct creation method binding - girparser: + Improve instance method detection [#1210] + Never skip "function" elements + Add "move-to" value of functions as Version.replacement * Various improvements and bug fixes: - codegen: + Use ssize_t for length variables in common array helper functions + Fix support for public fields on GLib.Source subclasses - vala: + Add Profile.LIBC as synonym for POSIX and accept "libc" profile + Improve semantic check of simple type structs + Refactor UnresolvedSymbol/Type constructors + Properly check GLib.Object naming convention for properties + Add foreach statement support for GLib.GenericArray - build: Add "test-asan" make target for convenience - build: Add --enable-test-ubsan configure option and "test-ubsan" make target - build: Use jing to verify generated GIR file, if available - testrunner: Allow checking generated C sources * Bindings: - Remove gedit-2.20 and webkit-1.0 bindings - gio-2.0,glib-2.0: Add new symbols from 2.69.0 - gio-2.0: Improve DatagramBased.create_source() binding - glib-2.0: Wrap TimeZone.identifier() constuctor for proper error support - gstreamer-rtp-1.0: Fix some bindings errors [#1177] - gstreamer: Update from 1.19.0+ git master - javascriptcoregtk-4.0: Fix JSC.Class.add_property() binding - linux: Add SocketCAN bindings, and ISOTP constants and options - webkit2gtk-4.0: Update to 2.33.3 @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.30 2021/04/14 07:27:56 wiz Exp $ d9 1 @ 1.30 log @vala: update to 0.52.1. Vala 0.52.1 =========== * Various improvements and bug fixes: - codegen: + Improve handling of ellipsis parameter in get_ccode_name() + Fix default value of get_ccode_destroy_notify_pos() + Don't override valid target/destroy of previous lambda argument [#59] + Don't call *_instance_init() in compact class chainup - vala: Mark tranformed static member-access as qualified [#270] - parser: Stricter mode for chained member initializer with --keep-going [#1158] - girwriter: namespace expects "c:symbol-prefixes" attribute [#1038] - girwriter: Don't use instance-parameter inside callback [#1167] - girparser,libvaladoc/girimporter: Don't guess length of xml header, iterate forward to - libvaladoc/girimporter: parse_constant() use "c:identifier" attribute first * Bindings: - gsl: Add BLAS module [#1149] - rest-0.7: Fix OAuthProxyAuthCallback binding - gtk+-3.0: Fix ModuleInitFunc binding - gio-2.0: Fix TlsPassword.get_value() binding - Fix several bindings which lead to invalid code by using them in: javascriptcoregtk-4.0, libusb, libusb-1.0, pixman-1, webkit2gtk-web-extension-4.0, x11, zlib, Vala 0.52.0 =========== * Various improvements and bug fixes: - codegen: Include "glib.h" for deprecated symbols (GOBJECT) [#1155] - vala: Improve error for incompatible expressions in conditional expression - vala: Check for unused attributes unconditionally - girparser: Allow overriding of "Compact" attribute for classes - girparser: Handle empty "" element and report an error - girparser: Add support for NoWrapper metadata for methods - build: Add --enable-test-asan configure option * Bindings: - gio-2.0: Add some missing NoWrapper and CCode.has_typedef attributes - gnutls: Fix some binding errors - gsl: Fix some binding errors - gstreamer: Update from 1.19.0+ git master - gtk4: Add Gtk.INVALID_LIST_POSITION [#1151] - gtk4-unix-print: Switch to gir - gtk4: Update to 4.1.2 - linux: Provide Input.Event.input_event_sec/input_event_usec fields [#1152] - vapi: Fix a couple of attribute typos - webkit2gtk-4.0: Update to 2.31.91 Vala 0.51.91 ============ * Various improvements and bug fixes: - codegen: + Error for missing type-arguments of HashTable (de)serialization [#1147] + Free intermediate temp-variables of postcondition expression [#80] + Use the one available source_reference for internal error [#436] + Fix access to captured generics in async method of interfaces [#537] + Don't ever create null-aware free macro for GenericType + Don't add generics arguments/parameters to async finish method + Drop inner casts before converting between generics and integers - vala: + Add missing null-check in DataType.get_type_signature() + Check array type of declarations for errornous type-arguments + Check (optional) type-arguments of array creation expression + Replace all type parameter occurances in parameters for signal delegate * Bindings: - glib-2.0,gio-2.0: Add some missing type-arguments - vapi: Update GIR-based bindings Vala 0.51.90 ============ * Various improvements and bug fixes: - codegen: + More use of get_ccode_type_name() + "_first_array" parameter for params-array is variadic too + Inherit GType from base struct of SimpleType structs - vala: + Report warning if --target-glib=auto was not evaluated successfully + Fix ownership inheritance of "unowned var" in foreach statement + Use pre-resolved symbol/type of SemanticAnalyzer if possible - gdbus: Don't leak memory of deserialized arguments on error in wrapper method - girparser: Reuse populated Node.gtype_struct_for instead of resolving again - girparser: Evaluate "glib:type-struct" twice to pick up reparented structs - testrunner: Include Gio-2.0/gio-2.0 for GIR tests too * Bindings: - gtk4: Update to 4.1.1+f8f90d85 Vala 0.51.3 =========== * Various improvements and bug fixes: - codegen: + Don't use volatile modifier in glib API when targetting >= 2.68 [glib!1719] + CCodeBaseModule.get_type_id_expression () won't return null + Don't wrongly emit declaration for default-handler of signals + Include "string.h" for strcmp() (POSIX) - vala: + Generics value holding struct pointer requires casting on access [#347] + Infer needle type for "in" expression on enum [#1138] + Don't allow "in" operation with different enum types [#1139] + Improve context check whether property is writeable on assignments + Include "stdlib.h" for Enum.to_string() (POSIX) [#1143] + Set proper source_reference for implicit "this" and "result" variables + Report error for invalid inner operand of unary expressions - girwriter: Output default handler of signals * Bindings: - glib-2.0: Add new symbols from 2.68 - webkit2gtk-4.0: Update to 2.31.90 - vapi: Update GIR-based bindings Vala 0.51.2 =========== * Various improvements and bug fixes: - vala: + Check type-arguments in base-types/prerequisites of class/interface [#404] + Include type-checks in preconditions of methods for type narrowing [#894] + Capturing va_list parameters/variables is not allowed [#1136] + Properly parse and handle chained initialization of members [#1137] - codewriter: Output valid vala syntax for LoopStatement and don't write trailing ";" after body of WithStatement * Bindings: + gstreamer: Update from 1.19.0+ git master + vapi: Update GIR-based bindings Vala 0.51.1 =========== * Highlights: - Support "binding" to bind GtkCallback to class of given property [#1093] - Add support for type narrowing [#894] - Support chain up to simple generics constructor [#342] - Perform runtime version check of libvala [#88] - girparser: Handle anonymous delegate not backed by virtual-method or signal - Add support for 'opaque' compact classes [#1129] - Add further support for params arrays in constructors [#128] - Improve handling of "NoWrapper" attribute - Improve support of SimpleType struct constructors - Use __attribute__ instead of G_GNUC_* in POSIX profile - Add SDL 2.x bindings [#1032] amd drop SDL 1.x * Various improvements and bug fixes: - codegen: + Improve GValueModule.visit_cast_expression() + Drop obsolete dedicated handling of property value-parameter + Apply CCodeModifiers.PRINTF to "string_printf" (POSIX) + Allow CCode.type_cname for classes and use get_ccode_type_name() + Always use G_TYPE_INSTANCE_GET_CLASS/INTERFACE for external symbols + Also check array type of variable argument for ref parameters + Don't leak array memory after it was implicitly copied + Use g_boxed_free in free-wrapper for heap-allocated GLib.Value + Don't leak GLib.Value when implicitly unboxing it + Don't leak memory moving heap-allocated struct to stack + Chain up to base struct destroy function + Use g_memdup2 if target glib >= 2.68 is set + Replace "g_memdup" with "_vala_memdup2" for target glib < 2.68 + Correctly retrieve symbol_reference of nested cast expressions [#1134] + Strip all nested occurances of CCodeCastExpression [#1134] - vala: + Improve detection of duplicate package source files + GtkChild fields/properties must be declared as unowned [#1121] + Don't allow assigning GtkChild fields/properties [#1121] + Apply stricter condition for lambda to delegate assignment + Don't allow disposable SimpleType structs + Rename Loop to LoopStatement and introduce a common base class + GLib.Value unboxing returns unowned value + Don't allow GLib.Value casting to nullable struct/simple types + Add Block.unreachable_exit and have it set by FlowAnalyzer [#838] + Convert Report.*() to real printf-like functions + Avoid taking extra reference of foreach collection for index iteration + Make sure parent_symbol for special async parameters is available + Require a valid DataType instance for every TargetValue - girparser: + Minor improvement to field getter detection + Apply "delegate_target" metadata for methods and parameters + Apply "destroy_notify_cname" metadata for fields + Apply "type_get_function" metadata for classes and inferfaces + Set CCode.type_cname for classes if it doesn't match our default - girwriter: Infer gir_namespace/version from target GIR filename [#606] - girwriter: Write instance-parameter elements [#1128] - libvaladoc/html: Don't sort struct fields to keep their original order - libvaladoc: Correctly retrieve value for Api.Class.is_compact - libvaladoc: Add wrapper for "agedge" of graphviz - valadoc: Correctly set verbose flag on CodeContext - valadoc: Replace png icons with elementary's svg version * Bindings: - Add enchant-2 bindings for Enchant 2.x - Add gnu.vapi with binding for getopt_long() and some other GNU APIs - Add libunwind-generic binding - Fix several bindings which lead to invalid code by using them in: cairo, gobject-2.0, pango, goocanvas-2.0, curses, alsa, bzlib, sqlite3, libgvc, posix, gstreamer-1.0, gdk-3.0, gdk-x11-3.0, gtk+-3.0, gtk4, fuse, libxml-2.0 - curses: Remove initial “w” from some Window method names for consistency - gdk-pixbuf-2.0: Fix Pixbuf.save_to_streamv_async() - gdk-pixbuf-2.0: Update to 2.42.3~ - gio-2.0: Fix binding of PollableOutputStream.write*_nonblocking() - gio-2.0,gtk+-3.0,gtk4: Drop explicit c-type attributes of va_list parameters - gio-2.0: Pick up missing invoker for some AppInfo/File.*() methods - gio-2.0: Update to 2.67.3 - glib-2.0: Add GLib.[S]List.is_empty() convenience methods for non-null - glib-2.0: Add new symbols from 2.68 - glib-2.0: Bind assert_cmp* functions [#395] - glib-2.0: Improve type of OptionEntry.flags field - glib-2.0: Make PtrArray a subclass of GenericArray - gobject-2.0: Add new symbols from 2.68 - gstreamer-1.0: Set CCode.type_id of MiniObject to G_TYPE_BOXED [#1133] - gstreamer: Update from 1.19.0+ git master - gtk+-2.0,javascriptcoregtk-4.0: Wrong usage of CCode.type_cname attribute - gtk+-3.0,gtk4: Fix some delegate return values and parameters - gtk4: Update to 4.1.0+2712f536 - posix: Add POSIX, GNU and BSD Regex APIs - webkit2gtk-4.0: Update to 2.31.1 @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.29 2021/04/13 13:34:17 nia Exp $ d8 1 a8 1 BUILDLINK_API_DEPENDS.vala+= vala>=0.52 d12 2 a13 2 VALAC= ${PREFIX}/bin/valac-0.52 VAPIGEN= ${PREFIX}/bin/vapigen-0.52 @ 1.29 log @vala: set default DEPMETHOD to 'build' @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.28 2020/10/06 19:50:37 wiz Exp $ d8 1 a8 1 BUILDLINK_API_DEPENDS.vala+= vala>=0.50 d12 2 a13 2 VALAC= ${PREFIX}/bin/valac-0.50 VAPIGEN= ${PREFIX}/bin/vapigen-0.50 @ 1.28 log @vala: update to 0.50.1. Vala 0.50.1 =========== * Various improvements and bug fixes: - codegen: + Don't falsly use g_return_val_if_fail() for async creation method [#1077] + Don't pass CCodeFunctionCall to NULL-aware free macro - vala: + Improve parsing of with-statement and allow it as embedded statement + Prioritize the usage of an existing with-variable instance, Recognize previously inserted implicit access to with-variable [#1043] - parser: Allow to begin expression with statement keyword [#1073] - g-i: Fix a couple of C compiler warnings - libvaladoc: Fix a couple of C compiler warnings - testrunner: Pass --enable-checking to increase coverage, Filter external -0X flags to preserve current default -O0 - build: Stop passing obsolete --use-header * Bindings: - gstreamer: Update from 1.19.0+ git master - gtk4: Don't skip LayoutManager.create_layout_child() [#1071] - gtk4: Update to 3.99.1+15b635d7 - vapi: Update GIR-based bindings - webkit2gtk-4.0: Update to 2.30.1 Vala 0.50.0 =========== * Various improvements and bug fixes: - codegen: The actual struct size is required for calloc (POSIX) [#1068] * Bindings: - gstreamer: Update from 1.18.0+ git master - poppler-glib: Update to 20.09.0 - vapi: Update GIR-based bindings Vala 0.49.92 ============ * Various improvements and bug fixes: - Don't use locale dependent string functions on syntax strings [#1067] - girparser: Additionally fallback to "glib:type-name" to retrieve the cname - libvaladoc/girimporter: + Fallback to "name" for callback + Fallback to "glib:type-name" for class, interface and record + Improve parse_symbol_doc() and don't use parse_doc() + Skip "attribute" elements - libvaladoc/gtkdoc-importer: + Correctly retrieve "url" from "ulink" elements + Don't let parse_block_taglet() return null * Bindings: - gtk4: Update to 3.99.1 - vapi: Update GIR-based bindings Vala 0.49.91 ============ * Various improvements and bug fixes: - codegen: Don't append unreachable clean-up section of Block [#169] [#838] - codegen: Always include base_struct declaration if available [#464] - vala: Additionally break on ObjectCreationExpression in "tainted" check - vala: Add ObjectCreationExpression.to_string() - manual: Update from wiki.gnome.org * Bindings: - gio-unix-2.0,glib-2.0: Updates for 2.66 - gtk4: Resolve a few conflicts of methods with virtual-methods Vala 0.49.90 ============ * Regression and bug fixes: - Revert "girwriter: Use appropriate get_ccode_* functions" [#1059] - tests: Don't rely on undefined use-after-free behaviour of glibc - Add TraverseVisitor for traversing the tree with a callback - Force usage of temporary variables for "tainted" member accesses [#1061] - vala: Move transformation of unary increment/decrement to codegen - vala: Set parent_node for child nodes of lambda-expression [#1062] * Bindings: - gstreamer: Update from 1.17.2+ git master - gtk4: Update to 3.99.0+e6e2d6b4 - pango: Update from 1.46.0 - webkit2gtk-4.0: Update to 2.29.91 Vala 0.49.2 =========== * Highlights: - Support non-virtual signals with default handler [#1056] * Various improvements and bug fixes: - codegen: Include header for base-symbols when connecting vfuncs - vala: + Inherit CCode.returns_floating_reference attribute from base [#1053] + Mark tranformed member-access as qualified [#57] + Switch context if with-variable is not owned by with-statement [#1043] - girparser: Add support for string "feature_test_macro" metadata * Bindings: - gio-2.0: Include "gio/gsettingsbackend.h" for GLib.SettingsBackend members [#1054] - goocanvas-2.0: Fix some field ownerships and types [#1057] - gstreamer: Update from 1.17.2+ git master - gtk4: Update to 3.99.0+358b698e - pango: Update from 1.45.4+ - posix: Add missing "has_typedef" attribute for some delegates - posix: Declare WRDE_APPEND constant as public - vapi: Update GIR-based bindings Vala 0.49.1 =========== * Highlights: - Use defintions of public header in internal header if available and drop --use-header compiler option and enable it by default [#713] - gdbus: Use GDBusProxy API to set `g-interface-info` at initialization time - Check vfunc of abstract/virtual methods and property accessors for NULL before using it [#153] - Check coverage of switch on enum-type and issue warnings if needed [#777] - Map empty start/end index to 0/length for slice expressions [#238] - Add support for "with" statement (mark them experiemental) [#327] - Use inheritted scopes of base-types/prerequisites to resolve symbols [#54] * Various improvements and bug fixes: - codegen: + Add implicit parameter and instance checks in async method [#1005] + Make use of CCode.cname for label name of CatchClause - vala: + Move setting of target profile and standard packages into CodeContext + Remove some public API from expressions and statements + Add Expression.is_always_true/false() helpers + Add InvalidExpression as replacement for erroneous nodes instead + Don't loose invalid_syntax when copying array type for variables [#942] - girparser: Strip "Enum"-suffix only from enumeration - girwriter: Internal fields/vfuncs in type-symbols are public in C [#513] - libvaladoc: Remove unused Api.Class.get_finalize_function_name() API - testrunner: Add more -Werror=* flags * Bindings: - gio-unix-2.0: Fix "g_unix_mount_for" binding [#1052] - glib-2.0,gio-2.0,gobject-2.0: Updates for 2.66 - glib-2.0: data of GLib.Bytes is allowed to be null - glib-2.0: Add more explicit type_id attributes for various symbols - gstreamer: Update from 1.17.2+ git master - gtk4: Update to 3.99.0+d743e757 - pango: Update from 1.45.2 - vapi: Update GIR-based bindings @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.27 2020/08/17 20:17:34 leot Exp $ d10 1 @ 1.27 log @*: revbump after fontconfig bl3 changes (libuuid removal) @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.26 2020/03/11 09:53:51 wiz Exp $ d8 1 a8 2 BUILDLINK_API_DEPENDS.vala+= vala>=0.48 BUILDLINK_ABI_DEPENDS.vala?= vala>=0.48.7nb1 d11 2 a12 2 VALAC= ${PREFIX}/bin/valac-0.48 VAPIGEN= ${PREFIX}/bin/vapigen-0.48 @ 1.26 log @*: bump for vala 0.48.0 @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.25 2020/03/11 09:44:11 wiz Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.vala?= vala>=0.48.0 @ 1.25 log @vala: update to 0.48.0. Vala 0.48.0 =========== * Various improvements and bug fixes: - vala: + Fix circular reference in Property/EnumValueType + Report an internal error for unavailable context and bail + Prevent possible stack-overflow in Class.is_subtype_of() - Add missing CodeContext.pop() calls - codegen: Add more "low-level" includes of "glib.h" - girparser: Decrease return_array_length_idx for transformed function - girparser: Delay adding of "GLib.Object" prerequisite to interfaces - manual: Update from wiki.gnome.org * Bindings: - vapi: Update GIR-based bindings * Contributors: Alberto Fanjul, Arnaud Bonatti, Corentin Noël, Evan Nemerson, Florian Brosch, Jeremy Philippe, Michael Gratton, Ole André Vadla Ravnås, Princeton Ferro, Rico Tzschichholz, Simon Werbeck Vala 0.47.92 ============ * Various improvements and bug fixes: - Add support for sealed classes in bindings [#278] - codegen: Don't initialize stack-allocated array with local-constant length [#910] - vala: Improve robustness of analyzer pass for language-servers [#911] - vala: Add local-variables to current scope regardless its error state - testrunner: Pass G_DEBUG=fatal-warnings to invalid test * Bindings: - Add some fundamental deps files to improve --nostdpkg support [#911] Vala 0.47.91 ============ * Various improvements and bug fixes: - vala: + Fix base-access check for compact classes (2) + Don't ignore errors in Parameter and acknowledge them further + Properly set CodeNode.error when reporting an error - girparser: Report a warning for conflicting class and instance methods - testrunner: Invalid tests and therefore expected failures must return 1 - manual: Update from wiki.gnome.org * Bindings: - Add harfbuzz-gobject binding [#909] - gstreamer: Update from 1.17.0+ git master - gtk+-*.0,gtk4: Fix iter parameter of TextIter.order() [#908] - gtk4: Update to 3.98.0+410dbdf6 - pango: Update and add harfbuzz-gobject as dependency - webkit2gtk-4.0: Update to 2.27.90 Vala 0.47.4 =========== * Various improvements and bug fixes: - codegen: + Skip StructRegisterFunction for boolean/integer/floating types [#901] + Handle different type-symbols in visit_base_access() [#901] + Explicitly include header for length-type of arrays + Explicitly include as needed for null-literal + Make *_try_id specific to emit-context instead being global states - vala: + Improve detection of recursive struct declarations [#902] + Inline allocated arrays require length or initializer [#903] - parser: Improve robustness and behavior of --keep-going * Bindings: - javascriptcoregtk-4.0: Make JSC.Class usable by defining the right callback - gtk4: Update to 3.96.0+4ab12ab7 - vapi: Update GIR-based bindings Vala 0.47.3 =========== * Highlights: - Add further support for params arrays [#128] * Various improvements and bug fixes: - codegen: + Don't set implemenation of interface property to its own [#891] + Use result value of assignment rather than its computation [#895] + Cast instance parameter in member-initializer for base-properties [#899] - vala: + Infer target_type in coalescing expressions [#892] + Non-nullable value-type in coalesce expression needs to be copied [#893] + Fix short-circuiting behavior of coalescing operator [#534] + Always bail if there are semantic errors - girparser: Apply explicitly given ctype metadata attributes on callables * Bindings: - glib-2.0: Let (u)int.try_parse() return false if there is an unparsed part - gtk4: Update to 3.96.0+7e2e92a8 - gstreamer: Update from 1.17.0+ git master - vapi: Update GIR-based bindings - webkit2gtk-4.0: Update to 2.27.4 Vala 0.47.2 =========== * Highlights: - compiler: Add "--depfile" option writing package dependencies to given file * Various improvements and bug fixes: - codegen: + Fix support of dynamic DBus methods + Fix vfunc signature of delegate-typed property in interface + Fix precondition in creation method of structs + Remove unreachable code in TypeRegisterFunction.init_from_type() + Improve *_get_type() fast path (requires glib >= 2.58) [#879] - vala: + Report error for async creation expression without yield + Don't require constant initializer in fast-vapi [#461] + VoidType is actually compatible with itself [#878] + Improve handling of "void" as generic type [#878] + Keep formal_target_type on transform of method-call/object-creation [#835] + Add a basic parameter check for [Print] methods + Let the parser have set namespace members as static + Don't ignore inner errors in Block and acknowledge them further + Improve error message for unsupported inner types and declarations + Don't allow "va_list" as return-type or type of fields [#884] + Check before accessing "name" of parent_symbol which might be null + Allow to override base interface properties explicitly - gidl/girparser: Creation methods must not be marked as static - parser: Implicit "main" method of main-block is public and static - scanner: "\x" requires two hex digits at most - scanner: Improve check of "\u" escape sequence - genie: Fix parser's inner state when a struct is declared after a class * Bindings: - glib-2.0: Add to_string() for GLib.PollFd and GLib.Pid - glib-2.0: Add new symbols from 2.64 - glib-2.0: Reset errno before calling strto*() functions. - gstreamer: Update from 1.17.0+ git master - gtk4: Update to 3.96.0+448a4023 - pango: Update to 1.44+ - vapi: Update GIR-based bindings - webkit2gtk-4.0: Update to 2.27.3 Vala 0.47.1 =========== * Highlights: - Various improvements for the POSIX profile - codegen: + Allow passing/retrieving any delegate to/from varargs parameter + Support gobject property of null-terminated array without length [#855] + Support gobject property of delegates not carrying their target [#856] + Warn when directly accessing member of silent cast-expression - vala: + Add DelegateType.target/destroy fields to access its user-data [#857] + Accept interface as inner type for object-type symbols [#697] + Add GenericType.dup/destroy fields [#190] + Support "unowned var" to declare local variables [#152] - compiler: Add "--list-sources" options to output list of all sources [#872] * Various improvements and bug fixes: - codegen: + Move type-argument checks to SemanticAnalyzer + Make CCodeBaseModule.generate_method_declaration() return bool + Fix custom reference-counting for compact classes + G_DEFINE_AUTOPTR_CLEANUP_FUNC must not declared more than once + Use SemanticAnalyzer.get_data_type_for_symbol() + Commonize the determining of return-type for delegates and methods - vala: + Rename DataType.data_type property to DataType.type_symbol + Unify backing symbol instance of data-types + Respect --abi-stability in Class/Interface.accept_children() + Don't mark method as used on recursive usage of itself [#100] + Set GLib.Error as symbol of error-types if no error-domain was given + Make Callable derive from Symbol - libvaladoc: Remove TypeReference.pass_ownership API - valadoc: Rename FormalParameter to Parameter - girwriter: Fix position of priv field (--abi-stability) [#850] * Bindings: - glib-2.0: Add binding for "gettext()" [#864] - glib-2.0: Add new symbols from 2.64 - glib-2.0: Add optional "base" parameter to *.parse/try_parse() of integers and check errno for EINVAL and ERANGE in *.try_parse() [#223] - glib-2.0: Add (u)int.try_parse() [#649] - glib-2.0: Add "has_typedef = false" to custom MarkupParser*Func delegates - gtk+-*.0: Fix iter parameter of TextBuffer.backspace() - gtksourceview-2.0: Fix iter parameter in SourceBuffer.backward/forward/... - libusb-1.0: Use a wrapper for Context.get_device_list() [#151] @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.24 2020/03/08 16:47:52 wiz Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.vala?= vala>=0.48 @ 1.24 log @*: recursive bump for libffi @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.23 2019/11/06 14:13:45 wiz Exp $ d8 2 a9 2 BUILDLINK_API_DEPENDS.vala+= vala>=0.46 BUILDLINK_ABI_DEPENDS.vala?= vala>=0.46.6nb1 d12 2 a13 2 VALAC= ${PREFIX}/bin/valac-0.46 VAPIGEN= ${PREFIX}/bin/vapigen-0.46 @ 1.23 log @vala: update to 0.46.3. Vala 0.46.3 =========== * Various improvements and bug fixes: - codegen: + Accept children after generating type specific declarations + Preserve full access to delegate variables and its target/destroy cvalues + Initialize delegate temp-var which is assigned by property getter + Silence warning about copying if delegate doesn't carry its target + Use gtype-boxed API for structs with "g_boxed_free" attribute [#863] - ccode: Implicitly register declaration for added CCodeFunction - vala: Fix compatible/disposable check between structs and their subtypes - vala: Don't issue a warning for non-public struct fields in bindings - girparser: Add required copy/free attributes for gtype-boxed structs and regenerate GIR-based bindings to pick up copy/free attributes [#863] - docs: Mention requirement of autoconf-archive as build-dependency - vapi: Perform syntax and semantic check for all bindings on "make check" * Bindings: - avahi-client: Fix "use of possibly unassigned parameter" warnings - glib-2.0: Set default_value attribute for GLib.pointer - gnutls: Fix "use of possibly unassigned parameter" warnings - tokyocabinet: Fix deprecation warnings - xcb: Fix "missing return statement at end of subroutine body" errors Vala 0.46.2 =========== * Various improvements and bug fixes: - vala: + Report dedicated error message for params-array parameter mismatch + Output "params" qualifier of parameters + Allow to override virtual interface implementations [#852] + Perform stricter compatibility check for delegates - codegen: Directly use "memmove()" while g_memmove() is deprecated - valadoc: Explicitly pass --pkg libgvc - tests: Add more tests to increase coverage * Bindings: - gio-unix-2.0: Fix DesktopAppInfo.get_string(), UnixFDMessage.steal_fds() - glib-2.0: DateTime.from_iso8601() can take a null TimeZone - gobject-2.0: Some cherry-picking from GIR generated binding - gstreamer: Update from 1.17.0+ git master - gtk4: Update to 3.96.0+bcea9652 - gtk4: Constructors of Gtk.MediaFile needs to be static functions - sqlite3: Fix use of possibly unassigned parameter `errmsg' Vala 0.46.1 =========== * Regression and bug fixes: - vala: Run FlowAnalyzer on all given source-files [#843] - valadoc: Explicitly pass --pkg libvala@@PACKAGE_SUFFIX@@ as for doclets/tests * Bindings: - gio-unix-2.0: Add UnixMountEntry.get_root_path() since 2.60 - gstreamer: Update from 1.17.0+ git master - gtk4: Update to 3.96.0+97231ca2 - gtk+-3.0: Ownership mismatch of ColorButton.rgba property-accessor [#844] - vapi: Update GIR-based bindings Vala 0.46.0 =========== * Highlights: - Add boolean CodeContext.keep_going and corresponding compiler option * Various improvements and bug fixes: - vala: + Move find_parent_type_symbol/get_this_type() to SemanticAnalyzer + Exclude nullable simple-type structs from gobject-property support + Reject unary operations on nullable integer/floating/boolean type [#772] - codegen: + Don't append unreachable clean-up section of Block [#838] + Don't cause double-free due append_local_free() in uncaught-errors [#838] + Don't unconditionally add/return internal "result" variable [#838] - codewriter: Write "weak" modifier for properties - girparser: Improve evalution of instance-parameter information [#836] (Regenerate GIR-based bindings to pick up out/ref instance-parameters) - girparser/gidlparser: "value_owned = true" by default for property types - libvaladoc: Don't traverse into close circles with parent [#829] - genie: Creation methods should not be static * Bindings: - glib-2.0: Fix MutexLocker binding - glib-2.0: Add missing "DestroysInstance" attributes to Mutex/Locker API - glib-2.0: Use 'GStatBuf' as ctype for 'Stat' - glib-2.0: Add new symbols from 2.62 - gio-2.0: Drop metadata for NativeSocketAddress - gstreamer: Update from 1.17.0+ git master - gtk4: Regenerate to pick up DestroyInstance attributes - json-glib-1.0: Change abstract methods of Serializable to virtual [#840] - libsoup-2.4: soup_auth_new is not a constructor but a factory method [#791] - vapi: Update GIR-based bindings Vala 0.45.91 ============ * Various improvements and bug fixes: - vala: Init formal_target_type of built ArrayCreationExpression from InitializerList [#835] - vala: Add missing closing brace/bracket in to_string() of ArrayCreationExpression and InitializerList * Bindings: - cairo: Add 1.16 symbols - linux: Add more Input and update UserspaceInput bindings [#830] - sqlite3: Bind sqlite3_expanded_sql() and sqlite3_normalised_sql() Vala 0.45.90 ============ * Various improvements and bug fixes: - vala: + Support static methods in error-domains [#829] + Fix mixup of target_glib_major/minor in set_target_glib_version() [#825] + Implicit GValue cast requires GOBJECT profile + NoAccessorMethod checks require GOBJECT profile + 'construct' is not supported in POSIX profile - codegen: + Use G_TYPE_CHECK_INSTANCE_CAST for comparisons with interfaces + Append line-break after G_DEFINE_AUTOPTR_CLEANUP_FUNC + Move private type-struct to type-definition section + Include required type-definition when casting from generic pointer [#828] - girparser: Handle "function-macro" by skipping them [gi#159] - valadoc: Install icons and doclets to API dependent folders * Bindings: - glib-2.0: Add new symbols and deprecations from 2.62 - glib-2.0: Add MappedFile.from_fd constructor [#824] - gstreamer: Update from 1.17.0+ git master - posix: Fix return-value of mknod() and c-include for tcgetsid() - posix: Add *at() calls and related constants [#823] - webkit2gtk-4.0: Fix WebContext.initialize_notification_permissions() - x11: Fix return type of XInternAtoms and XGetAtomNames bindings - vapi: Update GIR-based bindings Vala 0.45.3 =========== * Various improvements and bug fixes: - vala: Add Symbol.is_extern and use/set is accordingly (#745) - codegen: + Don't write declaration of extern symbols with given header (#745) + Real structs are allowed by simple generics and passed as reference (#819) + Assign GValue result of function calls to temp-var on copy_value (#819) - build: Pass -no-undefined when linking libvalaccodegen (#820) * Bindings: - glib-2.0: Add binding for g_strv_equal() (since 2.60) - glib-2.0: Bind strcmp0 as GLib.CompareFunc (#810) - glib-2.0: Fix RecMutexLocker binding - glib-2.0: Add new symbols from 2.62 - gstreamer: Update from 1.17.0+ git master - gtk4: Update to 3.96.0+b05d1676 - xtst: Fix signature of XTest.fake_relative_motion_event() - vapi: Update GIR-based bindings Vala 0.45.2 =========== * Various improvements and bug fixes: - Only warn about imcompatible type of external construct property [#803] - codegen: Use array_length of collection variable instead of expression - girparser: Skip 'attribute' elements - girwriter: Report error on secondary top-level namespace [#805] - genie: Drop unused "writeonly" token - genie: Make 'self' match its TokenType name - tests: Null-terminate arrays for compatibility test of uint8 / uchar [#809] * Bindings: - gmodule-2.0: Build from GIR - glib-2.0: Add Unicode 12.0 symbols - gstreamer: Update from 1.17.0+ git master - gtk+-3.0: Update to 3.24.9~18177388 - gtk4: Update to 3.96.0+8cfdd6c5 - webkit2gtk-4.0: Update to 2.25.1 - vapi: Update GIR-based bindings Vala 0.45.1 =========== * Highlights: - Require and target GLib >= 2.48 [#671] - Add support for --target-glib=auto [#761] - Report error for public creation methods of abstract classes [#766] - Report error for yield statements without async context - Write "Source" attribute in fast-vapi mode - No-accessor struct properties in GLib.Object class must be owned - Support GObject properties with nullable GType-based struct type [#792] - Always use G_TYPE_CHECK_INSTANCE_TYPE for external symbols - valadoc: Drop obsolete "Driver" API * Various improvements and bug fixes: - parser: Multiple corrections for source-location of code-nodes - build: Pass some useful G_LOG_DOMAIN definitions - girwriter: Mention that this file is generated and not meant to be modified - girwriter: Properly resolve GLib.TypeInterface instead of hardcoding it - girwriter: Multiple improvements and fixes for e.g. GType classes - girparser: Add support for string "ctype" metadata [#793] - codegen: Move GObject property validity checks to SemanticAnalyzer - When freeing local variables don't stop at "switch" on "continue" [#799] - compiler: Add OptionFlags.NO_ARG to deprecated "--thread" option * Bindings: - Remove vte, vte-2.90 bindings [#584] - Rename graphene-1.0 to graphene-gobject-1.0 - glib-2.0: Don't annotate dedicated GLib.assert_*() functions with [Assert] [#769] - clutter-1.0: Bind Margin, PaintVolume, Point, Rect and Size as struct [#795] - cogl-1.0: Fix out-params in Cogl.get_modelview_matrix/projection_matrix/ bitmasks [#794] - gstreamer: Update from 1.17.0+ git master - gtk4: Update to 3.96.0+322507f2 - vapi: Update GIR-based bindings @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.22 2019/03/25 13:56:25 wiz Exp $ d9 1 @ 1.22 log @*: recursive bump for vala-0.44 @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.21 2019/03/25 13:49:55 wiz Exp $ d8 1 a8 1 BUILDLINK_API_DEPENDS.vala+= vala>=0.44.1 d11 2 a12 2 VALAC= ${PREFIX}/bin/valac-0.44 VAPIGEN= ${PREFIX}/bin/vapigen-0.44 @ 1.21 log @vala: update to 0.44.1. Vala 0.44.1 =========== * Various improvements and bug fixes: - ccodegen: + Use unsigned default value for flags-enum + Use guint to represent flags-enum in custom GMarshalFunc - Move disconnect error from signal-module to semantic-analyzer pass - Mark defined constructors of abstract classes as protected - parser: Implicit creation method of abstract classes must be protected - vala: Allow assignment of 0U to enum types - libvaladoc: Don't try to create a Content.ListItem when there is none * Bindings: - gio-2.0: SocketAddress.from_native() is a factory method not a constructor - glib-2.0: Add string.validate_len() since 2.60 - gstreamer: Update from 1.15.2+ git master - gtk4: Update to 3.94.0+f14d998c - libgvc: Some additions and ownership/return-type fixes - vte-2.90: Mark as deprecated, it was replaced by vte-2.91 - vapi: Update GIR-based bindings Vala 0.44.0 =========== * Various improvements and bug fixes: - parser: Adjust various source references - vala: More regular invocations of check() on inferred Expression.value_type * Bindings: - gstreamer: Update from 1.15.2+ git master - gtk4: Update to 3.94.0+eacbeb9e - vapi: Update GIR-based bindings Vala 0.43.92 ============ * Various improvements and bug fixes: - codegen: + Allow to associate CCodeFile to actual SourceFile + Only emit declaration of *_register_type if needed + Add get_variable_array_length_cname() and use as possible + Respect array_length_cname attribute for global fields + Replace gvaluecollector_h_needed with dedidated add_include() calls + Respect finish[_vfunc]_name attributes defined in vala sources + Include "glib-object.h" for typeof expression - vala: + Correctly perform compatibility check of array length-type [#607] + Don't ignore qualified parent when inferring type of enum member [#666035] - girwriter: + Support transfer-ownership="container" for arrays + Always use get_gir_name() for TypeSymbols - testrunner: Add support for Genie source files (.gs) - tests: Add some Genie tests to increase coverage - genie: Allow main function "init" to return integer as exit status [#402] * Bindings: - gobject-2.0: Add SignalHandler.disconnect_by_data() - poppler-glib: Update to 0.74 - gtk4: Update to 3.94.0+b4ae491b - vapi: Update GIR-based bindings Vala 0.43.91 ============ * Various improvements and bug fixes: - Revert "valadoc: Drop duplicated code to add source files and use CodeContext API" and "valadoc: Update API tests" (#748) - valadoc: Report warning if resources for doclet could not be copied - libvaladoc: Properly support the output of async constructors (#753) - girparser: Correctly set array_length_type for delegates returning an array - Revert "vala: Don't replace assignments for local variables with non-null simple-types" (#755) * Bindings: - Follow GTK upstream rename to gtk4 and gtk4-unix-print - gtk4,gtk4-unix-printer: Update to 3.94.0+02e856f6 - gtk+-unix-print-*.0: Fix PrintJob.get_page_ranges(), Printer.get_hard_margins() - atk-1.0: Adjust for upstream revert of Implementor using G_DEFINE_INTERFACE - clutter-1.0: Drop deprecated from Actor.pick() (#625) - glib-2.0: Add "delegate_target = false" to Log.writer_journald/ _standard_streams/_default - gio-unix-2.0: Add DesktopAppInfo.get_string_list() since 2.60 - gstreamer: Update from 1.15.1+ git master - webkit2gtk-4.0: Update to 2.23.91 - vapi: Update GIR-based bindings Vala 0.43.90 ============ * Various improvements and bug fixes: - codegen: Replace some unfortunate asserts with internal error reports - codegen: Properly handle and catch inner-error of finally-block (#742) - codegen: Pass lambda expression of variable initializer to signal connect - vala: Check inferred variable_type of LocalVariables - vala: Parser doesn't ensure "protected" to be applied on TypeSymbol members - libvaladoc: Don't change the size of an array in-parameter - g-i: Fix return value on error in start_discriminator() * Bindings: - Add goocanvas-2.0 bindings (#739) - gdk-3.0: Update to 3.24.4+a0129f55 - glib-2.0: Bind g_log_writer_journald/_standard_streams/_default as LogWriterFunc (#559) - goocanvas: Update from 1.0.0+af07af5d - gstreamer: Update from 1.15.1+ - gtk+-4.0: Update to 3.94.0+a7fa1cf6 - vapi: Update GIR-based bindings Vala 0.43.6 =========== * Various improvements and bug fixes: - codegen: Don't apply address-of operator on literals when casting to array - vala: Don't tweak closure on static lambdas [#740] - Revert "codegen: Use copies of error_variable of catch-clauses for nested usage" and add asynchronous "catch-error-scope" regression test [#741] - libvaladoc: Build backing Vala.SourceFile for GIRs processed by importer - libvaladoc/girimporter: Skip "source-position" elements - genie: Support "protected" accessibility and allow explicit "public" [#346] * Bindings: - gst-editing-services-1.0: Fix some construtors and (un)hide symbols - javascriptcoregtk-4.0: Fix GLib.Callback parameters which can't hold target Vala 0.43.5 =========== * Various improvements and bug fixes: - vala: + Use dedicated error message for assignments to literals + Async methods don't allow out-parameters before in-parameters [#636] + Allow direct access to the integer constants of an error-domain [#732] + Multiple lamdba arguments in method call should all use same scope [#59] - codegen: + Use a parameter-map for creation of delegate declaration [#728] + Add "error_pos" CCode attribute and use it as needed [#728] + Emit struct declaration typedef before resolving its fields [#318] + Add "destroy_notify_cname" CCode attribute + Use get_ccode_*name/get_parameter_cexpression() for Parameters + Set owner for ValaDestroyNotify (POSIX) [#730] + Include "stddef.h" in CCodeBaseModule.destroy_value() (POSIX) [#730] - girparser: Recognize error parameter before delegate target parameter [#265] - compiler: Report deprecated command-line option "--thread" - valadoc: Specify that the "--driver" option is deprecated [#736] * Bindings: - atk: Don't use a custom SignalEmissionHook while it is part of gobject-2.0 - gdk-pixbuf-2.0: Make PixbufSaveFunc usable [#728] - gio-2.0: Make DBusInterface[GS]etPropertyFunc usable [#728] - gio-2.0: Add CancellableSource ctor and update PollableSource ctors - glib-2.0: Add Queue.clear_full() since 2.60 - gstreamer: Update from 1.15+ git master - gdk-3.0,gtk+-3.0: Update to 3.24.3+9c8f1478 - gtk+-4.0: Update to 3.94.0+9b15c690 - libsoup-2.4: Fix Message.add_*_handler() [#731] - vapi: Update GIR-based bindings Vala 0.43.4 =========== * Various improvements and bug fixes: - vala: + Array with fixed length don't require explicit instantiation (#720) + Add GenericType.get_actual_type() + Allow get_actual_type() to be used for expected failures + Add Method.compatible_no_error() + Don't just guess and check for a matching base_interface_method (#548) + Search in all interfaces for an implementation match (#548) + Allow explicit interface methods to be virtual (#548) + Report invalid instance member access to property (#605) - codegen: + Use properly checked implicit interface implementations (#548) + Use temp-var for MethodCall with out/ref arguments (#722) + Use temp-vars for ellipsis out-arguments to fix memory management (#722) + Add default_value for CType to initialize variables if needed (#724) + Cast instance parameter for property access in object-initializer + Don't check boolean values for (in)equality in GTask API (#726) + Add missing data parameter to GTypeInfo callbacks + Properly set annotations field of GDBus*Info struct to NULL + Cast instance and result of g_async_initable_new_finish() call - valadoc: Drop duplicated code to add source files and use CodeContext API - libvaladoc: Skip empty Version.replacement attribute to avoid critical - build: Don't leak libvalaccode symbols to libvaladoc - Add a basic CONTRIBUTING.md file that links to the relevant Wiki page - tests: + Fix try_parse() tests to not compare to already free'd memory + Warnings and criticals should be fatal on compile time too * Bindings: - glib-2.0: Use correct array-length-type for returned arrays (#171) - glib-2.0: Add RecMutexLocker since 2.60 - gio-2.0: Fix File.replace_contents_bytes_async() (!37) - gobject-2.0: Use correct array-length-type for returned arrays - poppler-glib: Update to 0.71 - gstreamer: Update from 1.15+ git master - gtk+-3.0: Update to 3.24.2+a8e07254 - gtk+-4.0: Update to 3.94.0+4404afc9 - sqlite3: Correct return C type of Statement.column_text & Value.to_text - webkitgtk-4.0: Update to 2.23.1 - vapi: Update GIR-based bindings Vala 0.43.2 =========== * Various improvements and bug fixes: - codegen: + GType classes and interfaces require including "glib-object.h" + Handle non-default AsyncResult parameter position [#709] and regenerate GIR-based bindings to fix non-standard async methods + Always emit constants with initializer-list [#81] + Emit delegate/enum typedefs to type-declaration section [#318] - Break possible endless loop in SymbolResolver.get_type_for_struct() [#444] * Bindings: - gobject-introspection-1.0: Pick up version attribute fixes Vala 0.43.1 =========== * Highlights: - Emit G_DEFINE_AUTOPTR_CLEANUP_FUNC() for classes (requires glib 2.44) [#670] - Enforce "return yield ..." syntax to be expected [#675] - Drop deprecated syntax support of += and -= for signals [#676] - Drop deprecated syntax support of # modifier and operator [#677] - Allow disabling the build of valadoc [#596] - Add support for SingleInstance attribute for GObject classes [#647] - Don't allow to declare array parameters with "type array[]" [#163] - Collect error_types on demand to allow transformations - Check for matching ownership of type-arguments [#696] - Add profile specific delegate target/destroy types - Don't explicitly add glib headers, the use of symbols will do that [#623] - Add --enable-debug configure option - Move setting of default defines for VALA_0_XX and GLIB_2_XX to CodeContext - Add support for delegate parameters in signals [#205] - Admit that structs are emtpy even with a static property [#446] * Various improvements and bug fixes: - codegen: + Fix method pointer cast if instance isn't at first position + Transfer ownership of compact class to DestroysInstance method [#645] + Add destroy function for GLib.Array [#572] + Fix canonical string for quark of error domains + Make sure to include declarations for delegate typed parameters + Don't emit type_id for enum in non GOBJECT profile + Don't emit unused temp variable for element access assignments + Actually create method cast for base interface method as needed + Mark needle parameter of internal array-contains methods as const [#504] + Emit initializer for enum-value into wanted declaration space [#167] + Add void to delegate typedef declarations without parameters + Deprecate "finish_function" and "ctype" ccode-attribute + Fix get_ccode_name() for properties + Add ccode getters for GType functions of Classes and Interfaces + Don't allow more than one consecutive empty lines in generated code - vala: + Copy instance_pos argument from virtual/abstract base methods [#540483] + Compact classes don't allow private/class fields and to lock fields + Use comment which was already retrieved in parse_declaration() + Add missing re-check guards for Do/For/WhileStatement and SwitchLabel + Type check for errors require an error expression [#362] + Make check_arguments() more verbose and don't bail on first error [#438] + Don't emit member access of assignments on static properties [#573] + Use clearer error message for automatic properties in interfaces [#656] + Admit that structs are emtpy even with a static property [#684] + Let UsingDirective hold reference to UnresolvedSymbol instances only + Add ArrayType.length_type and ArrayCreationExpression.length_type [#607] + Remove hardcoded "int" length type and use ArrayType.length_type [#607] + Use is_weak() for type-arguments in DataType.to_qualified_string() - girwriter: Write glib-type attributes for Enums/Structs with type_id - girparser: Skip "source-position" elements and docs in transparent union - valadoc: + Match property signature with vala's codewriter + Sort symbols and members where possible + Actually assign type_id of Api.Structs + Add type_id to Api.Enum/Interface + Skip package dependency if target directory already exists + Fix a few errors and warnings in stylesheet + Adjust stylesheet to unbreak Epiphany [#644] + Several API clean ups + Add --fatal-warnings command line option - docs: Use Markdown for README and include build instructions - testrunner: Compile and run tests separately and pass buildsystem's CC through to valac, add various -Werror=* build cflags * Bindings: - gio-2.0: Add missing File.new_build_filename() - glib-2.0: Add missing Array.set_clear_func() binding - glib-2.0: Avoid double-free in GLib.Array if clear_func is set - glib-2.0: Drop g_object_unref which is part of gobject-2.0 - gobject-2.0: Attribute all symbols with cheader_filename = "glib-object.h" - gdk-x11-3.0,gtk+-3.0: Update to 3.24.1+356f1f59 - gtk+-3.0: Treat Gtk.IconInfo as GLib.Object which it is since 3.8 [#663] - gtk+-4.0: Update to 3.94.0+8de1ba2c - gstreamer: Update from 1.15+ git master - posix: Add CommandPipe as a sub-type of FILE [#645] @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.20 2018/09/03 10:46:45 wiz Exp $ d8 1 a8 1 BUILDLINK_API_DEPENDS.vala+= vala>=0.44 @ 1.20 log @vala: update to 0.42.0. Vala 0.42.0 =========== * Bindings: - gstreamer: Update from 1.15+ git master - webkit2gtk-4.0: Update to 2.21.92 - Update GIR-based bindings Vala 0.41.92 ============ * Various improvements and bug fixes: - codegen: Fix floating reference regression with Variants [#661] - build: Correctly quote square brackets in regular expression - codegen: Call ref_sink on Object.new_valist/new_with_properties if needed - vala: Don't bail early on property with not supported default value - manual: Update from wiki.gnome.org * Bindings: - glib-2.0: Add return-type of Queue.remove*(), add HashTable.foreach_steal() - glib-2.0: Add float.parse/try_parse() [#649] - gstreamer: Update from 1.15+ git master - webkit2gtk-4.0: Update to 2.21.91 Vala 0.41.91 ============ * Various bug fixes: - codegen: Call ref_sink on objects passed to generic type [#655] - codegen: Free errors after returning them on GDBusMethodInvocation [#657] - girparser: Actually resolve type-arguments to be able to box them if needed - vala: Add consts/methods to retrieve and check library version [#304] * Bindings: - glib-2.0: Add Array.remove*() wrapper to avoid leaking generic elements - glib-2.0: Add (u)long.parse/try_parse() [#649] - gstreamer: Update from 1.15+ git master - gtk+-3.0: Update to 3.23.2+6b6e53fd - gtk+-4.0: Update to 3.94.0+4e868584 Vala 0.41.90 ============ * Highlights - Reintroduce POSIX profile - parser: Add support for explicit "unlock" syntax - vala: Support anonymous definitions of delegates in bindings - codegen: Support automatic properties as GtkChild - codegen: Apply G_PARAM_EXPLICIT_NOTIFY on properties with "notify = false" - codegen: Drop support for non-auto property initializer in gobjects - codegen: Avoid using deprecated "g_type_class_add_private" * Various bug fixes: - vala: Constants and signals are not lockable - codegen: Don't apply ref_sink_function if target_type is floating_reference - vala: Treat floating method-return-type as nullable if error may be thrown - vala: Transfer floating-reference attribute while casting - analyzer: Break cyclic references of BasicBlock - vala: Break reference chain between DataType and Symbol if possible - codegen: Fix invocation of abstract/virtual methods with NoWrapper in compact classes - vala: Report error for invalid base access in method/property of compact class - libvaladoc: Replace void* with corresponding Vala API - codegen: Don't include the full absolute path in line directives - codegen: Add source_reference to unsupported floating reference error * Bindings: - gobject-2.0: Make GLib.Signal a struct of uint and bind g_signal_new* - clutter-1.0: Change type of Clutter.Key.* constants to uint - gdk-3.0: Change type of Gdk.Key.* constants to uint - gtk+-4.0: Change type of Gdk.Key.* constants to uint - gstreamer: Update from 1.15+ git master - webkit2gtk-4.0: Add JSC namespace to javascriptcoregtk-4.0 and fix depends - Remove clutter-gst-1.0, GStreamer 0.10, rest-0.6, tracker-indexer-module-1.0, libsoup-2.2, gdu and gdu-gtk, twitter-glib-1.0, mx-1.0 - Remove vala-specific deprecations <= vala-0.22 @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.19 2018/04/17 04:20:07 wiz Exp $ d8 1 a8 1 BUILDLINK_API_DEPENDS.vala+= vala>=0.42 d11 2 a12 2 VALAC= ${LOCALBASE}/bin/valac-0.42 VAPIGEN= ${LOCALBASE}/bin/vapigen-0.42 @ 1.19 log @vala: update to 0.40.3. Vala 0.40.3 =========== * Various bug fixes: - vala: Fix return-type of BasicBlock.get_successors() * Bindings: - gstreamer: Update from 1.15+ git master - gtk+-3.0: Fix regression of StatusIcon.position_menu() [#891629] - gtk+-4.0: Update to 3.93.0+ff738269 - libgsf-1: Update to 1.14.42+ [#794777] Vala 0.40.2 =========== * Various bug fixes: - gdbus: Fix missing declaration of _fd_list for async methods [#794566] * Bindings: - glib-2.0: Use g_value_*et_schar instead of deprecated g_value_*et_char - gobject-2.0: Add ParamSpecGType - gtk+-*.0: Hide dedicated constructors of compact classes bound as structs [#794733] Vala 0.40.1 =========== * Various bug fixes: - codegen: Don't add target fields for captured delegates without target - codegen: Don't add length fields for captured fixed-length array variables - valadoc: Bump VALA_0_xx defines and glib_minor to match 0.40 series * Bindings: - Add libgeoclue-2.0 bindings [#794376] - gobject-2.0: Cherry-pick some changes from 0.42 - gdk-3.0,gtk+-3.0: Update to 3.22.29 - gtk+-4.0: Update to 3.93.0+433517fd - gtk+-*.0: Fix iter parameter of TextView.backward*/forward*/move_visually() [#794345] - gstreamer-1.0: Update to 1.13.91 and add gstreamer-webrtc-1.0 bindings - libgsf-1: Switch to GIR and update to 1.14.42 - linux: Add various symbols - posix: Add various symbols - posix: Include sys/sysmacros.h for major(), minor() and makedev() [#794651] - webkit-1.0: Update to 2.4.11 - webkit2gtk-4.0: Update to 2.20.0 - Update GIR-based bindings Vala 0.40.0 =========== * Various bug fixes: - compiler: Fix critical when vala is called without run args [#793657] * Bindings: - alsa: Add the major part of the ALSA Sequencer API [#763127] - gstreamer-1.0: Update to 1.13.90 - gtk+-4.0: Update to 3.93.0+527d265b - linux: Add various symbols - posix: Add various symbols [#663633] - Update GIR-based bindings Vala 0.39.92 ============ * Highlights - Add support for feature test macros [#793444] e.g. [CCode (feature_test_macro = "_GNU_SOURCE")] * Various bug fixes: - codegen: + Use pointers when accessing constant multi-dimensional arrays [#604371] + Add valid support for const multi-dimensional arrays [#604371] + Don't append fixed-length of array fields in initializers + Add source_reference to some store_local/_field() calls - Properly handle array-initializers inside struct-initializers [#622178] - The rank of an array-initializer should match the target's rank [#744923] - Make SemanticAnalyzer.check_arguments() independent of context - Check with same rules for dbus compatibility as in GBusModule [#793859] - Fix recursive declaration in generic base type [#688732] - Prevent WITH_CGRAPH conditional having an impact on generated sources - Update manual from wiki.gnome.org * Bindings: - glib-2.0, posix: Add feature test macro _GNU_SOURCE for pow10(3), pow10f(3), exp10(3) and exp10f(3) [#614788] - gstreamer-1.0: Update from 1.13.1+ git master - linux: Add dup3 [#729803] - linux: Add feature_test_macros to non-POSIX file control constants and dup3 - posix: Fix sig*set and sigprocmask parameters to be out/ref [#727425] - posix: Add feature_test_macro _GNU_SOURCE to sighandler_t [#761975] - libgnome-menu-3.0: Add deps file - Update GIR-based bindings Vala 0.39.91 ============ * Various bug fixes: - Fix GDestroyNotify of delegate parameters in delegate declaration [#639059] - Avoid critical when connecting dynamic signals - valac: Always use the given "pkg-config" and respect PKG_CONFIG envar - compiler: Prefix headers for set_cheader_override() if includedir is given [#793299] - vala: Issue a warning on DBus methods which are not throwing an Error - Don't warn about unused internal methods which are meant to be visible on DBus [#593902] - Don't install vapicheck [#793370] * Bindings: - glib-2.0: Add KeyFile.get_locale_for_key() - gstreamer-1.0: Update from 1.13+ git master - gtk+-4.0: Update to 3.93.0+d07b14f4 - purple: Update to 2.12.0 - Update GIR-based bindings Vala 0.39.7 =========== * Regression fix: - codegen: Don't try to infer error argument on async begin methods [#793158] This was a regression introduced by [#614294] Vala 0.39.6 =========== * Highlights - Add --abi-stability option for ABI stability of libraries It ensures that the order of class/interface members in Vala sources will be preserved in generated C source (instance/type structs) [#789069] * Various bug fixes: - girparser: + Set NoAccessorMethod for non-readable and construct-only properties + Ignore conflicting closure/destroy indexes + Don't accept methods as property-accessor which throw errors [#792998] - codegen: + Infer error parameter from abstract/virtual base methods [#614294] + Internally generated delegates don't require a typedef [#787521] + Fix return-type for cancelled async creation methods of classes [#792942] + Use G_PARAM_STATIC_STRINGS - vala: Variadic constructors without a real first parameter are not allowed - libvaladoc: Keep bootstrap-support with valac >= 0.16.1 * Bindings: - gtk+-3.0: Fix cheader_filename of Plug and Socket - gtk+-4.0: Update to 3.93.0+4d36a0bf - gtk+-4.0: Only override type of "event" parameters - posix: Add ctime(3) and fix binding of struct hostent and gethostbyname(3) Vala 0.39.5 =========== * Various bug fixes: - libvaladoc: Allow @@link tags to be split over multiple lines [#646982] - libvaladoc: Add support for single line documentation comments [#736483] - girparser: Improve instance method detection [#732460] - codegen: Add support for abstract/virtual methods and properties in compact classes [#741465] - vala: Fix parameter type inference of overridden async methods [#792660] - codewriter: Don't use string.replace() to apply header_to_override [#731322] * Bindings: - gio-unix-2.0: Update to 2.55.1 - gtk+-4.0: Update to 3.93.0+60d3378d - libwnck-3.0: Update to 3.24.1 - webkit2gtk-4.0: Update to 2.19.5 - webkit2gtk-web-extension-4.0: Fix DOM.EventTarget interface Vala 0.39.4 =========== * Various improvements and bug fixes: - codegen + Only add property-enum and GParamSpec-array for GObject classes + Use g_enum/flags_to_string while targeting glib >= 2.54 + Add destroy param when invoking delegate returned by delegate [#792077] - Don't write trailing space in function declarations/definitions [#688447] - vala: Add pkgdatadir and pkglibdir to pkg-config file - gidlparser: Update type qualifiers * Bindings: - gtk+-2.0/3.0: Don't hide user_data in Clipboard.set_with_data() [#792237] - gtk+-3.0: Update to 3.22.26+6f26d0dc - gtk+-4.0: Update to 3.93.0+6aeae2c8 Vala 0.39.3 =========== * Various bug fixes: - Fix chain-up regression with real non-null struct parameters [#791785] - Release taken references to CodeContext after using it [#712694] and keep custom invocations of parse_file() possible [#791936] - parser: Accept comma-separated list in case-statements of switchs [#614015] * Bindings: - Remove bindings which are shipped upstream for some years + gedit 3 [#776021], libgnome-keyring [#776022], gtksourceview-3.0 [#776023], libgdata [#776024], librsvg-2.0 [#776025] - glib-2.0: Add GLib.OPTION_REMAINING and GLib.OptionFlags.NONE - gstreamer-1.0: Update from 1.13+ git master - gtk+-2.0: Mark MessageDialog constructor parameter, message_format, as nullable [#791570] - gtk+-4.0: Update to 3.93.0+6aeae2c8 - webkit2gtk-4.0: Update to 2.19.3 Vala 0.39.2 =========== * Various bug fixes: - vala: Don't transform an explicit "null" into valid format-string [#791215] - codegen: Don't create null-safe destroy-wrapper for GenericType [#791283] - Improve error message for missing type-parameter on enclosing type [#587905] * GIR parser: - Allow change of parameter names - Handle metadata for fields inside a transparent union - Accept setters with boolean return-type as valid property-accessor - Don't mark simple-type out-parameters with '?' as nullable * Valadoc - libvaladoc: Actually resolve "percnt;" to '%' * Bindings: - glib-2.0: Fix potential null pointer dereference in string.joinv() [#791257] - gobject-2.0: Add missing GType constants for fundamentals [#791023] - gstreamer-1.0: Update from 1.13+ git master - gtk+-3.0: Switch to GIR [#730746] - gtk+-4.0: Update to 3.93.0+6af4947e - posix: Move signal constants to an enum and add few missing ones [#790958] Vala 0.39.1 =========== * Highlights - Report warning if property-type is not compatible with GLib.Object [#693932] - Allow to pass compatible delegates to signal.connect() [#787521] - Allow unscoped enum values where possible - Avoid use of temp-var for some callables returning ValueType and to access in/ref parameters [#789071] - Reformat generated source declarations and definitions for better readability [#688447] * Various bug fixes: - Use array_length_cexpr to support fixed-arrays for return-values [#784691] - Properly parse arguments for vala interpeter-mode [#663070] - Enforce name-length >= 3 for structs using GType [#764041] - Report error for missing type-parameter on enclosing type [#587905] - Add boolean "use_inplace" ccode-attribute for methods [#750840] - Improve handling of unowned/owned keyword occurrences - Methods need to throw compatible error if target delegate throws one - Discover invalid member access to instance field [#790903] - Improve error output of mismatching overriding methods * Valadoc - Acknowledge possible properties in structs [#784705] - Fix fatal typo in GtkdocRenderer.visit_symbol_link() [#790266] * Bindings: - glib-2.0: Use type-id/marshaller-type for (u)int16/(u)short from (u)int32 [#693932] - glib-2.0: Add optional 'unparsed' parameter to *.try_parse () [#774124] - gobject-2.0: Add some missing symbols - gstreamer-1.0: Bind GST_TIME_ARGS, GST_STIME_ARGS macros [#750840] - gstreamer-1.0: Bind GST_DEBUG_BIN_TO_DOT_FILE/*_WITH_TS [#785215] - gstreamer-1.0: Update from 1.13+ git master - gtk+-3.0: Update to 3.22.26+9ce824d3 - gtk+-4.0: Split Gsk.RenderNode into several classes - gtk+-4.0: Update to 3.93.0+2d797dd8 - webkit2gtk-4.0: Update to 2.19.2 @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.18 2018/03/12 11:15:38 wiz Exp $ d8 1 a8 1 BUILDLINK_API_DEPENDS.vala+= vala>=0.40 d11 2 a12 2 VALAC= ${LOCALBASE}/bin/valac-0.40 VAPIGEN= ${LOCALBASE}/bin/vapigen-0.40 @ 1.18 log @Recursive bumps for fontconfig and libzip dependency changes. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.17 2018/01/07 13:04:20 rillig Exp $ d8 1 a8 2 BUILDLINK_API_DEPENDS.vala+= vala>=0.38 BUILDLINK_ABI_DEPENDS.vala?= vala>=0.38.8nb1 d11 2 a12 2 VALAC= ${LOCALBASE}/bin/valac-0.38 VAPIGEN= ${LOCALBASE}/bin/vapigen-0.38 @ 1.17 log @Fix indentation in buildlink3.mk files. The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was reviewed manually. There are some .include lines that still are indented with zero spaces although the surrounding .if is indented. This is existing practice. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.16 2017/10/03 12:31:54 wiz Exp $ d9 1 @ 1.16 log @vala: update to 0.38.1. Vala 0.38.1 =========== * Various bug fixes: - valadoc: Don't use 'stderr' as variable name [#787305] - codegen: Try to use a more unique internal define for properties [#787436] - vala: Update list of used attributes - method: Use prototype-string for error-reports of return-type mismatches * Bindings: - glib-2.0: Fix MainContext.check(), OptionEntry[] params are null-terminated, Bind g_convert_with_fallback() and g_convert_with_iconv() Vala 0.38.0 =========== * Various bug fixes: - Improve error output for incompatible method signatures (Add CallableType as base for DelegateType, MethodType, SignalType) - codegen: + Initialize temp-variable for fixed-size arrays to zero first [#787152] + Add support for "type-func" in ui-files [#787033] * Bindings: - gtk+-3.0,gtk+-4.0: Update - libxml-2.0: Bind xmlLastElementChild and xmlPreviousElementSibling - pangocairo: CairoFontMap.set_default() is not an instance method - gio-2.0: Application.set_default() is not an instance method Vala 0.37.91 ============ * Various bug fixes: - codegen: + Actually write declaration for GNodeTraverseFunc wrapper [#786845] + Don't transfer ownership of variable if target-type is unknown [#736774] + Adjust format-index for printf/scanf-methods which throw errors [#781061] + Use given dup_function for structs - libvaladoc: Fix some -Wincompatible-pointer-types warnings - tests: Fix some syntax issues [#786652] - Add .editorconfig file [#786620] * GIR parser: - Better support of "cprefix" argument in metadata - Support "cname" argument in metadata * Bindings: - Add javascriptcoregtk-4.0 and avoid skips in webkit2gtk*-4.0 - Update GIR-based bindings - gtk+-3.0: Update to 3.22.19 Vala 0.37.90 ============ * Various bug fixes: - Fix some build-system problem + valadoc/tests: Add the source vapi directory to driver-test [#786505], Add ./vala/.libs rather than ./gee/.libs to LD_LIBRARY_PATH + Explicitly link doclets against libvala-*.la [#786534] + Add missing include of Makefile.common - vapigen: Mark given source-files as such and force girparser to handle them - codegen: Include glib-object.h for Enums/Structs with type_id * Bindings: - gtk+-4.0: Make Gsk.Texturer.for_*() static factory methods Vala 0.37.2 =========== * Various bug fixes: - libvaladoc: Keep bootstrap-support with valac >= 0.16.1 - valadoc: Fix tests while bootstapping with valac < 0.31/32 * Bindings: - glib-2.0: Update Unicode symbols - gobject-2.0: Add required type_id attributes to all ParamSpec subclasses - libgdata: Make Authorizer.reauth_* methods virtual [#779229] - libxml-2.0: Update Xml.ParserOption [#785585] - gtk+-4.0: Update to 3.91.2 - webkit2gtk-4.0: Update to 2.17.90 Vala 0.37.1 =========== * Highlights - Don't warn about deprecated symbols if installed_version is older - Add --gresourcesdir option [#783133] - Install libvala-0.xx.vapi to "global" vapi directory - Require and target GLib >= 2.40 - build: Make ccode and codegen private API - build: Use --use-header for vala's libraries - compiler: Add --color=WHEN option - codegen: Use g_object_notify_by_pspec() to notify property-changes - codegen: Use *_free_full to free GLib.List, GLib.SList and GLib.Queue - codegen: Support renamed signals [#731547] - Optimize (de)serialization of arrays with type-signature "ay" [#772426] - Merge valadoc - Consider valadoc a part of vala's toolchain and therefore let it live in the main repository (adds graphviz to the build-requirements) * Various bug fixes: - Fix finally blocks with async yields [#741929] - Handle non-null in coalescing expression [#611223] - Make the task_complete flag for < 2.44 more similar to >= 2.44 [#783543] - Nullable ValueType requires POINTER as marshaller signature [#783897] - NoAccessorMethod attribute is allowed for gobject-properties only - girparser: Fix parsing of delegate-alias without target - compiler: Use API_VERSION instead of stripping PACKAGE_SUFFIX - girwriter: Write length-parameters of arrays with rank > 1 [#758019] - gdbus: Don't leak nested HashTable on deserialization [#782719] - codewriter: Update timestamps of generated c-files if needed [#683286] - tests: Use dbus-run-session instead of dbus-launch [#771455] - codegenerator: Add source_reference parameter to CodeGenerator.store_*() - Don't allow assigning delegate if no target/closure is available [#598869] - gee: Add some useful symbols from gee-0.8 * Bindings: - gio-2.0: Add DBusConnection 'closed' signal as 'on_closed' [#684358] - gio-2.0: Use default 'length = null' for DataInputStream.read_line_utf8* [#783351] - glib-2.0,gobject-2.0: Updates from 2.53.x - poppler-glib: Update to 0.54.0 - webkit2gtk-4.0: Update to 2.17.4 - gstreamer-1.0: Update to 1.13.0+ - libgvc: Add WITH_CGRAPH conditionals @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.15 2017/05/29 12:20:23 wiz Exp $ d11 2 a12 2 VALAC=${LOCALBASE}/bin/valac-0.38 VAPIGEN=${LOCALBASE}/bin/vapigen-0.38 @ 1.15 log @Recursive bump for lang/vala @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.14 2016/04/10 18:49:42 prlw1 Exp $ d8 1 a8 1 BUILDLINK_API_DEPENDS.vala+= vala>=0.36 d11 2 a12 2 VALAC=${LOCALBASE}/bin/valac-0.36 VAPIGEN=${LOCALBASE}/bin/vapigen-0.36 d18 2 @ 1.14 log @Update vala to 0.32.0 Vala 0.32.0 =========== * Bug fixes and binding updates. Vala 0.31.1 =========== * Introduce [Version] attribute. * Require and target GLib >= 2.32. * Bug fixes and binding updates. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.13 2016/02/04 12:12:36 wiz Exp $ d8 1 a8 1 BUILDLINK_API_DEPENDS.vala+= vala>=0.32 d11 2 a12 2 VALAC=${LOCALBASE}/bin/valac-0.32 VAPIGEN=${LOCALBASE}/bin/vapigen-0.32 @ 1.13 log @Update vala to 0.30. Vala 0.30.0 =========== * Binding updates. Vala 0.29.3 =========== * Add --shared-library option for GIR files. * Bug fixes and binding updates. Vala 0.29.2 =========== * Bug fixes and binding updates. Vala 0.29.1 =========== * Binding updates. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.12 2015/04/03 07:38:17 wiz Exp $ d8 1 a8 1 BUILDLINK_API_DEPENDS.vala+= vala>=0.30 d11 2 a12 2 VALAC=${LOCALBASE}/bin/valac-0.30 VAPIGEN=${LOCALBASE}/bin/vapigen-0.30 @ 1.12 log @Update to 0.28.0: Vala 0.28.0 =========== * Binding updates. Vala 0.27.2 =========== * Bug fixes and binding updates. Vala 0.27.1 =========== * Print compiler messages in color. * Add clutter-gdk-1.0 bindings. * Add clutter-gst-3.0 bindings. * Add clutter-x11-1.0 bindings. * Add rest-extras-0.7 bindings. * Bug fix and binding updates. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.11 2014/11/01 10:25:20 prlw1 Exp $ d8 1 a8 1 BUILDLINK_API_DEPENDS.vala+= vala>=0.28 d11 2 a12 2 VALAC=${LOCALBASE}/bin/valac-0.28 VAPIGEN=${LOCALBASE}/bin/vapigen-0.28 @ 1.11 log @Update vala to 0.26.1 The hope is that backward compatibility will be sufficient for us not to need to import every new stable version as a separate package. Changes since vala024 was imported: Vala 0.26.0 =========== * Bug fix and binding updates. Vala 0.25.4 =========== * Add option --vapi-comments. * Bug fixes and binding updates. Vala 0.25.3 =========== * Bug fixes and binding updates. Vala 0.25.2 =========== * Require and target GLib >= 2.24. * Report warning for private struct fields. * Replace webkit2gtk-3.0 bindings with webkit2gtk-4.0 bindings. * Always build vapigen. * Bug fixes and binding updates. Vala 0.25.1 =========== * Support explicit interface method implementation. * Support (unowned type)[] syntax. * Support non-literal length in fixed-size arrays. * Mark regular expression literals as stable. * GIR parser updates. * Add webkit2gtk-3.0 bindings. * Add gstreamer-allocators-1.0 and gstreamer-riff-1.0 bindings. * Bug fixes and binding updates. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.1 2014/08/09 22:12:56 wiz Exp $ d8 1 a8 2 BUILDLINK_API_DEPENDS.vala+= vala>=0.26 BUILDLINK_ABI_DEPENDS.vala+= vala>=0.26 d11 2 a12 2 VALAC=${LOCALBASE}/bin/valac-0.26 VAPIGEN=${LOCALBASE}/bin/vapigen-0.26 @ 1.10 log @recursive bump from libffi shlib major bump (additionaly, reset PKGREVISION of qt4-* sub packages from base qt4 update) @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.9 2012/05/07 01:53:44 dholland Exp $ d8 2 a9 2 BUILDLINK_API_DEPENDS.vala+= vala>=0.10.1 BUILDLINK_ABI_DEPENDS.vala+= vala>=0.12.1nb4 d12 2 a13 2 VALAC=${LOCALBASE}/bin/valac-0.12 VAPIGEN=${LOCALBASE}/bin/vapigen-0.12 @ 1.9 log @Set BUILDLINK_ABI_DEPENDS correctly (with +=, not ?=) It turns out there were a lot of these. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.8 2012/03/03 00:12:11 wiz Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.vala+= vala>=0.12.1nb3 @ 1.8 log @Recursive bump for pcre-8.30* (shlib major change) @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.7 2012/02/06 12:40:47 wiz Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.vala?= vala>=0.12.1nb3 @ 1.7 log @Revbump for a) tiff update to 4.0 (shlib major change) b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk) Enjoy. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.6 2012/02/06 11:48:32 drochner Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.vala?= vala>=0.12.1nb1 @ 1.6 log @set some variables to point clients to exact ("valac-0.12" rather than just "valac") versions, to prepare for parallel installation of multiple vala compiler versions @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.5 2011/04/22 13:42:19 obache Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.vala?= vala>=0.12.0nb1 @ 1.5 log @recursive bump from gettext-lib shlib bump. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.4 2010/11/06 15:02:56 gls Exp $ d12 6 @ 1.4 log @Update lang/vala to 0.10.1. Required for the upcoming graphics/shotwell port. Upstream changes: Vala 0.10.1 released on October 26, 2010 Changes * Remove outdated GTK+ 3 bindings. * Many bug fixes and binding updates. Vala 0.10.0 released on September 18, 2010 Changes * Port GIR parser and writer to GIR version 1.2. * Update GLib bindings to 2.26 branch. * Bug fixes. Vala 0.9.8 released on September 4, 2010 Changes * Add --fatal-warnings commandline option. * Deprecate string.len () in favor of string.length. * Deprecate use of D-Bus GLib in favor of GDBus. * Many bug fixes and binding updates. Vala 0.9.7 released on August 19, 2010 Changes * Fix regression introduced by codegen refactoring. Vala 0.9.6 released on August 18, 2010 Changes * Drop deprecated support for assigning to construct properties. * Some refactoring in the code generator. * Bug fixes in bindings and vapigen. Vala 0.9.5 released on August 9, 2010 Changes * Add version suffix to support parallel installation. * Define VALA_X_Y according to compiler version. * Enable version header by default. * Add vala.m4 with VALA_CHECK_PACKAGES macro. * Add gedit-2.20 bindings (Andrea Del Signore). * Add tokyocabinet bindings (Evan Nemerson). * Various improvements to the Dova profile. * Many bug fixes and binding updates. Vala 0.9.4 released on July 27, 2010 Changes * Append documentation comments to generated C files. * Skip tags in .gir files. * Various improvements to the Dova profile. * Many bug fixes and binding updates. Vala 0.9.3 released on July 14, 2010 Changes * Support newlines in double quoted string literals. * Add experimental support for main blocks. * Add experimental vala tool to compile and run code. * Initial support for generic delegates. * Support using GClosure for delegate parameters. * Support GBoxed-based memory management. * Improvements to the .gir reader and writer. * Various improvements to the Dova profile. * Many bug fixes and binding updates. Vala 0.9.2 released on June 20, 2010 Changes * Initial support for GDBus-based clients and servers. * Support implicit and explicit GVariant casts. * Add support for [Deprecated] attribute. * Add GenericArray as alternative binding to GPtrArray. * Add gdk-pixbuf-3.0, gdk-3.0, gdk-x11-3.0, and gtk+-3.0 bindings. * Updates to the GLib bindings. * Many bug fixes. Vala 0.9.1 released on June 7, 2010 Changes * Support constants in enums. * Deprecate +=/-= syntax to connect/disconnect signal handlers. * Add experimental support for Dova profile. * Update Genie parser (Jamie McCracken). * Add clutter-gst-1.0 bindings (Ali Sabil). * Add gdu and gdu-gtk bindings. * Add libesmtp bindings (Adrien Bustany). * Add mx-1.0 bindings (Evan Nemerson). * Add orc-0.4 bindings (Fabian Deutsch). * Add rest-extras-0.6 bindings (Adrien Bustany). * Updates to the GLib, GStreamer, Linux, SQLite, and other bindings. * Many bug fixes. Vala 0.8.1 released on April 21, 2010 Changes * Support constants in enums. * Add clutter-gst-1.0 bindings (Ali Sabil). * Add gdu and gdu-gtk bindings. * Many bug fixes and binding updates. Vala 0.8.0 released on March 31, 2010 Changes * Infer type arguments when calling generic methods. * Support `in' operator for arrays. * Add experimental support for regular expression literals. * Add experimental support for chained relational expressions. * Add va_list support. * Add clutter-gtk-0.10 bindings (Gordon Allott). * Add gdl-1.0 bindings (Nicolas Joseph). * Add gstreamer-app-0.10 bindings (Sebastian Drge). * Add gstreamer-cdda-0.10 bindings (Sebastian Drge). * Add gudev-1.0 bindings (Jim Nelson). * Add libgda-report-4.0 bindings (Shawn Ferris). * Add libgvc (graphviz) bindings (Martin Olsson). * Add purple bindings (Adrien Bustany). * Many bug fixes and binding updates. @ text @d1 1 a1 1 # $NetBSD$ d9 1 @ 1.3 log @Patch GTK vapi bug (needed by valide) Add vapigen option an enable it (closes pkg/41001) Fix a minor PLIST problem @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:24:53 joerg Exp $ d8 1 a8 1 BUILDLINK_API_DEPENDS.vala+= vala>=0.5.7nb1 d12 1 a12 1 .endif # VALA_BUILDLINK3_MK @ 1.2 log @Simply and speed up buildlink3.mk files and processing. This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.1.1.1 2009/03/05 21:56:29 ahoka Exp $ d8 1 a8 1 BUILDLINK_API_DEPENDS.vala+= vala>=0.5.7 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 2 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ VALA_BUILDLINK3_MK:= ${VALA_BUILDLINK3_MK}+ d5 2 a6 3 .if ${BUILDLINK_DEPTH} == "+" BUILDLINK_DEPENDS+= vala .endif a7 5 BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nvala} BUILDLINK_PACKAGES+= vala BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}vala .if ${VALA_BUILDLINK3_MK} == "+" a9 1 .endif # VALA_BUILDLINK3_MK d12 1 d14 1 a14 1 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} @ 1.1.1.1 log @Import vala-0.5.7 as lang/vala. Vala is a new programming language that aims to bring modern programming language features to GNOME developers without imposing any additional runtime requirements and without using a different ABI compared to applications and libraries written in C. valac, the Vala compiler, is a self-hosting compiler that translates Vala source code into C source and header files. It uses the GObject type system to create classes and interfaces declared in the Vala source code. It's also planned to generate GIDL files when gobject- introspection is ready. @ text @@