2009-02-20 Jürg Billeter * NEWS: update for 0.5.7 release 2009-02-20 Jürg Billeter * vapi/Makefile.am: * vapi/fuse.deps: * vapi/fuse.vapi: * vapi/posix.vapi: Add FUSE bindings, patch by John Carr, fixes bug 571187 2009-02-20 Jürg Billeter * vapi/glib-2.0.vapi: Add g_io_add_watch_full binding, patch by Michael Lauer 2009-02-20 Jürg Billeter * vapi/glib-2.0.vapi: Complete GByteArray binding, patch by Michael Lauer 2009-02-20 Ryan Lortie * vapi/gio-2.0.vapi * vapi/gio-unix-2.0.vapi * vapi/packages/gio-2.0/gio-2.0.gi * vapi/packages/gio-unix-2.0/gio-unix-2.0.gi Generate gio GIDL on a machine with my gresolver glib branch installed. Regenerate vapi. Fixes bug 572474. 2009-02-20 Ryan Lortie * configure.ac: * vala-1.0.pc.in: Output 'vapigen' 'gen_introspect' and 'vala_gen_introspect' variables into the vala-1.0.pc file if --enable-vapigen, fixes bug 572554 2009-02-20 Jürg Billeter * gobject/valadbusclientmodule.vala: Support error handling when dynamically calling void methods, patch by Frederik Sdun, fixes bug 571258 2009-02-20 Jürg Billeter * gobject-introspection/scanner.c: Include unistd.h to support compilation with -Werror-implicit-function-declaration, patch by Tobias Müller, fixes bug 571544 2009-02-20 Jürg Billeter * vala/valascope.vala: Add Scope.get_symbol_table method, patch by Abderrahim Kitouni 2009-02-20 Jürg Billeter * vala/valacodecontext.vala: * vala/valareport.vala: Support context-specific error reporting and add a context stack, based on patch by Abderrahim Kitouni, fixes bug 542920 * vala/valagenieparser.vala: * vala/valaparser.vala: * gobject/valaccodebasemodule.vala: * compiler/valacompiler.vala: * vapigen/valavapigen.vala: Adapt to interface changes 2009-02-20 Jürg Billeter * vapi/Makefile.am: * vapi/libdaemon.vapi: Add libdaemon bindings, patch by Jukka-Pekka Iivonen, fixes bug 568758 2009-02-20 Jürg Billeter * vapi/glib-2.0.vapi: Add GDateDMY binding, patch by Frederik, fixes bug 568691 2009-02-20 Jürg Billeter * vapi/packages/gdk-2.0/: Fix gdk_event_handler_set binding * vapi/gdk-2.0.vapi: regenerated 2009-02-19 Ali Sabil * vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala: * vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata: Various ownership and missing type parameters fixes * vapi/gstreamer-0.10.vapi: regenerated 2009-02-19 Ali Sabil * vapigen/valagidlparser.vala: Support to_string attribute for enums 2009-02-19 Ali Sabil * vapi/packages/gstreamer-rtp-0.10/: Fix gst_rtp_buffer_get_extension_data binding * vapi/gstreamer-rtp-0.10.vapi: regenerated 2009-02-19 Ali Sabil * vapi/glib-2.0.vapi: Add byte order conversion methods to int types 2009-02-19 Jürg Billeter * vapi/packages/pango/: Fix pango_font_description_from_string binding and support implicit copies of PangoFontDescription * vapi/pango.vapi: regenerated 2009-02-18 Jürg Billeter * vala/Makefile.am: * vala/valaassignment.vala: * vala/valacodevisitor.vala: * vala/valacodewriter.vala: * vala/valagenieparser.vala: * vala/valaparenthesizedexpression.vala: * vala/valaparser.vala: * vala/valasymbolresolver.vala: * vala/valaunaryexpression.vala: * gobject/valaccodebasemodule.vala: * gobject/valaccodegenerator.vala: * gobject/valaccodemodule.vala: Remove ParenthesizedExpression to simmplify AST 2009-02-18 Jürg Billeter * vapi/packages/gtk+-2.0/: Fix gtk_tree_view_insert_column_with_data_func binding * vapi/gtk+-2.0.vapi: regenerated 2009-02-17 Jürg Billeter * gobject/valaccodemethodcallmodule.vala: Support chaining up to constructors in generic classes, fixes bug 567319 2009-02-17 Ali Sabil * vapigen/valagidlparser.vala: Support takes_ownership attribute for delegate parameters 2009-02-17 Ali Sabil * vapi/gstreamer-rtp-0.10.vapi: regenerated 2009-02-16 Ali Sabil * vala/valacodewriter.vala: escape the dynamic keyword, and identifiers starting with a digit 2009-02-17 Ryan Lortie * gobject/valaccodebasemodule.vala: * vala/valacodewriter.vala: * vala/valastruct.vala: * vapigen/valagidlparser.vala: Add support for a 'use_const' CCode attribute and GIDL XML attribute that, when set to false, causes Vala not to emit the 'const' modifier on structure type input arguments. This is useful for structure types that, by convention, are not used with const (eg: GtkTreeIter). * vapi/packages/gtk+-2.0/gtk+-2.0.metadata: * vapi/gtk+-2.0.vapi: Add 'use_const' for GtkTreeIter to the gtk+-2.0 metadata. Regenerate vapi. 2009-02-16 Ryan Lortie * vala/valaclass.vala: only use g_value_set_pointer if the GType of a class is G_TYPE_POINTER; else use g_value_set_boxed. 2009-02-16 Ryan Lortie * gobject/valagasyncmodule.vala: remove the dummy-object hack since gio now supports NULL source objects for GSimpleAsyncResult 2009-02-14 Ryan Lortie * gobject/valagasyncmodule.vala: Split method code generation into many smaller functions. Enable experimental generation of synchronous code. 2009-02-14 Jürg Billeter * vapi/packages/gdk-2.0/: * vapi/packages/gtk+-2.0/: * vapi/packages/libsoup-2.4/: Nullable fixes, patch by Mark Lee, fixes bug 571407 * vapi/gdk-2.0.vapi: * vapi/gtk+-2.0.vapi: * vapi/libsoup-2.4.vapi: Regenerated 2009-02-14 Jürg Billeter * vala/valacodewriter.vala: Add error domains to VAPI files, fixes bug 571692 2009-02-13 Ryan Lortie * gobject/valamethodmodule.vala: Emit 'default:' label with g_assert_not_reached() for async state switch statement (to avoid GCC warning). Don't emit virtual functions or vtable entries for synchronous functions when emitting async code. 2009-02-13 Ryan Lortie Bug 571484 – free owned result even if _finish isn't called * gobject/valagasyncmodule.vala: Emit code to free the result in the result in the event that _finish was not called. 2009-02-12 Jürg Billeter * vala/valaclass.vala: * vala/valaconstant.vala: * vala/valafield.vala: * vala/valamember.vala: * vala/valamethod.vala: * vala/valaproperty.vala: * vala/valastruct.vala: Warn when hiding members, support `new' keyword to suppress warning, based on patch by Andreas Brauchli, fixes bug 567743 * vala/valacodenode.vala: * vala/valacreationmethod.vala: * vala/valaenum.vala: * vala/valaerrordomain.vala: * vala/valanamespace.vala: * ccode/valaccodelinedirective.vala: Avoid hidden members 2009-02-12 Jürg Billeter * vala/valastruct.vala: * vala/valasymbolresolver.vala: Add base_struct property to Struct class, patch by Andreas Brauchli 2009-02-12 Jürg Billeter * vala/valamember.vala: * vala/valaparser.vala: Support `new' as member modifier in parser to prepare support for hiding members, patch by Andreas Brauchli 2009-02-12 Ryan Lortie * vala/valamethod.vala: For now, just forbid ref/out paramters on yielding functions since they are hard to deal with. 2009-02-12 Jürg Billeter * vala/valagenieparser.vala: Fix else if parsing, fixes bug 562632 2009-02-12 Ryan Lortie * gobject/valagasyncmodule.vala: Store the Data structure as the op_res gpointer of the GSimpleAsyncResult. Emit a function to free it and hook it in. 2009-02-12 Jürg Billeter * gobject/valaccodearraymodule.vala: Keep arrays NULL-terminated when appending 2009-02-11 Ryan Lortie Bug 571263 – make yielding functions dispatch results to mainloop * gobject/valaccodemethodmodule.vala: * valagasyncmodule.vala: Create simple async result from _async entry function and use it when doing return; throw; or at the end of the function. Fix return statements for the async case. Dispatch via idle handler in the case that we are returning without having yielded. 2009-02-11 Ryan Lortie Bug 566363 – yielding functions that throw don't work * gobject/valagerrormodule.vala: * gobject/valagasyncmodule.vala: Refactor GErrorModule to remove some common code and introduce a separate (virtual) function 'return_with_exception' to create the code for returning exceptions from functions. In GAsyncModule, override the new virtual function to call g_simple_async_report_gerror_in_idle(). 2009-02-11 Ryan Lortie Bug 571256 – [CCode (async_only = true)] formal parameter annotation * vala/valacodewriter.vala: * vala/valaformalparameter.vala: * gobject/valaccodemethodcallmodule.vala: Allow emitting some C code arguments only in the case that we are calling the asynchronous version of a yielding function. This helps with the io_priority oddity in GIO. 2009-02-11 Jürg Billeter * vala/valaenum.vala: * vala/valainterface.vala: * vala/valastruct.vala: * vapigen/valagirparser.vala: Recognize c:type attributes in .gir 2009-02-10 Ryan Lortie Bug 571169 – make floating references generic * gobject/valaccodebasemodule.vala: * vala/valainterface.vala: * vala/valaclass.vala: * vala/valaobjectcreationexpression.vala: * vala/valasemanticanalyzer.vala: * vala/valatypesymbol.vala: Add support for 'ref_sink_function' CCode attribute on classes. Use this instead of hardcoding g_object_ref_sink() for GInitiallyUnowned. * vapi/gobject-2.0.vapi: Set ref_sink_function on InitiallyUnowned class. 2009-02-09 Jürg Billeter * gobject/valaccodedelegatemodule.vala: Emit delegate documentation to the C header files 2009-02-08 Jürg Billeter * vala/valanamespace.vala: Drop experimental support for partial classes 2009-02-04 Jürg Billeter * vapi/posix.vapi: Add bindings for signal functions and constants, patch by Michael Lauer 2009-02-04 Jürg Billeter * gobject/valadbusclientmodule.vala: Remove D-Bus message filter when disposing proxy object 2009-02-04 Jürg Billeter * gobject/valadbusmodule.vala: NULL-terminate arrays when demarshalling 2009-02-04 Jürg Billeter * gobject/valadbusclientmodule.vala: Do not handle signals of irrelevant object paths 2009-02-04 Jürg Billeter * vapi/glib-2.0.vapi: Add GTestCase and GTestSuite bindings, patch by John Carr, fixes bug 570518 2009-02-02 Jürg Billeter * vala/valacodewriter.vala: Write type_id attribute for GBoxed compact classes * vapi/gdk-2.0.vapi: * vapi/gtk+-2.0.vapi: * vapi/pango.vapi: Regenerated 2009-02-02 Jürg Billeter * vala/valathrowstatement.vala: Fix crash on invalid error expressions 2009-02-01 Jürg Billeter * vala/valaproperty.vala: Support overriding members in .vapi files 2009-01-31 Jürg Billeter * gobject/valaccodearraymodule.vala: * gobject/valaccodeassignmentmodule.vala: * gobject/valaccodebasemodule.vala: * gobject/valaccodecontrolflowmodule.vala: * gobject/valaccodedelegatemodule.vala: * gobject/valaccodememberaccessmodule.vala: * gobject/valaccodemethodcallmodule.vala: * gobject/valaccodemethodmodule.vala: * gobject/valaccodestructmodule.vala: * gobject/valadbusclientmodule.vala: * gobject/valadbusmodule.vala: * gobject/valadbusservermodule.vala: * gobject/valagasyncmodule.vala: * gobject/valagerrormodule.vala: * gobject/valagobjectmodule.vala: * gobject/valagsignalmodule.vala: * gobject/valagtypemodule.vala: Use `internal' modifier in class declarations to fix build with Vala older than r2411 2009-01-31 Jürg Billeter * gobject/valagobjectmodule.vala: Fix struct construct properties 2009-01-31 Jürg Billeter * vala/valaflowanalyzer.vala: * vala/valasymbol.vala: Report unused internal methods * gobject/valaccodearraymodule.vala: * gobject/valaccodeassignmentmodule.vala: * gobject/valaccodebasemodule.vala: * gobject/valaccodecontrolflowmodule.vala: * gobject/valaccodedelegatemodule.vala: * gobject/valaccodememberaccessmodule.vala: * gobject/valaccodemethodcallmodule.vala: * gobject/valaccodemethodmodule.vala: * gobject/valaccodestructmodule.vala: * gobject/valadbusclientmodule.vala: * gobject/valadbusmodule.vala: * gobject/valadbusservermodule.vala: * gobject/valagasyncmodule.vala: * gobject/valagerrormodule.vala: * gobject/valagobjectmodule.vala: * gobject/valagsignalmodule.vala: * gobject/valagtypemodule.vala: Mark modules as internal 2009-01-30 Jürg Billeter * vala/valanamespace.vala: * vala/valaparser.vala: Ensure that classes in implicit namespaces are not private as namespaces cannot have private members 2009-01-30 Jürg Billeter * vapi/posix.vapi: Add more bindings, patch by Matías De la Puente 2009-01-29 Jürg Billeter * vapigen/valagidlparser.vala: Support transfer_ownership attribute for signal parameters 2009-01-29 Philip Van Hoof * gobject/valaccodebasemodule.vala: Checking for vstore in vala_dbus_register_object. Fixes a crash when you use conn.register_object with an instance that isn't a DBus one 2009-01-29 Jürg Billeter * vala/valapropertyaccessor.vala: Honor lower_case_cprefix attribute for property accessors, fixes bug 569646 2009-01-27 Jürg Billeter * vapi/posix.vapi: Add bindings for open and associated functions and constants, patch by Michael Lauer 2009-01-27 Jürg Billeter * vala/valacodewriter.vala: * vala/valamethod.vala: Add overriding members to .vapi files, fixes bug 569219 2009-01-27 Jürg Billeter * vala/valamemberaccess.vala: Skip overriding methods and properties in member access, fixes default arguments when calling virtual methods 2009-01-27 Thijs Vermeir * vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata: Fix binding for gdk_pixbuf_scale_simple * vapi/gdk-pixbuf-2.0.vapi: regenerated 2009-01-26 Jürg Billeter * vapi/posix.vapi: Add bindings for ioctl and associated constants 2009-01-26 Jürg Billeter * gobject/valaccodebasemodule.vala: Revert incorrect code generation change for constants, will need to use `extern' to properly export constants 2009-01-25 Jürg Billeter * gobject/valadbusclientmodule.vala: Support signals in static D-Bus client 2009-01-24 Jürg Billeter * vala/valaclass.vala: Fix type of implicit `this' parameter when using generics 2009-01-23 Jürg Billeter * ccode/valaccodefunction.vala: * gobject/valaccodebasemodule.vala: * gobject/valaccodemethodmodule.vala: * gobject/valaccodemodule.vala: * gobject/valadbusclientmodule.vala: * gobject/valagasyncmodule.vala: * gobject/valagobjectmodule.vala: Refactor method parameter and result code generation 2009-01-23 Jürg Billeter * gobject/valaccodearraymodule.vala: * gobject/valaccodedelegatemodule.vala: * gobject/valaccodemethodmodule.vala: Add virtual generate_parameter method. Move array and delegate type specific parameter generation to corresponding modules. 2009-01-20 Jürg Billeter * vapigen/valagirparser.vala: Support struct methods 2009-01-20 Jürg Billeter * gobject/valaccodebasemodule.vala: Do not declare public constants as `static' 2009-01-19 Jürg Billeter * vapi/gsl.vapi: More fixes, patch by Matías De la Puente 2009-01-19 Jürg Billeter * gobject/valaccodedelegatemodule.vala: Use correct C identifier for delegate target of static fields 2009-01-19 Jürg Billeter * gobject/valaccodemethodmodule.vala: Fix assigning to properties in lambda expressions in creation methods, patch by Yu Feng, fixes bug 568267 2009-01-18 Thijs Vermeir * vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata: Fix binding for gst_pad_chain * vapi/gstreamer-0.10.vapi: Regenerated 2009-01-18 Jürg Billeter * vala/valacodecontext.vala: * gobject/valaccodebasemodule.vala: * gobject/valaccodecompiler.vala: Do not generate legacy header files when using -H 2009-01-18 Jürg Billeter * configure.ac: Post-release version bump