Skip to content

Commit

Permalink
Release 0.50.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ricotz committed Feb 28, 2021
1 parent b462978 commit 4c3be8f
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 8 deletions.
68 changes: 68 additions & 0 deletions NEWS
@@ -1,3 +1,71 @@
Vala 0.50.4
===========
* Highlights:
- Add further support for params arrays in constructors [#128]

* Various improvements and bug fixes:
- codegen:
+ Improve support of SimpleType struct constructors
+ Improve handling of "NoWrapper" attribute
+ 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
+ Correctly retrieve symbol_reference of nested cast expressions [#1134]
+ Strip all nested occurances of CCodeCastExpression [#1134]
+ Don't wrongly emit declaration for default-handler of signals
+ Include "string.h" for strcmp() (POSIX)
- 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
+ GLib.Value unboxing returns unowned value
+ Don't allow GLib.Value casting to nullable struct/simple types
+ Check type-arguments in base-types/prerequisites of class/interface [#404]
+ Capturing va_list parameters/variables is not allowed [#1136]
+ Generics value holding struct pointer requires casting on access [#347]
+ Infer needle type for "in" expression on enum [#1138]
+ 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
- codewriter: Don't write trailing ";" after body of WithStatement
- girparser:
+ Handle anonymous delegate not backed by virtual-method or signal
+ 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: Write instance-parameter elements [#1128]
- girwriter: Output default handler of signals
- 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

* Bindings:
- 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
- gdk-pixbuf-2.0: Fix Pixbuf.save_to_streamv_async()
- 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
- glib-2.0: Add GLib.[S]List.is_empty() convenience methods for non-null
- 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
- gstreamer-1.0: Set CCode.type_id of MiniObject to G_TYPE_BOXED [#1133]
- 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.0.2

Vala 0.50.3
===========
* Various improvements and bug fixes:
Expand Down
4 changes: 2 additions & 2 deletions doc/vala-gen-introspect.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
.TH VALA-GEN-INTROSPECT "1" "January 2021" "gen-introspect 0.50.3" "User Commands"
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.1.
.TH VALA-GEN-INTROSPECT "1" "February 2021" "gen-introspect 0.50.4" "User Commands"
.SH NAME
vala-gen-introspect \- generate a GI file for GObject and glib based packages
.SH SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions doc/valac.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
.TH VALAC "1" "January 2021" "Vala 0.50.3" "User Commands"
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.1.
.TH VALAC "1" "February 2021" "Vala 0.50.4" "User Commands"
.SH NAME
valac \- compiler that translates Vala source code into C source and header files
.SH SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions doc/valadoc.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
.TH VALADOC "1" "January 2021" "Valadoc 0.50.3" "User Commands"
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.1.
.TH VALADOC "1" "February 2021" "Valadoc 0.50.4" "User Commands"
.SH NAME
valadoc \- Vala Documentation Tool
.SH SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions doc/vapigen.1
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
.TH VAPIGEN "1" "January 2021" "Vala API Generator 0.50.3" "User Commands"
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.1.
.TH VAPIGEN "1" "February 2021" "Vala API Generator 0.50.4" "User Commands"
.SH NAME
vapigen \- generate a Vala API
.SH SYNOPSIS
Expand Down

0 comments on commit 4c3be8f

Please sign in to comment.