platform/upstream/vala.git
16 years agoFix exception handling in destructors, fixes bug 538216
Jürg Billeter [Mon, 23 Jun 2008 20:36:38 +0000 (20:36 +0000)]
Fix exception handling in destructors, fixes bug 538216

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

* gobject/valaccodeclassbinding.vala:
* gobject/valaccodegenerator.vala:

Fix exception handling in destructors, fixes bug 538216

svn path=/trunk/; revision=1642

16 years agoAdd libgsf-1 bindings, patch by Michael Lawrence, fixes bug 455141
Jürg Billeter [Mon, 23 Jun 2008 19:01:02 +0000 (19:01 +0000)]
Add libgsf-1 bindings, patch by Michael Lawrence, fixes bug 455141

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

* vapi/Makefile.am:
* vapi/libgsf-1.deps:
* vapi/libgsf-1.vapi:
* vapi/packages/libgsf-1/:

Add libgsf-1 bindings, patch by Michael Lawrence, fixes bug 455141

svn path=/trunk/; revision=1641

16 years agoSupport disconnecting from detailed signals
Jürg Billeter [Mon, 23 Jun 2008 18:50:58 +0000 (18:50 +0000)]
Support disconnecting from detailed signals

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

* gobject/valaccodeassignmentbinding.vala:

Support disconnecting from detailed signals

svn path=/trunk/; revision=1640

16 years agoSupport connecting to and emitting detailed signals, fixes bug 536794
Jürg Billeter [Mon, 23 Jun 2008 18:23:59 +0000 (18:23 +0000)]
Support connecting to and emitting detailed signals, fixes bug 536794

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

* vala/valacfgbuilder.vala:
* vala/valaelementaccess.vala:
* vala/valanullchecker.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasignal.vala:
* vala/valasymbolresolver.vala:
* gobject/valaccodeassignmentbinding.vala:
* gobject/valaccodeelementaccessbinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:

Support connecting to and emitting detailed signals,
fixes bug 536794

svn path=/trunk/; revision=1639

16 years agoSupport [CCode (type = "Foo")] to insert appropriate casts in generated C
Jürg Billeter [Mon, 23 Jun 2008 13:46:49 +0000 (13:46 +0000)]
Support [CCode (type = "Foo")] to insert appropriate casts in generated C

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

* vala/valaattribute.vala:
* vala/valafield.vala:
* vala/valainterfacewriter.vala:
* vala/valanamedargument.vala:
* vala/valastringliteral.vala:
* gobject/valaccodegenerator.vala:
* vapigen/valagidlparser.vala:

Support [CCode (type = "Foo")] to insert appropriate casts in
generated C Code

* vapi/packages/gtk+-2.0/:

Fix GtkActionEntry binding, fixes bug 526874

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1638

16 years agoImport members of the GLib namespace by default, fixes bug 539596
Jürg Billeter [Mon, 23 Jun 2008 12:50:45 +0000 (12:50 +0000)]
Import members of the GLib namespace by default, fixes bug 539596

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

* vala/valagenieparser.vala:
* vala/valanamespacereference.vala:
* vala/valasourcefile.vala:
* compiler/valacompiler.vala:

Import members of the GLib namespace by default, fixes bug 539596

svn path=/trunk/; revision=1637

16 years agoSupport dynamic D-Bus properties
Jürg Billeter [Mon, 23 Jun 2008 11:03:09 +0000 (11:03 +0000)]
Support dynamic D-Bus properties

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

* gobject/valaccodedynamicpropertybinding.vala:

Support dynamic D-Bus properties

svn path=/trunk/; revision=1636

16 years agoUse CamelCase for dynamic D-Bus methods and signals
Jürg Billeter [Mon, 23 Jun 2008 08:31:36 +0000 (08:31 +0000)]
Use CamelCase for dynamic D-Bus methods and signals

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

* gobject/valaccodedynamicmethodbinding.vala:
* gobject/valaccodedynamicsignalbinding.vala:

Use CamelCase for dynamic D-Bus methods and signals

svn path=/trunk/; revision=1635

16 years agoFix gdk_pixbuf_from_drawable and gdk_pixbuf_from_image bindings Fixes bug
Jaap A. Haitsma [Mon, 23 Jun 2008 05:50:26 +0000 (05:50 +0000)]
Fix gdk_pixbuf_from_drawable and gdk_pixbuf_from_image bindings Fixes bug

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

* vapi/packages/gdk-2.0/gdk-2.0.metadata:
Fix gdk_pixbuf_from_drawable and gdk_pixbuf_from_image bindings
Fixes bug #539632
* vapi/gdk-2.0.vapi: Regenerated

svn path=/trunk/; revision=1634

16 years agoAllow arbitrary whitespace/tabs at start of line when its a line
Jamie McCracken [Mon, 23 Jun 2008 02:38:56 +0000 (02:38 +0000)]
Allow arbitrary whitespace/tabs at start of line when its a line

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

* vala/valageniescanner.vala:

Allow arbitrary whitespace/tabs at start of line when its a line continuation

svn path=/trunk/; revision=1633

16 years agomake parens optional when using new operator on objects
Jamie McCracken [Mon, 23 Jun 2008 02:33:30 +0000 (02:33 +0000)]
make parens optional when using new operator on objects

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

* vala/valagenieparser.vala:

make parens optional when using new operator on objects

svn path=/trunk/; revision=1632

16 years agoSupport inherited interface implementation, fixes bug 536863
Jürg Billeter [Sun, 22 Jun 2008 22:23:20 +0000 (22:23 +0000)]
Support inherited interface implementation, fixes bug 536863

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

* vala/valasemanticanalyzer.vala:
* gobject/valaccodeclassbinding.vala:

Support inherited interface implementation, fixes bug 536863

svn path=/trunk/; revision=1631

16 years agoImprove support for arrays as paramters and return values of methods and
Jürg Billeter [Sun, 22 Jun 2008 21:57:13 +0000 (21:57 +0000)]
Improve support for arrays as paramters and return values of methods and

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

* gobject/valaccodedynamicmethodbinding.vala:
* gobject/valaccodedynamicsignalbinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodegeneratorsignal.vala:
* gobject/valaccodeobjecttypesymbolbinding.vala:

Improve support for arrays as paramters and return values of
methods and signals exported over D-Bus, fixes part of bug 539357

svn path=/trunk/; revision=1630

16 years agoUse CamelCase for properties exported to D-Bus
Jürg Billeter [Sun, 22 Jun 2008 19:26:16 +0000 (19:26 +0000)]
Use CamelCase for properties exported to D-Bus

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

* gobject/valaccodeobjecttypesymbolbinding.vala:

Use CamelCase for properties exported to D-Bus

svn path=/trunk/; revision=1629

16 years agoFix pointer member access to value types, fixes bug 539337
Jürg Billeter [Sun, 22 Jun 2008 19:04:49 +0000 (19:04 +0000)]
Fix pointer member access to value types, fixes bug 539337

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

* vala/valasemanticanalyzer.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:

Fix pointer member access to value types, fixes bug 539337

svn path=/trunk/; revision=1628

16 years agog_app_info_launch_default_for_uri.launch_context is nullable. Fixes bug
Jaap A. Haitsma [Sun, 22 Jun 2008 17:21:50 +0000 (17:21 +0000)]
g_app_info_launch_default_for_uri.launch_context is nullable. Fixes bug

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

* vapi/packages/gio-2.0/gio-2.0.metadata:
g_app_info_launch_default_for_uri.launch_context is nullable.
Fixes bug #539618
* vapi/gio-2.0.vapi: Regenerated

svn path=/trunk/; revision=1627

16 years agoUse G_TYPE_INT as type_id for int32
Jürg Billeter [Sun, 22 Jun 2008 13:47:22 +0000 (13:47 +0000)]
Use G_TYPE_INT as type_id for int32

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

* vapi/glib-2.0.vapi:

Use G_TYPE_INT as type_id for int32

svn path=/trunk/; revision=1626

16 years agoFix GstStaticCaps and GstStaticPadTemplate bindings, fixes bug 539283
Jürg Billeter [Sat, 21 Jun 2008 15:52:44 +0000 (15:52 +0000)]
Fix GstStaticCaps and GstStaticPadTemplate bindings, fixes bug 539283

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

* vapi/packages/gstreamer-0.10/:

Fix GstStaticCaps and GstStaticPadTemplate bindings,
fixes bug 539283

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1625

16 years agoFix using static methods as delegates, fixes bug 539277
Jürg Billeter [Sat, 21 Jun 2008 15:06:53 +0000 (15:06 +0000)]
Fix using static methods as delegates, fixes bug 539277

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

* gobject/valaccodegenerator.vala:

Fix using static methods as delegates, fixes bug 539277

svn path=/trunk/; revision=1624

16 years agoFix gst_*_parse_* bindings, patch by Zeeshan Ali Khattak, fixes bug 539177
Jürg Billeter [Sat, 21 Jun 2008 14:45:22 +0000 (14:45 +0000)]
Fix gst_*_parse_* bindings, patch by Zeeshan Ali Khattak, fixes bug 539177

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

* vapi/packages/gstreamer-0.10/:

Fix gst_*_parse_* bindings, patch by Zeeshan Ali Khattak,
fixes bug 539177

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1623

16 years agoInitialize class fields in class init function
Jared Moore [Sat, 21 Jun 2008 14:34:56 +0000 (14:34 +0000)]
Initialize class fields in class init function

2008-06-21  Jared Moore  <jaredm@svn.gnome.org>

* gobject/valaccodeclassbinding.vala:

Initialize class fields in class init function

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

Fix class field access, fixes bug 530039

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

Test class field access

svn path=/trunk/; revision=1622

16 years agoRemove unused field
Jürg Billeter [Sat, 21 Jun 2008 13:55:27 +0000 (13:55 +0000)]
Remove unused field

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

* vala/valascanner.vala:

Remove unused field

svn path=/trunk/; revision=1621

16 years agoSupport 'cheader_filename' attribute for constants and errordomains, based
Jürg Billeter [Fri, 20 Jun 2008 19:43:49 +0000 (19:43 +0000)]
Support 'cheader_filename' attribute for constants and errordomains, based

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

* vapigen/valagidlparser.vala:

Support 'cheader_filename' attribute for constants and
errordomains, based on patch by Michael Lawrence, fixes bug 533634

svn path=/trunk/; revision=1620

16 years agoCorrect the bindings for gst_tag_list_get_*(), fixes bug 538926
Zeeshan Ali Khattak [Fri, 20 Jun 2008 19:01:32 +0000 (19:01 +0000)]
Correct the bindings for gst_tag_list_get_*(), fixes bug 538926

2008-06-20  Zeeshan Ali Khattak  <zeenix@gmail.com>

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

Correct the bindings for gst_tag_list_get_*(), fixes bug 538926

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1619

16 years agoAdd loudmouth-1.0 bindings, patch by Ali Sabil
Jürg Billeter [Fri, 20 Jun 2008 18:56:33 +0000 (18:56 +0000)]
Add loudmouth-1.0 bindings, patch by Ali Sabil

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

* vapi/Makefile.am:
* vapi/loudmouth-1.0.vapi:
* vapi/packages/loudmouth-1.0/:

Add loudmouth-1.0 bindings, patch by Ali Sabil

svn path=/trunk/; revision=1618

16 years agoFix ref and out signal parameters
Jürg Billeter [Fri, 20 Jun 2008 18:38:02 +0000 (18:38 +0000)]
Fix ref and out signal parameters

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

* gobject/valaccodegeneratorsignal.vala:

Fix ref and out signal parameters

svn path=/trunk/; revision=1617

16 years agoFix g_source_attach binding
Jürg Billeter [Wed, 18 Jun 2008 21:35:46 +0000 (21:35 +0000)]
Fix g_source_attach binding

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

* vapi/glib-2.0.vapi:

Fix g_source_attach binding

svn path=/trunk/; revision=1616

16 years agoFix poppler_document_new_from_file binding
Jürg Billeter [Wed, 18 Jun 2008 21:13:29 +0000 (21:13 +0000)]
Fix poppler_document_new_from_file binding

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

* vapi/packages/poppler-glib/:

Fix poppler_document_new_from_file binding

* vapi/poppler-glib.vapi: regenerated

svn path=/trunk/; revision=1615

16 years agoFix GtkMenuShell.children and gtk_menu_shell_append bindings
Jürg Billeter [Wed, 18 Jun 2008 13:23:35 +0000 (13:23 +0000)]
Fix GtkMenuShell.children and gtk_menu_shell_append bindings

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

* vapi/packages/gtk+-2.0/gtk+-2.0.metadata:

Fix GtkMenuShell.children and gtk_menu_shell_append bindings

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1614

16 years agoVarious GFile binding fixes
Jürg Billeter [Wed, 18 Jun 2008 13:17:32 +0000 (13:17 +0000)]
Various GFile binding fixes

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

* vapi/packages/gio-2.0/gio-2.0.metadata:

Various GFile binding fixes

* vapi/gio-2.0.vapi: regenerated

svn path=/trunk/; revision=1613

16 years agoFix Gst.object.ref, unref and sink bindings Fixes bug #536307
Jaap A. Haitsma [Wed, 18 Jun 2008 05:59:36 +0000 (05:59 +0000)]
Fix Gst.object.ref, unref and sink bindings Fixes bug #536307

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

* vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala:
* vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata:
Fix Gst.object.ref, unref and sink bindings
Fixes bug #536307

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1612

16 years agoFix gst_bin_add binding, fixes bug 538845
Jürg Billeter [Tue, 17 Jun 2008 21:34:50 +0000 (21:34 +0000)]
Fix gst_bin_add binding, fixes bug 538845

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

* vapi/packages/gstreamer-0.10/:

Fix gst_bin_add binding, fixes bug 538845

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1611

16 years agoAllow transformation of implicit array parameters to out or ref parameters
Jürg Billeter [Tue, 17 Jun 2008 21:12:06 +0000 (21:12 +0000)]
Allow transformation of implicit array parameters to out or ref parameters

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

* vapigen/valagidlparser.vala:

Allow transformation of implicit array parameters to out or ref
parameters

svn path=/trunk/; revision=1610

16 years agoSupport duplicating errors
Jürg Billeter [Tue, 17 Jun 2008 20:26:44 +0000 (20:26 +0000)]
Support duplicating errors

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

* gobject/valaccodegenerator.vala:

Support duplicating errors

svn path=/trunk/; revision=1609

16 years agoUse CamelCase for methods and signals exported to D-Bus, fixes bug 538818
Jürg Billeter [Tue, 17 Jun 2008 20:15:14 +0000 (20:15 +0000)]
Use CamelCase for methods and signals exported to D-Bus, fixes bug 538818

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

* vala/valasymbol.vala:
* gobject/valaccodeobjecttypesymbolbinding.vala:

Use CamelCase for methods and signals exported to D-Bus,
fixes bug 538818

svn path=/trunk/; revision=1608

16 years agoConstant arrays don't own their elements
Jamie McCracken [Tue, 17 Jun 2008 01:11:47 +0000 (01:11 +0000)]
Constant arrays don't own their elements

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

* vala/valagenieparser.vala:

Constant arrays don't own their elements

svn path=/trunk/; revision=1607

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