platform/upstream/vala.git
16 years agoAdd support for delegate_target_pos metadata attribute
Juerg Billeter [Wed, 23 Apr 2008 11:20:24 +0000 (11:20 +0000)]
Add support for delegate_target_pos metadata attribute

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

* vala/valaenum.vala:
* vapigen/valagidlparser.vala:
Add support for delegate_target_pos metadata attribute

svn path=/trunk/; revision=1306

16 years agomark enums as public, patch by Evan Nemerson
Juerg Billeter [Mon, 21 Apr 2008 22:13:33 +0000 (22:13 +0000)]
mark enums as public, patch by Evan Nemerson

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

* vapi/libftdi.vapi: mark enums as public, patch by Evan Nemerson

svn path=/trunk/; revision=1305

16 years agoPost-release version bump
Juerg Billeter [Mon, 21 Apr 2008 22:10:17 +0000 (22:10 +0000)]
Post-release version bump

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

* configure.ac: Post-release version bump

svn path=/trunk/; revision=1304

16 years agoupdate for 0.3.1 release VALA_0_3_1
Juerg Billeter [Mon, 21 Apr 2008 22:08:36 +0000 (22:08 +0000)]
update for 0.3.1 release

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

* NEWS: update for 0.3.1 release

svn path=/trunk/; revision=1302

16 years agosupport enum value attributes
Juerg Billeter [Mon, 21 Apr 2008 21:54:17 +0000 (21:54 +0000)]
support enum value attributes

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

* vala/valaparser.vala: support enum value attributes

svn path=/trunk/; revision=1301

16 years agomore binding fixes
Juerg Billeter [Mon, 21 Apr 2008 21:43:47 +0000 (21:43 +0000)]
more binding fixes

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

* vapi/packages/gtk+-2.0/: more binding fixes

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1300

16 years agoVarious minor binding fixes
Juerg Billeter [Mon, 21 Apr 2008 20:18:44 +0000 (20:18 +0000)]
Various minor binding fixes

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

* vapi/enchant.vapi:
* vapi/glib-2.0.vapi:
* vapi/hal.vapi:
* vapi/packages/gtk+-2.0/:
* vapi/packages/hildon-fm-2/:

Various minor binding fixes

* vapi/gdk-x11-2.0.vapi:
* vapi/gtk+-2.0.vapi:
* vapi/hildon-fm-2.vapi:

Regenerated

svn path=/trunk/; revision=1299

16 years agogenerate unique names for wrapper methods, fixes bug 529251
Juerg Billeter [Mon, 21 Apr 2008 19:57:39 +0000 (19:57 +0000)]
generate unique names for wrapper methods, fixes bug 529251

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

* vala/valadynamicmethod.vala: generate unique names for wrapper
  methods, fixes bug 529251

svn path=/trunk/; revision=1298

16 years agofix glade_xml_construct binding, patch by Christian Meyer
Juerg Billeter [Mon, 21 Apr 2008 19:41:45 +0000 (19:41 +0000)]
fix glade_xml_construct binding, patch by Christian Meyer

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

* vapi/packages/libglade-2.0/: fix glade_xml_construct binding,
  patch by Christian Meyer

svn path=/trunk/; revision=1297

16 years agoadd libsexy bindings, patch by Evan Nemerson, fixes bug 528314
Juerg Billeter [Mon, 21 Apr 2008 19:37:23 +0000 (19:37 +0000)]
add libsexy bindings, patch by Evan Nemerson, fixes bug 528314

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

* vapi/Makefile.am, vapi/libsexy.deps, vapi/libsexy.vapi,
  vapi/packages/libsexy/: add libsexy bindings,
  patch by Evan Nemerson, fixes bug 528314

svn path=/trunk/; revision=1296

16 years agoaccept lower-case suffixes for integer and real literals, based on patch
Juerg Billeter [Mon, 21 Apr 2008 19:27:00 +0000 (19:27 +0000)]
accept lower-case suffixes for integer and real literals, based on patch

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

* vala/valaintegerliteral.vala, vala/valarealliteral.vala:
  accept lower-case suffixes for integer and real literals,
  based on patch by Jaap A. Haitsma, fixes bug 528968

svn path=/trunk/; revision=1295

16 years agofix GFileMonitor::changed binding
Juerg Billeter [Mon, 21 Apr 2008 19:21:44 +0000 (19:21 +0000)]
fix GFileMonitor::changed binding

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

* vapi/packages/gio-2.0/: fix GFileMonitor::changed binding

* vapi/gio-2.0.vapi: regenerated

svn path=/trunk/; revision=1294

16 years agofix critical on invalid code, fixes bug 529177
Juerg Billeter [Mon, 21 Apr 2008 19:19:30 +0000 (19:19 +0000)]
fix critical on invalid code, fixes bug 529177

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

* gobject/valaccodegenerator.vala: fix critical on invalid code,
  fixes bug 529177

svn path=/trunk/; revision=1293

16 years agofix struct instance methods, fixes bug 529183
Juerg Billeter [Mon, 21 Apr 2008 19:13:51 +0000 (19:13 +0000)]
fix struct instance methods, fixes bug 529183

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

* gobject/valaccodeinvocationexpressionbinding.vala: fix struct
  instance methods, fixes bug 529183

svn path=/trunk/; revision=1292

16 years agoallow assigning construct-only properties in constructors, fixes bug
Juerg Billeter [Mon, 21 Apr 2008 19:09:28 +0000 (19:09 +0000)]
allow assigning construct-only properties in constructors, fixes bug

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

* vala/valasemanticanalyzer.vala: allow assigning construct-only
  properties in constructors, fixes bug 529222

svn path=/trunk/; revision=1291

16 years agoFix element access for libgee collections
Juerg Billeter [Mon, 21 Apr 2008 06:17:21 +0000 (06:17 +0000)]
Fix element access for libgee collections

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

* vala/valasemanticanalyzer.vala:
* gobject/valaccodeassignmentbinding.vala:
* gobject/valaccodeelementaccessbinding.vala:

Fix element access for libgee collections

svn path=/trunk/; revision=1290

16 years agoAdd experimental D-Bus server support
Juerg Billeter [Sun, 20 Apr 2008 21:42:04 +0000 (21:42 +0000)]
Add experimental D-Bus server support

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

* vala/valaclass.vala, vala/valadatatype.vala,
  vala/valastruct.vala, vala/valatypesymbol.vala,
  gobject/valaccodeclassbinding.vala,
  gobject/valaccodedynamicsignalbinding.vala,
  gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratorsignal.vala,
  gobject/valaccodegeneratorsourcefile.vala,
  gobject/valaccodetypesymbolbinding.vala, vapi/dbus-glib-1.vapi,
  vapi/glib-2.0.vapi:

  Add experimental D-Bus server support

svn path=/trunk/; revision=1289

16 years agoImprove support for dynamic types, add `dynamic' type modifier, port
Juerg Billeter [Sun, 20 Apr 2008 18:50:28 +0000 (18:50 +0000)]
Improve support for dynamic types, add `dynamic' type modifier, port

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

* vala/Makefile.am, vala/valaclasstype.vala,
  vala/valacodecontext.vala, vala/valacodegenerator.vala,
  vala/valadatatype.vala, vala/valadynamicmethod.vala,
  vala/valadynamicsignal.vala, vala/valainterface.vala,
  vala/valainterfacetype.vala, vala/valamethod.vala,
  vala/valamethodtype.vala, vala/valaparser.vala,
  vala/valascanner.vala, vala/valasemanticanalyzer.vala,
  vala/valasymbolresolver.vala, vala/valatokentype.vala,
  vala/valaunresolvedtype.vala, vala/valavaluetype.vala,
  gobject/Makefile.am, gobject/valaccodeassignmentbinding.vala,
  gobject/valaccodebinding.vala,
  gobject/valaccodedynamicmethodbinding.vala,
  gobject/valaccodedynamicsignalbinding.vala,
  gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratorsourcefile.vala,
  gobject/valaccodeinterfacebinding.vala,
  gobject/valaccodeinvocationexpressionbinding.vala,
  gobject/valaccodemethodbinding.vala, compiler/valacompiler.vala,
  vapi/dbus-glib-1.vapi:

  Improve support for dynamic types, add `dynamic' type modifier,
  port dynamic D-Bus client support

svn path=/trunk/; revision=1288

16 years agofix GtkDialog.vbox binding
Juerg Billeter [Sun, 20 Apr 2008 13:24:54 +0000 (13:24 +0000)]
fix GtkDialog.vbox binding

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

* vapi/packages/gtk+-2.0/: fix GtkDialog.vbox binding

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1287

16 years agoReplace [Import] attribute by `extern' keyword, rename `is_imported'
Juerg Billeter [Sun, 20 Apr 2008 13:09:27 +0000 (13:09 +0000)]
Replace [Import] attribute by `extern' keyword, rename `is_imported'

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

* vala/valacfgbuilder.vala, vala/valaclass.vala,
  vala/valacodecontext.vala, vala/valainterfacewriter.vala,
  vala/valamember.vala, vala/valamemorymanager.vala,
  vala/valamethod.vala, vala/valanamespace.vala,
  vala/valaparser.vala, vala/valascanner.vala,
  vala/valasemanticanalyzer.vala, vala/valasourcefile.vala,
  vala/valasymbol.vala, vala/valatokentype.vala,
  vala/valatypesymbol.vala, gobject/valaccodecompiler.vala,
  gobject/valaccodegenerator.vala, gobject/valagidlwriter.vala,
  vapigen/valagidlparser.vala, vapi/packages/gnome-keyring-1/,
  vapi/packages/gstreamer-0.10/, vapi/packages/gtk+-2.0/,
  vapi/packages/libgnome-menu/, vapi/packages/pango/:

  Replace [Import] attribute by `extern' keyword, rename
  `is_imported' property to `external' and `pkg' property to
  `external_package' to harmonize used terms, fixes bug 480253

svn path=/trunk/; revision=1286

16 years agofix GtkBuilderError binding
Juerg Billeter [Sun, 20 Apr 2008 11:09:11 +0000 (11:09 +0000)]
fix GtkBuilderError binding

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

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

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1285

16 years agosupport using lambda expressions with instance delegates
Juerg Billeter [Sun, 20 Apr 2008 11:06:11 +0000 (11:06 +0000)]
support using lambda expressions with instance delegates

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

* gobject/valaccodegenerator.vala: support using lambda expressions
  with instance delegates

svn path=/trunk/; revision=1284

16 years agofix gtk_*_store_set_column_types bindings, patch by Daniel Svensson
Juerg Billeter [Sun, 20 Apr 2008 10:11:14 +0000 (10:11 +0000)]
fix gtk_*_store_set_column_types bindings, patch by Daniel Svensson

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

* vapi/packages/gtk+-2.0/: fix gtk_*_store_set_column_types
  bindings, patch by Daniel Svensson

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1283

16 years agofix gtk_scrolled_window_new binding, patch by Daniel Svensson
Juerg Billeter [Sun, 20 Apr 2008 09:49:44 +0000 (09:49 +0000)]
fix gtk_scrolled_window_new binding, patch by Daniel Svensson

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

* vapi/packages/gtk+-2.0/: fix gtk_scrolled_window_new binding,
  patch by Daniel Svensson

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1282

16 years agofix glade_xml_new* bindings, patch by Christian Meyer
Juerg Billeter [Sat, 19 Apr 2008 23:13:08 +0000 (23:13 +0000)]
fix glade_xml_new* bindings, patch by Christian Meyer

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

* vapi/packages/libglade-2.0/: fix glade_xml_new* bindings,
  patch by Christian Meyer

* vapi/libglade-2.0.vapi: regenerated

svn path=/trunk/; revision=1281

16 years agoset free_function for XPathContext and replace `pointer' by `void*', fixes
Juerg Billeter [Sat, 19 Apr 2008 22:54:31 +0000 (22:54 +0000)]
set free_function for XPathContext and replace `pointer' by `void*', fixes

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

* vapi/libxml-2.0.vapi: set free_function for XPathContext and
  replace `pointer' by `void*', fixes bug 528959

svn path=/trunk/; revision=1280

16 years agosupport partial interface reimplementation, fixes bug 504079
Juerg Billeter [Sat, 19 Apr 2008 22:43:07 +0000 (22:43 +0000)]
support partial interface reimplementation, fixes bug 504079

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

* vala/valasemanticanalyzer.vala: support partial interface
  reimplementation, fixes bug 504079

svn path=/trunk/; revision=1279

16 years agoreport error when trying to set construct-only properties
Juerg Billeter [Sat, 19 Apr 2008 21:58:44 +0000 (21:58 +0000)]
report error when trying to set construct-only properties

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

* vala/valasemanticanalyzer.vala: report error when trying to set
  construct-only properties

svn path=/trunk/; revision=1278

16 years agofix D-Bus signal handlers, fixes bug 528937
Juerg Billeter [Sat, 19 Apr 2008 21:39:02 +0000 (21:39 +0000)]
fix D-Bus signal handlers, fixes bug 528937

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

* gobject/valaccodeassignmentbinding.vala: fix D-Bus signal
  handlers, fixes bug 528937

svn path=/trunk/; revision=1277

16 years agomark all cancellable parameters as nullable, fixes bug 528954
Juerg Billeter [Sat, 19 Apr 2008 21:26:45 +0000 (21:26 +0000)]
mark all cancellable parameters as nullable, fixes bug 528954

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

* vapi/packages/gio-2.0/: mark all cancellable parameters as
  nullable, fixes bug 528954

* vapi/gio-2.0.vapi: regenerated

svn path=/trunk/; revision=1276

16 years agosupport virtual methods in interfaces, fixes bug 443525
Juerg Billeter [Sat, 19 Apr 2008 21:17:47 +0000 (21:17 +0000)]
support virtual methods in interfaces, fixes bug 443525

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

* vala/valasemanticanalyzer.vala,
  gobject/valaccodeinterfacebinding.vala: support virtual methods
  in interfaces, fixes bug 443525

svn path=/trunk/; revision=1275

16 years agoget D-Bus sample working again
Juerg Billeter [Sat, 19 Apr 2008 16:42:51 +0000 (16:42 +0000)]
get D-Bus sample working again

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

* vala/valaattributeprocessor.vala, vala/valaerrortype.vala,
  vapi/dbus-glib-1.vapi, gobject/valaccodegenerator.vala: get D-Bus
  sample working again

svn path=/trunk/; revision=1274

16 years ago, vala/valadestructor.vala, vala/valasemanticanalyzer.vala,
Juerg Billeter [Sat, 19 Apr 2008 16:33:40 +0000 (16:33 +0000)]
, vala/valadestructor.vala, vala/valasemanticanalyzer.vala,

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

* vala/valaclass.vala:, vala/valadestructor.vala,
  vala/valasemanticanalyzer.vala, gobject/valaccodeclassbinding.vala:
  support `this' access in destructors, fixes bug 527997

svn path=/trunk/; revision=1273

16 years agodon't check for `pointer' struct
Juerg Billeter [Sat, 19 Apr 2008 16:11:00 +0000 (16:11 +0000)]
don't check for `pointer' struct

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

* vala/valasemanticanalyzer.vala: don't check for `pointer' struct

svn path=/trunk/; revision=1272

16 years agoReplace `pointer' by `void*' in all bindings and remove pointer struct
Juerg Billeter [Sat, 19 Apr 2008 16:06:52 +0000 (16:06 +0000)]
Replace `pointer' by `void*' in all bindings and remove pointer struct

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

Replace `pointer' by `void*' in all bindings and remove pointer
struct from GLib bindings, fixes bug 510085

svn path=/trunk/; revision=1271

16 years agoreplace 'pointer' by 'void*'
Marc-Andre Lureau [Sat, 19 Apr 2008 15:17:19 +0000 (15:17 +0000)]
replace 'pointer' by 'void*'

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

* vapi/glib-2.0.vapi: replace 'pointer' by 'void*'

svn path=/trunk/; revision=1270

16 years agofix g_file_monitor_* bindings, patch by Jaap A. Haitsma, fixes bug 528881
Juerg Billeter [Sat, 19 Apr 2008 15:03:34 +0000 (15:03 +0000)]
fix g_file_monitor_* bindings, patch by Jaap A. Haitsma, fixes bug 528881

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

* vapi/packages/gio-2.0/: fix g_file_monitor_* bindings,
  patch by Jaap A. Haitsma, fixes bug 528881

* vapi/gio-2.0.vapi: regenerated

svn path=/trunk/; revision=1269

16 years agodon't mangle D-Bus signal names, fixes bug 528774
Juerg Billeter [Sat, 19 Apr 2008 14:46:00 +0000 (14:46 +0000)]
don't mangle D-Bus signal names, fixes bug 528774

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

* vala/valasemanticanalyzer.vala, vala/valasignal.vala,
  gobject/valaccodeassignmentbinding.vala: don't mangle D-Bus
  signal names, fixes bug 528774

svn path=/trunk/; revision=1268

16 years agofix crash when trying to iterate over pointer types, fixes bug 528765
Juerg Billeter [Sat, 19 Apr 2008 09:00:48 +0000 (09:00 +0000)]
fix crash when trying to iterate over pointer types, fixes bug 528765

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

* vala/valasemanticanalyzer.vala, gobject/valaccodegenerator.vala:
  fix crash when trying to iterate over pointer types,
  fixes bug 528765

svn path=/trunk/; revision=1267

16 years agofix to_string for nullable delegates
Juerg Billeter [Sat, 19 Apr 2008 08:44:10 +0000 (08:44 +0000)]
fix to_string for nullable delegates

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

* vala/valadelegatetype.vala: fix to_string for nullable delegates

* vapi/packages/gtk+-2.0/: fix gtk_about_dialog_set_*_hook
  bindings, patch by Jaap A. Haitsma, fixes bug 528674

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1266

16 years agoMark generic type parameter properties as construct-only, fixes bug 528567
Juerg Billeter [Sat, 19 Apr 2008 08:34:33 +0000 (08:34 +0000)]
Mark generic type parameter properties as construct-only, fixes bug 528567

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

* gobject/valaccodeassignmentbinding.vala,
  gobject/valaccodebinding.vala, gobject/valaccodeclassbinding.vala,
  gobject/valaccodemethodbinding.vala:

  Mark generic type parameter properties as construct-only,
  fixes bug 528567

svn path=/trunk/; revision=1265

16 years agodisable null warnings with --disable-non-null
Juerg Billeter [Sat, 19 Apr 2008 07:30:12 +0000 (07:30 +0000)]
disable null warnings with --disable-non-null

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

* vala/valasemanticanalyzer.vala: disable null warnings with
 --disable-non-null

svn path=/trunk/; revision=1264

16 years agofix g_output_stream_write_all and g_file_load_contents bindings, fixes bug
Juerg Billeter [Sat, 19 Apr 2008 07:20:32 +0000 (07:20 +0000)]
fix g_output_stream_write_all and g_file_load_contents bindings, fixes bug

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

* vapi/packages/gio-2.0/: fix g_output_stream_write_all and
  g_file_load_contents bindings, fixes bug 528491

* vapi/gio-2.0.vapi: regenerated

svn path=/trunk/; revision=1263

16 years agoAdd CCodeInvocationExpressionBinding and CCodeMemberAccessBinding classes
Juerg Billeter [Sat, 19 Apr 2008 06:59:53 +0000 (06:59 +0000)]
Add CCodeInvocationExpressionBinding and CCodeMemberAccessBinding classes

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

* vala/valacodegenerator.vala, vala/valainvocationexpression.vala,
  vala/valamemberaccess.vala, gobject/Makefile.am,
  gobject/valaccodegenerator.vala,
  gobject/valaccodeinvocationexpressionbinding.vala,
  gobject/valaccodememberaccessbinding.vala:

  Add CCodeInvocationExpressionBinding and CCodeMemberAccessBinding
  classes

svn path=/trunk/; revision=1262

16 years agoAdd CCodeCreationMethodBinding and CCodeMethodBinding classes
Juerg Billeter [Sat, 19 Apr 2008 06:35:09 +0000 (06:35 +0000)]
Add CCodeCreationMethodBinding and CCodeMethodBinding classes

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

* gobject/Makefile.am, gobject/valaccodecreationmethodbinding.vala,
  gobject/valaccodegenerator.vala, gobject/valaccodemethodbinding.vala,
  vala/valacreationmethod.vala:

  Add CCodeCreationMethodBinding and CCodeMethodBinding classes

svn path=/trunk/; revision=1261

16 years agoAdd CCodeTypesymbolBinding, CCodeClassBinding, and CCodeInterfaceBinding
Juerg Billeter [Sat, 19 Apr 2008 06:06:38 +0000 (06:06 +0000)]
Add CCodeTypesymbolBinding, CCodeClassBinding, and CCodeInterfaceBinding

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

* vala/valaclass.vala, vala/valainterface.vala, gobject/Makefile.am,
  gobject/valaccodeassignmentbinding.vala,
  gobject/valaccodebinding.vala, gobject/valaccodeclassbinding.vala,
  gobject/valaccodegenerator.vala,
  gobject/valaccodeinterfacebinding.vala,
  gobject/valaccodetypesymbolbinding.vala:

  Add CCodeTypesymbolBinding, CCodeClassBinding, and
  CCodeInterfaceBinding classes

svn path=/trunk/; revision=1260

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