platform/upstream/vala.git
17 years agoadd ellipsis attribute for some functions, patch by Andrea Del Signore
Juerg Billeter [Fri, 19 Oct 2007 11:14:06 +0000 (11:14 +0000)]
add ellipsis attribute for some functions, patch by Andrea Del Signore

2007-10-19  Juerg Billeter  <j@bitron.ch>

* vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata: add ellipsis
  attribute for some functions, patch by Andrea Del Signore
* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=655

17 years agoAdd '-no-undefined' for Cygwin and MinGW. Change order of link command to
Juerg Billeter [Fri, 19 Oct 2007 09:56:39 +0000 (09:56 +0000)]
Add '-no-undefined' for Cygwin and MinGW. Change order of link command to

2007-10-19  Juerg Billeter  <j@bitron.ch>

* gobject/Makefile.am (libvala_la_LDFLAGS): Add '-no-undefined' for
  Cygwin and MinGW.
* tests/testrunner.sh: Change order of link command to fix linking on
  Cygwin, MinGW, and on Linux with -Wl,--as-needed.
* vapigen/Makefile.am (INCLUDES): Fix VPATH build.

Patch by Yaakov Selkowitz, fixes bug 486124

svn path=/trunk/; revision=654

17 years agoregenerated for poppler 0.6.1, patch by Alberto Ruiz
Juerg Billeter [Tue, 16 Oct 2007 11:13:30 +0000 (11:13 +0000)]
regenerated for poppler 0.6.1, patch by Alberto Ruiz

2007-10-16  Juerg Billeter  <j@bitron.ch>

* vapi/packages/poppler-glib/poppler-glib.gidl, vapi/poppler-glib.vapi:
  regenerated for poppler 0.6.1, patch by Alberto Ruiz

svn path=/trunk/; revision=653

17 years agoadd g_strnfill binding
Juerg Billeter [Fri, 12 Oct 2007 19:09:57 +0000 (19:09 +0000)]
add g_strnfill binding

2007-10-12  Juerg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi: add g_strnfill binding

svn path=/trunk/; revision=652

17 years agofix some issues with the low-level API
Juerg Billeter [Wed, 10 Oct 2007 07:50:32 +0000 (07:50 +0000)]
fix some issues with the low-level API

2007-10-10  Juerg Billeter  <j@bitron.ch>

* vapi/dbus-glib-1.vapi: fix some issues with the low-level API

svn path=/trunk/; revision=651

17 years agoPost-release version bump
Juerg Billeter [Tue, 9 Oct 2007 20:35:58 +0000 (20:35 +0000)]
Post-release version bump

2007-10-09  Juerg Billeter  <j@bitron.ch>

* configure.ac: Post-release version bump

svn path=/trunk/; revision=650

17 years agoupdate for 0.1.4 release VALA_0_1_4
Juerg Billeter [Tue, 9 Oct 2007 20:31:50 +0000 (20:31 +0000)]
update for 0.1.4 release

2007-10-09  Juerg Billeter  <j@bitron.ch>

* NEWS: update for 0.1.4 release

svn path=/trunk/; revision=648

17 years agoUse --basedir in build system and rename all VAPI files to .vapi, requires
Juerg Billeter [Tue, 9 Oct 2007 20:01:49 +0000 (20:01 +0000)]
Use --basedir in build system and rename all VAPI files to .vapi, requires

2007-10-09  Juerg Billeter  <j@bitron.ch>

Use --basedir in build system and rename all VAPI files to .vapi,
requires r646 to build

svn path=/trunk/; revision=647

17 years agoadd --basedir option, fixes bug 483843
Juerg Billeter [Tue, 9 Oct 2007 19:30:17 +0000 (19:30 +0000)]
add --basedir option, fixes bug 483843

2007-10-09  Juerg Billeter  <j@bitron.ch>

* vala/valacodecontext.vala, vala/valasourcefile.vala,
  gobject/valaccodecompiler.vala,
  gobject/valaccodegeneratorsourcefile.vala, compiler/valacompiler.vala,
  tests/testrunner.sh: add --basedir option, fixes bug 483843

svn path=/trunk/; revision=646

17 years agofix support for static methods as GObject signal handlers
Juerg Billeter [Tue, 9 Oct 2007 16:36:43 +0000 (16:36 +0000)]
fix support for static methods as GObject signal handlers

2007-10-09  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodeassignmentbinding.vala: fix support for static
  methods as GObject signal handlers

svn path=/trunk/; revision=645

17 years agouse .vapi as file extension for generated bindings
Juerg Billeter [Tue, 9 Oct 2007 08:54:13 +0000 (08:54 +0000)]
use .vapi as file extension for generated bindings

2007-10-09  Juerg Billeter  <j@bitron.ch>

* vapigen/valavapigen.vala: use .vapi as file extension for generated
  bindings

svn path=/trunk/; revision=644

17 years agorenamed from gio-standalone and updated to current svn trunk regenerated
Juerg Billeter [Tue, 9 Oct 2007 08:49:27 +0000 (08:49 +0000)]
renamed from gio-standalone and updated to current svn trunk regenerated

2007-10-09  Juerg Billeter  <j@bitron.ch>

* vapi/packages/gio-2.0/: renamed from gio-standalone and updated to
  current svn trunk
* vapi/gio-2.0.vala: regenerated
* vapi/Makefile.am: updated

svn path=/trunk/; revision=643

17 years agouse .vapi as file extension for bindings, fixes bug 483840
Juerg Billeter [Mon, 8 Oct 2007 19:25:27 +0000 (19:25 +0000)]
use .vapi as file extension for bindings, fixes bug 483840

2007-10-08  Juerg Billeter  <j@bitron.ch>

* vala/valaparser.vala, compiler/valacompiler.vala: use .vapi as file
  extension for bindings, fixes bug 483840

svn path=/trunk/; revision=642

17 years agofix ref array parameters
Juerg Billeter [Mon, 8 Oct 2007 12:15:21 +0000 (12:15 +0000)]
fix ref array parameters

2007-10-08  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegenerator.vala: fix ref array parameters

svn path=/trunk/; revision=641

17 years agosupport static methods as D-Bus signal handlers, fixes bug 483127
Juerg Billeter [Fri, 5 Oct 2007 20:33:43 +0000 (20:33 +0000)]
support static methods as D-Bus signal handlers, fixes bug 483127

2007-10-05  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodeassignmentbinding.vala: support static methods as
  D-Bus signal handlers, fixes bug 483127

svn path=/trunk/; revision=640

17 years agoreport error for invalid assignments, fixes bug 482997
Juerg Billeter [Fri, 5 Oct 2007 20:07:48 +0000 (20:07 +0000)]
report error for invalid assignments, fixes bug 482997

2007-10-05  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: report error for invalid assignments,
  fixes bug 482997

svn path=/trunk/; revision=639

17 years agosmall additions
Juerg Billeter [Tue, 2 Oct 2007 09:39:36 +0000 (09:39 +0000)]
small additions

2007-10-02  Juerg Billeter  <j@bitron.ch>

* vapi/libxml-2.0.vala: small additions

svn path=/trunk/; revision=638

17 years agoadd experimental support for registering new fundamental classed types
Juerg Billeter [Mon, 1 Oct 2007 09:24:55 +0000 (09:24 +0000)]
add experimental support for registering new fundamental classed types

2007-10-01  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegenerator.valam gobject/valaccodegeneratorclass.vala,
  gobject/valaccodegeneratormethod.vala,
  gobject/valatyperegisterfunction.vala: add experimental support for
  registering new fundamental classed types

svn path=/trunk/; revision=637

17 years agoreplace dummy property nick and blurb by property name
Juerg Billeter [Thu, 27 Sep 2007 20:49:44 +0000 (20:49 +0000)]
replace dummy property nick and blurb by property name

2007-09-27  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegeneratorinterface.vala: replace dummy property nick
  and blurb by property name

svn path=/trunk/; revision=636

17 years agoimprove fix_type_name, based on patch by Andrea Del Signore
Juerg Billeter [Thu, 27 Sep 2007 18:25:25 +0000 (18:25 +0000)]
improve fix_type_name, based on patch by Andrea Del Signore

2007-09-27  Juerg Billeter  <j@bitron.ch>

* vapigen/valagidlparser.vala: improve fix_type_name,
  based on patch by Andrea Del Signore

svn path=/trunk/; revision=635

17 years agoadd CCodeElementAccessBinding class and move relevant code from
Juerg Billeter [Thu, 27 Sep 2007 12:55:56 +0000 (12:55 +0000)]
add CCodeElementAccessBinding class and move relevant code from

2007-09-27  Juerg Billeter  <j@bitron.ch>

* gobject/Makefile.am, gobject/valaccodeelementaccessbinding.vala,
  gobject/valaccodegenerator.vala: add CCodeElementAccessBinding class
  and move relevant code from CCodeGenerator to
  CCodeElementAccessBinding

svn path=/trunk/; revision=634

17 years agoadd CCodeArrayCreationExpressionBinding class and move relevant code from
Juerg Billeter [Thu, 27 Sep 2007 12:17:16 +0000 (12:17 +0000)]
add CCodeArrayCreationExpressionBinding class and move relevant code from

2007-09-27  Juerg Billeter  <j@bitron.ch>

* gobject/Makefile.am,
  gobject/valaccodearraycreationexpressionbinding.vala,
  gobject/valaccodegenerator.vala: add
  CCodeArrayCreationExpressionBinding class and move relevant code from
  CCodeGenerator to CCodeArrayCreationExpressionBinding

svn path=/trunk/; revision=633

17 years agorefactor emit method
Juerg Billeter [Thu, 27 Sep 2007 12:08:41 +0000 (12:08 +0000)]
refactor emit method

2007-09-27  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodeassignmentbinding.vala: refactor emit method

svn path=/trunk/; revision=632

17 years agoadd CCodeExpressionBinding and CCodeAssignmentBinding classes and move
Juerg Billeter [Thu, 27 Sep 2007 11:59:26 +0000 (11:59 +0000)]
add CCodeExpressionBinding and CCodeAssignmentBinding classes and move

2007-09-27  Juerg Billeter  <j@bitron.ch>

* vala/valacodebinding.vala, vala/valasemanticanalyzer.vala,
  gobject/Makefile.am, gobject/valaccodeassignmentbinding.vala,
  gobject/valaccodeexpressionbinding.vala,
  gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratorassignment.vala,
  gobject/valaccodegeneratorclass.vala,
  gobject/valaccodegeneratorsignal.vala: add CCodeExpressionBinding and
  CCodeAssignmentBinding classes and move relevant code from
  CCodeGenerator to CCodeAssignmentBinding

svn path=/trunk/; revision=631

17 years agosupport # comment lines in .metadata files, based on patch by Andrea Del
Juerg Billeter [Wed, 26 Sep 2007 20:39:11 +0000 (20:39 +0000)]
support # comment lines in .metadata files, based on patch by Andrea Del

2007-09-26  Juerg Billeter  <j@bitron.ch>

* vapigen/valagidlparser.vala: support # comment lines in .metadata
  files, based on patch by Andrea Del Signore

svn path=/trunk/; revision=630

17 years agofix crash when using libvala without a code generator
Juerg Billeter [Wed, 26 Sep 2007 20:35:28 +0000 (20:35 +0000)]
fix crash when using libvala without a code generator

2007-09-26  Juerg Billeter  <j@bitron.ch>

* vala/valacodecontext.vala, vala/valacodegenerator.vala: fix crash
  when using libvala without a code generator

svn path=/trunk/; revision=629

17 years agosupport custom cname for classes, based on patch by Andrea Del Signore
Juerg Billeter [Wed, 26 Sep 2007 20:26:10 +0000 (20:26 +0000)]
support custom cname for classes, based on patch by Andrea Del Signore

2007-09-26  Juerg Billeter  <j@bitron.ch>

* vala/valaclass.vala, vala/valainterfacewriter.vala: support custom
  cname for classes, based on patch by Andrea Del Signore

svn path=/trunk/; revision=628

17 years agoprepare support for classes based on GTypeInstance but not on GObject add
Juerg Billeter [Fri, 21 Sep 2007 13:03:35 +0000 (13:03 +0000)]
prepare support for classes based on GTypeInstance but not on GObject add

2007-09-21  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegeneratorclass.vala: prepare support for classes
  based on GTypeInstance but not on GObject
* tests/classes.exp, tests/classes.vala: add simple test cases for
  GTypeInstance-based classes

svn path=/trunk/; revision=627

17 years agoadd missing parent field for derived non-GObject classes
Juerg Billeter [Fri, 21 Sep 2007 08:44:31 +0000 (08:44 +0000)]
add missing parent field for derived non-GObject classes

2007-09-21  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegeneratorclass.vala: add missing parent field for
  derived non-GObject classes

svn path=/trunk/; revision=626

17 years agoFix memory leak with non reference counting reference types in property
Raffaele Sandrini [Thu, 20 Sep 2007 21:23:19 +0000 (21:23 +0000)]
Fix memory leak with non reference counting reference types in property

2007-09-20  Raffaele Sandrini  <raffaele@sandrini.ch>

* vala/valasemanticanalyzer.vala, gobject/valaccodegenerator.vala:
  Fix memory leak with non reference counting reference types in
  property getters, now we enforce an explicit ownership transfer in
  such a case,  fixes bug 472904

svn path=/trunk/; revision=625

17 years agocreate code nodes with factory methods to support backend-specific code
Juerg Billeter [Thu, 20 Sep 2007 20:42:55 +0000 (20:42 +0000)]
create code nodes with factory methods to support backend-specific code

2007-09-20  Juerg Billeter  <j@bitron.ch>

* vala/parser.y, vala/vala.h, vala/valacodecontext.vala,
  vala/valacodegenerator.vala, gobject/Makefile.am,
  gobject/valaccodebinding.vala, gobject/valaccodegenerator.vala,
  gobject/valadbusbindingprovider.vala: create code nodes with factory
  methods to support backend-specific code bindings

svn path=/trunk/; revision=624

17 years agoAdd support for ownership transfer with properties using the HASH (#)
Raffaele Sandrini [Thu, 20 Sep 2007 13:02:59 +0000 (13:02 +0000)]
Add support for ownership transfer with properties using the HASH (#)

2007-09-20  Raffaele Sandrini  <raffaele@sandrini.ch>

* vala/parser.y: Add support for ownership transfer with properties
using the HASH (#) modifier e.g. public string!# foo { get; set; }

svn path=/trunk/; revision=623

17 years agoadd G.HashTable.size ()
Raffaele Sandrini [Thu, 20 Sep 2007 09:37:49 +0000 (09:37 +0000)]
add G.HashTable.size ()

2007-09-20  Raffaele Sandrini  <raffaele@sandrini.ch>

* vapi/glib-2.0.vala: add G.HashTable.size ()

svn path=/trunk/; revision=622

17 years agosupport notify attribute for properties
Juerg Billeter [Thu, 20 Sep 2007 09:21:32 +0000 (09:21 +0000)]
support notify attribute for properties

2007-09-20  Juerg Billeter  <j@bitron.ch>

* vala/valaproperty.vala, gobject/valaccodegenerator.vala: support
  notify attribute for properties

svn path=/trunk/; revision=621

17 years agoadd vapigen variable, fixes bug 477111
Alberto Ruiz [Tue, 18 Sep 2007 22:18:03 +0000 (22:18 +0000)]
add vapigen variable, fixes bug 477111

2007-09-19  Alberto Ruiz <aruiz@gnome.org>
        * vala-1.0.pc.in: add vapigen variable,
          fixes bug 477111

svn path=/trunk/; revision=620

17 years agofix public static fields, fixes bug 477207
Juerg Billeter [Tue, 18 Sep 2007 21:06:31 +0000 (21:06 +0000)]
fix public static fields, fixes bug 477207

2007-09-18  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegenerator.vala: fix public static fields,
  fixes bug 477207

svn path=/trunk/; revision=619

17 years agosupport mapping interface methods to abstract and virtual methods, fixes
Juerg Billeter [Tue, 18 Sep 2007 20:59:01 +0000 (20:59 +0000)]
support mapping interface methods to abstract and virtual methods, fixes

2007-09-18  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegeneratorclass.vala,
  gobject/valaccodegeneratormethod.vala: support mapping interface
  methods to abstract and virtual methods, fixes bug 477206

svn path=/trunk/; revision=618

17 years agorename CodeGenerator to CCodeGenerator, add abstract CodeGenerator and
Juerg Billeter [Mon, 17 Sep 2007 21:01:20 +0000 (21:01 +0000)]
rename CodeGenerator to CCodeGenerator, add abstract CodeGenerator and

2007-09-17  Juerg Billeter  <j@bitron.ch>

* vala/Makefile.am, vala/valacodebinding.vala,
  vala/valacodecontext.vala, vala/valacodegenerator.vala,
  vala/valacodenode.vala, gobject/Makefile.am,
  gobject/valaccodegenerator.vala, compiler/valacompiler.vala: rename
  CodeGenerator to CCodeGenerator, add abstract CodeGenerator and
  CodeBinding classes

svn path=/trunk/; revision=617

17 years agoswitch lambda expression to external visitor
Juerg Billeter [Mon, 17 Sep 2007 19:05:34 +0000 (19:05 +0000)]
switch lambda expression to external visitor

2007-09-17  Juerg Billeter  <j@bitron.ch>

* vala/valacodevisitor.vala, vala/valalambdaexpression.vala,
  vala/valamemorymanager.vala, vala/valasemanticanalyzer.vala,
  vala/valasymbolresolver.vala, gobject/valacodegenerator.vala: switch
  lambda expression to external visitor

svn path=/trunk/; revision=616

17 years agoswitch object creation expression to external visitor
Juerg Billeter [Mon, 17 Sep 2007 18:42:27 +0000 (18:42 +0000)]
switch object creation expression to external visitor

2007-09-17  Juerg Billeter  <j@bitron.ch>

* vala/valacodevisitor.vala, vala/valamemorymanager.vala,
  vala/valaobjectcreationexpression.vala,
  vala/valasemanticanalyzer.vala, vala/valasymbolresolver.vala,
  gobject/valacodegenerator.vala: switch object creation expression to
  external visitor

svn path=/trunk/; revision=615

17 years agoswitch invocation expression to external visitor
Juerg Billeter [Mon, 17 Sep 2007 18:35:50 +0000 (18:35 +0000)]
switch invocation expression to external visitor

2007-09-17  Juerg Billeter  <j@bitron.ch>

* vala/valacodevisitor.vala, vala/valainvocationexpression.vala,
  vala/valamemorymanager.vala, vala/valasemanticanalyzer.vala,
  vala/valasymbolresolver.vala,
  gobject/valacodegeneratorinvocationexpression.vala: switch invocation
  expression to external visitor

svn path=/trunk/; revision=614

17 years agoswitch return statement to external visitor
Juerg Billeter [Mon, 17 Sep 2007 18:28:38 +0000 (18:28 +0000)]
switch return statement to external visitor

2007-09-17  Juerg Billeter  <j@bitron.ch>

* vala/valacodevisitor.vala, vala/valamemorymanager.vala,
  vala/valareturnstatement.vala, vala/valasemanticanalyzer.vala,
  vala/valasymbolresolver.vala, gobject/valacodegenerator.vala: switch
  return statement to external visitor

svn path=/trunk/; revision=613

17 years agoswitch block to external visitor
Juerg Billeter [Mon, 17 Sep 2007 18:22:42 +0000 (18:22 +0000)]
switch block to external visitor

2007-09-17  Juerg Billeter  <j@bitron.ch>

* vala/valablock.vala, vala/valacodevisitor.vala,
  vala/valaforeachstatement.vala, vala/valamemorymanager.vala,
  vala/valasemanticanalyzer.vala, vala/valaswitchsection.vala,
  vala/valasymbolresolver.vala, gobject/valacodegenerator.vala: switch
  block to external visitor

svn path=/trunk/; revision=612

17 years agoswitch assignment to external visitor
Juerg Billeter [Mon, 17 Sep 2007 16:20:44 +0000 (16:20 +0000)]
switch assignment to external visitor

2007-09-17  Juerg Billeter  <j@bitron.ch>

* vala/valaassignment.vala, vala/valacodevisitor.vala,
  vala/valamemorymanager.vala, vala/valasemanticanalyzer.vala,
  vala/valasymbolresolver.vala,
  gobject/valacodegeneratorassignment.vala: switch assignment to
  external visitor

svn path=/trunk/; revision=611

17 years agofix memory management when using lambda expressions
Juerg Billeter [Sun, 16 Sep 2007 16:43:20 +0000 (16:43 +0000)]
fix memory management when using lambda expressions

2007-09-16  Juerg Billeter  <j@bitron.ch>

* vala/valamemorymanager.vala: fix memory management when using lambda
  expressions

svn path=/trunk/; revision=610

17 years agoadd support for object initializers
Juerg Billeter [Sat, 15 Sep 2007 21:43:43 +0000 (21:43 +0000)]
add support for object initializers

2007-09-15  Juerg Billeter  <j@bitron.ch>

* vala/Makefile.am, vala/parser.y, vala/valamemberinitializer.vala,
  vala/valaobjectcreationexpression.vala,
  vala/valasemanticanalyzer.vala, gobject/valacodegenerator.vala: add
  support for object initializers

* tests/classes.exp, tests/classes.vala, tests/structs.exp,
  tests/structs.vala: test object initializers with classes and structs

svn path=/trunk/; revision=609

17 years agosupport creation methods in structs, replace InstanceByReference method
Juerg Billeter [Sat, 15 Sep 2007 19:44:20 +0000 (19:44 +0000)]
support creation methods in structs, replace InstanceByReference method

2007-09-15  Juerg Billeter  <j@bitron.ch>

* vala/valainterfacewriter.vala, vala/valamethod.vala,
  vala/valasemanticanalyzer.vala, vala/valastruct.vala,
  gobject/valacodegenerator.vala,
  gobject/valacodegeneratorinvocationexpression.vala,
  gobject/valacodegeneratormethod.vala, vapigen/valagidlparser.vala,
  vapi/glib-2.0.vala: support creation methods in structs, replace
  InstanceByReference method attribute by SimpleType type attribute
  (inverse effect)

* tests/Makefile.am, tests/structs.exp, tests/structs.vala: add struct
  declaration test

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

svn path=/trunk/; revision=608

17 years agosupport real literals with exponent
Juerg Billeter [Sat, 15 Sep 2007 08:57:16 +0000 (08:57 +0000)]
support real literals with exponent

2007-09-15  Juerg Billeter  <j@bitron.ch>

* vala/scanner.l: support real literals with exponent

svn path=/trunk/; revision=607

17 years agodeny assignment to instance members from static methods
Juerg Billeter [Fri, 14 Sep 2007 21:15:59 +0000 (21:15 +0000)]
deny assignment to instance members from static methods

2007-09-14  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: deny assignment to instance members
  from static methods

svn path=/trunk/; revision=606

17 years agofix Gst.version_string method
Juerg Billeter [Fri, 14 Sep 2007 21:00:12 +0000 (21:00 +0000)]
fix Gst.version_string method

2007-09-14  Juerg Billeter  <j@bitron.ch>

* vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata: fix
  Gst.version_string method

* vapi/gstreamer-0.10.vala: regenerated

svn path=/trunk/; revision=605

17 years agosimplify dispose function, fixes bug 476700
Juerg Billeter [Fri, 14 Sep 2007 20:45:31 +0000 (20:45 +0000)]
simplify dispose function, fixes bug 476700

2007-09-14  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegeneratorclass.vala: simplify dispose function,
  fixes bug 476700

svn path=/trunk/; revision=604

17 years agofix late bound methods and signals, fixes bug 476953
Juerg Billeter [Fri, 14 Sep 2007 20:19:28 +0000 (20:19 +0000)]
fix late bound methods and signals, fixes bug 476953

2007-09-14  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegeneratorinvocationexpression.vala,
  gobject/valacodegeneratorsignal.vala: fix late bound methods and
  signals, fixes bug 476953

svn path=/trunk/; revision=603

17 years agogenerate C code comment for abstract methods
Juerg Billeter [Thu, 13 Sep 2007 18:40:55 +0000 (18:40 +0000)]
generate C code comment for abstract methods

2007-09-13  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegeneratormethod.vala: generate C code comment for
  abstract methods

svn path=/trunk/; revision=602

17 years agodon't remove first parameter of creation methods
Juerg Billeter [Thu, 13 Sep 2007 18:34:17 +0000 (18:34 +0000)]
don't remove first parameter of creation methods

2007-09-13  Juerg Billeter  <j@bitron.ch>

* vapigen/valagidlparser.vala: don't remove first parameter of creation
  methods

* vapi/gdk-2.0.vala, vapi/gstreamer-0.10.vala, vapi/gtk+-2.0.vala,
  vapi/gtksourceview-2.0.vala, vapi/libsoup-2.2.vala, vapi/pango.vala:
  regenerated

svn path=/trunk/; revision=601

17 years agodocument struct declarations
Juerg Billeter [Mon, 10 Sep 2007 12:37:36 +0000 (12:37 +0000)]
document struct declarations

2007-09-10  Juerg Billeter  <j@bitron.ch>

* doc/vala/structs.xml: document struct declarations

svn path=/trunk/; revision=600

17 years agodetect interface prerequisite cycle
Juerg Billeter [Sun, 9 Sep 2007 18:34:07 +0000 (18:34 +0000)]
detect interface prerequisite cycle

2007-09-09  Juerg Billeter  <j@bitron.ch>

* vala/valasymbolresolver.vala: detect interface prerequisite cycle

svn path=/trunk/; revision=599

17 years agodetect base class cycle
Juerg Billeter [Sun, 9 Sep 2007 18:27:42 +0000 (18:27 +0000)]
detect base class cycle

2007-09-09  Juerg Billeter  <j@bitron.ch>

* vala/valaclass.vala, vala/valainterface.vala,
  vala/valasymbolresolver.vala: detect base class cycle

svn path=/trunk/; revision=598

17 years agosupport typeof expressions for arrays
Juerg Billeter [Sun, 9 Sep 2007 15:26:44 +0000 (15:26 +0000)]
support typeof expressions for arrays

2007-09-09  Juerg Billeter  <j@bitron.ch>

* vala/parser.y: support typeof expressions for arrays

svn path=/trunk/; revision=597

17 years agoadd GLib.Type.INVALID constant
Juerg Billeter [Sun, 9 Sep 2007 15:24:12 +0000 (15:24 +0000)]
add GLib.Type.INVALID constant

2007-09-09  Juerg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vala: add GLib.Type.INVALID constant

svn path=/trunk/; revision=596

17 years agosupport static classes
Juerg Billeter [Sun, 9 Sep 2007 14:36:49 +0000 (14:36 +0000)]
support static classes

2007-09-09  Juerg Billeter  <j@bitron.ch>

* vala/valainterfacewriter.vala: support static classes

svn path=/trunk/; revision=595

17 years agoadd class declaration test
Juerg Billeter [Sat, 8 Sep 2007 16:07:38 +0000 (16:07 +0000)]
add class declaration test

2007-09-08  Juerg Billeter  <j@bitron.ch>

* tests/classes.exp, tests/classes.vala: add class declaration test

* tests/Makefile.am: update

svn path=/trunk/; revision=594

17 years agofix support for static classes
Juerg Billeter [Sat, 8 Sep 2007 15:55:19 +0000 (15:55 +0000)]
fix support for static classes

2007-09-08  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegeneratorclass.vala: fix support for static classes

svn path=/trunk/; revision=593

17 years agoensure there is always a default construction method for non-abstract
Juerg Billeter [Sat, 8 Sep 2007 15:36:02 +0000 (15:36 +0000)]
ensure there is always a default construction method for non-abstract

2007-09-08  Juerg Billeter  <j@bitron.ch>

* vala/parser.y: ensure there is always a default construction method
  for non-abstract non-VAPI classes

svn path=/trunk/; revision=592

17 years agoappend the generated free function to the right file fragment
Juerg Billeter [Sat, 8 Sep 2007 15:30:53 +0000 (15:30 +0000)]
append the generated free function to the right file fragment

2007-09-08  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegeneratorclass.vala: append the generated free
  function to the right file fragment

svn path=/trunk/; revision=591

17 years agoreport an error when trying to define a signal in a type not deriving from
Juerg Billeter [Sat, 8 Sep 2007 08:42:33 +0000 (08:42 +0000)]
report an error when trying to define a signal in a type not deriving from

2007-09-08  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegeneratorsignal.vala: report an error when trying to
  define a signal in a type not deriving from GLib.Object

svn path=/trunk/; revision=590

17 years agosupport notes
Juerg Billeter [Fri, 7 Sep 2007 10:36:24 +0000 (10:36 +0000)]
support notes

2007-09-07  Juerg Billeter  <j@bitron.ch>

* doc/vala/default.css, doc/vala/xhtml.xsl: support notes

* doc/vala/classes.xml: document class declarations

svn path=/trunk/; revision=589

17 years agoupdate license headers to the GNU Lesser General Public License, version
Juerg Billeter [Fri, 7 Sep 2007 07:25:29 +0000 (07:25 +0000)]
update license headers to the GNU Lesser General Public License, version

2007-09-07  Juerg Billeter  <j@bitron.ch>

* update license headers to the GNU Lesser General Public License,
  version 2.1 or later

svn path=/trunk/; revision=588

17 years agoadd GTypeDebugFlags and GNode
Juerg Billeter [Thu, 6 Sep 2007 14:20:18 +0000 (14:20 +0000)]
add GTypeDebugFlags and GNode

2007-09-06  Juerg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vala: add GTypeDebugFlags and GNode

svn path=/trunk/; revision=587

17 years agoupdated to currrent git regenerated
Juerg Billeter [Thu, 6 Sep 2007 12:16:37 +0000 (12:16 +0000)]
updated to currrent git regenerated

2007-09-06  Juerg Billeter  <j@bitron.ch>

* vapi/packages/gio-standalone/: updated to currrent git
* vapi/gio-standalone.vala: regenerated

svn path=/trunk/; revision=586

17 years agocreate bindings for gnet-2.0 first attempt to generate gnet-2.0 bindings.
Mathias Hasselmann [Thu, 6 Sep 2007 08:23:51 +0000 (08:23 +0000)]
create bindings for gnet-2.0 first attempt to generate gnet-2.0 bindings.

2007-09-06  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* vapi/packages/gnet-2.0/*: create bindings for gnet-2.0
* vapi/gnet-2.0.vala: first attempt to generate gnet-2.0 bindings.
  not adding to Makefile.am for now, as this VAPI is untested,
  well and because gnet-2.0 uses depricated glib API

svn path=/trunk/; revision=585

17 years agosupport multiple namespace mappings for binding really broken libraries
Mathias Hasselmann [Thu, 6 Sep 2007 08:18:15 +0000 (08:18 +0000)]
support multiple namespace mappings for binding really broken libraries

2007-09-06 Mathias Hasselmann <mathias.hasselmann@gmx.de>

* vala/valanamespace.vala, vapigen/valagidlparser.vala:
  support multiple namespace mappings for binding really broken
  libraries like gnet-2.0. support shell patterns to lookup attributes
  from metadata files. fixes bug 474145

svn path=/trunk/; revision=584

17 years agosupport for GPatternSpec
Mathias Hasselmann [Thu, 6 Sep 2007 07:59:53 +0000 (07:59 +0000)]
support for GPatternSpec

2007-09-06  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* vapi/glib-2.0.vala: support for GPatternSpec

svn path=/trunk/; revision=583

17 years agolink to bug 473804 for Object::notify add property sample from Wiki as
Mathias Hasselmann [Wed, 5 Sep 2007 06:50:31 +0000 (06:50 +0000)]
link to bug 473804 for Object::notify add property sample from Wiki as

2007-09-05  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* vapi/glib-2.0.vala: link to bug 473804 for Object::notify
* tests/Makefile.am, tests/property-sample.exp,
tests/property-sample.vala: add property sample from Wiki
as regression test.

svn path=/trunk/; revision=582

17 years agosupport strings in switch statements, fixes bug 473462
Mathias Hasselmann [Tue, 4 Sep 2007 21:19:27 +0000 (21:19 +0000)]
support strings in switch statements, fixes bug 473462

2007-09-04 Mathias Hasselmann <mathias.hasselmann@gmx.de>

* gobject/valacodegenerator.vala: support strings in switch
statements, fixes bug 473462

svn path=/trunk/; revision=581

17 years agoemit line directives in debug mode
Juerg Billeter [Tue, 4 Sep 2007 20:17:31 +0000 (20:17 +0000)]
emit line directives in debug mode

2007-09-04  Juerg Billeter  <j@bitron.ch>

* vala/valacodenode.vala, ccode/valaccodebreakstatement.vala,
  ccode/valaccodecasestatement.vala, ccode/valaccodecontinuestatement.vala,
  ccode/valaccodedeclaration.vala, ccode/valaccodedostatement.vala,
  ccode/valaccodeexpressionstatement.vala, ccode/valaccodeforstatement.vala,
  ccode/valaccodefunction.vala, ccode/valaccodeifstatement.vala,
  ccode/valaccodereturnstatement.vala, ccode/valaccodeswitchstatement.vala,
  ccode/valaccodevariabledeclarator.vala,
  ccode/valaccodewhilestatement.vala, ccode/valaccodewriter.vala,
  gobject/valacodegenerator.vala, gobject/valacodegeneratormethod.vala,
  gobject/valacodegeneratorsourcefile.vala: emit line directives in debug
  mode

svn path=/trunk/; revision=580

17 years agoadd string.to_double
Mathias Hasselmann [Mon, 3 Sep 2007 18:59:11 +0000 (18:59 +0000)]
add string.to_double

2007-09-03  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* vapi/glib-2.0.vala: add string.to_double

svn path=/trunk/; revision=579

17 years agoFixed ChangeLog order. Shame on you, git-rebase.
Mathias Hasselmann [Sun, 2 Sep 2007 21:13:35 +0000 (21:13 +0000)]
Fixed ChangeLog order. Shame on you, git-rebase.

svn path=/trunk/; revision=578

17 years agoHandle markup errors in GIDL files.
Mathias Hasselmann [Sun, 2 Sep 2007 21:09:56 +0000 (21:09 +0000)]
Handle markup errors in GIDL files.

2007-09-02 Mathias Hasselmann <mathias.hasselmann@gmx.de>

* vapigen/valavapicheck.vala: Handle markup errors in GIDL files.

svn path=/trunk/; revision=577

17 years agofix virtual methods with generic return type
Juerg Billeter [Sun, 2 Sep 2007 15:45:56 +0000 (15:45 +0000)]
fix virtual methods with generic return type

2007-09-02  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegeneratormethod.vala: fix virtual methods with generic
  return type

svn path=/trunk/; revision=576

17 years agoimprove Screen class, patch by Ed Schouten
Juerg Billeter [Sun, 2 Sep 2007 15:26:17 +0000 (15:26 +0000)]
improve Screen class, patch by Ed Schouten

2007-09-02  Juerg Billeter  <j@bitron.ch>

* vapi/curses.vala: improve Screen class, patch by Ed Schouten

svn path=/trunk/; revision=575

17 years agohandle null pointer for expression_type in get_implicit_cast_expression.
Mathias Hasselmann [Sun, 2 Sep 2007 11:56:20 +0000 (11:56 +0000)]
handle null pointer for expression_type in get_implicit_cast_expression.

2007-09-02  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* gobject/valacodegenerator.vala, tests/Makefile.am: handle null
  pointer for expression_type in get_implicit_cast_expression.
  needed for instance to pass function pointers to HashTable.full
* tests/test-036.exp, tests/test-036.vala: test for usability
  of HashTable.full

svn path=/trunk/; revision=574

17 years agoadding vapicheck as tool to verify Vala bindings. currently only .metadata
Mathias Hasselmann [Sun, 2 Sep 2007 10:12:06 +0000 (10:12 +0000)]
adding vapicheck as tool to verify Vala bindings. currently only .metadata

2007-09-02  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* vapigen/Makefile.am, vapigen/valavapicheck.vala: adding vapicheck
as tool to verify Vala bindings. currently only .metadata files are
checked for unresolved symbols.

svn path=/trunk/; revision=573

17 years agoregenerated for release 1.90.4
Mathias Hasselmann [Sun, 2 Sep 2007 10:12:03 +0000 (10:12 +0000)]
regenerated for release 1.90.4

2007-09-02 Mathias Hasselmann <mathias.hasselmann@gmx.de>

* vapi/packages/gtksourceview-2.0/gtksourceview-2.0.gidl,
  vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata,
  vapi/gtksourceview-2.0.vala: regenerated for release 1.90.4

svn path=/trunk/; revision=572

17 years agoavoid unnecessary xml_pp dependency, patch by Alberto Ruiz, fixes bug
Juerg Billeter [Sat, 1 Sep 2007 21:36:07 +0000 (21:36 +0000)]
avoid unnecessary xml_pp dependency, patch by Alberto Ruiz, fixes bug

2007-09-01  Juerg Billeter  <j@bitron.ch>

* vapigen/gidlgen/gapi2xml.pl, vapigen/gidlgen/gidlgen.in: avoid
  unnecessary xml_pp dependency, patch by Alberto Ruiz, fixes bug 472658

svn path=/trunk/; revision=571

17 years agoimprove gidlgen command-line options, patch by Alberto Ruiz, fixes bug
Juerg Billeter [Sat, 1 Sep 2007 20:59:28 +0000 (20:59 +0000)]
improve gidlgen command-line options, patch by Alberto Ruiz, fixes bug

2007-09-01  Juerg Billeter  <j@bitron.ch>

* vapigen/gidlgen/gidlgen.in: improve gidlgen command-line options,
  patch by Alberto Ruiz, fixes bug 472646

svn path=/trunk/; revision=570

17 years agofix internal warnings on syntax errors
Juerg Billeter [Sat, 1 Sep 2007 19:33:17 +0000 (19:33 +0000)]
fix internal warnings on syntax errors

2007-09-01  Juerg Billeter  <j@bitron.ch>

* vala/parser.y: fix internal warnings on syntax errors

svn path=/trunk/; revision=569

17 years agouse subtyping, patch by Ed Schouten
Juerg Billeter [Sat, 1 Sep 2007 19:09:01 +0000 (19:09 +0000)]
use subtyping, patch by Ed Schouten

2007-09-01  Juerg Billeter  <j@bitron.ch>

* vapi/curses.vala: use subtyping, patch by Ed Schouten

svn path=/trunk/; revision=568

17 years agofix implicit casts to support non-GObject classes, enable run-time checks
Juerg Billeter [Sat, 1 Sep 2007 19:07:10 +0000 (19:07 +0000)]
fix implicit casts to support non-GObject classes, enable run-time checks

2007-09-01  Juerg Billeter  <j@bitron.ch>

* vala/valalockable.vala, gobject/valacodegenerator.vala,
  gobject/valacodegeneratorassignment.vala,
  gobject/valacodegeneratorclass.vala,
  gobject/valacodegeneratorinvocationexpression.vala,
  gobject/valacodegeneratormemberaccess.vala,
  gobject/valacodegeneratormethod.vala, compiler/valacompiler.vala:
  fix implicit casts to support non-GObject classes, enable run-time
  checks by default, fixes bug 472446

svn path=/trunk/; revision=567

17 years agomark pango_glyph_item_letter_space.log_attrs and
Mathias Hasselmann [Sat, 1 Sep 2007 13:49:06 +0000 (13:49 +0000)]
mark pango_glyph_item_letter_space.log_attrs and

2007-09-01  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* vapi/packages/pango/pango.metadata: mark
  pango_glyph_item_letter_space.log_attrs and
  pango_get_log_attrs.log_attrs as arrays
* vapi/pango.vala: regenerated

svn path=/trunk/; revision=566

17 years agogtk_init_with_args.entries as array mark PangoLogAttr as value type
Mathias Hasselmann [Sat, 1 Sep 2007 13:23:05 +0000 (13:23 +0000)]
gtk_init_with_args.entries as array mark PangoLogAttr as value type

2007-09-01 Mathias Hasselmann <mathias.hasselmann@gmx.de>

* vapi/packages/gtk+-2.0/gtk+-2.0.metadata:
  gtk_init_with_args.entries as array
* vapi/packages/pango/pango.metadata:
  mark PangoLogAttr as value type
* vapi/gtk+-2.0.vala, vapi/pango.vala:
  regenerated

svn path=/trunk/; revision=565

17 years agolet DataType.is_subtype_of return true if the specified type is the same
Juerg Billeter [Sat, 1 Sep 2007 13:12:28 +0000 (13:12 +0000)]
let DataType.is_subtype_of return true if the specified type is the same

2007-09-01  Juerg Billeter  <j@bitron.ch>

* vala/valaclass.vala, vala/valadatatype.vala, vala/valainterface.vala,
  vala/valasemanticanalyzer.vala, gobject/valacodegenerator.vala,
  gobject/valacodegeneratorassignment.vala: let DataType.is_subtype_of
  return true if the specified type is the same

svn path=/trunk/; revision=564

17 years agoadd introduction to data types
Juerg Billeter [Sat, 1 Sep 2007 12:59:08 +0000 (12:59 +0000)]
add introduction to data types

2007-09-01  Juerg Billeter  <j@bitron.ch>

* doc/vala/types.xml: add introduction to data types

svn path=/trunk/; revision=563

17 years agovisit finally body, fixes bug 467919
Juerg Billeter [Sat, 1 Sep 2007 12:09:48 +0000 (12:09 +0000)]
visit finally body, fixes bug 467919

2007-09-01  Juerg Billeter  <j@bitron.ch>

* vala/valatrystatement.vala: visit finally body, fixes bug 467919

svn path=/trunk/; revision=562

17 years agoadd xsltproc as optional dependency add initial structure for the Vala
Juerg Billeter [Sat, 1 Sep 2007 11:44:15 +0000 (11:44 +0000)]
add xsltproc as optional dependency add initial structure for the Vala

2007-09-01  Juerg Billeter  <j@bitron.ch>

* configure.ac: add xsltproc as optional dependency
* doc/vala/: add initial structure for the Vala Reference Manual, will
  be built and installed if xsltproc is available
* tests/hello.exp, tests/hello.vala: add hello world test case
* doc/Makefile.am, tests/Makefile.am: updated

svn path=/trunk/; revision=561

17 years agocheck arguments of methods with ellipsis parameters
Juerg Billeter [Sat, 1 Sep 2007 05:58:23 +0000 (05:58 +0000)]
check arguments of methods with ellipsis parameters

2007-09-01  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: check arguments of methods with
  ellipsis parameters

svn path=/trunk/; revision=560

17 years agoimprove error reporting for expression, while, and for statements and for
Juerg Billeter [Fri, 31 Aug 2007 21:23:58 +0000 (21:23 +0000)]
improve error reporting for expression, while, and for statements and for

2007-08-31  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: improve error reporting for
  expression, while, and for statements and for parenthesized
  expressions

svn path=/trunk/; revision=559

17 years agoPost-release version bump
Juerg Billeter [Fri, 31 Aug 2007 12:40:19 +0000 (12:40 +0000)]
Post-release version bump

2007-08-31  Juerg Billeter  <j@bitron.ch>

* configure.ac: Post-release version bump

svn path=/trunk/; revision=558

17 years agoupdate for 0.1.3 release VALA_0_1_3
Juerg Billeter [Fri, 31 Aug 2007 12:38:29 +0000 (12:38 +0000)]
update for 0.1.3 release

2007-08-31  Juerg Billeter  <j@bitron.ch>

* NEWS: update for 0.1.3 release

svn path=/trunk/; revision=556

17 years agoonly install man pages for vapigen and gidlgen if vapigen is enabled
Juerg Billeter [Fri, 31 Aug 2007 12:33:03 +0000 (12:33 +0000)]
only install man pages for vapigen and gidlgen if vapigen is enabled

2007-08-31  Juerg Billeter  <j@bitron.ch>

* doc/Makefile.am: only install man pages for vapigen and gidlgen if
  vapigen is enabled

svn path=/trunk/; revision=555

17 years agofix binding provider support
Juerg Billeter [Fri, 31 Aug 2007 12:11:03 +0000 (12:11 +0000)]
fix binding provider support

2007-08-31  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: fix binding provider support

svn path=/trunk/; revision=554