Jürg Billeter [Thu, 1 Mar 2007 22:02:22 +0000 (22:02 +0000)]
improve equality check add type parameter equality check add symbol
2007-03-01 Jürg Billeter <j@bitron.ch>
* vala/valatypereference.vala: improve equality check
* vala/valatypeparameter.vala: add type parameter equality check
* vala/valasemanticanalyzer.vala: add symbol dependencies for
interfaces, support overriding methods of interfaces with
prerequisites
Jürg Billeter [Wed, 28 Feb 2007 19:39:00 +0000 (19:39 +0000)]
test Array.resize method and Array.length field update length when
2007-02-28 Jürg Billeter <j@bitron.ch>
* tests/test-022.vala, tests/test-022.out: test Array.resize method and
Array.length field
* vala/valacodegenerator.vala: update length when resizing arrays
Jürg Billeter [Tue, 27 Feb 2007 22:42:50 +0000 (22:42 +0000)]
mark source_reference as construction property to allow access in Array
2007-02-27 Jürg Billeter <j@bitron.ch>
* vala/valacodenode.vala: mark source_reference as construction property
to allow access in Array constructor
* vala/valaarraylengthfield.vala: the Array.length field
* vala/valaarrayresizemethod.vala: the Array.resize method
* vala/valaarray.vala: support arrays of generic type parameters, add
length field, add resize method
* vala/valatypereference.vala: make source reference optional
* vala/valatypeparameter.vala, vala/valasymbolresolver.vala,
vala/valasemanticanalyzer.vala: support arrays of generic type
parameters
* vala/valadatatype.vala, vala/valacodegenerator.vala: support
Array.length field and Array.resize method
* vala/Makefile.am: update
Jürg Billeter [Mon, 26 Feb 2007 22:18:58 +0000 (22:18 +0000)]
test postfix and prefix expressions update support prefix and postfix
2007-02-26 Jürg Billeter <j@bitron.ch>
* tests/test-027.vala, tests/test-027.out: test postfix and prefix
expressions
* tests/Makefile.am: update
* vala/valasemanticanalyzer.vala, vala/valacodegenerator.vala: support
prefix and postfix expressions for properties and parenthesized
expressions
Jürg Billeter [Sun, 25 Feb 2007 19:58:27 +0000 (19:58 +0000)]
test hidden base method access update correct symbol_reference for base
2007-02-25 Jürg Billeter <j@bitron.ch>
* tests/test-026.vala, tests/test-026.out: test hidden base method
access
* tests/Makefile.am: update
* vala/valasemanticanalyzer.vala: correct symbol_reference for base
access, add current_struct field
Jürg Billeter [Sun, 10 Dec 2006 10:11:19 +0000 (10:11 +0000)]
add message logging functions support enum to int conversions and
2006-12-10 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vala: add message logging functions
* vala/valasemanticanalyzer.vala: support enum to int conversions and
diagnostic methods
* vala/valacodegenerator.vala: support do statements
Jürg Billeter [Thu, 2 Nov 2006 15:56:44 +0000 (15:56 +0000)]
don't use weak for value types make set_cname public add Gtk.Allocation,
2006-11-02 Jürg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: don't use weak for value types
* vala/valamethod.vala: make set_cname public
* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
add Gtk.Allocation, don't use weak for value types
Jürg Billeter [Tue, 31 Oct 2006 21:41:12 +0000 (21:41 +0000)]
don't add NULL to end of variable argument list for printf-style functions
2006-10-31 Jürg Billeter <j@bitron.ch>
* vala/valacodegenerator.vala: don't add NULL to end of variable
argument list for printf-style functions to reduce the number of
warnings during C compilation
* vala/valamethod.vala: support PrintfFormat attribute
* vala/vala.h: include valareport.h
* vapi/glib-2.0.vala: use PrintfFormat attribute
Jürg Billeter [Fri, 27 Oct 2006 12:59:04 +0000 (12:59 +0000)]
detect some array types in return types support is_value_ype and fields in
2006-10-27 Jürg Billeter <j@bitron.ch>
* gidlgen/gapi2xml.pl: detect some array types in return types
* vapigen/valagidlparser.vala: support is_value_ype and fields in boxed
types
* vapigen/valavapigen.vala: add NoArrayLength attributes
* packages/atk/atk.gidl, packages/gtk+-2.0/gtk+-2.0.gidl: regenerated
* packages/gtk+-2.0/gtk+-2.0.metadata: fixes in GtkListStore,
GtkTreePath, and GtkTreeView
Jürg Billeter [Thu, 26 Oct 2006 12:05:44 +0000 (12:05 +0000)]
don't create empty dispose functions, support virtual methods with
2006-10-26 Jürg Billeter <j@bitron.ch>
* vala/valacodegenerator.vala: don't create empty dispose functions,
support virtual methods with non-void return type
* vapi/glib-2.0.vala: include glib/gstdio.h for GLib file functions
Jürg Billeter [Wed, 25 Oct 2006 20:12:20 +0000 (20:12 +0000)]
start to use const specifier for strings to reduce number of warnings
2006-10-25 Jürg Billeter <j@bitron.ch>
* vala/valacodegenerator.vala, vala/valaarray.vala,
vala/valacallback.vala, vala/valaclass.vala, vala/valadatatype.vala,
vala/valaenum.vala, vala/valaflags.vala, vala/valainterface.vala,
vala/valastruct.vala, vala/valatypereference.vala, vapi/glib-2.0.vala:
start to use const specifier for strings to reduce number of warnings
during C compilation
Jürg Billeter [Tue, 24 Oct 2006 20:35:07 +0000 (20:35 +0000)]
don't crash on already resolved type references support typeof expression
2006-10-24 Jürg Billeter <j@bitron.ch>
* vala/valasymbolresolver.vala: don't crash on already resolved type
references
* vala/valasemanticanalyzer.vala: support typeof expression
* vala/valacodegenerator.vala: improve support for null-terminated
arrays
* vala/valainterfacewriter.vala: don't write type arguments for arrays
add get and set value support add user (arbitrary) signal support
2006-10-06 Raffaele Sandrini <rasa@gmx.ch>
* vapi/glib-2.0.vala, vala/valaflags.vala, vala/valaenum.vala,
vala/valadatatype.vala, vala/valaarray.vala, vala/valaclass.vala,
vala/valastruct.vala: add get and set value support
* vala/valacodegenerator.vala: add user (arbitrary) signal support
* vala/valadatatype.vala, vala/valamemorymanager.vala,
vala/valastruct.vala: correctly honor ref types in type arguments
* ccode/valaccodedeclaration.vala, ccode/valaccodemodifiers.vala:
support register local variables
* ccode/valaccodememberaccess.vala: make one line creation possible
* vapi/glib-2.0.vala: fix return type of Glib.List.nth_data
* tests/test-024.vala: add user signal test
* tests/Makefile.am: update
Jürg Billeter [Wed, 4 Oct 2006 13:17:07 +0000 (13:17 +0000)]
specify array element type as type argument create declarations for array
2006-10-04 Jürg Billeter <j@bitron.ch>
* vala/valasymbolresolver.vala, vala/valasemanticanalyzer.vala: specify
array element type as type argument
* vala/valacodegenerator.vala: create declarations for array length
variables, iterate over arrays by index if it has known length
* vala/valacharacterliteral.vala: correct return type of get_char
* vala/valanamespace.vala: process enums and flags first
* vala/valavariabledeclarator.vala: set parent_node of initializer, add
replace method
* tests/test-023.vala: test list construction
* tests/Makefile.am: update
set attributes also for non-readable properties support interface signals
2006-09-28 Jürg Billeter <j@bitron.ch>
* vala/parser.y: set attributes also for non-readable properties
* vala/valacodegenerator.vala: support interface signals
* vala/valainvocationexpression.vala,
vala/valaobjectcreationexpression.vala: fix problem when children
change while iterating over them
set instance_by_reference flag on generated methods if appropriate set
2006-09-27 Jürg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: set instance_by_reference flag on
generated methods if appropriate
* packages/gtk+-2.0/gtk+-2.0.metadata: set ellipsis for
gtk_show_about_dialog
add threading and assorted structures add an additional abstraction for
2006-09-27 Raffaele Sandrini <rasa@gmx.ch>
* vapi/glib-2.0.vala: add threading and assorted structures
* vala/valamember.vala: add an additional abstraction for all members
of a class
* vala/valalockstatement.vala, vala/valacodegenerator.vala,
vala/scanner.l, vala/valasemanticanalyzer.vala,
vala/valalockable.vala, vala/parser.y, vala/valacodevisitor.vala:
add lock feature to vala
* vala/valamethod.vala, vala/valafield.vala, vala/valaconstant.vala,
vala/valasignal.vala, vala/valaproperty.vala: make those members
lockable
* vala/valacodegenerator.vala: use member abstraction to simlify field
initialisation and destruction
* vala/valacodegenerator.vala: introduce new C macros VALA_FREE_CHECKED
and VALA_FREE_UNCHECKED to make safe freeing code nicer
* vala/vala.h: update and bring arraycreationexpression in order
* vala/Makefile.am: update
move global methods from Global struct to namespace, remove leading
2006-09-27 Jürg Billeter <j@bitron.ch>
* gidlgen/gapi2xml.pl: move global methods from Global struct to
namespace, remove leading underscore in names of global methods
* vapigen/valagidlparser.vala: support namespace methods
* packages/atk/atk.gidl, packages/gdk-2.0/gdk-2.0.gidl,
packages/pango/pango.gidl, packages/gtk+-2.0/gtk+-2.0.gidl:
regenerated
* packages/gtk+-2.0/gtk+-2.0.metadata: mark GtkActionEntry as value type
make character_literal stricter support more method return types, support
2006-09-03 Jürg Billeter <j@bitron.ch>
* vala/scanner.l: make character_literal stricter
* vala/valacodegenerator.vala: support more method return types,
support unicode character literals
* vala/valacharacterliteral.vala: validate input, add get_char method
* vala/scanner.l, vala/parser.y, vala/valasemanticanalyzer.vala,
vala/valacodegenerator.vala, vala/valainterfacewriter.vala,
vala/valamemberaccessibility.vala: prepare to support protected
members
support integer and floating point suffixes use correct type for integer
2006-09-02 Jürg Billeter <j@bitron.ch>
* vala/scanner.l: support integer and floating point suffixes
* vala/valasemanticanalyzer.vala: use correct type for integer and
floating point literals
* vala/valaintegerliteral.val, vala/valarealliteral.vala: add
get_type_name method
* vapi/glib-2.0.vala: add string to int64 conversion method