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

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


Branch: CURRENT, Version: 0.48.7, Package name: vala-0.48.7, 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:
[textproc/libxslt] [pkgtools/cwrappers]

Master sites: (Expand)

SHA1: bd9fb3c473b53d6114537db7976e9c450ff2f286
RMD160: cad4608c1502428168053f9a8cfec90a02ba1c85
Filesize: 3379.852 KB

Version history: (Expand)


CVS history: (Expand)


   2020-07-07 15:47:41 by Ryo ONODERA | Files touched by this commit (2) | Package updated
Log message:
vala: Update to 0.48.7

Changelog:
Vala 0.48.7
===========
 * Various improvements and bug fixes:
  - codegen:
    + Improve array-dup-wrapper for empty arrays [#999]
    + Don't call get_ccode_finish_instance() with non-async methods
    + Cast initializer-list to struct for non-constant/-array assignment [#1013]
    + Consistently use get_ccode_lower_case_prefix() for function names [#1008]
  - vala:
    + Correctly handle qualified struct type in initializer list [#1004]
    + Reduce calls of CodeContext.get()
    + Fix value-type for ArrayCreationExpression used as argument [#1009]
    + Improve parameter check of "get" method used for foreach [#1017]
    + Don't carry floating reference into unknown target type expression [#1018]
  - girparser: Actually respect given cprefix metadata for enumerations
  - girwriter: Append symbol-attributes to callback field [#1006]
  - parser: Avoid mitigation for missing token if it follows DOT or
    DOUBLE_COLON [#987]
  - libvaladoc/girimporter: Skip "function-macro" elements
  - build: Update git-version-gen to latest upstream
  - tests: Build typelib if g-ir-compiler is available

 * Bindings:
  - gstreamer-audio-1.0: Adjustments for Gst.Audio.Sink class extension
  - gstreamer: Update from 1.17.1+ git master
  - gtk+-3.0: Deprecated abstract methods are not required to be implemented
  - gtk4: Prefix value names of PaintableFlags with "STATIC_" [#1011]
  - gtk4: Mark optional methods of Gdk.Paintable interface as virtual [#1021]
  - gtk4: Update to 3.98.5+fca2ba96
  - harfbuzz-gobject: Update to 2.6.8
  - pango: Update from 1.45.2
  - webkit2gtk-4.0: Update to 2.29.2
  - vapi: Update GIR-based bindings
   2020-06-10 17:10:06 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
vala: update to 0.48.6.

Vala 0.48.6
===========
 * Regression and bug fixes:
  - codegen:
    + Correctly handle cast-expression of real struct to nullable struct [#991]
    + Use loop index instead of get_ccode_pos() for ellipsis parameter [#995]
  - vala:
    + Allow node_ref being null in SemanticAnalyzer.get_instance_base_type()
    + SemanticAnalyzer.get_instance_base_type() is not allowed to return null
    + params-array parameter is not allowed in abstract/virtual method [#985]
    + Use stable hash for methods in HashMap of implicit_implementations [#990]
      and Use "str_equal" as equal_func for ArrayList<string> \ 
instances
    + Set value_type of undefined member-access to avoid further criticals
    + Transform cast from floating-type to boxed-type [#991]
    + Transform cast from integer-type to boxed-type [#992]
    + Explicit "new" method may be incompatible with a posssible base \ 
method
  - valadoc: Add implicit "Posix" using-directive for POSIX profile
  - girparser: Add support for boolean "new" argument for methods

 * Bindings:
  - gtk4: Update to 3.98.3+028942c8
   2020-04-28 20:10:27 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
vala: update to 0.48.5.

Vala 0.48.5
===========
 * Regression and bug fixes:
  - Revert "vala: Set default_construction_method in semantic-analyzer check
    if required" [#982]
  - tests: Fix make dist

Vala 0.48.4
===========
 * Various improvements and bug fixes:
  - codegen:
    + Fix binary 'in' operator on array with boxed value-typed needle [#951]
    + Use get_value_*_function() in GSignalModule.generate_marshaller() [#468]
    + Correctly handle signals returning real non-nullable struct [#466]
    + Use specified indices to access multidimensional array constants [#905]
    + Fix base-access to non-abstract/non-virtual properties [#204]
    + Fix default of CCode.pos for parameters in async methods
  - vala:
    + Set default_construction_method in semantic-analyzer check if required
    + Fix cleaning of output in CodeContext.pkg_config_modversion()
    + Don't use possibly uninitialized backing field of package_name [#971]
    + Add SourceReference.contains() and SourceLocation.to_string()
    + Check assigned handler of dynamic signal before proceeding further
    + Don't perform version check on internal lambda method
    + Perform version check for types of non-external variable declarations
    + Quote symbol on report by version attribute check
    + Ensure non-empty argument list for "disconnect" before accessing it
  - girparser
    + Move special handling for certain parameters to process_callable()
    + Drop special handling of GLib.Data, GLib.PtrArray and GLib.String
    + Improve detection of AsyncReadyCallback/AsyncResult parameters [#340]
  - parser: Handle incomplete expression statements

 * Bindings:
  - gio-2.0: Add "async_result_pos" attributes to \ 
*.call_with_unix_fd_list()
    [#340]
  - glib-2.0: Fix Filename.canonicalize() binding of g_canonicalize_filename
  - glib-2.0: Guard Pid.to_string() with GLIB_2_50 to deal with G_PID_FORMAT
  - gstreamer-app-1.0: Don't merge Src.push_buffer_*() signal with its method
    [#968]
  - gstreamer-1.0: Don't skip GST_*_FORMAT strings [#970]
  - gtk4: Update to 3.98.3
  - vapi: Update GIR-based bindings
   2020-04-12 23:21:09 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
vala: update to 0.48.3.

Vala 0.48.3
===========
 * Various improvements and bug fixes:
  - codegen:
    + Append initializer for "_*_size_" of array field in internal struct
    + Avoid critical trying to serialize an unsupported type to Variant [#952]
    + Don't free value if property setter takes ownership [#953]
    + Correct field declaration for captured inline-allocated array [#954]
    + Include "glib.h" for G_BEGIN_DECLS/G_END_DECLS usage
    + Correctly handle transformation of translated string-literal constants
    + Don't pass CCodeCastExpression to NULL-aware free macro [#953]
  - vala:
    + Support struct initializer list in non-constant array [#949]
    + Handle unlock() statement in CodeWriter
    + Handle all ctors and dtors in CodeWriter
    + Consider boolean types are compatible with each other
    + Parse standalone integer/real literals as expression statement [#961]
    + Warn about usage of override to implement abstract interface methods

 * Bindings:
  - gio-2.0: Update to 2.65.0~a136776e
  - gstreamer: Update from 1.17.0+ git master
  - gtk4: Update to 3.98.2+11495027
   2020-03-31 19:35:12 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
vala: update to 0.48.2.

Vala 0.48.2
===========
 * Various improvements and bug fixes:
  - vapigen: Define "GOBJECT" corresponding to set profile of \ 
CodeContext [#933]
  - codegen:
    + Reset outdated array _size_ variable after use as ref parameter [#929]
    + Emit postconditions before free'ing local variables
    + Correctly access captured parameter in precondition of method [#144]
    + Use correctly typed array-length variable for property-getter
    + Use correctly typed array-length variable for delegate invocation
    + Inherit "array_length_type" from (base-) \ 
parameter/property/method [#938]
    + Improve handling of "array_length_type" attribute [#938]
    + Use memset to init inline-allocated array with non-constant size [#910]
    + Initialize temp-var for property array length before calling getter
    + Include "glib.h" for g_return_*() usage [#940]
  - vala:
    + Use error() instead of Report.error() inside of CodeContext.get()
    + Accept enum-values as length for inline allocated arrays [#935]
    + Improve copy of required attributes from delegate to lamdba method
    + Inherit lambda parameter attributes from delegate
    + Inline-allocated array aren't instantiated with creation expression [#926]
  - valadoc: Create and register current Vala.CodeContext properly
  - parser: Improve error message for invalid ArrayCreationExpression [#939]
  - tests: Drop usage of "--main main" and avoid ambigious entry-points
  - manual: Update from wiki.gnome.org

 * Bindings:
  - Add cairo-gobject binding
  - cairo: Add missing type_id attributes guarded by GOBJECT define
  - glib-2.0: Add binding for g_poll() [#924]
  - glib-2.0: Add binding for g_win32_ftruncate()
  - glib-2.0: Add missing IOChannel's win32 API
  - gio-2.0: Add binding for g_io_error_from_win32_error()
  - gstreamer: Update from 1.17.0+ git master
  - gtk4: Update to 3.98.1
  - posix: Add pathconf and fpathconf bindings
  - vapi: Update GIR-based bindings
   2020-03-15 21:00:05 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
vala: update to 0.48.1.

Vala 0.48.1
===========
 * Various improvements and bug fixes:
  - codegen:
    + Replace hard-coded "gsize" with resolved "size_t"
    + Add destroy of parameter in vfunc of delegate property setter [#919]
    + Inherit "array" attributes from (base/-interface) property
    + Inherit "delegate_target" from (base/-interface) \ 
parameter/property/method
    + Actually respect "delegate_target" attribute of method/parameter
    + Move ObjectTypeSymbol casting to GTypeModule
    + Factor out GValueModule and GLibValue into a separate source-files
    + Avoid symbol clashes with "va_*" from "stdarg.h"
  - vala:
    + Fix search for Parameter.base_parameter
    + Real struct-type without type_id can't be used for GObject property [#921]
  - codewriter: Output inner interface declarations [#918]

 * Bindings:
  - glib-2.0: Add missing "type_id"/"has_type_id" attributes \ 
to structs [#921]
  - glib-2.0: Memory profiling ("g_mem_*") is deprecated since 2.46
  - linux: Don't depend on GLib.Time when using POSIX profile
  - gtk4: Update to 3.98+2da445f9
  - poppler-glib: Update to 0.85
  - vapi: Update GIR-based bindings
   2020-03-11 10:53:55 by Thomas Klausner | Files touched by this commit (34)
Log message:
*: bump for vala 0.48.0
   2020-03-11 10:44:11 by Thomas Klausner | Files touched by this commit (5) | Package updated
Log message:
vala: update to 0.48.0.

Vala 0.48.0
===========
 * Various improvements and bug fixes:
  - vala:
    + Fix circular reference in Property/EnumValueType
    + Report an internal error for unavailable context and bail
    + Prevent possible stack-overflow in Class.is_subtype_of()
  - Add missing CodeContext.pop() calls
  - codegen: Add more "low-level" includes of "glib.h"
  - girparser: Decrease return_array_length_idx for transformed function
  - girparser: Delay adding of "GLib.Object" prerequisite to interfaces
  - manual: Update from wiki.gnome.org

 * Bindings:
  - vapi: Update GIR-based bindings

 * Contributors:
   Alberto Fanjul, Arnaud Bonatti, Corentin Noël, Evan Nemerson, Florian Brosch,
   Jeremy Philippe, Michael Gratton, Ole André Vadla Ravnås, Princeton Ferro,
   Rico Tzschichholz, Simon Werbeck

Vala 0.47.92
============
 * Various improvements and bug fixes:
  - Add support for sealed classes in bindings [#278]
  - codegen: Don't initialize stack-allocated array with local-constant
    length [#910]
  - vala: Improve robustness of analyzer pass for language-servers [#911]
  - vala: Add local-variables to current scope regardless its error state
  - testrunner: Pass G_DEBUG=fatal-warnings to invalid test

 * Bindings:
  - Add some fundamental deps files to improve --nostdpkg support [#911]

Vala 0.47.91
============
 * Various improvements and bug fixes:
  - vala:
    + Fix base-access check for compact classes (2)
    + Don't ignore errors in Parameter and acknowledge them further
    + Properly set CodeNode.error when reporting an error
  - girparser: Report a warning for conflicting class and instance methods
  - testrunner: Invalid tests and therefore expected failures must return 1
  - manual: Update from wiki.gnome.org

 * Bindings:
  - Add harfbuzz-gobject binding [#909]
  - gstreamer: Update from 1.17.0+ git master
  - gtk+-*.0,gtk4: Fix iter parameter of TextIter.order() [#908]
  - gtk4: Update to 3.98.0+410dbdf6
  - pango: Update and add harfbuzz-gobject as dependency
  - webkit2gtk-4.0: Update to 2.27.90

Vala 0.47.4
===========
 * Various improvements and bug fixes:
  - codegen:
    + Skip StructRegisterFunction for boolean/integer/floating types [#901]
    + Handle different type-symbols in visit_base_access() [#901]
    + Explicitly include header for length-type of arrays
    + Explicitly include <glib.h> as needed for null-literal
    + Make *_try_id specific to emit-context instead being global states
  - vala:
    + Improve detection of recursive struct declarations [#902]
    + Inline allocated arrays require length or initializer [#903]
  - parser: Improve robustness and behavior of --keep-going

 * Bindings:
  - javascriptcoregtk-4.0: Make JSC.Class usable by defining the right callback
  - gtk4: Update to 3.96.0+4ab12ab7
  - vapi: Update GIR-based bindings

Vala 0.47.3
===========
 * Highlights:
  - Add further support for params arrays [#128]

 * Various improvements and bug fixes:
  - codegen:
    + Don't set implemenation of interface property to its own [#891]
    + Use result value of assignment rather than its computation [#895]
    + Cast instance parameter in member-initializer for base-properties [#899]
  - vala:
    + Infer target_type in coalescing expressions [#892]
    + Non-nullable value-type in coalesce expression needs to be copied [#893]
    + Fix short-circuiting behavior of coalescing operator [#534]
    + Always bail if there are semantic errors
  - girparser: Apply explicitly given ctype metadata attributes on callables

 * Bindings:
  - glib-2.0: Let (u)int.try_parse() return false if there is an unparsed part
  - gtk4: Update to 3.96.0+7e2e92a8
  - gstreamer: Update from 1.17.0+ git master
  - vapi: Update GIR-based bindings
  - webkit2gtk-4.0: Update to 2.27.4

Vala 0.47.2
===========
 * Highlights:
  - compiler: Add "--depfile" option writing package dependencies to \ 
given file

 * Various improvements and bug fixes:
  - codegen:
    + Fix support of dynamic DBus methods
    + Fix vfunc signature of delegate-typed property in interface
    + Fix precondition in creation method of structs
    + Remove unreachable code in TypeRegisterFunction.init_from_type()
    + Improve *_get_type() fast path (requires glib >= 2.58) [#879]
  - vala:
    + Report error for async creation expression without yield
    + Don't require constant initializer in fast-vapi [#461]
    + VoidType is actually compatible with itself [#878]
    + Improve handling of "void" as generic type [#878]
    + Keep formal_target_type on transform of method-call/object-creation [#835]
    + Add a basic parameter check for [Print] methods
    + Let the parser have set namespace members as static
    + Don't ignore inner errors in Block and acknowledge them further
    + Improve error message for unsupported inner types and declarations
    + Don't allow "va_list" as return-type or type of fields [#884]
    + Check before accessing "name" of parent_symbol which might be null
    + Allow to override base interface properties explicitly
  - gidl/girparser: Creation methods must not be marked as static
  - parser: Implicit "main" method of main-block is public and static
  - scanner: "\x" requires two hex digits at most
  - scanner: Improve check of "\u" escape sequence
  - genie: Fix parser's inner state when a struct is declared after a class

 * Bindings:
  - glib-2.0: Add to_string() for GLib.PollFd and GLib.Pid
  - glib-2.0: Add new symbols from 2.64
  - glib-2.0: Reset errno before calling strto*() functions.
  - gstreamer: Update from 1.17.0+ git master
  - gtk4: Update to 3.96.0+448a4023
  - pango: Update to 1.44+
  - vapi: Update GIR-based bindings
  - webkit2gtk-4.0: Update to 2.27.3

Vala 0.47.1
===========
 * Highlights:
  - Various improvements for the POSIX profile
  - codegen:
    + Allow passing/retrieving any delegate to/from varargs parameter
    + Support gobject property of null-terminated array without length [#855]
    + Support gobject property of delegates not carrying their target [#856]
    + Warn when directly accessing member of silent cast-expression
  - vala:
    + Add DelegateType.target/destroy fields to access its user-data [#857]
    + Accept interface as inner type for object-type symbols [#697]
    + Add GenericType.dup/destroy fields [#190]
    + Support "unowned var" to declare local variables [#152]
  - compiler: Add "--list-sources" options to output list of all \ 
sources [#872]

 * Various improvements and bug fixes:
  - codegen:
    + Move type-argument checks to SemanticAnalyzer
    + Make CCodeBaseModule.generate_method_declaration() return bool
    + Fix custom reference-counting for compact classes
    + G_DEFINE_AUTOPTR_CLEANUP_FUNC must not declared more than once
    + Use SemanticAnalyzer.get_data_type_for_symbol()
    + Commonize the determining of return-type for delegates and methods
  - vala:
    + Rename DataType.data_type property to DataType.type_symbol
    + Unify backing symbol instance of data-types
    + Respect --abi-stability in Class/Interface.accept_children()
    + Don't mark method as used on recursive usage of itself [#100]
    + Set GLib.Error as symbol of error-types if no error-domain was given
    + Make Callable derive from Symbol
  - libvaladoc: Remove TypeReference.pass_ownership API
  - valadoc: Rename FormalParameter to Parameter
  - girwriter: Fix position of priv field (--abi-stability) [#850]

 * Bindings:
  - glib-2.0: Add binding for "gettext()" [#864]
  - glib-2.0: Add new symbols from 2.64
  - glib-2.0: Add optional "base" parameter to *.parse/try_parse() of \ 
integers
    and check errno for EINVAL and ERANGE in *.try_parse() [#223]
  - glib-2.0: Add (u)int.try_parse() [#649]
  - glib-2.0: Add "has_typedef = false" to custom MarkupParser*Func \ 
delegates
  - gtk+-*.0: Fix iter parameter of TextBuffer.backspace()
  - gtksourceview-2.0: Fix iter parameter in SourceBuffer.backward/forward/...
  - libusb-1.0: Use a wrapper for Context.get_device_list() [#151]