platform/upstream/vala.git
16 years agoadd basic support for method pre- and postconditions
Juerg Billeter [Tue, 15 Jan 2008 21:01:26 +0000 (21:01 +0000)]
add basic support for method pre- and postconditions

2008-01-15  Juerg Billeter  <j@bitron.ch>

* vala/parser.y, vala/scanner.l, vala/valaclass.vala,
  vala/valainterface.vala, vala/valamethod.vala,
  vala/valasemanticanalyzer.vala, vala/valastruct.vala,
  gobject/valaccodegeneratormethod.vala: add basic support for
  method pre- and postconditions

svn path=/trunk/; revision=838

16 years agoadd support for instance delegates, fixes bug 508734
Juerg Billeter [Mon, 14 Jan 2008 20:47:21 +0000 (20:47 +0000)]
add support for instance delegates, fixes bug 508734

2008-01-14  Juerg Billeter  <j@bitron.ch>

* vala/parser.y, vala/valainvocationexpression.vala,
  gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratorinvocationexpression.vala,
  gobject/valaccodegeneratormethod.vala: add support for instance
  delegates, fixes bug 508734

* tests/delegates.exp, tests/delegates.vala: test instance delegates

svn path=/trunk/; revision=837

16 years agorename Callback to Delegate
Juerg Billeter [Sat, 12 Jan 2008 14:26:48 +0000 (14:26 +0000)]
rename Callback to Delegate

2008-01-12  Juerg Billeter  <j@bitron.ch>

* vala/Makefile.am, vala/parser.y, vala/vala.h,
  vala/valaattributeprocessor.vala, vala/valacodecontext.vala,
  vala/valacodegenerator.vala, vala/valacodevisitor.vala,
  vala/valadatatype.vala, vala/valadelegate.vala,
  vala/valadelegatetype.vala, vala/valainterfacewriter.vala,
  vala/valanamespace.vala, vala/valanulltype.vala,
  vala/valasemanticanalyzer.vala, vala/valasignal.vala,
  vala/valasymbolresolver.vala, gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratorinvocationexpression.vala,
  vapigen/valagidlparser.vala: rename Callback to Delegate

svn path=/trunk/; revision=836

16 years agoadd some missing ellipsis and out parameter metadata for gst_structure and
Juerg Billeter [Sat, 12 Jan 2008 13:19:42 +0000 (13:19 +0000)]
add some missing ellipsis and out parameter metadata for gst_structure and

2008-01-12  Juerg Billeter  <j@bitron.ch>

* vapi/packages/gstreamer-0.10/: add some missing ellipsis and out
  parameter metadata for gst_structure and gst_element functions,
  patch by Andrea Del Signore

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=835

16 years agouse separate temp_vars list for lambda expressions to prevent mixup in the
Juerg Billeter [Sat, 12 Jan 2008 13:16:09 +0000 (13:16 +0000)]
use separate temp_vars list for lambda expressions to prevent mixup in the

2008-01-12  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegenerator.vala: use separate temp_vars list for
  lambda expressions to prevent mixup in the C code

svn path=/trunk/; revision=834

16 years agorestore current_return_type after processing lambda expressions, fixes bug
Juerg Billeter [Sat, 12 Jan 2008 13:01:31 +0000 (13:01 +0000)]
restore current_return_type after processing lambda expressions, fixes bug

2008-01-12  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: restore current_return_type
  after processing lambda expressions, fixes bug 501586

svn path=/trunk/; revision=833

16 years agofix null dereference when trying to access members of a delegate
Juerg Billeter [Sat, 12 Jan 2008 12:35:30 +0000 (12:35 +0000)]
fix null dereference when trying to access members of a delegate

2008-01-12  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: fix null dereference when trying to
  access members of a delegate

svn path=/trunk/; revision=832

16 years agouse parent_instance, parent_class, and parent_iface instead of just parent
Juerg Billeter [Fri, 11 Jan 2008 22:52:25 +0000 (22:52 +0000)]
use parent_instance, parent_class, and parent_iface instead of just parent

2008-01-11  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegeneratorclass.vala,
  gobject/valaccodegeneratorinterface.vala: use parent_instance,
  parent_class, and parent_iface instead of just parent in C structs

svn path=/trunk/; revision=831

16 years agoregenerated, fixes issue with Hildon.BreadCrumb
Juerg Billeter [Fri, 11 Jan 2008 22:10:06 +0000 (22:10 +0000)]
regenerated, fixes issue with Hildon.BreadCrumb

2008-01-11  Juerg Billeter  <j@bitron.ch>

* vapi/packages/hildon-1/hildon-1.gi, vapi/hildon-1.vapi: regenerated,
  fixes issue with Hildon.BreadCrumb

svn path=/trunk/; revision=830

16 years agoupdate from gobject-introspection SVN, fixes bug 505920
Juerg Billeter [Fri, 11 Jan 2008 21:44:01 +0000 (21:44 +0000)]
update from gobject-introspection SVN, fixes bug 505920

2008-01-11  Juerg Billeter  <j@bitron.ch>

* gobject-introspection/: update from gobject-introspection SVN,
  fixes bug 505920

* vapigen/vala-gen-introspect/vala-gen-introspect.in: fix to work
  with updated gobject-introspection

svn path=/trunk/; revision=829

16 years agoupdate to gnome-desktop 2.21.4
Juerg Billeter [Thu, 10 Jan 2008 21:20:42 +0000 (21:20 +0000)]
update to gnome-desktop 2.21.4

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

* vapi/packages/gnome-desktop-2.0/: update to gnome-desktop 2.21.4

* vapi/gnome-desktop-2.0.vapi: regenerated

* vapi/gnome-desktop-2.0.deps, vapi/Makefile.am: add dependency file

svn path=/trunk/; revision=828

16 years agoupdate to glib 2.15.1
Juerg Billeter [Thu, 10 Jan 2008 21:11:33 +0000 (21:11 +0000)]
update to glib 2.15.1

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

* vapi/packages/gio-2.0/: update to glib 2.15.1

* vapi/gio-2.0.vapi: regenerated

svn path=/trunk/; revision=827

16 years agofix memory management of out parameters, fixes bug 501838
Juerg Billeter [Thu, 10 Jan 2008 14:01:30 +0000 (14:01 +0000)]
fix memory management of out parameters, fixes bug 501838

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

* gobject/valaccodegeneratorinvocationexpression.vala,
  gobject/valaccodegeneratormethod.vala, compiler/valacompiler.vala,
  vapi/glib-2.0.vapi, vapigen/valavapigen.vala: fix memory management
  of out parameters, fixes bug 501838

svn path=/trunk/; revision=826

16 years agofix memory management of property getters with ownership transfer, fixes
Juerg Billeter [Thu, 10 Jan 2008 09:29:59 +0000 (09:29 +0000)]
fix memory management of property getters with ownership transfer, fixes

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

* vala/valamemorymanager.vala: fix memory management of property
  getters with ownership transfer, fixes bug 505713

svn path=/trunk/; revision=825

16 years agofix binding of textdomain, fixes bug 508453
Juerg Billeter [Thu, 10 Jan 2008 09:23:08 +0000 (09:23 +0000)]
fix binding of textdomain, fixes bug 508453

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

* vapi/glib-2.0.vapi: fix binding of textdomain, fixes bug 508453

svn path=/trunk/; revision=824

16 years agofix gtk_window_get_position
Juerg Billeter [Wed, 9 Jan 2008 23:51:36 +0000 (23:51 +0000)]
fix gtk_window_get_position

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

* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: fix gtk_window_get_position

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=823

16 years agofix memory management of string literals
Juerg Billeter [Wed, 9 Jan 2008 23:50:29 +0000 (23:50 +0000)]
fix memory management of string literals

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

* gobject/valaccodegenerator.vala: fix memory management of string
  literals

svn path=/trunk/; revision=822

16 years agocheck in/ref/out arguments
Juerg Billeter [Wed, 9 Jan 2008 23:13:12 +0000 (23:13 +0000)]
check in/ref/out arguments

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

* vala/valasemanticanalyzer.vala: check in/ref/out arguments

* vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala: fix gtk_init

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=821

16 years agoadd bindings for uri functions
Juerg Billeter [Wed, 9 Jan 2008 22:42:40 +0000 (22:42 +0000)]
add bindings for uri functions

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

* vapi/glib-2.0.vapi: add bindings for uri functions

svn path=/trunk/; revision=820

16 years agofix gtk_accelerator_parse
Juerg Billeter [Wed, 9 Jan 2008 22:30:57 +0000 (22:30 +0000)]
fix gtk_accelerator_parse

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

* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: fix gtk_accelerator_parse

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=819

16 years agoadd bindings for data checksums
Juerg Billeter [Wed, 9 Jan 2008 22:29:35 +0000 (22:29 +0000)]
add bindings for data checksums

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

* vapi/glib-2.0.vapi: add bindings for data checksums

svn path=/trunk/; revision=818

16 years agofix crash when data_type property is null
Juerg Billeter [Wed, 9 Jan 2008 22:21:33 +0000 (22:21 +0000)]
fix crash when data_type property is null

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

* vala/valadatatype.vala: fix crash when data_type property is null

svn path=/trunk/; revision=817

16 years agominor fixes
Juerg Billeter [Wed, 9 Jan 2008 22:18:03 +0000 (22:18 +0000)]
minor fixes

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

* vapi/glib-2.0.vapi: minor fixes

svn path=/trunk/; revision=816

16 years agoadd size_t and ssize_t
Juerg Billeter [Wed, 9 Jan 2008 21:54:25 +0000 (21:54 +0000)]
add size_t and ssize_t

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

* vapi/glib-2.0.vapi: add size_t and ssize_t

svn path=/trunk/; revision=815

16 years agoadd binding for g_find_program_in_path
Juerg Billeter [Wed, 9 Jan 2008 21:08:45 +0000 (21:08 +0000)]
add binding for g_find_program_in_path

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

* vapi/glib-2.0.vapi: add binding for g_find_program_in_path

svn path=/trunk/; revision=814

16 years agoreport error when using invalid expression for ref/out arguments, fixes
Juerg Billeter [Wed, 9 Jan 2008 16:48:32 +0000 (16:48 +0000)]
report error when using invalid expression for ref/out arguments, fixes

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

* vala/valasemanticanalyzer.vala: report error when using invalid
  expression for ref/out arguments, fixes bug 480022

svn path=/trunk/; revision=813

16 years agoadd return statements to silence C compiler
Juerg Billeter [Wed, 9 Jan 2008 15:36:48 +0000 (15:36 +0000)]
add return statements to silence C compiler

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

* gee/hashmap.vala: add return statements to silence C compiler

svn path=/trunk/; revision=812

16 years agosupport nullable attribute in metadata
Juerg Billeter [Wed, 9 Jan 2008 14:56:53 +0000 (14:56 +0000)]
support nullable attribute in metadata

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

* vapigen/valagidlparser.vala: support nullable attribute in metadata

* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: set nullable attribute for
  GtkTreeIter parameters where appropriate

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

svn path=/trunk/; revision=811

16 years agoUse non-null types by default when passing --enable-non-null to valac,
Juerg Billeter [Wed, 9 Jan 2008 14:13:07 +0000 (14:13 +0000)]
Use non-null types by default when passing --enable-non-null to valac,

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

* vala/parser.y, vala/scanner.l, vala/valaclass.vala,
  vala/valacodecontext.vala, vala/valadatatype.vala,
  vala/valainterface.vala, vala/valanulltype.vala,
  vala/valasemanticanalyzer.vala, vala/valasymbolresolver.vala,
  vala/valaunresolvedtype.vala, gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratorinvocationexpression.vala,
  gobject/valaccodegeneratormethod.vala, compiler/valacompiler.vala:

  Use non-null types by default when passing --enable-non-null to valac,
  `?´ marks nullable types, deprecate `!´ to mark non-null types,
  fixes bug 504222

svn path=/trunk/; revision=810

16 years agofix memory management with simple conditional expressions, fixes bug
Juerg Billeter [Tue, 8 Jan 2008 17:49:49 +0000 (17:49 +0000)]
fix memory management with simple conditional expressions, fixes bug

2008-01-08  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegenerator.vala: fix memory management with simple
  conditional expressions, fixes bug 501587

* tests/expressions-conditional.exp, tests/expressions-conditional.vala:
  test conditional expression with strings

svn path=/trunk/; revision=809

16 years agosupport simple_type attribute in metadata
Juerg Billeter [Tue, 8 Jan 2008 17:26:45 +0000 (17:26 +0000)]
support simple_type attribute in metadata

2008-01-08  Juerg Billeter  <j@bitron.ch>

* vala/valainterfacewriter.vala, vala/valastruct.vala,
  vapigen/valagidlparser.vala: support simple_type attribute in metadata

* vapi/packages/gdk-2.0/gdk-2.0.metadata: mark GdkAtom as simple type

* vapi/gdk-2.0.vapi: regenerated

svn path=/trunk/; revision=808

16 years agofix GtkTreeViewDropPosition out parameters
Juerg Billeter [Mon, 7 Jan 2008 23:25:56 +0000 (23:25 +0000)]
fix GtkTreeViewDropPosition out parameters

2008-01-08  Juerg Billeter  <j@bitron.ch>

* vapi/packages/gtk+-2.0/: fix GtkTreeViewDropPosition out parameters

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=807

16 years agosupport throws attribute in metadata
Juerg Billeter [Mon, 7 Jan 2008 22:11:39 +0000 (22:11 +0000)]
support throws attribute in metadata

2008-01-07  Juerg Billeter  <j@bitron.ch>

* vapigen/valagidlparser.vala: support throws attribute in metadata

* vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata: fix error
  parameters in gst_message_* functions

* vapi/gstreamer-0.10.vapi: regenerated

Patch by Andrea Del Signore, fixes bug 507460

svn path=/trunk/; revision=806

16 years agoadd missing bindings for g_filename_*, fixes bug 507447
Juerg Billeter [Mon, 7 Jan 2008 15:18:25 +0000 (15:18 +0000)]
add missing bindings for g_filename_*, fixes bug 507447

2008-01-07  Juerg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi: add missing bindings for g_filename_*,
  fixes bug 507447

svn path=/trunk/; revision=805

16 years agoadd binding for memmove
Juerg Billeter [Mon, 7 Jan 2008 15:06:13 +0000 (15:06 +0000)]
add binding for memmove

2008-01-07  Juerg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi: add binding for memmove

svn path=/trunk/; revision=804

16 years agofix GMarkupParser, patch by Travis Watkins
Juerg Billeter [Thu, 3 Jan 2008 21:48:16 +0000 (21:48 +0000)]
fix GMarkupParser, patch by Travis Watkins

2008-01-03  Juerg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi: fix GMarkupParser, patch by Travis Watkins

svn path=/trunk/; revision=803

16 years agoadd metadata, patch by Travis Watkins
Juerg Billeter [Thu, 3 Jan 2008 21:43:17 +0000 (21:43 +0000)]
add metadata, patch by Travis Watkins

2008-01-03  Juerg Billeter  <j@bitron.ch>

* vapi/packages/libgnome-menu/: add metadata, patch by Travis Watkins

* vapi/libgnome-menu.vapi: regenerated

svn path=/trunk/; revision=802

16 years agosupport public static fields with initializers, fixes bug 506749
Juerg Billeter [Thu, 3 Jan 2008 15:55:08 +0000 (15:55 +0000)]
support public static fields with initializers, fixes bug 506749

2008-01-03  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegenerator.vala, ccode/valaccodemodifiers.vala:
  support public static fields with initializers, fixes bug 506749

* tests/classes-fields.exp, tests/classes-fields.vala: test public
  static fields

svn path=/trunk/; revision=801

16 years agoadd limited support for defining methods with variable argument list
Juerg Billeter [Thu, 3 Jan 2008 14:50:03 +0000 (14:50 +0000)]
add limited support for defining methods with variable argument list

2008-01-03  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratormethod.vala,
  ccode/valaccodeformalparameter.vala: add limited support for defining
  methods with variable argument list

svn path=/trunk/; revision=800

16 years agoremove close method from FileStream class as it's also the implicitly
Juerg Billeter [Thu, 3 Jan 2008 14:28:44 +0000 (14:28 +0000)]
remove close method from FileStream class as it's also the implicitly

2008-01-03  Juerg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vapi: remove close method from FileStream class as it's
  also the implicitly called free function, fixes bug 506817

svn path=/trunk/; revision=799

16 years agodefault to in parameters for structs passed by reference, support is_ref
Juerg Billeter [Thu, 3 Jan 2008 14:14:19 +0000 (14:14 +0000)]
default to in parameters for structs passed by reference, support is_ref

2008-01-03  Juerg Billeter  <j@bitron.ch>

* vapigen/valagidlparser.vala: default to in parameters for structs
  passed by reference, support is_ref attribute in metadata

* vapi/packages/gdk-2.0/, vapi/packages/gtk+-2.0/,
  vapi/packages/hildon-1/, vapi/packages/pango/, vapi/packages/vte/: fix
  parameter directions, fixes bug 506426

* vapi/atk.vapi, vapi/gdk-2.0.vapi, vapi/gio-2.0.vapi,
  vapi/gtk+-2.0.vapi, vapi/gtksourceview-2.0.vapi, vapi/hildon-1.vapi,
  vapi/libgnome-2.0.vapi, vapi/pango.vapi, vapi/poppler-glib.vapi,
  vapi/vte.vapi: regenerated

svn path=/trunk/; revision=798

16 years agosupport base_class attribute for non-GObject classes
Juerg Billeter [Thu, 27 Dec 2007 22:32:05 +0000 (22:32 +0000)]
support base_class attribute for non-GObject classes

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

* vapigen/valagidlparser.vala: support base_class attribute for
  non-GObject classes

svn path=/trunk/; revision=797

16 years agofix symbol modifiers, based on patch by Andrea Del Signore, fixes bug
Juerg Billeter [Thu, 27 Dec 2007 09:20:48 +0000 (09:20 +0000)]
fix symbol modifiers, based on patch by Andrea Del Signore, fixes bug

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

* vala/valainterfacewriter.vala: fix symbol modifiers,
  based on patch by Andrea Del Signore, fixes bug 505804

svn path=/trunk/; revision=796

16 years agofix signature of Gtk.Window.get_size, fixes bug 505061
Juerg Billeter [Wed, 26 Dec 2007 14:01:59 +0000 (14:01 +0000)]
fix signature of Gtk.Window.get_size, fixes bug 505061

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

* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: fix signature of
  Gtk.Window.get_size, fixes bug 505061

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=795

16 years agofix member access in interface methods, fixes bug 504338
Juerg Billeter [Wed, 26 Dec 2007 13:28:22 +0000 (13:28 +0000)]
fix member access in interface methods, fixes bug 504338

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

* gobject/valaccodegeneratormemberaccess.vala: fix member access in
  interface methods, fixes bug 504338

* tests/Makefile.am, tests/interfaces-properties.exp,
  tests/interfaces-properties.vala: test interface properties

svn path=/trunk/; revision=794

16 years agofix crash on unresolved type name, fixes bug 504014
Juerg Billeter [Wed, 26 Dec 2007 10:56:51 +0000 (10:56 +0000)]
fix crash on unresolved type name, fixes bug 504014

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

* vala/valasymbolresolver.vala: fix crash on unresolved type name,
  fixes bug 504014

svn path=/trunk/; revision=793

16 years agoadd liboobs-1 bindings
Roberto Majadas [Wed, 26 Dec 2007 10:17:26 +0000 (10:17 +0000)]
add liboobs-1 bindings

2007-12-26  Roberto Majadas  <telemaco@openshine.com>

* vapi/Makefile.am, vapi/liboobs-1.vapi, vapi/packages/liboobs-1/: add
  liboobs-1 bindings

svn path=/trunk/; revision=792

16 years agoset cheader_filename
Roberto Majadas [Wed, 26 Dec 2007 09:54:11 +0000 (09:54 +0000)]
set cheader_filename

2007-12-26  Roberto Majadas  <telemaco@openshine.com>

* vapi/packages/libgnome-menu/libgnome-menu.metadata: set
  cheader_filename

* vapi/libgnome-menu.vapi: regenerated

svn path=/trunk/; revision=791

16 years agoadd InvalidType class
Juerg Billeter [Mon, 24 Dec 2007 20:37:32 +0000 (20:37 +0000)]
add InvalidType class

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

* vala/Makefile.am, vala/valainvalidtype.vala,
  vala/valasemanticanalyzer.vala, gobject/valaccodegeneratormethod.vala:
  add InvalidType class

svn path=/trunk/; revision=790

16 years agohide deprecated GtkProgress class
Juerg Billeter [Mon, 24 Dec 2007 19:29:01 +0000 (19:29 +0000)]
hide deprecated GtkProgress class

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

* vapi/gtk+-2.0.vapi, vapi/packages/gtk+-2.0/: hide deprecated
  GtkProgress class

svn path=/trunk/; revision=789

16 years agofix writing delegate types
Juerg Billeter [Mon, 24 Dec 2007 19:24:41 +0000 (19:24 +0000)]
fix writing delegate types

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

* vala/valainterfacewriter.vala: fix writing delegate types

svn path=/trunk/; revision=788

16 years agofix void types with vapigen
Juerg Billeter [Mon, 24 Dec 2007 19:20:20 +0000 (19:20 +0000)]
fix void types with vapigen

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

* vala/valasymbolresolver.vala: fix void types with vapigen

svn path=/trunk/; revision=787

16 years agoupdate to glib 2.15.0
Juerg Billeter [Mon, 24 Dec 2007 12:40:43 +0000 (12:40 +0000)]
update to glib 2.15.0

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

* vapi/gio-2.0.vapi, vapi/packages/gio-2.0/: update to glib 2.15.0

svn path=/trunk/; revision=786

16 years agofix interface signals
Juerg Billeter [Mon, 24 Dec 2007 09:56:10 +0000 (09:56 +0000)]
fix interface signals

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

* vala/valasignal.vala: fix interface signals

svn path=/trunk/; revision=785

16 years agobuild vapigen and vala-gen-project with newly built valac
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

16 years agoadd tree and xpath bindings, use pointers, based on patch by Ondřej
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

16 years agoadd support for pointer member access
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

16 years agosome enhancements to the SQLite bindings
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

16 years agosupport cname attribute for constants
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

16 years agosupport PointerType for parameters
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

16 years agoavoid critical warning when using abstract properties, fixes bug 503444
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

16 years agocast return value of g_type_create_instance to avoid gcc warning, fixes
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

16 years agoremove option to disable automatic memory management, manual memory
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

16 years agoremove Pointer class
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

16 years agoupdate to be compatible with new pointer types
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

16 years agoadd ClassType and InterfaceType classes, let ArrayType derive from
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

16 years agorefactor collection type check
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

16 years agomove is_type_compatible method from SemanticAnalyzer to DataType
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

16 years agoadd add_type_dependency method to SourceFile
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

16 years agomove reference type check from MemoryManager to DataType
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

16 years agoreplace Invokable interface by DelegateType, MethodType, and SignalType
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

16 years agofix exception handling with ellipsis parameters
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

16 years agoreadd support for void UnresolvedType, still required for vapigen
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

16 years agosupport assignment of lambda expressions to local variables
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

16 years agoverify that the `abstract', `virtual', and `overrides' method modifiers
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

16 years agofix invalid C code for virtual interface method implementations
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

16 years agoalways use VoidType
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

16 years agoadd missing files
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

16 years agoremove bindings for deprecated functions
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

16 years agoadd GTimer and g_list_insert_sorted, patch by Mikael Hermansson
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

16 years agouse subclasses of DataType
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

16 years agofix return type for creation methods
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

16 years agouse subclasses of DataType
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

16 years agoUpdate svn:ignore property.
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

16 years agoadd NullType and VoidType classes
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

16 years agoadd ArrayType, PointerType, ReferenceType, and ValueType classes
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

16 years agodon't call replace_type when type resolving failed
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

16 years agoAdded libgnome-menu vapi files Added libgnome-menu package files
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

16 years agoimplement replace_type for sizeof and typeof expressions
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

16 years agomove unresolved type information from DataType into new UnresolvedType
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

16 years agorename replace method to replace_expression and require arguments of type
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

16 years agoprevent conflicts in type macros
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

16 years agorename TypeReference to DataType
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

16 years agorename DataType to Typesymbol
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

16 years agodon't emit unreachable code, patch by Ondrej Jirman
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

16 years agodon't let named creation methods conflict with normal methods
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

16 years agopass non-simple structs always by reference
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

16 years agocheck interfaces before base class in symbol lookup
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

16 years agosupport virtual methods without wrapper with the [NoWrapper] attribute,
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

16 years agoadd is_pure method to Expression class
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