Juerg Billeter [Sat, 22 Dec 2007 11:36:45 +0000 (11:36 +0000)]
build vapigen and vala-gen-project with newly built valac
2007-12-22 Juerg Billeter <j@bitron.ch>
* vapigen/Makefile.am, gen-project/Makefile.am: build vapigen and
vala-gen-project with newly built valac
svn path=/trunk/; revision=784
Juerg Billeter [Thu, 20 Dec 2007 22:17:49 +0000 (22:17 +0000)]
add tree and xpath bindings, use pointers, based on patch by Ondřej
2007-12-20 Juerg Billeter <j@bitron.ch>
* vapi/libxml-2.0.vapi: add tree and xpath bindings, use pointers,
based on patch by Ondřej Jirman
svn path=/trunk/; revision=783
Juerg Billeter [Thu, 20 Dec 2007 22:07:12 +0000 (22:07 +0000)]
add support for pointer member access
2007-12-20 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/scanner.l, vala/valacodecontext.vala,
vala/valadatatype.vala, vala/valamemberaccess.vala,
vala/valapointertype.vala, vala/valasemanticanalyzer.vala,
gobject/valadbusbindingprovider.vala: add support for pointer member
access
svn path=/trunk/; revision=782
Juerg Billeter [Tue, 18 Dec 2007 16:25:08 +0000 (16:25 +0000)]
some enhancements to the SQLite bindings
2007-12-18 Juerg Billeter <j@bitron.ch>
* vapi/sqlite3.vapi: some enhancements to the SQLite bindings
svn path=/trunk/; revision=781
Juerg Billeter [Tue, 18 Dec 2007 15:49:14 +0000 (15:49 +0000)]
support cname attribute for constants
2007-12-18 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valaattributeprocessor.vala,
vala/valaconstant.vala: support cname attribute for constants
svn path=/trunk/; revision=780
Juerg Billeter [Tue, 18 Dec 2007 15:26:11 +0000 (15:26 +0000)]
support PointerType for parameters
2007-12-18 Juerg Billeter <j@bitron.ch>
* vala/parser.y: support PointerType for parameters
svn path=/trunk/; revision=779
Juerg Billeter [Sun, 16 Dec 2007 17:19:30 +0000 (17:19 +0000)]
avoid critical warning when using abstract properties, fixes bug 503444
2007-12-16 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegeneratorclass.vala: avoid critical warning when
using abstract properties, fixes bug 503444
svn path=/trunk/; revision=778
Juerg Billeter [Sun, 16 Dec 2007 17:11:05 +0000 (17:11 +0000)]
cast return value of g_type_create_instance to avoid gcc warning, fixes
2007-12-16 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegeneratormethod.vala: cast return value of
g_type_create_instance to avoid gcc warning, fixes bug 503411
svn path=/trunk/; revision=777
Juerg Billeter [Sat, 15 Dec 2007 12:10:51 +0000 (12:10 +0000)]
remove option to disable automatic memory management, manual memory
2007-12-15 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala,
gobject/valaccodeassignmentbinding.vala,
gobject/valaccodegenerator.vala, gobject/valaccodegeneratorclass.vala,
compiler/valacompiler.vala, doc/valac.1: remove option to disable
automatic memory management, manual memory management is now possible
with pointers
svn path=/trunk/; revision=776
Juerg Billeter [Sat, 15 Dec 2007 12:02:11 +0000 (12:02 +0000)]
remove Pointer class
2007-12-15 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am, vala/valadatatype.vala, vala/valanulltype.vala,
vala/valapointer.vala, vala/valasemanticanalyzer.vala,
vala/valatypesymbol.vala, gobject/valaccodegeneratormethod.vala:
remove Pointer class
svn path=/trunk/; revision=775
Juerg Billeter [Sat, 15 Dec 2007 11:54:52 +0000 (11:54 +0000)]
update to be compatible with new pointer types
2007-12-15 Juerg Billeter <j@bitron.ch>
* gee/hashmap.vala, gee/hashset.vala: update to be compatible with new
pointer types
* vala/parser.y, vala/vala.h, vala/valaclass.vala,
vala/valadatatype.vala, vala/valamemorymanager.vala,
vala/valanulltype.vala, vala/valapointertype.vala,
vala/valasemanticanalyzer.vala, vala/valasymbolresolver.vala,
vala/valavoidtype.vala, gobject/valaccodegenerator.vala,
gobject/valaccodegeneratormethod.vala: use PointerType
svn path=/trunk/; revision=774
Juerg Billeter [Sat, 15 Dec 2007 09:11:00 +0000 (09:11 +0000)]
add ClassType and InterfaceType classes, let ArrayType derive from
2007-12-15 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am, vala/valaarraytype.vala, vala/valaclass.vala,
vala/valaclasstype.vala, vala/valainterface.vala,
vala/valainterfacetype.vala, vala/valareferencetype.vala,
vala/valasemanticanalyzer.vala, vala/valasignal.vala,
gobject/valaccodegenerator.vala,
gobject/valaccodegeneratormemberaccess.vala,
gobject/valaccodegeneratormethod.vala,
gobject/valadbusbindingprovider.vala: add ClassType and InterfaceType
classes, let ArrayType derive from ReferenceType, mark ReferenceType
as abstract
svn path=/trunk/; revision=773
Juerg Billeter [Sat, 15 Dec 2007 07:57:03 +0000 (07:57 +0000)]
refactor collection type check
2007-12-15 Juerg Billeter <j@bitron.ch>
* vala/valadatatype.vala, vala/valasemanticanalyzer.vala: refactor
collection type check
svn path=/trunk/; revision=772
Juerg Billeter [Sat, 15 Dec 2007 07:20:51 +0000 (07:20 +0000)]
move is_type_compatible method from SemanticAnalyzer to DataType
2007-12-15 Juerg Billeter <j@bitron.ch>
* vala/valadatatype.vala, vala/valasemanticanalyzer.vala,
vapi/glib-2.0.vapi: move is_type_compatible method from
SemanticAnalyzer to DataType
svn path=/trunk/; revision=771
Juerg Billeter [Fri, 14 Dec 2007 21:55:18 +0000 (21:55 +0000)]
add add_type_dependency method to SourceFile
2007-12-14 Juerg Billeter <j@bitron.ch>
* vala/valadatatype.vala, vala/valasemanticanalyzer.vala,
vala/valasourcefile.vala: add add_type_dependency method to SourceFile
svn path=/trunk/; revision=770
Juerg Billeter [Fri, 14 Dec 2007 21:14:23 +0000 (21:14 +0000)]
move reference type check from MemoryManager to DataType
2007-12-14 Juerg Billeter <j@bitron.ch>
* vala/valadatatype.vala, vala/valamemorymanager.vala: move reference
type check from MemoryManager to DataType
svn path=/trunk/; revision=769
Juerg Billeter [Fri, 14 Dec 2007 19:41:38 +0000 (19:41 +0000)]
replace Invokable interface by DelegateType, MethodType, and SignalType
2007-12-14 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am, vala/valadatatype.vala, vala/valadelegatetype.vala,
vala/valafield.vala, vala/valaformalparameter.vala,
vala/valainterfacewriter.vala, vala/valainvokable.vala,
vala/valamemorymanager.vala, vala/valamethod.vala,
vala/valamethodtype.vala, vala/valasemanticanalyzer.vala,
vala/valasignal.vala, vala/valasignaltype.vala,
vala/valasymbolresolver.vala, vala/valavariabledeclarator.vala,
gobject/valaccodegenerator.vala,
gobject/valaccodegeneratorinvocationexpression.vala: replace Invokable
interface by DelegateType, MethodType, and SignalType classes
svn path=/trunk/; revision=768
Juerg Billeter [Fri, 14 Dec 2007 15:42:21 +0000 (15:42 +0000)]
fix exception handling with ellipsis parameters
2007-12-14 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegeneratorinvocationexpression.vala: fix exception
handling with ellipsis parameters
svn path=/trunk/; revision=767
Juerg Billeter [Wed, 12 Dec 2007 19:44:26 +0000 (19:44 +0000)]
readd support for void UnresolvedType, still required for vapigen
2007-12-12 Juerg Billeter <j@bitron.ch>
* vala/valasymbolresolver.vala: readd support for void UnresolvedType,
still required for vapigen
* gobject-introspection/gidl.vapi: add IdlNodeUnion
* vapigen/valagidlparser.vala: add support for unions
* vapi/packages/libgnome-2.0/, vapi/packages/libgnomeui-2.0/: remove
bindings for deprecated functions
* vapi/gconf-2.0.vapi, vapi/gio-2.0.vapi, vapi/gnome-vfs-2.0.vapi,
vapi/gstreamer-0.10.vapi, vapi/libgnome-2.0.vapi,
vapi/libgnomeui-2.0.vapi, vapi/libnotify.vapi, vapi/libsoup-2.2.vapi,
vapi/poppler-glib.vapi: regenerated
svn path=/trunk/; revision=766
Juerg Billeter [Wed, 12 Dec 2007 17:44:05 +0000 (17:44 +0000)]
support assignment of lambda expressions to local variables
2007-12-12 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: support assignment of lambda
expressions to local variables
svn path=/trunk/; revision=765
Juerg Billeter [Wed, 12 Dec 2007 17:27:33 +0000 (17:27 +0000)]
verify that the `abstract', `virtual', and `overrides' method modifiers
2007-12-12 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: verify that the `abstract', `virtual',
and `overrides' method modifiers are used only where applicable
svn path=/trunk/; revision=764
Juerg Billeter [Wed, 12 Dec 2007 16:39:59 +0000 (16:39 +0000)]
fix invalid C code for virtual interface method implementations
2007-12-12 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegeneratormethod.vala: fix invalid C code for virtual
interface method implementations
* tests/interfaces.exp, tests/interfaces.vala: test virtual interface
method implementations
svn path=/trunk/; revision=763
Juerg Billeter [Wed, 12 Dec 2007 16:15:33 +0000 (16:15 +0000)]
always use VoidType
2007-12-12 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/scanner.l, vala/valadatatype.vala,
vala/valasymbolresolver.vala, vala/valavoidtype.vala: always use
VoidType
* tests/delegates.exp, tests/delegates.vala: test delegates with void
return types
svn path=/trunk/; revision=762
Juerg Billeter [Sun, 9 Dec 2007 14:03:45 +0000 (14:03 +0000)]
add missing files
2007-12-09 Juerg Billeter <j@bitron.ch>
* vapi/packages/gdk-2.0/, vapi/packages/gtk+-2.0/, vapi/packages/pango/:
add missing files
svn path=/trunk/; revision=761
Juerg Billeter [Sun, 9 Dec 2007 14:00:08 +0000 (14:00 +0000)]
remove bindings for deprecated functions
2007-12-09 Juerg Billeter <j@bitron.ch>
* vapi/packages/gdk-2.0/, vapi/packages/gtk+-2.0/,
vapi/packages/gtk+-2.0/, vapi/packages/pango/: remove bindings for
deprecated functions
* vapi/atk.vapi, vapi/gdk-2.0.vapi, vapi/gtk+-2.0.vapi, vapi/pango.vapi:
regenerated
svn path=/trunk/; revision=760
Juerg Billeter [Sun, 9 Dec 2007 13:29:33 +0000 (13:29 +0000)]
add GTimer and g_list_insert_sorted, patch by Mikael Hermansson
2007-12-09 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add GTimer and g_list_insert_sorted,
patch by Mikael Hermansson
svn path=/trunk/; revision=759
Juerg Billeter [Tue, 4 Dec 2007 21:33:09 +0000 (21:33 +0000)]
use subclasses of DataType
2007-12-04 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala, gobject/valaccodegenerator.vala,
gobject/valaccodegeneratormethod.vala,
gobject/valadbusbindingprovider.vala: use subclasses of DataType
svn path=/trunk/; revision=758
Juerg Billeter [Tue, 4 Dec 2007 21:19:40 +0000 (21:19 +0000)]
fix return type for creation methods
2007-12-04 Juerg Billeter <j@bitron.ch>
* vala/valacreationmethod.vala, vala/valasemanticanalyzer.vala,
gobject/valaccodegeneratormethod.vala: fix return type for creation
methods
svn path=/trunk/; revision=757
Juerg Billeter [Tue, 4 Dec 2007 19:03:22 +0000 (19:03 +0000)]
use subclasses of DataType
2007-12-04 Juerg Billeter <j@bitron.ch>
* vala/valaarray.vala, vala/valaclass.vala, vala/valaenum.vala,
vala/valainterface.vala, vala/valareferencetype.vala,
vala/valasemanticanalyzer.vala, vala/valasignal.vala,
vala/valastruct.vala, gobject/valaccodegeneratormethod.vala,
gobject/valadbusbindingprovider.vala: use subclasses of DataType
svn path=/trunk/; revision=756
Juerg Billeter [Tue, 4 Dec 2007 19:02:11 +0000 (19:02 +0000)]
Update svn:ignore property.
2007-12-04 Juerg Billeter <j@bitron.ch>
Update svn:ignore property.
svn path=/trunk/; revision=755
Juerg Billeter [Tue, 4 Dec 2007 13:28:30 +0000 (13:28 +0000)]
add NullType and VoidType classes
2007-12-04 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am, vala/valanulltype.vala, vala/valavoidtype.vala,
gobject/valaccodegenerator.vala: add NullType and VoidType classes
svn path=/trunk/; revision=754
Juerg Billeter [Tue, 4 Dec 2007 12:48:31 +0000 (12:48 +0000)]
add ArrayType, PointerType, ReferenceType, and ValueType classes
2007-12-04 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am, vala/valaarraytype.vala, vala/valapointertype.vala,
vala/valareferencetype.vala, vala/valavaluetype.vala,
gobject/valaccodegenerator.vala,
gobject/valaccodegeneratormemberaccess.vala: add ArrayType,
PointerType, ReferenceType, and ValueType classes
svn path=/trunk/; revision=753
Juerg Billeter [Tue, 4 Dec 2007 10:32:32 +0000 (10:32 +0000)]
don't call replace_type when type resolving failed
2007-12-04 Juerg Billeter <j@bitron.ch>
* vala/valasymbolresolver.vala: don't call replace_type when type
resolving failed
svn path=/trunk/; revision=752
Roberto Majadas [Mon, 3 Dec 2007 20:51:33 +0000 (20:51 +0000)]
Added libgnome-menu vapi files Added libgnome-menu package files
2007-12-03 Roberto Majadas <telemaco@openshine.com>
* vapi/libgnome-menu.* : Added libgnome-menu vapi files
* vapi/packages/libgnome-menu.* : Added libgnome-menu package files
svn path=/trunk/; revision=751
Juerg Billeter [Mon, 3 Dec 2007 20:40:58 +0000 (20:40 +0000)]
implement replace_type for sizeof and typeof expressions
2007-12-03 Juerg Billeter <j@bitron.ch>
* vala/valasizeofexpression.vala, vala/valatypeofexpression.vala:
implement replace_type for sizeof and typeof expressions
svn path=/trunk/; revision=750
Juerg Billeter [Sun, 2 Dec 2007 22:21:56 +0000 (22:21 +0000)]
move unresolved type information from DataType into new UnresolvedType
2007-12-02 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am, vala/parser.y, vala/vala.h,
vala/valaarraycreationexpression.vala, vala/valacallback.vala,
vala/valacastexpression.vala, vala/valacatchclause.vala,
vala/valaclass.vala, vala/valacodenode.vala,
vala/valacodevisitor.vala, vala/valaconstant.vala,
vala/valadatatype.vala, vala/valafield.vala,
vala/valaforeachstatement.vala, vala/valaformalparameter.vala,
vala/valainterface.vala, vala/valainterfacewriter.vala,
vala/valalocalvariabledeclaration.vala, vala/valamemberaccess.vala,
vala/valamemorymanager.vala, vala/valamethod.vala,
vala/valaobjectcreationexpression.vala, vala/valaproperty.vala,
vala/valasignal.vala, vala/valastruct.vala,
vala/valasymbolresolver.vala, vala/valatypecheck.vala,
vala/valaunresolvedtype.vala, vala/valavariabledeclarator.vala,
gobject/valaccodegenerator.vala, vapigen/valagidlparser.vala: move
unresolved type information from DataType into new UnresolvedType
class, replace UnresolvedType instance by resolved DataType in
SymbolResolver
svn path=/trunk/; revision=749
Juerg Billeter [Sun, 2 Dec 2007 14:39:54 +0000 (14:39 +0000)]
rename replace method to replace_expression and require arguments of type
2007-12-02 Juerg Billeter <j@bitron.ch>
* vala/valaaddressofexpression.vala, vala/valaassignment.vala,
vala/valabinaryexpression.vala, vala/valacastexpression.vala,
vala/valacodenode.vala, vala/valadostatement.vala,
vala/valaexpressionstatement.vala, vala/valaforeachstatement.vala,
vala/valaforstatement.vala, vala/valaifstatement.vala,
vala/valainvocationexpression.vala, vala/valamemberaccess.vala,
vala/valaobjectcreationexpression.vala,
vala/valaparenthesizedexpression.vala,
vala/valapointerindirection.vala,
vala/valareferencetransferexpression.vala,
vala/valareturnstatement.vala, vala/valasemanticanalyzer.vala,
vala/valaswitchstatement.vala, vala/valathrowstatement.vala,
vala/valaunaryexpression.vala, vala/valavariabledeclarator.vala,
vala/valawhilestatement.vala: rename replace method to
replace_expression and require arguments of type Expression
svn path=/trunk/; revision=748
Juerg Billeter [Sun, 2 Dec 2007 11:53:15 +0000 (11:53 +0000)]
prevent conflicts in type macros
2007-12-02 Juerg Billeter <j@bitron.ch>
* vala/valaclass.vala, vala/valainterface.vala: prevent conflicts in
type macros
svn path=/trunk/; revision=747
Juerg Billeter [Sun, 2 Dec 2007 10:34:33 +0000 (10:34 +0000)]
rename TypeReference to DataType
2007-12-02 Juerg Billeter <j@bitron.ch>
* vala/valadatatype.vala, vala/Makefile.am: rename TypeReference to
DataType
* vala/parser.y, vala/vala.h, vala/*.vala, gobject/*.vala,
vapigen/valagidlparser.vala: adapt after renaming
svn path=/trunk/; revision=746
Juerg Billeter [Sun, 2 Dec 2007 10:23:29 +0000 (10:23 +0000)]
rename DataType to Typesymbol
2007-12-02 Juerg Billeter <j@bitron.ch>
* vala/valatypesymbol.vala, vala/Makefile.am: rename DataType to
Typesymbol
* vala/*.vala, gobject/*.vala, vapigen/*.vala: adapt after renaming
svn path=/trunk/; revision=745
Juerg Billeter [Sat, 1 Dec 2007 16:45:54 +0000 (16:45 +0000)]
don't emit unreachable code, patch by Ondrej Jirman
2007-12-01 Juerg Billeter <j@bitron.ch>
* ccode/valaccodeblock.vala: don't emit unreachable code,
patch by Ondrej Jirman
svn path=/trunk/; revision=744
Juerg Billeter [Sat, 1 Dec 2007 10:35:36 +0000 (10:35 +0000)]
don't let named creation methods conflict with normal methods
2007-12-01 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valaclass.vala, vala/valacreationmethod.vala,
vala/valainterfacewriter.vala, vala/valamemberaccess.vala,
vala/valasemanticanalyzer.vala, vala/valastruct.vala: don't let named
creation methods conflict with normal methods
* gobject/valaccodegenerator.vala: fix revealed typo
* vapi/cairo.vapi: Matrix is a value-type, declare it as struct
* vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala,
vapi/packages/gtk+-2.0/gtk+-2.0.metadata: remove default creation
method from Gtk.Widget
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=743
Juerg Billeter [Fri, 30 Nov 2007 19:57:12 +0000 (19:57 +0000)]
pass non-simple structs always by reference
2007-11-30 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala,
gobject/valaccodegeneratorinvocationexpression.vala,
gobject/valaccodegeneratormethod.vala: pass non-simple structs always
by reference
* tests/structs.exp, tests/structs.vala: test struct parameters
svn path=/trunk/; revision=742
Juerg Billeter [Fri, 30 Nov 2007 11:59:29 +0000 (11:59 +0000)]
check interfaces before base class in symbol lookup
2007-11-30 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: check interfaces before base class
in symbol lookup
* tests/classes-methods.exp, tests/classes-methods.vala: test expected
symbol lookup behavior
svn path=/trunk/; revision=741
Juerg Billeter [Thu, 29 Nov 2007 20:31:43 +0000 (20:31 +0000)]
support virtual methods without wrapper with the [NoWrapper] attribute,
2007-11-29 Juerg Billeter <j@bitron.ch>
* vala/valamemberaccess.vala, gobject/Makefile.am,
gobject/valaccodegenerator.vala,
gobject/valaccodegeneratormemberaccess.vala,
gobject/valaccodemethodbinding.vala: support virtual methods without
wrapper with the [NoWrapper] attribute, fixes bug 455874
svn path=/trunk/; revision=740
Juerg Billeter [Thu, 29 Nov 2007 19:35:24 +0000 (19:35 +0000)]
add is_pure method to Expression class
2007-11-29 Juerg Billeter <j@bitron.ch>
* vala/valaaddressofexpression.vala,
vala/valaarraycreationexpression.vala, vala/valaassignment.vala,
vala/valabaseaccess.vala, vala/valabinaryexpression.vala,
vala/valacastexpression.vala, vala/valaconditionalexpression.vala,
vala/valaelementaccess.vala, vala/valaexpression.vala,
vala/valainitializerlist.vala, vala/valainvocationexpression.vala,
vala/valalambdaexpression.vala, vala/valaliteralexpression.vala,
vala/valamemberaccess.vala, vala/valaobjectcreationexpression.vala,
vala/valaparenthesizedexpression.vala,
vala/valapointerindirection.vala, vala/valapostfixexpression.vala,
vala/valareferencetransferexpression.vala,
vala/valasizeofexpression.vala, vala/valatypecheck.vala,
vala/valatypeofexpression.vala, vala/valaunaryexpression.vala: add
is_pure method to Expression class
svn path=/trunk/; revision=739
Juerg Billeter [Thu, 29 Nov 2007 15:14:16 +0000 (15:14 +0000)]
refactor tests to have more descriptive names
2007-11-29 Juerg Billeter <j@bitron.ch>
* tests/: refactor tests to have more descriptive names
svn path=/trunk/; revision=738
Juerg Billeter [Thu, 29 Nov 2007 15:07:40 +0000 (15:07 +0000)]
remove enchant bindings test, we focus on compiler tests
2007-11-29 Juerg Billeter <j@bitron.ch>
* configure.ac, tests/Makefile.am, tests/testenchant.vala: remove
enchant bindings test, we focus on compiler tests
svn path=/trunk/; revision=737
Juerg Billeter [Thu, 29 Nov 2007 14:52:51 +0000 (14:52 +0000)]
fix distcheck
2007-11-29 Juerg Billeter <j@bitron.ch>
* ccode/Makefile.am, compiler/Makefile.am, gee/Makefile.am,
gen-project/Makefile.am, gobject/Makefile.am, vala/Makefile.am,
vapigen/Makefile.am: fix distcheck
svn path=/trunk/; revision=736
Juerg Billeter [Thu, 29 Nov 2007 13:00:23 +0000 (13:00 +0000)]
add some basic documentation for statements, extend documentation
2007-11-29 Juerg Billeter <j@bitron.ch>
* doc/vala/Makefile.am, doc/vala/classes.xml, doc/vala/default.css,
doc/vala/delegates.xml, doc/vala/enums.xml, doc/vala/exceptions.xml,
doc/vala/expressions.xml, doc/vala/index.xml, doc/vala/interfaces.xml,
doc/vala/namespaces.xml, doc/vala/statements.xml,
doc/vala/structs.xml, doc/vala/types.xml, doc/vala/xhtml.xsl: add some
basic documentation for statements, extend documentation structure
svn path=/trunk/; revision=735
Juerg Billeter [Wed, 28 Nov 2007 16:28:30 +0000 (16:28 +0000)]
add support for inline methods
2007-11-28 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/scanner.l, vala/valamethod.vala,
ccode/valaccodefunction.vala, ccode/valaccodemodifiers.vala,
gobject/valaccodegeneratormethod.vala: add support for inline methods
svn path=/trunk/; revision=734
Juerg Billeter [Wed, 28 Nov 2007 16:05:33 +0000 (16:05 +0000)]
bind atomic operations, fixes bug 499970
2007-11-28 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: bind atomic operations, fixes bug 499970
svn path=/trunk/; revision=733
Juerg Billeter [Wed, 28 Nov 2007 15:32:01 +0000 (15:32 +0000)]
add support for volatile fields, fixes bug #499960
2007-11-28 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/scanner.l, vala/valafield.vala,
gobject/valaccodegenerator.vala: add support for volatile fields,
fixes bug #499960
svn path=/trunk/; revision=732
Juerg Billeter [Tue, 27 Nov 2007 21:12:19 +0000 (21:12 +0000)]
search for INSTALL and COPYING files in more directories, don't fail if
2007-11-27 Juerg Billeter <j@bitron.ch>
* gen-project/valaprojectgenerator.vala: search for INSTALL and COPYING
files in more directories, don't fail if auxiliary files can't be
found, based on patch by Marcelo Lira, fixes bug 499806
svn path=/trunk/; revision=731
Juerg Billeter [Tue, 27 Nov 2007 20:55:23 +0000 (20:55 +0000)]
add AM_MAINTAINER_MODE and replace deprecated INCLUDES by AM_CPPFLAGS
2007-11-27 Juerg Billeter <j@bitron.ch>
* gen-project/valaprojectgenerator.vala: add AM_MAINTAINER_MODE and
replace deprecated INCLUDES by AM_CPPFLAGS
svn path=/trunk/; revision=730
Juerg Billeter [Tue, 27 Nov 2007 20:51:25 +0000 (20:51 +0000)]
don't use filter function in makefiles as it's a GNU make extension
2007-11-27 Juerg Billeter <j@bitron.ch>
* ccode/Makefile.am, compiler/Makefile.am, gee/Makefile.am,
gen-project/Makefile.am, gobject/Makefile.am, tests/Makefile.am,
vala/Makefile.am, vapigen/Makefile.am: don't use filter function in
makefiles as it's a GNU make extension
svn path=/trunk/; revision=729
Juerg Billeter [Tue, 27 Nov 2007 20:17:42 +0000 (20:17 +0000)]
add AM_MAINTAINER_MODE
2007-11-27 Juerg Billeter <j@bitron.ch>
* configure.ac: add AM_MAINTAINER_MODE
* autogen.sh: enable maintainer mode by default
svn path=/trunk/; revision=728
Juerg Billeter [Tue, 27 Nov 2007 20:11:22 +0000 (20:11 +0000)]
replace deprecated INCLUDES by AM_CPPFLAGS
2007-11-27 Juerg Billeter <j@bitron.ch>
* ccode/Makefile.am, compiler/Makefile.am, gee/Makefile.am,
gen-project/Makefile.am, gobject-introspection/Makefile.am,
gobject/Makefile.am, tests/Makefile.am, vala/Makefile.am,
vapigen/Makefile.am: replace deprecated INCLUDES by AM_CPPFLAGS
svn path=/trunk/; revision=727
Juerg Billeter [Tue, 27 Nov 2007 19:48:54 +0000 (19:48 +0000)]
concatenate adjacent string literal tokens
2007-11-27 Juerg Billeter <j@bitron.ch>
* gobject-introspection/cparser.y: concatenate adjacent string literal
tokens
svn path=/trunk/; revision=726
Juerg Billeter [Tue, 27 Nov 2007 13:50:09 +0000 (13:50 +0000)]
bind sscanf instead of scanf, add memcpy binding
2007-11-27 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: bind sscanf instead of scanf, add memcpy binding
svn path=/trunk/; revision=725
Juerg Billeter [Mon, 26 Nov 2007 23:29:35 +0000 (23:29 +0000)]
add scanf and fscanf bindings
2007-11-27 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add scanf and fscanf bindings
svn path=/trunk/; revision=724
Juerg Billeter [Sun, 25 Nov 2007 18:31:16 +0000 (18:31 +0000)]
Post-release version bump
2007-11-25 Juerg Billeter <j@bitron.ch>
* configure.ac: Post-release version bump
svn path=/trunk/; revision=723
Juerg Billeter [Sun, 25 Nov 2007 18:29:09 +0000 (18:29 +0000)]
update for 0.1.5 release
2007-11-25 Juerg Billeter <j@bitron.ch>
* NEWS: update for 0.1.5 release
svn path=/trunk/; revision=721
Juerg Billeter [Sun, 25 Nov 2007 17:07:25 +0000 (17:07 +0000)]
remove short-living reference warning, too many false positives
2007-11-25 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: remove short-living reference warning,
too many false positives
svn path=/trunk/; revision=720
Juerg Billeter [Sun, 25 Nov 2007 17:01:29 +0000 (17:01 +0000)]
add binding for g_chmod
2007-11-25 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add binding for g_chmod
* Makefile.am, configure.ac, gen-project/Makefile.am,
gen-project/valaprojectgenerator.vala: add vala-gen-project, a simple
gui for generating Vala projects, not built by default, requires GTK+
svn path=/trunk/; revision=719
Juerg Billeter [Sun, 25 Nov 2007 14:02:33 +0000 (14:02 +0000)]
mark GtkTargetEntry as value-type
2007-11-25 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: mark GtkTargetEntry as
value-type
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=718
Juerg Billeter [Sat, 24 Nov 2007 15:31:19 +0000 (15:31 +0000)]
fix is_out support for parameters
2007-11-24 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: fix is_out support for parameters
svn path=/trunk/; revision=717
Juerg Billeter [Sat, 24 Nov 2007 15:29:35 +0000 (15:29 +0000)]
support is_out for parameters in the metadata
2007-11-24 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: support is_out for parameters in the
metadata
svn path=/trunk/; revision=716
Juerg Billeter [Sat, 24 Nov 2007 15:09:51 +0000 (15:09 +0000)]
add support for overriding the name and namespace of types
2007-11-24 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: add support for overriding the name and
namespace of types
svn path=/trunk/; revision=715
Juerg Billeter [Sat, 24 Nov 2007 09:41:54 +0000 (09:41 +0000)]
avoid NULL function parameter names
2007-11-24 Juerg Billeter <j@bitron.ch>
* gobject-introspection/gen-introspect.c: avoid NULL function parameter
names
* vapigen/valagidlparser.vala: accept iconv_t
svn path=/trunk/; revision=714
Juerg Billeter [Fri, 23 Nov 2007 21:37:01 +0000 (21:37 +0000)]
call g_thread_init to support libraries using threading functionality in
2007-11-23 Juerg Billeter <j@bitron.ch>
* configure.ac, gobject-introspection/Makefile.am,
gobject-introspection/gen-introspect.c: call g_thread_init to support
libraries using threading functionality in class_init functions,
avoid NULL parameter names for signals and vfuncs
* vapi/packages/libsoup-2.2/: update to use vala-gen-introspect
* vapi/packages/hildon-1/hildon-1.gi,
vapi/packages/libgnomeui-2.0/libgnomeui-2.0.gi, vapi/hildon-1.vapi,
vapi/libgnomeui-2.0.vapi, vapi/libsoup-2.2.vapi: regenerated
svn path=/trunk/; revision=713
Juerg Billeter [Fri, 23 Nov 2007 21:05:58 +0000 (21:05 +0000)]
update to use vala-gen-introspect
2007-11-23 Juerg Billeter <j@bitron.ch>
* vapi/packages/hildon-1/: update to use vala-gen-introspect
* vapi/hildon-1.vapi: regenerated
svn path=/trunk/; revision=712
Juerg Billeter [Fri, 23 Nov 2007 20:25:57 +0000 (20:25 +0000)]
add support for anonymous structs and unions (gcc extension)
2007-11-23 Juerg Billeter <j@bitron.ch>
* gobject-introspection/cparser.y: add support for anonymous structs
and unions (gcc extension)
svn path=/trunk/; revision=711
Juerg Billeter [Fri, 23 Nov 2007 19:16:19 +0000 (19:16 +0000)]
update to use vala-gen-introspect
2007-11-23 Juerg Billeter <j@bitron.ch>
* vapi/packages/poppler-glib/: update to use vala-gen-introspect
* vapi/poppler-glib.vapi: regenerated
svn path=/trunk/; revision=710
Juerg Billeter [Thu, 22 Nov 2007 20:37:43 +0000 (20:37 +0000)]
update to use vala-gen-introspect
2007-11-22 Juerg Billeter <j@bitron.ch>
* vapi/packages/libnotify/: update to use vala-gen-introspect
* vapi/libnotify.vapi: regenerated
svn path=/trunk/; revision=709
Juerg Billeter [Thu, 22 Nov 2007 20:25:15 +0000 (20:25 +0000)]
update to use vala-gen-introspect
2007-11-22 Juerg Billeter <j@bitron.ch>
* vapi/packages/libgnome-2.0/, vapi/packages/libgnomeui-2.0/: update to
use vala-gen-introspect
* vapi/libgnome-2.0.vapi, vapi/libgnomeui-2.0.vapi: regenerated
svn path=/trunk/; revision=708
Juerg Billeter [Thu, 22 Nov 2007 20:16:55 +0000 (20:16 +0000)]
fix value of string constants
2007-11-22 Juerg Billeter <j@bitron.ch>
* gobject-introspection/gen-introspect.c: fix value of string constants
* vapi/packages/gstreamer-0.10/gstreamer-0.10.gi: regenerated
svn path=/trunk/; revision=707
Juerg Billeter [Thu, 22 Nov 2007 20:07:23 +0000 (20:07 +0000)]
compare complete path
2007-11-22 Juerg Billeter <j@bitron.ch>
* gobject-introspection/clexer.l,
gobject-introspection/gen-introspect.c: compare complete path
svn path=/trunk/; revision=706
Juerg Billeter [Thu, 22 Nov 2007 19:35:08 +0000 (19:35 +0000)]
update to use vala-gen-introspect
2007-11-22 Juerg Billeter <j@bitron.ch>
* vapi/packages/gnome-vfs-2.0/: update to use vala-gen-introspect
* vapi/gnome-vfs-2.0.vapi: regenerated
svn path=/trunk/; revision=705
Juerg Billeter [Thu, 22 Nov 2007 19:30:23 +0000 (19:30 +0000)]
add support for .defines file
2007-11-22 Juerg Billeter <j@bitron.ch>
* vapigen/vala-gen-introspect/vala-gen-introspect.in: add support for
.defines file
* vapi/packages/libwnck-1.0/: update to use vala-gen-introspect
* vapi/libwnck-1.0.vapi: regenerated
svn path=/trunk/; revision=704
Juerg Billeter [Thu, 22 Nov 2007 19:12:19 +0000 (19:12 +0000)]
update to use vala-gen-introspect
2007-11-22 Juerg Billeter <j@bitron.ch>
* vapi/packages/gnome-desktop-2.0/: update to use vala-gen-introspect
* vapi/gnome-desktop-2.0.vapi: regenerated
svn path=/trunk/; revision=703
Juerg Billeter [Thu, 22 Nov 2007 19:06:41 +0000 (19:06 +0000)]
update to use vala-gen-introspect
2007-11-22 Juerg Billeter <j@bitron.ch>
* vapi/packages/libglade-2.0/: update to use vala-gen-introspect
* vapi/libglade-2.0.vapi: regenerated
svn path=/trunk/; revision=702
Juerg Billeter [Thu, 22 Nov 2007 19:01:49 +0000 (19:01 +0000)]
update to use vala-gen-introspect
2007-11-22 Juerg Billeter <j@bitron.ch>
* vapi/packages/vte/: update to use vala-gen-introspect
* vapi/vte.vapi: regenerated
svn path=/trunk/; revision=701
Juerg Billeter [Thu, 22 Nov 2007 17:24:21 +0000 (17:24 +0000)]
update to use vala-gen-introspect
2007-11-22 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtksourceview-2.0/: update to use vala-gen-introspect
* vapi/gtksourceview-2.0.vapi: regenerated
svn path=/trunk/; revision=700
Juerg Billeter [Thu, 22 Nov 2007 16:23:55 +0000 (16:23 +0000)]
update to use vala-gen-introspect
2007-11-22 Juerg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-0.10/: update to use vala-gen-introspect
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=699
Juerg Billeter [Thu, 22 Nov 2007 16:21:10 +0000 (16:21 +0000)]
ignore empty lines in .files
2007-11-22 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: ignore empty lines in .files
* vapigen/vala-gen-introspect/vala-gen-introspect.in: add some type
aliases
svn path=/trunk/; revision=698
Juerg Billeter [Thu, 22 Nov 2007 16:19:07 +0000 (16:19 +0000)]
don't process get_type function symbols twice, support Interface suffix in
2007-11-22 Juerg Billeter <j@bitron.ch>
* gobject-introspection/gen-introspect.c: don't process get_type
function symbols twice, support Interface suffix in addition to the
more common Iface suffix
svn path=/trunk/; revision=697
Juerg Billeter [Thu, 22 Nov 2007 15:25:54 +0000 (15:25 +0000)]
report error for missing return types in methods
2007-11-22 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valacodecontext.vala,
vala/valacreationmethod.vala, vala/valasemanticanalyzer.vala,
vapigen/valagidlparser.vala: report error for missing return types in
methods
* vapi/glib-2.0.vapi: fix revealed typo
svn path=/trunk/; revision=696
Juerg Billeter [Thu, 22 Nov 2007 13:49:01 +0000 (13:49 +0000)]
improve error reporting and ignore get_type functions with parameters
2007-11-22 Juerg Billeter <j@bitron.ch>
* gobject-introspection/clexer.l, gobject-introspection/cparser.y,
gobject-introspection/gen-introspect.c: improve error reporting and
ignore get_type functions with parameters
svn path=/trunk/; revision=695
Juerg Billeter [Thu, 22 Nov 2007 08:53:01 +0000 (08:53 +0000)]
add symbol dependency for generic type arguments
2007-11-22 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: add symbol dependency for generic
type arguments
* gobject/valaccodegenerator.vala, gobject/valaccodegeneratorclass.vala,
gobject/valaccodegeneratormethod.vala: add type property for generic
type parameters, support typeof for type parameters
* configure.ac: require glib 2.12 for g_value_get_gtype
svn path=/trunk/; revision=694
Juerg Billeter [Wed, 21 Nov 2007 19:07:16 +0000 (19:07 +0000)]
add some more GObject functions
2007-11-21 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add some more GObject functions
svn path=/trunk/; revision=693
Juerg Billeter [Wed, 21 Nov 2007 18:54:19 +0000 (18:54 +0000)]
extend GValue, fix g_object_connect
2007-11-21 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: extend GValue, fix g_object_connect
svn path=/trunk/; revision=692
Juerg Billeter [Tue, 20 Nov 2007 22:30:21 +0000 (22:30 +0000)]
add missing cheader_filename attributes
2007-11-20 Juerg Billeter <j@bitron.ch>
* vapi/packages/gio-2.0/gio-2.0.metadata: add missing cheader_filename
attributes
* vapi/gio-2.0.vapi: regenerated
svn path=/trunk/; revision=691
Juerg Billeter [Tue, 20 Nov 2007 21:54:22 +0000 (21:54 +0000)]
updated to gio 0.1.2
2007-11-20 Juerg Billeter <j@bitron.ch>
* vapi/packages/gio-2.0/gio-2.0.gi: updated to gio 0.1.2
* vapi/gio-2.0.vapi: regenerated
svn path=/trunk/; revision=690
Juerg Billeter [Tue, 20 Nov 2007 21:24:46 +0000 (21:24 +0000)]
detect out parameters of value types, add support for array return types
2007-11-20 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: detect out parameters of value types, add
support for array return types
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: set is_array for return
value of gtk_tree_path_get_indices
* vapi/atk.vapi, vapi/gconf-2.0.vapi, vapi/gdk-2.0.vapi,
vapi/gio-2.0.vapi, vapi/gtk+-2.0.vapi, vapi/pango.vapi: regenerated
svn path=/trunk/; revision=689
Juerg Billeter [Fri, 16 Nov 2007 15:56:24 +0000 (15:56 +0000)]
remove invalid property definitions
2007-11-16 Juerg Billeter <j@bitron.ch>
* tests/property-sample.vala: remove invalid property definitions
svn path=/trunk/; revision=688
Juerg Billeter [Tue, 13 Nov 2007 15:54:39 +0000 (15:54 +0000)]
update to use vala-gen-introspect
2007-11-13 Juerg Billeter <j@bitron.ch>
* vapi/packages/gconf-2.0/: update to use vala-gen-introspect
* vapi/gconf-2.0.vapi: regenerated
svn path=/trunk/; revision=687
Juerg Billeter [Mon, 12 Nov 2007 18:34:20 +0000 (18:34 +0000)]
add binding for g_type_qname and fix GQuark binding
2007-11-12 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add binding for g_type_qname and fix GQuark
binding
svn path=/trunk/; revision=686
Juerg Billeter [Sat, 10 Nov 2007 23:16:35 +0000 (23:16 +0000)]
add bindings for g_object_get_data, g_object_set_data, and g_type_query
2007-11-11 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add bindings for g_object_get_data,
g_object_set_data, and g_type_query
svn path=/trunk/; revision=685
Juerg Billeter [Sat, 10 Nov 2007 16:28:11 +0000 (16:28 +0000)]
fix code generation for private fields in types not based on GTypeInstance
2007-11-10 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala,
gobject/valaccodegeneratormemberaccess.vala: fix code generation for
private fields in types not based on GTypeInstance
svn path=/trunk/; revision=684