Vala 0.52.2 =========== * Regression and bug fixes: - codegen: + Don't free temp-var for element-access to array with boxed structs [#1174] + Don't free unowned heap allocated struct * Bindings: - glib-2.0: Add simple_generics attribute to GenericArray.find_custom() 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 Vala 0.50.3 =========== * Various improvements and bug fixes: - codegen: + Use CCodeInvalidExpression instead of place holders + Don't leak memory of already assigned out-parameter on error [#1123] + Don't leak memory on internal value comparison of property setter + Fix assignment of casted struct value to property [#1126] - vala: + Report an error if gio-2.0 is missing for DBus support + Add missing TraverseVisitor.visit_addressof_expression() + value_type of PointerIndirection expressions must not be owned [#1118] + SliceExpression need to return heap-allocated or unowned references [#1120] + Accept "unowned var" as type for foreach variable declaration [#152] + Ownership transfer of inline-allocated array is not allowed [#931] - tests: Use Automake’s parallel test driver to speed up running tests [#1094] - testrunner: A lot of simplifications * Bindings: - gio-2.0: Fix DBusSubtreeIntrospectFunc binding - gstreamer-1.0: Fix direction of GLib.Value typed parameters [#1014] - gstreamer: Update from 1.19.0+ git master - gtk4: Use correct cheader_include for wayland/x11 gdk backend [#1112] - gtk4: Don't rename binding for gtk_css_provider_load_from_data [#1117] - gtk4: Update to 4.0.1 - webkit2gtk-4.0: Update to 2.30.3 Vala 0.50.2 =========== * Various improvements and bug fixes: - codegen: + More use of delegate_target_type and delegate_target_destroy_type + Reduce get_delegate_target/get_delegate_target_destroy_notify calls + Don't use inferred type for temp-value to access generic property [#1088] + Update outdated array _size_ variable of captured local-variable [#1090] + Report internal error for unsupported collection type in foreach - vala: + Issue an error on void initializer for local-variable + Allow markup-reader to accept spaces around '=' of attribute assignment + CodeNode.source_reference is optional, so let the API respect that + Use DataType.compatible() to check for string concatenation [#1100] - valadoc: Don't call CodeContext.pop() on empty stack [#1064] - libvaladoc: Don't filter-out generic type-parameters of delegates - libvaladoc/girimporter: Skip "docsection" elements in - testrunner: Add "-Werror=return-local-addr" flag - manual: Update from wiki.gnome.org * Bindings: - alsa: Fix PcmDevice.set_poll_descriptors_revents() binding [#1092] - curses: Add Terminfo API set, function keycodes F(n) and minor changes - curses: Correctly use [PrintfFormat] attribute - glib-2.0: Fix return-type of Uri.parse_params() binding - glib-2.0: Add return codes to FileStream.putc/puts(), like posix - glib-2.0: Add GenericArray.find_custom(), variant of find_with_equal_func() - glib-2.0: Improve GenericArray.length property - gio-2.0: Fix binding of Resolver.lookup_service*() - gstreamer: Update from 1.19.0+ git master - gtk4: Attribute Gsk.ShaderArgsBuilder.free_to_args with DestroysInstance - gtk4: Update to 3.99.4+7551f85d [#1089] - linux: Add missing struct in cname for Spi.IocTransfer - posix: Declare fstat, stat, lstat and fstatat as public [#1086] - posix: Add freopen binding, as FILE.reopen() - rest-0.7: Fix ParamsIter.next() binding - vapi: Update GIR-based bindings 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 Vala 0.48.8 =========== * Various improvements and bug fixes: - codegen: + Handle "gtk_param_spec_expression" in get_param_spec() + Properly compare string if binary-expression contains string-literal + Inline allocated and constant arrays are never NULL + Check param for null before using it + Properly destroy elements of an inline struct array [#365] - vala: + Avoid subsequent critical caused by invalid array type for constant + Improve error handling of nested initializer lists + Don't allow "resize" invocation on variable with unowned array type [#928] + Property must be writable when invoking ReturnsModifiedPointer method [#1023] + Recursive check of assignment target to recognize constants [#944] + Return copy of constant type in get_value_type_for_symbol() + Handle parameter initializer without value-type + Fully qualify member-access when using-directive was used to resolve [#57] + Tranform instance member-access to a static one if possible [#270] + Improve check of expression passed to yield + Allow prototype access to signal with emitter + Check error-type accessibility of creation methods and delegates - girparser: Warn about conflicting signals and properties - girparser: Skip 'docsection' elements in - girwriter: + Add c:identifier-prefixes to + Write c:type="void" when name="none" + Write c:symbol-prefix on supported elements + Don't include symbols outside of a namespace [#241] + Use appropriate get_ccode_* functions - libvaladoc: Support exporting the `class` modifier on methods and fields - Disable deprecation warnings when checking bindings - tests: Fix "methods/extern" test with -Werror=address and gcc 5.4.0 * Bindings: - glib-2.0: Add AtomicUint, an alternation of AtomicInt for uint [#915] - gstreamer: Update from 1.17.2+ git master - gtk+-3.0: Update to 3.24.21+ffe2df7b - gtk+-3.0: Resolve conflicts of signals with properties - gtk4: Resolve conflict of DropTarget.drop signal with property [#1033] - gtk4: Improve Gtk.ParamSpecExpression binding - gtk4: Fix binding of CClosureExpression ctor [#1024] - gtk4,gtk4-unix-print: Update to 3.98.5+23dcf36e - webkit2gtk-4.0: Update to 2.29.4 Vala 0.48.7 =========== * Various improvements and bug fixes: - codegen: + Improve array-dup-wrapper for empty arrays [#999] + Don't call get_ccode_finish_instance() with non-async methods + Cast initializer-list to struct for non-constant/-array assignment [#1013] + Consistently use get_ccode_lower_case_prefix() for function names [#1008] - vala: + Correctly handle qualified struct type in initializer list [#1004] + Reduce calls of CodeContext.get() + Fix value-type for ArrayCreationExpression used as argument [#1009] + Improve parameter check of "get" method used for foreach [#1017] + Don't carry floating reference into unknown target type expression [#1018] - girparser: Actually respect given cprefix metadata for enumerations - girwriter: Append symbol-attributes to callback field [#1006] - parser: Avoid mitigation for missing token if it follows DOT or DOUBLE_COLON [#987] - libvaladoc/girimporter: Skip "function-macro" elements - build: Update git-version-gen to latest upstream - tests: Build typelib if g-ir-compiler is available * Bindings: - gstreamer-audio-1.0: Adjustments for Gst.Audio.Sink class extension - gstreamer: Update from 1.17.1+ git master - gtk+-3.0: Deprecated abstract methods are not required to be implemented - gtk4: Prefix value names of PaintableFlags with "STATIC_" [#1011] - gtk4: Mark optional methods of Gdk.Paintable interface as virtual [#1021] - gtk4: Update to 3.98.5+fca2ba96 - harfbuzz-gobject: Update to 2.6.8 - pango: Update from 1.45.2 - webkit2gtk-4.0: Update to 2.29.2 - vapi: Update GIR-based bindings Vala 0.48.6 =========== * Regression and bug fixes: - codegen: + Correctly handle cast-expression of real struct to nullable struct [#991] + Use loop index instead of get_ccode_pos() for ellipsis parameter [#995] - vala: + Allow node_ref being null in SemanticAnalyzer.get_instance_base_type() + SemanticAnalyzer.get_instance_base_type() is not allowed to return null + params-array parameter is not allowed in abstract/virtual method [#985] + Use stable hash for methods in HashMap of implicit_implementations [#990] and Use "str_equal" as equal_func for ArrayList instances + Set value_type of undefined member-access to avoid further criticals + Transform cast from floating-type to boxed-type [#991] + Transform cast from integer-type to boxed-type [#992] + Explicit "new" method may be incompatible with a posssible base method - valadoc: Add implicit "Posix" using-directive for POSIX profile - girparser: Add support for boolean "new" argument for methods * Bindings: - gtk4: Update to 3.98.3+028942c8 Vala 0.48.5 =========== * Regression and bug fixes: - Revert "vala: Set default_construction_method in semantic-analyzer check if required" [#982] - tests: Fix make dist Vala 0.48.4 =========== * Various improvements and bug fixes: - codegen: + Fix binary 'in' operator on array with boxed value-typed needle [#951] + Use get_value_*_function() in GSignalModule.generate_marshaller() [#468] + Correctly handle signals returning real non-nullable struct [#466] + Use specified indices to access multidimensional array constants [#905] + Fix base-access to non-abstract/non-virtual properties [#204] + Fix default of CCode.pos for parameters in async methods - vala: + Set default_construction_method in semantic-analyzer check if required + Fix cleaning of output in CodeContext.pkg_config_modversion() + Don't use possibly uninitialized backing field of package_name [#971] + Add SourceReference.contains() and SourceLocation.to_string() + Check assigned handler of dynamic signal before proceeding further + Don't perform version check on internal lambda method + Perform version check for types of non-external variable declarations + Quote symbol on report by version attribute check + Ensure non-empty argument list for "disconnect" before accessing it - girparser + Move special handling for certain parameters to process_callable() + Drop special handling of GLib.Data, GLib.PtrArray and GLib.String + Improve detection of AsyncReadyCallback/AsyncResult parameters [#340] - parser: Handle incomplete expression statements * Bindings: - gio-2.0: Add "async_result_pos" attributes to *.call_with_unix_fd_list() [#340] - glib-2.0: Fix Filename.canonicalize() binding of g_canonicalize_filename - glib-2.0: Guard Pid.to_string() with GLIB_2_50 to deal with G_PID_FORMAT - gstreamer-app-1.0: Don't merge Src.push_buffer_*() signal with its method [#968] - gstreamer-1.0: Don't skip GST_*_FORMAT strings [#970] - gtk4: Update to 3.98.3 - vapi: Update GIR-based bindings Vala 0.48.3 =========== * Various improvements and bug fixes: - codegen: + Append initializer for "_*_size_" of array field in internal struct + Avoid critical trying to serialize an unsupported type to Variant [#952] + Don't free value if property setter takes ownership [#953] + Correct field declaration for captured inline-allocated array [#954] + Include "glib.h" for G_BEGIN_DECLS/G_END_DECLS usage + Correctly handle transformation of translated string-literal constants + Don't pass CCodeCastExpression to NULL-aware free macro [#953] - vala: + Support struct initializer list in non-constant array [#949] + Handle unlock() statement in CodeWriter + Handle all ctors and dtors in CodeWriter + Consider boolean types are compatible with each other + Parse standalone integer/real literals as expression statement [#961] + Warn about usage of override to implement abstract interface methods * Bindings: - gio-2.0: Update to 2.65.0~a136776e - gstreamer: Update from 1.17.0+ git master - gtk4: Update to 3.98.2+11495027 Vala 0.48.2 =========== * Various improvements and bug fixes: - vapigen: Define "GOBJECT" corresponding to set profile of CodeContext [#933] - codegen: + Reset outdated array _size_ variable after use as ref parameter [#929] + Emit postconditions before free'ing local variables + Correctly access captured parameter in precondition of method [#144] + Use correctly typed array-length variable for property-getter + Use correctly typed array-length variable for delegate invocation + Inherit "array_length_type" from (base-) parameter/property/method [#938] + Improve handling of "array_length_type" attribute [#938] + Use memset to init inline-allocated array with non-constant size [#910] + Initialize temp-var for property array length before calling getter + Include "glib.h" for g_return_*() usage [#940] - vala: + Use error() instead of Report.error() inside of CodeContext.get() + Accept enum-values as length for inline allocated arrays [#935] + Improve copy of required attributes from delegate to lamdba method + Inherit lambda parameter attributes from delegate + Inline-allocated array aren't instantiated with creation expression [#926] - valadoc: Create and register current Vala.CodeContext properly - parser: Improve error message for invalid ArrayCreationExpression [#939] - tests: Drop usage of "--main main" and avoid ambigious entry-points - manual: Update from wiki.gnome.org * Bindings: - Add cairo-gobject binding - cairo: Add missing type_id attributes guarded by GOBJECT define - glib-2.0: Add binding for g_poll() [#924] - glib-2.0: Add binding for g_win32_ftruncate() - glib-2.0: Add missing IOChannel's win32 API - gio-2.0: Add binding for g_io_error_from_win32_error() - gstreamer: Update from 1.17.0+ git master - gtk4: Update to 3.98.1 - posix: Add pathconf and fpathconf bindings - vapi: Update GIR-based bindings Vala 0.48.1 =========== * Various improvements and bug fixes: - codegen: + Replace hard-coded "gsize" with resolved "size_t" + Add destroy of parameter in vfunc of delegate property setter [#919] + Inherit "array" attributes from (base/-interface) property + Inherit "delegate_target" from (base/-interface) parameter/property/method + Actually respect "delegate_target" attribute of method/parameter + Move ObjectTypeSymbol casting to GTypeModule + Factor out GValueModule and GLibValue into a separate source-files + Avoid symbol clashes with "va_*" from "stdarg.h" - vala: + Fix search for Parameter.base_parameter + Real struct-type without type_id can't be used for GObject property [#921] - codewriter: Output inner interface declarations [#918] * Bindings: - glib-2.0: Add missing "type_id"/"has_type_id" attributes to structs [#921] - glib-2.0: Memory profiling ("g_mem_*") is deprecated since 2.46 - linux: Don't depend on GLib.Time when using POSIX profile - gtk4: Update to 3.98+2da445f9 - poppler-glib: Update to 0.85 - vapi: Update GIR-based bindings 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] Vala 0.46.4 =========== * Various improvements and bug fixes: - codegen: + Use G_TYPE_INSTANCE_GET_INTERFACE to get vtable for base-access + Fix setting of generic-type properties for gobject chain up [#654702] + Make type-parameter properties readable [#190] + Reduce code duplications when generation base-access - vala: + Warn when passing arrays to typeof(), except for "string[]" [#868] + Don't falsely resolve binary-expression to bool [#869] + Do not allow += for arrays with fixed length + Infer array length of inline allocated arrays for fields [#644046] + Do not allow to .resize() on arrays with fixed length + Do not allow to change .length of arrays with fixed length + Improve error message for arrays as type arguments + Improve error reporting for invalid interface prerequisites [#437] + Write value of constants/enums in fast-vapi if constant only [#461] + Restore DestroysInstance behaviour for non-compact classes [#873] - parser: `owned` is not allowed on Constants - girparser: Detect and replace "-" in parameter names - girwriter: Add readable="0"/private="1" attribute to type-specific fields - gidl: + Calculate size correctly, avoid use-after-free + Avoid use of uninitialized "markup" warning + Ignore flags like -mfpmath=sse, -msse or -msse2 - valadoc: + libvaladoc: Fix parameter and property ownership declarations + Fix ownership declarations of Constants - pkg-config: + vala: Add missing gmodule-2.0 to Requires.private of pkg-config file + libvaladoc: Move gmodule-2.0 to Requires.private of pkg-config file * Bindings: - glib-2.0: Guard against passing null source to GLib.Memory.copy() - gio-2.0: Use custom TaskReadyCallback delegate in Task.report*_error() - gstreamer: Update from 1.17.0+ git master - gtk+-3.0: Skip _MountOperationHandler* symbols - gtk4,gtk4-unix-print: Update to 3.96.0+ab407ba5 - libusb-1.0: Don't depend on glib-2.0 - libusb-1.0: Remove unused private "malloc" binding - linux: Add memfd_create(2) - posix: Bind some essential memory allocation functions - webkit2gtk-4.0: Update to 2.27.2 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 Vala 0.44.3 =========== * Regression and bug fixes: - codegen: Always assign original variable when consuming instance to destroy [#781] - build: Require --with-cgraph configure flag when cross-compiling [#775] * Bindings: - gdk-3.0,gtk+-3.0: Update from 3.24.7+ - gtk4: Update to 3.94.0+2594593d - gstreamer: Update from 1.15.2+ git master - pango: Fix StringBuilder parameter of scan_word() Vala 0.44.2 =========== * Various improvements and bug fixes: - ccodegen: + Resolve generics in sizeof-expression of parameter initializer + Move implicit GValue cast for comparison to BinaryExpression [#585063] + Use available *_unref functions in G_DEFINE_AUTOPTR_CLEANUP_FUNC + Move get_type_signature() to DataType + Move try_cast_variant_to_type() to GVariantModule.visit_cast_expression() + Don't create special GArray clear-func for non-null structs + Implement silent-cast for GLib.Variant [#767] - vala: Variadic parameters are not supported for async methods - vala: Report error for unsupported operator instead of assertion - girparser: Create correct output in get_default_lower_case_suffix() [#778] - libvaladoc: Handle missing Content.List.Bullet.ORDERED in switch - libvaladoc: Handle missing Run.Style.NONE in switch - Add explicit "default: break;" statements for coverage of enum-typed switch * Bindings: - glib-2.0: Don't annotate dedicated GLib.assert_*() with [Assert] [#769] - gio-2.0: Revert enum-typed flags parameters in Socket API [glib!728] - gobject-introspection-1.0: Fix TypeInfo and TypeTag method references - gstreamer: Update from 1.15.2+ git master - gstreamer-1.0: Fix TypeFind and TypeFindFactory method references [#778] - gtk4: Update to 3.94.0+f273eca7 - vapi: Update GIR-based bindings 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] Vala 0.42.3 =========== * Various improvements and bug fixes: - codegen: + Initialize internal temp-variables used as reference parameter + Improve ccode for fixed-length array parameters (#163) + Fix regex literal compile flags + Add prototype for *_register_type() function + Don't emit *_free() of derived compact classes + Add prototype for *_new() of abstact compact classes - girwriter: Fix ctype of out/ref and array parameters - ccode: Fix typo and actually check "end_decls" (#672) - abstract syntax tree: + Always analyze nodes after they are inserted into the AST + Add source_reference to local variable of catch-clause + Add missing replace_expression() implementations + Fix several construction/parenting issues + DataType for GLib.Error should be should resolved as ErrorType - libvaladoc: Add "unlock" to keywords in Highligher - posix: + Add replacement for G_(BEGIN|END)_DECLS + Don't check for GLib.Variant casting - testrunner: Reset $run_prefix before generating next test script - build: Unconditionally add conditional VALAFLAGS to make bootstrap - doc: Fix build of internal-api-docs - manual: Update from wiki.gnome.org * Bindings: - glib-2.0: Computing length once is enough in string.to_utf8()/splice() - glib-2.0: Add binding for g_test_add() - glib-2.0: Add array length to string.skip (#695) - gio-2.0: Result of DBusMessage.get_header() is unowned - gobject-2.0,gtk+-*.0: Fix some GLib.Value out/ref parameters - gstreamer: Update from 1.15+ git master - gtk+-4.0: Update to 3.94.0+b4b30b49 Vala 0.42.2 =========== * Various improvements and bug fixes: - codewriter: Prepend "yield" if is_yield_expression is set on MethodCall and ObjectCreationExpression - codegen: Fix typo in is_pure_ccode_expression() [#673] - gobject-introspection: Fix use after free in scanner [#674] - vala: Check if ArrayType supports its given element-type in analyzer pass - valadoc: Fix some string escaping which gettext complains about * Bindings: - Update GIDL-based bindings to fix unsupported type-arguments - glib-2.0: Add feature_test_macro details for Time struct's methods - glib-2.0: Set DateTime.now () to use local time zone as the default - gstreamer: Update from 1.15+ git master - gtk+-4.0: Update to 3.94.0+d90e2733 - libxml-2.0: Add missing context parameter in OutputWriteCallback - x11: Add binding for XCreateSimpleWindow Vala 0.42.1 =========== * Various improvements and bug fixes: - vapigen: Warn if the library argument doesn't match any package attribute [#669] * Bindings: - glib-2.0: Add some 2.58 symbols - gtk+-4.0: Update to 3.94.0+f3e6d00d - Add gnome-desktop-3.0 bindings [#668] - Remove libgda-4.0, libgda-report-4.0 bindings [#667] - Update GIR-based bindings 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 Vala 0.40.8 =========== * Various improvements and bug fixes: - Fix links in the Manual - libvaladoc: Change link to Valadoc wiki page for HTML doclet - valadoc: Use HTML5 doctype in HTML doclet - codegen: Let methods return -1 on error by default if possible [#526] - Allow TypeModule subclasses as parameter-type in module-init-method [#648] - girparser: Allow changing the type of constants using metadata [#643] - girwriter: Add boolean GIR visible attribute to allow skipping symbols - vala: Report error for error-domains without any code - parser: Accept "empty" enums/error-domains [#253] - codewriter: Output bodies of code-blocks if in VAPIGEN mode [#253] * Bindings: - gobject-2.0: Add lower_case_csuffix attributes to Type* symbols - gdk-3.0,gtk+-3.0: Update to 3.23.0+df045423 - gio-2.0: Add custom IOError.from_errno() to make it work as expected [#253] - gtk+-4.0: Update to 3.94.0+bf5f27c6 - gstreamer-rtsp-server-1.0: Update from 1.14+ git master [#653] Vala 0.40.7 =========== * Various improvements and bug fixes: - Update bugtracker links to https://gitlab.gnome.org/GNOME/vala/issues - codegen: + Handle delegate_target attribute of fields [#520] + Free generic elements of glib collections [#694765] + Fix warning for source_funcs parameter of g_source_new() + Actually treat GLib.Source as compact class + Custom abstract methods of GLib.Source are handled differently [#641] + Consistently use gpointer for delegate targets + Unify some delegate-type check patterns + Use default_init instead of base_init when registering interfaces [#699550] - girparser: Add support for bool delegate_target [#520] - girwriter: + Output deprecated="1" + construct-only properties don't have a setter method + Don't write any custom attributes [#608] - valadoc: Fix TreeBuilder.create_array() for stacked Arrays * Bindings: - glib-2.0: + Do not mark simple-type out-parameters as nullable [#634] + Make Source.attach() use the default MainContext by default + Make Bytes.slice() use the memory-efficient Bytes.from_bytes() [#638] + Fix Bytes.with_free_func() - gio-2.0: + Mark ActionEntry.parameter_type/state fields as nullable [#632] + Delegate fields of DBus*VTable do not have implicit target fields + Apply delegate_target = false on ActionEntry callbacks and make them weak [#630] + Add default to all io_priority parameters - gstreamer: Cherry-pick some fixes from 0.42, add gst-editing-services-1.0 - gtk+-3.0: Update to 3.22.30+9ac7f906 - gtk+-4.0: Update to 3.93.0+29fee2e8 - webkit2gtk-4.0: Update to 2.21.4 - Update GIR-based bindings Vala 0.40.6 =========== * Regression fix: - codegen: Avoid critical for array in-parameters with custom length-type - tests: Drop assert which is failing on big-endian archs Vala 0.40.5 =========== * Various improvements and bug fixes: - Warn if --gir is used without --library [#708693] - Report an error if rank attribute is required but was not found [#660991] - scanner: Accept \R and \N escape sequences in regex literals [#749576] - scanner: Accept backreferences \1 through \99 in regex literals [#728574] - codegen: + Avoid critical in get_basic_type_info() when there is no signature [#729517] + Fix serializing multidimensional arrays [#735437] + Guard get_default_ref_sink_function() against null base-class + Respect cname ccode-attribute of lockable fields + Fix casting of length for "ref" array parameters - codewriter: Add 'new' to symbols if needed to match the original source [#614686] - girparser: Deal with missing "name" attribute by falling back on "c:type" - girwriter: Drop errornous indent - girwriter: Properly output variadic methods and use introspectable="0" - genie: Add support for the \v escape character [#664689] - genie: Add support for the \uXXXX escape sequence * Bindings: - glib-2.0: Fix IConv.iconv() [#634753] - gobject-2.0: Make constructor of ParamSpecBoxed public - gstreamer: Cherry-pick some fixes from 0.42 - gtk+-3.0: Update to 3.22.30+21fddc39 - gtk+-4.0: Update to 3.93.0+3a860719 - javascriptcoregtk-4.0: buffer of String.get_utf8_cstring() is not "ref" [#788113] - posix: Add missing cname = "int" to Posix.Signal enum - sqlite3: Add additional constants for flags of Database.open_v2() [#795627] - webkit2gtk-4.0: Cherry-pick some fixes from 0.42 Vala 0.40.4 =========== * Various improvements and bug fixes: - girparser: Add support for NoAccessorMethod metadata * Bindings: - glib-2.0: Mark str parameter of Variant.take_string() as owned - gstreamer: Update from 1.15+ git master - gtk+-*.0: Set NoAccessorMethod on Gtk.Radio*.group properties (Regression in gtk+-3.0) - gtk+-4.0: Update to 3.93.0+fc6018f1 - json-glib-1.0: Mark return-type of gvariant_deserialize*() as nullable - webkit2gtk-4.0: Update to 2.20.1 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 Vala 0.38.3 =========== * Various bug fixes: - codegen: Prioritize "array_length=true" over "array_null_terminated=true" [#788775] - codegen: Avoid possible conflicts with internal property/signal defines [#788964] * Bindings: - gio-2.0: Expose g_task_get_source_object as Task.get_unowned_source_object - gstreamer-1.0: Update from 1.13+ git master - gtk+-4.0: Update to 3.92.1 - libxml-2.0: Add DTD methods [#789442] Vala 0.38.2 =========== * Various bindings updates: - gstreamer-1.0,gtk+-3.0,gtk+-4.0: Update from git master - gnutls: Fix free_function ccode-attribute of Certificate [#788181] 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 Vala 0.36.3 =========== * Various bug fixes: - scanner: Fix calculation of column value for tokens after multiline comment [#652899] - codegen: Unref GLib.AsyncResult on uncaught errors in coroutines [#641171] - Keep initializing result-variable for struct constructors [#782056] Vala 0.36.2 =========== * Various bug fixes: - Enums require at least one value otherwise report an error * Bindings: - gstreamer-1.0: Update to 1.11.90+ - gio-2.0: Fix GLib.Task constructor and report_error/report_new_error() - glib-2.0: Add quark() functions to errordomains, Add missing version macro and constants, Vala 0.36.1 =========== * Various bug fixes: - Always consider a method compatible with itself [#773135] - Perform arguments-check against actual .end() method-signature [#684208] - Slightly improve lamdba-expression error on target-type mismatch - Fix delegate initializer for instance fields [#683925] - Don't leak target-reference when casting/assigning owned delegates [#780426] * GIR parser and writer: - girparser: Add destroy argument for metadata [#750838] - vapigen: Add --nostdpkg option like in valac * Bindings: - gstreamer-1.0: Fix Pad.set_*_function() bindings [#750838] - glib-2.0: Add missing version macro and constants, unichar.to_string doesn't return null - gtk+-2.0,gtk+-3.0: Mark "intersection" param of Widget.intersect() as out - gtk+-4.0: Update to 3.90.0 Vala 0.36.0 =========== * Highlights - Update manual using DocBook from wiki.gnome.org as source [#779090] - Add support for array-parameters with rank > 1 in signals [#778632] - Use GTask instead of GSimpleAsyncResult with GLib 2.36/2.44 target [#763345] - Deny access to protected constructors [#760031] - Support [DBus (signature = ...)] for properties [#744595] - Add [CCode ("finish_instance = ...")] attribute [#710103] - Support [HasEmitter] for vala sources [#681356] - Add support for the \v escape charactor [#664689] - Add explicit copy method for arrays [#650663] - Allow underscores in type parameter names [#644938] - Support [FormatArg] attribute for parameters - Ignore --thread commandline option and drop gthread-2.0 references - Check inferred generic-types of MemberAccess [#775466] - Check generic-types count of DelegateType [#772204] - Fix type checking when using generics in combination with subtype [#615830] - Fix type parameter check for overriding generic methods - Use g_signal_emit where possible [#641828] - Only emit notify of properties if value actually changed [#631267] [#779955] - Mark chained relational expressions as stable [#677022] - Perform more thorough compatibility check of inherited properties [#779038] - Handle nullable ValueTypes in signals delegates properly [#758816] * New bindings: - gtk+-4.0, gtk+-unix-print-{2,3,4}.0, libgrss * Removed bindings: - clutter-json-1.0 * Updated bindings. Some fixes may need to be wrapped in your Vala code with the preparser directive #if VALA_0_36 - cairo: Add bindings for cairo_*_user_data() - clutter-1.0: Fix constructors which weren't detected as such - clutter-gst-2.0: Skip VideoTexture.get_audio_streams/get_subtitle_tracks - clutter-gst-3.0: Three commits - gdk-2.0: Include gdk/gdkkeysyms.h for Gdk.Key - gdk-3.0: Three commits - gdk-pixbuf-2.0: Three commits - gobject-introspection-1.0: Prettify and fix the whole thing - gsl.vapi: Fix attribute typos - gstreamer-1.0: Make ElementFactory.get_static_pad_templates fully "unowned", Mark *.make_writable with "ReturnsModifiedPointer", Fix Gst.Base.Adapter.map/take bindings - gtk+-3.0: Various updates - gtk+-X.0: Mark "iter" param of ListStore.remove() as ref - libarchive: Add ReadDisk - libxml-2.0: Adding missing API and nullable parameters - linux: add non-posix fcntl constants - polkit-gobject-1: Fix constructors which weren't detected as such - poppler-glib: Update to 0.52.0 - rest-0.7: Fix some ownership problems - sdl: Make Palette and PixelFormat a struct - webkit2gtk-4.0: Update to 2.16 - webkit2gtk: URI*.get_http_headers returns unowned Soup.MessageHeaders * Updated GLib core bindings: - gio-2.0: + Fix async constructors of DBusConnection,DBusObjectManagerClient... + Fix binding of Resolver.lookup_service*() + Keep GLib.Socket API compatible with gio < 2.48 + Update SettingsBackend related bindings + Add/"Unlock" missing GTask symbols - gio-unix-2.0: + Add "g_unix_mounts_for" and fix "g_unix_mount_at" - glib-2.0: + Add GPOINTER_TO_* as from_pointer() + Add G_CHECKSUM_SHA384 + Add "g_utf8_make_valid" + Add more Error bindings + Add simple fast-path to string.replace() + Add UCS-4 and UTF-16 related bindings + Add uuid_string_* + Fix g_bookmark_file_load_from_*/to_file bindings + Mark delegates in Test.add_data_func/add_func() as scope=async + Mark va_list.arg() with simple-generics to allow int64 or double + Update Unicode symbols - gobject-2.0: + Add a bunch of missing symbols + Add some missing "array_length_type" annotations * GIR parser and writer: - Add [GIR ("fullname = ...")] attribute, set fullname of GType [#775591] - More complete parsing of field information [#772902] - Use the correct tag- and element-name for an annotation [#769597] - Use type_id information from gir if not already overridden - No support for fixed-size array as return-value - Let alias inherit more information from base_type - Improve function to method conversion - Avoid fatal handling of nameless unions - Allow to specify the base_type of an alias - Add metadata-support for "returns_modified_pointer" [#759255] * D-Bus code generation: - Check there is a return error location before using it [#779652] - Fix memory-leak using g_task_propagate_pointer [#778993] - Initialize intermediate variables [#778540] - Handle errors when extracting FDs from dbus messages [#778540] - Ensure extracted data from the GVariant is freed on error [#778540] * C code hardening and reproducibility: - Fix build with -Werror=enum-compare -Werror=switch - Build testsuite with -Werror=format-nonliteral -Werror=format-security -Werror=int-conversion -Werror=redundant-decls - Add G_GNUC_FORMAT attribute for FormatArg functions [#774060] - Add G_GNUC_PRINTF/SCANF attribute for Printf/ScanfFormat functions [#710862] - gtkmodule: Order required-gtype-classes for reproducibility [debian#802528] * Reduce incompatible-pointer-type C code warnings: - Cast vfunc pointer assigns of abstract overrides [#777958] - Fix vfunc cast for async method implementation/override - Default to void-return for vfunc cast of *_async methods - Cast *_destroy_func of generic-types calls to GDestroyNotify - Cast destroy_data for g_cclosure_new to GClosureNotify - Pass pointer of matching type to property-getter - memberaccess: Don't resolve base_method/property twice * Genie: - Allow comma-separated identifiers in definition of enums [#776833] - Add empty file check to read_token() [#633083] * Various bug fixes: - codegen: Don't create duplicated complete-async code [#778302] - codegen: Don't return void for non-nullable simple-type structs [#778224] - vala: Non-null initializers not allowed for owned namespace fields [#777697] - codegen: Support casting arbitary value-types to arrays [#777194] - codegen: Reference struct fields with their actual cname [#775761] - codegen: Add function-prototypes for all register-type calls [#775446] - vala: check a property has an accessor and/or a mutator [#773956] - codegen: Don't declare CreationMethod for compact-classes twice [#772661] - method: Print encountered type if return types mismatch [#769501] - codegen: Fix memory-leak with object initializer for properties [#766739] - codegen: Fix array length of array returned by lambda [#761360] - codegen: Fix emission of constant array length [#756376] - codegen: Support deprecating properties and their accessors [#732449] - codegen: Don't add static modifier to abstract property setters [#673389] - codegen: Fix instance parameter property setter in SimpleType structs [#657346] - codegen: Fix base-access from within overriding struct-property-accessor [#764481] - vala: Check accessibility of default arguments [#648030] - vala: Disallow private accessors in overridable properties [#603491] - methodcall: Don't try to remove N_/NC_ while properly handled in C [#642350] - vala: Check type arguments in DataType.equals [#641418] - parser: Allow cast pointer expressions without enclosing parens [#590641] - Don't initialize local variable if not requested - codegen: Don't implicitly initialize local variables with initializer - Check printf arguments of object creation expressions - ccodefunction: Only add G_GNUC_DEPRECATED to declarations - codegen: Avoid criticals while unconditionaly trying to chain-up to non-existing property-accessors - signalmodule: Add signal-emitter declaration if needed [#779609] - signalmodule: Fix deprecation of signals - codegen: Properly null-out source on ownership-transfer of delegates - vala: Fix MemberAccess.is_non_null() for EnumValue constants [#780050] * Contributors: Abderrahim Kitouni, Alistair Thomas, Andrea Del Signore, Carlos Garnacho, Daniel Espinosa, Daniel Pfeifer, Dr. Michael Lauer, Evan Nemerson, Florian Brosch, Francisco Serna, George Barrett, Jens Georg, Jordan Yelloz, Jürg Billeter, Luca Bruno, Marvin W, Matthias Berndt, Michael James Gratton, mrmacete, Nikolay Orlyuk, Niko Tyni, Ole André Vadla Ravnås, Philip Withnall, Richard Wiedenhöft, Rico Tzschichholz, Sam Thursfield, Severin Heiniger, Simon Werbeck, Timm Bäder, Vladislav, Yu Feng Vala 0.34.0 =========== * Bug fixes and binding updates. Vala 0.33.1 =========== * Bug fixes and binding updates. 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. 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. 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. 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. Vala 0.24.0 =========== * Bug fixes and binding updates. Vala 0.23.3 =========== * Bug fixes and binding updates. Vala 0.23.2 =========== * Bind GDK event structures as compact classes. * Switch gdk-x11-3.0 bindings to .gir. * Switch librsvg-2.0 bindings to .gir. * Bug fixes and binding updates. Vala 0.23.1 =========== * GIR parser updates. * Switch libnotify bindings to .gir. * Add libpeas-gtk-1.0 bindings. * Add xcb-icccm bindings. * Bug fixes and binding updates. Vala 0.22.0 =========== * Support chain up to constructv functions. * Bug fixes and binding updates. Vala 0.21.2 =========== * Recognize ref/unref functions in .gir files. * Add geocode-glib bindings. * Bug fixes and binding updates. Vala 0.21.1 =========== * Support \uXXXX escape sequences. * Support specifying vfunc order in interfaces to define ABI. * Support GTK+ widget templates. * Bug fixes and binding updates. Vala 0.20.1 =========== * Bug fixes. Vala 0.20.0 =========== * Bug fixes and binding updates. Vala 0.19.0 =========== * Support scope = "async" attribute for parameters. * Add --api-version option. * Add atspi-2 bindings. * Add gstreamer-rtsp-server-1.0 bindings. * Bug fixes and binding updates. Vala 0.18.0 =========== * Bug fixes. Vala 0.17.7 =========== * Add libgnome-menu-3.0 bindings. * Bug fixes and binding updates. Vala 0.17.6 =========== * Bug fixes and binding updates. Vala 0.17.5 =========== * Support subclassing of GLib.Source. * Switch pango bindings to .gir. * Add gstreamer-1.0 core bindings. * Add gst-plugins-base-1.0 bindings. * Add gobject-introspection-1.0 bindings. * Bug fixes and binding updates. Vala 0.17.4 =========== * Warn when accessing static members with an instance reference. * Recompute length when casting between array types. * Support [GenericAccessors] attribute for interfaces. * Deprecate implicit .begin for async methods. * Drop Dova profile. * Drop POSIX profile. * Bug fixes and binding updates. Vala 0.17.3 =========== * Require and target GLib >= 2.18. * Support async creation methods. * Bug fixes and binding updates. Vala 0.17.2 =========== * Bug fixes and binding updates. Vala 0.17.1 =========== * Improve assertion messages. * Add --enable-gobject-tracing commandline option. * Bug fixes and binding updates. Vala 0.17.0 =========== * Support simple method-level profiling. * Add VALA_CHECK_MODULES and VALA_PROG_VAPIGEN to vala.m4. * Bug fixes and binding updates. Vala 0.16.0 =========== * Add udisks2 bindings. * Bug fixes and binding updates. Vala 0.15.2 =========== * Switch poppler-glib bindings to .gir. * Many bug fixes and binding updates. Vala 0.15.1 =========== * Support arrays with nullable elements. * Add support to .gir reader and writer. * Switch clutter-gtk-1.0 bindings to .gir. * Switch gio-2.0 bindings to .gir. * Add cogl-pango-1.0 bindings. * Add gdl-3.0 bindings. * Add libnl-3.0 bindings. * Add packagekit-glib2 bindings. * Add xtst bindings. * Many bug fixes and binding updates. Vala 0.15.0 =========== * Manage memory of GQueue elements. * Switch atk bindings to .gir. * Switch gdk-pixbuf-2.0 bindings to .gir. * Switch gdk-3.0 bindings to .gir. * Add libwnck-3.0 bindings. * Many bug fixes and binding updates. Vala 0.14.0 =========== * Bug fixes and binding updates. Vala 0.13.4 =========== * Switch gudev-1.0 bindings to .gir. * Switch mx-1.0 bindings to .gir. * Many bug fixes and binding updates. Vala 0.13.3 =========== * Switch pangocairo bindings to .gir. * Bug fixes. Vala 0.13.2 =========== * Enable flow analysis for out parameters. * Refactor attribute handling. * Add gedit-3.0 bindings. * Add gtksourceview-3.0 bindings. * Add rest-0.7 bindings. * Add vte-2.90 bindings. * Switch clutter-1.0 bindings to .gir. * Switch libgdata bindings to .gir. * Switch libsoup bindings to .gir. * Many bug fixes and binding updates. Vala 0.13.1 =========== * Many bug fixes and binding updates. Vala 0.13.0 =========== * More refactoring in the code generator. * Improvements to the .gir reader. * Switch JSON-GLib bindings to .gir. * Drop deprecated support for D-Bus GLib in favor of GDBus. * Many bug fixes and binding updates. Vala 0.12.0 =========== * Add get_next_char to string class. * Many bug fixes and binding updates. Vala 0.11.7 =========== * Add support for async signal handlers (Frederik Sdun). * More refactoring in the code generator (Luca Bruno). * Improvements to the .gir writer (Michal Hruby). * Many bug fixes and binding updates. Vala 0.11.6 =========== * Add parse and try_parse methods to boolean and numeric types. * Add clutter-gtk-1.0 bindings. * Add pixmap-1 bindings (Evan Nemerson). * Many bug fixes and binding updates. Vala 0.11.5 =========== * Add last_index_of and last_index_of_char to string class. * More refactoring in the code generator (Luca Bruno). * Improvements to the .gir writer (Michal Hruby). * Many bug fixes and binding updates. Vala 0.11.4 =========== * Add index_of, index_of_char, and char_count to string class. * Many bug fixes and binding updates. Vala 0.11.3 =========== * Support BusName sender parameter in GDBus servers. * More refactoring in the code generator. * Many bug fixes and binding updates. Vala 0.11.2 =========== * Update libnotify bindings to 0.7.0. * Improvements to the .gir reader. * Bug fixes and binding updates. Vala 0.11.1 =========== * Require and target GLib >= 2.16. * Guard access to out parameters to allow null arguments. * Add support for local constants. * Support file descriptor passing with GDBus. * Support cached property values in GDBus clients. * Support Cancellable parameter in GDBus clients. * Support no-reply methods in GDBus clients and servers. * More refactoring in the code generator. * Many bug fixes and binding updates. Vala 0.11.0 =========== * Use byte indices for strings. * Use uint8[] for binary data in bindings. * Add support for parallel compilation. * Improve compiler performance. * More refactoring in the code generator. * Many bug fixes and binding updates. Vala 0.10.0 =========== * Port GIR parser and writer to GIR version 1.2. * Update GLib bindings to 2.26 branch. * Bug fixes. Vala 0.9.8 ========== * 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 ========== * Fix regression introduced by codegen refactoring. Vala 0.9.6 ========== * Drop deprecated support for assigning to construct properties. * Some refactoring in the code generator. * Bug fixes in bindings and vapigen. Vala 0.9.5 ========== * 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 ========== * 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 ========== * 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 ========== * 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 ========== * 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.0 ========== * 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 Dröge). * Add gstreamer-cdda-0.10 bindings (Sebastian Dröge). * 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. Vala 0.7.10 =========== * Support coalescing operator ??. * Support to_string and bitwise complement with enums. * Return handler id when connecting signal handlers. * Support struct comparison. * Support constructor chaining in structs. * Enforce protected member restrictions. * Improve performance of flow analysis. * Support automatic line continuations in Genie. * Improvements to the .gir reader and writer. * Add --enable-mem-profiler commandline option. * Many bug fixes and binding updates. Vala 0.7.9 ========== * Support array and string slicing. * Add --symbols commandline option. * Add avahi-gobject bindings (Sebastian Noack). * Add ccss-1 bindings (Ali Sabil). * Add libarchive bindings (Julian Andres Klode). * Add libmagic bindings (Jens Georg). * Add readline bindings (Jukka-Pekka Iivonen). * Add twitter-glib-1.0 bindings (Adrien Bustany). * Many bug fixes and binding updates. Vala 0.7.8 ========== * Support constructor chain up to GObject using Object (...). * Add syntax for string templates. * Support (!) non-null casts. * Many bug fixes and binding updates. Vala 0.7.7 ========== * Support `using' directives inside namespaces. * Use const only for immutable structs. * Support string marshalling for enums in D-Bus (Didier Ptitjes). * Update Genie parser (Jamie McCracken). * Add libgda-4.0 bindings (Shawn Ferris). * Many bug fixes for closures and async methods. Vala 0.7.6 ========== * Add support for closures. * Improve support for asynchronous methods. * Support async methods in D-Bus servers. * Add clutter-1.0 bindings (Rob Taylor). * Add GVariant, GSettings, and dconf bindings (Ryan Lortie). * Add linux, libnl-1, and libasound bindings (Michael 'Mickey' Lauer). * Add gnutls bindings (Jiří Zárevúcky). * Add librest bindings (Adrien Bustany). * Many bug fixes and binding updates. Vala 0.7.5 ========== * Add support for static properties. * Add support for delegate properties. * Support virtual default handler for signals. * Add limited support for derived compact classes. * Add libgdata bindings (Víctor Manuel Jáquez Leal). * Add libusb-1.0 bindings (Evan Nemerson). * Many bug fixes and binding updates. Vala 0.7.4 ========== * Add support for array properties. * Support implicit and explicit GValue casts. * Add initial support for generic methods. * Add postgres bindings. * Many bug fixes and binding updates. Vala 0.7.3 ========== * Add initial support for POSIX profile. * Add --vapi and --gir commandline options. * Add initial x11, xcb, and cairo-xcb bindings. * Many bug fixes and binding updates. Vala 0.7.2 ========== * Improvements to the .gir reader and writer (Didier Ptitjes). * Many bug fixes and binding updates. Vala 0.7.1 ========== * Introduce new syntax to connect/disconnect signal handlers. * Add experimental support for fixed-length arrays. * Update Genie parser (Jamie McCracken). * Updates to the GLib, Cairo, GTK+, GStreamer, and POSIX bindings. * Many bug fixes. Vala 0.7.0 ========== * Do not generate header files unless requested by the -H commandline option. This requires changes in the build system of Vala projects. * Support conditional compilation. Vala 0.6.0 ========== * Improvements to the .gir reader and writer (Didier Ptitjes). * Add librsvg-2.0 bindings (Evan Nemerson). * Add Maemo libosso bindings (Jukka-Pekka Iivonen). * Add V4L2 bindings (Matías De la Puente). * Many bug fixes. Vala 0.5.7 ========== * Support signals in static D-Bus clients. * Various improvements to asynchronous method support (Ryan Lortie). * Report unused internal methods. * Extend POSIX bindings. * Add FUSE bindings (John Carr). * Add libdaemon bindings (Jukka-Pekka Iivonen). * Many bug fixes. Vala 0.5.6 ========== * Do not require libgee for custom indexer access. * Add Log.FILE, Log.LINE, and Log.METHOD constants. * Various improvements to the .gir reader. * Add Lua bindings (pancake and Phil Housley). * Add MySQL bindings (Jukka-Pekka Iivonen). * Add partial POSIX bindings. * Many bug fixes. Vala 0.5.5 ========== * Improve syntax of owned property getters. * Add --enable-deprecated and --enable-experimental commandline options. * Remove --disable-non-null commandline option. * Many bug fixes. Vala 0.5.4 ========== * Support array initializers as expressions. * Support += to efficiently append elements to arrays. * Calculate length for null-terminated arrays. * Support initializers for multi-dimensional arrays. * Add `owned' keyword to replace `#'. * Various fixes in coroutine support. * Support boxed structs as GObject properties. * Many bug fixes. Vala 0.5.3 ========== * Rewrite D-Bus server support to directly use libdbus. * Register structs as boxed types. * Improve error reporting on invalid code. * Support private class fields and class destructors. * Add partial raptor and rasqal bindings. * Drop vala-gen-project, moved to vtg. * Many bug fixes. Vala 0.5.2 ========== * Report uninitialized local variables. * Report unused fields, methods, and local variables. * Fix error handling in complex statements. * Improve support for generic types. * Support parameter arrays in bindings. * Do not require libgee for foreach statements. * Support enums in D-Bus clients and servers. * Support structs in hash tables in D-Bus servers. * Experimental static D-Bus client support. * Add --dump-tree commandline option to write code tree to file. * Many bug fixes. Vala 0.5.1 ========== * Support type checks for error domains and error codes. * Experimental support for yield statements and coroutines. * Support GValue and GHashTable in D-Bus clients. * Various improvements to the .gir reader. * Drop deprecated support for static classes. * Modularize code generator. * Many bug fixes. Vala 0.4.0 ========== * Support more flexible constructors. * Partial support for reading and writing .gir files. * Improve compiler performance. * Copy arrays where necessary. * Basic support for static properties. * Partial support for struct holding object references. * Add tracker indexer bindings (Roberto Majadas) * Updates to the GLib, GTK+, and GStreamer bindings. * Many bug fixes. Vala 0.3.5 ========== * Notify on property changes by default (Jared Moore) * Add unique-1.0 bindings (Phil Housley) * Updates to the GLib, GTK+, and GStreamer bindings. * Many bug fixes. Vala 0.3.4 ========== * Various improvements to D-Bus client and service support. * Basic support for detailed signals. * Check types of printf arguments. * Support `in' operator for Gee.Collection and Gee.Map (Jamie McCracken) * Add libgsf-1 bindings (Michael Lawrence) * Add loudmouth-1.0 bindings (Ali Sabil) * Updates to the GLib, GTK+, and GStreamer bindings. * Many bug fixes. Vala 0.3.3 ========== * Support overriding default method handlers of signals. * Support dynamic access to properties and signals of GObjects. * Experimental support for nullable value types. * Improve support for classes not deriving from GLib.Object. * Support """verbatim strings""". * Add parser for Genie (Jamie McCracken) * Experimental support for arrays of arrays. * Documentation improvements (Phil Housley) * Improvements to D-Bus support (Ali Sabil, Philip Van Hoof, Yu Feng) * Add libepc-1.0 bindings (Ali Sabil) * Add libtiff bindings (Christian Meyer) * Updates to the GStreamer bindings (Ali Sabil and Jaap A. Haitsma) * Many bug fixes and performance improvements. Vala 0.3.2 ========== * Add support for class constructors, class fields, and class methods. * Various improvements to methods in D-Bus services. * Add support for properties and signals in D-Bus services (Yu Feng) * Add Time API to GLib bindings. * Documentation improvements (Phil Housley) * Updates to the GLib and GTK+ bindings. * Many bug fixes. Vala 0.3.1 ========== * Enable non-null types by default. * Add --disable-non-null commandline option. * New handwritten parser. * Support virtual methods in interfaces. * Add `dynamic' type modifier for D-Bus client support. * Add experimental support for writing D-Bus services. * Don't require `new' operator for structs. * Warn when using deprecated syntax. * Add libsexy bindings (Evan Nemerson) * Updates to the GLib and GTK+ bindings. * Many bug fixes. Vala 0.2.0 ========== * Support nested namespaces. * Support static constructors. * Register enums with GType (Marc-André Lureau) * Small syntax change for default values of properties. * Add --verbose commandline option (Daniel Silverstone) * Improve pointer support. * Add GNOME Keyring bindings (Andrea Del Signore) * Add SDL bindings (Levi Bard) * Add libftdi bindings (Evan Nemerson) * Updates to the GLib, GTK+, GStreamer, and SQLite bindings. * Many bug fixes all over the place. Vala 0.1.7 ========== * Support private property accessors. * Support default values for properties. * Improve support for array length and delegate target parameters. * Improve delegate and signal handler support. * Introduce new syntax to declare errordomains. * Improve exception support. * Report errors for missing return statements. * Report warnings for unreachable code. * Improve support for generic types. * Support pointer member access and pointer element access. * Support pointer arithmetic. * Add --quiet commandline option (Emmanuele Bassi) * Add WebKit bindings. * Add JSON-GLib bindings (Ali Sabil) * Add goocanvas bindings (Roberto Majadas) * Add hildon-fm-2 bindings (Levi Bard) * Add taglib bindings (Andreas Brauchli) * Add libusb bindings (Evan Nemerson) * Add bzip2 bindings (Maciej Piechotka) * Updates to the GLib, GTK+, GStreamer, and libsoup bindings. * Fixes for Windows. * Many bug fixes. Vala 0.1.6 ========== * Add support for instance delegates. * Support conditional method compilation. * Add support for nested generic types. * Add size_t and ssize_t. * Use non-null types by default with --enable-non-null option. * Limited support for nullable types. * Add basic support for method pre- and postconditions. * Improve pointer support. * Always enable memory management. * Add libgnome-menu bindings (Roberto Majadas) * Add liboobs-1 bindings (Roberto Majadas) * Updates to the GLib, GTK+, GStreamer, SQLite, and libxml2 bindings. * Small documentation improvements. * Many bug fixes. Vala 0.1.5 ========== * Add Vala Project Generator. * Support `in` operator for enums. * Support typeof for generic type parameters. * Replace gidlgen by vala-gen-introspect with a real C parser. * Update all bindings to use vala-gen-introspect. * Fix many gcc warnings. * Fix build with Cygwin and MinGW (Yaakov Selkowitz). * Many bug fixes. Vala 0.1.4 ========== * Use .vapi as file extension for bindings. * Add Vala Reference Manual. * Add support for object initializers. * Emit #line directives in debug mode. * Add --basedir option. * Support creation methods in structs. * Add support for [Notify] attribute for properties. * Add experimental support for registering new fundamental classed types. * Improve support for non-GObject classes. * Improve error reporting. * Add vapicheck to verify generated bindings (Mathias Hasselmann). * Drop xml_pp dependency (Alberto Ruiz). * Many bug fixes. Vala 0.1.3 ========== * Convert reference-type structs to classes for a more consistent type system. * Support `as` operator (Mathias Hasselmann). * Improve array support. * Experimental D-Bus client support. * Add GConf bindings. * Add libgnome and libgnomeui bindings. * Add Glade bindings. * Add libnotify bindings (Nicolas Christener, Roland Hostettler). * Add GnomeVFS bindings. * Add GtkSourceView bindings. * Add Panel Applet bindings. * Add GNOME Desktop Library bindings. * Add libsoup bindings. * Add libwnck bindings. * Add GtkMozEmbed bindings (Alberto Ruiz). * Add Poppler bindings (Alberto Ruiz). * Add Enchant bindings (Mathias Hasselmann). * Add Hildon bindings (Marcelo Lira). * Add SQLite bindings. * Add curses bindings (Ed Schouten). * Build system fixes (Nicolas Trangez). * Add manual pages for gidlgen and vapigen (Kumar Appaiah). * Many bug fixes all over the place. Vala 0.1.2 ========== * Use and support libgee collection library (internal copy for now). * Performance improvements. * Improve support for generic types. * Many memory management fixes. * Add support for inner classes. * Add --cc and -X commandline options to control the C compiler. * Use GSlice for reference-type structs. * Add experimental GStreamer bindings. Vala 0.1.1 ========== * Support simple exception handling. * Improve array and string support. * Support multi-dimensional arrays. * Add --thread commandline option. * Improve bindings. * Bug fixes. Vala 0.1.0 ========== * Add commandline options for running the C compiler and linker. * Use # modifier for reference transfer in method parameters. * Replace callback keyword by delegate. * Improve and update GLib and GTK+ bindings. * Add experimental GVFS binding. * C89/MSVC portability fixes (Hans Breuer). * Refactor code generator. * Add experimental bindings generator. * Many bug fixes. Vala 0.0.9 ========== * Add support for defining new generic classes. * Improve array support. * Memory management fixes. * Improve abstract property support. * Add basic support for flags types. * Improve GLib binding. * Add VTE binding. * Many bug fixes. Vala 0.0.8 ========== * Add support for overridden properties. * Support properties and signals in interfaces. * Improve interface runtime suport. * Verify that classes implement all abstract and interface methods. * Basic compile-time support for generic types. * Default to strong references for return values and local variables. * Improve signal support. * Add support for pointers. * Improve support for numeric types. * Support writing GTypeModule-based plug-ins. * Improve manual memory management support. * Improve GTK+ bindings. * Many bug fixes. Vala 0.0.7 ========== * New object construction syntax. * Interface implementations don't have to specify override anymore. * Improve interface support. Vala 0.0.6 ========== * Improve interface support. * Support do loops. * Improve array support. * Improve enum support. * Add automated testing infrastructure. * Fixes for prefix and postfix operators. * Add more types to GLib bindings. * Many bug fixes. Vala 0.0.5 ========== * Support base access. * Support typeof expressions. * Improve array support. * Fix possible memory leak in foreach statements. * Fix many warnings during C compilation. * Improve GTK+ bindings. Vala 0.0.4 ========== * Support + operator in strings. * Support unicode character literals. * Add implicit conversions for numeric types. * Improve interface support. * Improve array support. * Support arbitrary signal parameters. * Add threading support. * Support lock statements. * Many improvements to the GTK+ bindings. Vala 0.0.3 ========== * Interface fixes. * Support namespace constants. * Support switch statements. * Array creation support. * Provide complete but experimental bindings for GTK+ 2.10 and Cairo 1.2. * Add implicit array length parameter. * Follow package dependencies. * Support hexadecimal and octal integer literals and hexadecimal escape sequences. * Install libvala as shared library. Vala 0.0.2 ========== * Support named construction methods. * Basic interface support. * Improve error handling. * Many bug fixes. Vala 0.0.1 ========== * Initial release.