platform/upstream/vala.git
16 years agofix using instance methods as delegates in the constructor
Juerg Billeter [Tue, 12 Feb 2008 17:39:06 +0000 (17:39 +0000)]
fix using instance methods as delegates in the constructor

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

* gobject/valaccodegenerator.vala: fix using instance methods as
  delegates in the constructor

svn path=/trunk/; revision=1005

16 years agosupport signal handlers with struct parameters
Juerg Billeter [Tue, 12 Feb 2008 17:30:53 +0000 (17:30 +0000)]
support signal handlers with struct parameters

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

* gobject/valaccodeassignmentbinding.vala: support signal handlers
  with struct parameters

svn path=/trunk/; revision=1004

16 years agosupport GType properties, patch by Ali Sabil
Juerg Billeter [Sat, 9 Feb 2008 18:56:19 +0000 (18:56 +0000)]
support GType properties, patch by Ali Sabil

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

* gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratorinterface.vala: support GType
  properties, patch by Ali Sabil

svn path=/trunk/; revision=1003

16 years agoremove static modifier from GSourceFunc binding
Juerg Billeter [Sat, 9 Feb 2008 13:29:42 +0000 (13:29 +0000)]
remove static modifier from GSourceFunc binding

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

* vapi/glib-2.0.vapi: remove static modifier from GSourceFunc
  binding

svn path=/trunk/; revision=1002

16 years agosupport delegates with array and struct parameters, fixes bug 515202
Juerg Billeter [Fri, 8 Feb 2008 19:23:24 +0000 (19:23 +0000)]
support delegates with array and struct parameters, fixes bug 515202

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

* vala/valaattributeprocessor.vala, gobject/valaccodegenerator.vala:
  support delegates with array and struct parameters,
  fixes bug 515202

* vapi/glib-2.0.vapi: fix GSignalEmissionHook binding

svn path=/trunk/; revision=1001

16 years agofix use of uninitialized variables and mixed declaration and code, patch
Juerg Billeter [Fri, 8 Feb 2008 16:19:43 +0000 (16:19 +0000)]
fix use of uninitialized variables and mixed declaration and code, patch

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

* vala/parser.y: fix use of uninitialized variables and mixed
  declaration and code, patch by Vlad Grecescu, fixes bug 515166

svn path=/trunk/; revision=1000

16 years agofix message ownership issues
Juerg Billeter [Fri, 8 Feb 2008 16:09:07 +0000 (16:09 +0000)]
fix message ownership issues

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

* vapi/packages/libsoup-2.2/: fix message ownership issues

* vapi/libsoup-2.2.vapi: regenerated

svn path=/trunk/; revision=999

16 years agoadd missing attributes to GType binidng for use as property or signal
Juerg Billeter [Fri, 8 Feb 2008 16:04:00 +0000 (16:04 +0000)]
add missing attributes to GType binidng for use as property or signal

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

* vapi/glib-2.0.vapi: add missing attributes to GType binidng for
  use as property or signal parameter

svn path=/trunk/; revision=998

16 years agoremove obsolete code used for reference-type structs
Juerg Billeter [Fri, 8 Feb 2008 12:49:20 +0000 (12:49 +0000)]
remove obsolete code used for reference-type structs

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

* gobject/valaccodegeneratorstruct.vala: remove obsolete code used
  for reference-type structs

svn path=/trunk/; revision=997

16 years agorenamed from WebKitGtk and updated to current svn trunk
Juerg Billeter [Fri, 8 Feb 2008 12:01:30 +0000 (12:01 +0000)]
renamed from WebKitGtk and updated to current svn trunk

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

* vapi/packages/webkit-1.0/: renamed from WebKitGtk and updated to
  current svn trunk

* vapi/webkit-1.0.vapi: regenerated

* vapi/Makefile.am: updated

svn path=/trunk/; revision=996

16 years agoadd taglib bindings, patch by Andreas Brauchli
Juerg Billeter [Fri, 8 Feb 2008 10:35:09 +0000 (10:35 +0000)]
add taglib bindings, patch by Andreas Brauchli

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

* vapi/Makefile.am, vapi/taglib_c.vapi: add taglib bindings,
  patch by Andreas Brauchli

svn path=/trunk/; revision=995

16 years agofix GtkWidget.window binding, fixes bug 510026
Juerg Billeter [Thu, 7 Feb 2008 22:05:57 +0000 (22:05 +0000)]
fix GtkWidget.window binding, fixes bug 510026

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

* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: fix GtkWidget.window
  binding, fixes bug 510026

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=994

16 years agoSupport element access for pointers, fixes bug 512869
Juerg Billeter [Thu, 7 Feb 2008 21:50:16 +0000 (21:50 +0000)]
Support element access for pointers, fixes bug 512869

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

* vala/valasemanticanalyzer.vala:

  Support element access for pointers, fixes bug 512869

svn path=/trunk/; revision=993

16 years agoSupport delete operator for pointers, fixes bug 512868
Juerg Billeter [Thu, 7 Feb 2008 21:35:50 +0000 (21:35 +0000)]
Support delete operator for pointers, fixes bug 512868

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

* vala/Makefile.am, vala/parser.y, vala/scanner.l,
  vala/valacodecontext.vala, vala/valacodegenerator.vala,
  vala/valacodevisitor.vala, vala/valadeletestatement.vala,
  vala/valainterfacewriter.vala, vala/valasemanticanalyzer.vala,
  gobject/valaccodegenerator.vala:

  Support delete operator for pointers, fixes bug 512868

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

svn path=/trunk/; revision=992

16 years agoallow pointer arithmetic
Juerg Billeter [Thu, 7 Feb 2008 17:36:38 +0000 (17:36 +0000)]
allow pointer arithmetic

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

* vala/valasemanticanalyzer.vala: allow pointer arithmetic

svn path=/trunk/; revision=991

16 years agofix gtk_tree_model_iter_nth_child binding, fixes bug 514869
Juerg Billeter [Thu, 7 Feb 2008 16:13:17 +0000 (16:13 +0000)]
fix gtk_tree_model_iter_nth_child binding, fixes bug 514869

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

* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: fix
  gtk_tree_model_iter_nth_child binding, fixes bug 514869

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=990

16 years agoSeparate errordomain from enum declaration, fixes bug 512616
Juerg Billeter [Thu, 7 Feb 2008 15:48:07 +0000 (15:48 +0000)]
Separate errordomain from enum declaration, fixes bug 512616

2008-02-07  Juerg Billeter  <j@bitron.ch>
* vala/Makefile.am, vala/parser.y, vala/scanner.l, vala/vala.h,
  vala/valacodecontext.vala, vala/valacodegenerator.vala,
  vala/valacodevisitor.vala, vala/valaenum.vala,
  vala/valaerrorcode.vala, vala/valaerrordomain.vala,
  vala/valaerrortype.vala, vala/valainterfacewriter.vala,
  vala/valanamespace.vala, vala/valasemanticanalyzer.vala,
  gobject/valaccodegenerator.vala, tests/exceptions.vala:

  Separate errordomain from enum declaration, fixes bug 512616

svn path=/trunk/; revision=989

16 years agouse 0 as array length when array is a null literal
Juerg Billeter [Thu, 7 Feb 2008 12:18:59 +0000 (12:18 +0000)]
use 0 as array length when array is a null literal

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

* gobject/valaccodegenerator.vala: use 0 as array length when array
  is a null literal

* vapigen/valagidlparser.vala: add basic array length support

* vapi/cairo.vapi: fix some array length parameters

* vapi/atk.vapi, vapi/gconf-2.0.vapi, vapi/gdk-2.0.vapi,
  vapi/gdk-pixbuf-2.0.vapi, vapi/gio-2.0.vapi,
  vapi/gnome-desktop-2.0.vapi, vapi/gstreamer-0.10.vapi,
  vapi/gstreamer-audio-0.10.vapi, vapi/gstreamer-check-0.10.vapi,
  vapi/gstreamer-netbuffer-0.10.vapi, vapi/gtk+-2.0.vapi,
  vapi/libgnome-2.0.vapi, vapi/libgnomeui-2.0.vapi, vapi/libnotify.vapi,
  vapi/libsoup-2.2.vapi, vapi/libsoup-2.4.vapi, vapi/pango.vapi,
  vapi/vte.vapi: regenerated

svn path=/trunk/; revision=988

16 years agofix some array length parameters
Juerg Billeter [Thu, 7 Feb 2008 08:40:56 +0000 (08:40 +0000)]
fix some array length parameters

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

* vapi/glib-2.0.vapi: fix some array length parameters

svn path=/trunk/; revision=987

16 years agovapi/packages/gtk+-2.0/: set array_length_pos for init methods
Juerg Billeter [Thu, 7 Feb 2008 08:06:13 +0000 (08:06 +0000)]
vapi/packages/gtk+-2.0/: set array_length_pos for init methods

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

* vapi/glib-2.0.vapi, vapi/packages/gstreamer-0.10/:
  vapi/packages/gtk+-2.0/: set array_length_pos for init methods

* vapi/gstreamer-0.10.vapi, vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=986

16 years agofix properties and signals in vapigen
Juerg Billeter [Thu, 7 Feb 2008 08:00:07 +0000 (08:00 +0000)]
fix properties and signals in vapigen

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

* vala/valasignal.vala, vapigen/valagidlparser.vala: fix properties
  and signals in vapigen

svn path=/trunk/; revision=985

16 years agocreate wrapper functions for methods used as delegates to fix parameter
Juerg Billeter [Wed, 6 Feb 2008 23:40:45 +0000 (23:40 +0000)]
create wrapper functions for methods used as delegates to fix parameter

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

* vala/valadelegate.vala, gobject/valaccodegenerator.vala,
  tests/delegates.vala: create wrapper functions for methods used as
  delegates to fix parameter order

svn path=/trunk/; revision=984

16 years agocreate wrapper functions for signal handlers to support public signal
Juerg Billeter [Wed, 6 Feb 2008 23:18:01 +0000 (23:18 +0000)]
create wrapper functions for signal handlers to support public signal

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

* vala/valasemanticanalyzer.vala, vala/valasignal.vala,
  gobject/valaccodeassignmentbinding.vala,
  gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratorinvocationexpression.vala,
  gobject/valaccodegeneratorsourcefile.vala,
  tests/classes-properties.vala, vapi/glib-2.0.vapi: create wrapper
  functions for signal handlers to support public signal handlers,
  fixes bug 508834

svn path=/trunk/; revision=983

16 years agoSupport flexible position of array length and delegate target parameters,
Juerg Billeter [Wed, 6 Feb 2008 16:55:33 +0000 (16:55 +0000)]
Support flexible position of array length and delegate target parameters,

2008-02-06  Juerg Billeter  <j@bitron.ch>

* vala/parser.y, vala/valaarrayresizemethod.vala,
  vala/valaattribute.vala, vala/valaattributeprocessor.vala,
  vala/valacodecontext.vala, vala/valadelegate.vala,
  vala/valaformalparameter.vala, vala/valainterfacewriter.vala,
  vala/valamethod.vala, vala/valasemanticanalyzer.vala,
  gobject/valaccodegeneratorinvocationexpression.vala,
  gobject/valaccodegeneratormethod.vala:

  Support flexible position of array length and delegate target
  parameters, fixes bug 508831 and bug 513089

* vapi/glib-2.0.vapi: update

svn path=/trunk/; revision=982

16 years agoimplement get_symbols method, based on patch by Andreas Brauchli, fixes
Juerg Billeter [Tue, 5 Feb 2008 21:44:03 +0000 (21:44 +0000)]
implement get_symbols method, based on patch by Andreas Brauchli, fixes

2008-02-05  Juerg Billeter  <j@bitron.ch>

* vala/valapointertype.vala: implement get_symbols method,
  based on patch by Andreas Brauchli, fixes bug 514008

svn path=/trunk/; revision=981

16 years agosupport default values for properties, fixes bug 437434
Juerg Billeter [Tue, 5 Feb 2008 21:24:48 +0000 (21:24 +0000)]
support default values for properties, fixes bug 437434

2008-02-05  Juerg Billeter  <j@bitron.ch>

* vala/parser.y, vala/valaclass.vala, vala/valaproperty.vala,
  gobject/valaccodegeneratorinterface.vala: support default values
  for properties, fixes bug 437434

svn path=/trunk/; revision=980

16 years agosupport non-simple struct as signal parameter type
Juerg Billeter [Tue, 5 Feb 2008 20:28:44 +0000 (20:28 +0000)]
support non-simple struct as signal parameter type

2008-02-05  Juerg Billeter  <j@bitron.ch>

* vala/valastruct.vala, gobject/valaccodegeneratorsignal.vala:
  support non-simple struct as signal parameter type

svn path=/trunk/; revision=979

16 years agofix critical when using interface properties
Juerg Billeter [Tue, 5 Feb 2008 20:07:32 +0000 (20:07 +0000)]
fix critical when using interface properties

2008-02-05  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegenerator.vala: fix critical when using interface
  properties

svn path=/trunk/; revision=978

16 years agoadd support for private property accessors
Juerg Billeter [Tue, 5 Feb 2008 20:05:00 +0000 (20:05 +0000)]
add support for private property accessors

2008-02-05  Juerg Billeter  <j@bitron.ch>

* vala/parser.y, vala/valaexpression.vala,
  vala/valapropertyaccessor.vala, vala/valasemanticanalyzer.vala,
  gobject/valaccodegenerator.vala: add support for private property
  accessors

svn path=/trunk/; revision=977

16 years agobuild control flow graph for property accessors
Juerg Billeter [Tue, 5 Feb 2008 18:59:17 +0000 (18:59 +0000)]
build control flow graph for property accessors

2008-02-05  Juerg Billeter  <j@bitron.ch>

* vala/valacfgbuilder.vala, vala/valapropertyaccessor.vala: build
  control flow graph for property accessors

svn path=/trunk/; revision=976

16 years agoremove unreachable return statements
Juerg Billeter [Tue, 5 Feb 2008 18:54:51 +0000 (18:54 +0000)]
remove unreachable return statements

2008-02-05  Juerg Billeter  <j@bitron.ch>

* gee/hashmap.vala, gee/readonlycollection.vala, gee/readonlylist.vala,
  gee/readonlymap.vala, gee/readonlyset.vala: remove unreachable
  return statements

svn path=/trunk/; revision=975

16 years agoassume that control flow ends when invoking a method with the [NoReturn]
Juerg Billeter [Tue, 5 Feb 2008 18:45:05 +0000 (18:45 +0000)]
assume that control flow ends when invoking a method with the [NoReturn]

2008-02-05  Juerg Billeter  <j@bitron.ch>

* vala/valacfgbuilder.vala: assume that control flow ends when
  invoking a method with the [NoReturn] attribute

* vapi/glib-2.0.vapi: add [NoReturn] to assert_not_reached

svn path=/trunk/; revision=974

16 years agoset tree_can_fail for assignments that can fail
Juerg Billeter [Tue, 5 Feb 2008 15:49:23 +0000 (15:49 +0000)]
set tree_can_fail for assignments that can fail

2008-02-05  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: set tree_can_fail for assignments
  that can fail

svn path=/trunk/; revision=973

16 years agosupport for statements without condition, fixes bug 514548
Juerg Billeter [Tue, 5 Feb 2008 15:12:10 +0000 (15:12 +0000)]
support for statements without condition, fixes bug 514548

2008-02-05  Juerg Billeter  <j@bitron.ch>

* vala/valacfgbuilder.vala, vala/valaforstatement.vala,
  vala/valasemanticanalyzer.vala, gobject/valaccodegenerator.vala:
  support for statements without condition, fixes bug 514548

svn path=/trunk/; revision=972

16 years agosupport addressof expressions for reference types, fixes bug 514495
Juerg Billeter [Tue, 5 Feb 2008 10:39:54 +0000 (10:39 +0000)]
support addressof expressions for reference types, fixes bug 514495

2008-02-05  Juerg Billeter  <j@bitron.ch>

* vala/valapointertype.vala, vala/valasemanticanalyzer.vala: support
  addressof expressions for reference types, fixes bug 514495

svn path=/trunk/; revision=971

16 years agofix crash when casting an invalid expression, fixes bug 514331
Juerg Billeter [Tue, 5 Feb 2008 08:04:49 +0000 (08:04 +0000)]
fix crash when casting an invalid expression, fixes bug 514331

2008-02-05  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: fix crash when casting an invalid
  expression, fixes bug 514331

svn path=/trunk/; revision=970

16 years agoimprove error reporting for methods missing the return type, fixes bug
Juerg Billeter [Tue, 5 Feb 2008 00:13:47 +0000 (00:13 +0000)]
improve error reporting for methods missing the return type, fixes bug

2008-02-05  Juerg Billeter  <j@bitron.ch>

* vala/valaclass.vala, vala/valastruct.vala: improve error reporting
  for methods missing the return type, fixes bug 514344

svn path=/trunk/; revision=969

16 years agofix error message for invalid symbols, fixes bug 514329
Juerg Billeter [Mon, 4 Feb 2008 23:52:32 +0000 (23:52 +0000)]
fix error message for invalid symbols, fixes bug 514329

2008-02-05  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: fix error message for invalid
  symbols, fixes bug 514329

svn path=/trunk/; revision=968

16 years agoimprove error reporting for properties, fixes bug 514326
Juerg Billeter [Mon, 4 Feb 2008 23:41:00 +0000 (23:41 +0000)]
improve error reporting for properties, fixes bug 514326

2008-02-05  Juerg Billeter  <j@bitron.ch>

* vala/valaclass.vala: improve error reporting for properties,
  fixes bug 514326

* tests/classes-properties.vala: fix test case

svn path=/trunk/; revision=967

16 years agodon't use construction properties for classes not deriving from GObject,
Juerg Billeter [Mon, 4 Feb 2008 23:17:59 +0000 (23:17 +0000)]
don't use construction properties for classes not deriving from GObject,

2008-02-05  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodeassignmentbinding.vala,
  gobject/valaccodegenerator.vala: don't use construction properties
  for classes not deriving from GObject, fixes bug 514323

svn path=/trunk/; revision=966

16 years agodon't crash when using delegate properties, fixes bug 514261
Juerg Billeter [Mon, 4 Feb 2008 22:47:22 +0000 (22:47 +0000)]
don't crash when using delegate properties, fixes bug 514261

2008-02-04  Juerg Billeter  <j@bitron.ch>

* vala/valadatatype.vala, vala/valadelegatetype.vala,
  gobject/valaccodeassignmentbinding.vala: don't crash when using
  delegate properties, fixes bug 514261

svn path=/trunk/; revision=965

16 years agodon't write C file in case of errors, fixes bug 514259
Juerg Billeter [Mon, 4 Feb 2008 22:27:25 +0000 (22:27 +0000)]
don't write C file in case of errors, fixes bug 514259

2008-02-04  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegeneratorsourcefile.vala: don't write C file in
  case of errors, fixes bug 514259

svn path=/trunk/; revision=964

16 years agodon't generate result variable when not using postconditions to avoid
Juerg Billeter [Mon, 4 Feb 2008 21:52:51 +0000 (21:52 +0000)]
don't generate result variable when not using postconditions to avoid

2008-02-04  Juerg Billeter  <j@bitron.ch>

* vala/valaclass.vala, vala/valainterface.vala, vala/valastruct.vala,
  gobject/valaccodegeneratormethod.vala: don't generate result
  variable when not using postconditions to avoid unnecessary name
  conflicts with method parameters

svn path=/trunk/; revision=963

16 years agofix .vapi location without -d option
Juerg Billeter [Mon, 4 Feb 2008 21:49:11 +0000 (21:49 +0000)]
fix .vapi location without -d option

2008-02-04  Juerg Billeter  <j@bitron.ch>

* compiler/valacompiler.vala: fix .vapi location without -d option

svn path=/trunk/; revision=962

16 years agoadd missing visit_expression call for assignments, fixes bug 514255
Juerg Billeter [Mon, 4 Feb 2008 21:13:11 +0000 (21:13 +0000)]
add missing visit_expression call for assignments, fixes bug 514255

2008-02-04  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodeassignmentbinding.vala: add missing
  visit_expression call for assignments, fixes bug 514255

svn path=/trunk/; revision=961

16 years agoadd JSON-GLib bindings, patch by Ali Sabil
Juerg Billeter [Sun, 3 Feb 2008 22:52:40 +0000 (22:52 +0000)]
add JSON-GLib bindings, patch by Ali Sabil

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

* vapi/Makefile.am, vapi/json-glib-1.0.vapi,
  vapi/packages/json-glib-1.0/: add JSON-GLib bindings,
  patch by Ali Sabil

svn path=/trunk/; revision=960

16 years agomove get_package_path method to libvala
Juerg Billeter [Sun, 3 Feb 2008 21:47:02 +0000 (21:47 +0000)]
move get_package_path method to libvala

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

* vala/Makefile.am, vala/valacodecontext.vala,
  compiler/valacompiler.vala, vapigen/valavapigen.vala: move
  get_package_path method to libvala

svn path=/trunk/; revision=959

16 years agoextend the array test with an array of structs declared through the "var"
Raffaele Sandrini [Sun, 3 Feb 2008 21:22:28 +0000 (21:22 +0000)]
extend the array test with an array of structs declared through the "var"

2008-02-03  Raffaele Sandrini  <raffaele@sandrini.ch>

        * tests/arrays.vala: extend the array test with an array of structs
          declared through the "var" keyword
        * vala/valasemanticanalyzer.vala: fix a memory management bug with
          arrays of struct elements

svn path=/trunk/; revision=958

16 years agoset requires_null_check for nullable parameters, they're not local
Juerg Billeter [Sun, 3 Feb 2008 19:48:29 +0000 (19:48 +0000)]
set requires_null_check for nullable parameters, they're not local

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

* vapigen/valagidlparser.vala: set requires_null_check for nullable
  parameters, they're not local variables

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=957

16 years agoaccept carriage returns in source files
Juerg Billeter [Sun, 3 Feb 2008 16:18:23 +0000 (16:18 +0000)]
accept carriage returns in source files

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

* vala/scanner.l: accept carriage returns in source files

svn path=/trunk/; revision=956

16 years agoadd missing return statement
Juerg Billeter [Sat, 2 Feb 2008 15:44:11 +0000 (15:44 +0000)]
add missing return statement

2008-02-02  Juerg Billeter  <j@bitron.ch>

* vala/valaproperty.vala: add missing return statement

svn path=/trunk/; revision=955

16 years agoadd very basic support for properties serving real (non fundamental)
Raffaele Sandrini [Sat, 2 Feb 2008 15:37:11 +0000 (15:37 +0000)]
add very basic support for properties serving real (non fundamental)

2008-02-02  Raffaele Sandrini  <raffaele@sandrini.ch>

        * gobject/valaccodeassignmentbinding.vala
          gobject/valaccodegenerator.vala,
          gobject/valaccodegeneratorclass.vala,
          gobject/valaccodegeneratormemberaccess.vala,
          gobject/valaccodegeneratormethod.vala, vala/valadatatype.vala: add
          very basic support for properties serving real (non fundamental)
          structs, they are unboxed and therefore not yet known by the GObject
          type system when declared

svn path=/trunk/; revision=954

16 years agouse --directory when writing vapi file
Juerg Billeter [Sat, 2 Feb 2008 14:13:16 +0000 (14:13 +0000)]
use --directory when writing vapi file

2008-02-02  Juerg Billeter  <j@bitron.ch>

* compiler/valacompiler.vala: use --directory when writing vapi file

svn path=/trunk/; revision=953

16 years agoremove basedir workaround used for backward compatibility, so that
Juerg Billeter [Sat, 2 Feb 2008 13:56:50 +0000 (13:56 +0000)]
remove basedir workaround used for backward compatibility, so that

2008-02-02  Juerg Billeter  <j@bitron.ch>

* vala/valasourcefile.vala: remove basedir workaround used for
  backward compatibility, so that --library without --basedir
  works as expected

svn path=/trunk/; revision=952

16 years agoregenerated
Juerg Billeter [Sat, 2 Feb 2008 13:48:26 +0000 (13:48 +0000)]
regenerated

2008-02-02  Juerg Billeter  <j@bitron.ch>

* vapi/atk.vapi, vapi/gdk-2.0.vapi, vapi/gio-2.0.vapi,
  vapi/gnome-vfs-2.0.vapi, vapi/gstreamer-0.10.vapi,
  vapi/gstreamer-audio-0.10.vapi, vapi/gstreamer-base-0.10.vapi,
  vapi/gstreamer-interfaces-0.10.vapi, vapi/gstreamer-rtp-0.10.vapi,
  vapi/gstreamer-tag-0.10.vapi, vapi/gtk+-2.0.vapi,
  vapi/libglade-2.0.vapi, vapi/liboobs-1.vapi, vapi/libsoup-2.2.vapi,
  vapi/libsoup-2.4.vapi, vapi/libwnck-1.0.vapi, vapi/pango.vapi,
  vapi/vte.vapi, vapi/WebKitGtk.vapi: regenerated

svn path=/trunk/; revision=951

16 years agoimprove support for virtual methods, based on patch by Michael Lawrence,
Juerg Billeter [Sat, 2 Feb 2008 13:40:06 +0000 (13:40 +0000)]
improve support for virtual methods, based on patch by Michael Lawrence,

2008-02-02  Juerg Billeter  <j@bitron.ch>

* gobject-introspection/gidl.vapi, vapigen/valagidlparser.vala:
  improve support for virtual methods,
  based on patch by Michael Lawrence, fixes bug 452019

svn path=/trunk/; revision=950

16 years agoadd gdk-x11-2.0 bindings, patch by Maciej Piechotka, fixes bug 510336
Juerg Billeter [Sat, 2 Feb 2008 12:39:35 +0000 (12:39 +0000)]
add gdk-x11-2.0 bindings, patch by Maciej Piechotka, fixes bug 510336

2008-02-02  Juerg Billeter  <j@bitron.ch>

* vapi/Makefile.am, vapi/packages/gdk-x11-2.0/, vapi/gdk-x11-2.0.deps,
  vapi/gdk-x11-2.0.vapi: add gdk-x11-2.0 bindings,
  patch by Maciej Piechotka, fixes bug 510336

svn path=/trunk/; revision=949

16 years agosupport [Description (nick = "foo", blurb = "bar")] attribute, based on
Juerg Billeter [Sat, 2 Feb 2008 12:21:04 +0000 (12:21 +0000)]
support [Description (nick = "foo", blurb = "bar")] attribute, based on

2008-02-02  Juerg Billeter  <j@bitron.ch>

* vala/valaproperty.vala, gobject/valaccodegeneratorinterface.vala:
  support [Description (nick = "foo", blurb = "bar")] attribute,
  based on patch by Juan Carlos Girardi, fixes part of bug 437434

svn path=/trunk/; revision=948

16 years agoreport error when declaring static properties
Juerg Billeter [Fri, 1 Feb 2008 18:51:12 +0000 (18:51 +0000)]
report error when declaring static properties

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

* vala/parser.y, vala/valaproperty.vala, vala/valasemanticanalyzer.vala:
  report error when declaring static properties

svn path=/trunk/; revision=947

16 years agoreport error for binary expressions with invalid operands, fixes bug
Juerg Billeter [Fri, 1 Feb 2008 18:44:56 +0000 (18:44 +0000)]
report error for binary expressions with invalid operands, fixes bug

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

* vala/valasemanticanalyzer.vala: report error for binary
  expressions with invalid operands, fixes bug 513708

svn path=/trunk/; revision=946

16 years agofix crash when using general catch clause, fixes bug 513680
Juerg Billeter [Fri, 1 Feb 2008 17:52:32 +0000 (17:52 +0000)]
fix crash when using general catch clause, fixes bug 513680

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

* vala/valacatchclause.vala, vala/valacfgbuilder.vala,
  vala/valasemanticanalyzer.vala: fix crash when using general
  catch clause, fixes bug 513680

svn path=/trunk/; revision=945

16 years agoadd basic support for exceptional control flow
Juerg Billeter [Fri, 1 Feb 2008 17:43:25 +0000 (17:43 +0000)]
add basic support for exceptional control flow

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

* vala/valacfgbuilder.vala, vala/valatrystatement.vala: add basic
  support for exceptional control flow

svn path=/trunk/; revision=944

16 years agofix typo in hex_digit
Juerg Billeter [Fri, 1 Feb 2008 17:10:16 +0000 (17:10 +0000)]
fix typo in hex_digit

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

* vala/scanner.l: fix typo in hex_digit

svn path=/trunk/; revision=943

16 years ago0-initialize temporary struct variables to avoid passing uninitialized
Juerg Billeter [Fri, 1 Feb 2008 16:59:58 +0000 (16:59 +0000)]
0-initialize temporary struct variables to avoid passing uninitialized

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

* ccode/valaccodevariabledeclarator.vala,
  gobject/valaccodegenerator.vala: 0-initialize temporary struct
  variables to avoid passing uninitialized structs by reference,
  fixes bug 513144

svn path=/trunk/; revision=942

16 years agofix casts to delegate types
Juerg Billeter [Fri, 1 Feb 2008 13:58:14 +0000 (13:58 +0000)]
fix casts to delegate types

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

* vala/valasemanticanalyzer.vala: fix casts to delegate types

svn path=/trunk/; revision=941

16 years agoadd more non-null warnings
Juerg Billeter [Fri, 1 Feb 2008 13:56:01 +0000 (13:56 +0000)]
add more non-null warnings

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

* vala/parser.y, vala/valaarraytype.vala, vala/valadatatype.vala,
  vala/valaintegertype.vala, vala/valanulltype.vala,
  vala/valapointertype.vala, vala/valasemanticanalyzer.vala,
  vala/valasymbolresolver.vala, vala/valaunresolvedtype.vala,
  ccode/valaccodeassignment.vala, ccode/valaccodebinaryexpression.vala,
  gobject/valaccodegenerator.vala: add more non-null warnings

svn path=/trunk/; revision=940

16 years agoregenerated
Juerg Billeter [Thu, 31 Jan 2008 12:31:42 +0000 (12:31 +0000)]
regenerated

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

* vapi/atk.vapi, vapi/gdk-pixbuf-2.0.vapi, vapi/gstreamer-0.10.vapi,
  vapi/gstreamer-controller-0.10.vapi,
  vapi/gstreamer-interfaces-0.10.vapi, vapi/gstreamer-rtsp-0.10.vapi,
  vapi/gstreamer-video-0.10.vapi, vapi/gtk+-2.0.vapi,
  vapi/poppler-glib.vapi: regenerated

svn path=/trunk/; revision=939

16 years agoupdate to gnome-desktop 2.21.90
Juerg Billeter [Thu, 31 Jan 2008 12:25:13 +0000 (12:25 +0000)]
update to gnome-desktop 2.21.90

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

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

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

svn path=/trunk/; revision=938

16 years agoupdate to pango 1.19.3
Juerg Billeter [Thu, 31 Jan 2008 11:10:25 +0000 (11:10 +0000)]
update to pango 1.19.3

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

* vapi/packages/pango/: update to pango 1.19.3

* vapi/pango.vapi: regenerated

svn path=/trunk/; revision=937

16 years agoupdate to glib 2.15.4
Juerg Billeter [Thu, 31 Jan 2008 10:54:06 +0000 (10:54 +0000)]
update to glib 2.15.4

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

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

* vapi/gio-2.0.vapi: regenerated

svn path=/trunk/; revision=936

16 years agoadd libsoup-2.4 bindings
Juerg Billeter [Thu, 31 Jan 2008 10:47:17 +0000 (10:47 +0000)]
add libsoup-2.4 bindings

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

* vapi/Makefile.am, vapi/libsoup-2.4.deps, vapi/libsoup-2.4.vapi,
  vapi/packages/libsoup-2.4/: add libsoup-2.4 bindings

svn path=/trunk/; revision=935

16 years agoadd GBookmarkFile bindings, patch by Emmanuele Bassi, fixes bug 513059
Juerg Billeter [Wed, 30 Jan 2008 19:55:50 +0000 (19:55 +0000)]
add GBookmarkFile bindings, patch by Emmanuele Bassi, fixes bug 513059

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

* vapi/glib-2.0.vapi: add GBookmarkFile bindings,
  patch by Emmanuele Bassi, fixes bug 513059

svn path=/trunk/; revision=934

16 years agoadd GSequence bindings, based on patch by Daniel Svensson, fixes bug
Juerg Billeter [Wed, 30 Jan 2008 17:59:37 +0000 (17:59 +0000)]
add GSequence bindings, based on patch by Daniel Svensson, fixes bug

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

* vapi/glib-2.0.vapi: add GSequence bindings,
  based on patch by Daniel Svensson, fixes bug 512938

svn path=/trunk/; revision=933

16 years agoadd gio-unix-2.0 bindings, based on patch by Mikael Hermansson, fixes bug
Juerg Billeter [Wed, 30 Jan 2008 17:24:33 +0000 (17:24 +0000)]
add gio-unix-2.0 bindings, based on patch by Mikael Hermansson, fixes bug

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

* vapi/Makefile.am, vapi/gio-unix-2.0.deps, vapi/gio-unix-2.0.vapi,
  vapi/packages/gio-unix-2.0/: add gio-unix-2.0 bindings,
  based on patch by Mikael Hermansson, fixes bug 512926

svn path=/trunk/; revision=932

16 years agoenhance GOption bindings, based on patch by Maciej Piechotka, fixes bug
Juerg Billeter [Wed, 30 Jan 2008 17:08:48 +0000 (17:08 +0000)]
enhance GOption bindings, based on patch by Maciej Piechotka, fixes bug

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

* vapi/glib-2.0.vapi: enhance GOption bindings,
  based on patch by Maciej Piechotka, fixes bug 512840

svn path=/trunk/; revision=931

16 years agoreport error when using automatic properties in interfaces, fixes bug
Juerg Billeter [Wed, 30 Jan 2008 16:38:04 +0000 (16:38 +0000)]
report error when using automatic properties in interfaces, fixes bug

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

* vala/valasemanticanalyzer.vala: report error when using automatic
  properties in interfaces, fixes bug 513157

svn path=/trunk/; revision=930

16 years agoreport error when trying to add instance fields to interfaces, fixes bug
Juerg Billeter [Wed, 30 Jan 2008 16:29:25 +0000 (16:29 +0000)]
report error when trying to add instance fields to interfaces, fixes bug

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

* vala/valasemanticanalyzer.vala: report error when trying to add
  instance fields to interfaces, fixes bug 513152

svn path=/trunk/; revision=929

16 years agooutput # for properties transferring ownership
Juerg Billeter [Wed, 30 Jan 2008 16:01:16 +0000 (16:01 +0000)]
output # for properties transferring ownership

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

* vala/valainterfacewriter.vala: output # for properties transferring
  ownership

svn path=/trunk/; revision=928

16 years agodefault cname should be _init instead of _new for creation methods in
Juerg Billeter [Wed, 30 Jan 2008 10:29:19 +0000 (10:29 +0000)]
default cname should be _init instead of _new for creation methods in

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

* vala/valacreationmethod.vala: default cname should be _init instead
  of _new for creation methods in structs

svn path=/trunk/; revision=927

16 years agodon't output overridden properties
Juerg Billeter [Wed, 30 Jan 2008 06:38:00 +0000 (06:38 +0000)]
don't output overridden properties

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

* vala/valainterfacewriter.vala: don't output overridden properties

svn path=/trunk/; revision=926

16 years agoadd WebKit bindings
Juerg Billeter [Tue, 29 Jan 2008 23:21:32 +0000 (23:21 +0000)]
add WebKit bindings

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

* vapi/Makefile.am, vapi/WebKitGtk.deps, vapi/WebKitGtk.vapi,
  vapi/packages/WebKitGtk/: add WebKit bindings

svn path=/trunk/; revision=925

16 years agobind GString as GLib.StringBuilder to avoid confusion between string and
Juerg Billeter [Tue, 29 Jan 2008 20:29:22 +0000 (20:29 +0000)]
bind GString as GLib.StringBuilder to avoid confusion between string and

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

* gobject/valaccodegenerator.vala, vapi/glib-2.0.vapi: bind GString
  as GLib.StringBuilder to avoid confusion between string and String

svn path=/trunk/; revision=924

16 years agofix crash on invalid code, fixes bug 512306
Juerg Billeter [Tue, 29 Jan 2008 14:37:19 +0000 (14:37 +0000)]
fix crash on invalid code, fixes bug 512306

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

* vala/valadatatype.vala: fix crash on invalid code, fixes bug 512306

svn path=/trunk/; revision=923

16 years agoenhance GError binding
Juerg Billeter [Tue, 29 Jan 2008 10:45:23 +0000 (10:45 +0000)]
enhance GError binding

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

* vapi/glib-2.0.vapi: enhance GError binding

svn path=/trunk/; revision=922

16 years agofix SoupDataBuffer binding
Juerg Billeter [Tue, 29 Jan 2008 08:42:17 +0000 (08:42 +0000)]
fix SoupDataBuffer binding

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

* vapi/packages/libsoup-2.2/: fix SoupDataBuffer binding

* vapi/libsoup-2.2.vapi: regenerated

svn path=/trunk/; revision=921

16 years agosupport transfer_ownership attribute for function parameters
Juerg Billeter [Tue, 29 Jan 2008 07:33:47 +0000 (07:33 +0000)]
support transfer_ownership attribute for function parameters

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

* vapigen/valagidlparser.vala: support transfer_ownership attribute
  for function parameters

* vapi/packages/libsoup-2.2/: fix soup_session_queue_message binding

* vapi/libsoup-2.2.vapi: regenerated

svn path=/trunk/; revision=920

16 years agosupport [NoWrapper] attribute for virtual methods
Juerg Billeter [Mon, 28 Jan 2008 20:29:20 +0000 (20:29 +0000)]
support [NoWrapper] attribute for virtual methods

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

* vala/valainterfacewriter.vala: support [NoWrapper] attribute for
  virtual methods

svn path=/trunk/; revision=919

16 years agoremove unnecessary if statement
Juerg Billeter [Mon, 28 Jan 2008 19:04:17 +0000 (19:04 +0000)]
remove unnecessary if statement

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

* gobject/valaccodegenerator.vala: remove unnecessary if statement

svn path=/trunk/; revision=918

16 years agofix struct pointer member access
Juerg Billeter [Sun, 27 Jan 2008 22:49:18 +0000 (22:49 +0000)]
fix struct pointer member access

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

* gobject/valaccodegeneratorinvocationexpression.vala,
  gobject/valaccodegeneratormemberaccess.vala: fix struct pointer
  member access

* tests/Makefile.am, tests/pointers.vala, tests/pointers.exp: test
  struct pointers

svn path=/trunk/; revision=917

16 years agofix critical when using normal member access on pointers
Juerg Billeter [Sun, 27 Jan 2008 16:21:47 +0000 (16:21 +0000)]
fix critical when using normal member access on pointers

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

* vala/valasemanticanalyzer.vala: fix critical when using normal member
  access on pointers

svn path=/trunk/; revision=916

16 years agofix GValue binding
Juerg Billeter [Sun, 27 Jan 2008 16:13:19 +0000 (16:13 +0000)]
fix GValue binding

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

* vapi/glib-2.0.vapi: fix GValue binding

svn path=/trunk/; revision=915

16 years agobind message output functions
Juerg Billeter [Sun, 27 Jan 2008 12:35:19 +0000 (12:35 +0000)]
bind message output functions

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

* vapi/glib-2.0.vapi: bind message output functions

svn path=/trunk/; revision=914

16 years agoreport error instead of warning when trying to implicitly copy
Juerg Billeter [Sun, 27 Jan 2008 12:23:33 +0000 (12:23 +0000)]
report error instead of warning when trying to implicitly copy

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

* gobject/valaccodegenerator.vala: report error instead of warning when
  trying to implicitly copy non-reference counted object

svn path=/trunk/; revision=913

16 years agofix regression introduced with libgee regarding marshaller generation
Raffaele Sandrini [Sun, 27 Jan 2008 12:19:58 +0000 (12:19 +0000)]
fix regression introduced with libgee regarding marshaller generation

2008-01-27  Raffaele Sandrini  <raffaele@sandrini.ch>

* gobject/valaccodegeneratorsignal.vala: fix regression introduced
  with libgee regarding marshaller generation

svn path=/trunk/; revision=912

16 years agocomplete GList and GSList bindings
Juerg Billeter [Sun, 27 Jan 2008 12:15:29 +0000 (12:15 +0000)]
complete GList and GSList bindings

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

* vapi/glib-2.0.vapi: complete GList and GSList bindings

svn path=/trunk/; revision=911

16 years agofix cheader_filename of GStreamer libraries, patch by Maciej Piechotka,
Juerg Billeter [Sat, 26 Jan 2008 13:03:40 +0000 (13:03 +0000)]
fix cheader_filename of GStreamer libraries, patch by Maciej Piechotka,

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

* vapi/packages/gstreamer-audio-0.10/,
  vapi/packages/gstreamer-fft-0.10/,
  vapi/packages/gstreamer-interfaces-0.10/,
  vapi/packages/gstreamer-netbuffer-0.10/,
  vapi/packages/gstreamer-pbutils-0.10/,
  vapi/packages/gstreamer-riff-0.10/,
  vapi/packages/gstreamer-rtp-0.10/,
  vapi/packages/gstreamer-rtsp-0.10/,
  vapi/packages/gstreamer-sdp-0.10/,
  vapi/packages/gstreamer-tag-0.10/,
  vapi/packages/gstreamer-video-0.10/: fix cheader_filename of GStreamer
  libraries, patch by Maciej Piechotka, fixes bug 510834

* vapi/gstreamer-audio-0.10.vapi, vapi/gstreamer-fft-0.10.vapi,
  vapi/gstreamer-interfaces-0.10.vapi,
  vapi/gstreamer-netbuffer-0.10.vapi, vapi/gstreamer-pbutils-0.10.vapi,
  vapi/gstreamer-riff-0.10.vapi, vapi/gstreamer-rtp-0.10.vapi,
  vapi/gstreamer-rtsp-0.10.vapi, vapi/gstreamer-sdp-0.10.vapi,
  vapi/gstreamer-tag-0.10.vapi, vapi/gstreamer-video-0.10.vapi:
  regenerated

svn path=/trunk/; revision=910

16 years agofix critical on parse error in lambda expression, fixes bug 511887
Juerg Billeter [Sat, 26 Jan 2008 12:10:24 +0000 (12:10 +0000)]
fix critical on parse error in lambda expression, fixes bug 511887

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

* vala/parser.y: fix critical on parse error in lambda expression,
  fixes bug 511887

svn path=/trunk/; revision=909

16 years agofix crash with invalid invocation expressions, fixes bug 511823
Juerg Billeter [Sat, 26 Jan 2008 10:34:24 +0000 (10:34 +0000)]
fix crash with invalid invocation expressions, fixes bug 511823

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

* vala/valasemanticanalyzer.vala: fix crash with invalid invocation
  expressions, fixes bug 511823

svn path=/trunk/; revision=908

16 years agofix crash when using type without copy function, fixes bug 511821
Juerg Billeter [Sat, 26 Jan 2008 10:29:08 +0000 (10:29 +0000)]
fix crash when using type without copy function, fixes bug 511821

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

* gobject/valaccodegenerator.vala: fix crash when using type without
  copy function, fixes bug 511821

svn path=/trunk/; revision=907

16 years agouse ArrayType class
Juerg Billeter [Thu, 24 Jan 2008 15:27:08 +0000 (15:27 +0000)]
use ArrayType class

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

* vala/valaarraytype.vala, vala/valadatatype.vala,
  vala/valainterfacewriter.vala, vala/valanulltype.vala,
  vala/valasemanticanalyzer.vala, vala/valasymbolresolver.vala,
  gobject/valaccodeassignmentbinding.vala,
  gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratorinvocationexpression.vala,
  gobject/valaccodegeneratormethod.vala,
  gobject/valaccodegeneratorsignal.vala: use ArrayType class

svn path=/trunk/; revision=906