platform/upstream/vala.git
16 years agoUse lazy initialization for code bindings
Juerg Billeter [Sat, 19 Apr 2008 05:34:20 +0000 (05:34 +0000)]
Use lazy initialization for code bindings

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

* vala/valaarraycreationexpression.vala, vala/valaassignment.vala,
  vala/valacodebinding.vala, vala/valacodecontext.vala,
  vala/valacodenode.vala, vala/valaelementaccess.vala,
  vala/valamethod.vala, vala/valaparser.vala,
  vala/valasemanticanalyzer.vala,
  gobject/valaccodearraycreationexpressionbinding.vala,
  gobject/valaccodeassignmentbinding.vala,
  gobject/valaccodebinding.vala,
  gobject/valaccodeelementaccessbinding.vala,
  gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratormemberaccess.vala,
  gobject/valaccodemethodbinding.vala,
  gobject/valadbusbindingprovider.vala:

  Use lazy initialization for code bindings

svn path=/trunk/; revision=1259

16 years agofix casts to GTypeInstance
Juerg Billeter [Fri, 18 Apr 2008 22:06:11 +0000 (22:06 +0000)]
fix casts to GTypeInstance

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

* gobject/valaccodegenerator.vala: fix casts to GTypeInstance

* vapi/glib-2.0.vapi: add get_type method to GLib.TypeInstance

svn path=/trunk/; revision=1258

16 years agocheck accessiblity of base types of classes and interfaces, fixes bug
Juerg Billeter [Fri, 18 Apr 2008 21:49:39 +0000 (21:49 +0000)]
check accessiblity of base types of classes and interfaces, fixes bug

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

* vala/valasemanticanalyzer.vala: check accessiblity of base types
  of classes and interfaces, fixes bug 514262

svn path=/trunk/; revision=1257

16 years agodon't report secondary syntax errors, fixes bug 511896
Juerg Billeter [Fri, 18 Apr 2008 21:40:37 +0000 (21:40 +0000)]
don't report secondary syntax errors, fixes bug 511896

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

* vala/valaparser.vala: don't report secondary syntax errors,
  fixes bug 511896

svn path=/trunk/; revision=1256

16 years agomake sure that ref_function and unref_function of classes deriving from
Juerg Billeter [Fri, 18 Apr 2008 21:26:04 +0000 (21:26 +0000)]
make sure that ref_function and unref_function of classes deriving from

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

* vala/valaclass.vala, gobject/valaccodegeneratorclass.vala: make
  sure that ref_function and unref_function of classes deriving
  from GTypeInstance are always initialized

svn path=/trunk/; revision=1255

16 years agoensure all classes have a default construction method
Juerg Billeter [Fri, 18 Apr 2008 21:08:34 +0000 (21:08 +0000)]
ensure all classes have a default construction method

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

* vala/valaparser.vala: ensure all classes have a default
  construction method

svn path=/trunk/; revision=1254

16 years agorestore compatibility with sqlite < 3.5.0
Juerg Billeter [Thu, 17 Apr 2008 20:31:50 +0000 (20:31 +0000)]
restore compatibility with sqlite < 3.5.0

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

* vapi/sqlite3.vapi: restore compatibility with sqlite < 3.5.0

svn path=/trunk/; revision=1253

16 years agoreport error when using `this' or `base' access outside of instance
Juerg Billeter [Thu, 17 Apr 2008 20:01:36 +0000 (20:01 +0000)]
report error when using `this' or `base' access outside of instance

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

* vala/valasemanticanalyzer.vala: report error when using `this' or
  `base' access outside of instance methods

svn path=/trunk/; revision=1252

16 years agocomplete glib-2.0 enum and flags bindings, fixes bug 528114
Marc-Andre Lureau [Wed, 16 Apr 2008 22:27:14 +0000 (22:27 +0000)]
complete glib-2.0 enum and flags bindings, fixes bug 528114

2008-04-16  Marc-Andre Lureau  <marcandre.lureau@gmail.com>

* vapi/glib-2.0.vapi (EnumClass, FlagsClass, FlagsValue): complete
glib-2.0 enum and flags bindings, fixes bug 528114

svn path=/trunk/; revision=1251

16 years agoreplace `pointer' by void*, patch by Levi Bard
Juerg Billeter [Wed, 16 Apr 2008 21:27:11 +0000 (21:27 +0000)]
replace `pointer' by void*, patch by Levi Bard

2008-04-16  Juerg Billeter  <j@bitron.ch>

* vapi/sdl-gfx.vapi, vapi/sdl-image.vapi, vapi/sdl-mixer.vapi,
  vapi/sdl.vapi: replace `pointer' by void*, patch by Levi Bard

svn path=/trunk/; revision=1250

16 years agofix error handling in static constructors, fixes bug 528111
Juerg Billeter [Wed, 16 Apr 2008 21:05:06 +0000 (21:05 +0000)]
fix error handling in static constructors, fixes bug 528111

2008-04-16  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegenerator.vala: fix error handling in static
  constructors, fixes bug 528111

svn path=/trunk/; revision=1249

16 years agofix dbus_connection_setup_with_g_main binding
Juerg Billeter [Wed, 16 Apr 2008 20:52:32 +0000 (20:52 +0000)]
fix dbus_connection_setup_with_g_main binding

2008-04-16  Juerg Billeter  <j@bitron.ch>

* vapi/dbus-glib-1.vapi: fix dbus_connection_setup_with_g_main binding

svn path=/trunk/; revision=1248

16 years agoFix base access with virtual interface methods, fixes bug 528457
Juerg Billeter [Wed, 16 Apr 2008 20:41:50 +0000 (20:41 +0000)]
Fix base access with virtual interface methods, fixes bug 528457

2008-04-16  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratorinvocationexpression.vala,
  gobject/valaccodegeneratormemberaccess.vala:

  Fix base access with virtual interface methods, fixes bug 528457

* tests/classes-methods.vala: test base access

svn path=/trunk/; revision=1247

16 years agoimprove error handling, fixes bug 528431
Juerg Billeter [Wed, 16 Apr 2008 16:24:46 +0000 (16:24 +0000)]
improve error handling, fixes bug 528431

2008-04-16  Juerg Billeter  <j@bitron.ch>

* vala/valaparser.vala: improve error handling, fixes bug 528431

svn path=/trunk/; revision=1246

16 years agoFix generated C code when calling struct methods
Juerg Billeter [Wed, 16 Apr 2008 16:15:53 +0000 (16:15 +0000)]
Fix generated C code when calling struct methods

2008-04-16  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegeneratorinvocationexpression.vala:

  Fix generated C code when calling struct methods

svn path=/trunk/; revision=1245

16 years agoFix generated C code when passing structs by reference, fixes bug 528414
Juerg Billeter [Wed, 16 Apr 2008 15:56:27 +0000 (15:56 +0000)]
Fix generated C code when passing structs by reference, fixes bug 528414

2008-04-16  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratorinvocationexpression.vala:

  Fix generated C code when passing structs by reference,
  fixes bug 528414

svn path=/trunk/; revision=1244

16 years agoRename VariableDeclarator to LocalVariable, remove
Juerg Billeter [Wed, 16 Apr 2008 15:45:33 +0000 (15:45 +0000)]
Rename VariableDeclarator to LocalVariable, remove

2008-04-16  Juerg Billeter  <j@bitron.ch>

* vala/Makefile.am, vala/vala.h, vala/valablock.vala,
  vala/valacatchclause.vala, vala/valacfgbuilder.vala,
  vala/valaclass.vala, vala/valacodecontext.vala,
  vala/valacodegenerator.vala, vala/valacodevisitor.vala,
  vala/valadeclarationstatement.vala, vala/valaexpression.vala,
  vala/valaforeachstatement.vala, vala/valainterface.vala,
  vala/valalocalvariable.vala, vala/valamemorymanager.vala,
  vala/valamethod.vala, vala/valanullchecker.vala,
  vala/valaparser.vala, vala/valasemanticanalyzer.vala,
  vala/valastruct.vala, vala/valaswitchsection.vala,
  vala/valasymbolresolver.vala,
  gobject/valaccodearraycreationexpressionbinding.vala,
  gobject/valaccodeassignmentbinding.vala,
  gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratorinvocationexpression.vala,
  gobject/valaccodegeneratormemberaccess.vala:

  Rename VariableDeclarator to LocalVariable,
  remove LocalVariableDeclaration class

svn path=/trunk/; revision=1243

16 years agoMake DestroyNotify delegate argument nullable.
Marc-Andre Lureau [Wed, 16 Apr 2008 14:27:47 +0000 (14:27 +0000)]
Make DestroyNotify delegate argument nullable.

2008-04-16  Marc-Andre Lureau  <marcandre.lureau@gmail.com>

* vapi/glib-2.0.vapi: Make DestroyNotify delegate argument
nullable.

svn path=/trunk/; revision=1242

16 years agoupdate for use with non-null types
Juerg Billeter [Tue, 15 Apr 2008 21:40:33 +0000 (21:40 +0000)]
update for use with non-null types

2008-04-15  Juerg Billeter  <j@bitron.ch>

* vala/valascope.vala: update for use with non-null types

svn path=/trunk/; revision=1241

16 years agofix cairo_set_dash binding
Juerg Billeter [Tue, 15 Apr 2008 21:32:29 +0000 (21:32 +0000)]
fix cairo_set_dash binding

2008-04-15  Juerg Billeter  <j@bitron.ch>

* vapi/cairo.vapi: fix cairo_set_dash binding

svn path=/trunk/; revision=1240

16 years agofix g_main_loop_new binding, patch by Andrea Del Signore
Juerg Billeter [Tue, 15 Apr 2008 20:27:37 +0000 (20:27 +0000)]
fix g_main_loop_new binding, patch by Andrea Del Signore

2008-04-15  Juerg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi: fix g_main_loop_new binding,
  patch by Andrea Del Signore

svn path=/trunk/; revision=1239

16 years agofix gtk_message_dialog_new* bindings, patch by Phil Housley
Juerg Billeter [Tue, 15 Apr 2008 20:15:40 +0000 (20:15 +0000)]
fix gtk_message_dialog_new* bindings, patch by Phil Housley

2008-04-15  Juerg Billeter  <j@bitron.ch>

* vapi/packages/gtk+-2.0/: fix gtk_message_dialog_new* bindings,
  patch by Phil Housley

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1238

16 years agoRemove is_ref and is_out properties from DataType class, add direction
Juerg Billeter [Tue, 15 Apr 2008 20:07:19 +0000 (20:07 +0000)]
Remove is_ref and is_out properties from DataType class, add direction

2008-04-15  Juerg Billeter  <j@bitron.ch>

* vala/valaarraytype.vala, vala/valaclasstype.vala,
  vala/valadatatype.vala, vala/valaformalparameter.vala,
  vala/valainterfacetype.vala, vala/valainterfacewriter.vala,
  vala/valanulltype.vala, vala/valaparser.vala,
  vala/valasemanticanalyzer.vala, vala/valasymbolresolver.vala,
  vala/valatypeparametertype.vala, vala/valaunresolvedtype.vala,
  vala/valavaluetype.vala, gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratorinterface.vala,
  gobject/valaccodegeneratorinvocationexpression.vala,
  gobject/valaccodegeneratormemberaccess.vala,
  gobject/valaccodegeneratormethod.vala,
  gobject/valaccodegeneratorsignal.vala,
  gobject/valagidlwriter.vala, vapigen/valagidlparser.vala:

  Remove is_ref and is_out properties from DataType class, add
  direction property to FormalParameter class

svn path=/trunk/; revision=1237

16 years agoimprove error handling
Juerg Billeter [Tue, 15 Apr 2008 19:01:12 +0000 (19:01 +0000)]
improve error handling

2008-04-15  Juerg Billeter  <j@bitron.ch>

* vala/valaparser.vala: improve error handling

svn path=/trunk/; revision=1236

16 years agoset transfers_ownership of delegate return type
Juerg Billeter [Mon, 14 Apr 2008 21:55:36 +0000 (21:55 +0000)]
set transfers_ownership of delegate return type

2008-04-14  Juerg Billeter  <j@bitron.ch>

* vala/valaparser.vala: set transfers_ownership of delegate
  return type

svn path=/trunk/; revision=1235

16 years agoupdate for use with non-null types, patch by Andreas Brauchli
Juerg Billeter [Mon, 14 Apr 2008 21:13:57 +0000 (21:13 +0000)]
update for use with non-null types, patch by Andreas Brauchli

2008-04-14  Juerg Billeter  <j@bitron.ch>

* vapi/libxml-2.0.vapi: update for use with non-null types,
  patch by Andreas Brauchli

svn path=/trunk/; revision=1234

16 years agoupdate for use with non-null types, patch by Phil Housley
Juerg Billeter [Mon, 14 Apr 2008 21:08:08 +0000 (21:08 +0000)]
update for use with non-null types, patch by Phil Housley

2008-04-14  Juerg Billeter  <j@bitron.ch>

* vapi/sqlite3.vapi: update for use with non-null types,
  patch by Phil Housley

svn path=/trunk/; revision=1233

16 years agoupdate for use with non-null types, patch by Levi Bard, fixes bug 528097
Juerg Billeter [Mon, 14 Apr 2008 20:35:59 +0000 (20:35 +0000)]
update for use with non-null types, patch by Levi Bard, fixes bug 528097

2008-04-14  Juerg Billeter  <j@bitron.ch>

* vapi/sdl-mixer.vapi, vapi/sdl-ttf.vapi, vapi/sdl.vapi: update for
  use with non-null types, patch by Levi Bard, fixes bug 528097

svn path=/trunk/; revision=1232

16 years agomark pointers as nullable
Juerg Billeter [Mon, 14 Apr 2008 20:28:36 +0000 (20:28 +0000)]
mark pointers as nullable

2008-04-14  Juerg Billeter  <j@bitron.ch>

* vala/valaparser.vala, vala/valapointertype.vala,
  vala/valasymbolresolver.vala: mark pointers as nullable

svn path=/trunk/; revision=1231

16 years agoimprove error handling, fixes bug 528073
Juerg Billeter [Mon, 14 Apr 2008 20:04:19 +0000 (20:04 +0000)]
improve error handling, fixes bug 528073

2008-04-14  Juerg Billeter  <j@bitron.ch>

* vala/valaparser.vala: improve error handling, fixes bug 528073

svn path=/trunk/; revision=1230

16 years agoreport warning when using null literal as argument for non-null parameter
Juerg Billeter [Mon, 14 Apr 2008 19:54:28 +0000 (19:54 +0000)]
report warning when using null literal as argument for non-null parameter

2008-04-14  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: report warning when using null
  literal as argument for non-null parameter

* vapi/glib-2.0.vapi: fix warnings

svn path=/trunk/; revision=1229

16 years agoreport warning when using null literal as return expression of method
Juerg Billeter [Mon, 14 Apr 2008 19:07:37 +0000 (19:07 +0000)]
report warning when using null literal as return expression of method

2008-04-14  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: report warning when using null
  literal as return expression of method returning non-null value

* */*.vala: fix warnings

svn path=/trunk/; revision=1228

16 years agoremove "!".
Marc-Andre Lureau [Mon, 14 Apr 2008 18:48:33 +0000 (18:48 +0000)]
remove "!".

2008-04-14  Marc-Andre Lureau  <marcandre.lureau@gmail.com>

* vapi/dbus-glib-1.vapi, vapi/enchant.vapi, vapi/libxml-2.0.vapi,
vapi/sqlite3.vapi, vapi/taglib_c.vapi: remove "!".

svn path=/trunk/; revision=1227

16 years agoreport error when using null literal as default expression of non-null
Juerg Billeter [Mon, 14 Apr 2008 18:16:48 +0000 (18:16 +0000)]
report error when using null literal as default expression of non-null

2008-04-14  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: report error when using null
  literal as default expression of non-null parameter,
  fixes bug 528021

* gee/readonlycollection.vala, gee/readonlylist.vala,
  gee/readonlymap.vala, gee/readonlyset.vala, vala/valascope.vala,
  ccode/valaccodeforstatement.vala, ccode/valaccodewhilestatement.vala,
  vapigen/valavapicheck.vala, vapi/glib-2.0.vapi: fix revealed bugs

svn path=/trunk/; revision=1226

16 years agofix infinite loop on invalid syntax, fixes bug 528017
Juerg Billeter [Mon, 14 Apr 2008 18:00:04 +0000 (18:00 +0000)]
fix infinite loop on invalid syntax, fixes bug 528017

2008-04-14  Juerg Billeter  <j@bitron.ch>

* vala/valaparser.vala: fix infinite loop on invalid syntax,
  fixes bug 528017

svn path=/trunk/; revision=1225

16 years agoreport warning when using weak type modifier in cast expressions, fixes
Juerg Billeter [Mon, 14 Apr 2008 17:48:59 +0000 (17:48 +0000)]
report warning when using weak type modifier in cast expressions, fixes

2008-04-14  Juerg Billeter  <j@bitron.ch>

* vala/valaparser.vala: report warning when using weak type
  modifier in cast expressions, fixes bug 527990

svn path=/trunk/; revision=1224

16 years agofix interface base access, fixes bug 527985
Juerg Billeter [Mon, 14 Apr 2008 17:04:37 +0000 (17:04 +0000)]
fix interface base access, fixes bug 527985

2008-04-14  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: fix interface base access,
  fixes bug 527985

svn path=/trunk/; revision=1223

16 years agoprepare support for nullable and boxed value types
Juerg Billeter [Mon, 14 Apr 2008 16:49:37 +0000 (16:49 +0000)]
prepare support for nullable and boxed value types

2008-04-14  Juerg Billeter  <j@bitron.ch>

* vala/valaclass.vala, vala/valainterface.vala,
  vala/valatypesymbol.vala, vala/valavaluetype.vala,
  gobject/valaccodegenerator.vala: prepare support for nullable and
  boxed value types

svn path=/trunk/; revision=1222

16 years agomove experimental null reference checking to separate visitor
Juerg Billeter [Mon, 14 Apr 2008 15:54:19 +0000 (15:54 +0000)]
move experimental null reference checking to separate visitor

2008-04-14  Juerg Billeter  <j@bitron.ch>

* vala/Makefile.am, vala/valaarraytype.vala,
  vala/valaclasstype.vala, vala/valacodenode.vala,
  vala/valadatatype.vala, vala/valaerrortype.vala,
  vala/valaintegertype.vala, vala/valainterfacetype.vala,
  vala/valamethodtype.vala, vala/valanullchecker.vala,
  vala/valanulltype.vala, vala/valaparser.vala,
  vala/valapointertype.vala, vala/valasemanticanalyzer.vala,
  vala/valasymbolresolver.vala, vala/valatypeparametertype.vala,
  vala/valaunresolvedtype.vala, vala/valavaluetype.vala,
  gobject/valaccodegenerator.vala, compiler/valacompiler.vala,
  vapigen/valagidlparser.vala: move experimental null reference
  checking to separate visitor

svn path=/trunk/; revision=1221

16 years agorenamed register_transform to register_transform_func.
Marc-Andre Lureau [Mon, 14 Apr 2008 09:39:09 +0000 (09:39 +0000)]
renamed register_transform to register_transform_func.

2008-04-14  Marc-Andre Lureau  <marcandre.lureau@gmail.com>

* vapi/glib-2.0.vapi (Value): renamed register_transform to
register_transform_func.

svn path=/trunk/; revision=1220

16 years agodon't require `new' operator for struct initialization, fixes bug 526547
Juerg Billeter [Mon, 14 Apr 2008 06:15:19 +0000 (06:15 +0000)]
don't require `new' operator for struct initialization, fixes bug 526547

2008-04-14  Juerg Billeter  <j@bitron.ch>

* vala/valaobjectcreationexpression.vala, vala/valaparser.vala,
  vala/valasemanticanalyzer.vala: don't require `new' operator for
  struct initialization, fixes bug 526547

* tests/structs.vala: port to new syntax

svn path=/trunk/; revision=1219

16 years agoremove warning about unsupported return types for runtime type checks, we
Juerg Billeter [Sun, 13 Apr 2008 20:28:51 +0000 (20:28 +0000)]
remove warning about unsupported return types for runtime type checks, we

2008-04-13  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegeneratormethod.vala: remove warning about
  unsupported return types for runtime type checks, we intend to
  use out parameters instead of return values for structs in
  generated C code in future versions

svn path=/trunk/; revision=1218

16 years agofix method compatibility checks, based on patch by Andreas Brauchli, fixes
Juerg Billeter [Sun, 13 Apr 2008 20:20:54 +0000 (20:20 +0000)]
fix method compatibility checks, based on patch by Andreas Brauchli, fixes

2008-04-13  Juerg Billeter  <j@bitron.ch>

* vala/valamethod.vala, vala/valasemanticanalyzer.vala:
  fix method compatibility checks,
  based on patch by Andreas Brauchli, fixes bug 527751

svn path=/trunk/; revision=1217

16 years agoadd GDatalist bindings, patch by Marc-Andre Lureau, fixes bug 527243
Juerg Billeter [Sun, 13 Apr 2008 19:46:45 +0000 (19:46 +0000)]
add GDatalist bindings, patch by Marc-Andre Lureau, fixes bug 527243

2008-04-13  Juerg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi: add GDatalist bindings,
  patch by Marc-Andre Lureau, fixes bug 527243

* vapi/packages/gtk+-2.0/: fix GtkSettings binding

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1216

16 years agosupport generic structs
Juerg Billeter [Sun, 13 Apr 2008 19:37:49 +0000 (19:37 +0000)]
support generic structs

2008-04-13  Juerg Billeter  <j@bitron.ch>

* vala/valaparser.vala: support generic structs

svn path=/trunk/; revision=1215

16 years agofix typo
Juerg Billeter [Sun, 13 Apr 2008 19:25:13 +0000 (19:25 +0000)]
fix typo

2008-04-13  Juerg Billeter  <j@bitron.ch>

* compiler/valacompiler.vala: fix typo

svn path=/trunk/; revision=1214

16 years agoenable non-null types by default, replace --enable-non-null commandline
Juerg Billeter [Sun, 13 Apr 2008 19:05:00 +0000 (19:05 +0000)]
enable non-null types by default, replace --enable-non-null commandline

2008-04-13  Juerg Billeter  <j@bitron.ch>

* compiler/valacompiler.vala: enable non-null types by default,
  replace --enable-non-null commandline option by --disable-non-null

svn path=/trunk/; revision=1213

16 years agofix build when using non-null types
Juerg Billeter [Sun, 13 Apr 2008 19:01:07 +0000 (19:01 +0000)]
fix build when using non-null types

2008-04-13  Juerg Billeter  <j@bitron.ch>

* */*.vala: fix build when using non-null types

svn path=/trunk/; revision=1212

16 years agoAdd --enable-non-null-experimental commandline option
Juerg Billeter [Sun, 13 Apr 2008 18:48:00 +0000 (18:48 +0000)]
Add --enable-non-null-experimental commandline option

2008-04-13  Juerg Billeter  <j@bitron.ch>

* vala/valacodecontext.vala, vala/valasemanticanalyzer.vala,
  gobject/valaccodegenerator.vala, compiler/valacompiler.vala:
  Add --enable-non-null-experimental commandline option

svn path=/trunk/; revision=1211

16 years agofix issues when using non-null types
Juerg Billeter [Sun, 13 Apr 2008 18:24:20 +0000 (18:24 +0000)]
fix issues when using non-null types

2008-04-13  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala, vala/valasymbolresolver.vala:
  fix issues when using non-null types

svn path=/trunk/; revision=1210

16 years agodeprecate construct as parameter modifier, fixes bug 524138
Juerg Billeter [Sun, 13 Apr 2008 16:17:00 +0000 (16:17 +0000)]
deprecate construct as parameter modifier, fixes bug 524138

2008-04-13  Juerg Billeter  <j@bitron.ch>

* vala/valaparser.vala: deprecate construct as parameter modifier,
  fixes bug 524138

* */*.vala: port to new syntax

svn path=/trunk/; revision=1209

16 years agoreport warning when using obsolete syntax for non-null types
Juerg Billeter [Sun, 13 Apr 2008 15:44:44 +0000 (15:44 +0000)]
report warning when using obsolete syntax for non-null types

2008-04-13  Juerg Billeter  <j@bitron.ch>

* vala/valaparser.vala: report warning when using obsolete syntax
  for non-null types

* */*.vala, */*.vapi: port to new syntax

svn path=/trunk/; revision=1208

16 years agoreport warning when using deprecated syntax for property default values
Juerg Billeter [Sun, 13 Apr 2008 15:06:51 +0000 (15:06 +0000)]
report warning when using deprecated syntax for property default values

2008-04-13  Juerg Billeter  <j@bitron.ch>

* vala/valaparser.vala: report warning when using deprecated syntax
  for property default values

* vala/valaconstructor.vala, vala/valaenum.vala: port to new syntax

svn path=/trunk/; revision=1207

16 years agoadd init, register_transform, and boxed bindings, fixes bug 514349.
Marc-Andre Lureau [Sun, 13 Apr 2008 14:07:04 +0000 (14:07 +0000)]
add init, register_transform, and boxed bindings, fixes bug 514349.

2008-04-13  Marc-Andre Lureau  <marcandre.lureau@gmail.com>

* vapi/glib-2.0.vapi (Value): add init, register_transform, and
boxed bindings, fixes bug 514349.

svn path=/trunk/; revision=1206

16 years agonever use ClassType for ErrorType instances
Juerg Billeter [Sun, 13 Apr 2008 13:34:42 +0000 (13:34 +0000)]
never use ClassType for ErrorType instances

2008-04-13  Juerg Billeter  <j@bitron.ch>

* vala/valaerrortype.vala, vala/valasemanticanalyzer.vala: never use
  ClassType for ErrorType instances

* vapi/glib-2.0.vapi: use errordomains instead of enums with
  [ErrorDomain] attribute

svn path=/trunk/; revision=1205

16 years agosupport takes_ownership metadata attribute for method parameters
Juerg Billeter [Sun, 13 Apr 2008 12:38:46 +0000 (12:38 +0000)]
support takes_ownership metadata attribute for method parameters

2008-04-13  Juerg Billeter  <j@bitron.ch>

* vapigen/valagidlparser.vala: support takes_ownership metadata
  attribute for method parameters

* vapi/packages/gnome-keyring-1/: AttributeList fixes,
  patch by Ross Burton, fixes bug 527522

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

svn path=/trunk/; revision=1204

16 years agodon't use `weak' for value types used as type arguments
Juerg Billeter [Sun, 13 Apr 2008 12:30:03 +0000 (12:30 +0000)]
don't use `weak' for value types used as type arguments

2008-04-13  Juerg Billeter  <j@bitron.ch>

* vala/valadatatype.vala: don't use `weak' for value types used as
  type arguments

* vapigen/valagidlparser.vala: add metadata attribute to specify
  type arguments

* vapi/packages/gnome-keyring-1/: fix
  gnome_keyring_list_item_ids_sync binding, fixes bug 527230

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

svn path=/trunk/; revision=1203

16 years agoset correct source_reference for property accessors
Juerg Billeter [Sun, 13 Apr 2008 12:05:05 +0000 (12:05 +0000)]
set correct source_reference for property accessors

2008-04-13  Juerg Billeter  <j@bitron.ch>

* vala/valaparser.vala: set correct source_reference for property
  accessors

* vala/valasemanticanalyzer.vala: set source_reference for
  generated code of automatic properties, fixes bug 527131

svn path=/trunk/; revision=1202

16 years agofix DBusGProxyCall binding, fixes bug 527127
Juerg Billeter [Sun, 13 Apr 2008 11:55:27 +0000 (11:55 +0000)]
fix DBusGProxyCall binding, fixes bug 527127

2008-04-13  Juerg Billeter  <j@bitron.ch>

* vapi/dbus-glib-1.vapi: fix DBusGProxyCall binding,
  fixes bug 527127

svn path=/trunk/; revision=1201

16 years agoimplement get_type_id
Juerg Billeter [Sun, 13 Apr 2008 11:52:43 +0000 (11:52 +0000)]
implement get_type_id

2008-04-13  Juerg Billeter  <j@bitron.ch>

* vala/valaerrortype.vala: implement get_type_id

* gobject/valaccodeassignmentbinding.vala: don't crash when using
  unsupported parameter types in D-Bus signal handlers

Fixes bug 527027

svn path=/trunk/; revision=1200

16 years agosupported declaration-only interfaces
Juerg Billeter [Sun, 13 Apr 2008 11:30:20 +0000 (11:30 +0000)]
supported declaration-only interfaces

2008-04-13  Juerg Billeter  <j@bitron.ch>

* vala/valaparser.vala: supported declaration-only interfaces

svn path=/trunk/; revision=1199

16 years agomake set_cname public
Juerg Billeter [Sun, 13 Apr 2008 11:26:05 +0000 (11:26 +0000)]
make set_cname public

2008-04-13  Juerg Billeter  <j@bitron.ch>

* vala/valafield.vala: make set_cname public

* vapigen/valagidlparser.vala: set cname of fields if necessary,
  fixes bug 526992

* vapi/gdk-2.0.vapi: regenerated

svn path=/trunk/; revision=1198

16 years agosupport type_name metadata attribute for method parameters
Juerg Billeter [Sun, 13 Apr 2008 11:19:25 +0000 (11:19 +0000)]
support type_name metadata attribute for method parameters

2008-04-13  Juerg Billeter  <j@bitron.ch>

* vapigen/valagidlparser.vala: support type_name metadata attribute
  for method parameters

* vapi/packages/gtk+-2.0/: fix gtk_action_group_add_radio_actions
  binding, fixes bug 526871

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1197

16 years agoallow object creation expressions in expression statements
Juerg Billeter [Sun, 13 Apr 2008 10:48:43 +0000 (10:48 +0000)]
allow object creation expressions in expression statements

2008-04-13  Juerg Billeter  <j@bitron.ch>

* vala/valaparser.vala: allow object creation expressions in
  expression statements

svn path=/trunk/; revision=1196

16 years agohandle access modifier for signals
Juerg Billeter [Sun, 13 Apr 2008 09:59:29 +0000 (09:59 +0000)]
handle access modifier for signals

2008-04-13  Juerg Billeter  <j@bitron.ch>

* vala/valaparser.vala: handle access modifier for signals

svn path=/trunk/; revision=1195

16 years agoReplace generated Vala scanner and parser by handwritten classes
Juerg Billeter [Sun, 13 Apr 2008 09:25:25 +0000 (09:25 +0000)]
Replace generated Vala scanner and parser by handwritten classes

2008-04-13  Juerg Billeter  <j@bitron.ch>

* vala/Makefile.am, vala/valaassignment.vala,
  vala/valabinaryexpression.vala, vala/valaclass.vala,
  vala/valanamespace.vala, vala/valaparser.vala,
  vala/valascanner.vala, vala/valascope.vala,
  vala/valasourcefile.vala, vala/valasourcelocation.vala,
  vala/valatokentype.vala, vala/valatuple.vala,
  vala/valaunaryexpression.vala, vala/valaunresolvedtype.vala:

  Replace generated Vala scanner and parser by handwritten classes

svn path=/trunk/; revision=1194

16 years agoadd GEnumClass and GEnumValue bindings
Juerg Billeter [Sun, 13 Apr 2008 09:14:39 +0000 (09:14 +0000)]
add GEnumClass and GEnumValue bindings

2008-04-13  Juerg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi: add GEnumClass and GEnumValue bindings

svn path=/trunk/; revision=1193

16 years agoBump version to 0.3.1
Juerg Billeter [Sun, 13 Apr 2008 09:07:46 +0000 (09:07 +0000)]
Bump version to 0.3.1

2008-04-13  Juerg Billeter  <j@bitron.ch>

* configure.ac: Bump version to 0.3.1

svn path=/trunk/; revision=1192

16 years agovarious improvements, patch by Evan Nemerson
Juerg Billeter [Sat, 12 Apr 2008 20:41:17 +0000 (20:41 +0000)]
various improvements, patch by Evan Nemerson

2008-04-12  Juerg Billeter  <j@bitron.ch>

* vapi/sqlite3.vapi: various improvements, patch by Evan Nemerson

svn path=/trunk/; revision=1190

16 years agofix sscanf and add g_hash_table_remove_all bindings, patch by Evan
Juerg Billeter [Sat, 12 Apr 2008 20:34:27 +0000 (20:34 +0000)]
fix sscanf and add g_hash_table_remove_all bindings, patch by Evan

2008-04-12  Juerg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi: fix sscanf and add g_hash_table_remove_all
  bindings, patch by Evan Nemerson

svn path=/trunk/; revision=1189

16 years agoPost-release version bump
Juerg Billeter [Mon, 7 Apr 2008 21:44:56 +0000 (21:44 +0000)]
Post-release version bump

2008-04-07  Juerg Billeter  <j@bitron.ch>

* configure.ac: Post-release version bump

svn path=/trunk/; revision=1188

16 years agoupdate for 0.2.0 release VALA_0_2_0
Juerg Billeter [Mon, 7 Apr 2008 21:43:11 +0000 (21:43 +0000)]
update for 0.2.0 release

2008-04-07  Juerg Billeter  <j@bitron.ch>

* NEWS, configure.ac: update for 0.2.0 release

svn path=/trunk/; revision=1186

16 years agofix access to code and message fields in error types, fixes bug 519648
Juerg Billeter [Mon, 7 Apr 2008 21:16:25 +0000 (21:16 +0000)]
fix access to code and message fields in error types, fixes bug 519648

2008-04-07  Juerg Billeter  <j@bitron.ch>

* vala/valaerrortype.vala, vala/valasemanticanalyzer.vala,
  vala/valasymbolresolver.vala, gobject/valaccodegenerator.vala:
  fix access to code and message fields in error types,
  fixes bug 519648

svn path=/trunk/; revision=1185

16 years agofix gtk_tree_path_copy and gtk_tree_selection_get_selected_rows bindings
Juerg Billeter [Mon, 7 Apr 2008 21:00:08 +0000 (21:00 +0000)]
fix gtk_tree_path_copy and gtk_tree_selection_get_selected_rows bindings

2008-04-07  Juerg Billeter  <j@bitron.ch>

* vapi/packages/gtk+-2.0/: fix gtk_tree_path_copy and
  gtk_tree_selection_get_selected_rows bindings

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1184

16 years agochange syntax for defining default values of properties, fixes bug 526550
Juerg Billeter [Mon, 7 Apr 2008 20:54:20 +0000 (20:54 +0000)]
change syntax for defining default values of properties, fixes bug 526550

2008-04-07  Juerg Billeter  <j@bitron.ch>

* vala/parser.y: change syntax for defining default values of
  properties, fixes bug 526550

* tests/classes-properties.vala: test default values for properties

svn path=/trunk/; revision=1183

16 years agoimprove error reporting for non reference-counted object instances, fixes
Juerg Billeter [Mon, 7 Apr 2008 20:29:36 +0000 (20:29 +0000)]
improve error reporting for non reference-counted object instances, fixes

2008-04-07  Juerg Billeter  <j@bitron.ch>

* vala/valacodenode.vala, gobject/valaccodegenerator.vala: improve
  error reporting for non reference-counted object instances,
  fixes bug 471053

svn path=/trunk/; revision=1182

16 years agofix GtkToggleActionEntry.callback binding, fixes bug 526792
Juerg Billeter [Mon, 7 Apr 2008 20:12:10 +0000 (20:12 +0000)]
fix GtkToggleActionEntry.callback binding, fixes bug 526792

2008-04-07  Juerg Billeter  <j@bitron.ch>

* vapi/packages/gtk+-2.0/: fix GtkToggleActionEntry.callback
  binding, fixes bug 526792

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1181

16 years agoadd missing g_get_user_*_dir bindings, based on patch by Marc-Andre
Juerg Billeter [Mon, 7 Apr 2008 20:06:14 +0000 (20:06 +0000)]
add missing g_get_user_*_dir bindings, based on patch by Marc-Andre

2008-04-07  Juerg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi: add missing g_get_user_*_dir bindings,
  based on patch by Marc-Andre Lureau, fixes bug 517748

svn path=/trunk/; revision=1180

16 years agofix memory management when mixing pointers and strong references, fixes
Juerg Billeter [Mon, 7 Apr 2008 19:50:22 +0000 (19:50 +0000)]
fix memory management when mixing pointers and strong references, fixes

2008-04-07  Juerg Billeter  <j@bitron.ch>

* vala/valamemorymanager.vala, vala/valasemanticanalyzer.vala,
  gobject/valaccodegenerator.vala: fix memory management when
  mixing pointers and strong references, fixes bug 522110

svn path=/trunk/; revision=1179

16 years agoreset takes_ownership and transfers_ownership for base types of pointer
Juerg Billeter [Mon, 7 Apr 2008 18:19:21 +0000 (18:19 +0000)]
reset takes_ownership and transfers_ownership for base types of pointer

2008-04-07  Juerg Billeter  <j@bitron.ch>

* vala/valasymbolresolver.vala: reset takes_ownership and
  transfers_ownership for base types of pointer types

* tests/pointers.vala: test element access for methods returning
  pointers

svn path=/trunk/; revision=1178

16 years agodon't compare base_method and base_interface_method in visit_class as this
Juerg Billeter [Mon, 7 Apr 2008 16:28:32 +0000 (16:28 +0000)]
don't compare base_method and base_interface_method in visit_class as this

2008-04-07  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: don't compare base_method and
  base_interface_method in visit_class as this might not be set yet
  in other classes; available methods will already be checked in
  detail in visit_method, fixes bug 523263

svn path=/trunk/; revision=1177

16 years agotype check initializer lists
Juerg Billeter [Mon, 7 Apr 2008 16:16:46 +0000 (16:16 +0000)]
type check initializer lists

2008-04-07  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: type check initializer lists

* gobject/valaccodegenerator.vala: fix support for static delegates
  for instance methods

* vapigen/valagidlparser.vala: support type_name metadata attribute
  for fields

* tests/test-031.vala: use float literals in initializer list for
  constant float array

* vapi/packages/gtk+-2.0/: fix GtkActionEntry.callback binding

* vapi/gtk+-2.0.vapi: regenerated

Fixes bug 526652

svn path=/trunk/; revision=1176

16 years agofix gst_init_get_option_group binding, fixes bug 526651
Juerg Billeter [Mon, 7 Apr 2008 14:32:22 +0000 (14:32 +0000)]
fix gst_init_get_option_group binding, fixes bug 526651

2008-04-07  Juerg Billeter  <j@bitron.ch>

* vapi/packages/gstreamer-0.10/: fix gst_init_get_option_group
  binding, fixes bug 526651

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1175

16 years agofix gtk_action_group_add_*_actions bindings, patch by Jaap A. Haitsma,
Juerg Billeter [Mon, 7 Apr 2008 14:29:18 +0000 (14:29 +0000)]
fix gtk_action_group_add_*_actions bindings, patch by Jaap A. Haitsma,

2008-04-07  Juerg Billeter  <j@bitron.ch>

* vapi/packages/gtk+-2.0/: fix gtk_action_group_add_*_actions
  bindings, patch by Jaap A. Haitsma, fixes bug 526648

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1174

16 years agotwo small optimizations, patch by Jaap A. Haitsma, fixes bug 526243
Juerg Billeter [Mon, 7 Apr 2008 14:26:05 +0000 (14:26 +0000)]
two small optimizations, patch by Jaap A. Haitsma, fixes bug 526243

2008-04-07  Juerg Billeter  <j@bitron.ch>

* ccode/valaccodeblock.vala, ccode/valaccodeincludedirective.vala:
  two small optimizations, patch by Jaap A. Haitsma, fixes bug 526243

svn path=/trunk/; revision=1173

16 years agofix spurious error when overriding abstract method in derived abstract
Juerg Billeter [Mon, 7 Apr 2008 14:21:50 +0000 (14:21 +0000)]
fix spurious error when overriding abstract method in derived abstract

2008-04-07  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: fix spurious error when
  overriding abstract method in derived abstract class,
  fixes bug 523263

* tests/classes-methods.vala: test overriding abstract method in
  derived abstract class

svn path=/trunk/; revision=1172

16 years agocheck accessiblity of property types, fixes bug 512404
Juerg Billeter [Mon, 7 Apr 2008 14:08:31 +0000 (14:08 +0000)]
check accessiblity of property types, fixes bug 512404

2008-04-07  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: check accessiblity of property
  types, fixes bug 512404

svn path=/trunk/; revision=1171

16 years agofix element access assignment with pointers, fixes bug 519933
Juerg Billeter [Mon, 7 Apr 2008 14:01:17 +0000 (14:01 +0000)]
fix element access assignment with pointers, fixes bug 519933

2008-04-07  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodeassignmentbinding.vala: fix element access
  assignment with pointers, fixes bug 519933

* tests/pointers.vala: test pointer element access

svn path=/trunk/; revision=1170

16 years agofix gtk_tree_sortable_get_sort_column_id binding, fixes bug 526410
Juerg Billeter [Sun, 6 Apr 2008 19:47:47 +0000 (19:47 +0000)]
fix gtk_tree_sortable_get_sort_column_id binding, fixes bug 526410

2008-04-06  Juerg Billeter  <j@bitron.ch>

* vapi/packages/gtk+-2.0/: fix gtk_tree_sortable_get_sort_column_id
  binding, fixes bug 526410

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1169

16 years agofix crash when using pointers in parameters of D-Bus signals, fixes bug
Juerg Billeter [Sun, 6 Apr 2008 19:43:53 +0000 (19:43 +0000)]
fix crash when using pointers in parameters of D-Bus signals, fixes bug

2008-04-06  Juerg Billeter  <j@bitron.ch>

* vala/valapointertype.vala,
  gobject/valaccodeassignmentbinding.vala: fix crash when using
  pointers in parameters of D-Bus signals, fixes bug 526111

svn path=/trunk/; revision=1168

16 years agofix crash when using string arrays in parameters of D-Bus methods, fixes
Juerg Billeter [Sun, 6 Apr 2008 19:24:58 +0000 (19:24 +0000)]
fix crash when using string arrays in parameters of D-Bus methods, fixes

2008-04-06  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegeneratorinvocationexpression.vala: fix crash
  when using string arrays in parameters of D-Bus methods,
  fixes bug 525166

svn path=/trunk/; revision=1167

16 years agoAdd source_type_declaration and source_type_definition code fragments to
Juerg Billeter [Sun, 6 Apr 2008 18:33:46 +0000 (18:33 +0000)]
Add source_type_declaration and source_type_definition code fragments to

2008-04-06  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratorclass.vala,
  gobject/valaccodegeneratorinterface.vala,
  gobject/valaccodegeneratorsourcefile.vala,
  gobject/valaccodegeneratorstruct.vala:

  Add source_type_declaration and source_type_definition code
  fragments to fix declaration order in generated C source files

svn path=/trunk/; revision=1166

16 years agoMerge Literal and LiteralExpression
Juerg Billeter [Mon, 31 Mar 2008 19:18:24 +0000 (19:18 +0000)]
Merge Literal and LiteralExpression

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

* vala/Makefile.am, vala/parser.y, vala/vala.h,
  vala/valaattribute.vala, vala/valabooleanliteral.vala,
  vala/valacharacterliteral.vala, vala/valacodecontext.vala,
  vala/valacodegenerator.vala, vala/valacodevisitor.vala,
  vala/valaintegerliteral.vala, vala/valaliteral.vala,
  vala/valanullliteral.vala, vala/valarealliteral.vala,
  vala/valasemanticanalyzer.vala, vala/valastringliteral.vala,
  gobject/valaccodeelementaccessbinding.vala,
  gobject/valaccodegenerator.vala:

  Merge Literal and LiteralExpression

svn path=/trunk/; revision=1165

16 years agofix output of enums with methods
Juerg Billeter [Mon, 31 Mar 2008 18:54:00 +0000 (18:54 +0000)]
fix output of enums with methods

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

* vala/valainterfacewriter.vala: fix output of enums with methods

svn path=/trunk/; revision=1164

16 years agoenhance support for pointer arithmetic
Juerg Billeter [Sun, 30 Mar 2008 19:09:57 +0000 (19:09 +0000)]
enhance support for pointer arithmetic

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

* vala/valasemanticanalyzer.vala: enhance support for pointer
  arithmetic

svn path=/trunk/; revision=1163

16 years agoadd support for static constructors, fixes bug 506985
Juerg Billeter [Sat, 29 Mar 2008 12:04:37 +0000 (12:04 +0000)]
add support for static constructors, fixes bug 506985

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

* vala/parser.y, vala/valaclass.vala, vala/valaconstructor.vala,
  gobject/valaccodegenerator.vala: add support for static
  constructors, fixes bug 506985

svn path=/trunk/; revision=1162

16 years agoadd GDK_SELECTION_* bindings fix gtk_text_buffer_paste_clipboard binding
Juerg Billeter [Mon, 24 Mar 2008 20:54:23 +0000 (20:54 +0000)]
add GDK_SELECTION_* bindings fix gtk_text_buffer_paste_clipboard binding

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

* vapi/packages/gdk-2.0/: add GDK_SELECTION_* bindings
* vapi/packages/gtk+-2.0/: fix gtk_text_buffer_paste_clipboard
  binding

* vapi/gdk-2.0.vapi, vapi/gtk+-2.0.vapi: regenerated

Fixes bug 524176

svn path=/trunk/; revision=1161

16 years agofix crash on invalid collection expressions in foreach statements, fixes
Juerg Billeter [Mon, 24 Mar 2008 20:37:30 +0000 (20:37 +0000)]
fix crash on invalid collection expressions in foreach statements, fixes

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

* vala/valasemanticanalyzer.vala: fix crash on invalid collection
  expressions in foreach statements, fixes bug 524033

svn path=/trunk/; revision=1160

16 years agoadd missing public modifier, patch by Levi Bard, fixes bug 524192
Juerg Billeter [Mon, 24 Mar 2008 20:27:54 +0000 (20:27 +0000)]
add missing public modifier, patch by Levi Bard, fixes bug 524192

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

* vapi/sdl.vapi: add missing public modifier,
  patch by Levi Bard, fixes bug 524192

svn path=/trunk/; revision=1159

16 years agofix generated code for methods returning structs
Juerg Billeter [Mon, 24 Mar 2008 20:14:14 +0000 (20:14 +0000)]
fix generated code for methods returning structs

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

* gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratormethod.vala: fix generated code for
  methods returning structs

svn path=/trunk/; revision=1158