2009-09-18 Jürg Billeter <
[email protected]>
Release 0.7.6
2009-09-17 Jürg Billeter <
[email protected]>
GAsync: Fix result parameter in .end
GAsync: Fix propagating errors from async methods
gio-2.0: Fix GAsyncReadyCallback binding
Fix throwing errors in async methods
2009-09-17 Levi Bard <
[email protected]>
sdl: Fix SDL_WM_GetCaption and FPSmanager binding
2009-09-17 Jürg Billeter <
[email protected]>
Fix passing captured variables as out arguments
Keep input parameters alive in closures and async methods
glib-2.0: Support owned delegates with Timeout.add
Report error when capturing uninitialized variables in closures
glib-2.0: Support owned delegates with Idle.add
Fix time_t binding
Fix methods returning nullable structs
Remove duplicated code for connecting signal handlers
Ensure interfaces are declared in header files
Do not initialize temporary variables where not necessary
Improve readability of reference counting
Fixes bug 472740.
GAsync: Fix calling async methods from async methods without yield
2009-09-17 Yu Feng <
[email protected]>
Fix `this' access in default signal handlers
Fixes bug 593734.
2009-09-17 Jürg Billeter <
[email protected]>
vapigen: Fix signals in interfaces
Fix closures in constructors
2009-09-16 Jürg Billeter <
[email protected]>
Fix closures in creation methods
Never capture implicit `this' parameter
D-Bus: Fix name conflicts in async client methods
Fix name conflicts in closures
GAsync: Fix name conflicts
2009-09-16 Julian Andres Klode <
[email protected]>
linux: Add mremap(2) call
This is a Linux-specific enhancement to the mmap() function
set implemented in posix.vapi.
2009-09-16 Jürg Billeter <
[email protected]>
D-Bus: Fix server methods returning structs
GAsync: Fix missing gio.h include for virtual async methods
Fix closures used as signal handlers
D-Bus: Test async client and server methods with out parameters
GAsync: Fix async methods with out parameters
D-Bus: Fix return statement in error handling of async server methods
D-Bus: Fix async server methods returning arrays
Fix virtual methods returning structs
GAsync: Fix async methods returning arrays or delegates
GAsync: Fix generating array dup/copy wrappers from async method
Add experimental support for closures in async methods
2009-09-16 Julian Andres Klode <
[email protected]>
posix: Introduce ftruncate() and truncate()
posix: Add sys/mman.h memory management functions
Add support for the complete POSIX set of functions in mman.h like
mmap(), munmap() and mprotect() and also support the MLR and XSI
extension functions.
2009-09-16 Jürg Billeter <
[email protected]>
Declare base properties of inherited interface implementations
GAsync: Another temp variable fix
GAsync: Various fixes for temp variables in coroutines
GAsync: Report error on missing gio-2.0 package
Fix array and delegate variable handling in closures and coroutines
GObject: Only declare boxed variable when used
Do not declare result variable if it is unused
GObject: Declare property accessors used in get/set_property
Do not declare private symbols in internal header
Fix jump statements with captured variables
2009-09-15 Jürg Billeter <
[email protected]>
GObject: Fix boxed property handling
2009-09-15 Adrien Bustany <
[email protected]>
Add librest bindings
Fixes bug 593032.
2009-09-15 Jan Hudec <
[email protected]>
gobject-2.0: Bind g_object_newv
2009-09-15 Jiří Zárevúcky <
[email protected]>
Add gnutls bindings
Fixes bug 594392.
2009-09-15 Michael 'Mickey' Lauer <
[email protected]>
Add alsa bindings
Fixes bug 593768.
Add linux bindings
Fixes bug 593770.
2009-09-15 Mark Lee <
[email protected]>
gnome-vfs-2.0: Fix gnome_vfs_*xfer* bindings
The progress_callback parameters are nullable.
Fixes bug 593836.
2009-09-15 Eric Alber <
[email protected]>
libxml-2.0: Add xmlNewNs binding
Fixes bug 593854.
goocanvas: Nullable fixes for goo_canvas_item_*
Fixes bug 594445.
2009-09-15 Evan Nemerson <
[email protected]>
gtk+-2.0: Fix gtk_tree_view_get_columns binding
TreeView.get_columns returns a GList of unowned GtkTreeViewColumn.
Fixes bug 591191.
libpanelapplet-2.0: Add PanelAppletOrient and some missing methods
Fixes bug 590544.
zlib: Many enhancements for memory/stream based operations
Fixes bug 577804.
glib-2.0: add GLib.HashTable.foreach
Fixes bug 577365.
2009-09-15 Víctor Manuel Jáquez Leal <
[email protected]>
gstreamer-0.10: Turn gst_object_replace into a static function
Fixes bug 591979.
2009-09-15 Jürg Billeter <
[email protected]>
Add man or boy test
Support capturing parameters in closures
Add support for closures
Fixes bug 554781.
Do not report inherited interface implementations as unused
libepc-1.0: Regenerate bindings
Fixes bug 595247.
Report error when trying to pass signal as argument
Fixes bug 584350.
Report error for properties using `async' or `throws'
Return structs via out parameter
Fixes bug 534781.
2009-09-15 Sebastian Dröge <
[email protected]>
GIR parser: Handle anonymous unions and structs inside unions
Fixes bug 594228.
2009-09-15 Jürg Billeter <
[email protected]>
GAsync: Fix GSourceFunc callbacks in virtual methods
D-Bus: Fix uninitialized error variable in servers
2009-09-14 Jürg Billeter <
[email protected]>
Add generic_type_pos CCode attribute for macros
2009-09-14 Didier 'Ptitjes <
[email protected]>
D-Bus: Fix error handling in static clients
Fixes bug 581101.
D-Bus: Fix error handling in servers
Fixes part of bug 581101.
D-Bus: Set D-Bus name for DBus.Error errordomain
2009-09-14 Jürg Billeter <
[email protected]>
D-Bus: Add get_dbus_name helper method
2009-09-14 Ryan Lortie <
[email protected]>
GVariant binding fixes
2009-09-14 Jürg Billeter <
[email protected]>
Fix virtual struct properties
Do not support use of generics in static methods of generic types
Fixes bug 589071.
Fix string switch statements with owned switch expression
Fixes bug 591879.
Fix C warnings in parser
2009-09-14 Didier 'Ptitjes <
[email protected]>
Add support for constants in interfaces
2009-09-14 Jürg Billeter <
[email protected]>
vapigen: Support owned_get metadata attribute for properties
Fixes bug 592462.
2009-09-14 Mark Lee <
[email protected]>
Do not check for an entry point when compiling a library
Fixes bug 594291.
2009-09-14 Jürg Billeter <
[email protected]>
Fix crash when using invalid conditional expressions
Fixes bug 594400.
2009-09-14 Martin Olsson <
[email protected]>
libxml-2.0: Fix xmlGetProp/xmlGetNsProp/xmlGetNoNsProp bindings
Fixes bug 594414.
2009-09-14 Jürg Billeter <
[email protected]>
GAsync: Fix .begin on async methods that may throw errors
Report error when declaring signals with static modifier
Fixes bug 594440.
Fix postconditions in namespace methods
Fixes bug 595134.
Fix crash when using postfix expressions with read-only properties
Fixes bug 595145.
2009-09-14 Jan Hudec <
[email protected]>
GIR writer: Fix generation of implemented interfaces
The list of implemented interfaces is expected as
<implements name="Interface1" />
<implements name="Interface2" />
...
by gobject-introspection library (as of 0.6.3), but was written as
<implements>
<implements name="Interface1" />
<implements name="Interface2" />
...
</implements>
by Vala.GIRWriter. Note, that vapigen expects the same format as
gobject-introspection, so it was not able to read vala-written .girs
before the change and is able to read them properly now.
Fixes bug 584576.
2009-09-14 Jürg Billeter <
[email protected]>
gobject-2.0: Add bindings for more G_TYPE_* constants
Fixes bug 591972.
gstreamer-0.10: Fix gst_parse_launchv binding
Report error when using yield expressions outside async methods
gio-2.0: Nullable fixes for GSocketListener bindings
2009-09-13 Jürg Billeter <
[email protected]>
D-Bus: Fix invalid code generated for error handling in servers
GAsync: Do not warn when not using .begin
This improves backwards compatibility.
Warn about unhandled errors in property accessors
Also drop dynamic error warning from constructors
gobject-2.0: Fix GParameter binding
gtk+-2.0: Fix GtkRecentData binding
Fixes bug 559647.
Add has_copy_function and has_destroy_function struct attributes
Do not warn about unhandled errors of dynamic method calls
It is impossible to know at compile-time what error types dynamic
methods may throw, so it does not make sense to warn about possibly
unhandled errors in this case.
Fixes bug 548439.
Fix crash with type check expressions
Fixes bug 594399.
D-Bus: Test async client and server support
Fix crash with virtual async methods
Fix testrunner to support multiple packages
gio-2.0: Correctly bind asynchronous methods
GAsync: Fix .begin and add support for .end
Based on patch by Didier 'Ptitjes.
GAsync: Fix virtual async methods
GType: Remove duplicated code for interface vfunc declarators
D-Bus: Support async server methods
GAsync: Fix declarations of async methods
Fixes bug 573417.
D-Bus: Small refactoring of generated message handlers
Inline sending of reply in preparation for supporting asynchronous
handlers.
2009-09-13 Didier 'Ptitjes <
[email protected]>
GAsync: Remove check for reference parameter types in async methods
2009-09-13 Jürg Billeter <
[email protected]>
GAsync: Require yield expression for async method calls
GAsync: Support GSourceFunc callbacks in async methods
Replace `yields' by `async' method modifier
GAsync: Drop async_only attribute support
GAsync: Drop the synchronous version of async methods
GAsync: Do not schedule idle handler for yield statements
2009-09-11 Alexander Bokovoy <
[email protected]>
glib-2.0: Fix g_key_file_set_comment binding
2009-09-07 Didier 'Ptitjes <
[email protected]>
GAsync: Add gio.h include in header for public async methods
2009-09-06 Jürg Billeter <
[email protected]>
GValue: Support conversion from and to string[]
Detect use of possibly uninitialized variables in properties
Consider fixed length array variables as defined
2009-09-05 Jürg Billeter <
[email protected]>
Write type parameters of generic methods in VAPI files
Add support for properties in structs
2009-09-05 Mark Lee <
[email protected]>
gtk+-2.0: Fix Gtk.MessageDialog constructor binding
The constructor for GtkMessageDialog, gtk_message_dialog_new, takes a
printf-style format at the end of its parameter list (as opposed to ending
its varargs with a NULL sentinel).
Fixes GNOME Bug #593995.
2009-09-05 Jürg Billeter <
[email protected]>
Fix crash when creating structs in member initializer
2009-09-04 Florian Brosch <
[email protected]>
Comment handling improvements
Fixes bug 529040, bug 540513, and bug 546096.
2009-09-03 Eric Alber <
[email protected]>
gstreamer-0.10: Fix gst_xml_* bindings
Fixes bug 593853.
2009-09-03 Michael 'Mickey' Lauer <
[email protected]>
Add libnl-1 bindings
Fixes bug 593769.
2009-09-03 Víctor Manuel Jáquez Leal <
[email protected]>
gstreamer-0.10: gst_bus_poll return value can be null
Fixes bug 592345.
2009-09-03 Michal Hruby <
[email protected]>
gobject-2.0: Fix binding for the dispose method
Fixes bug 592269.
2009-09-03 Jürg Billeter <
[email protected]>
gstreamer-0.10: Fix gst_element_class_get_pad_template_list
Fixes bug 593973.
Do not write default param_spec_function in VAPI files
2009-09-03 Evan Nemerson <
[email protected]>
glib-2.0: time_t does not have a type_id
Fixes bug 587150.
2009-09-03 Ryan Lortie <
[email protected]>
add g_variant_unref to bindings
note that if you call g_variant_unref() directly as a function then some
versions of GCC have a bug that will cause invalid code to be emitted.
this declaration is really only meant to be used as a callback.
2009-09-03 Jürg Billeter <
[email protected]>
Chain up to g_object_new where possible
Fixes bug 593159.
Support creation method chain up to g_object_new
Do not chain up creation methods when using construct block
Fix chain up to creation methods with variable argument lists
2009-09-03 Ryan Lortie <
[email protected]>
fix binding of GVariant parse functions
2009-09-02 Ryan Lortie <
[email protected]>
add dconf vapi (hand-written)
add conditional GTree refcounts with -D GLIB_2_22
GVariant binding fixups
2009-09-02 John Carr <
[email protected]>
girwriter: Make sure the default constructor is called new
2009-09-02 Jürg Billeter <
[email protected]>
Struct instance fields are always public
2009-09-02 Sebastian Dröge <
[email protected]>
Add test for accessing class/static fields from class methods
2009-09-02 Ryan Lortie <
[email protected]>
add initial GSettings support to gio-2.0 vapi
Add partial GVariant bindings to glib VAPI
2009-09-01 Jürg Billeter <
[email protected]>
GObject: Fix boxed properties
GObject properties that are boxed types were incorrectly being declared as
pointer types when the properties were installed.
Based on patch by Mark Lee, fixes bug 592493.
2009-09-01 Sebastian Dröge <
[email protected]>
Fix access checks for instance and class members
Do not allow access to instance members from static or class
constructors/destructors. Allow access to class members from
class methods.
Fixes bug 592930 and bug 593255.
2009-09-01 Jürg Billeter <
[email protected]>
gdk-2.0: Fix gdk_window_new binding
2009-08-31 Martin Olsson <
[email protected]>
libxml-2.0: Fix xmlNewDocRawNode binding
Fixes bug 593219.
2009-08-31 Jürg Billeter <
[email protected]>
gtk+-2.0: Fix GtkBuildable custom methods
Fixes bug 593489, based on patch by Nicolas Bruguier.
2009-08-31 Nicolas Bruguier <
[email protected]>
gtk+-2.0: Fix gtk_notebook_insert_page*
Fixes bug 593490.
2009-08-31 Jürg Billeter <
[email protected]>
vapigen: Support virtual="0"
2009-08-31 Nicolas Bruguier <
[email protected]>
gtk+-2.0: gtk_window_set_focus parameter can be null
Fixes bug 593491.
2009-08-31 Jürg Billeter <
[email protected]>
Fix crash with certain default arguments
Fixes bug 593499.
gtk+-2.0: Fix gtk_button_get_alignment binding
Fixes bug 593578.
gtk+-2.0: Fix gtk_editable_select_region binding
Fixes bug 593579.
gobject-2.0: Add constructor to GLib.Object class
2009-08-27 Didier 'Ptitjes <
[email protected]>
Fix use of generics in base expressions inside constructors
Fixes bug 593137.
2009-08-27 Jürg Billeter <
[email protected]>
Fix memory management in generic methods
Fixes bug 593260.
2009-08-25 Michael 'Mickey' Lauer <
[email protected]>
posix: Fix struct tm binding
2009-08-23 Jamie McCracken <jamiemcc gnome org>
Fix scanning of case where single line comments are appended to end of a line
Fixes GNOME Bug 592369 - compiler is complaining about indentation if there are comments
Porperly parse types when using array of/list of/dict of type
Fixes GNOME Bug 592366 - list doesn't work as well as ArrayList
2009-08-20 Mark Lee <
[email protected]>
valac: Add flag to specify a separate basedir for the public header
This basedir is used in the VAPI file. Needed because of the way that build
systems such as Waf deal with the location of the public header.
Fixes GNOME Bug #589964.
2009-08-20 Jürg Billeter <
[email protected]>
Fix array length access for parameters using reserved identifiers
2009-08-19 Evan Nemerson <
[email protected]>
posix: add gettimeofday() and settimeofday() bindings.
Fixes bug 592189.
2009-08-18 Jürg Billeter <
[email protected]>
gnome-keyring-1: Fix GnomeKeyring.AttributeList binding
2009-08-18 Alberto Ruiz <
[email protected]>
vapigen: Interfaces should be marked as external by default.
2009-08-17 Mark Lee <
[email protected]>
gtk+-2.0: Fix Gtk.Table:row-spacing binding
gtk_table_set_row_spacing() should not be emitted by Vala as an accessor
method for GtkTable's row-spacing property, as it has a different function
signature.
Fixes GNOME Bug #592110.
2009-08-17 Jürg Billeter <
[email protected]>
Do not allow creation of objects without constructor
Fixes bug 578417.
2009-08-17 Thijs Vermeir <
[email protected]>
gstreamer-0.10: fix some bindings
2009-08-17 Mark Lee <
[email protected]>
gobject-2.0: fix binding for ObjectClass.list_properties
The array length type for the return value of
g_object_class_list_properties() is guint, not int.
Fixes GNOME Bug #592108.
2009-08-17 Jürg Billeter <
[email protected]>
Do not chain up constructors when using construct properties
Accept external property accessors without body
2009-08-17 j.smit <
[email protected]>
gnet-2.0: Fix bindings for several delegates.
Fixes bug 590936.
2009-08-17 Evan Nemerson <
[email protected]>
gtk+-2.0: Fix some GtkStatusIcon signals
Fixes bug 590951.
2009-08-16 Jürg Billeter <
[email protected]>
Report error when trying to modify strings
Fixes bug 588038.
gdk-2.0: Fix virtual methods in Gdk.Drawable class
Fixes bug 591288.
glib-2.0: Return character instead of number in char.to_string
Fixes bug 590557.
2009-08-16 Evan Nemerson <
[email protected]>
posix: Add sync, fsync, and fdatasync bindings
Fixes bug 590550.
2009-08-16 Jürg Billeter <
[email protected]>
Report error on unsupported constructor chain up
Fixes bug 581362.
Report error on invalid creation method declarations
Fixes bug 572060.
Ensure constructors are chained up
Fixes bug 571453.
Fix creation methods in abstract classes
Add default construction method to abstract classes to allow chain up.
Do not generate _new functions for construction methods in abstract
classes, only generate _construct functions.
Support relational and arithmetic operations with enum values
Fixes bug 562265.
Respect accessibility of creation methods
Fixes bug 560974.
Report error on unsupported type check expressions
Fixes bug 585344.
glib-2.0: Add g_strdelimit binding
Fixes bug 530396.
2009-08-16 Michal Hruby <
[email protected]>
cairo: Fix cairo_image_surface_get_data binding
ImageSurface.get_data() method returns unowned data.
2009-08-16 Jürg Billeter <
[email protected]>
cairo: Add cairo_clip_extents binding and various fixes
Fixes bug 591915.
Check case expressions in switch statements
Fixes bug 577052.
Replace in_creation_method field by property
Replace current_return_type field by property
Simplify current symbol tracking
Replace current_type_symbol, current_class, current_struct,
current_method, and current_property_accessor fields by properties.
2009-08-15 Jürg Billeter <
[email protected]>
Do not treat external main methods as entry points
2009-08-15 Sebastian Pölsterl <
[email protected]>
glib-2.0: Added TimeoutSource.seconds constructor
2009-08-15 Víctor Manuel Jáquez Leal <
[email protected]>
gstreamer-0.10: set the delegate target position for gst_iterator_fold
Fixes bug 591815.
2009-08-15 Jürg Billeter <
[email protected]>
Replace Vala.InstanceCast class by method
glib-2.0: Fix g_strchomp, g_strchug, and g_strstrip bindings
Strings are immutable in Vala. Fixes bug 571470.
Report error on missing or duplicate entry point
Fixes bug 591819.
Check for unhandled errors in creation methods
Fixes bug 571973.
2009-08-15 Mark Lee <
[email protected]>
gobject-2.0: Add binding for g_value_array_copy
Fixes bug 591370.
Arrays: Add array_length_type annotation to methods
Adds support for the array_length_type CCode annotation, which allows
methods with non-int array length parameters to be declared properly.
Fixes possible crashes.
Also adds Vala.CType, to work around the temporary variable type
limitations.
This fix only works with array return types, not with array parameters.
Partially fixes bug 529866.
2009-08-12 Sebastian Pölsterl <
[email protected]>
glib-2.0: Fixed Source.remove binding
Source.remove returns bool
2009-08-10 Jürg Billeter <
[email protected]>
Use g_signal_connect_object also for lambda expressions
Fixes bug 591240.
Fix cast from non-array to array type
Fixes bug 590785.
2009-08-04 Rob Taylor <
[email protected]>
Add missing dependencies for cogl-1.0 bindings
Add initial clutter-1.0 vala bindings.
These were generated using gobject-introspection and then manually
corrected, so there may be a number of issues. They are usable right
now, but should be considered a work-in-progress.
2009-08-04 Jürg Billeter <
[email protected]>
glib-2.0: Add string.to_utf8() method
2009-08-03 Jürg Billeter <
[email protected]>
Fix lambda expressions in property accessors
Fixes bug 590626.
2009-08-03 Jaap A. Haitsma <
[email protected]>
gio-2.0: mtime in FileInfo.get_modification_time is an out parameter