platform/upstream/vala.git
16 years agodon't use GRegex to avoid dependency on GLib 2.14
Juerg Billeter [Tue, 4 Mar 2008 20:33:15 +0000 (20:33 +0000)]
don't use GRegex to avoid dependency on GLib 2.14

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

* compiler/valacompiler.vala: don't use GRegex to avoid
  dependency on GLib 2.14

svn path=/trunk/; revision=1101

16 years agofix duplicate local variable, patch by Vlad Grecescu
Juerg Billeter [Tue, 4 Mar 2008 20:24:02 +0000 (20:24 +0000)]
fix duplicate local variable, patch by Vlad Grecescu

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

* vala/valacodecontext.vala: fix duplicate local variable,
  patch by Vlad Grecescu

svn path=/trunk/; revision=1100

16 years agofix GBase64 bindings
Juerg Billeter [Tue, 4 Mar 2008 20:14:54 +0000 (20:14 +0000)]
fix GBase64 bindings

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

* vapi/glib-2.0.vapi: fix GBase64 bindings

svn path=/trunk/; revision=1099

16 years agofix GdkPixdata bindings
Juerg Billeter [Tue, 4 Mar 2008 20:02:52 +0000 (20:02 +0000)]
fix GdkPixdata bindings

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

* vapi/packages/gdk-pixbuf-2.0/: fix GdkPixdata bindings

* vapi/gdk-pixbuf-2.0.vapi: regenerated

svn path=/trunk/; revision=1098

16 years agofix gdk_drawable_get_size, gtk_cell_renderer_get_size,
Juerg Billeter [Sun, 2 Mar 2008 22:24:43 +0000 (22:24 +0000)]
fix gdk_drawable_get_size, gtk_cell_renderer_get_size,

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

* vapi/packages/gdk-2.0/, vapi/packages/gtk+-2.0/: fix
  gdk_drawable_get_size, gtk_cell_renderer_get_size,
  gtk_layout_get_size, and gtk_widget_get_size_request bindings

svn path=/trunk/; revision=1097

16 years agodon't free arguments of ref and out parameters
Juerg Billeter [Sun, 2 Mar 2008 22:10:37 +0000 (22:10 +0000)]
don't free arguments of ref and out parameters

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

* gobject/valaccodegenerator.vala: don't free arguments of ref and
  out parameters

* tests/classes-methods.vala: test ref parameter

svn path=/trunk/; revision=1096

16 years agomake sure we detect failed test cases
Juerg Billeter [Sun, 2 Mar 2008 22:09:04 +0000 (22:09 +0000)]
make sure we detect failed test cases

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

* tests/testrunner.sh: make sure we detect failed test cases

svn path=/trunk/; revision=1095

16 years agofix GtkAboutDialog bindings, patch by Andrea Del Signore
Juerg Billeter [Sun, 2 Mar 2008 16:24:07 +0000 (16:24 +0000)]
fix GtkAboutDialog bindings, patch by Andrea Del Signore

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

* vapi/packages/gtk+-2.0/: fix GtkAboutDialog bindings,
  patch by Andrea Del Signore

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1094

16 years agoPost-release version bump
Juerg Billeter [Sun, 2 Mar 2008 14:30:19 +0000 (14:30 +0000)]
Post-release version bump

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

* configure.ac: Post-release version bump

svn path=/trunk/; revision=1093

16 years agoupdate for 0.1.7 release VALA_0_1_7
Juerg Billeter [Sun, 2 Mar 2008 14:28:30 +0000 (14:28 +0000)]
update for 0.1.7 release

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

* NEWS: update for 0.1.7 release

svn path=/trunk/; revision=1091

16 years agoclean up bzlib vapi, add licence statement
Raffaele Sandrini [Sun, 2 Mar 2008 14:04:44 +0000 (14:04 +0000)]
clean up bzlib vapi, add licence statement

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

* vapi/bzlib.vapi: clean up bzlib vapi, add licence statement

svn path=/trunk/; revision=1090

16 years agosupport errordomain metadata attribute
Juerg Billeter [Sun, 2 Mar 2008 13:11:19 +0000 (13:11 +0000)]
support errordomain metadata attribute

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

* vapigen/valagidlparser.vala: support errordomain metadata attribute

* vapi/packages/gio-2.0/: mark GIOError as errordomain,
  update to glib 2.15.6

* vapi/gio-2.0.vapi: regenerated

svn path=/trunk/; revision=1089

16 years agoadd binding for fflush
Juerg Billeter [Sun, 2 Mar 2008 12:54:49 +0000 (12:54 +0000)]
add binding for fflush

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

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

svn path=/trunk/; revision=1088

16 years agoadd incomplete libbonoboui-2.0 bindings, improve libpanelapplet-2.0
Juerg Billeter [Sun, 2 Mar 2008 12:47:32 +0000 (12:47 +0000)]
add incomplete libbonoboui-2.0 bindings, improve libpanelapplet-2.0

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

* vapi/libbonoboui-2.0.vapi, vapi/libpanelapplet-2.0.deps,
  vapi/libpanelapplet-2.0.vapi: add incomplete libbonoboui-2.0
  bindings, improve libpanelapplet-2.0 bindings,
  patch by Andrea Del Signore

svn path=/trunk/; revision=1087

16 years agovarious fixes
Juerg Billeter [Sun, 2 Mar 2008 12:32:34 +0000 (12:32 +0000)]
various fixes

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

* vapi/zlib.vapi: various fixes

svn path=/trunk/; revision=1086

16 years agoadd goocanvas bindings, patch by Roberto Majadas
Juerg Billeter [Sun, 2 Mar 2008 12:06:40 +0000 (12:06 +0000)]
add goocanvas bindings, patch by Roberto Majadas

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

* vapi/Makefile.am, vapi/goocanvas.deps, vapi/goocanvas.vapi,
  vapi/packages/goocanvas/: add goocanvas bindings,
  patch by Roberto Majadas

svn path=/trunk/; revision=1085

16 years agoallow implicit conversion from 0 to enum and flags types
Juerg Billeter [Sun, 2 Mar 2008 11:55:37 +0000 (11:55 +0000)]
allow implicit conversion from 0 to enum and flags types

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

* vala/valaintegertype.vala: allow implicit conversion from 0 to
  enum and flags types

* tests/enums.vala: test conversion from 0 to enum type

svn path=/trunk/; revision=1084

16 years agoadd bindings for g_get_system_*_dirs
Juerg Billeter [Sun, 2 Mar 2008 11:09:09 +0000 (11:09 +0000)]
add bindings for g_get_system_*_dirs

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

* vapi/glib-2.0.vapi: add bindings for g_get_system_*_dirs

* vala/valacodecontext.vala: use g_get_system_data_dirs to find
  VAPI files, should make valac relocatable on Windows

svn path=/trunk/; revision=1083

16 years agoadd dir separator bindings, fix g_regex_escape_string binding
Juerg Billeter [Sun, 2 Mar 2008 10:55:25 +0000 (10:55 +0000)]
add dir separator bindings, fix g_regex_escape_string binding

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

* vapi/glib-2.0.vapi: add dir separator bindings,
  fix g_regex_escape_string binding

* compiler/valacompiler.vala: port realpath to Windows,
  fixes bug 515210

svn path=/trunk/; revision=1082

16 years agodistribute licenses to be used by vala-gen-project
Juerg Billeter [Sat, 1 Mar 2008 23:23:31 +0000 (23:23 +0000)]
distribute licenses to be used by vala-gen-project

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

* configure.ac, gen-project/Makefile.am, gen-project/licenses/:
  distribute licenses to be used by vala-gen-project

* gen-project/valaprojectgenerator.vala: add GPL3 and LGPL3, copy
  license from $(pkgdatadir)/licenses or /usr/share/common-licenses/
  instead of automake or libtool to ensure we copy the right version,
  based on patch by Andreas Brauchli

svn path=/trunk/; revision=1081

16 years agofix using interface methods as delegates, fixes bug 518109
Juerg Billeter [Sat, 1 Mar 2008 16:39:13 +0000 (16:39 +0000)]
fix using interface methods as delegates, fixes bug 518109

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

* gobject/valaccodegenerator.vala: fix using interface methods as
  delegates, fixes bug 518109

* tests/delegates.vala: test interface methods as delegates

svn path=/trunk/; revision=1080

16 years agodon't register private properties with GObject property system, fixes bug
Juerg Billeter [Sat, 1 Mar 2008 16:21:55 +0000 (16:21 +0000)]
don't register private properties with GObject property system, fixes bug

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

* gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratorclass.vala: don't register private
  properties with GObject property system, fixes bug 519201

svn path=/trunk/; revision=1079

16 years agoadd hildon-fm-2 bindings, based on patch by Levi Bard, fixes bug 511092
Juerg Billeter [Sat, 1 Mar 2008 14:47:41 +0000 (14:47 +0000)]
add hildon-fm-2 bindings, based on patch by Levi Bard, fixes bug 511092

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

* vapi/Makefile.am, vapi/hildon-fm-2.deps, vapi/hildon-fm-2.vapi,
  vapi/packages/hildon-fm-2/: add hildon-fm-2 bindings,
  based on patch by Levi Bard, fixes bug 511092

svn path=/trunk/; revision=1078

16 years agosupport cheader_filename metadata attribute for delegates
Juerg Billeter [Sat, 1 Mar 2008 14:42:39 +0000 (14:42 +0000)]
support cheader_filename metadata attribute for delegates

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

* vapigen/valagidlparser.vala: support cheader_filename metadata
  attribute for delegates

svn path=/trunk/; revision=1077

16 years agoregenerated
Juerg Billeter [Sat, 1 Mar 2008 12:14:14 +0000 (12:14 +0000)]
regenerated

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

* vapi/atk.vapi, vapi/gconf-2.0.vapi, vapi/gdk-2.0.vapi,
  vapi/gdk-pixbuf-2.0.vapi, vapi/gnet-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-controller-0.10.vapi,
  vapi/gstreamer-dataprotocol-0.10.vapi,
  vapi/gstreamer-pbutils-0.10.vapi, vapi/libglade-2.0.vapi,
  vapi/libgnome-menu.vapi, vapi/libgnomeui-2.0.vapi,
  vapi/libnotify.vapi, vapi/liboobs-1.vapi, vapi/libsoup-2.2.vapi,
  vapi/libsoup-2.4.vapi, vapi/libwnck-1.0.vapi, vapi/pango.vapi,
  vapi/pangocairo.vapi, vapi/poppler-glib.vapi: regenerated

svn path=/trunk/; revision=1076

16 years agofix array_length_pos metadata attribute
Juerg Billeter [Sat, 1 Mar 2008 12:01:07 +0000 (12:01 +0000)]
fix array_length_pos metadata attribute

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

* vapigen/valagidlparser.vala: fix array_length_pos metadata
  attribute

* vapi/packages/libgnome-2.0/: fix gnome_program_init binding

* vapi/libgnome-2.0.vapi: regenerated

svn path=/trunk/; revision=1075

16 years agoimprove C code output
Juerg Billeter [Sat, 1 Mar 2008 11:53:14 +0000 (11:53 +0000)]
improve C code output

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

* ccode/valaccodecommaexpression.vala,
  ccode/valaccodeexpressionstatement.vala: improve C code output

svn path=/trunk/; revision=1074

16 years agofix argument dependency in the C code for array and delegate arguments,
Juerg Billeter [Sat, 1 Mar 2008 10:39:41 +0000 (10:39 +0000)]
fix argument dependency in the C code for array and delegate arguments,

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

* gobject/valaccodegeneratorinvocationexpression.vala: fix argument
  dependency in the C code for array and delegate arguments,
  fixes bug 519597

* tests/arrays.vala: test array argument

svn path=/trunk/; revision=1073

16 years agoensure tests don't report errors on stderr
Juerg Billeter [Sat, 1 Mar 2008 10:07:43 +0000 (10:07 +0000)]
ensure tests don't report errors on stderr

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

* tests/testrunner.sh: ensure tests don't report errors on stderr

svn path=/trunk/; revision=1072

16 years agofix error when using type parameter in generic type methods
Juerg Billeter [Fri, 29 Feb 2008 22:45:05 +0000 (22:45 +0000)]
fix error when using type parameter in generic type methods

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

* vala/valasemanticanalyzer.vala: fix error when using type
  parameter in generic type methods

svn path=/trunk/; revision=1071

16 years agosupport methods throwing exceptions and returning generic type parameter
Juerg Billeter [Fri, 29 Feb 2008 22:23:29 +0000 (22:23 +0000)]
support methods throwing exceptions and returning generic type parameter

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

* gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratormethod.vala: support methods throwing
  exceptions and returning generic type parameter

svn path=/trunk/; revision=1070

16 years agouse source_reference for enum values
Juerg Billeter [Fri, 29 Feb 2008 21:55:37 +0000 (21:55 +0000)]
use source_reference for enum values

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

* vala/parser.y, vala/valacodecontext.vala, vala/valaenumvalue.vala:
  use source_reference for enum values

svn path=/trunk/; revision=1069

16 years agofix gtk_menu_popup binding
Juerg Billeter [Fri, 29 Feb 2008 21:45:33 +0000 (21:45 +0000)]
fix gtk_menu_popup binding

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

* vapi/packages/gtk+-2.0/: fix gtk_menu_popup binding

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1068

16 years agosupport binary expressions in default arguments
Juerg Billeter [Fri, 29 Feb 2008 21:41:44 +0000 (21:41 +0000)]
support binary expressions in default arguments

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

* vala/valabinaryexpression.vala, vala/valaunaryexpression.vala:
  support binary expressions in default arguments

svn path=/trunk/; revision=1067

16 years agosupport GLib.Error as signal parameter type, fixes bug 519415
Juerg Billeter [Fri, 29 Feb 2008 20:58:14 +0000 (20:58 +0000)]
support GLib.Error as signal parameter type, fixes bug 519415

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

* gobject/valaccodegeneratorinterface.vala,
  gobject/valaccodegeneratorsignal.vala: support GLib.Error as
  signal parameter type, fixes bug 519415

svn path=/trunk/; revision=1066

16 years agofix try catch statements without thrown exceptions, fixes bug 506016
Juerg Billeter [Fri, 29 Feb 2008 20:46:07 +0000 (20:46 +0000)]
fix try catch statements without thrown exceptions, fixes bug 506016

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

* gobject/valaccodegenerator.vala: fix try catch statements without
  thrown exceptions, fixes bug 506016

* tests/exceptions.vala: test try catch statements without errors

svn path=/trunk/; revision=1065

16 years agosupport throw statements in try statements
Juerg Billeter [Fri, 29 Feb 2008 20:39:19 +0000 (20:39 +0000)]
support throw statements in try statements

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

* gobject/valaccodegenerator.vala: support throw statements in try
  statements

* tests/exceptions.vala: test throw statement in try statement with
  generic catch clause

svn path=/trunk/; revision=1064

16 years agosupport instance delegate fields, fixes bug 519231
Juerg Billeter [Thu, 28 Feb 2008 21:56:33 +0000 (21:56 +0000)]
support instance delegate fields, fixes bug 519231

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

* gobject/valaccodeassignmentbinding.vala,
  gobject/valaccodegenerator.vala: support instance delegate fields,
  fixes bug 519231

svn path=/trunk/; revision=1063

16 years agoset background-color
Juerg Billeter [Thu, 28 Feb 2008 21:36:53 +0000 (21:36 +0000)]
set background-color

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

* doc/vala/default.css: set background-color

svn path=/trunk/; revision=1062

16 years agocombine and rename some tests
Juerg Billeter [Thu, 28 Feb 2008 21:32:18 +0000 (21:32 +0000)]
combine and rename some tests

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

* tests/Makefile.am, tests/delegates.exp, tests/delegates.vala,
  tests/expressions-lambda.exp, tests/expressions-lambda.vala:
  combine and rename some tests

svn path=/trunk/; revision=1061

16 years agofix instance delegate handling for virtual method wrappers
Raffaele Sandrini [Thu, 28 Feb 2008 09:04:31 +0000 (09:04 +0000)]
fix instance delegate handling for virtual method wrappers

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

* gobject/valaccodegeneratormethod.vala: fix instance delegate handling
  for virtual method wrappers

svn path=/trunk/; revision=1060

16 years agodefine NULL, patch by Cyril Soldani, fixes bug 518791
Juerg Billeter [Tue, 26 Feb 2008 21:41:03 +0000 (21:41 +0000)]
define NULL, patch by Cyril Soldani, fixes bug 518791

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

* doc/vala/Makefile.am: define NULL,
  patch by Cyril Soldani, fixes bug 518791

svn path=/trunk/; revision=1059

16 years agofix assigning to delegate fields and variables
Juerg Billeter [Tue, 26 Feb 2008 20:19:24 +0000 (20:19 +0000)]
fix assigning to delegate fields and variables

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

* vala/valadatatype.vala, vala/valanulltype.vala,
  vala/valasemanticanalyzer.vala,
  gobject/valaccodegeneratorinvocationexpression.vala: fix
  assigning to delegate fields and variables

svn path=/trunk/; revision=1058

16 years agoremove non-portable -O commandline option, fixes bug 518660
Juerg Billeter [Tue, 26 Feb 2008 20:04:52 +0000 (20:04 +0000)]
remove non-portable -O commandline option, fixes bug 518660

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

* gobject/valaccodecompiler.vala, compiler/valacompiler.vala:
  remove non-portable -O commandline option, fixes bug 518660

svn path=/trunk/; revision=1057

16 years agofix iterator, patch by Ali Sabil
Juerg Billeter [Tue, 26 Feb 2008 19:59:14 +0000 (19:59 +0000)]
fix iterator, patch by Ali Sabil

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

* gee/hashset.vala: fix iterator, patch by Ali Sabil

svn path=/trunk/; revision=1056

16 years agofix g_test_init binding
Juerg Billeter [Tue, 26 Feb 2008 19:58:09 +0000 (19:58 +0000)]
fix g_test_init binding

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

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

svn path=/trunk/; revision=1055

16 years agocommit missing ChangeLog entry
Raffaele Sandrini [Mon, 25 Feb 2008 21:28:12 +0000 (21:28 +0000)]
commit missing ChangeLog entry

* commit missing ChangeLog entry

svn path=/trunk/; revision=1054

16 years agowrite and process cheader_filename CCode attribute parameter for delegates
Raffaele Sandrini [Mon, 25 Feb 2008 21:17:28 +0000 (21:17 +0000)]
write and process cheader_filename CCode attribute parameter for delegates

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

* vala/valadelegate.vala, vala/valainterfacewriter.vala: write and
  process cheader_filename CCode attribute parameter for delegates
* vapi/gio-2.0.vapi: regenerated

svn path=/trunk/; revision=1053

16 years agoalways write abstract and virtual methods
Juerg Billeter [Sun, 24 Feb 2008 23:50:18 +0000 (23:50 +0000)]
always write abstract and virtual methods

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

* vala/valainterfacewriter.vala: always write abstract and virtual
  methods

svn path=/trunk/; revision=1052

16 years agosupport main function in root namespace, fixes bug 516950
Juerg Billeter [Sun, 24 Feb 2008 15:49:11 +0000 (15:49 +0000)]
support main function in root namespace, fixes bug 516950

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

* vala/valamethod.vala: support main function in root namespace,
  fixes bug 516950

svn path=/trunk/; revision=1051

16 years agofix crash when using delegates as properties, fixes bug 517499
Juerg Billeter [Sun, 24 Feb 2008 15:43:32 +0000 (15:43 +0000)]
fix crash when using delegates as properties, fixes bug 517499

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

* vala/valasemanticanalyzer.vala, gobject/valaccodegenerator.vala:
  fix crash when using delegates as properties, fixes bug 517499

svn path=/trunk/; revision=1050

16 years agogeneralize symbol resolving to fully support inner types
Juerg Billeter [Sun, 24 Feb 2008 15:15:07 +0000 (15:15 +0000)]
generalize symbol resolving to fully support inner types

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

* vala/parser.y, vala/vala.h, vala/valasymbolresolver.vala,
  vala/valaunresolvedsymbol.vala, vala/valaunresolvedtype.vala:
  generalize symbol resolving to fully support inner types

* vala/Makefile.am: update

* vapigen/valagidlparser.vala, vapi/packages/gtk+-2.0/: adapt to
  new symbol resolving

* vapi/atk.vapi, vapi/gdk-2.0.vapi, vapi/glib-2.0.vapi,
  vapi/gnome-desktop-2.0.vapi, vapi/gnome-vfs-2.0.vapi,
  vapi/gstreamer-0.10.vapi, vapi/gtk+-2.0.vapi,
  vapi/libglade-2.0.vapi, vapi/libgnomeui-2.0.vapi,
  vapi/webkit-1.0.vapi: regenerated

svn path=/trunk/; revision=1049

16 years agofix gerror_type handling pull in get_lower_case_cname from Symbol
Raffaele Sandrini [Sun, 24 Feb 2008 14:34:41 +0000 (14:34 +0000)]
fix gerror_type handling pull in get_lower_case_cname from Symbol

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

* gobject/valaccodegenerator.vala: fix gerror_type handling
* vala/valadatatype.vala: pull in get_lower_case_cname from Symbol
* vala/valaerrortype.vala: implement get_lower_case_cname and equals
* vala/valasemanticanalyzer.vala: use ErrorType (null) for generic
  catch clauses

svn path=/trunk/; revision=1048

16 years agoadd bzip2 binding, patch by Maciej Piechotka add bzip2
Raffaele Sandrini [Sun, 24 Feb 2008 13:01:17 +0000 (13:01 +0000)]
add bzip2 binding, patch by Maciej Piechotka add bzip2

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

* vapi/bzlib.vapi: add bzip2 binding, patch by Maciej Piechotka
* vapi/Makefile.am: add bzip2

svn path=/trunk/; revision=1047

16 years agoadd some interface documentation, patch by Johannes Schmid
Raffaele Sandrini [Sun, 24 Feb 2008 11:36:37 +0000 (11:36 +0000)]
add some interface documentation, patch by Johannes Schmid

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

* doc/vala/interfaces.xml: add some interface documentation,
  patch by Johannes Schmid

svn path=/trunk/; revision=1046

16 years agofix Layout.get_size binding, fixes bug 518143 regenerated
Raffaele Sandrini [Sun, 24 Feb 2008 11:20:23 +0000 (11:20 +0000)]
fix Layout.get_size binding, fixes bug 518143 regenerated

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

* vapi/packages/pango/: fix Layout.get_size binding,
  fixes bug 518143
* vapi/pango.vapi: regenerated

svn path=/trunk/; revision=1045

16 years agobe quiet on zero errors and zero, fixes bug 516925
Raffaele Sandrini [Sun, 24 Feb 2008 10:25:46 +0000 (10:25 +0000)]
be quiet on zero errors and zero, fixes bug 516925

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

* compiler/valacompiler.vala: be quiet on zero errors and zero,
  fixes bug 516925

svn path=/trunk/; revision=1044

16 years agofix array lengths with static fields, fixes bug 515211
Raffaele Sandrini [Sun, 24 Feb 2008 09:52:39 +0000 (09:52 +0000)]
fix array lengths with static fields, fixes bug 515211

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

* gobject/valaccodegenerator.vala: fix array lengths with static
  fields, fixes bug 515211

svn path=/trunk/; revision=1043

16 years agosupport inner delegates
Juerg Billeter [Sun, 24 Feb 2008 09:00:50 +0000 (09:00 +0000)]
support inner delegates

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

* vala/parser.y, vala/valaclass.vala, vala/valainterface.vala:
  support inner delegates

svn path=/trunk/; revision=1042

16 years agosupport inner enums, support inner types in interfaces, fixes bug 518258
Juerg Billeter [Sat, 23 Feb 2008 17:58:19 +0000 (17:58 +0000)]
support inner enums, support inner types in interfaces, fixes bug 518258

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

* vala/parser.y, vala/valaclass.vala, vala/valainterface.vala:
  support inner enums, support inner types in interfaces,
  fixes bug 518258

svn path=/trunk/; revision=1041

16 years agoregenerated
Juerg Billeter [Sat, 23 Feb 2008 17:49:14 +0000 (17:49 +0000)]
regenerated

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

* vapi/gconf-2.0.vapi, vapi/gdk-2.0.vapi, vapi/gdk-pixbuf-2.0.vapi,
  vapi/gio-2.0.vapi, vapi/gnet-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-pbutils-0.10.vapi,
  vapi/gtk+-2.0.vapi, vapi/libglade-2.0.vapi, vapi/libgnome-menu.vapi,
  vapi/libgnomeui-2.0.vapi, vapi/libnotify.vap, vapi/libsoup-2.2.vapi,
  vapi/libsoup-2.4.vapi, vapi/poppler-glib.vapi: regenerated

svn path=/trunk/; revision=1040

16 years agofix support for instance delegates
Juerg Billeter [Sat, 23 Feb 2008 17:42:27 +0000 (17:42 +0000)]
fix support for instance delegates

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

* vala/valainterfacewriter.vala: fix support for instance delegates

* vapigen/valagidlparser.vala: support instance delegates in
  bindings generator

svn path=/trunk/; revision=1039

16 years agofix typo
Raffaele Sandrini [Sat, 23 Feb 2008 17:32:28 +0000 (17:32 +0000)]
fix typo

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

* vala/valaerrortype.vala: fix typo

svn path=/trunk/; revision=1038

16 years agofix D-Bus method calls and signal handlers, fixes bug 516194
Juerg Billeter [Sat, 23 Feb 2008 17:23:53 +0000 (17:23 +0000)]
fix D-Bus method calls and signal handlers, fixes bug 516194

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

* vala/valaformalparameter.vala,
  gobject/valaccodeassignmentbinding.vala,
  gobject/valaccodegeneratorinvocationexpression.vala: fix D-Bus
  method calls and signal handlers, fixes bug 516194

svn path=/trunk/; revision=1037

16 years agofix handling of error type parameters in the gobject backend, fix creation
Raffaele Sandrini [Sat, 23 Feb 2008 17:12:14 +0000 (17:12 +0000)]
fix handling of error type parameters in the gobject backend, fix creation

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

* gobject/valaccodegenerator.vala, vala/valaerrortype.vala: fix
  handling of error type parameters in the gobject backend, fix
  creation of GErrors outside of throws statements
* tests/exceptions.vala: test error cast

svn path=/trunk/; revision=1036

16 years agoallow any error type to be cast implicitly to GLib.Error declare
Raffaele Sandrini [Sat, 23 Feb 2008 15:15:46 +0000 (15:15 +0000)]
allow any error type to be cast implicitly to GLib.Error declare

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

* vala/valaclass.vala, vala/valaerrortype.vala,
  vala/valasymbolresolver.vala: allow any error type to be cast
  implicitly to GLib.Error
* vapi/glib-2.0.vapi: declare GLib.Error as ErrorBase, random fixes

svn path=/trunk/; revision=1035

16 years agovisit child nodes of object creation expressions for error types
Juerg Billeter [Sat, 23 Feb 2008 13:20:40 +0000 (13:20 +0000)]
visit child nodes of object creation expressions for error types

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

* vala/valasemanticanalyzer.vala: visit child nodes of object
  creation expressions for error types

svn path=/trunk/; revision=1034

16 years agocheck whether delegate matches method, fixes bug 515617
Juerg Billeter [Sat, 23 Feb 2008 12:50:55 +0000 (12:50 +0000)]
check whether delegate matches method, fixes bug 515617

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

* vala/valamethodtype.vala: check whether delegate matches method,
  fixes bug 515617

svn path=/trunk/; revision=1033

16 years agofix Date.set_time_val call
Juerg Billeter [Sat, 23 Feb 2008 09:23:05 +0000 (09:23 +0000)]
fix Date.set_time_val call

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

* gen-project/valaprojectgenerator.vala: fix Date.set_time_val call

svn path=/trunk/; revision=1032

16 years agosupport no_array_length metadata attribute
Juerg Billeter [Fri, 22 Feb 2008 09:34:55 +0000 (09:34 +0000)]
support no_array_length metadata attribute

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

* vapigen/valagidlparser.vala: support no_array_length metadata
  attribute

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

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1031

16 years agofix gtk_selection_data_set binding, fixes bug 515409
Juerg Billeter [Fri, 22 Feb 2008 09:30:23 +0000 (09:30 +0000)]
fix gtk_selection_data_set binding, fixes bug 515409

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

* vapi/packages/gtk+-2.0/: fix gtk_selection_data_set binding,
  fixes bug 515409

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1030

16 years agoadd g_date_strftime binding, fixes bug 514346
Juerg Billeter [Thu, 21 Feb 2008 21:53:26 +0000 (21:53 +0000)]
add g_date_strftime binding, fixes bug 514346

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

* vapi/glib-2.0.vapi: add g_date_strftime binding, fixes bug 514346

svn path=/trunk/; revision=1029

16 years agosupport delegate parameters in creation methods, fixes bug 513273
Juerg Billeter [Thu, 21 Feb 2008 21:45:32 +0000 (21:45 +0000)]
support delegate parameters in creation methods, fixes bug 513273

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

* vala/valamemorymanager.vala, vala/valaparenthesizedexpression.vala,
  vala/valasemanticanalyzer.vala, vala/valasymbolresolver.vala,
  gobject/valaccodegenerator.vala: support delegate parameters in
  creation methods, fixes bug 513273

svn path=/trunk/; revision=1028

16 years agoupdate to libsoup 2.3.2
Juerg Billeter [Tue, 19 Feb 2008 20:06:09 +0000 (20:06 +0000)]
update to libsoup 2.3.2

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

* vapi/packages/libsoup-2.4/: update to libsoup 2.3.2

* vapi/libsoup-2.4.vapi: regenerated

svn path=/trunk/; revision=1027

16 years agoupdate to gtksourceview 2.1.2
Juerg Billeter [Tue, 19 Feb 2008 19:59:02 +0000 (19:59 +0000)]
update to gtksourceview 2.1.2

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

* vapi/packages/gtksourceview-2.0/: update to gtksourceview 2.1.2

* vapi/gtksourceview-2.0.vapi: regenerated

svn path=/trunk/; revision=1026

16 years agoupdate to libwnck 2.21.91
Jürg Billeter [Tue, 19 Feb 2008 19:57:11 +0000 (19:57 +0000)]
update to libwnck 2.21.91

2008-02-19  Jürg Billeter  <j@bitron.ch>

* vapi/packages/libwnck-1.0/: update to libwnck 2.21.91

svn path=/trunk/; revision=1025

16 years agoupdate to gstreamer 0.10.17
Juerg Billeter [Tue, 19 Feb 2008 19:54:26 +0000 (19:54 +0000)]
update to gstreamer 0.10.17

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

* vapi/packages/gstreamer-0.10/,
  vapi/packages/gstreamer-interfaces-0.10/: update to
  gstreamer 0.10.17

* vapi/gstreamer-0.10.vapi, vapi/gstreamer-interfaces-0.10.vapi:
  regenerated

svn path=/trunk/; revision=1024

16 years agoupdate to glib 2.15.5
Juerg Billeter [Tue, 19 Feb 2008 19:49:38 +0000 (19:49 +0000)]
update to glib 2.15.5

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

* vapi/packages/gio-2.0/, vapi/packages/gio-unix-2.0/: update to
  glib 2.15.5

* vapi/gio-2.0.vapi, vapi/gio-unix-2.0.vapi: regenerated

svn path=/trunk/; revision=1023

16 years agofix pango_layout_get_pixel_size binding
Juerg Billeter [Tue, 19 Feb 2008 19:27:25 +0000 (19:27 +0000)]
fix pango_layout_get_pixel_size binding

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

* vapi/packages/pango/: fix pango_layout_get_pixel_size binding

* vapi/pango.vapi: regenerated

svn path=/trunk/; revision=1022

16 years agochange my email from rasa@gmx.ch to raffaele@sandrini.ch fix pervious
Raffaele Sandrini [Tue, 19 Feb 2008 15:54:49 +0000 (15:54 +0000)]
change my email from rasa@gmx.ch to raffaele@sandrini.ch fix pervious

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

* AUTHORS, ccode/valaccodeelementaccess.vala,
  ccode/valaccodemodifiers.vala, gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratorclass.vala,
  gobject/valaccodegeneratorinterface.vala,
  gobject/valaccodegeneratorinvocationexpression.vala,
  gobject/valaccodegeneratormemberaccess.vala,
  gobject/valaccodegeneratormethod.vala,
  gobject/valaccodegeneratorsignal.vala,
  gobject/valaccodegeneratorsourcefile.vala,
  gobject/valaccodegeneratorstruct.vala,
  gobject/valainterfaceregisterfunction.vala, vala/valaarray.vala,
  vala/valaarraycreationexpression.vala,
  vala/valaattributeprocessor.vala, vala/valacharacterliteral.vala,
  vala/valacodevisitor.vala, vala/valacreationmethod.vala,
  vala/valadatatype.vala, vala/valaelementaccess.vala,
  vala/valaformalparameter.vala, vala/valainterfacewriter.vala,
  vala/valalockable.vala, vala/valalockstatement.vala,
  vala/valamember.vala, vala/valamemorymanager.vala,
  vala/valamethod.vala, vala/valasemanticanalyzer.vala,
  vala/valatypesymbol.vala, vala/valaunresolvedtype.vala,
  vapigen/valagidlparser.vala: change my email from rasa@gmx.ch
  to raffaele@sandrini.ch
* ChangeLog: fix pervious ChangeLog entry

svn path=/trunk/; revision=1021

16 years agoregenerated fix some methods and rename IOErrorEnum to IOError support
Raffaele Sandrini [Tue, 19 Feb 2008 15:40:07 +0000 (15:40 +0000)]
regenerated fix some methods and rename IOErrorEnum to IOError support

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

* vapi/gio-2.0.vapi: regenerated
* vapi/packages/gio-2.0/gio-2.0.metadata: fix some methods and rename
  IOErrorEnum to IOError
* vapigen/valagidlparser.vala: support renaming of enums, check more
  carefully whether an error formal parameter of a function is meant as
  exception

svn path=/trunk/; revision=1020

16 years agoadd libusb bindings, patch by Evan Nemerson
Juerg Billeter [Mon, 18 Feb 2008 22:25:28 +0000 (22:25 +0000)]
add libusb bindings, patch by Evan Nemerson

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

* vapi/Makefile.am, vapi/libusb.vapi: add libusb bindings,
  patch by Evan Nemerson

svn path=/trunk/; revision=1019

16 years agofix g_signal_handlers_* bindings
Juerg Billeter [Mon, 18 Feb 2008 22:22:25 +0000 (22:22 +0000)]
fix g_signal_handlers_* bindings

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

* vapi/glib-2.0.vapi: fix g_signal_handlers_* bindings

svn path=/trunk/; revision=1018

16 years agoconvert FileStream to instance_pos syntax
Juerg Billeter [Mon, 18 Feb 2008 22:12:20 +0000 (22:12 +0000)]
convert FileStream to instance_pos syntax

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

* vapi/glib-2.0.vapi: convert FileStream to instance_pos syntax

svn path=/trunk/; revision=1017

16 years agosupport delegates throwing exceptions, patch by Andrea Del Signore, fixes
Juerg Billeter [Mon, 18 Feb 2008 21:21:05 +0000 (21:21 +0000)]
support delegates throwing exceptions, patch by Andrea Del Signore, fixes

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

* gobject/valaccodegenerator.vala: support delegates throwing
  exceptions, patch by Andrea Del Signore, fixes bug 517024

svn path=/trunk/; revision=1016

16 years agoupdate to use vala-gen-introspect
Juerg Billeter [Mon, 18 Feb 2008 15:18:51 +0000 (15:18 +0000)]
update to use vala-gen-introspect

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

* vapi/packages/gnet-2.0/: update to use vala-gen-introspect

* vapi/gnet-2.0.vapi: regenerated

svn path=/trunk/; revision=1015

16 years agofix GObjectClass binding
Juerg Billeter [Mon, 18 Feb 2008 11:38:59 +0000 (11:38 +0000)]
fix GObjectClass binding

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

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

svn path=/trunk/; revision=1014

16 years agosupport [NoArrayLength] attribute for delegates
Juerg Billeter [Sat, 16 Feb 2008 12:23:55 +0000 (12:23 +0000)]
support [NoArrayLength] attribute for delegates

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

* vala/valadelegate.vala, gobject/valaccodegenerator.vala: support
  [NoArrayLength] attribute for delegates

svn path=/trunk/; revision=1013

16 years agowrite cheader_filename for namespace methods
Juerg Billeter [Fri, 15 Feb 2008 12:29:20 +0000 (12:29 +0000)]
write cheader_filename for namespace methods

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

* vala/valainterfacewriter.vala: write cheader_filename for
  namespace methods

* vapi/: regenerated bindings, fixes bug 514350

svn path=/trunk/; revision=1012

16 years agogenerate casts for property assignments where necessary, fixes bug 511732
Juerg Billeter [Fri, 15 Feb 2008 12:08:48 +0000 (12:08 +0000)]
generate casts for property assignments where necessary, fixes bug 511732

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

* gobject/valaccodeassignmentbinding.vala,
  gobject/valaccodegenerator.vala: generate casts for property
  assignments where necessary, fixes bug 511732

svn path=/trunk/; revision=1011

16 years agofix memory management of parameters with ownership transfer, fixes bug
Juerg Billeter [Fri, 15 Feb 2008 11:26:50 +0000 (11:26 +0000)]
fix memory management of parameters with ownership transfer, fixes bug

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

* vala/valamethod.vala, vala/valasemanticanalyzer.vala,
  gobject/valaccodegenerator.vala: fix memory management of
  parameters with ownership transfer, fixes bug 511642

svn path=/trunk/; revision=1010

16 years agoavoid testing floating point numbers for equality, fixes bug 516259
Juerg Billeter [Thu, 14 Feb 2008 17:03:21 +0000 (17:03 +0000)]
avoid testing floating point numbers for equality, fixes bug 516259

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

* vala/valainterfacewriter.vala: avoid testing floating point
  numbers for equality, fixes bug 516259

svn path=/trunk/; revision=1009

16 years agovisit error domains, fixes bug 515828
Juerg Billeter [Tue, 12 Feb 2008 18:51:16 +0000 (18:51 +0000)]
visit error domains, fixes bug 515828

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

* vala/valanamespace.vala: visit error domains, fixes bug 515828

svn path=/trunk/; revision=1008

16 years agofix gdk_window_get_origin binding fix gtk_spin_button_get_range binding
Juerg Billeter [Tue, 12 Feb 2008 18:42:59 +0000 (18:42 +0000)]
fix gdk_window_get_origin binding fix gtk_spin_button_get_range binding

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

* vapi/packages/gdk-2.0/: fix gdk_window_get_origin binding
* vapi/packages/gtk+-2.0/: fix gtk_spin_button_get_range binding

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

svn path=/trunk/; revision=1007

16 years agofix crash when using prefix increment in element access expression, fixes
Juerg Billeter [Tue, 12 Feb 2008 18:00:47 +0000 (18:00 +0000)]
fix crash when using prefix increment in element access expression, fixes

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

* vala/valaelementaccess.vala: fix crash when using prefix
  increment in element access expression, fixes bug 515733

svn path=/trunk/; revision=1006

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