Juerg Billeter [Tue, 24 Jul 2007 13:42:50 +0000 (13:42 +0000)]
remove unnecessary runtime checks in release mode, simplify creation
2007-07-24 Juerg Billeter <j@bitron.ch>
* gobject/valacodegenerator.vala,
gobject/valacodegeneratormemberaccess.vala,
gobject/valacodegeneratormethod.vala: remove unnecessary runtime
checks in release mode, simplify creation method when not using
construction properties
svn path=/trunk/; revision=380
Juerg Billeter [Tue, 24 Jul 2007 13:25:57 +0000 (13:25 +0000)]
allow private static fields in interfaces, fixes bug 437435
2007-07-24 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valainterface.vala: allow private static fields in
interfaces, fixes bug 437435
svn path=/trunk/; revision=379
Juerg Billeter [Mon, 23 Jul 2007 20:38:35 +0000 (20:38 +0000)]
remove unnecessary construction properties to improve performance
2007-07-23 Juerg Billeter <j@bitron.ch>
* vala/valaarray.vala, vala/valaarraylengthfield.vala,
vala/valaarrayresizemethod.vala, vala/valaattribute.vala,
vala/valacodenode.vala, vala/valaconstant.vala, vala/valafield.vala,
vala/valanamespacereference.vala, vala/valasignal.vala,
vala/valasourcefile.vala: remove unnecessary construction properties
to improve performance
svn path=/trunk/; revision=378
Juerg Billeter [Mon, 23 Jul 2007 20:23:35 +0000 (20:23 +0000)]
use setters for non-construction properties in creation methods to improve
2007-07-23 Juerg Billeter <j@bitron.ch>
* vala/valaexpressionstatement.vala, vala/valasemanticanalyzer.vala,
gobject/valacodegeneratorassignment.vala,
gobject/valacodegeneratorclass.vala,
gobject/valacodegeneratormethod.vala: use setters for non-construction
properties in creation methods to improve performance
svn path=/trunk/; revision=377
Juerg Billeter [Mon, 23 Jul 2007 19:33:50 +0000 (19:33 +0000)]
another fix for libraries with generic types
2007-07-23 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: another fix for libraries with generic
types
svn path=/trunk/; revision=376
Juerg Billeter [Mon, 23 Jul 2007 14:11:02 +0000 (14:11 +0000)]
fix some issues with memory management of includes lists
2007-07-23 Juerg Billeter <j@bitron.ch>
* vala/valasourcefile.vala, gobject/valacodegeneratorsourcefile.vala:
fix some issues with memory management of includes lists
svn path=/trunk/; revision=375
Juerg Billeter [Mon, 23 Jul 2007 09:45:35 +0000 (09:45 +0000)]
fix cheader filenames and default to GObject prerequisite for interfaces,
2007-07-23 Juerg Billeter <j@bitron.ch>
* vala/valainterface.vala, vala/valainterfacewriter.vala,
vala/valasemanticanalyzer.vala: fix cheader filenames and default to
GObject prerequisite for interfaces, fixes bug 459039
svn path=/trunk/; revision=374
Juerg Billeter [Mon, 23 Jul 2007 06:45:33 +0000 (06:45 +0000)]
write interface prerequisites
2007-07-23 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: write interface prerequisites
svn path=/trunk/; revision=373
Raffaele Sandrini [Sun, 22 Jul 2007 19:11:24 +0000 (19:11 +0000)]
add basic internationalization functionality
2007-07-22 Raffaele Sandrini <raffaele@sandrini.ch>
* vapi/glib-2.0.vala: add basic internationalization functionality
svn path=/trunk/; revision=372
Raffaele Sandrini [Sun, 22 Jul 2007 19:09:47 +0000 (19:09 +0000)]
add cheader filename logic usable for all Vala.Member types. parse
2007-07-22 Raffaele Sandrini <raffaele@sandrini.ch>
* vala/valamember.vala: add cheader filename logic usable for all
Vala.Member types.
* vala/valamethod.vala: parse cheader_filename CCode attribute
argument
* vala/valadatatype.vala: fix get_cheader_filenames method signature
to override the Symbol method instead of defining a new virtual
method
* vala/valasourcefile.vala: adopt add_symbol_dependency to use the fact
all Vala.Symbol types maintain their list of headers
svn path=/trunk/; revision=371
Juerg Billeter [Sun, 22 Jul 2007 18:44:48 +0000 (18:44 +0000)]
more fixes for libraries with generic types
2007-07-22 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: more fixes for libraries with generic
types
svn path=/trunk/; revision=370
Juerg Billeter [Sun, 22 Jul 2007 18:13:55 +0000 (18:13 +0000)]
use lazy initialization for array_types hash table
2007-07-22 Juerg Billeter <j@bitron.ch>
* vala/valadatatype.vala: use lazy initialization for array_types
hash table
svn path=/trunk/; revision=369
Juerg Billeter [Sun, 22 Jul 2007 18:06:26 +0000 (18:06 +0000)]
support libraries with generic types
2007-07-22 Juerg Billeter <j@bitron.ch>
* vala/valainterface.vala, vala/valainterfacewriter.vala: support
libraries with generic types
svn path=/trunk/; revision=368
Juerg Billeter [Sun, 22 Jul 2007 17:27:15 +0000 (17:27 +0000)]
allow inner classes to access private members of outer classes
2007-07-22 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: allow inner classes to access private
members of outer classes
svn path=/trunk/; revision=367
Juerg Billeter [Sat, 21 Jul 2007 14:29:16 +0000 (14:29 +0000)]
derive from Symbol class where appropriate and move symbol table into
2007-07-21 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am, vala/parser.y, vala/scanner.l, vala/vala.h,
vala/valaarray.vala, vala/valaarraylengthfield.vala,
vala/valaarrayresizemethod.vala, vala/valaattributeprocessor.vala,
vala/valablock.vala, vala/valabreakstatement.vala,
vala/valacallback.vala, vala/valaclass.vala,
vala/valacodecontext.vala, vala/valacodenode.vala,
vala/valacodevisitor.vala, vala/valaconstant.vala,
vala/valaconstructor.vala, vala/valacontinuestatement.vala,
vala/valacreationmethod.vala, vala/valadatatype.vala,
vala/valadeclarationstatement.vala, vala/valadestructor.vala,
vala/valadostatement.vala, vala/valaemptystatement.vala,
vala/valaenum.vala, vala/valaenumvalue.vala,
vala/valaexpressionstatement.vala, vala/valafield.vala,
vala/valaflags.vala, vala/valaflagsvalue.vala,
vala/valaforeachstatement.vala, vala/valaformalparameter.vala,
vala/valaforstatement.vala, vala/valaifstatement.vala,
vala/valainterface.vala, vala/valainterfacewriter.vala,
vala/valalockstatement.vala, vala/valamember.vala,
vala/valamemorymanager.vala, vala/valamethod.vala,
vala/valanamespace.vala, vala/valaproperty.vala,
vala/valapropertyaccessor.vala, vala/valareturnstatement.vala,
vala/valascope.vala, vala/valasemanticanalyzer.vala,
vala/valasignal.vala, vala/valasourcefile.vala,
vala/valastatement.vala, vala/valastruct.vala,
vala/valaswitchstatement.vala, vala/valasymbol.vala,
vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
vala/valathrowstatement.vala, vala/valatrystatement.vala,
vala/valatypeparameter.vala, vala/valatypereference.vala,
vala/valavariabledeclarator.vala, vala/valawhilestatement.vala,
gobject/valacodegenerator.vala,
gobject/valacodegeneratorassignment.vala,
gobject/valacodegeneratorclass.vala,
gobject/valacodegeneratorinterface.vala,
gobject/valacodegeneratorinvocationexpression.vala,
gobject/valacodegeneratormemberaccess.vala,
gobject/valacodegeneratormethod.vala,
gobject/valacodegeneratorsignal.vala,
gobject/valacodegeneratorstruct.vala, compiler/valacompiler.vala,
vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gio-standalone.vala,
vapi/glib-2.0.vala, vapi/gstreamer-0.10.vala, vapi/gtk+-2.0.vala,
vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala,
vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala, vapi/pango.vala,
vapi/vte.vala, vapigen/valagidlparser.vala, vapigen/valavapigen.vala:
derive from Symbol class where appropriate and move symbol table into
separate Scope class
svn path=/trunk/; revision=366
Raffaele Sandrini [Sat, 21 Jul 2007 12:27:03 +0000 (12:27 +0000)]
add basic zlib support add some string members, add some process exit
2007-07-21 Raffaele Sandrini <raffaele@sandrini.ch>
* vapi/zlib.vala: add basic zlib support
* vapi/glib-2.0.vala: add some string members, add some process
exit status and signal handling functions/macros, enhance FileStream
create GLib.DirUtils to be the same for dirs as GLib.FileUtils is for
files, enhance GLib.HashTable binding, add g_list_free function to
the collection of HashTable freeing functions
* vapi/Makefile.am: update
svn path=/trunk/; revision=365
Raffaele Sandrini [Sat, 21 Jul 2007 12:26:59 +0000 (12:26 +0000)]
allow '\0' escape sequences
2007-07-21 Raffaele Sandrini <raffaele@sandrini.ch>
* vala/scanner.l: allow '\0' escape sequences
svn path=/trunk/; revision=364
Raffaele Sandrini [Sat, 21 Jul 2007 12:26:56 +0000 (12:26 +0000)]
do not add includes to oneself
2007-07-21 Raffaele Sandrini <raffaele@sandrini.ch>
* vala/valasourcefile.vala: do not add includes to oneself
svn path=/trunk/; revision=363
Juerg Billeter [Tue, 17 Jul 2007 22:45:07 +0000 (22:45 +0000)]
correct return type of get_cheader_filenames
2007-07-17 Juerg Billeter <j@bitron.ch>
* vala/valaarray.vala, vala/valadatatype.vala, vala/valapointer.vala:
correct return type of get_cheader_filenames
svn path=/trunk/; revision=362
Juerg Billeter [Tue, 17 Jul 2007 22:36:46 +0000 (22:36 +0000)]
convert the CodeContext.get_root method to a property
2007-07-17 Juerg Billeter <j@bitron.ch>
* vala/valaarraylengthfield.vala, vala/valaarrayresizemethod.vala,
vala/valacodecontext.vala, vala/valasemanticanalyzer.vala,
vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
gobject/valacodegenerator.vala: convert the CodeContext.get_root
method to a property
svn path=/trunk/; revision=361
Juerg Billeter [Tue, 17 Jul 2007 17:01:44 +0000 (17:01 +0000)]
move namespaces from SourceFile to CodeContext
2007-07-17 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valaattributeprocessor.vala,
vala/valacodecontext.vala, vala/valadatatype.vala,
vala/valainterfacewriter.vala, vala/valamemorymanager.vala,
vala/valanamespace.vala, vala/valasemanticanalyzer.vala,
vala/valasourcefile.vala, vala/valasymbolbuilder.vala,
vala/valasymbolresolver.vala, gobject/valacodegenerator.vala,
gobject/valacodegeneratorsourcefile.vala, vapigen/valagidlparser.vala,
vapigen/valavapigen.vala: move namespaces from SourceFile to
CodeContext
svn path=/trunk/; revision=360
Juerg Billeter [Tue, 17 Jul 2007 13:25:22 +0000 (13:25 +0000)]
generate more ellipsis parameters regenerated to add ellipsis parameters
2007-07-17 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: generate more ellipsis parameters
* vapi/gstreamer-0.10.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
regenerated to add ellipsis parameters where appropriate
svn path=/trunk/; revision=359
Juerg Billeter [Tue, 17 Jul 2007 11:07:26 +0000 (11:07 +0000)]
add GStreamer bindings
2007-07-17 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala, vapi/glib-2.0.vala,
vapi/gstreamer-0.10.vala, vapi/packages/gstreamer-0.10/: add GStreamer
bindings
svn path=/trunk/; revision=358
Juerg Billeter [Fri, 13 Jul 2007 09:48:49 +0000 (09:48 +0000)]
Post-release version bump
2007-07-13 Juerg Billeter <j@bitron.ch>
* configure.ac: Post-release version bump
svn path=/trunk/; revision=357
Juerg Billeter [Fri, 13 Jul 2007 09:46:45 +0000 (09:46 +0000)]
update for 0.1.1 release
2007-07-13 Juerg Billeter <j@bitron.ch>
* NEWS: update for 0.1.1 release
svn path=/trunk/; revision=355
Juerg Billeter [Fri, 13 Jul 2007 09:27:38 +0000 (09:27 +0000)]
move iteration of throw statements, try statements, and catch clauses from
2007-07-13 Juerg Billeter <j@bitron.ch>
* vala/valacatchclause.vala, vala/valacodevisitor.vala,
vala/valamemorymanager.vala, vala/valasemanticanalyzer.vala,
vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
vala/valathrowstatement.vala, vala/valatrystatement.vala,
gobject/valacodegenerator.vala: move iteration of throw statements,
try statements, and catch clauses from accept to accept_children
method, fixes nested try statements
* gobject/valacodegenerator.vala: clear unhandled error instead of
returning from the current function
* vala/valasemanticanalyzer.vala: generic pointer is compatible with
generic pointer
* vapi/glib-2.0.vala: add some more default values
svn path=/trunk/; revision=354
Juerg Billeter [Thu, 12 Jul 2007 22:59:59 +0000 (22:59 +0000)]
support multi- dimensional arrays
2007-07-13 Juerg Billeter <j@bitron.ch>
* vala/parser.y, gobject/valacodegenerator.vala: support multi-
dimensional arrays
svn path=/trunk/; revision=353
Juerg Billeter [Thu, 12 Jul 2007 12:36:46 +0000 (12:36 +0000)]
remove Error out parameters, use exceptions
2007-07-12 Juerg Billeter <j@bitron.ch>
* ccode/valaccodewriter.vala, gobject/valaccodecompiler.vala,
compiler/valacompiler.vala, vapi/glib-2.0.vala,
gobject-introspection/gidl.vala, vapigen/valagidlparser.vala,
vapigen/valavapigen.vala: remove Error out parameters, use exceptions
svn path=/trunk/; revision=352
Juerg Billeter [Thu, 12 Jul 2007 12:22:59 +0000 (12:22 +0000)]
support exception handling in constructors, avoid error when not using
2007-07-12 Juerg Billeter <j@bitron.ch>
* gobject/valacodegenerator.vala: support exception handling in
constructors, avoid error when not using finally blocks
svn path=/trunk/; revision=351
Jürg Billeter [Thu, 12 Jul 2007 09:52:34 +0000 (09:52 +0000)]
allow delegates to throw exceptions
2007-07-12 Jürg Billeter <j@bitron.ch>
* vala/parser.y: allow delegates to throw exceptions
svn path=/trunk/; revision=350
Juerg Billeter [Thu, 12 Jul 2007 09:16:14 +0000 (09:16 +0000)]
allow construction methods to throw exceptions, fix issue with multiple
2007-07-12 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valasemanticanalyzer.vala,
gobject/valacodegenerator.vala: allow construction methods to throw
exceptions, fix issue with multiple catch clauses
svn path=/trunk/; revision=349
Juerg Billeter [Thu, 12 Jul 2007 08:40:09 +0000 (08:40 +0000)]
implement simple exception handling for expression and declaration
2007-07-12 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valacodenode.vala, vala/valaenum.vala,
vala/valaexpression.vala, vala/valamethod.vala,
vala/valasemanticanalyzer.vala, vala/valatrystatement.vala,
ccode/valaccodegotostatement.vala, ccode/valaccodelabel.vala:
* gobject/valacodegenerator.vala,
gobject/valacodegeneratorinvocationexpression.vala,
gobject/valacodegeneratormethod.vala: implement simple exception
handling for expression and declaration statements
* tests/test-033.vala, tests/test-033.out: test exception handling
* README, ccode/Makefile.am, tests/Makefile.am: update
svn path=/trunk/; revision=348
Juerg Billeter [Wed, 11 Jul 2007 16:19:45 +0000 (16:19 +0000)]
add substring method to the string type test substring method
2007-07-11 Juerg Billeter <j@bitron.ch>
* ccode/valaccodefunctioncall.vala, gobject/valacodegenerator.vala,
gobject/valacodegeneratorinvocationexpression.vala,
vapi/glib-2.0.vala: add substring method to the string type
* tests/test-021.vala, tests/test-021.out: test substring method
Fixes bug 443524
svn path=/trunk/; revision=347
Juerg Billeter [Wed, 11 Jul 2007 15:06:57 +0000 (15:06 +0000)]
support element access for strings test element access for strings
2007-07-11 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala, gobject/valacodegenerator.vala:
support element access for strings
* tests/test-019.vala, tests/test-019.out: test element access for
strings
Fixes bug 443523
svn path=/trunk/; revision=346
Juerg Billeter [Wed, 11 Jul 2007 14:23:50 +0000 (14:23 +0000)]
fix order in C header file test public delegate
2007-07-11 Juerg Billeter <j@bitron.ch>
* ccode/valaccodefragment.vala, ccode/valaccodenode.vala,
ccode/valaccodeoncesection.vala, gobject/valacodegenerator.vala,
gobject/valacodegeneratorsourcefile.vala: fix order in C header file
* tests/test-014.vala, tests/test-014.out: test public delegate
Fixes bug 442703
svn path=/trunk/; revision=345
Juerg Billeter [Wed, 11 Jul 2007 13:30:02 +0000 (13:30 +0000)]
call visit_end_full_expression for collection expression return array
2007-07-11 Juerg Billeter <j@bitron.ch>
* vala/valaforeachstatement.vala: call visit_end_full_expression for
collection expression
* gobject/valacodegenerator.vala, gobject/valacodegeneratormethod.vala:
return array length if appropriate
* tests/test-032.vala, tests/test-032.out: test array as return value
* tests/Makefile.am: update
Fixes bug 453676
svn path=/trunk/; revision=344
Juerg Billeter [Wed, 11 Jul 2007 12:17:19 +0000 (12:17 +0000)]
any reference or array type or pointer type can be cast to a generic
2007-07-11 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: any reference or array type or pointer
type can be cast to a generic pointer
svn path=/trunk/; revision=343
Juerg Billeter [Wed, 11 Jul 2007 11:31:48 +0000 (11:31 +0000)]
expand libxml2 bindings, patch by Michael Lawrence, fixes bug 452016
2007-07-11 Juerg Billeter <j@bitron.ch>
* vapi/libxml-2.0.vala: expand libxml2 bindings,
patch by Michael Lawrence, fixes bug 452016
svn path=/trunk/; revision=342
Juerg Billeter [Wed, 11 Jul 2007 11:02:54 +0000 (11:02 +0000)]
fix writing type arguments of formal parameters regenerated to use out
2007-07-11 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: fix writing type arguments of formal
parameters
* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
regenerated to use out instead of ref parameters
svn path=/trunk/; revision=341
Juerg Billeter [Tue, 10 Jul 2007 07:46:04 +0000 (07:46 +0000)]
add --thread option to enable multithreading support
2007-07-10 Juerg Billeter <j@bitron.ch>
* vala/valacodecontext.vala, gobject/valaccodecompiler.vala,
gobject/valacodegeneratormethod.vala, compiler/valacompiler.vala:
add --thread option to enable multithreading support
svn path=/trunk/; revision=340
Juerg Billeter [Tue, 10 Jul 2007 07:26:10 +0000 (07:26 +0000)]
always use gobject-2.0
2007-07-10 Juerg Billeter <j@bitron.ch>
* gobject/valaccodecompiler.vala: always use gobject-2.0
svn path=/trunk/; revision=339
Juerg Billeter [Tue, 10 Jul 2007 07:24:04 +0000 (07:24 +0000)]
fix typo
2007-07-10 Juerg Billeter <j@bitron.ch>
* vapi/hal.vala: fix typo
svn path=/trunk/; revision=338
Juerg Billeter [Mon, 9 Jul 2007 08:25:54 +0000 (08:25 +0000)]
Post-release version bump
2007-07-09 Juerg Billeter <j@bitron.ch>
* configure.ac: Post-release version bump
svn path=/trunk/; revision=337
Juerg Billeter [Mon, 9 Jul 2007 08:18:19 +0000 (08:18 +0000)]
update for 0.1.0 release
2007-07-09 Juerg Billeter <j@bitron.ch>
* NEWS, README, configure.ac: update for 0.1.0 release
svn path=/trunk/; revision=335
Juerg Billeter [Mon, 9 Jul 2007 07:38:44 +0000 (07:38 +0000)]
remove obsolete ref modifier and callback keyword
2007-07-09 Juerg Billeter <j@bitron.ch>
* vala/scanner.l, vala/parser.y, vala/valaarray.vala,
vala/valaarraycreationexpression.vala, vala/valaattribute.vala,
vala/valabaseaccess.vala, vala/valablock.vala,
vala/valabooleanliteral.vala, vala/valacallback.vala,
vala/valaclass.vala, vala/valacodecontext.vala,
vala/valacodenode.vala, vala/valacreationmethod.vala,
vala/valadatatype.vala, vala/valaelementaccess.vala,
vala/valaenum.vala, vala/valafield.vala, vala/valaflags.vala,
vala/valaformalparameter.vala, vala/valaforstatement.vala,
vala/valainitializerlist.vala, vala/valaintegerliteral.vala,
vala/valainterface.vala, vala/valainterfacewriter.vala,
vala/valainvocationexpression.vala, vala/valainvokable.vala,
vala/valalambdaexpression.vala, vala/valaliteralexpression.vala,
vala/valalocalvariabledeclaration.vala, vala/valamemberaccess.vala,
vala/valamemorymanager.vala, vala/valamethod.vala,
vala/valanamespace.vala, vala/valanullliteral.vala,
vala/valaobjectcreationexpression.vala, vala/valaparser.vala,
vala/valapointer.vala, vala/valaproperty.vala,
vala/valasemanticanalyzer.vala, vala/valasignal.vala,
vala/valasourcefile.vala, vala/valasourcereference.vala,
vala/valastringliteral.vala, vala/valastruct.vala,
vala/valaswitchsection.vala, vala/valaswitchstatement.vala,
vala/valasymbol.vala, vala/valasymbolresolver.vala,
vala/valatypereference.vala, vala/valavariabledeclarator.vala,
gobject/valaclassregisterfunction.vala,
gobject/valacodegenerator.vala,
gobject/valacodegeneratorassignment.vala,
gobject/valacodegeneratorclass.vala,
gobject/valacodegeneratorinterface.vala,
gobject/valacodegeneratorinvocationexpression.vala,
gobject/valacodegeneratormemberaccess.vala,
gobject/valacodegeneratormethod.vala,
gobject/valacodegeneratorsignal.vala,
gobject/valacodegeneratorsourcefile.vala,
gobject/valainterfaceregisterfunction.vala,
gobject/valatyperegisterfunction.vala, ccode/valaccodefragment.vala,
ccode/valaccodefunction.vala, compiler/valacompiler.vala,
vapi/cairo.vala, vapi/glib-2.0.vala, vapi/libxml-2.0.vala,
tests/test-023.vala, gobject-introspection/gidl.vala,
vapigen/valagidlparser.vala, vapigen/valavapigen.vala: remove obsolete
ref modifier and callback keyword
svn path=/trunk/; revision=334
Juerg Billeter [Mon, 9 Jul 2007 05:27:31 +0000 (05:27 +0000)]
write static delegate instead of callback use static delegate instead of
2007-07-09 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: write static delegate instead of
callback
* tests/test-014.vala, tests/test-015.vala, vapi/atk.vala,
vapi/cairo.vala, vapi/gdk-2.0.vala, vapi/gio-standalone.vala,
vapi/gtk+-2.0.vala, vapi/hal.vala, vapi/pango.vala, vapi/vte.vala: use
static delegate instead of callback
svn path=/trunk/; revision=333
Juerg Billeter [Mon, 9 Jul 2007 05:08:30 +0000 (05:08 +0000)]
support delegate keyword and optional modifiers to declare callbacks
2007-07-09 Juerg Billeter <j@bitron.ch>
* vala/scanner.l, vala/parser.y: support delegate keyword and optional
modifiers to declare callbacks
svn path=/trunk/; revision=332
Juerg Billeter [Mon, 9 Jul 2007 04:53:32 +0000 (04:53 +0000)]
support # modifier to transfer ownership in method parameters
2007-07-09 Juerg Billeter <j@bitron.ch>
* vala/parser.y: support # modifier to transfer ownership in method
parameters
svn path=/trunk/; revision=331
Juerg Billeter [Thu, 5 Jul 2007 12:29:32 +0000 (12:29 +0000)]
fix TimeVal binding add experimental VAPI for HAL update
2007-07-05 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vala: fix TimeVal binding
* vapi/dbus-glib-1.vala, vapi/hal.deps, vapi/hal.vala: add experimental
VAPI for HAL
* vapi/Makefile.am: update
svn path=/trunk/; revision=330
Juerg Billeter [Wed, 4 Jul 2007 14:40:28 +0000 (14:40 +0000)]
update to new GRegex API
2007-07-04 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vala: update to new GRegex API
svn path=/trunk/; revision=329
Juerg Billeter [Tue, 3 Jul 2007 21:42:08 +0000 (21:42 +0000)]
write cprefix and lower_case_cprefix of namespaces and write
2007-07-03 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: write cprefix and lower_case_cprefix
of namespaces and write cheader_filename of interfaces
* vala/valanamespace.vala: make set_cprefix and set_lower_case_cprefix
methods public
* ccode/valaccodewriter.vala, vala/valainterfacewriter.vala,
gobject/valaccodecompiler.vala, compiler/valacompiler.vala,
vapi/glib-2.0.vala, vapigen/valagidlparser.vala,
vapigen/valavapigen.vala: split GLib.File into GLib.FileStream and
GLib.FileUtils to not conflict with GVFS
* vala/valagidlparser.vala: improve support for GVFS
* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
regenerated
* vapi/gio-standalone.vala, vapi/packages/gio-standalone/: add
experimental VAPI for GVFS
* vapi/Makefile.am: update
svn path=/trunk/; revision=328
Juerg Billeter [Sun, 1 Jul 2007 19:09:54 +0000 (19:09 +0000)]
add more string utility functions and GDate support, based on patch by
2007-07-01 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vala: add more string utility functions and GDate
support, based on patch by Michael Lawrence, fixes bug 452015
svn path=/trunk/; revision=327
Juerg Billeter [Sun, 1 Jul 2007 16:50:02 +0000 (16:50 +0000)]
add basic support for enum methods
2007-07-01 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valasymbolbuilder.vala,
vala/valasymbolresolver.vala, vala/valaenum.vala: add basic support
for enum methods
svn path=/trunk/; revision=326
Juerg Billeter [Sat, 30 Jun 2007 16:31:19 +0000 (16:31 +0000)]
fix current_symbol handling in visit_property_accessor add missing
2007-06-30 Juerg Billeter <j@bitron.ch>
* vala/valasymbolbuilder.vala: fix current_symbol handling in
visit_property_accessor
* vapigen/valagidlparser.vala: add missing NoArrayLength attribute,
support hiding signals
* vapi/glib-2.0.vala: add GConnectFlags
* vapi/packages/pango/pango.gidl, vapi/pango.vala: updated to
Pango 1.17.3
* vapi/packages/gdk-2.0/gdk-2.0.gidl,
vapi/packages/gtk+-2.0/gtk+-2.0.gidl,
vapi/packages/gtk+-2.0/gtk+-2.0.metadata, vapi/gdk-2.0.vala,
vapi/gtk+-2.0.vala: updated to GTK+ 2.11.4, some small
GtkTreeModel/GtkTreeStore fixes
svn path=/trunk/; revision=325
Jürg Billeter [Fri, 15 Jun 2007 16:27:12 +0000 (16:27 +0000)]
move iteration of symbol nodes from accept to accept_children method
2007-06-15 Jürg Billeter <j@bitron.ch>
* vala/valaattributeprocessor.vala, vala/valacodevisitor.vala,
vala/valainterfacewriter.vala, vala/valamemorymanager.vala,
vala/valasemanticanalyzer.vala, vala/valasymbolbuilder.vala,
vala/valasymbolresolver.vala, vala/valaconstant.vala,
vala/valaconstructor.vala, vala/valacreationmethod.vala,
vala/valadestructor.vala, vala/valafield.vala,
vala/valaformalparameter.vala, vala/valamethod.vala,
vala/valaproperty.vala, vala/valapropertyaccessor.vala,
vala/valasignal.vala, gobject/valacodegenerator.vala,
gobject/valacodegeneratormethod.vala,
gobject/valacodegeneratorsignal.vala: move iteration of symbol nodes
from accept to accept_children method
svn path=/trunk/; revision=324
Jürg Billeter [Fri, 15 Jun 2007 12:36:34 +0000 (12:36 +0000)]
move iteration of data types from accept to accept_children method
2007-06-15 Jürg Billeter <j@bitron.ch>
* vala/valaattributeprocessor.vala, vala/valacodevisitor.vala,
vala/valainterfacewriter.vala, vala/valamemorymanager.vala,
vala/valaparser.vala, vala/valasemanticanalyzer.vala,
vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
vala/valacallback.vala, vala/valaclass.vala, vala/valaenum.vala,
vala/valaflags.vala, vala/valainterface.vala, vala/valastruct.vala,
gobject/valacodegenerator.class, gobject/valacodegeneratorclass.vala,
gobject/valacodegeneratorinterface.vala,
gobject/valacodegeneratorstruct.vala: move iteration of data types
from accept to accept_children method
svn path=/trunk/; revision=323
Jürg Billeter [Fri, 15 Jun 2007 10:25:33 +0000 (10:25 +0000)]
move iteration of source files and namespaces from accept to
2007-06-15 Jürg Billeter <j@bitron.ch>
* vala/valaattributeprocessor.vala, vala/valacodevisitor.vala,
vala/valainterfacewriter.vala, vala/valamemorymanager.vala,
vala/valaparser.vala, vala/valasemanticanalyzer.vala,
vala/valasourcefile.vala, vala/valasymbolbuilder.vala,
vala/valasymbolresolver.vala, vala/valacodenode.vala,
vala/valanamespace.vala, gobject/valacodegenerator.vala,
gobject/valacodegeneratorsourcefile.vala, vapigen/valagidlparser.vala:
move iteration of source files and namespaces from accept to
accept_children method
svn path=/trunk/; revision=322
Jürg Billeter [Fri, 15 Jun 2007 09:47:47 +0000 (09:47 +0000)]
enhance commandline interface, add support for invoking c compiler update
2007-06-15 Jürg Billeter <j@bitron.ch>
* vala/valacodecontext.vala, gobject/valaccodecompiler.vala,
compiler/valacompiler.vala: enhance commandline interface, add support
for invoking c compiler
* gobject/Makefile.am: update
* vapi/glib-2.0.vala: add shell-related utilities
svn path=/trunk/; revision=321
Jürg Billeter [Tue, 5 Jun 2007 11:05:50 +0000 (11:05 +0000)]
correct invocation of setter method of inherited properties, fixes bug
2007-06-05 Jürg Billeter <j@bitron.ch>
* gobject/valacodegeneratorassignment.vala: correct invocation of setter
method of inherited properties, fixes bug 443527
* gobject/valacodegeneratormemberaccess.vala: remove outdated comment
svn path=/trunk/; revision=320
Jürg Billeter [Tue, 5 Jun 2007 09:21:31 +0000 (09:21 +0000)]
support storing sizes of array dimensions for methods returning arrays add
2007-06-05 Jürg Billeter <j@bitron.ch>
* vala/valainvocationexpression.vala: support storing sizes of array
dimensions for methods returning arrays
* gobject/valacodegenerator.vala,
gobject/valacodegeneratorinvocationexpression.vala: add length
argument for methods returning arrays
* vapi/glib-2.0.vala: add missing NoArrayLength attributes
Fixes bug 434929
svn path=/trunk/; revision=319
Jürg Billeter [Tue, 5 Jun 2007 08:43:19 +0000 (08:43 +0000)]
allow value-type arrays of unknown length, assert at runtime when trying
2007-06-05 Jürg Billeter <j@bitron.ch>
* gobject/valacodegenerator.vala: allow value-type arrays of unknown
length, assert at runtime when trying to iterate over such arrays
svn path=/trunk/; revision=318
Jürg Billeter [Thu, 31 May 2007 12:33:24 +0000 (12:33 +0000)]
support sizeof expression update add struct_size param to GLib.Source
2007-05-31 Jürg Billeter <j@bitron.ch>
* vala/scanner.l, vala/parser.y, vala/valasemanticanalyzer.vala,
vala/valacodevisitor.vala, vala/valasizeofexpression.vala,
gobject/valacodegenerator.vala: support sizeof expression
* vala/vala.h, vala/Makefile.am: update
* vapi/glib-2.0.vala: add struct_size param to GLib.Source construction
method
svn path=/trunk/; revision=317
Jürg Billeter [Mon, 14 May 2007 09:27:26 +0000 (09:27 +0000)]
improve argument checks of invocation expression, fixes bug 435854
2007-05-14 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: improve argument checks of invocation
expression, fixes bug 435854
svn path=/trunk/; revision=316
Jürg Billeter [Thu, 10 May 2007 11:33:08 +0000 (11:33 +0000)]
separate declaration output remove comma at end of enum remove unused
2007-05-10 Jürg Billeter <j@bitron.ch>
* ccode/valaccodeblock.vala, ccode/valaccodedeclaration.vala,
ccode/valaccodedeclarator.vala, ccode/valaccodefragment.vala,
ccode/valaccodefunctiondeclarator.vala, ccode/valaccodenode.vala,
ccode/valaccodeoncesection.vala, ccode/valaccodestruct.vala,
ccode/valaccodetypedefinition.vala,
ccode/valaccodevariabledeclarator.vala: separate declaration output
* vala/parser.y: remove comma at end of enum
* vala/valaclass.vala, vala/valastruct.vala: remove unused methods
* vala/Makefile.am: update
* gobject/valacodegeneratorsourcefile.vala: support declaration
separation in C code
* gobject/valaclassregisterfunction.vala,
gobject/valainterfaceregisterfunction.vala,
gobject/valatyperegisterfunction.vala: move from vala directory,
move interface info declarations to the beginning of the block
* gobject/Makefile.am: update
svn path=/trunk/; revision=315
Jürg Billeter [Wed, 9 May 2007 12:32:58 +0000 (12:32 +0000)]
remove comma at end of generated enumerator list, fixes gcc warning
2007-05-09 Jürg Billeter <j@bitron.ch>
* ccode/valaccodeenum.vala: remove comma at end of generated enumerator
list, fixes gcc warning
svn path=/trunk/; revision=314
Jürg Billeter [Wed, 9 May 2007 12:15:30 +0000 (12:15 +0000)]
generate get_property and set_property methods only when necessary, fixes
2007-05-09 Jürg Billeter <j@bitron.ch>
* gobject/valacodegeneratorclass.vala: generate get_property and
set_property methods only when necessary, fixes bug 435848
svn path=/trunk/; revision=313
Jürg Billeter [Wed, 9 May 2007 11:53:05 +0000 (11:53 +0000)]
add basic checks for method modifiers, fixes bug 435853 include
2007-05-09 Jürg Billeter <j@bitron.ch>
* vala/parser.y: add basic checks for method modifiers, fixes bug 435853
* vala/vala.h: include valaflagsvalue.h
svn path=/trunk/; revision=312
Jürg Billeter [Wed, 9 May 2007 11:27:08 +0000 (11:27 +0000)]
iterate correctly over string in camel_case_to_lower_case method, fixes
2007-05-09 Jürg Billeter <j@bitron.ch>
* vala/valanamespace.vala: iterate correctly over string in
camel_case_to_lower_case method, fixes bug 436760
svn path=/trunk/; revision=311
Jürg Billeter [Wed, 9 May 2007 09:41:36 +0000 (09:41 +0000)]
don't add default include directives for VAPI files, fixes bug 436761
2007-05-09 Jürg Billeter <j@bitron.ch>
* vala/valanamespace.vala: don't add default include directives for
VAPI files, fixes bug 436761
svn path=/trunk/; revision=310
Jürg Billeter [Mon, 7 May 2007 10:05:06 +0000 (10:05 +0000)]
correct strstr cname, patch by Zsombor add ellipsis to Gtk.ListStore.set()
2007-05-07 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vala: correct strstr cname, patch by Zsombor
* vapi/gtk+-2.0.vala: add ellipsis to Gtk.ListStore.set() and
Gtk.TreeStore.set()
* vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala: update to GTK+ 2.10.12
svn path=/trunk/; revision=309
Jürg Billeter [Mon, 7 May 2007 09:34:33 +0000 (09:34 +0000)]
ensure that local variables don't use keywords in the C code
2007-05-07 Jürg Billeter <j@bitron.ch>
* gobject/valacodegenerator.vala,
gobject/valacodegeneratormemberaccess.vala: ensure that local
variables don't use keywords in the C code
svn path=/trunk/; revision=308
Jürg Billeter [Mon, 7 May 2007 08:01:06 +0000 (08:01 +0000)]
declare variables at the beginning of blocks as required for C89 avoid
2007-05-07 Jürg Billeter <j@bitron.ch>
* vala/parser.y: declare variables at the beginning of blocks as
required for C89
* gobject/valacodegeneratorclass.vala: avoid empty private struct
declaration
* vapi/glib-2.0.vala: use g_ascii_strtoll instead of strtoll
Patch by Hans Breuer
svn path=/trunk/; revision=307
Jürg Billeter [Thu, 3 May 2007 12:40:17 +0000 (12:40 +0000)]
split code generator update
2007-05-03 Jürg Billeter <j@bitron.ch>
* gobject/valacodegenerator.vala,
gobject/valacodegeneratorassignment.vala,
gobject/valacodegeneratorclass.vala,
gobject/valacodegeneratorinterface.vala,
gobject/valacodegeneratorinvocationexpression.vala
gobject/valacodegeneratormemberaccess.vala,
gobject/valacodegeneratormethod.vala,
gobject/valacodegeneratorsignal.vala,
gobject/valacodegeneratorsourcefile.vala,
gobject/valacodegeneratorstruct.vala: split code generator
* gobject/Makefile.am, vapigen/Makefile.am: update
svn path=/trunk/; revision=306
Jürg Billeter [Thu, 3 May 2007 09:54:30 +0000 (09:54 +0000)]
move code generator to new gobject directory update
2007-05-03 Jürg Billeter <j@bitron.ch>
* gobject/valacodegenerator.vala: move code generator to new gobject
directory
* configure.ac, Makefile.am, vala/Makefile.am, gobject/Makefile.am,
compiler/Makefile.am, vapi/Makefile.am: update
svn path=/trunk/; revision=305
Jürg Billeter [Thu, 3 May 2007 08:43:20 +0000 (08:43 +0000)]
GSList fixes and GIConv, patch by Michael Lawrence
2007-05-03 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vala: GSList fixes and GIConv, patch by Michael Lawrence
svn path=/trunk/; revision=304
Jürg Billeter [Wed, 2 May 2007 12:24:44 +0000 (12:24 +0000)]
use configured libdir, remove bashism, based on patch by Mathias
2007-05-02 Jürg Billeter <j@bitron.ch>
* vapigen/gidlgen/gidlgen.in: use configured libdir, remove bashism,
based on patch by Mathias Hasselmann
* vapigen/gidlgen/Makefile.am: update
svn path=/trunk/; revision=303
Jürg Billeter [Wed, 2 May 2007 09:42:45 +0000 (09:42 +0000)]
Remove vala-pkg
2007-05-02 Jürg Billeter <j@bitron.ch>
* Remove vala-pkg
svn path=/trunk/; revision=301
Jürg Billeter [Wed, 2 May 2007 09:42:00 +0000 (09:42 +0000)]
Move contents of vala-pkg to trunk
2007-05-02 Jürg Billeter <j@bitron.ch>
* Move contents of vala-pkg to trunk
svn path=/trunk/; revision=300
Jürg Billeter [Wed, 2 May 2007 09:38:17 +0000 (09:38 +0000)]
Rename vala to vala-pkg
2007-05-02 Jürg Billeter <j@bitron.ch>
* Rename vala to vala-pkg
svn path=/trunk/; revision=299
Jürg Billeter [Wed, 2 May 2007 09:26:52 +0000 (09:26 +0000)]
move from vapigen update
2007-05-02 Jürg Billeter <j@bitron.ch>
* gobject-introspection, vapigen, vapi/packages: move from vapigen
* configure.ac, Makefile.am: update
svn path=/trunk/; revision=298
Jürg Billeter [Mon, 30 Apr 2007 16:12:24 +0000 (16:12 +0000)]
Post-release version bump
2007-04-30 Jürg Billeter <j@bitron.ch>
* configure.ac: Post-release version bump
svn path=/trunk/; revision=297
Jürg Billeter [Mon, 30 Apr 2007 15:05:49 +0000 (15:05 +0000)]
update for 0.0.9 release
2007-04-30 Jürg Billeter <j@bitron.ch>
* NEWS: update for 0.0.9 release
svn path=/trunk/; revision=296
Jürg Billeter [Mon, 30 Apr 2007 14:18:27 +0000 (14:18 +0000)]
add experimental support for class declarations in multiple source files
2007-04-30 Jürg Billeter <j@bitron.ch>
* vala/parser.y, vala/valasymbolbuilder.vala, vala/valaclass.vala,
vala/valanamespace.vala: add experimental support for class
declarations in multiple source files
svn path=/trunk/; revision=295
Jürg Billeter [Mon, 30 Apr 2007 10:01:41 +0000 (10:01 +0000)]
check whether specified collection is iterable in foreach statements,
2007-04-30 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: check whether specified collection is
iterable in foreach statements, fixes bug 434514
svn path=/trunk/; revision=294
Jürg Billeter [Mon, 30 Apr 2007 09:45:42 +0000 (09:45 +0000)]
allow any integer type as index in an element access expression, fixes bug
2007-04-30 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: allow any integer type as index in an
element access expression, fixes bug 434506
svn path=/trunk/; revision=293
Jürg Billeter [Mon, 30 Apr 2007 09:27:07 +0000 (09:27 +0000)]
add basic support for flags, fixes bug 434511
2007-04-30 Jürg Billeter <j@bitron.ch>
* vala/parser.y, vala/valasymbolbuilder.vala,
vala/valaattributeprocessor.vala, vala/valasemanticanalyzer.vala,
vala/valacodegenerator.vala, vala/valainterfacewriter.vala,
vala/valaflags.vala: add basic support for flags, fixes bug 434511
svn path=/trunk/; revision=292
Jürg Billeter [Mon, 30 Apr 2007 08:50:08 +0000 (08:50 +0000)]
check that void return values are not used, fixes bug 434503
2007-04-30 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: check that void return values are not
used, fixes bug 434503
svn path=/trunk/; revision=291
Jürg Billeter [Mon, 30 Apr 2007 07:59:19 +0000 (07:59 +0000)]
fix type check in relational operations, fixes bug 434507
2007-04-30 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: fix type check in relational
operations, fixes bug 434507
svn path=/trunk/; revision=290
Jürg Billeter [Mon, 30 Apr 2007 07:38:03 +0000 (07:38 +0000)]
add pointer to integer conversion in foreach statements, fixes bug 433288
2007-04-30 Jürg Billeter <j@bitron.ch>
* vala/valacodegenerator.vala: add pointer to integer conversion in
foreach statements, fixes bug 433288
svn path=/trunk/; revision=289
Jürg Billeter [Tue, 24 Apr 2007 09:34:13 +0000 (09:34 +0000)]
add g_bit_nth_lsf, g_bit_nth_msf, and g_bit_storage
2007-04-24 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vala: add g_bit_nth_lsf, g_bit_nth_msf, and
g_bit_storage
svn path=/trunk/; revision=288
Jürg Billeter [Tue, 24 Apr 2007 09:32:32 +0000 (09:32 +0000)]
add possibility to override default cname process callback attributes
2007-04-24 Jürg Billeter <j@bitron.ch>
* vala/valacallback.vala: add possibility to override default cname
* vala/valaattributeprocessor.vala: process callback attributes
* vala/valainterfacewriter.vala: cleanup code to write identifiers
svn path=/trunk/; revision=287
Jürg Billeter [Wed, 18 Apr 2007 09:03:25 +0000 (09:03 +0000)]
use const types where appropriate, fixes bug 428393
2007-04-18 Jürg Billeter <j@bitron.ch>
* vala/valacodegenerator.vala: use const types where appropriate,
fixes bug 428393
svn path=/trunk/; revision=286
Jürg Billeter [Wed, 18 Apr 2007 08:49:10 +0000 (08:49 +0000)]
simplify unref expression for non-null types don't mark fields as non-null
2007-04-18 Jürg Billeter <j@bitron.ch>
* vala/valacodegenerator.vala: simplify unref expression for non-null
types
* vala/valaclass.vala: don't mark fields as non-null due to
initialization issue
svn path=/trunk/; revision=285
Jürg Billeter [Thu, 12 Apr 2007 15:11:57 +0000 (15:11 +0000)]
add is_null property fix type analysis in conditional and parenthesized
2007-04-12 Jürg Billeter <j@bitron.ch>
* vala/valatypereference.vala: add is_null property
* vala/valasemanticanalyzer.vala: fix type analysis in conditional and
parenthesized expressions, fixes bug 428368
* vapi/glib-2.0.vala: don't mark GLib.Object and GLib.InitiallyUnowned
as abstract
svn path=/trunk/; revision=284
Jürg Billeter [Thu, 12 Apr 2007 09:49:33 +0000 (09:49 +0000)]
fix warning when using interface properties
2007-04-12 Jürg Billeter <j@bitron.ch>
* vala/valacodegenerator.vala: fix warning when using interface
properties
svn path=/trunk/; revision=283
Jürg Billeter [Fri, 6 Apr 2007 14:27:28 +0000 (14:27 +0000)]
use yyleng instead of strlen don't write unnecessary attributes to reduce
2007-04-06 Jürg Billeter <j@bitron.ch>
* vala/scanner.l: use yyleng instead of strlen
* vala/valainterfacewriter.vala: don't write unnecessary attributes to
reduce parse time
* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
remove unnecessary attributes to reduce parse time
svn path=/trunk/; revision=282
Jürg Billeter [Thu, 5 Apr 2007 11:49:49 +0000 (11:49 +0000)]
support temporary variables in initializers and iterators of for
2007-04-05 Jürg Billeter <j@bitron.ch>
* vala/valacodegenerator.vala, vala/valaforstatement.vala: support
temporary variables in initializers and iterators of for statements
* vala/valacodegenerator.vala: support freeing generic types
* vala/parser.y, vala/valacodevisitor.vala,
vala/valasemanticanalyzer.vala, vala/valacodegenerator.vala,
vala/valareferencetransferexpression.vala: add reference transfer
expressions, e.g. `#var'
* vala/vala.h, vala/Makefile.am: update
svn path=/trunk/; revision=281
Jürg Billeter [Thu, 5 Apr 2007 09:50:40 +0000 (09:50 +0000)]
generate properties for destroy function pointers in generic types
2007-04-05 Jürg Billeter <j@bitron.ch>
* vala/valacodegenerator.vala: generate properties for destroy function
pointers in generic types
svn path=/trunk/; revision=280
Jürg Billeter [Thu, 5 Apr 2007 09:03:37 +0000 (09:03 +0000)]
pass destroy function pointer when creating instances of generic types add
2007-04-05 Jürg Billeter <j@bitron.ch>
* vala/valacodegenerator.vala: pass destroy function pointer when
creating instances of generic types
* vala/valaclass.vala: add get_type_parameters method
svn path=/trunk/; revision=279
Jürg Billeter [Wed, 4 Apr 2007 20:52:30 +0000 (20:52 +0000)]
improve cast support fix ownership handling of local arrays skip code
2007-04-04 Jürg Billeter <j@bitron.ch>
* vala/scanner.l: improve cast support
* vala/valasemanticanalyzer.vala: fix ownership handling of local arrays
* vala/valacodegenerator.vala: skip code generation for static
interfaces, downgrade generic management support message to warning
* vala/valacallback.vala: support callbacks as property type
svn path=/trunk/; revision=278