2009-08-02 Jürg Billeter Release 0.7.5 2009-08-02 Evan Nemerson Fix bindings to use the new syntax for fixed-length arrays Fixes bug 590477. 2009-08-02 Jürg Billeter D-Bus: Fix crash when using unsupported types in dynamic clients Fixes bug 586479. Fix calling generic methods from generic types Report error when overriding method with static method 2009-08-01 inter curses: make stdscr curscr and newscr not constant Curses example on wiki compiles again 2009-08-01 Frederik Make PutUnion public vala tiff example now works 2009-08-01 Jürg Billeter Fix memory leak when freeing arrays of structs Fixes bug 589144. GObject: Do not use G_PARAM_WRITABLE for private setters Fixes bug 589310. Support [ScanfFormat] attribute Fixes bug 589930. Improve CamelCase to lower_case transformation Fixes bug 585718. 2009-08-01 Michael B. Trausch x11: Fix Window binding 2009-08-01 Evan Nemerson Support [CCode (free_function_address_of = true)] attribute Fixes bug 589795. 2009-08-01 Mark Lee posix: Update syntax for fixed-length array definition The syntax for fixed-length arrays changed in commit 5843b781. Fixes bug 590433. 2009-07-31 Jürg Billeter Fix critical on invalid element access Fixes bug 590339. Drop duplicate declaration of creation methods 2009-07-30 Jürg Billeter Arrays: Fix inline-allocated arrays Arrays: Change syntax for fixed-length arrays To clarify the difference to normal arrays and allow declaration of inline-allocated arrays of unknown length, the new syntax is: int array[3]; 2009-07-29 Jürg Billeter Retain array length across casts Fix chaining up constructors in generic classes GObject: Fix complex construct property assignments GIR parser: Skip checks not relevant for bindings Allow derived compact classes with instance fields in bindings glib-2.0: Add GStaticMutex bindings Fix name mangling in NULL check for out parameters Fix flow analysis in finally blocks Fixes bug 590069. 2009-07-28 Jürg Billeter Fix critical when using general catch clauses 2009-07-28 Jiří Zárevúcky Fix error handling in catch clauses Fix jump statements in try with finally Fixes bug 579101. 2009-07-28 Didier 'Ptitjes D-Bus: GType-based client proxy instantiation Add internal DBus.get_object_from_type method to dbus-glib-1 binding, fixes bug 571831. D-Bus: Register client proxy class with interface Fixes part of bug 571831. 2009-07-28 Jürg Billeter Add parentheses to called functions where necessary 2009-07-28 Didier 'Ptitjes Add factory method for creating instance register functions D-Bus: Move filter/match initialization to proxy constructor 2009-07-28 Jürg Billeter Add limited support for derived compact classes Fixes bug 578603. Removed Boxed pseudo-class Report error when declaring virtual methods as extern See bug 584400. Fix error message when trying to invoke object Based on patch by Andreas Brauchli, fixes bug 574910. Support virtual default handler for signals Based on patch by Yu Feng, fixes part of 571685. Support delegates without target as generic type arguments Based on patch by Levi Bard, fixes bug 519949. 2009-07-28 Mark Lee Add support for iterating over GValueArrays via foreach Implements working support for using ValueArrays in foreach statements. Both owned and unowned Value element types are implemented, including a testcase. Example: void print_array (ValueArray array) { foreach (Value value in array) { message ("Value: %s", value.strdup_contents ()); } } Fixes bug 588742. 2009-07-28 Marc-André Lureau Owned struct parameters should not be const This code fails to compile, because vala tries to free() a const value. public virtual void qset (Quark field, owned Value? value) { ... } 2009-07-28 Mark Lee GIR writer: add c:prefix support for namespaces Emit a c:prefix attribute for namespaces, if the cprefix exists, fixes bug 583862. 2009-07-28 Frederik Sdun GValue: Support implicit conversion to nullable GValue Fixes bug 589155. 2009-07-28 Jukka-Pekka Iivonen posix: Add setsid, mknod, and tcgetsid bindings Fixes bug 589970. 2009-07-28 Jürg Billeter Remove unused methods Support delegate properties Based on patch by Julien Fontanet, fixes bug 543879. 2009-07-28 Evan Nemerson Make some functions which return Gtk.IconInfo transfer ownership Fixes bug #589530 2009-07-27 Levi Bard Support locks with static fields Fixes bug 537461. 2009-07-27 Reuben Dunnington gtk+-2.0: Fix gtk_tree_view_get_*_area bindings Fixes bug 589924. 2009-07-27 Evan Nemerson Add libusb-1.0 bindings Fixes bug 589913. libftdi: Update to libftdi-0.16, adapt to libusb changes Fixes bug 589911. libusb: Numerous improvements to the API Fixes bug 589910. 2009-07-27 Michael B. Trausch glib-2.0: Add binding for ngettext to support plural strings Fixes bug 589735. 2009-07-27 Evan Nemerson Make many copy methods transfer ownership Fixes bug 589309. 2009-07-27 Evan Nemerson vapigen: Make quotes around metadata arguments optional Fixes bug 588171. pango: Various PangoAttribute-related fixes Fixes bug 587645. vapigen: Support overriding memory management functions in metadata Fixes bug 589307. 2009-07-27 Jürg Billeter glib-2.0: Add FileStream.read_line method Based on patch by Frederik and Nicolas Joseph, fixes bug 582178. 2009-07-27 Evan Nemerson Use (s)size_t instead of (u)long in several string methods Fixes bug 577352. 2009-07-27 Jürg Billeter Report error when initializing constants or fields in bindings Fixes bug 556197. Add GError parameter for overriding methods where necessary Check the error types of the base method as well, fixes bug 548283. Only register GObject properties with valid names Fixes bug 547252. Fix non-GObject interface properties in GObject classes Fixes bug 539658. 2009-07-26 Jürg Billeter Do not use GLib-specific code outside GObject profile 2009-07-26 Jaap A. Haitsma Forgot to add librsvg-2.0-custom.vala in commit 1c8740642f759e82eb936af88a89ab310b9e3e12 gconf-2.0: Fix GConf.Client.get_entry binding (bgo#589739) The "locale" parameter in gconf_client_get_entry can be NULL. Fixes GNOME Bug #589739. Patch by Mark Lee 2009-07-23 Thijs Vermeir gstreamer-0.10: add bindings for some GstClockTime methods Add bindings for GST_TIME_ARGS and GST_CLOCK_TIME_IS_VALID 2009-07-23 Alberto Ruiz Scanner has now a public static method to check if a token is a keyword or an identifier. CodeWriter uses that method to figure out whether it should add a @ prefix or not. Add support for Array parameters with no array_legth (fixes #589446) 2009-07-22 Rob Taylor Remove debug statements in the gir parser positional parameter handling Make vapigen obey deps files for --pkg arguments. debugging for empty struct warning Cope with throws in a constructor Attempt to correctly generate positional information for closures and array lengths support .deps files when using new .gir files. 2009-07-21 Didier 'Ptitjes Support taking address of generic variables Fixes bug 589236. 2009-07-20 Sebastian Pölsterl gstreamer-0.10: Fixed gst_iterator_find_custom binding Don't hide user_data parameter. Fixes bug #589147 2009-07-18 Jaap A. Haitsma librsvg-2.0: make DimensionData a struct, regenerate bindings Patch by Evan Nemerson Fixes bug #588652 vapigen: allow metadata to set type_id Patch by Evan Nemerson Fixes bug #588703 2009-07-17 Jürg Billeter gio-2.0: Regenerate bindings Fix source filename mangling 2009-07-16 Jaap A. Haitsma libgdata: add libgdata bindings Fixes bug #588719 Patch by Víctor Manuel Jáquez Leal 2009-07-16 Jiří Zárevúcky Add support for static properties Fixes bug 586166. 2009-07-16 Jürg Billeter Fix crash when using dynamic properties on unsupported types GIR parser: Support constructors throwing errors 2009-07-13 Jürg Billeter Check for valac >= 0.7.0 in autogen.sh 2009-07-13 Jaap A. Haitsma gtk+-2.0: regenerate binding with new vapigen 2009-07-12 Jürg Billeter glib-2.0: Use locale-independent g_ascii_strtod 2009-07-11 Jaap A. Haitsma gio-unix-2.0: Various improvements to UnixMountEntry Fixes bug 586017 Patch by Evan Nemerson gtk+-2.0: Fix TreeView.get_columns binding Fixes bug #588009 glib-2.0: Fix unescape_string and unescape_segment Fixes bug #588011 glib-2.0: Make ByteArray.data use ByteArray.len as length. Fixes bug 586162 Patch by Evan Nemerson 2009-07-11 Jürg Billeter Fix crash in scanner 2009-07-10 Jaap A. Haitsma gstreamer-netbuffer-0.10: Fix GstNetBuffer binding Fixes bug 565026. 2009-07-10 Evan Nemerson pangocairo: Fix pango_cairo_create_* bindings pango_cairo_create_{context,layout} transfer ownership, fixes bug 587840. gdk-2.0: Fix GdkNativeWindow binding Fixes bug 587157. librsvg-2.0: rsvg_handle_new_from_data takes an array Fixes bug 583475. gdk-2.0: Fix gdk_property_change binding The data parameter to gdk_property_change should not include array length, fixes bug 583235. glib-2.0: Fix GIOFlags binding Prepend IS_ to IOFlags.READABLE, WRITEABLE, and SEEKABLE, fixes bug 567387. glib-2.0: Add more GMarkup bindings Add g_markup_collect_attributes, g_markup_parser_context_push, g_markup_parser_context_pop, and GMarkupCollectType bindings, based on patch by Yu Feng, fixes bug 564704. gnome-keyring-1: Fix GNOME_KEYRING_ constant bindings Fixes bug 556632. 2009-07-10 Jürg Billeter glib-2.0: Add GHashTableIter binding Based on patch by Yu Feng, fixes bug 571779. libpanelapplet-2.0: Fix PanelApplet::change_background binding Based on patch by Yu Feng, fixes bug 555566. 2009-07-10 Evan Nemerson libwnck-1.0: Fix WnckScreen::active_*_changed signals Fixes part of bug 555566. gtk+-2.0: Fix gtk_container_forall and signal bindings Fixes part of bug 555566. glib-2.0: Add g_ascii_dtostr and g_ascii_formatd bindings Fixes bug 541450. 2009-07-10 Jürg Billeter Check type of constants Fixes bug 587947. Check type of field initializers 2009-07-09 Vlad Grecescu Write constructors with --dump-tree Fixes bug 581663. 2009-07-08 Jaap A. Haitsma Add VALAFLAGS Fixes bug 585070. 2009-07-08 Matias De la Puente glib-2.0: Add Windows compatibility functions Fixes bug 584636. 2009-07-08 Jürg Billeter glib-2.0: Set type_id for GQuark Fixes bug 584306. 2009-07-08 Jukka-Pekka Iivonen posix: Add math functions posix: Add signal functions Fixes bug 584145. 2009-07-08 Mark Lee vapigen: Do not doubly-link to the static libgee In the Vala Team PPA, it was reported that the vapigen binary did not run, due to the fact that Gee classes were being registered multiple times. The problem was fixed by removing the explicit reference to libgee in LDADD, as it is already included via libvala. Fixes bug 585120. 2009-07-08 Jürg Billeter Fix short and ushort properties in GObject classes Fixes bug 587493. 2009-07-08 Jordan Yelloz GIR parser: Fix case for cprefix 2009-07-08 Jürg Billeter Fix GTypeModule-based plugins 2009-07-07 Michael B. Trausch Add gnet-2.0 bindings 2009-07-07 Jürg Billeter GAsync: Fix critical warning 2009-07-04 Jürg Billeter GAsync: Remove unused result variable from coroutines 2009-07-04 Didier 'Ptitjes GAsync: Implement the finish function The finish function returns the values stored in the closure as out parameters and method return value. 2009-07-04 Jaap A. Haitsma GlyphInfo, GlyphGeometry, GlyphVisAttr must be struct not class. 2009-07-03 Didier 'Ptitjes GAsync: Fix uncaught error's return statement FALSE must be returned in coroutines, independent of the return type. GAsync: Fix closure's field names Parameter names must be escaped like other Vala variables. GAsync: Fix generated sync method variant Yield statements must be ignored in synchronous variant. D-Bus: Add DBusModule.get_type_signature method Replace DataType.get_type_signature() calls. GIR writer: Fix g-i names for base types 2009-07-03 Jürg Billeter GIR parser: Fix callback parameters in virtual methods gio-2.0: Regenerate bindings 2009-07-01 Jaap A. Haitsma Add g_file_hash and g_file_equal as HashFunc and EqualFunc Fixes bug #587412 Patch by Jens Georg 2009-06-30 Jürg Billeter Report error for invalid escape sequences Fixes bug 587375.