Vala 0.38.8
===========
* Various bug fixes:
- Fix GDestroyNotify of delegate parameters in delegate declaration [#639059]
- Avoid critical when connecting dynamic signals
- compiler: Prefix headers for set_cheader_override() if includedir is given
[#793299]
- Don't warn about unused internal methods which are meant to be visible
on DBus [#593902]
- libvaladoc: Prevent WITH_CGRAPH conditional having an impact on generated
sources
* Bindings:
- gio-2.0: Cherry-pick some DBusProxy fixes from 0.40
- gstreamer-1.0: Update from 1.13+ git master
- gdk-3.0,gtk+-3.0: Update to 3.22.27
Vala 0.38.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.38.6
===========
* 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]
+ Fix return-type for cancelled async creation methods of classes [#792942]
- vala: Variadic constructors without a real first parameter are not allowed
- libvaladoc: Keep bootstrap-support with valac >= 0.16.1
* Bindings:
- gstreamer-1.0: Update from 1.13+ git master
- gtk+-4.0: Only override type of "event" parameters
Vala 0.38.5
===========
* Various improvements and bug fixes:
- codegen
+ Only add property-enum and GParamSpec-array for GObject classes
+ Add destroy param when invoking delegate returned by delegate [#792077]
- vala: Add pkgdatadir and pkglibdir to pkg-config file
- gidlparser: Update type qualifiers
- libvaladoc: Allow @link tags to be split over multiple lines [#646982]
- libvaladoc: Add support for single line documentation comments [#736483]
- vala: Fix parameter type inference of overridden async methods [#792660]
- codewriter: Don't use string.replace() to apply header_to_override [#731322]
* Bindings:
- 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+-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 and split Gsk.RenderNode into several classes
- libwnck-3.0: Update to 3.24.1
- posix: Add ctime(3) and fix binding of struct hostent and gethostbyname(3)
- webkit2gtk-4.0: Update to 2.19.5
- webkit2gtk-web-extension-4.0: Fix DOM.EventTarget interface
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.
There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
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.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.
The hope is that backward compatibility will be sufficient for us
not to need to import every new stable version as a separate package.
Changes since vala024 was imported:
Vala 0.26.0
===========
* Bug fix and binding updates.
Vala 0.25.4
===========
* Add option --vapi-comments.
* Bug fixes and binding updates.
Vala 0.25.3
===========
* Bug fixes and binding updates.
Vala 0.25.2
===========
* Require and target GLib >= 2.24.
* Report warning for private struct fields.
* Replace webkit2gtk-3.0 bindings with webkit2gtk-4.0 bindings.
* Always build vapigen.
* Bug fixes and binding updates.
Vala 0.25.1
===========
* Support explicit interface method implementation.
* Support (unowned type)[] syntax.
* Support non-literal length in fixed-size arrays.
* Mark regular expression literals as stable.
* GIR parser updates.
* Add webkit2gtk-3.0 bindings.
* Add gstreamer-allocators-1.0 and gstreamer-riff-1.0 bindings.
* Bug fixes and binding updates.
parallel installation with other versions
-don't install documentation - this will be done by the newest
stable version
-drop the "vapigen" option, this was not worth the effort
bump PKGREV
Required for the upcoming graphics/shotwell port.
Upstream changes:
Vala 0.10.1
released on October 26, 2010
Changes
* Remove outdated GTK+ 3 bindings.
* Many bug fixes and binding updates.
Vala 0.10.0
released on September 18, 2010
Changes
* Port GIR parser and writer to GIR version 1.2.
* Update GLib bindings to 2.26 branch.
* Bug fixes.
Vala 0.9.8
released on September 4, 2010
Changes
* Add --fatal-warnings commandline option.
* Deprecate string.len () in favor of string.length.
* Deprecate use of D-Bus GLib in favor of GDBus.
* Many bug fixes and binding updates.
Vala 0.9.7
released on August 19, 2010
Changes
* Fix regression introduced by codegen refactoring.
Vala 0.9.6
released on August 18, 2010
Changes
* Drop deprecated support for assigning to construct properties.
* Some refactoring in the code generator.
* Bug fixes in bindings and vapigen.
Vala 0.9.5
released on August 9, 2010
Changes
* Add version suffix to support parallel installation.
* Define VALA_X_Y according to compiler version.
* Enable version header by default.
* Add vala.m4 with VALA_CHECK_PACKAGES macro.
* Add gedit-2.20 bindings (Andrea Del Signore).
* Add tokyocabinet bindings (Evan Nemerson).
* Various improvements to the Dova profile.
* Many bug fixes and binding updates.
Vala 0.9.4
released on July 27, 2010
Changes
* Append documentation comments to generated C files.
* Skip <doc> tags in .gir files.
* Various improvements to the Dova profile.
* Many bug fixes and binding updates.
Vala 0.9.3
released on July 14, 2010
Changes
* Support newlines in double quoted string literals.
* Add experimental support for main blocks.
* Add experimental vala tool to compile and run code.
* Initial support for generic delegates.
* Support using GClosure for delegate parameters.
* Support GBoxed-based memory management.
* Improvements to the .gir reader and writer.
* Various improvements to the Dova profile.
* Many bug fixes and binding updates.
Vala 0.9.2
released on June 20, 2010
Changes
* Initial support for GDBus-based clients and servers.
* Support implicit and explicit GVariant casts.
* Add support for [Deprecated] attribute.
* Add GenericArray as alternative binding to GPtrArray.
* Add gdk-pixbuf-3.0, gdk-3.0, gdk-x11-3.0, and gtk+-3.0 bindings.
* Updates to the GLib bindings.
* Many bug fixes.
Vala 0.9.1
released on June 7, 2010
Changes
* Support constants in enums.
* Deprecate +=/-= syntax to connect/disconnect signal handlers.
* Add experimental support for Dova profile.
* Update Genie parser (Jamie McCracken).
* Add clutter-gst-1.0 bindings (Ali Sabil).
* Add gdu and gdu-gtk bindings.
* Add libesmtp bindings (Adrien Bustany).
* Add mx-1.0 bindings (Evan Nemerson).
* Add orc-0.4 bindings (Fabian Deutsch).
* Add rest-extras-0.6 bindings (Adrien Bustany).
* Updates to the GLib, GStreamer, Linux, SQLite, and other bindings.
* Many bug fixes.
Vala 0.8.1
released on April 21, 2010
Changes
* Support constants in enums.
* Add clutter-gst-1.0 bindings (Ali Sabil).
* Add gdu and gdu-gtk bindings.
* Many bug fixes and binding updates.
Vala 0.8.0
released on March 31, 2010
Changes
* Infer type arguments when calling generic methods.
* Support `in' operator for arrays.
* Add experimental support for regular expression literals.
* Add experimental support for chained relational expressions.
* Add va_list support.
* Add clutter-gtk-0.10 bindings (Gordon Allott).
* Add gdl-1.0 bindings (Nicolas Joseph).
* Add gstreamer-app-0.10 bindings (Sebastian 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.
Changes
* 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
Changes
* 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
Changes
* 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
Changes
* Improvements to the .gir reader and writer (Didier Ptitjes).
* Many bug fixes and binding updates.
Vala 0.7.1
Changes
* 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
Changes
* Do not generate header files unless requested by the -H commandline
o option. This requires changes in the build system of Vala projects.
* Support conditional compilation.
Vala 0.6.1
Changes
* Updates to the GLib, Cairo, GTK+, GStreamer, and POSIX bindings.
* Minor bug fixes.
Vala 0.6.0
Changes
* 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.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
Vala is a new programming language that aims to bring modern programming
language features to GNOME developers without imposing any additional
runtime requirements and without using a different ABI compared to
applications and libraries written in C.
valac, the Vala compiler, is a self-hosting compiler that translates
Vala source code into C source and header files. It uses the GObject
type system to create classes and interfaces declared in the Vala source
code. It's also planned to generate GIDL files when gobject-
introspection is ready.