From bcd7a53cdd69befb674f648418cb84777e8ec456 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Thu, 6 Dec 2018 10:20:34 +0100 Subject: [PATCH] Release 0.43.1 --- NEWS | 78 +++++++++++++++++++++++++++++++++++++++ doc/vala-gen-introspect.1 | 4 +- doc/valac.1 | 4 +- doc/valadoc.1 | 4 +- doc/vapigen.1 | 4 +- 5 files changed, 86 insertions(+), 8 deletions(-) diff --git a/NEWS b/NEWS index 7e5009bad..e81c485c7 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,81 @@ +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: diff --git a/doc/vala-gen-introspect.1 b/doc/vala-gen-introspect.1 index ac4a5330d..b7efdb039 100644 --- a/doc/vala-gen-introspect.1 +++ b/doc/vala-gen-introspect.1 @@ -1,5 +1,5 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. -.TH VALA-GEN-INTROSPECT "1" "September 2018" "vala-gen-introspect 0.42.1" "User Commands" +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.8. +.TH VALA-GEN-INTROSPECT "1" "December 2018" "vala-gen-introspect 0.43.1" "User Commands" .SH NAME vala-gen-introspect \- generate a GI file for GObject and glib based packages .SH SYNOPSIS diff --git a/doc/valac.1 b/doc/valac.1 index 7828179ea..1f86d7b1e 100644 --- a/doc/valac.1 +++ b/doc/valac.1 @@ -1,5 +1,5 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. -.TH VALAC "1" "September 2018" "valac 0.42.1" "User Commands" +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.8. +.TH VALAC "1" "December 2018" "valac 0.43.1" "User Commands" .SH NAME valac \- compiler that translates Vala source code into C source and header files .SH SYNOPSIS diff --git a/doc/valadoc.1 b/doc/valadoc.1 index 965c2a469..204e1e832 100644 --- a/doc/valadoc.1 +++ b/doc/valadoc.1 @@ -1,5 +1,5 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. -.TH VALADOC "1" "September 2018" "valadoc 0.42.1" "User Commands" +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.8. +.TH VALADOC "1" "December 2018" "valadoc 0.43.1" "User Commands" .SH NAME valadoc \- Vala Documentation Tool .SH SYNOPSIS diff --git a/doc/vapigen.1 b/doc/vapigen.1 index b82b9b085..b4b690e72 100644 --- a/doc/vapigen.1 +++ b/doc/vapigen.1 @@ -1,5 +1,5 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. -.TH VAPIGEN "1" "September 2018" "vapigen API Generator 0.42.1" "User Commands" +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.8. +.TH VAPIGEN "1" "December 2018" "vapigen API Generator 0.43.1" "User Commands" .SH NAME vapigen \- generate a Vala API .SH SYNOPSIS -- 2.47.2