./lang/vala, Compiler for the GObject type system

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.38.4, Package name: vala-0.38.4, Maintainer: pkgsrc-users

Vala is a 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.


Required to run:
[graphics/graphviz] [devel/glib2] [devel/libltdl]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

SHA1: 7fb96eb7d3fae890dcf394ca12b71e6d47f9ea32
RMD160: b93e47d0e6bbe2eaadbc30d2c2131a39fe421cf4
Filesize: 3320.676 KB

Version history: (Expand)


CVS history: (Expand)


   2018-01-10 23:35:49 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
vala: update to 0.38.4.

Vala 0.38.4
===========
 * Various bug fixes:
  - Enforce name-length >= 3 for structs using GType [#764041]
  - Report error for missing type-parameter on enclosing type [#587905]
  - Discover invalid member access to instance field [#790903]
  - Improve error output of mismatching overriding methods
  - 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
  - Acknowledge possible properties in structs [#784705]
  - Fix fatal typo in GtkdocRenderer.visit_symbol_link() [#790266]
  - libvaladoc: Actually resolve "percnt;" to '%'

 * Bindings:
  - gobject-2.0: Add some missing symbols
  - 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
  - webkit2gtk-4.0: Update to 2.19.2
  - glib-2.0: Fix potential null pointer dereference in string.joinv() [#791257]
  - gobject-2.0: Add missing GType constants for fundamentals [#791023]
   2018-01-07 14:04:44 by Roland Illig | Files touched by this commit (583)
Log message:
Fix indentation in buildlink3.mk files.

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.
   2017-11-23 16:30:09 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
vala: update to 0.38.3.

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]
   2017-10-03 14:31:55 by Thomas Klausner | Files touched by this commit (5) | Package updated
Log message:
vala: update to 0.38.1.

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
   2017-05-29 14:20:25 by Thomas Klausner | Files touched by this commit (25)
Log message:
Recursive bump for lang/vala
   2017-05-29 14:16:56 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
Updated vala to 0.36.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.
   2016-04-10 20:49:42 by Patrick Welche | Files touched by this commit (4) | Package updated
Log message:
Update vala to 0.32.0

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.
   2016-02-04 13:16:42 by Thomas Klausner | Files touched by this commit (1)
Log message:
Add PKGCONFIG_OVERRIDE line for a file that doesn't change now,
in case it'll change in some later version of the package.