]> git.ipfire.org Git - thirdparty/vala.git/log
thirdparty/vala.git
16 years agoPost-release version bump
Jürg Billeter [Fri, 20 Feb 2009 21:00:32 +0000 (21:00 +0000)] 
Post-release version bump

2009-02-20  Jürg Billeter  <j@bitron.ch>

* configure.ac: Post-release version bump

svn path=/trunk/; revision=2472

16 years agoupdate for 0.5.7 release 0.5.7 VALA_0_5_7
Jürg Billeter [Fri, 20 Feb 2009 20:57:30 +0000 (20:57 +0000)] 
update for 0.5.7 release

2009-02-20  Jürg Billeter  <j@bitron.ch>

* NEWS: update for 0.5.7 release

svn path=/trunk/; revision=2470

16 years agoAdd FUSE bindings, patch by John Carr, fixes bug 571187
Jürg Billeter [Fri, 20 Feb 2009 20:13:34 +0000 (20:13 +0000)] 
Add FUSE bindings, patch by John Carr, fixes bug 571187

2009-02-20  Jürg Billeter  <j@bitron.ch>

* vapi/Makefile.am:
* vapi/fuse.deps:
* vapi/fuse.vapi:
* vapi/posix.vapi:

Add FUSE bindings, patch by John Carr, fixes bug 571187

svn path=/trunk/; revision=2469

16 years agoAdd g_io_add_watch_full binding, patch by Michael Lauer
Jürg Billeter [Fri, 20 Feb 2009 18:58:19 +0000 (18:58 +0000)] 
Add g_io_add_watch_full binding, patch by Michael Lauer

2009-02-20  Jürg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi:

Add g_io_add_watch_full binding, patch by Michael Lauer

svn path=/trunk/; revision=2468

16 years agoComplete GByteArray binding, patch by Michael Lauer
Jürg Billeter [Fri, 20 Feb 2009 18:45:06 +0000 (18:45 +0000)] 
Complete GByteArray binding, patch by Michael Lauer

2009-02-20  Jürg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi:

Complete GByteArray binding, patch by Michael Lauer

svn path=/trunk/; revision=2467

16 years agovapi/gio-2.0.vapi vapi/gio-unix-2.0.vapi vapi/packages/gio-2.0/gio-2.0.gi
Ryan Lortie [Fri, 20 Feb 2009 18:36:41 +0000 (18:36 +0000)] 
vapi/gio-2.0.vapi vapi/gio-unix-2.0.vapi vapi/packages/gio-2.0/gio-2.0.gi

2009-02-20  Ryan Lortie  <desrt@desrt.ca>

* 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.

svn path=/trunk/; revision=2466

16 years agoOutput 'vapigen' 'gen_introspect' and 'vala_gen_introspect' variables into
Ryan Lortie [Fri, 20 Feb 2009 18:25:23 +0000 (18:25 +0000)] 
Output 'vapigen' 'gen_introspect' and 'vala_gen_introspect' variables into

2009-02-20  Ryan Lortie  <desrt@desrt.ca>

* 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

svn path=/trunk/; revision=2465

16 years agoSupport error handling when dynamically calling void methods, patch by
Jürg Billeter [Fri, 20 Feb 2009 17:04:24 +0000 (17:04 +0000)] 
Support error handling when dynamically calling void methods, patch by

2009-02-20  Jürg Billeter  <j@bitron.ch>

* gobject/valadbusclientmodule.vala:

Support error handling when dynamically calling void methods,
patch by Frederik Sdun, fixes bug 571258

svn path=/trunk/; revision=2464

16 years agoInclude unistd.h to support compilation with
Jürg Billeter [Fri, 20 Feb 2009 15:15:08 +0000 (15:15 +0000)] 
Include unistd.h to support compilation with

2009-02-20  Jürg Billeter  <j@bitron.ch>

* gobject-introspection/scanner.c:

Include unistd.h to support compilation with
-Werror-implicit-function-declaration, patch by Tobias Müller,
fixes bug 571544

svn path=/trunk/; revision=2463

16 years agoAdd Scope.get_symbol_table method, patch by Abderrahim Kitouni
Jürg Billeter [Fri, 20 Feb 2009 15:07:09 +0000 (15:07 +0000)] 
Add Scope.get_symbol_table method, patch by Abderrahim Kitouni

2009-02-20  Jürg Billeter  <j@bitron.ch>

* vala/valascope.vala:

Add Scope.get_symbol_table method, patch by Abderrahim Kitouni

svn path=/trunk/; revision=2462

16 years agoSupport context-specific error reporting and add a context stack, based on
Jürg Billeter [Fri, 20 Feb 2009 15:04:57 +0000 (15:04 +0000)] 
Support context-specific error reporting and add a context stack, based on

2009-02-20  Jürg Billeter  <j@bitron.ch>

* 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

svn path=/trunk/; revision=2461

16 years agoAdd libdaemon bindings, patch by Jukka-Pekka Iivonen, fixes bug 568758
Jürg Billeter [Fri, 20 Feb 2009 10:13:04 +0000 (10:13 +0000)] 
Add libdaemon bindings, patch by Jukka-Pekka Iivonen, fixes bug 568758

2009-02-20  Jürg Billeter  <j@bitron.ch>

* vapi/Makefile.am:
* vapi/libdaemon.vapi:

Add libdaemon bindings, patch by Jukka-Pekka Iivonen,
fixes bug 568758

svn path=/trunk/; revision=2460

16 years agoAdd GDateDMY binding, patch by Frederik, fixes bug 568691
Jürg Billeter [Fri, 20 Feb 2009 10:07:01 +0000 (10:07 +0000)] 
Add GDateDMY binding, patch by Frederik, fixes bug 568691

2009-02-20  Jürg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi:

Add GDateDMY binding, patch by Frederik, fixes bug 568691

svn path=/trunk/; revision=2459

16 years agoFix gdk_event_handler_set binding
Jürg Billeter [Fri, 20 Feb 2009 09:01:00 +0000 (09:01 +0000)] 
Fix gdk_event_handler_set binding

2009-02-20  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gdk-2.0/:

Fix gdk_event_handler_set binding

* vapi/gdk-2.0.vapi: regenerated

svn path=/trunk/; revision=2458

16 years agoVarious ownership and missing type parameters fixes
Ali Sabil [Thu, 19 Feb 2009 14:19:43 +0000 (14:19 +0000)] 
Various ownership and missing type parameters fixes

2009-02-19  Ali Sabil  <ali.sabil@gmail.com>

* 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

svn path=/trunk/; revision=2457

16 years agoSupport to_string attribute for enums
Ali Sabil [Thu, 19 Feb 2009 14:12:44 +0000 (14:12 +0000)] 
Support to_string attribute for enums

2009-02-19  Ali Sabil  <ali.sabil@gmail.com>

* vapigen/valagidlparser.vala:

Support to_string attribute for enums

svn path=/trunk/; revision=2456

16 years agoFix gst_rtp_buffer_get_extension_data binding
Ali Sabil [Thu, 19 Feb 2009 13:32:17 +0000 (13:32 +0000)] 
Fix gst_rtp_buffer_get_extension_data binding

2009-02-19  Ali Sabil  <ali.sabil@gmail.com>

* vapi/packages/gstreamer-rtp-0.10/:

Fix gst_rtp_buffer_get_extension_data binding

* vapi/gstreamer-rtp-0.10.vapi: regenerated

svn path=/trunk/; revision=2455

16 years agoAdd byte order conversion methods to int types
Ali Sabil [Thu, 19 Feb 2009 13:21:53 +0000 (13:21 +0000)] 
Add byte order conversion methods to int types

2009-02-19  Ali Sabil  <ali.sabil@gmail.com>

* vapi/glib-2.0.vapi:

Add byte order conversion methods to int types

svn path=/trunk/; revision=2454

16 years agoFix pango_font_description_from_string binding and support implicit copies
Jürg Billeter [Thu, 19 Feb 2009 11:49:03 +0000 (11:49 +0000)] 
Fix pango_font_description_from_string binding and support implicit copies

2009-02-19  Jürg Billeter  <j@bitron.ch>

* vapi/packages/pango/:

Fix pango_font_description_from_string binding and support implicit
copies of PangoFontDescription

* vapi/pango.vapi: regenerated

svn path=/trunk/; revision=2453

16 years agoRemove ParenthesizedExpression to simmplify AST
Jürg Billeter [Wed, 18 Feb 2009 18:26:14 +0000 (18:26 +0000)] 
Remove ParenthesizedExpression to simmplify AST

2009-02-18  Jürg Billeter  <j@bitron.ch>

* 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

svn path=/trunk/; revision=2452

16 years agoFix gtk_tree_view_insert_column_with_data_func binding
Jürg Billeter [Wed, 18 Feb 2009 10:16:34 +0000 (10:16 +0000)] 
Fix gtk_tree_view_insert_column_with_data_func binding

2009-02-18  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gtk+-2.0/:

Fix gtk_tree_view_insert_column_with_data_func binding

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=2451

16 years agoSupport chaining up to constructors in generic classes, fixes bug 567319
Jürg Billeter [Tue, 17 Feb 2009 19:33:24 +0000 (19:33 +0000)] 
Support chaining up to constructors in generic classes, fixes bug 567319

2009-02-17  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodemethodcallmodule.vala:

Support chaining up to constructors in generic classes,
fixes bug 567319

svn path=/trunk/; revision=2450

16 years agoSupport takes_ownership attribute for delegate parameters
Ali Sabil [Tue, 17 Feb 2009 11:51:19 +0000 (11:51 +0000)] 
Support takes_ownership attribute for delegate parameters

2009-02-17  Ali Sabil  <ali.sabil@gmail.com>

* vapigen/valagidlparser.vala:

Support takes_ownership attribute for delegate parameters

svn path=/trunk/; revision=2449

16 years agoregenerated
Ali Sabil [Tue, 17 Feb 2009 10:04:36 +0000 (10:04 +0000)] 
regenerated

2009-02-17  Ali Sabil  <ali.sabil@gmail.com>

* vapi/gstreamer-rtp-0.10.vapi: regenerated

svn path=/trunk/; revision=2448

16 years agoescape the dynamic keyword, and identifiers starting with a digit
Ali Sabil [Tue, 17 Feb 2009 10:02:57 +0000 (10:02 +0000)] 
escape the dynamic keyword, and identifiers starting with a digit

2009-02-17  Ali Sabil  <ali.sabil@gmail.com>

* vala/valacodewriter.vala: escape the dynamic keyword, and identifiers
starting with a digit

svn path=/trunk/; revision=2447

16 years agoAdd support for a 'use_const' CCode attribute and GIDL XML attribute that,
Ryan Lortie [Mon, 16 Feb 2009 22:17:18 +0000 (22:17 +0000)] 
Add support for a 'use_const' CCode attribute and GIDL XML attribute that,

2009-02-17  Ryan Lortie  <desrt@desrt.ca>

        * 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.

svn path=/trunk/; revision=2446

16 years agoonly use g_value_set_pointer if the GType of a class is G_TYPE_POINTER;
Ryan Lortie [Mon, 16 Feb 2009 16:49:21 +0000 (16:49 +0000)] 
only use g_value_set_pointer if the GType of a class is G_TYPE_POINTER;

2009-02-16  Ryan Lortie  <desrt@desrt.ca>

        * 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.

svn path=/trunk/; revision=2445

16 years agoremove the dummy-object hack since gio now supports NULL source objects
Ryan Lortie [Mon, 16 Feb 2009 09:52:24 +0000 (09:52 +0000)] 
remove the dummy-object hack since gio now supports NULL source objects

2009-02-16  Ryan Lortie  <desrt@desrt.ca>

        * gobject/valagasyncmodule.vala: remove the dummy-object hack since
        gio now supports NULL source objects for GSimpleAsyncResult

svn path=/trunk/; revision=2444

16 years agothanks juergbi :)
Ryan Lortie [Sat, 14 Feb 2009 18:59:48 +0000 (18:59 +0000)] 
thanks juergbi :)

svn path=/trunk/; revision=2443

16 years agoSplit method code generation into many smaller functions. Enable
Ryan Lortie [Sat, 14 Feb 2009 12:00:12 +0000 (12:00 +0000)] 
Split method code generation into many smaller functions. Enable

2009-02-14  Ryan Lortie  <desrt@desrt.ca>

        * gobject/valagasyncmodule.vala:

        Split method code generation into many smaller functions.  Enable
        experimental generation of synchronous code.

svn path=/trunk/; revision=2442

16 years agoNullable fixes, patch by Mark Lee, fixes bug 571407
Jürg Billeter [Fri, 13 Feb 2009 23:37:56 +0000 (23:37 +0000)] 
Nullable fixes, patch by Mark Lee, fixes bug 571407

2009-02-14  Jürg Billeter  <j@bitron.ch>

* 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

svn path=/trunk/; revision=2441

16 years agoAdd error domains to VAPI files, fixes bug 571692
Jürg Billeter [Fri, 13 Feb 2009 23:30:09 +0000 (23:30 +0000)] 
Add error domains to VAPI files, fixes bug 571692

2009-02-14  Jürg Billeter  <j@bitron.ch>

* vala/valacodewriter.vala:

Add error domains to VAPI files, fixes bug 571692

svn path=/trunk/; revision=2440

16 years agoEmit 'default:' label with g_assert_not_reached() for async state switch
Ryan Lortie [Fri, 13 Feb 2009 09:06:22 +0000 (09:06 +0000)] 
Emit 'default:' label with g_assert_not_reached() for async state switch

2009-02-13  Ryan Lortie  <desrt@desrt.ca>

        * 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.

svn path=/trunk/; revision=2439

16 years agoBug 571484 – free owned result even if _finish isn't called
Ryan Lortie [Fri, 13 Feb 2009 00:17:59 +0000 (00:17 +0000)] 
Bug 571484 – free owned result even if _finish isn't called

2009-02-13  Ryan Lortie  <desrt@desrt.ca>

        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.

svn path=/trunk/; revision=2438

16 years agoWarn when hiding members, support `new' keyword to suppress warning, based
Jürg Billeter [Thu, 12 Feb 2009 23:38:42 +0000 (23:38 +0000)] 
Warn when hiding members, support `new' keyword to suppress warning, based

2009-02-12  Jürg Billeter  <j@bitron.ch>

* 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

svn path=/trunk/; revision=2437

16 years agoAdd base_struct property to Struct class, patch by Andreas Brauchli
Jürg Billeter [Thu, 12 Feb 2009 16:23:29 +0000 (16:23 +0000)] 
Add base_struct property to Struct class, patch by Andreas Brauchli

2009-02-12  Jürg Billeter  <j@bitron.ch>

* vala/valastruct.vala:
* vala/valasymbolresolver.vala:

Add base_struct property to Struct class, patch by Andreas Brauchli

svn path=/trunk/; revision=2436

16 years agoSupport `new' as member modifier in parser to prepare support for hiding
Jürg Billeter [Thu, 12 Feb 2009 15:29:10 +0000 (15:29 +0000)] 
Support `new' as member modifier in parser to prepare support for hiding

2009-02-12  Jürg Billeter  <j@bitron.ch>

* vala/valamember.vala:
* vala/valaparser.vala:

Support `new' as member modifier in parser to prepare support for
hiding members, patch by Andreas Brauchli

svn path=/trunk/; revision=2435

16 years agoFor now, just forbid ref/out paramters on yielding functions since they
Ryan Lortie [Thu, 12 Feb 2009 13:49:10 +0000 (13:49 +0000)] 
For now, just forbid ref/out paramters on yielding functions since they

2009-02-12  Ryan Lortie  <desrt@desrt.ca>

        * vala/valamethod.vala:

        For now, just forbid ref/out paramters on yielding functions since
        they are hard to deal with.

svn path=/trunk/; revision=2434

16 years agoFix else if parsing, fixes bug 562632
Jürg Billeter [Thu, 12 Feb 2009 13:37:49 +0000 (13:37 +0000)] 
Fix else if parsing, fixes bug 562632

2009-02-12  Jürg Billeter  <j@bitron.ch>

* vala/valagenieparser.vala:

Fix else if parsing, fixes bug 562632

svn path=/trunk/; revision=2433

16 years agoStore the Data structure as the op_res gpointer of the GSimpleAsyncResult.
Ryan Lortie [Thu, 12 Feb 2009 12:48:35 +0000 (12:48 +0000)] 
Store the Data structure as the op_res gpointer of the GSimpleAsyncResult.

2009-02-12  Ryan Lortie  <desrt@desrt.ca>

        * 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.

svn path=/trunk/; revision=2432

16 years agoKeep arrays NULL-terminated when appending
Jürg Billeter [Thu, 12 Feb 2009 11:39:03 +0000 (11:39 +0000)] 
Keep arrays NULL-terminated when appending

2009-02-12  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodearraymodule.vala:

Keep arrays NULL-terminated when appending

svn path=/trunk/; revision=2431

16 years agoBug 571263 – make yielding functions dispatch results to mainloop
Ryan Lortie [Wed, 11 Feb 2009 16:03:53 +0000 (16:03 +0000)] 
Bug 571263 – make yielding functions dispatch results to mainloop

2009-02-11  Ryan Lortie  <desrt@desrt.ca>

        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.

svn path=/trunk/; revision=2430

16 years agoBug 566363 – yielding functions that throw don't work
Ryan Lortie [Wed, 11 Feb 2009 13:14:15 +0000 (13:14 +0000)] 
Bug 566363 – yielding functions that throw don't work

2009-02-11  Ryan Lortie  <desrt@desrt.ca>

        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().

svn path=/trunk/; revision=2429

16 years agoadd some .gitignore
Ryan Lortie [Wed, 11 Feb 2009 04:40:07 +0000 (04:40 +0000)] 
add some .gitignore

svn path=/trunk/; revision=2428

16 years agoBug 571256 – [CCode (async_only = true)] formal parameter annotation
Ryan Lortie [Wed, 11 Feb 2009 01:02:37 +0000 (01:02 +0000)] 
Bug 571256 – [CCode (async_only = true)] formal parameter annotation

2009-02-11  Ryan Lortie  <desrt@desrt.ca>

        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.

svn path=/trunk/; revision=2427

16 years agoRecognize c:type attributes in .gir
Jürg Billeter [Wed, 11 Feb 2009 00:43:44 +0000 (00:43 +0000)] 
Recognize c:type attributes in .gir

2009-02-11  Jürg Billeter  <j@bitron.ch>

* vala/valaenum.vala:
* vala/valainterface.vala:
* vala/valastruct.vala:
* vapigen/valagirparser.vala:

Recognize c:type attributes in .gir

svn path=/trunk/; revision=2426

16 years agoBug 571169 – make floating references generic
Ryan Lortie [Tue, 10 Feb 2009 15:04:39 +0000 (15:04 +0000)] 
Bug 571169 – make floating references generic

2009-02-10  Ryan Lortie  <desrt@desrt.ca>

        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.

svn path=/trunk/; revision=2425

16 years agoEmit delegate documentation to the C header files
Jürg Billeter [Mon, 9 Feb 2009 16:13:16 +0000 (16:13 +0000)] 
Emit delegate documentation to the C header files

2009-02-09  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodedelegatemodule.vala:

Emit delegate documentation to the C header files

svn path=/trunk/; revision=2424

16 years agoDrop experimental support for partial classes
Jürg Billeter [Sun, 8 Feb 2009 22:04:55 +0000 (22:04 +0000)] 
Drop experimental support for partial classes

2009-02-08  Jürg Billeter  <j@bitron.ch>

* vala/valanamespace.vala:

Drop experimental support for partial classes

svn path=/trunk/; revision=2423

16 years agoAdd bindings for signal functions and constants, patch by Michael Lauer
Jürg Billeter [Wed, 4 Feb 2009 21:35:28 +0000 (21:35 +0000)] 
Add bindings for signal functions and constants, patch by Michael Lauer

2009-02-04  Jürg Billeter  <j@bitron.ch>

* vapi/posix.vapi:

Add bindings for signal functions and constants,
patch by Michael Lauer

svn path=/trunk/; revision=2422

16 years agoRemove D-Bus message filter when disposing proxy object
Jürg Billeter [Wed, 4 Feb 2009 21:26:57 +0000 (21:26 +0000)] 
Remove D-Bus message filter when disposing proxy object

2009-02-04  Jürg Billeter  <j@bitron.ch>

* gobject/valadbusclientmodule.vala:

Remove D-Bus message filter when disposing proxy object

svn path=/trunk/; revision=2421

16 years agoNULL-terminate arrays when demarshalling
Jürg Billeter [Wed, 4 Feb 2009 20:50:45 +0000 (20:50 +0000)] 
NULL-terminate arrays when demarshalling

2009-02-04  Jürg Billeter  <j@bitron.ch>

* gobject/valadbusmodule.vala:

NULL-terminate arrays when demarshalling

svn path=/trunk/; revision=2420

16 years agoDo not handle signals of irrelevant object paths
Jürg Billeter [Wed, 4 Feb 2009 20:31:24 +0000 (20:31 +0000)] 
Do not handle signals of irrelevant object paths

2009-02-04  Jürg Billeter  <j@bitron.ch>

* gobject/valadbusclientmodule.vala:

Do not handle signals of irrelevant object paths

svn path=/trunk/; revision=2419

16 years agoAdd GTestCase and GTestSuite bindings, patch by John Carr, fixes bug
Jürg Billeter [Wed, 4 Feb 2009 20:05:55 +0000 (20:05 +0000)] 
Add GTestCase and GTestSuite bindings, patch by John Carr, fixes bug

2009-02-04  Jürg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi:

Add GTestCase and GTestSuite bindings, patch by John Carr,
fixes bug 570518

svn path=/trunk/; revision=2418

16 years agoWrite type_id attribute for GBoxed compact classes
Jürg Billeter [Mon, 2 Feb 2009 22:31:02 +0000 (22:31 +0000)] 
Write type_id attribute for GBoxed compact classes

2009-02-02  Jürg Billeter  <j@bitron.ch>

* 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

svn path=/trunk/; revision=2417

16 years agoFix crash on invalid error expressions
Jürg Billeter [Sun, 1 Feb 2009 23:25:44 +0000 (23:25 +0000)] 
Fix crash on invalid error expressions

2009-02-02  Jürg Billeter  <j@bitron.ch>

* vala/valathrowstatement.vala:

Fix crash on invalid error expressions

svn path=/trunk/; revision=2416

16 years agoSupport overriding members in .vapi files
Jürg Billeter [Sun, 1 Feb 2009 16:52:51 +0000 (16:52 +0000)] 
Support overriding members in .vapi files

2009-02-01  Jürg Billeter  <j@bitron.ch>

* vala/valaproperty.vala:

Support overriding members in .vapi files

svn path=/trunk/; revision=2415

16 years agoUse `internal' modifier in class declarations to fix build with Vala older
Jürg Billeter [Sat, 31 Jan 2009 13:16:39 +0000 (13:16 +0000)] 
Use `internal' modifier in class declarations to fix build with Vala older

2009-01-31  Jürg Billeter  <j@bitron.ch>

* 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

svn path=/trunk/; revision=2414

16 years agoFix struct construct properties
Jürg Billeter [Sat, 31 Jan 2009 12:28:18 +0000 (12:28 +0000)] 
Fix struct construct properties

2009-01-31  Jürg Billeter  <j@bitron.ch>

* gobject/valagobjectmodule.vala:

Fix struct construct properties

svn path=/trunk/; revision=2413

16 years agoReport unused internal methods
Jürg Billeter [Sat, 31 Jan 2009 10:24:35 +0000 (10:24 +0000)] 
Report unused internal methods

2009-01-31  Jürg Billeter  <j@bitron.ch>

* 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

svn path=/trunk/; revision=2412

16 years agoEnsure that classes in implicit namespaces are not private as namespaces
Jürg Billeter [Fri, 30 Jan 2009 17:17:45 +0000 (17:17 +0000)] 
Ensure that classes in implicit namespaces are not private as namespaces

2009-01-30  Jürg Billeter  <j@bitron.ch>

* vala/valanamespace.vala:
* vala/valaparser.vala:

Ensure that classes in implicit namespaces are not private as
namespaces cannot have private members

svn path=/trunk/; revision=2411

16 years agoAdd more bindings, patch by Matías De la Puente
Jürg Billeter [Fri, 30 Jan 2009 15:57:52 +0000 (15:57 +0000)] 
Add more bindings, patch by Matías De la Puente

2009-01-30  Jürg Billeter  <j@bitron.ch>

* vapi/posix.vapi:

Add more bindings, patch by Matías De la Puente

svn path=/trunk/; revision=2410

16 years agoSupport transfer_ownership attribute for signal parameters
Jürg Billeter [Thu, 29 Jan 2009 19:47:48 +0000 (19:47 +0000)] 
Support transfer_ownership attribute for signal parameters

2009-01-29  Jürg Billeter  <j@bitron.ch>

* vapigen/valagidlparser.vala:

Support transfer_ownership attribute for signal parameters

svn path=/trunk/; revision=2409

16 years agoChecking for vstore in vala_dbus_register_object. Fixes a crash when you
Philip Van Hoof [Thu, 29 Jan 2009 19:35:46 +0000 (19:35 +0000)] 
Checking for vstore in vala_dbus_register_object. Fixes a crash when you

2009-01-29  Philip Van Hoof  <philip@codeminded.be>

* 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

svn path=/trunk/; revision=2408

16 years agoHonor lower_case_cprefix attribute for property accessors, fixes bug
Jürg Billeter [Thu, 29 Jan 2009 16:16:34 +0000 (16:16 +0000)] 
Honor lower_case_cprefix attribute for property accessors, fixes bug

2009-01-29  Jürg Billeter  <j@bitron.ch>

* vala/valapropertyaccessor.vala:

Honor lower_case_cprefix attribute for property accessors,
fixes bug 569646

svn path=/trunk/; revision=2407

16 years agoAdd bindings for open and associated functions and constants, patch by
Jürg Billeter [Tue, 27 Jan 2009 21:53:56 +0000 (21:53 +0000)] 
Add bindings for open and associated functions and constants, patch by

2009-01-27  Jürg Billeter  <j@bitron.ch>

* vapi/posix.vapi:

Add bindings for open and associated functions and constants,
patch by Michael Lauer

svn path=/trunk/; revision=2406

16 years agoAdd overriding members to .vapi files, fixes bug 569219
Jürg Billeter [Tue, 27 Jan 2009 20:09:35 +0000 (20:09 +0000)] 
Add overriding members to .vapi files, fixes bug 569219

2009-01-27  Jürg Billeter  <j@bitron.ch>

* vala/valacodewriter.vala:
* vala/valamethod.vala:

Add overriding members to .vapi files, fixes bug 569219

svn path=/trunk/; revision=2405

16 years agoSkip overriding methods and properties in member access, fixes default
Jürg Billeter [Tue, 27 Jan 2009 20:03:45 +0000 (20:03 +0000)] 
Skip overriding methods and properties in member access, fixes default

2009-01-27  Jürg Billeter  <j@bitron.ch>

* vala/valamemberaccess.vala:

Skip overriding methods and properties in member access,
fixes default arguments when calling virtual methods

svn path=/trunk/; revision=2404

16 years agoFix binding for gdk_pixbuf_scale_simple
Thijs Vermeir [Tue, 27 Jan 2009 17:26:07 +0000 (17:26 +0000)] 
Fix binding for gdk_pixbuf_scale_simple

2009-01-27  Thijs Vermeir  <thijsvermeir@gmail.com>

* 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

svn path=/trunk/; revision=2403

16 years agoAdd bindings for ioctl and associated constants
Jürg Billeter [Mon, 26 Jan 2009 20:48:24 +0000 (20:48 +0000)] 
Add bindings for ioctl and associated constants

2009-01-26  Jürg Billeter  <j@bitron.ch>

* vapi/posix.vapi:

Add bindings for ioctl and associated constants

svn path=/trunk/; revision=2402

16 years agoRevert incorrect code generation change for constants, will need to use
Jürg Billeter [Mon, 26 Jan 2009 11:18:28 +0000 (11:18 +0000)] 
Revert incorrect code generation change for constants, will need to use

2009-01-26  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodebasemodule.vala:

Revert incorrect code generation change for constants, will need to
use `extern' to properly export constants

svn path=/trunk/; revision=2401

16 years agoSupport signals in static D-Bus client
Jürg Billeter [Sun, 25 Jan 2009 14:25:30 +0000 (14:25 +0000)] 
Support signals in static D-Bus client

2009-01-25  Jürg Billeter  <j@bitron.ch>

* gobject/valadbusclientmodule.vala:

Support signals in static D-Bus client

svn path=/trunk/; revision=2400

16 years agoFix type of implicit `this' parameter when using generics
Jürg Billeter [Sat, 24 Jan 2009 16:24:46 +0000 (16:24 +0000)] 
Fix type of implicit `this' parameter when using generics

2009-01-24  Jürg Billeter  <j@bitron.ch>

* vala/valaclass.vala:

Fix type of implicit `this' parameter when using generics

svn path=/trunk/; revision=2399

16 years agoRefactor method parameter and result code generation
Jürg Billeter [Fri, 23 Jan 2009 16:28:52 +0000 (16:28 +0000)] 
Refactor method parameter and result code generation

2009-01-23  Jürg Billeter  <j@bitron.ch>

* 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

svn path=/trunk/; revision=2398

16 years agoAdd virtual generate_parameter method. Move array and delegate type
Jürg Billeter [Fri, 23 Jan 2009 14:20:15 +0000 (14:20 +0000)] 
Add virtual generate_parameter method. Move array and delegate type

2009-01-23  Jürg Billeter  <j@bitron.ch>

* 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.

svn path=/trunk/; revision=2397

16 years agoSupport struct methods
Jürg Billeter [Tue, 20 Jan 2009 20:47:55 +0000 (20:47 +0000)] 
Support struct methods

2009-01-20  Jürg Billeter  <j@bitron.ch>

* vapigen/valagirparser.vala:

Support struct methods

svn path=/trunk/; revision=2396

16 years agoDo not declare public constants as `static'
Jürg Billeter [Tue, 20 Jan 2009 20:42:01 +0000 (20:42 +0000)] 
Do not declare public constants as `static'

2009-01-20  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodebasemodule.vala:

Do not declare public constants as `static'

svn path=/trunk/; revision=2395

16 years agoMore fixes, patch by Matías De la Puente
Jürg Billeter [Mon, 19 Jan 2009 16:18:23 +0000 (16:18 +0000)] 
More fixes, patch by Matías De la Puente

2009-01-19  Jürg Billeter  <j@bitron.ch>

* vapi/gsl.vapi:

More fixes, patch by Matías De la Puente

svn path=/trunk/; revision=2394

16 years agoUse correct C identifier for delegate target of static fields
Jürg Billeter [Mon, 19 Jan 2009 09:40:26 +0000 (09:40 +0000)] 
Use correct C identifier for delegate target of static fields

2009-01-19  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodedelegatemodule.vala:

Use correct C identifier for delegate target of static fields

svn path=/trunk/; revision=2393

16 years agoFix assigning to properties in lambda expressions in creation methods,
Jürg Billeter [Mon, 19 Jan 2009 08:06:38 +0000 (08:06 +0000)] 
Fix assigning to properties in lambda expressions in creation methods,

2009-01-19  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodemethodmodule.vala:

Fix assigning to properties in lambda expressions in creation
methods, patch by Yu Feng, fixes bug 568267

svn path=/trunk/; revision=2392

16 years agoFix binding for gst_pad_chain
Thijs Vermeir [Sun, 18 Jan 2009 21:17:09 +0000 (21:17 +0000)] 
Fix binding for gst_pad_chain

2009-01-18  Thijs Vermeir  <thijsvermeir@gmail.com>

* vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata:

Fix binding for gst_pad_chain

* vapi/gstreamer-0.10.vapi: Regenerated

svn path=/trunk/; revision=2391

16 years agoDo not generate legacy header files when using -H
Jürg Billeter [Sun, 18 Jan 2009 16:59:18 +0000 (16:59 +0000)] 
Do not generate legacy header files when using -H

2009-01-18  Jürg Billeter  <j@bitron.ch>

* vala/valacodecontext.vala:
* gobject/valaccodebasemodule.vala:
* gobject/valaccodecompiler.vala:

Do not generate legacy header files when using -H

svn path=/trunk/; revision=2390

16 years agoPost-release version bump
Jürg Billeter [Sun, 18 Jan 2009 15:49:09 +0000 (15:49 +0000)] 
Post-release version bump

2009-01-18  Jürg Billeter  <j@bitron.ch>

* configure.ac: Post-release version bump

svn path=/trunk/; revision=2389

16 years agoupdate for 0.5.6 release VALA_0_5_6
Jürg Billeter [Sun, 18 Jan 2009 15:48:09 +0000 (15:48 +0000)] 
update for 0.5.6 release

2009-01-18  Jürg Billeter  <j@bitron.ch>

* NEWS: update for 0.5.6 release

svn path=/trunk/; revision=2387

16 years agoAdd Log.FILE, Log.LINE, and Log.METHOD constants as replacements for
Jürg Billeter [Sun, 18 Jan 2009 15:18:09 +0000 (15:18 +0000)] 
Add Log.FILE, Log.LINE, and Log.METHOD constants as replacements for

2009-01-18  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodememberaccessmodule.vala:
* vapi/glib-2.0.vapi:

Add Log.FILE, Log.LINE, and Log.METHOD constants as replacements
for __FILE__ and __LINE__ as they are used in C

svn path=/trunk/; revision=2386

16 years agoAdd stub POSIX binding
Jürg Billeter [Sun, 18 Jan 2009 11:37:41 +0000 (11:37 +0000)] 
Add stub POSIX binding

2009-01-18  Jürg Billeter  <j@bitron.ch>

* vapi/Makefile.am:
* vapi/posix.vapi:

Add stub POSIX binding

svn path=/trunk/; revision=2385

16 years agoAccept `params' as identifier after cast parentheses
Jürg Billeter [Sat, 17 Jan 2009 23:11:55 +0000 (23:11 +0000)] 
Accept `params' as identifier after cast parentheses

2009-01-18  Jürg Billeter  <j@bitron.ch>

* vala/valaparser.vala:

Accept `params' as identifier after cast parentheses

svn path=/trunk/; revision=2384

16 years agoFix sincos binding, patch by Jukka-Pekka Iivonen, fixes bug 568038
Jürg Billeter [Sat, 17 Jan 2009 23:02:49 +0000 (23:02 +0000)] 
Fix sincos binding, patch by Jukka-Pekka Iivonen, fixes bug 568038

2009-01-18  Jürg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi:

Fix sincos binding, patch by Jukka-Pekka Iivonen, fixes bug 568038

svn path=/trunk/; revision=2383

16 years agoFix crash when using lambda expressions with owned delegate parameters,
Jürg Billeter [Sat, 17 Jan 2009 22:59:16 +0000 (22:59 +0000)] 
Fix crash when using lambda expressions with owned delegate parameters,

2009-01-17  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodemethodcallmodule.vala:

Fix crash when using lambda expressions with owned delegate
parameters, fixes bug 566344

svn path=/trunk/; revision=2382

16 years agoAdd missing include for enum values, fixes bug 531724
Jürg Billeter [Sat, 17 Jan 2009 22:42:25 +0000 (22:42 +0000)] 
Add missing include for enum values, fixes bug 531724

2009-01-17  Jürg Billeter  <j@bitron.ch>

* vala/valaenumvalue.vala:
* vala/valasourcefile.vala:

Add missing include for enum values, fixes bug 531724

svn path=/trunk/; revision=2381

16 years agoFix symbol lookup in constant and field initializers, fixes bug 567760
Jürg Billeter [Sat, 17 Jan 2009 22:29:47 +0000 (22:29 +0000)] 
Fix symbol lookup in constant and field initializers, fixes bug 567760

2009-01-17  Jürg Billeter  <j@bitron.ch>

* vala/valaconstant.vala:
* vala/valafield.vala:

Fix symbol lookup in constant and field initializers,
fixes bug 567760

svn path=/trunk/; revision=2380

16 years agoFix wrapper for delegates returning arrays, fixes bug 564474
Jürg Billeter [Sat, 17 Jan 2009 22:18:43 +0000 (22:18 +0000)] 
Fix wrapper for delegates returning arrays, fixes bug 564474

2009-01-17  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodedelegatemodule.vala:

Fix wrapper for delegates returning arrays, fixes bug 564474

svn path=/trunk/; revision=2379

16 years agoAdd Lua binding, patch by pancake and Phil Housley, fixes bug 540820
Jürg Billeter [Sat, 17 Jan 2009 21:22:32 +0000 (21:22 +0000)] 
Add Lua binding, patch by pancake and Phil Housley, fixes bug 540820

2009-01-17  Jürg Billeter  <j@bitron.ch>

* vapi/Makefile.am:
* vapi/lua.vapi:

Add Lua binding, patch by pancake and Phil Housley,
fixes bug 540820

svn path=/trunk/; revision=2378

16 years agoFix delegate bindings, patch by Matías De la Puente
Jürg Billeter [Sat, 17 Jan 2009 21:06:22 +0000 (21:06 +0000)] 
Fix delegate bindings, patch by Matías De la Puente

2009-01-17  Jürg Billeter  <j@bitron.ch>

* vapi/gsl.vapi:

Fix delegate bindings, patch by Matías De la Puente

svn path=/trunk/; revision=2377

16 years agoParse callback parameter annotations
Jürg Billeter [Sat, 17 Jan 2009 18:02:29 +0000 (18:02 +0000)] 
Parse callback parameter annotations

2009-01-17  Jürg Billeter  <j@bitron.ch>

* vapigen/valagirparser.vala:

Parse callback parameter annotations

svn path=/trunk/; revision=2376

16 years agoFix infinite loop when reading entity references
Jürg Billeter [Sat, 17 Jan 2009 17:07:13 +0000 (17:07 +0000)] 
Fix infinite loop when reading entity references

2009-01-17  Jürg Billeter  <j@bitron.ch>

* vapigen/valamarkupreader.vala:

Fix infinite loop when reading entity references

svn path=/trunk/; revision=2375

16 years agoRead comments
Jürg Billeter [Sat, 17 Jan 2009 17:02:19 +0000 (17:02 +0000)] 
Read comments

2009-01-17  Jürg Billeter  <j@bitron.ch>

* vapigen/valamarkupreader.vala:

Read comments

svn path=/trunk/; revision=2374

16 years agoFix gtk_widget_create_pango_* bindings
Jürg Billeter [Sat, 17 Jan 2009 13:23:04 +0000 (13:23 +0000)] 
Fix gtk_widget_create_pango_* bindings

2009-01-17  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gtk+-2.0/:

Fix gtk_widget_create_pango_* bindings

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=2373

16 years agoSet formal_target_type to fix constructors using generic parameter types,
Jürg Billeter [Sat, 17 Jan 2009 13:09:21 +0000 (13:09 +0000)] 
Set formal_target_type to fix constructors using generic parameter types,

2009-01-17  Jürg Billeter  <j@bitron.ch>

* vala/valaobjectcreationexpression.vala:

Set formal_target_type to fix constructors using generic parameter
types, fixes bug 543477

svn path=/trunk/; revision=2372

16 years agoDo not try to convert from generic pointer twice when accessing generic
Jürg Billeter [Sat, 17 Jan 2009 12:56:53 +0000 (12:56 +0000)] 
Do not try to convert from generic pointer twice when accessing generic

2009-01-17  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodememberaccessmodule.vala:

Do not try to convert from generic pointer twice when accessing
generic field

* vala/valaassignment.vala:

Set formal_target_type to fix assignment to generic fields,
fixes bug 543486

svn path=/trunk/; revision=2371