platform/upstream/vala.git
16 years agovapi/Makefile.am
Jürg Billeter [Sun, 15 Jun 2008 20:14:19 +0000 (20:14 +0000)]
vapi/Makefile.am

2008-06-15  Jürg Billeter  <j@bitron.ch>

* vapi/Makefile.am
* vapi/gdk-pixbuf-2.0.deps:
* vapi/packages/atk/:
* vapi/packages/gdk-2.0/:
* vapi/packages/gdk-pixbuf-2.0/:
* vapi/packages/gio-2.0/:
* vapi/packages/gio-unix-2.0/:
* vapi/packages/gtk+-2.0/:
* vapi/packages/pango/:
* vapi/packages/pangocairo/:

Update to GTK+ 2.13.3, fixes bug 536369

* vapi/atk.vapi:
* vapi/gdk-2.0.vapi:
* vapi/gdk-pixbuf-2.0.vapi:
* vapi/gio-2.0.vapi:
* vapi/gio-unix-2.0.vapi:
* vapi/gtk+-2.0.vapi:
* vapi/pango.vapi:
* vapi/pangocairo.vapi:

Regenerated

svn path=/trunk/; revision=1585

16 years agoReport error when trying to assign private properties in creation methods,
Jürg Billeter [Sun, 15 Jun 2008 19:50:00 +0000 (19:50 +0000)]
Report error when trying to assign private properties in creation methods,

2008-06-15  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodecreationmethodbinding.vala:

Report error when trying to assign private properties in creation
methods, patch by Hans Vercammen, fixes bug 536353

svn path=/trunk/; revision=1584

16 years agoFix crash when using signals with array parameters, fixes bug 538212
Jürg Billeter [Sun, 15 Jun 2008 19:39:26 +0000 (19:39 +0000)]
Fix crash when using signals with array parameters, fixes bug 538212

2008-06-15  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodegeneratorsignal.vala:
* gobject/valaccodetypesymbolbinding.vala:

Fix crash when using signals with array parameters,
fixes bug 538212

svn path=/trunk/; revision=1583

16 years agoFix vte_terminal_fork_command binding
Jürg Billeter [Sun, 15 Jun 2008 13:41:46 +0000 (13:41 +0000)]
Fix vte_terminal_fork_command binding

2008-06-15  Jürg Billeter  <j@bitron.ch>

* vapi/packages/vte/:

Fix vte_terminal_fork_command binding

* vapi/vte.vapi: regenerated

svn path=/trunk/; revision=1582

16 years agoVarious fixes, patch by Ali Sabil
Jürg Billeter [Sat, 14 Jun 2008 18:01:40 +0000 (18:01 +0000)]
Various fixes, patch by Ali Sabil

2008-06-14  Jürg Billeter  <j@bitron.ch>

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

Various fixes, patch by Ali Sabil

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

svn path=/trunk/; revision=1581

16 years agoFix gtk_label_new binding
Jürg Billeter [Sat, 14 Jun 2008 17:27:56 +0000 (17:27 +0000)]
Fix gtk_label_new binding

2008-06-14  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gtk+-2.0/:

Fix gtk_label_new binding

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1580

16 years agofixed attribute parsing
Jamie McCracken [Sat, 14 Jun 2008 04:59:01 +0000 (04:59 +0000)]
fixed attribute parsing

2008-06-14  Jamie McCracken  <jamiemcc@gnome.org>

* vala/valagenieparser.vala:

fixed attribute parsing

svn path=/trunk/; revision=1579

16 years agoCheck printf arguments, fixes bug 483104
Jürg Billeter [Fri, 13 Jun 2008 20:58:55 +0000 (20:58 +0000)]
Check printf arguments, fixes bug 483104

2008-06-13  Jürg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala:

Check printf arguments, fixes bug 483104

* vala/valainterfacewriter.vala:
* tests/test-034.vala:

Fix printf arguments

svn path=/trunk/; revision=1578

16 years agoSupport object creation expressions for simple types
Jürg Billeter [Fri, 13 Jun 2008 16:40:33 +0000 (16:40 +0000)]
Support object creation expressions for simple types

2008-06-13  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodegenerator.vala:

Support object creation expressions for simple types

svn path=/trunk/; revision=1577

16 years agoUse G_TYPE_UINT as type_id for unichar
Jürg Billeter [Fri, 13 Jun 2008 16:09:37 +0000 (16:09 +0000)]
Use G_TYPE_UINT as type_id for unichar

2008-06-13  Jürg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi:

Use G_TYPE_UINT as type_id for unichar

svn path=/trunk/; revision=1576

16 years agoImplement is_subtype_of method so that structs are considered compatible
Jürg Billeter [Fri, 13 Jun 2008 11:43:35 +0000 (11:43 +0000)]
Implement is_subtype_of method so that structs are considered compatible

2008-06-13  Jürg Billeter  <j@bitron.ch>

* vala/valastruct.vala:

Implement is_subtype_of method so that structs are considered
compatible to the specified base type

svn path=/trunk/; revision=1575

16 years agoUse G_TYPE_POINTER as type_id for type parameters
Jürg Billeter [Thu, 12 Jun 2008 19:41:03 +0000 (19:41 +0000)]
Use G_TYPE_POINTER as type_id for type parameters

2008-06-12  Jürg Billeter  <j@bitron.ch>

* vala/valatypeparametertype.vala:

Use G_TYPE_POINTER as type_id for type parameters

svn path=/trunk/; revision=1574

16 years agoUse `const' in C for immutable classes where appropriate
Jürg Billeter [Thu, 12 Jun 2008 16:50:57 +0000 (16:50 +0000)]
Use `const' in C for immutable classes where appropriate

2008-06-12  Jürg Billeter  <j@bitron.ch>

* vala/valaclass.vala:

Use `const' in C for immutable classes where appropriate

svn path=/trunk/; revision=1573

16 years agoSupport Immutable class attribute
Jürg Billeter [Thu, 12 Jun 2008 16:35:17 +0000 (16:35 +0000)]
Support Immutable class attribute

2008-06-12  Jürg Billeter  <j@bitron.ch>

* vala/valainterfacewriter.vala:
* vapigen/valagidlparser.vala:

Support Immutable class attribute

* vapi/packages/gstreamer-0.10/:

Mark GstStructure as Immutable as reference-type semantics are not
desirable

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1572

16 years agoUse GPtrArray in D-Bus client methods for boxed types
Jürg Billeter [Thu, 12 Jun 2008 14:30:08 +0000 (14:30 +0000)]
Use GPtrArray in D-Bus client methods for boxed types

2008-06-12  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodedynamicmethodbinding.vala:

Use GPtrArray in D-Bus client methods for boxed types

svn path=/trunk/; revision=1571

16 years agoFix application crash when a D-Bus client method raises an error
Jürg Billeter [Thu, 12 Jun 2008 12:26:44 +0000 (12:26 +0000)]
Fix application crash when a D-Bus client method raises an error

2008-06-12  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodedynamicmethodbinding.vala:

Fix application crash when a D-Bus client method raises an error

svn path=/trunk/; revision=1570

16 years agoFix gcc warning for D-Bus client methods returning arrays
Jürg Billeter [Thu, 12 Jun 2008 11:36:25 +0000 (11:36 +0000)]
Fix gcc warning for D-Bus client methods returning arrays

2008-06-12  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodedynamicmethodbinding.vala:

Fix gcc warning for D-Bus client methods returning arrays

svn path=/trunk/; revision=1569

16 years agoSupport arrays of string arrays in D-Bus client methods
Jürg Billeter [Wed, 11 Jun 2008 13:04:23 +0000 (13:04 +0000)]
Support arrays of string arrays in D-Bus client methods

2008-06-11  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodedynamicmethodbinding.vala:

Support arrays of string arrays in D-Bus client methods

svn path=/trunk/; revision=1568

16 years agoSupport array parameters in D-Bus client methods
Jürg Billeter [Wed, 11 Jun 2008 12:52:24 +0000 (12:52 +0000)]
Support array parameters in D-Bus client methods

2008-06-11  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodedynamicmethodbinding.vala:

Support array parameters in D-Bus client methods

svn path=/trunk/; revision=1567

16 years agoOutput type_id for structs
Jürg Billeter [Tue, 10 Jun 2008 14:25:22 +0000 (14:25 +0000)]
Output type_id for structs

2008-06-10  Jürg Billeter  <j@bitron.ch>

* vala/valainterfacewriter.vala:

Output type_id for structs

svn path=/trunk/; revision=1566

16 years agoFix crash when using unsupported D-Bus arrays
Jürg Billeter [Tue, 10 Jun 2008 10:57:04 +0000 (10:57 +0000)]
Fix crash when using unsupported D-Bus arrays

2008-06-10  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodedynamicmethodbinding.vala:

Fix crash when using unsupported D-Bus arrays

svn path=/trunk/; revision=1565

16 years agoFix gst_message_parse_error binding
Jürg Billeter [Thu, 5 Jun 2008 08:58:39 +0000 (08:58 +0000)]
Fix gst_message_parse_error binding

2008-06-05  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gstreamer-0.10/:

Fix gst_message_parse_error binding

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1564

16 years agoFix error reporting when duplicating non-reference counted objects, fixes
Jürg Billeter [Wed, 4 Jun 2008 14:59:08 +0000 (14:59 +0000)]
Fix error reporting when duplicating non-reference counted objects, fixes

2008-06-04  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodeassignmentbinding.vala:
* gobject/valaccodegenerator.vala:

Fix error reporting when duplicating non-reference counted objects,
fixes bug 535849

svn path=/trunk/; revision=1563

16 years agoSupport 'cheader_filename' attribute for fields and methods, fixes bug
Jürg Billeter [Wed, 4 Jun 2008 14:41:34 +0000 (14:41 +0000)]
Support 'cheader_filename' attribute for fields and methods, fixes bug

2008-06-04  Jürg Billeter  <j@bitron.ch>

* vapigen/valagidlparser.vala:

Support 'cheader_filename' attribute for fields and methods,
fixes bug 533634

svn path=/trunk/; revision=1562

16 years agoRespect custom type_id
Jürg Billeter [Wed, 4 Jun 2008 13:53:55 +0000 (13:53 +0000)]
Respect custom type_id

2008-06-04  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodeclassbinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodeinterfacebinding.vala:
* gobject/valaccodetypesymbolbinding.vala:
* gobject/valaclassregisterfunction.vala:

Respect custom type_id

* vapi/glib-2.0.vapi:

Fix GTypeModule binding

svn path=/trunk/; revision=1561

16 years agoPost-release version bump
Jürg Billeter [Wed, 4 Jun 2008 09:09:17 +0000 (09:09 +0000)]
Post-release version bump

2008-06-04  Jürg Billeter  <j@bitron.ch>

* configure.ac: Post-release version bump

svn path=/trunk/; revision=1560

16 years agoupdate for 0.3.3 release VALA_0_3_3
Jürg Billeter [Wed, 4 Jun 2008 09:06:57 +0000 (09:06 +0000)]
update for 0.3.3 release

2008-06-03  Jürg Billeter  <j@bitron.ch>

* NEWS: update for 0.3.3 release

svn path=/trunk/; revision=1558

16 years agoAdd byte order and number format constants, patch by Ali Sabil
Jürg Billeter [Tue, 3 Jun 2008 20:24:02 +0000 (20:24 +0000)]
Add byte order and number format constants, patch by Ali Sabil

2008-06-03  Jürg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi:

Add byte order and number format constants, patch by Ali Sabil

svn path=/trunk/; revision=1557

16 years agoNullable fixes, patch by Nicolas Joseph, fixes bug 536478
Jürg Billeter [Tue, 3 Jun 2008 20:15:09 +0000 (20:15 +0000)]
Nullable fixes, patch by Nicolas Joseph, fixes bug 536478

2008-06-03  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gtk+-2.0/:

Nullable fixes, patch by Nicolas Joseph, fixes bug 536478

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1556

16 years agoDocument delegate syntax, based on patch by Phil Housley
Jürg Billeter [Tue, 3 Jun 2008 19:47:08 +0000 (19:47 +0000)]
Document delegate syntax, based on patch by Phil Housley

2008-06-03  Jürg Billeter  <j@bitron.ch>

* doc/vala/delegates.xml:

Document delegate syntax, based on patch by Phil Housley

svn path=/trunk/; revision=1555

16 years agoDocument signal syntax, based on patch by Phil Housley
Jürg Billeter [Tue, 3 Jun 2008 19:41:59 +0000 (19:41 +0000)]
Document signal syntax, based on patch by Phil Housley

2008-06-03  Jürg Billeter  <j@bitron.ch>

* doc/vala/classes.xml:

Document signal syntax, based on patch by Phil Housley

svn path=/trunk/; revision=1554

16 years agoDocument property syntax, based on patch by Phil Housley
Jürg Billeter [Tue, 3 Jun 2008 19:35:40 +0000 (19:35 +0000)]
Document property syntax, based on patch by Phil Housley

2008-06-03  Jürg Billeter  <j@bitron.ch>

* doc/vala/classes.xml:

Document property syntax, based on patch by Phil Housley

svn path=/trunk/; revision=1553

16 years agoDocument enum syntax, based on patch by Phil Housley
Jürg Billeter [Tue, 3 Jun 2008 19:14:22 +0000 (19:14 +0000)]
Document enum syntax, based on patch by Phil Housley

2008-06-03  Jürg Billeter  <j@bitron.ch>

* doc/vala/enums.xml:

Document enum syntax, based on patch by Phil Housley

svn path=/trunk/; revision=1552

16 years agoDocument method syntax, based on patch by Phil Housley
Jürg Billeter [Tue, 3 Jun 2008 18:37:33 +0000 (18:37 +0000)]
Document method syntax, based on patch by Phil Housley

2008-06-03  Jürg Billeter  <j@bitron.ch>

* doc/vala/methods.xml:

Document method syntax, based on patch by Phil Housley

svn path=/trunk/; revision=1551

16 years agoFix gst_adapter_take_buffer and gst_collect_pads_take_buffer bindings, add
Jürg Billeter [Tue, 3 Jun 2008 17:49:46 +0000 (17:49 +0000)]
Fix gst_adapter_take_buffer and gst_collect_pads_take_buffer bindings, add

2008-06-03  Jürg Billeter  <j@bitron.ch>

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

Fix gst_adapter_take_buffer and gst_collect_pads_take_buffer
bindings, add gst_base_sink_wait_clock binding, patch by Ali Sabil

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

svn path=/trunk/; revision=1550

16 years agoVarious fixes, patch by Phil Housley
Jürg Billeter [Tue, 3 Jun 2008 15:03:48 +0000 (15:03 +0000)]
Various fixes, patch by Phil Housley

2008-06-03  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gtk+-2.0/:

Various fixes, patch by Phil Housley

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1549

16 years agovarious fixes, patch by Christian Meyer
Jürg Billeter [Tue, 3 Jun 2008 13:57:39 +0000 (13:57 +0000)]
various fixes, patch by Christian Meyer

2008-06-03  Jürg Billeter  <j@bitron.ch>

* vapi/tiff.vapi: various fixes, patch by Christian Meyer

svn path=/trunk/; revision=1548

16 years agodistribute and install libepc-1.0.vapi
Jürg Billeter [Tue, 3 Jun 2008 10:48:43 +0000 (10:48 +0000)]
distribute and install libepc-1.0.vapi

2008-06-03  Jürg Billeter  <j@bitron.ch>

* vapi/Makefile.am: distribute and install libepc-1.0.vapi

svn path=/trunk/; revision=1547

16 years agoFix invalid C code when using deprecated static classes
Jürg Billeter [Mon, 2 Jun 2008 19:49:16 +0000 (19:49 +0000)]
Fix invalid C code when using deprecated static classes

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

* gobject/valaccodeclassbinding.vala:

Fix invalid C code when using deprecated static classes

svn path=/trunk/; revision=1546

16 years agoFix gst_bus_add_watch_full binding
Jürg Billeter [Mon, 2 Jun 2008 19:26:35 +0000 (19:26 +0000)]
Fix gst_bus_add_watch_full binding

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

* vapi/packages/gstreamer-0.10/:

Fix gst_bus_add_watch_full binding

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1545

16 years agoAdd basic support for owned delegates, fixes bug 533484
Jürg Billeter [Mon, 2 Jun 2008 19:23:34 +0000 (19:23 +0000)]
Add basic support for owned delegates, fixes bug 533484

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

* gobject/valaccodegenerator.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:
* gobject/valaccodemethodbinding.vala:

Add basic support for owned delegates, fixes bug 533484

svn path=/trunk/; revision=1544

16 years agoUse [Compact] attribute, patch by Phil Housley
Jürg Billeter [Mon, 2 Jun 2008 14:19:49 +0000 (14:19 +0000)]
Use [Compact] attribute, patch by Phil Housley

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

* vapi/gmodule-2.0.vapi:
* vapi/sdl-gfx.vapi:
* vapi/sdl-mixer.vapi:
* vapi/sdl-ttf.vapi:
* vapi/sdl.vapi:

Use [Compact] attribute, patch by Phil Housley

svn path=/trunk/; revision=1543

16 years agoFix g_hash_table_foreach binding
Jürg Billeter [Mon, 2 Jun 2008 13:06:28 +0000 (13:06 +0000)]
Fix g_hash_table_foreach binding

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

* vapi/glib-2.0.vapi:

Fix g_hash_table_foreach binding

svn path=/trunk/; revision=1542

16 years agoadd .bzrignore for bzr-svn, patch by Jaap A. Haitsma, fixes bug 535451
Jürg Billeter [Mon, 2 Jun 2008 12:44:51 +0000 (12:44 +0000)]
add .bzrignore for bzr-svn, patch by Jaap A. Haitsma, fixes bug 535451

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

* .bzrignore: add .bzrignore for bzr-svn,
patch by Jaap A. Haitsma, fixes bug 535451

svn path=/trunk/; revision=1541

16 years agoEnsure that classes implement abstract properties of interfaces and
Jürg Billeter [Mon, 2 Jun 2008 12:36:07 +0000 (12:36 +0000)]
Ensure that classes implement abstract properties of interfaces and

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

* vala/valasemanticanalyzer.vala:

Ensure that classes implement abstract properties of interfaces
and abstract base classes, fixes bug 535270

svn path=/trunk/; revision=1540

16 years agoFix gdk_event_get_* bindings, fixes bug 533933
Jürg Billeter [Mon, 2 Jun 2008 12:21:42 +0000 (12:21 +0000)]
Fix gdk_event_get_* bindings, fixes bug 533933

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

* vapi/packages/gdk-2.0/:

Fix gdk_event_get_* bindings, fixes bug 533933

* vapi/gdk-2.0.vapi: regenerated

svn path=/trunk/; revision=1539

16 years agoAdd libepc-1.0 bindings, patch by Ali Sabil, fixes bug 533113
Jürg Billeter [Mon, 2 Jun 2008 12:17:05 +0000 (12:17 +0000)]
Add libepc-1.0 bindings, patch by Ali Sabil, fixes bug 533113

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

* vapi/libepc-1.0.vapi:
* vapi/packages/libepc-1.0/:

Add libepc-1.0 bindings, patch by Ali Sabil, fixes bug 533113

svn path=/trunk/; revision=1538

16 years agoFix g_file_enumerator_next_files_finish binding, fixes bug 524904
Jürg Billeter [Sun, 1 Jun 2008 22:11:50 +0000 (22:11 +0000)]
Fix g_file_enumerator_next_files_finish binding, fixes bug 524904

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

* vapi/packages/gio-2.0/:

Fix g_file_enumerator_next_files_finish binding, fixes bug 524904

* vapi/gio-2.0.vapi: regenerated

svn path=/trunk/; revision=1537

16 years agoFix derived generic classes, fixes bug 524426
Jürg Billeter [Sun, 1 Jun 2008 21:57:43 +0000 (21:57 +0000)]
Fix derived generic classes, fixes bug 524426

2008-06-01  Jürg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala:

Fix derived generic classes, fixes bug 524426

svn path=/trunk/; revision=1536

16 years agoFix gmenu_tree_directory_get_contents binding, fixes bug 522745
Jürg Billeter [Sun, 1 Jun 2008 20:55:12 +0000 (20:55 +0000)]
Fix gmenu_tree_directory_get_contents binding, fixes bug 522745

2008-06-01  Jürg Billeter  <j@bitron.ch>

* vapi/packages/libgnome-menu/:

Fix gmenu_tree_directory_get_contents binding, fixes bug 522745

* vapi/libgnome-menu.vapi: regenerated

svn path=/trunk/; revision=1535

16 years agoFix foreach when used with methods returning arrays
Jürg Billeter [Sun, 1 Jun 2008 20:34:28 +0000 (20:34 +0000)]
Fix foreach when used with methods returning arrays

2008-06-01  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodegenerator.vala:

Fix foreach when used with methods returning arrays

svn path=/trunk/; revision=1534

16 years agoSmall change to make code a bit clearer. Fixes bug #535942
Jaap A. Haitsma [Sun, 1 Jun 2008 16:58:25 +0000 (16:58 +0000)]
Small change to make code a bit clearer. Fixes bug #535942

2008-06-01  Jaap A. Haitsma  <jaap@haitsma.org>

* vala/valasemanticanalyzer.vala:
Small change to make code a bit clearer. Fixes bug #535942

svn path=/trunk/; revision=1533

16 years agoGst.structure.get_value should return Gst.value. Fixes bug #535965
Jaap A. Haitsma [Sun, 1 Jun 2008 16:50:06 +0000 (16:50 +0000)]
Gst.structure.get_value should return Gst.value. Fixes bug #535965

2008-06-01  Jaap A. Haitsma  <jaap@haitsma.org>

* vapi/gstreamer-0.10.vapi:
* vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata:
Gst.structure.get_value should return Gst.value. Fixes bug #535965

svn path=/trunk/; revision=1532

16 years agoFix gdk_window_get_geometry binding, patch by Thijs Vermeir, fixes bug
Jürg Billeter [Sun, 1 Jun 2008 16:12:28 +0000 (16:12 +0000)]
Fix gdk_window_get_geometry binding, patch by Thijs Vermeir, fixes bug

2008-06-01  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gdk-2.0/:

Fix gdk_window_get_geometry binding,
patch by Thijs Vermeir, fixes bug 536062

* vapi/gdk-2.0.vapi: regenerated

svn path=/trunk/; revision=1531

16 years agoImprove error message for incompatible signal handlers, fixes bug 535953
Jürg Billeter [Sun, 1 Jun 2008 15:44:30 +0000 (15:44 +0000)]
Improve error message for incompatible signal handlers, fixes bug 535953

2008-06-01  Jürg Billeter  <j@bitron.ch>

* vala/valadelegate.vala:
* vala/valasemanticanalyzer.vala:

Improve error message for incompatible signal handlers,
fixes bug 535953

svn path=/trunk/; revision=1530

16 years agoFix GtkTreeView bindings, patch by Daniel Svensson
Jürg Billeter [Sun, 1 Jun 2008 14:44:59 +0000 (14:44 +0000)]
Fix GtkTreeView bindings, patch by Daniel Svensson

2008-06-01  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gtk+-2.0/:

Fix GtkTreeView bindings, patch by Daniel Svensson

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1529

16 years agoReport error when trying to use unowned element variable in foreach
Jürg Billeter [Sun, 1 Jun 2008 14:01:33 +0000 (14:01 +0000)]
Report error when trying to use unowned element variable in foreach

2008-06-01  Jürg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala:

Report error when trying to use unowned element variable in
foreach statement using iterators

svn path=/trunk/; revision=1528

16 years agoFix memory management when using owned variables as argument for unowned
Jürg Billeter [Sun, 1 Jun 2008 13:10:39 +0000 (13:10 +0000)]
Fix memory management when using owned variables as argument for unowned

2008-06-01  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodeinvocationexpressionbinding.vala:

Fix memory management when using owned variables as argument
for unowned reference and output parameters

* tests/classes-methods.vala:

Test owned and unowned variables as argument for reference and
output parameters

svn path=/trunk/; revision=1527

16 years agoReport error when trying to use unowned variables as argument for owned
Jürg Billeter [Sun, 1 Jun 2008 11:31:44 +0000 (11:31 +0000)]
Report error when trying to use unowned variables as argument for owned

2008-06-01  Jürg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala:

Report error when trying to use unowned variables as argument
for owned reference and output parameters

svn path=/trunk/; revision=1526

16 years agoReport internal error for missing type argument
Jürg Billeter [Sun, 1 Jun 2008 09:45:59 +0000 (09:45 +0000)]
Report internal error for missing type argument

2008-06-01  Jürg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala:

Report internal error for missing type argument

svn path=/trunk/; revision=1525

16 years agoFix handling of ref array arguments
Jürg Billeter [Sat, 31 May 2008 21:34:50 +0000 (21:34 +0000)]
Fix handling of ref array arguments

2008-05-31  Jürg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala:
* vapigen/valavapigen.vala:

Fix handling of ref array arguments

svn path=/trunk/; revision=1524

16 years agoFix memory management for ref and out arguments
Jürg Billeter [Sat, 31 May 2008 21:02:18 +0000 (21:02 +0000)]
Fix memory management for ref and out arguments

2008-05-31  Jürg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala:
* vala/valasymbolresolver.vala:
* vala/valaunaryexpression.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:
* compiler/valacompiler.vala:

Fix memory management for ref and out arguments

svn path=/trunk/; revision=1523

16 years agoDon't complain about incompatible signal handlers when using signals in
Jürg Billeter [Sat, 31 May 2008 19:10:14 +0000 (19:10 +0000)]
Don't complain about incompatible signal handlers when using signals in

2008-05-31  Jürg Billeter  <j@bitron.ch>

* vala/valadatatype.vala:

Don't complain about incompatible signal handlers when using
signals in generic types

svn path=/trunk/; revision=1522

16 years agoFix gst_value_get_buffer and gst_value_get_structure bindings, patch by
Jürg Billeter [Sat, 31 May 2008 18:55:25 +0000 (18:55 +0000)]
Fix gst_value_get_buffer and gst_value_get_structure bindings, patch by

2008-05-31  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gstreamer-0.10/:

Fix gst_value_get_buffer and gst_value_get_structure bindings,
patch by Ali Sabil

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1521

16 years agoAdd support for structs in D-Bus service and client methods, fixes bug
Jürg Billeter [Sat, 31 May 2008 18:49:17 +0000 (18:49 +0000)]
Add support for structs in D-Bus service and client methods, fixes bug

2008-05-31  Jürg Billeter  <j@bitron.ch>

* vala/valastruct.vala:
* gobject/valaccodedynamicmethodbinding.vala:
* gobject/valaccodegeneratorsignal.vala:
* gobject/valaccodeobjecttypesymbolbinding.vala:

Add support for structs in D-Bus service and client methods,
fixes bug 534548 and bug 534549

svn path=/trunk/; revision=1520

16 years agoFix gst_value_list_get_value binding
Jürg Billeter [Sat, 31 May 2008 13:46:01 +0000 (13:46 +0000)]
Fix gst_value_list_get_value binding

2008-05-31  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gstreamer-0.10/:

Fix gst_value_list_get_value binding

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1519

16 years agohide gtk_menu_item_select and gtk_menu_item_deselect, already available in
Jürg Billeter [Sat, 31 May 2008 12:40:43 +0000 (12:40 +0000)]
hide gtk_menu_item_select and gtk_menu_item_deselect, already available in

2008-05-31  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gtk+-2.0/: hide gtk_menu_item_select and
gtk_menu_item_deselect, already available in base class

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1518

16 years agoNullable and `out' fixes, based on patch by Nicolas Joseph, fixes bug
Jürg Billeter [Sat, 31 May 2008 11:44:25 +0000 (11:44 +0000)]
Nullable and `out' fixes, based on patch by Nicolas Joseph, fixes bug

2008-05-31  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gtk+-2.0/:
* vapi/packages/gtksourceview-2.0/:

Nullable and `out' fixes,
based on patch by Nicolas Joseph, fixes bug 535618

* vapi/gtk+-2.0.vapi:
* vapi/gtksourceview-2.0.vapi:

Regenerated

svn path=/trunk/; revision=1517

16 years agoConvert to instance_pos attribute syntax, patch by Nicolas Joseph, fixes
Jürg Billeter [Sat, 31 May 2008 11:38:55 +0000 (11:38 +0000)]
Convert to instance_pos attribute syntax, patch by Nicolas Joseph, fixes

2008-05-31  Jürg Billeter  <j@bitron.ch>

* vapi/libxml-2.0.vapi:

Convert to instance_pos attribute syntax,
patch by Nicolas Joseph, fixes bug 535617

svn path=/trunk/; revision=1516

16 years agoNullable fixes, patch by Nicolas Joseph, fixes bug 535616
Jürg Billeter [Sat, 31 May 2008 11:36:56 +0000 (11:36 +0000)]
Nullable fixes, patch by Nicolas Joseph, fixes bug 535616

2008-05-31  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gtksourceview-2.0/:

Nullable fixes, patch by Nicolas Joseph, fixes bug 535616

* vapi/gtksourceview-2.0.vapi: regenerated

svn path=/trunk/; revision=1515

16 years agoEmit nested enums before structs, based on patch by Jaap A. Haitsma, fixes
Jürg Billeter [Sat, 31 May 2008 11:29:54 +0000 (11:29 +0000)]
Emit nested enums before structs, based on patch by Jaap A. Haitsma, fixes

2008-05-31  Jürg Billeter  <j@bitron.ch>

* vala/valaclass.vala:
* vala/valainterface.vala:

Emit nested enums before structs,
based on patch by Jaap A. Haitsma, fixes bug 530063

svn path=/trunk/; revision=1514

16 years agoAllow non-null sender parameter in signal handlers
Jürg Billeter [Sat, 31 May 2008 11:21:26 +0000 (11:21 +0000)]
Allow non-null sender parameter in signal handlers

2008-05-31  Jürg Billeter  <j@bitron.ch>

* vala/valasignal.vala:

Allow non-null sender parameter in signal handlers

svn path=/trunk/; revision=1513

16 years agoFix ownership for constant arrays of structs, fixes bug 535560
Jürg Billeter [Sat, 31 May 2008 11:10:42 +0000 (11:10 +0000)]
Fix ownership for constant arrays of structs, fixes bug 535560

2008-05-31  Jürg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala:

Fix ownership for constant arrays of structs, fixes bug 535560

svn path=/trunk/; revision=1512

16 years agoFix delegates with array parameters, fixes bug 519928
Jürg Billeter [Sat, 31 May 2008 09:26:58 +0000 (09:26 +0000)]
Fix delegates with array parameters, fixes bug 519928

2008-05-31  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodegenerator.vala:

Fix delegates with array parameters, fixes bug 519928

svn path=/trunk/; revision=1511

16 years agoFix gst_structure_get_value binding, fixes bug 530817
Jürg Billeter [Sat, 31 May 2008 08:25:31 +0000 (08:25 +0000)]
Fix gst_structure_get_value binding, fixes bug 530817

2008-05-31  Jürg Billeter  <j@bitron.ch>

* vapi/packages/gstreamer-0.10/:

Fix gst_structure_get_value binding, fixes bug 530817

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1510

16 years agoSupport nullable return types
Jürg Billeter [Sat, 31 May 2008 08:22:38 +0000 (08:22 +0000)]
Support nullable return types

2008-05-31  Jürg Billeter  <j@bitron.ch>

* vala/valainterfacewriter.vala:
* vapigen/valagidlparser.vala:

Support nullable return types

svn path=/trunk/; revision=1509

16 years agoFix memory leak when boxing unowned values
Jürg Billeter [Sat, 31 May 2008 08:12:02 +0000 (08:12 +0000)]
Fix memory leak when boxing unowned values

2008-05-31  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodegenerator.vala:

Fix memory leak when boxing unowned values

svn path=/trunk/; revision=1508

16 years agoFree boxed value when unboxing
Jürg Billeter [Sat, 31 May 2008 08:04:41 +0000 (08:04 +0000)]
Free boxed value when unboxing

2008-05-31  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodegenerator.vala:

Free boxed value when unboxing

svn path=/trunk/; revision=1507

16 years agoFix dynamic signals for D-Bus objects
Jürg Billeter [Sat, 31 May 2008 08:00:32 +0000 (08:00 +0000)]
Fix dynamic signals for D-Bus objects

2008-05-31  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodedynamicsignalbinding.vala:

Fix dynamic signals for D-Bus objects

svn path=/trunk/; revision=1506

16 years agoSupport dynamic properties and signals also for GObject subtypes
Jürg Billeter [Fri, 30 May 2008 23:48:58 +0000 (23:48 +0000)]
Support dynamic properties and signals also for GObject subtypes

2008-05-31  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodedynamicpropertybinding.vala:
* gobject/valaccodedynamicsignalbinding.vala:

Support dynamic properties and signals also for GObject subtypes

svn path=/trunk/; revision=1505

16 years agoFix copying nullable structs
Jürg Billeter [Fri, 30 May 2008 23:36:51 +0000 (23:36 +0000)]
Fix copying nullable structs

2008-05-31  Jürg Billeter  <j@bitron.ch>

* gobject/valaccodegenerator.vala:

Fix copying nullable structs

svn path=/trunk/; revision=1504

16 years agoImprovements to nullable struct support
Jürg Billeter [Fri, 30 May 2008 23:10:31 +0000 (23:10 +0000)]
Improvements to nullable struct support

2008-05-31  Jürg Billeter  <j@bitron.ch>

* ccode/valaccodeunaryexpression.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:

Improvements to nullable struct support

svn path=/trunk/; revision=1503

16 years agoAdd basic support for nullable structs
Juerg Billeter [Fri, 30 May 2008 22:48:14 +0000 (22:48 +0000)]
Add basic support for nullable structs

2008-05-31  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegenerator.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:
* gobject/valaccodememberaccessbinding.vala:

Add basic support for nullable structs

* tests/structs.vala:

Test nullable struct parameters

svn path=/trunk/; revision=1502

16 years agoremove obsolete code
Jürg Billeter [Fri, 30 May 2008 21:05:02 +0000 (21:05 +0000)]
remove obsolete code

2008-05-30  Jürg Billeter  <j@bitron.ch>

* vala/valadatatype.vala: remove obsolete code

svn path=/trunk/; revision=1501

16 years agofix g_value_copy and g_value_transform bindings, fixes bug 523767
Jürg Billeter [Fri, 30 May 2008 20:59:16 +0000 (20:59 +0000)]
fix g_value_copy and g_value_transform bindings, fixes bug 523767

2008-05-30  Jürg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi: fix g_value_copy and g_value_transform
bindings, fixes bug 523767

svn path=/trunk/; revision=1500

16 years agoCheck return type and parameters of signal handlers
Jürg Billeter [Fri, 30 May 2008 20:44:41 +0000 (20:44 +0000)]
Check return type and parameters of signal handlers

2008-05-30  Jürg Billeter  <j@bitron.ch>

* vala/valaobjecttype.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasignal.vala:

Check return type and parameters of signal handlers

svn path=/trunk/; revision=1499

16 years agoUse lazy initialization for type_argument_list in DataType class to
Juerg Billeter [Fri, 30 May 2008 16:56:15 +0000 (16:56 +0000)]
Use lazy initialization for type_argument_list in DataType class to

2008-05-30  Juerg Billeter  <j@bitron.ch>

* vala/valadatatype.vala:

Use lazy initialization for type_argument_list in DataType class
to improve performance

svn path=/trunk/; revision=1498

16 years agoAdd support for dynamic properties of GObjects
Juerg Billeter [Fri, 30 May 2008 14:59:31 +0000 (14:59 +0000)]
Add support for dynamic properties of GObjects

2008-05-30  Juerg Billeter  <j@bitron.ch>

* vala/valadynamicmethod.vala:
* vala/valadynamicproperty.vala:
* vala/valasymbol.vala:
* gobject/valaccodedynamicpropertybinding.vala:

Add support for dynamic properties of GObjects

svn path=/trunk/; revision=1497

16 years agoAdd support for dynamic signals of GObjects
Juerg Billeter [Fri, 30 May 2008 14:29:39 +0000 (14:29 +0000)]
Add support for dynamic signals of GObjects

2008-05-30  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodedynamicsignalbinding.vala:

Add support for dynamic signals of GObjects

svn path=/trunk/; revision=1496

16 years agofix Gst.Pad.push_event ownership transfer
Ali Sabil [Fri, 30 May 2008 11:34:07 +0000 (11:34 +0000)]
fix Gst.Pad.push_event ownership transfer

2008-05-30  Ali Sabil  <ali.sabil@gmail.com>

* vapi/packages/gstreamer-0.10/: fix Gst.Pad.push_event
ownership transfer

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1495

16 years agoUse lazy initialization for error_types list in CodeNode class to improve
Juerg Billeter [Thu, 29 May 2008 22:17:16 +0000 (22:17 +0000)]
Use lazy initialization for error_types list in CodeNode class to improve

2008-05-30  Juerg Billeter  <j@bitron.ch>

* vala/valacodenode.vala:

Use lazy initialization for error_types list in CodeNode class
to improve performance

svn path=/trunk/; revision=1494

16 years agoUse Gee.List instead of Gee.Collection to improve iteration performance
Juerg Billeter [Thu, 29 May 2008 21:48:51 +0000 (21:48 +0000)]
Use Gee.List instead of Gee.Collection to improve iteration performance

2008-05-29  Juerg Billeter  <j@bitron.ch>

* vala/valablock.vala:
* vala/valaclass.vala:
* vala/valacodecontext.vala:
* vala/valacodenode.vala:
* vala/valadatatype.vala:
* vala/valadelegatetype.vala:
* vala/valadynamicmethod.vala:
* vala/valadynamicproperty.vala:
* vala/valaenum.vala:
* vala/valaerrordomain.vala:
* vala/valaforstatement.vala:
* vala/valainitializerlist.vala:
* vala/valainterface.vala:
* vala/valainterfacewriter.vala:
* vala/valainvocationexpression.vala:
* vala/valalambdaexpression.vala:
* vala/valamember.vala:
* vala/valamemberaccess.vala:
* vala/valamethod.vala:
* vala/valamethodtype.vala:
* vala/valanamespace.vala:
* vala/valaobjectcreationexpression.vala:
* vala/valaobjecttypesymbol.vala:
* vala/valapointertype.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasignaltype.vala:
* vala/valasourcefile.vala:
* vala/valastruct.vala:
* vala/valaswitchsection.vala:
* vala/valaswitchstatement.vala:
* vala/valasymbol.vala:
* vala/valasymbolresolver.vala:
* vala/valatypesymbol.vala:
* ccode/valaccodecommaexpression.vala:
* ccode/valaccodefragment.vala:
* gobject/valaccodeassignmentbinding.vala:
* gobject/valaccodeelementaccessbinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodegeneratorsignal.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:
* gobject/valagidlwriter.vala:

Use Gee.List instead of Gee.Collection to improve iteration
performance

svn path=/trunk/; revision=1493

16 years agoDon't use iterator objects for lists to improve performance
Juerg Billeter [Thu, 29 May 2008 21:40:49 +0000 (21:40 +0000)]
Don't use iterator objects for lists to improve performance

2008-05-29  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala:
* gobject/valaccodegenerator.vala:

Don't use iterator objects for lists to improve performance

svn path=/trunk/; revision=1492

16 years agoUse verbose error messages by default, display relative filenames in error
Juerg Billeter [Thu, 29 May 2008 21:03:38 +0000 (21:03 +0000)]
Use verbose error messages by default, display relative filenames in error

2008-05-29  Juerg Billeter  <j@bitron.ch>

* vala/valasourcefile.vala:
* vala/valasourcereference.vala:
* compiler/valacompiler.vala:

Use verbose error messages by default, display relative filenames
in error messages, fixes bug 535480

svn path=/trunk/; revision=1491

16 years agofix Gst.Pad.push ownership transfer
Ali Sabil [Thu, 29 May 2008 20:41:55 +0000 (20:41 +0000)]
fix Gst.Pad.push ownership transfer

2008-05-29  Ali Sabil  <ali.sabil@gmail.com>

* vapi/packages/gstreamer-0.10/: fix Gst.Pad.push
ownership transfer

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1490

16 years agofix Gst.Element.add_pad ownership transfer
Ali Sabil [Thu, 29 May 2008 20:39:34 +0000 (20:39 +0000)]
fix Gst.Element.add_pad ownership transfer

2008-05-29  Ali Sabil  <ali.sabil@gmail.com>

* vapi/packages/gstreamer-0.10/: fix Gst.Element.add_pad
ownership transfer

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1489

16 years agofixed VideoCaps.YUV to return a weak string
Ali Sabil [Thu, 29 May 2008 20:36:25 +0000 (20:36 +0000)]
fixed VideoCaps.YUV to return a weak string

2008-05-29  Ali Sabil  <ali.sabil@gmail.com>

* vapi/packages/gstreamer-video-0.10/: fixed VideoCaps.YUV
to return a weak string

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

svn path=/trunk/; revision=1488

16 years agohide private fields from GstAdapter, and specify the type argument for
Ali Sabil [Thu, 29 May 2008 20:33:51 +0000 (20:33 +0000)]
hide private fields from GstAdapter, and specify the type argument for

2008-05-29  Ali Sabil  <ali.sabil@gmail.com>

* vapi/packages/gstreamer-base-0.10/: hide private fields from
GstAdapter, and specify the type argument for GstCollectPads.data

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

svn path=/trunk/; revision=1487

16 years agoOutput cheader filenames for namespace fields and constants
Juerg Billeter [Thu, 29 May 2008 20:26:37 +0000 (20:26 +0000)]
Output cheader filenames for namespace fields and constants

2008-05-29  Juerg Billeter  <j@bitron.ch>

* vala/valainterfacewriter.vala:

Output cheader filenames for namespace fields and constants

* vapi/gdk-2.0.vapi:
* vapi/gdk-pixbuf-2.0.vapi:
* vapi/gio-2.0.vapi:
* vapi/gio-unix-2.0.vapi:
* vapi/gnet-2.0.vapi:
* vapi/gnome-desktop-2.0.vapi:
* vapi/gnome-keyring-1.vapi:
* vapi/gnome-vfs-2.0.vapi:
* vapi/goocanvas.vapi:
* vapi/gstreamer-0.10.vapi:
* vapi/gstreamer-audio-0.10.vapi:
* vapi/gstreamer-dataprotocol-0.10.vapi:
* vapi/gstreamer-net-0.10.vapi:
* vapi/gstreamer-riff-0.10.vapi:
* vapi/gstreamer-rtp-0.10.vapi:
* vapi/gstreamer-rtsp-0.10.vapi:
* vapi/gstreamer-sdp-0.10.vapi:
* vapi/gstreamer-tag-0.10.vapi:
* vapi/gstreamer-video-0.10.vapi:
* vapi/gtk+-2.0.vapi:
* vapi/hildon-1.vapi:
* vapi/json-glib-1.0.vapi:
* vapi/libglade-2.0.vapi:
* vapi/libgnome-2.0.vapi:
* vapi/libgnomeui-2.0.vapi:
* vapi/libnotify.vapi:
* vapi/libsoup-2.2.vapi:
* vapi/libsoup-2.4.vapi:
* vapi/pango.vapi:
* vapi/poppler-glib.vapi:

Regenerated

svn path=/trunk/; revision=1486

16 years agoAdd support for non-GObject classes with generic type parameters
Juerg Billeter [Thu, 29 May 2008 17:42:25 +0000 (17:42 +0000)]
Add support for non-GObject classes with generic type parameters

2008-05-29  Juerg Billeter  <j@bitron.ch>

* vala/valainterface.vala:
* gobject/valaccodeclassbinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodeinterfacebinding.vala:
* gobject/valaccodemethodbinding.vala:

Add support for non-GObject classes with generic type parameters

svn path=/trunk/; revision=1485