vala 0.40.5



About vala
==========

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.

The syntax of Vala is similar to C#, modified to better fit the
GObject type system. Vala supports modern language features as the
following: Interfaces, Properties, Signals, Foreach, Lambda
expressions, Type inference for local variables, Generics, Non-null
types, Assisted memory management, Exception handling, Type modules
(Plugins)

Vala is designed to allow access to existing C libraries, especially
GObject-based libraries, without the need for runtime bindings. All
that is needed to use a library with Vala is an API file, containing
the class and method declarations in Vala syntax. Vala currently comes
with bindings for GLib and GTK+ and many others from the GNOME
Platform.

Using classes and methods written in Vala from an application written
in C is not difficult. The Vala library only has to install the
generated header files and C applications may then access the GObject-
based API of the Vala library as usual. It should also be easily
possible to write a bindings generator for access to Vala libraries
from applications written in e.g. C# as the Vala parser is written as
a library, so that all compile-time information is available when
generating a binding.

News
====

 * 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


ChangeLog
=========
https://download.gnome.org/sources/vala/0.40/vala-0.40.5.changes  (3.01K)

Download
========
https://download.gnome.org/sources/vala/0.40/vala-0.40.5.tar.xz (3.20M)
  sha256sum: 1203a41f5943912450dc55f889bd1018c551a080c893cc6e8303fb47c7fde16d



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]