platform/upstream/vala.git
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

16 years agoSupport `hidden' attribute for boxed types and `type_arguments' attribute
Juerg Billeter [Thu, 29 May 2008 15:09:39 +0000 (15:09 +0000)]
Support `hidden' attribute for boxed types and `type_arguments' attribute

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

* vapigen/valagidlparser.vala:

Support `hidden' attribute for boxed types and `type_arguments'
attribute for fields and properties, patch by Ali Sabil

svn path=/trunk/; revision=1484

16 years agoFix reference counting for non-GObject interfaces
Juerg Billeter [Thu, 29 May 2008 15:01:47 +0000 (15:01 +0000)]
Fix reference counting for non-GObject interfaces

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

* vala/valainterface.vala:

Fix reference counting for non-GObject interfaces

svn path=/trunk/; revision=1483

16 years agoSimplify generated _new functions for non-GObject classes
Juerg Billeter [Thu, 29 May 2008 10:52:34 +0000 (10:52 +0000)]
Simplify generated _new functions for non-GObject classes

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

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

Simplify generated _new functions for non-GObject classes

svn path=/trunk/; revision=1482

16 years agoAdd some more tests. Fixes bug #535430
Jaap A. Haitsma [Thu, 29 May 2008 10:10:33 +0000 (10:10 +0000)]
Add some more tests. Fixes bug #535430

2008-05-29  Jaap A. Haitsma  <jaap@haitsma.org>

* tests/strings.vala:
Add some more tests. Fixes bug #535430

svn path=/trunk/; revision=1481

16 years agoFix Gst.init () binding. Fixes bug #535411
Jaap A. Haitsma [Thu, 29 May 2008 09:43:40 +0000 (09:43 +0000)]
Fix Gst.init () binding. Fixes bug #535411

2008-05-29  Jaap A. Haitsma  <jaap@haitsma.org>

* vapi/gstreamer-0.10.vapi:
* vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala:
Fix Gst.init () binding. Fixes bug #535411

svn path=/trunk/; revision=1480

16 years agoPrint errors on stdout. Fixes #535417
Jaap A. Haitsma [Thu, 29 May 2008 09:41:05 +0000 (09:41 +0000)]
Print errors on stdout. Fixes #535417

2008-05-29  Jaap A. Haitsma  <jaap@haitsma.org>

* tests/testrunner.sh:
Print errors on stdout. Fixes #535417

svn path=/trunk/; revision=1479

16 years agoTest compilation of constant string arrays
Juerg Billeter [Thu, 29 May 2008 08:35:00 +0000 (08:35 +0000)]
Test compilation of constant string arrays

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

* tests/arrays.vala:

Test compilation of constant string arrays

svn path=/trunk/; revision=1478

16 years agoConstant arrays don't own their elements, fixes bug 535415
Juerg Billeter [Thu, 29 May 2008 08:30:06 +0000 (08:30 +0000)]
Constant arrays don't own their elements, fixes bug 535415

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

* vala/valaparser.vala:

Constant arrays don't own their elements, fixes bug 535415

svn path=/trunk/; revision=1477

16 years agoRevamped array syntax
Jamie McCracken [Thu, 29 May 2008 02:55:18 +0000 (02:55 +0000)]
Revamped array syntax

2008-05-29  Jamie McCracken  <jamiemcc@gnome.org>

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

Revamped array syntax

svn path=/trunk/; revision=1476

16 years agoMark signals as virtual to make it possible to override default method
Juerg Billeter [Wed, 28 May 2008 23:41:04 +0000 (23:41 +0000)]
Mark signals as virtual to make it possible to override default method

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

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

Mark signals as virtual to make it possible to override default
method handlers

* vapi/atk.vapi:
* vapi/gconf-2.0.vapi:
* vapi/gdk-2.0.vapi:
* vapi/gdk-pixbuf-2.0.vapi:
* vapi/gio-2.0.vapi:
* vapi/gio-unix-2.0.vapi:
* vapi/gnome-desktop-2.0.vapi:
* vapi/gnome-vfs-2.0.vapi:
* vapi/goocanvas.vapi:
* vapi/gstreamer-0.10.vapi:
* vapi/gstreamer-base-0.10.vapi:
* vapi/gstreamer-interfaces-0.10.vapi:
* vapi/gstreamer-rtsp-0.10.vapi:
* vapi/gtk+-2.0.vapi:
* vapi/gtksourceview-2.0.vapi:
* vapi/hildon-1.vapi:
* vapi/hildon-fm-2.vapi:
* vapi/json-glib-1.0.vapi:
* vapi/libgnomeui-2.0.vapi:
* vapi/libnotify.vapi:
* vapi/liboobs-1.vapi:
* vapi/libsexy.vapi:
* vapi/libsoup-2.2.vapi:
* vapi/libsoup-2.4.vapi:
* vapi/libwnck-1.0.vapi:
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata:
* vapi/vte.vapi:
* vapi/webkit-1.0.vapi:

Regenerated

svn path=/trunk/; revision=1475

16 years agoAdd support for overriding default method handlers of signals that have
Juerg Billeter [Wed, 28 May 2008 23:30:19 +0000 (23:30 +0000)]
Add support for overriding default method handlers of signals that have

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

* vala/valamethod.vala:
* vala/valaparser.vala:
* vala/valasignal.vala:

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

svn path=/trunk/; revision=1474

16 years agoMark non-GObject classes as compact, fix metadata patterns, fixes bug
Juerg Billeter [Wed, 28 May 2008 21:25:28 +0000 (21:25 +0000)]
Mark non-GObject classes as compact, fix metadata patterns, fixes bug

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

* vapigen/valagidlparser.vala:

Mark non-GObject classes as compact, fix metadata patterns,
fixes bug 535206

* vapi/cairo.vapi:

Use [Compact] attribute

* vapi/packages/gstreamer-audio-0.10/:
* vapi/packages/gstreamer-check-0.10/:
* vapi/packages/gstreamer-controller-0.10/:
* vapi/packages/gstreamer-dataprotocol-0.10/:
* vapi/packages/gstreamer-fft-0.10/:
* vapi/packages/gstreamer-interfaces-0.10/:
* vapi/packages/gstreamer-net-0.10/:
* vapi/packages/gstreamer-netbuffer-0.10/:
* vapi/packages/gstreamer-pbutils-0.10/:
* vapi/packages/gstreamer-riff-0.10/:
* vapi/packages/gstreamer-rtp-0.10/:
* vapi/packages/gstreamer-rtsp-0.10/:
* vapi/packages/gstreamer-sdp-0.10/:
* vapi/packages/gstreamer-tag-0.10/:

Add missing dependency on gmodule-2.0

* vapi/atk.vapi:
* vapi/gconf-2.0.vapi:
* 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-base-0.10.vapi:
* vapi/gstreamer-check-0.10.vapi:
* vapi/gstreamer-controller-0.10.vapi:
* vapi/gstreamer-dataprotocol-0.10.vapi:
* vapi/gstreamer-fft-0.10.vapi:
* vapi/gstreamer-interfaces-0.10.vapi:
* vapi/gstreamer-net-0.10.vapi:
* vapi/gstreamer-netbuffer-0.10.vapi:
* vapi/gstreamer-pbutils-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-video-0.10.vapi:
* vapi/gtk+-2.0.vapi:
* vapi/gtksourceview-2.0.vapi:
* vapi/hildon-1.vapi:
* vapi/hildon-fm-2.vapi:
* vapi/json-glib-1.0.vapi:
* vapi/libglade-2.0.vapi:
* vapi/libgnome-2.0.vapi:
* vapi/libgnome-menu.vapi:
* vapi/libgnomeui-2.0.vapi:
* vapi/libnotify.vapi:
* vapi/liboobs-1.vapi:
* vapi/libsoup-2.2.vapi:
* vapi/libsoup-2.4.vapi:
* vapi/libwnck-1.0.vapi:
* vapi/pango.vapi:
* vapi/pangocairo.vapi:
* vapi/poppler-glib.vapi:
* vapi/vte.vapi:
* vapi/webkit-1.0.vapi:

Regenerated

svn path=/trunk/; revision=1473

16 years agoFix SAX parser bindings, patch by Travis Watkins
Juerg Billeter [Wed, 28 May 2008 20:41:47 +0000 (20:41 +0000)]
Fix SAX parser bindings, patch by Travis Watkins

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

* vapi/libxml-2.0.vapi:

Fix SAX parser bindings, patch by Travis Watkins

svn path=/trunk/; revision=1472

16 years agoAllow short-hand form to initialize arrays, fixes bug 515407
Juerg Billeter [Wed, 28 May 2008 20:20:04 +0000 (20:20 +0000)]
Allow short-hand form to initialize arrays, fixes bug 515407

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

* vala/valaparser.vala:

Allow short-hand form to initialize arrays, fixes bug 515407

svn path=/trunk/; revision=1471

16 years agoDon't generate default creation method for abstract classes, patch by
Juerg Billeter [Wed, 28 May 2008 20:07:46 +0000 (20:07 +0000)]
Don't generate default creation method for abstract classes, patch by

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

* vala/valaparser.vala:

Don't generate default creation method for abstract classes,
patch by Marc-AndrĂ© Lureau, fixes bug 531190

svn path=/trunk/; revision=1470

16 years agoReport error when using invalid modifiers for methods and fields, based on
Juerg Billeter [Wed, 28 May 2008 19:47:10 +0000 (19:47 +0000)]
Report error when using invalid modifiers for methods and fields, based on

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

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

Report error when using invalid modifiers for methods and fields,
based on patch by Jared Moore, fixes bug 534018

svn path=/trunk/; revision=1469

16 years agoEnsure to not generate empty C structs, patch by Jared Moore, fixes bug
Juerg Billeter [Wed, 28 May 2008 19:35:06 +0000 (19:35 +0000)]
Ensure to not generate empty C structs, patch by Jared Moore, fixes bug

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

* gobject/valaccodeclassbinding.vala:

Ensure to not generate empty C structs,
patch by Jared Moore, fixes bug 533977

svn path=/trunk/; revision=1468

16 years agoFix crash when using concatenated strings as constant or field
Juerg Billeter [Wed, 28 May 2008 19:23:57 +0000 (19:23 +0000)]
Fix crash when using concatenated strings as constant or field

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

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

Fix crash when using concatenated strings as constant or field
initializer, patch by Jared Moore, fixes bug 533723

svn path=/trunk/; revision=1467

16 years agoMove memory management into CCodeGenerator.transform_expression as
Juerg Billeter [Wed, 28 May 2008 19:01:45 +0000 (19:01 +0000)]
Move memory management into CCodeGenerator.transform_expression as

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

* vala/Makefile.am:
* vala/valaaddressofexpression.vala:
* vala/valaarraycreationexpression.vala:
* vala/valaassignment.vala:
* vala/valabaseaccess.vala:
* vala/valabinaryexpression.vala:
* vala/valabooleanliteral.vala:
* vala/valacastexpression.vala:
* vala/valacharacterliteral.vala:
* vala/valacodevisitor.vala:
* vala/valaconditionalexpression.vala:
* vala/valadatatype.vala:
* vala/valaelementaccess.vala:
* vala/valaexpression.vala:
* vala/valaintegerliteral.vala:
* vala/valaintegertype.vala:
* vala/valainvocationexpression.vala:
* vala/valalambdaexpression.vala:
* vala/valamemberaccess.vala:
* vala/valanullchecker.vala:
* vala/valanullliteral.vala:
* vala/valanulltype.vala:
* vala/valaobjectcreationexpression.vala:
* vala/valaparenthesizedexpression.vala:
* vala/valapointerindirection.vala:
* vala/valapostfixexpression.vala:
* vala/valarealliteral.vala:
* vala/valareferencetransferexpression.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasignal.vala:
* vala/valasizeofexpression.vala:
* vala/valastringliteral.vala:
* vala/valatypecheck.vala:
* vala/valatypeofexpression.vala:
* vala/valaunaryexpression.vala:
* vala/valaunresolvedtype.vala:
* vala/valavaluetype.vala:
* gobject/valaccodeassignmentbinding.vala:
* gobject/valaccodeelementaccessbinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:
* gobject/valaccodememberaccessbinding.vala:
* gobject/valaccodemethodbinding.vala:
* compiler/valacompiler.vala:

Move memory management into CCodeGenerator.transform_expression
as preparation to properly support nullable structs, fixes memory
leak in internal substring method, fixes bug 527775

svn path=/trunk/; revision=1466

16 years agoImprove handling of dynamic signal parameters
Juerg Billeter [Wed, 28 May 2008 17:41:50 +0000 (17:41 +0000)]
Improve handling of dynamic signal parameters

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

* vala/valasemanticanalyzer.vala:
* vala/valasignal.vala:
* gobject/valaccodeassignmentbinding.vala:
* gobject/valaccodedynamicsignalbinding.vala:

Improve handling of dynamic signal parameters

svn path=/trunk/; revision=1465

16 years agoAdd dynamic symbols to scope instead of code context
Juerg Billeter [Wed, 28 May 2008 17:05:40 +0000 (17:05 +0000)]
Add dynamic symbols to scope instead of code context

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

* vala/valacodecontext.vala:
* vala/valascope.vala:
* vala/valasemanticanalyzer.vala:

Add dynamic symbols to scope instead of code context

svn path=/trunk/; revision=1464

16 years agoReport error when declaring a compact class implementing an interface,
Juerg Billeter [Wed, 28 May 2008 16:25:28 +0000 (16:25 +0000)]
Report error when declaring a compact class implementing an interface,

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

* vala/valasemanticanalyzer.vala:

Report error when declaring a compact class implementing an
interface, patch by Phil Housley

svn path=/trunk/; revision=1463

16 years agofix GTypeModule binding
Juerg Billeter [Wed, 28 May 2008 16:14:12 +0000 (16:14 +0000)]
fix GTypeModule binding

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

* vapi/glib-2.0.vapi: fix GTypeModule binding

svn path=/trunk/; revision=1462

16 years agoRename Expression.expected_type to Expression.target_type
Juerg Billeter [Wed, 28 May 2008 16:11:59 +0000 (16:11 +0000)]
Rename Expression.expected_type to Expression.target_type

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

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

Rename Expression.expected_type to Expression.target_type

svn path=/trunk/; revision=1461

16 years agoCompute Method.base_method and Property.base_property when needed so that
Juerg Billeter [Wed, 28 May 2008 16:07:50 +0000 (16:07 +0000)]
Compute Method.base_method and Property.base_property when needed so that

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

* vala/valainterfacewriter.vala:
* vala/valamethod.vala:
* vala/valaproperty.vala:
* vala/valasemanticanalyzer.vala:
* gobject/valagidlwriter.vala:

Compute Method.base_method and Property.base_property when needed
so that we can already use them in the semantic analyzer

svn path=/trunk/; revision=1460

16 years agoUse parentheses to ensure that the full expression is cast
Juerg Billeter [Wed, 28 May 2008 11:32:31 +0000 (11:32 +0000)]
Use parentheses to ensure that the full expression is cast

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

* ccode/valaccodecastexpression.vala:

Use parentheses to ensure that the full expression is cast

svn path=/trunk/; revision=1459

16 years agoFix temporary variable handling for throw statements
Juerg Billeter [Tue, 27 May 2008 21:50:15 +0000 (21:50 +0000)]
Fix temporary variable handling for throw statements

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

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

Fix temporary variable handling for throw statements

svn path=/trunk/; revision=1458

16 years agoImproved performance of print statement
Jamie McCracken [Tue, 27 May 2008 05:05:28 +0000 (05:05 +0000)]
Improved performance of print statement

2008-05-27  Jamie McCracken  <jamiemcc@gnome.org>

* vala/valagenieparser.vala:

Improved performance of print statement

svn path=/trunk/; revision=1457

16 years agoAdded optional indent attribute to allow spaces to be used in lieu of tabs
Jamie McCracken [Tue, 27 May 2008 04:32:16 +0000 (04:32 +0000)]
Added optional indent attribute to allow spaces to be used in lieu of tabs

2008-05-27  Jamie McCracken  <jamiemcc@gnome.org>

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

Added optional indent attribute to allow spaces to be used in lieu of tabs for indents

svn path=/trunk/; revision=1456

16 years agoMade GLib using directive optional
Jamie McCracken [Tue, 27 May 2008 04:07:32 +0000 (04:07 +0000)]
Made GLib using directive optional

2008-05-27  Jamie McCracken  <jamiemcc@gnome.org>

* vala/valagenieparser.vala:

Made GLib using directive optional

svn path=/trunk/; revision=1455

16 years agoadd atexit () and memory profile bindings, fixes bug #530627
Marc-André Lureau [Mon, 26 May 2008 18:02:56 +0000 (18:02 +0000)]
add atexit () and memory profile bindings, fixes bug #530627

2008-05-26  Marc-AndrĂ© Lureau  <marcandre.lureau@gmail.com>

* vapi/glib-2.0.vapi (Memory): add atexit () and memory profile
bindings, fixes bug #530627

svn path=/trunk/; revision=1454

16 years agoadd weak pointer references bindings and {freeze,thaw}_notify ()
Marc-André Lureau [Mon, 26 May 2008 17:59:07 +0000 (17:59 +0000)]
add weak pointer references bindings and {freeze,thaw}_notify ()

2008-05-26  Marc-AndrĂ© Lureau  <marcandre.lureau@gmail.com>

* vapi/glib-2.0.vapi (Object): add weak pointer references
bindings and {freeze,thaw}_notify ()

svn path=/trunk/; revision=1453

16 years agoFix initialiser expression in for statement
Jamie McCracken [Mon, 26 May 2008 15:25:51 +0000 (15:25 +0000)]
Fix initialiser expression in for statement

2008-05-26  Jamie McCracken  <jamiemcc@gnome.org>

* vala/valagenieparser.vala:

Fix initialiser expression in for statement

svn path=/trunk/; revision=1452

16 years agos/Typesymbol/TypeSymbol/
Juerg Billeter [Mon, 26 May 2008 12:44:38 +0000 (12:44 +0000)]
s/Typesymbol/TypeSymbol/

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

* vala/valaarraytype.vala:
* vala/valaclass.vala:
* vala/valacreationmethod.vala:
* vala/valadatatype.vala:
* vala/valadelegate.vala:
* vala/valaenum.vala:
* vala/valaerrordomain.vala:
* vala/valainstancecast.vala:
* vala/valaintegertype.vala:
* vala/valainterface.vala:
* vala/valainterfacewriter.vala:
* vala/valaobjecttype.vala:
* vala/valaobjecttypesymbol.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasourcefile.vala:
* vala/valastruct.vala:
* vala/valasymbolresolver.vala:
* vala/valatypeparameter.vala:
* vala/valatypesymbol.vala:
* vala/valavaluetype.vala:
* gobject/valaccodeassignmentbinding.vala:
* gobject/valaccodeclassbinding.vala:
* gobject/valaccodeelementaccessbinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodegeneratorsignal.vala:
* gobject/valaccodeinterfacebinding.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:
* gobject/valaccodememberaccessbinding.vala:
* gobject/valaccodemethodbinding.vala:
* gobject/valaccodeobjecttypesymbolbinding.vala:
* gobject/valaccodetypesymbolbinding.vala:
* gobject/valaclassregisterfunction.vala:
* gobject/valagidlwriter.vala:
* gobject/valainterfaceregisterfunction.vala:
* gobject/valatyperegisterfunction.vala:
* vapigen/valagidlparser.vala:

s/Typesymbol/TypeSymbol/

svn path=/trunk/; revision=1451

16 years agouse [Compact] attribute
Juerg Billeter [Mon, 26 May 2008 12:30:49 +0000 (12:30 +0000)]
use [Compact] attribute

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

* vapi/libxml-2.0.vapi: use [Compact] attribute

svn path=/trunk/; revision=1450

16 years agoFix implicit casts for instances in invocation expressions, fixes bug
Juerg Billeter [Mon, 26 May 2008 12:30:05 +0000 (12:30 +0000)]
Fix implicit casts for instances in invocation expressions, fixes bug

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

* gobject/valaccodeinvocationexpressionbinding.vala:

Fix implicit casts for instances in invocation expressions,
fixes bug 530369

svn path=/trunk/; revision=1449

16 years agoSupport `var' in foreach statements, based on patch by Jamie McCracken
Juerg Billeter [Mon, 26 May 2008 11:49:23 +0000 (11:49 +0000)]
Support `var' in foreach statements, based on patch by Jamie McCracken

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

* vala/valaforeachstatement.vala:
* vala/valaparser.vala:
* vala/valasemanticanalyzer.vala:

Support `var' in foreach statements,
based on patch by Jamie McCracken

svn path=/trunk/; revision=1448

16 years agoReplace ClassInstanceType and InterfaceInstanceType by ObjectType
Juerg Billeter [Mon, 26 May 2008 09:03:59 +0000 (09:03 +0000)]
Replace ClassInstanceType and InterfaceInstanceType by ObjectType

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

* vala/Makefile.am:
* vala/valaclass.vala:
* vala/valainterface.vala:
* vala/valaobjecttype.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasignal.vala:
* vala/valasymbolresolver.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodememberaccessbinding.vala:
* gobject/valaccodemethodbinding.vala:
* gobject/valagidlwriter.vala:

Replace ClassInstanceType and InterfaceInstanceType by ObjectType

svn path=/trunk/; revision=1447

16 years agoallow init block to be used in context.root namespace where its parsed and
Jamie McCracken [Mon, 26 May 2008 05:47:42 +0000 (05:47 +0000)]
allow init block to be used in context.root namespace where its parsed and

2008-05-26  Jamie McCracken  <jamiemcc@gnome.org>

* vala/valagenieparser.vala:

allow init block to be used in context.root namespace where
its parsed and converted to the "main" function

svn path=/trunk/; revision=1446

16 years agoadded missing throws ParseError to get_for_statement_type method
Jamie McCracken [Mon, 26 May 2008 04:18:35 +0000 (04:18 +0000)]
added missing throws ParseError to get_for_statement_type method

2008-05-26  Jamie McCracken  <jamiemcc@gnome.org>

* vala/valagenieparser.vala: added missing throws ParseError to get_for_statement_type method

svn path=/trunk/; revision=1445

16 years agofix warning with pointer casts
Jamie McCracken [Mon, 26 May 2008 04:15:02 +0000 (04:15 +0000)]
fix warning with pointer casts

2008-05-26  Jamie McCracken  <jamiemcc@gnome.org>

* vala/valagenieparser.vala: fix warning with pointer casts

svn path=/trunk/; revision=1444

16 years agoDeprecate static classes
Jamie McCracken [Mon, 26 May 2008 04:10:26 +0000 (04:10 +0000)]
Deprecate static classes

2008-05-26  Jamie McCracken  <jamiemcc@gnome.org>

* vala/valagenieparser.vala:

Deprecate static classes

svn path=/trunk/; revision=1443

16 years agoreplaced foreach with for..in
Jamie McCracken [Mon, 26 May 2008 04:04:15 +0000 (04:04 +0000)]
replaced foreach with for..in

2008-05-26  Jamie McCracken  <jamiemcc@gnome.org>

* vala/valgenieparser.vala: replaced foreach with for..in

svn path=/trunk/; revision=1442

16 years agomore fixes, patch by Christian Meyer
Juerg Billeter [Sun, 25 May 2008 22:41:44 +0000 (22:41 +0000)]
more fixes, patch by Christian Meyer

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

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

svn path=/trunk/; revision=1441

16 years agoSupport interfaces for D-Bus services
Philip Van Hoof [Sun, 25 May 2008 21:00:51 +0000 (21:00 +0000)]
Support interfaces for D-Bus services

2008-05-25  Philip Van Hoof  <pvanhoof@gnome.org>

* vala/valainterface.vala:
* vala/Makefile.am:
* vala/valaobjecttypesymbol.vala:
* vala/valaclass.vala:
* gobject/valaccodeinterfacebinding.vala:
* gobject/valaccodeclassbinding.vala:
* gobject/Makefile.am:
* gobject/valaccodeobjecttypesymbolbinding.vala:

Support interfaces for D-Bus services

svn path=/trunk/; revision=1440

16 years agouse [Compact] attribute for Hal.Context class. Fixes bug #534809
Jaap A. Haitsma [Sun, 25 May 2008 20:46:08 +0000 (20:46 +0000)]
use [Compact] attribute for Hal.Context class. Fixes bug #534809

2008-05-25  Jaap A. Haitsma  <jaap@haitsma.org>

* vapi/hal.vapi: use [Compact] attribute for Hal.Context class.
Fixes bug #534809

svn path=/trunk/; revision=1439

16 years agoimprove GstValue binding, patch by Jaap A. Haitsma, fixes bug 533805
Juerg Billeter [Sun, 25 May 2008 19:24:44 +0000 (19:24 +0000)]
improve GstValue binding, patch by Jaap A. Haitsma, fixes bug 533805

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

* vapi/packages/gstreamer-0.10/: improve GstValue binding,
patch by Jaap A. Haitsma, fixes bug 533805

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1438

16 years agoFix type resolving for arrays and pointers when declaring multiple
Juerg Billeter [Sun, 25 May 2008 18:51:13 +0000 (18:51 +0000)]
Fix type resolving for arrays and pointers when declaring multiple

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

* vala/valaarraytype.vala:
* vala/valapointertype.vala:
* vala/valasemanticanalyzer.vala:

Fix type resolving for arrays and pointers when declaring multiple
variables in a single statement

svn path=/trunk/; revision=1437

16 years agofix mktime binding
Juerg Billeter [Sun, 25 May 2008 18:41:51 +0000 (18:41 +0000)]
fix mktime binding

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

* vapi/glib-2.0.vapi: fix mktime binding

svn path=/trunk/; revision=1436

16 years agoFix type string for multi-dimensional arrays
Juerg Billeter [Sun, 25 May 2008 18:02:23 +0000 (18:02 +0000)]
Fix type string for multi-dimensional arrays

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

* vala/valaarraytype.vala:

Fix type string for multi-dimensional arrays

svn path=/trunk/; revision=1435

16 years agouse [Compact] attribute and fix return types, patch by Christian Meyer
Juerg Billeter [Sun, 25 May 2008 16:10:24 +0000 (16:10 +0000)]
use [Compact] attribute and fix return types, patch by Christian Meyer

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

* vapi/tiff.vapi: use [Compact] attribute and fix return types,
patch by Christian Meyer

svn path=/trunk/; revision=1434

16 years agofix qualified error type string
Juerg Billeter [Sun, 25 May 2008 15:25:04 +0000 (15:25 +0000)]
fix qualified error type string

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

* vala/valaerrortype.vala: fix qualified error type string

svn path=/trunk/; revision=1433

16 years agoWrite qualified types in the interface writer
Juerg Billeter [Sun, 25 May 2008 14:59:14 +0000 (14:59 +0000)]
Write qualified types in the interface writer

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

* vala/valaarraytype.vala:
* vala/valadatatype.vala:
* vala/valadelegatetype.vala:
* vala/valafieldprototype.vala:
* vala/valainterfacewriter.vala:
* vala/valamethodtype.vala:
* vala/valapointertype.vala:
* vala/valaunresolvedtype.vala:
* vala/valavoidtype.vala:

Write qualified types in the interface writer

svn path=/trunk/; revision=1432

16 years agouse [Compact] attribute
Juerg Billeter [Sun, 25 May 2008 14:03:55 +0000 (14:03 +0000)]
use [Compact] attribute

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

* vapi/dbus-glib-1.vapi: use [Compact] attribute

svn path=/trunk/; revision=1431

16 years agoAdd support for [Immutable] class attribute, allow duplication of
Juerg Billeter [Sun, 25 May 2008 14:02:57 +0000 (14:02 +0000)]
Add support for [Immutable] class attribute, allow duplication of

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

* vala/valaclass.vala:
* gobject/valaccodegenerator.vala:
* vapi/glib-2.0.vapi:

Add support for [Immutable] class attribute, allow duplication of
immutable instances

svn path=/trunk/; revision=1430

16 years agofix warning with pointer casts
Juerg Billeter [Sun, 25 May 2008 13:52:50 +0000 (13:52 +0000)]
fix warning with pointer casts

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

* vala/valaparser.vala: fix warning with pointer casts

svn path=/trunk/; revision=1429

16 years agoSupport qualified access to global symbols within expressions
Juerg Billeter [Sun, 25 May 2008 13:49:21 +0000 (13:49 +0000)]
Support qualified access to global symbols within expressions

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

* vala/valamemberaccess.vala:
* vala/valaparser.vala:
* vala/valasemanticanalyzer.vala:

Support qualified access to global symbols within expressions

svn path=/trunk/; revision=1428

16 years agouse [Compact] attribute
Juerg Billeter [Sun, 25 May 2008 13:40:55 +0000 (13:40 +0000)]
use [Compact] attribute

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

* vapi/sqlite3.vapi: use [Compact] attribute

svn path=/trunk/; revision=1427

16 years agoReport error when declaring virtual methods in compact classes, based on
Juerg Billeter [Sun, 25 May 2008 13:34:13 +0000 (13:34 +0000)]
Report error when declaring virtual methods in compact classes, based on

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

* vala/valasemanticanalyzer.vala:

Report error when declaring virtual methods in compact classes,
based on patch by Jared Moore, fixes bug 514844

svn path=/trunk/; revision=1426

16 years agoAdd support for [Compact] class attribute, register non-compact classes
Juerg Billeter [Sun, 25 May 2008 13:29:24 +0000 (13:29 +0000)]
Add support for [Compact] class attribute, register non-compact classes

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

* vala/valaclass.vala:
* vala/valainterfacewriter.vala:
* gobject/valaccodeclassbinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodememberaccessbinding.vala:
* gobject/valaccodemethodbinding.vala:
* gobject/valatyperegisterfunction.vala:

Add support for [Compact] class attribute, register non-compact
classes with GType, fixes bug 532518

* gee/hashmap.vala:
* gee/hashset.vala:
* gobject-introspection/gidl.vapi:
* tests/classes.exp:
* tests/classes.vala:
* vapi/glib-2.0.vapi:

Update to use compact classes where appropriate

svn path=/trunk/; revision=1425

16 years agoSupport qualified access to global symbols with `global::'
Juerg Billeter [Sun, 25 May 2008 11:40:01 +0000 (11:40 +0000)]
Support qualified access to global symbols with `global::'

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

* vala/valaparser.vala:
* vala/valascanner.vala:
* vala/valasymbolresolver.vala:
* vala/valatokentype.vala:
* vala/valaunresolvedsymbol.vala:

Support qualified access to global symbols with `global::'

svn path=/trunk/; revision=1424

16 years agovarious binding fixes, patch by Christian Meyer
Juerg Billeter [Sun, 25 May 2008 10:04:33 +0000 (10:04 +0000)]
various binding fixes, patch by Christian Meyer

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

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

svn path=/trunk/; revision=1423

16 years agoDeprecate static classes, patch by Jared Moore, fixes bug 524509
Juerg Billeter [Sun, 25 May 2008 09:47:07 +0000 (09:47 +0000)]
Deprecate static classes, patch by Jared Moore, fixes bug 524509

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

* vala/valaparser.vala:

Deprecate static classes, patch by Jared Moore, fixes bug 524509

* vala/valareport.vala:
* tests/classes.vala:
* tests/structs.vala:
* gobject-introspection/gidl.vapi:
* vapi/dbus-glib-1.vapi:
* vapi/glib-2.0.vapi:
* vapi/libxml-2.0.vapi:
* vapi/taglib_c.vapi:
* vapi/packages/gstreamer-video-0.10/:

Replace static classes by namespaces

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

svn path=/trunk/; revision=1422

16 years agoSupport destructors for non-GObject classes, patch by Jared Moore, fixes
Juerg Billeter [Sun, 25 May 2008 09:25:00 +0000 (09:25 +0000)]
Support destructors for non-GObject classes, patch by Jared Moore, fixes

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

* gobject/valaccodeclassbinding.vala:

Support destructors for non-GObject classes,
patch by Jared Moore, fixes bug 522135

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

Test destructors for non-GObject classes

svn path=/trunk/; revision=1421

16 years agoTrack error types that expressions can throw, based on patch by Jared
Juerg Billeter [Sun, 25 May 2008 09:09:39 +0000 (09:09 +0000)]
Track error types that expressions can throw, based on patch by Jared

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

* vala/valacodenode.vala:
* vala/valacreationmethod.vala:
* vala/valaexpression.vala:
* vala/valagenieparser.vala:
* vala/valainterfacewriter.vala:
* vala/valamethod.vala:
* vala/valanamespace.vala:
* vala/valaparser.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasourcefile.vala:
* gobject/valaccodeclassbinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodeinvocationexpressionbinding.vala:
* gobject/valaccodemethodbinding.vala:
* vapigen/valagidlparser.vala:
* vapigen/valavapigen.vala:

Track error types that expressions can throw,
based on patch by Jared Moore, fixes bug 482999

svn path=/trunk/; revision=1420

16 years agoUse signal handler wrappers for dynamic signals, patch by Yu Feng, fixes
Juerg Billeter [Sat, 24 May 2008 09:43:10 +0000 (09:43 +0000)]
Use signal handler wrappers for dynamic signals, patch by Yu Feng, fixes

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

* gobject/valaccodeassignmentbinding.vala:

Use signal handler wrappers for dynamic signals,
patch by Yu Feng, fixes bug 532290

svn path=/trunk/; revision=1419

16 years agoAdd get_dynamic_cname method to CCodeDynamicSignalBinding class, based on
Juerg Billeter [Sat, 24 May 2008 07:19:27 +0000 (07:19 +0000)]
Add get_dynamic_cname method to CCodeDynamicSignalBinding class, based on

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

* gobject/valaccodedynamicsignalbinding.vala:

Add get_dynamic_cname method to CCodeDynamicSignalBinding class,
based on patch by Yu Feng

svn path=/trunk/; revision=1418

16 years agoUse GStaticRecMutex for lock statements, patch by Philip Van Hoof, fixes
Juerg Billeter [Fri, 23 May 2008 21:41:15 +0000 (21:41 +0000)]
Use GStaticRecMutex for lock statements, patch by Philip Van Hoof, fixes

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

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

Use GStaticRecMutex for lock statements,
patch by Philip Van Hoof, fixes bug 532329

svn path=/trunk/; revision=1417

16 years agofix gtk_window_get_default_size binding, patch by Phil Housley
Juerg Billeter [Fri, 23 May 2008 21:15:12 +0000 (21:15 +0000)]
fix gtk_window_get_default_size binding, patch by Phil Housley

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

* vapi/packages/gtk+-2.0/: fix gtk_window_get_default_size binding,
patch by Phil Housley

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1416

16 years agoAdd bindings for constants, fix parameter direction for the gst_format_*
Juerg Billeter [Fri, 23 May 2008 20:43:50 +0000 (20:43 +0000)]
Add bindings for constants, fix parameter direction for the gst_format_*

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

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

Add bindings for constants, fix parameter direction for the
gst_format_* functions, patch by Ali Sabil

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

svn path=/trunk/; revision=1415

16 years agoFix the newsegment virtual method in GstBaseSrc, move the
Juerg Billeter [Fri, 23 May 2008 20:39:00 +0000 (20:39 +0000)]
Fix the newsegment virtual method in GstBaseSrc, move the

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

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

Fix the newsegment virtual method in GstBaseSrc, move the
GST_BASE_TRANSFORM_* constants to the GstBaseTransform class,
fix weak fields in GstBase*, and hide the abidata fields,
patch by Ali Sabil

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

svn path=/trunk/; revision=1414

16 years agoImprove the GstBuffer binding, base class fixes in metadata, patch by Ali
Juerg Billeter [Fri, 23 May 2008 20:29:54 +0000 (20:29 +0000)]
Improve the GstBuffer binding, base class fixes in metadata, patch by Ali

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

* vapi/packages/gstreamer-0.10/:

Improve the GstBuffer binding, base class fixes in metadata,
patch by Ali Sabil, fixes bug 510693 and bug 533011

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1413

16 years agoSupport [DBus (visible = false)] for methods, properties, and signals,
Juerg Billeter [Fri, 23 May 2008 19:25:16 +0000 (19:25 +0000)]
Support [DBus (visible = false)] for methods, properties, and signals,

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

* gobject/valaccodeclassbinding.vala:

Support [DBus (visible = false)] for methods, properties, and
signals, based on patch by Ali Sabil, fixes bug 532254

svn path=/trunk/; revision=1412

16 years agoadd DBus.ObjectPath class
Juerg Billeter [Fri, 23 May 2008 17:57:30 +0000 (17:57 +0000)]
add DBus.ObjectPath class

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

* vapi/dbus-glib-1.vapi: add DBus.ObjectPath class

svn path=/trunk/; revision=1411

16 years agofix syntax errors
Juerg Billeter [Fri, 23 May 2008 12:59:40 +0000 (12:59 +0000)]
fix syntax errors

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

* vapi/sdl.vapi: fix syntax errors

svn path=/trunk/; revision=1410

16 years agothank contributors
Juerg Billeter [Fri, 23 May 2008 12:41:08 +0000 (12:41 +0000)]
thank contributors

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

* THANKS: thank contributors

svn path=/trunk/; revision=1409

16 years agoadd GLogFunc and g_log_set_handler bindings, patch by Nicolas Joseph,
Juerg Billeter [Fri, 23 May 2008 09:35:29 +0000 (09:35 +0000)]
add GLogFunc and g_log_set_handler bindings, patch by Nicolas Joseph,

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

* vapi/glib-2.0.vapi: add GLogFunc and g_log_set_handler bindings,
patch by Nicolas Joseph, fixes bug 533601

svn path=/trunk/; revision=1408

16 years agonullable fixes, patch by Andrea Del Signore, fixes bug 533278
Juerg Billeter [Fri, 23 May 2008 09:22:28 +0000 (09:22 +0000)]
nullable fixes, patch by Andrea Del Signore, fixes bug 533278

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

* vapi/packages/gnome-keyring-1/: nullable fixes,
patch by Andrea Del Signore, fixes bug 533278

* vapi/gnome-keyring-1.vapi: regenerated

svn path=/trunk/; revision=1407

16 years agoFix private class fields, patch by Jared Moore, fixes bug 532898
Juerg Billeter [Fri, 23 May 2008 09:12:34 +0000 (09:12 +0000)]
Fix private class fields, patch by Jared Moore, fixes bug 532898

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

* gobject/valaccodegenerator.vala:

Fix private class fields, patch by Jared Moore, fixes bug 532898

* tests/classes-fields.vala:

Test class fields

svn path=/trunk/; revision=1406

16 years agoAllow invocation of void methods as initializer and iterator in for
Juerg Billeter [Fri, 23 May 2008 08:44:13 +0000 (08:44 +0000)]
Allow invocation of void methods as initializer and iterator in for

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

* vala/valasemanticanalyzer.vala:

Allow invocation of void methods as initializer and iterator in
for statements, patch by Jared Moore, fixes bug 514801

* tests/Makefile.am:
* tests/statements-iteration.exp:
* tests/statements-iteration.vala:

Test void methods in for statements

svn path=/trunk/; revision=1405

16 years agoAdd libtiff bindings, patch by Christian Meyer
Juerg Billeter [Thu, 22 May 2008 20:21:19 +0000 (20:21 +0000)]
Add libtiff bindings, patch by Christian Meyer

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

* vapi/Makefile.am:
* vapi/tiff.vapi:

Add libtiff bindings, patch by Christian Meyer

svn path=/trunk/; revision=1404

16 years agoAdd support for """verbatim strings"""
Juerg Billeter [Tue, 20 May 2008 21:27:06 +0000 (21:27 +0000)]
Add support for """verbatim strings"""

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

* vala/valaparser.vala:
* vala/valascanner.vala:
* vala/valatokentype.vala:

Add support for """verbatim strings"""

svn path=/trunk/; revision=1403

16 years agoFix D-Bus method calls returning arrays, fixes bug 529351
Juerg Billeter [Tue, 20 May 2008 16:34:39 +0000 (16:34 +0000)]
Fix D-Bus method calls returning arrays, fixes bug 529351

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

* gobject/valaccodedynamicmethodbinding.vala:

Fix D-Bus method calls returning arrays, fixes bug 529351

svn path=/trunk/; revision=1402

16 years agoAdd parser for Genie, patch by Jamie McCracken
Juerg Billeter [Mon, 19 May 2008 20:28:13 +0000 (20:28 +0000)]
Add parser for Genie, patch by Jamie McCracken

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

* vala/Makefile.am:
* vala/valagenieparser.vala:
* vala/valageniescanner.vala:
* vala/valagenietokentype.vala:
* vala/valaparser.vala:
* vala/valasourcefile.vala:
* compiler/valacompiler.vala:

Add parser for Genie, patch by Jamie McCracken

svn path=/trunk/; revision=1401

16 years agoUse g_free as default free function for nullable value types
Juerg Billeter [Sun, 18 May 2008 18:36:36 +0000 (18:36 +0000)]
Use g_free as default free function for nullable value types

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

* gobject/valaccodegenerator.vala:

Use g_free as default free function for nullable value types

svn path=/trunk/; revision=1400

16 years agoDon't report value ownership errors for non-disposable types
Juerg Billeter [Sun, 18 May 2008 18:27:32 +0000 (18:27 +0000)]
Don't report value ownership errors for non-disposable types

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

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

Don't report value ownership errors for non-disposable types

svn path=/trunk/; revision=1399

16 years agoAdd support for dynamic properties
Juerg Billeter [Sun, 18 May 2008 16:57:27 +0000 (16:57 +0000)]
Add support for dynamic properties

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

* vala/Makefile.am:
* vala/valacodegenerator.vala:
* vala/valadynamicproperty.vala:
* vala/valasemanticanalyzer.vala:
* gobject/Makefile.am:
* gobject/valaccodedynamicmethodbinding.vala:
* gobject/valaccodedynamicpropertybinding.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodememberaccessbinding.vala:

Add support for dynamic properties

svn path=/trunk/; revision=1398

16 years agofix typo in GSpawnFlags binding, fixes bug 533046
Juerg Billeter [Sat, 17 May 2008 19:02:55 +0000 (19:02 +0000)]
fix typo in GSpawnFlags binding, fixes bug 533046

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

* vapi/glib-2.0.vapi: fix typo in GSpawnFlags binding,
fixes bug 533046

svn path=/trunk/; revision=1397