2011-08-16 Jürg Billeter Release 0.13.2 2011-08-16 Luca Bruno Do not lookup for .deps file when passing .vapi files to valac Fixes bug 648336. Add syntax for creating array of pointers Fixes bug 647222. Add PointerType.get_actual_type Fixes bug 646792. 2011-08-15 Luca Bruno Check if the constants used as switch labels are duplicated Fixes bug 656481. codegen: Fix leak when casting from variant to another type Fixes bug 656398. codegen: Make try_cast_variant_to_type be effect-free 2011-08-15 Jürg Billeter girparser: Accept function in record, boxed, union, enumeration Used by gobject-introspection 1.29.17+. This commit ignores the function elements but they could replace our own static method detection in the future. 2011-08-14 Luca Bruno codegen: Do not warn when copying delegates with --enable-deprecated Fixes bug 656266. 2011-08-13 Jürg Billeter dova: Do not require double in dova profile 2011-08-12 Jürg Billeter glib-2.0: Ensure to use volatile modifier for atomic operations 2011-08-11 Luca Bruno girparser: Support specifying struct=false for records Use locale-independent formatting in CodeNode.set_attribute_double libgdata: Switch to GIR Fixes bug 655192. girparser: Do not reorder the cancellable parameter in async methods The feature was incomplete and flawed. Set the type of initializer lists to be non-nullable 2011-08-10 Jürg Billeter dova: Fix main method with args parameter 2011-08-10 Aaron Andersen sdl: Fix bindings for several methods, delegates and classes Let Thread and Timer classes be unmanaged by vala. Fixes bug 655143. 2011-08-08 Luca Bruno readline: Fix cname of several delegates Fixes bug 656146. gstreamer-0.10: Set ref_sink_function_void for Gst.Object codegen: Add ref_sink_function_void argument to CCode 2011-08-07 Evan Nemerson x11: include GIR namespace and version gtk+-3.0: correct Plug and Socket to use X.Window where necessary Fixes bug 656049. gtk+-3.0: correct Scrollable type_cname 2011-08-06 Luca Bruno codegen: Add get_ccode_nick and get_ccode_blurb for properties gidlparser: Guess NoAccessorMethod for interface properties Fixes bug 656072. Regenerate bindings for commit 1a399423fc95d codegen: Fix regression when getting type_id of data types 2011-08-06 Abderrahim Kitouni girparser: Fix virtual signals in interfaces The default handler is marked "abstract" and was considered to be an emitter 2011-08-05 Andrea Del Signore gedit: Add new bindings for Gedit-3.0 Fixes bug 645624. 2011-08-04 Luca Bruno Fix lambda expression regression The regression was introduced by commit fec66bf087618263c57. Instead of making a shallow copy of all attributes, the ccode bits are now moved to the codegen in order to reflect the original code. Move DataType.get_cdeclarator_suffix to the codegen build: Drop ccode dependency from libvalacore Move EnumValue.get_canonical_cconstant to the codegen girparser: Map provided namespaces using gir_namespace girparser: Set GIR name when symbols get renamed girparser: Map vala symbols to gir symbols when GIR attribute is available girparser: Map all gir namespaces before parsing gir files 2011-08-03 Luca Bruno Set target_type of switch statement expression to be non-nullable Fixes bug 655908. gidlparser: Use lower_case_cprefix when available also for classes 2011-08-03 Jürg Billeter codegen: Small refactoring for generic type parameters 2011-08-03 Michal Hruby GDBus: Make sure signals are disconnected when unregistering an object 2011-08-02 Luca Bruno Guard for possible errors when checking the value of constants Fixes bug 655726. Fix symbol resolution for local constants Fixes bug 649562. girparser: Support lower_case_csuffix build: Use in-tree vapis when building the bindings 2011-08-01 Jürg Billeter codegen: Do not use temp var when accessing floating locals codegen: Do not use temp var when accessing single-assignment locals Fix flow analysis for reference transfer expressions 2011-08-01 Luca Bruno Regenerate all bindings gstreamer: Enforce the use of Gst.Value over GLib.Value atk, gudev-1.0, libgda-4.0, vte: Drop some unnecessary metadata Drop C specific methods from the code tree girwriter: Don't use C specific methods of code nodes codegen: Use CCodeAttribute instead of C specific methods of code nodes codegen: Add CCodeAttribute codewriter: Do not use C specific methods of code nodes gidlparser: Do not use C specific methods of code nodes girparser: Do not use C specific methods of code nodes Drop destroy_function dependency from Struct.is_disposable On-demand Method.printf_format and scanf_format On-demand Method.returns_floating_reference On-demand Method.has_construct_function Drop Symbol.process_experimental_attribute On-demand Symbol.experimental Drop Symbol.process_deprecated_attribute On-demand Symbol.replacement On-demand Symbol.deprecated_since On-demand Symbol.deprecated On-demand Struct.is_immutable On-demand Struct.decimal_floating_type On-demand Struct.signed On-demand Struct.width On-demand Struct.rank On-demand Struct.is_floating_type On-demand Struct.is_integer_type On-demand Struct.is_boolean_type On-demand Struct.is_simple_type On-demand Class.is_immutable On-demand Class.is_compact On-demand Delegate.has_target Add helper methods to CodeNode for dealing with attributes Add attributes cache to code nodes Specify default values in Attribute methods Regenerate all bindings with reordered attributes and arguments codewriter: Reorder attributes and arguments Regenerate all bindings build: Add rules for building all the bindings build: Fix rule for building gtksourceview-3.0 x11: Fix cname of Screen methods x11: Turn Visual into a compact class without memory management 2011-08-01 Vito Piserchia posix, linux: Add bindings for clockid_t and clock_gettime Fixes bug 652739. 2011-08-01 Luca Bruno codegen: Make creation of InitiallyUnowned objects be effect-free 2011-07-31 Michal Hruby glib-2.0: Support syntactic sugar on HashTable 2011-07-29 Giulio Paci libxml-2.0: add many methods to ParserCtxt Fixes bug 655543. 2011-07-29 Simon Wenner gtk+-2.0, gtk+-3.0: UIManager.add_ui action param should be nullable 2011-07-28 Luca Bruno codegen: Fix critial when casting a method prototype access to a delegate codegen: Use _vala_ prefix for out parameters Fixes bug 638310. Allow implicit conversion from pointer to GValue Fixes bug 654143. 2011-07-28 Michal Hruby Add rest-0.7 bindings Fixes bug 655411. 2011-07-27 Michal Hruby Fix a gcc warning when returning struct in an interface method 2011-07-27 Luca Bruno libpeas-1.0: Regenerate bindings to take in account abstract classes 2011-07-27 Evan Nemerson Add gtksourceview-3.0 bindings Fixes bug 627761. 2011-07-26 Luca Bruno libarchive: Add support_format_raw method to Read class Fixes bug 655372. girparser: Add more complex renaming using regex replace girparser: Fix renaming of types that are used as property types girparser: Support cprefix metadata for the namespace girparser: Fix renaming classes and interfaces 2011-07-26 Evan Nemerson gstreamer*-0.10: update bindings to 0.10.35.1 Fixes bug 647860. 2011-07-25 Evan Nemerson Remove gtksourceview-3.0 bindings Wait until we can rename the GtkSource namespace to Gtk. gobject-2.0: fix ParamSpec.internal binding Fixes bug 652900. Add gtksourceview-3.0 bindings Fixes bug 627761. 2011-07-25 Philip Withnall gio-2.0: Fix the GIcon and GLoadableIcon bindings Fixes bug 655154. 2011-07-25 Evan Nemerson libgda-4.0: update to 4.2.4 2011-07-24 Luca Bruno build: Add an all-bindings rule for building all bindings at once clutter-1.0, libsoup-2.4: Regenerate to take in account abstract classes build: Add rule for building vte-2.90 bindings and missing PHONY rules vte-2.90: Fix metadata for Pty.new_foreign girparser: Properly handle the c:symbol-prefix hint for lower_case_cprefix girparser: Fix applying metadata to glib:boxed Report an error on element access with wrong number of indices libxml-2.0: Set gir_namespace and gir_version to libxml2-2.0 2011-07-23 Evan Nemerson gio-2.0: make ContentType.guess_for_tree return an array 2011-07-22 Luca Bruno gdk-3.0: Add GDK_NONE binding Fixes bug 655094. 2011-07-21 Luca Bruno Fix sender_type in Signal.get_handler_type() Fixes bug 654934. 2011-07-21 Jürg Billeter dova: Do not use owned setters for public fields build: Require valac >= 0.12.0 to build from git Fixes bug 655061. 2011-07-21 Ryan Lortie glib vapi: fgets() can return NULL posix vapi: fgets() can return NULL 2011-07-20 Luca Bruno webkit-1.0: Mark uri parameter of WebView.hovering_over_link as nullable Based on patch by Jacques-Pascal Deplaix. Fixes bug 654980. gtk+-2.0, gtk+-3.0: Fix bindings of Widget.get_requisition gtk+-3.0: Hide the creation method of Requisition The method gtk_requisition_new is provided to help bindings of high-level languages, but it isn't needed for vala. Fixes bug 642298. 2011-07-19 Andre Masella libxml-2.0: Fix cname of Xml.Doc.url field Fixes bug 654928. 2011-07-19 Luca Bruno codegen: Fix return of out parameters whose type is multi-dimensional array codegen: Add push_line and pop_line for writing line directives Fixes bug 635095. 2011-07-18 Luca Bruno ccode: Add current_line in CCodeFunction to be set for added statements D-Bus: Include gio.h when using the register_object function Fixes bug 654782. 2011-07-17 Luca Bruno pango: Mark list_families.families parameter as out in Context and FontMap Fixes bug 654794. girparser: Handle the abstract attribute of the gir for classes pango: Mark return value of Language.from_string to be unowned Fixes regression introduced by commit 5d6c21cebd3c5a. Fixes bug 654785. 2011-07-16 Luca Bruno codegen: Use temporary variables in array element access Fixes bug 654753. girparser: Fix owned and unowned metadata arguments girparser: Allow specifying default value to Metadata.get_bool girparser: Fix typo when calling element_get_type in parse_parameter build: Add make rules to generate libsoup-2.4 and libpeas-1.0 bindings build: Add make rules to generate clutter-1.0 and json-glib-1.0 bindings codegen: Support gobject-style chainup to base class that has generics Fixes bug 654702. 2011-07-15 Luca Bruno libsoup-2.4: Don't use properties for accessing Message headers and body Enable flow analysis for out parameters Fixes bug 638363. Fix usage of possibly unassigned out parameters glib-2.0: Set lvalue_access to false for va_list Fixes bug 654646. codegen: Don't use temp vars when accessing types that forbid lvalue access Add support for specifying whether a type allows lvalue access or not by using the lvalue_access argument of the CCode attribute. 2011-07-15 Jürg Billeter dova: Ensure DovaArray is declared before use 2011-07-15 Todd Fischer posix: Add bindings for constants SIG_BLOCK, UNBLOCK and SETMASK Fixes bug 654624. 2011-07-15 Marcin Lewandowski gstreamer-0.10: Fix ownership of get accessor of Object.name property Fixes bug 654631. 2011-07-15 Luca Bruno codegen: Fix handling of leaked values in transform_value Fixes bug 654619. 2011-07-13 Luca Bruno girparser: Fix wrong usage of nullable structs as parameters 2011-07-12 Luca Bruno gtk+-2.0, gtk+-3.0: Add PrintfFormat to methods of GtkMessageDialog Based on patch by Robert Ancell. Fixes bug 654439. 2011-07-11 Luca Bruno Fix explicit cast of instance method access to a delegate type Fixes bug 539166. 2011-07-11 Florian Brosch codegen: Fix vararg-parameters in interfaces 2011-07-10 Luca Bruno GAsync: Fix capturing type parameters in async methods Fixes bug 654337. GAsync: Fix generating finish method for generic async methods Fixes bug 654336. clutter-1.0: Switch to GIR Fixes bugs 643773 and 630679. codegen: Fix returning local variables 2011-07-09 Luca Bruno codegen: Support ownership transfer of non-null struct types Fixes bug 596144. 2011-07-08 Luca Bruno codegen: Use create_temp_value and load_temp_value on property access GAsync: Support generic types in async methods Fixes bug 653861. girparser: Add errordomain metadata 2011-07-07 Luca Bruno libsoup-2.4: Switch to GIR libpeas-1.0: Add missing libpeas-1.0.vapi to Makefile.am vte-2.90: Add new bindings Fixes bug 627410. 2011-07-06 Luca Bruno codegen: Use GLibValue.lvalue when taking the address of an expression Fixes bug 648364. codegen: Copy the result.value_type in transform_value codegen: Add lvalue field to GLibValue codegen: Use store_temp_value in visit_end_full_expression codegen: Use create_temp_value in try_cast_variant_to_type codegen: Use create_temp_value in copy_value codegen: Use create_temp_value in copy_value of array module codegen: Replace temp_ref_vars with temp_ref_values using TargetValue codegen: Use store_temp_value in visit_return_statement codegen: Use create_temp_value in visit_string_switch_statement codegen: Use create_temp_value in store_property codegen: Use create_temp_value in try_cast_value_to_type codegen: Use create_temp_value in handle_struct_argument codegen: Use create_temp_value in visit_binary_expression codegen: Use store_temp_value in visit_reference_transfer_expression codegen: Use create_temp_value in visit_object_creation_expression codegen: Use create_temp_value in struct initializer codegen: Simplify emit of postfix expression codegen: Drop useless temporary variable in visit_cast_expression codegen: Drop useless temp variable when accessing base methods codegen: Drop useless temporary variables when storing a property codegen: Cleanup simple assignment codegen: Drop useless temporary variable in simple assignment codegen: Drop useless temporary variable in array creation codegen: Make copy_value be effect-free Fixes bug 634782. codegen: Make transform_value be effect-free codegen: Use temporary variables when accessing a property codegen: Use temporary variables when accessing a variable Fixes bugs 626038 and 572091. Add actual_value_type to TargetValue Don't set target_value of assignment if parent is an expression statement codegen: Add create_temp_value, load_temp_value and store_temp_value codegen: Cleanup emit_temp_var Set lvalue to inner expression when accessing array length field Set lvalue to inner member access having type non-nullable struct Set lvalue to inner expression of method call that returns modified pointer Set lvalue to the inner expression of address-of expression Set parent_node of the postfix inner expression Set parent_node of the expression of delete statements Add get_defined_variables in PostfixExpression codegen: Unset array_size_cvalue in load_variable codegen: Use lvalue of the assignment when emitting array add Emit left-handed side of assignment when it's a field or parameter access GAsync: Push method symbol only when needed when generating async functions Fixes possible regressions of commit 9b22a27ed5ca78b74f56df7 and commit ab011012db8f5087939514c. codegen: Use get_parameter_cvalue in return_out_parameter Using load_parameter is not needed when assigning to the same parameter.