platform/upstream/vala.git
16 years agoAdd support for overriding default method handlers of signals that have
Jamie McCracken [Tue, 17 Jun 2008 01:07:17 +0000 (01:07 +0000)]
Add support for overriding default method handlers of signals that have

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

* vala/valagenieparser.vala:

Add support for overriding default method handlers of signals
that have been declared with the `virtual' modifier

svn path=/trunk/; revision=1606

16 years agoDon't generate default creation method for abstract classes
Jamie McCracken [Tue, 17 Jun 2008 01:04:26 +0000 (01:04 +0000)]
Don't generate default creation method for abstract classes

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

* vala/valagenieparser.vala:

Don't generate default creation method for abstract classes

svn path=/trunk/; revision=1605

16 years agoReport error when using invalid modifiers for methods and fields,
Jamie McCracken [Tue, 17 Jun 2008 00:57:12 +0000 (00:57 +0000)]
Report error when using invalid modifiers for methods and fields,

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

* vala/valagenieparser.vala:

Report error when using invalid modifiers for methods and fields,

svn path=/trunk/; revision=1604

16 years agoset equal func for list automatically based on type
Jamie McCracken [Tue, 17 Jun 2008 00:46:14 +0000 (00:46 +0000)]
set equal func for list automatically based on type

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

* vala/valagenieparser.vala:

set equal func for list automatically based on type

svn path=/trunk/; revision=1603

16 years agoUpdated
Jürg Billeter [Mon, 16 Jun 2008 21:18:34 +0000 (21:18 +0000)]
Updated

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

* vapi/gdk-2.0.deps:
* vapi/gstreamer-audio-0.10.deps:
* vapi/gstreamer-base-0.10.deps:
* vapi/gstreamer-check-0.10.deps:
* vapi/gstreamer-controller-0.10.deps:
* vapi/gstreamer-dataprotocol-0.10.deps:
* vapi/gstreamer-fft-0.10.deps:
* vapi/gstreamer-interfaces-0.10.deps:
* vapi/gstreamer-net-0.10.deps:
* vapi/gstreamer-netbuffer-0.10.deps:
* vapi/gstreamer-pbutils-0.10.deps:
* vapi/gstreamer-riff-0.10.deps:
* vapi/gstreamer-rtp-0.10.deps:
* vapi/gstreamer-rtsp-0.10.deps:
* vapi/gstreamer-sdp-0.10.deps:
* vapi/gstreamer-tag-0.10.deps:
* vapi/gstreamer-video-0.10.deps:
* vapi/gtk+-2.0.deps:

Updated

svn path=/trunk/; revision=1602

16 years agoAdd g_queue_clear binding
Jürg Billeter [Mon, 16 Jun 2008 21:15:34 +0000 (21:15 +0000)]
Add g_queue_clear binding

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

* vapi/glib-2.0.vapi:

Add g_queue_clear binding

svn path=/trunk/; revision=1601

16 years agoReport error when using reference counting for interfaces without class
Jürg Billeter [Mon, 16 Jun 2008 20:56:20 +0000 (20:56 +0000)]
Report error when using reference counting for interfaces without class

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

* gobject/valaccodegenerator.vala:

Report error when using reference counting for interfaces without
class prerequisite

svn path=/trunk/; revision=1600

16 years agoFix property access for virtual and interface properties
Jürg Billeter [Mon, 16 Jun 2008 12:42:47 +0000 (12:42 +0000)]
Fix property access for virtual and interface properties

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

* gobject/valaccodememberaccessbinding.vala:

Fix property access for virtual and interface properties

svn path=/trunk/; revision=1599

16 years agogtk_show_uri.screen is nullable. fixes bug #538512
Jaap A. Haitsma [Mon, 16 Jun 2008 05:47:56 +0000 (05:47 +0000)]
gtk_show_uri.screen is nullable. fixes bug #538512

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

* vapi/packages/gtk+-2.0/gtk+-2.0.metadata:
gtk_show_uri.screen is nullable. fixes bug #538512

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1598

16 years agoadded built in list and dict (HashMap) support with automatic type
Jamie McCracken [Mon, 16 Jun 2008 04:28:31 +0000 (04:28 +0000)]
added built in list and dict (HashMap) support with automatic type

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

* vala/valagenieparser.vala:
* vala/valageniescanner.vala:
* vala/valagenietokentype.vala:

added built in list and dict (HashMap) support with automatic type dependent hash and equal functions

svn path=/trunk/; revision=1597

16 years agoFree local variables when throwing error, fixes bug 538520
Jürg Billeter [Sun, 15 Jun 2008 23:06:39 +0000 (23:06 +0000)]
Free local variables when throwing error, fixes bug 538520

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

* gobject/valaccodegenerator.vala:

Free local variables when throwing error, fixes bug 538520

svn path=/trunk/; revision=1596

16 years agoAdd SDL_net bindings, patch by Levi Bard, fixes bug 536623
Jürg Billeter [Sun, 15 Jun 2008 22:56:00 +0000 (22:56 +0000)]
Add SDL_net bindings, patch by Levi Bard, fixes bug 536623

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

* vapi/Makefile.am:
* vapi/sdl-net.vapi:

Add SDL_net bindings, patch by Levi Bard, fixes bug 536623

svn path=/trunk/; revision=1595

16 years agoFix uri functions, patch by Michael Lawrence, fixes bug 538384
Jürg Billeter [Sun, 15 Jun 2008 22:51:57 +0000 (22:51 +0000)]
Fix uri functions, patch by Michael Lawrence, fixes bug 538384

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

* vapi/libxml-2.0.vapi:

Fix uri functions, patch by Michael Lawrence, fixes bug 538384

svn path=/trunk/; revision=1594

16 years agoFree error variable in catch clauses, fixes bug 538331
Jürg Billeter [Sun, 15 Jun 2008 22:46:05 +0000 (22:46 +0000)]
Free error variable in catch clauses, fixes bug 538331

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

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

Free error variable in catch clauses, fixes bug 538331

svn path=/trunk/; revision=1593

16 years agoFix memory management of error types, fixes bug 537951
Jürg Billeter [Sun, 15 Jun 2008 22:30:38 +0000 (22:30 +0000)]
Fix memory management of error types, fixes bug 537951

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

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

Fix memory management of error types, fixes bug 537951

svn path=/trunk/; revision=1592

16 years agoFix gst_message_parse_* bindings
Jürg Billeter [Sun, 15 Jun 2008 22:15:07 +0000 (22:15 +0000)]
Fix gst_message_parse_* bindings

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

* vapi/packages/gstreamer-0.10/:

Fix gst_message_parse_* bindings

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1591

16 years agoFix gst_element_factory_make binding, based on patch by Thijs Vermeir
Jürg Billeter [Sun, 15 Jun 2008 21:41:53 +0000 (21:41 +0000)]
Fix gst_element_factory_make binding, based on patch by Thijs Vermeir

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

* vapi/packages/gstreamer-0.10/:

Fix gst_element_factory_make binding,
based on patch by Thijs Vermeir

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1590

16 years agoSupport emitting signals with return values, patch by Samuel
Jürg Billeter [Sun, 15 Jun 2008 21:29:51 +0000 (21:29 +0000)]
Support emitting signals with return values, patch by Samuel

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

* gobject/valaccodeinvocationexpressionbinding.vala:

Support emitting signals with return values,
patch by Samuel Cormier-Iijima, fixes bug 537323

* tests/classes-signals.exp:
* tests/classes-signals.vala:

Test signals with return values

svn path=/trunk/; revision=1589

16 years agoFix line number calculation for verbatim strings, fixes bug 537123
Jürg Billeter [Sun, 15 Jun 2008 21:17:12 +0000 (21:17 +0000)]
Fix line number calculation for verbatim strings, fixes bug 537123

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

* vala/valascanner.vala:

Fix line number calculation for verbatim strings, fixes bug 537123

svn path=/trunk/; revision=1588

16 years agoFix GtkWidget event signal parameters, patch by Andrea Del Signore, fixes
Jürg Billeter [Sun, 15 Jun 2008 21:03:32 +0000 (21:03 +0000)]
Fix GtkWidget event signal parameters, patch by Andrea Del Signore, fixes

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

* vapi/packages/gtk+-2.0/:

Fix GtkWidget event signal parameters,
patch by Andrea Del Signore, fixes bug 537092

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1587

16 years agoUse [Compact] attribute, patch by Levi Bard, fixes bug 536987
Jürg Billeter [Sun, 15 Jun 2008 20:31:57 +0000 (20:31 +0000)]
Use [Compact] attribute, patch by Levi Bard, fixes bug 536987

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

* vapi/taglib_c.vapi:

Use [Compact] attribute, patch by Levi Bard, fixes bug 536987

svn path=/trunk/; revision=1586

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