platform/upstream/vala.git
17 years agouse subtyping, patch by Ed Schouten
Juerg Billeter [Sat, 1 Sep 2007 19:09:01 +0000 (19:09 +0000)]
use subtyping, patch by Ed Schouten

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

* vapi/curses.vala: use subtyping, patch by Ed Schouten

svn path=/trunk/; revision=568

17 years agofix implicit casts to support non-GObject classes, enable run-time checks
Juerg Billeter [Sat, 1 Sep 2007 19:07:10 +0000 (19:07 +0000)]
fix implicit casts to support non-GObject classes, enable run-time checks

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

* vala/valalockable.vala, gobject/valacodegenerator.vala,
  gobject/valacodegeneratorassignment.vala,
  gobject/valacodegeneratorclass.vala,
  gobject/valacodegeneratorinvocationexpression.vala,
  gobject/valacodegeneratormemberaccess.vala,
  gobject/valacodegeneratormethod.vala, compiler/valacompiler.vala:
  fix implicit casts to support non-GObject classes, enable run-time
  checks by default, fixes bug 472446

svn path=/trunk/; revision=567

17 years agomark pango_glyph_item_letter_space.log_attrs and
Mathias Hasselmann [Sat, 1 Sep 2007 13:49:06 +0000 (13:49 +0000)]
mark pango_glyph_item_letter_space.log_attrs and

2007-09-01  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* vapi/packages/pango/pango.metadata: mark
  pango_glyph_item_letter_space.log_attrs and
  pango_get_log_attrs.log_attrs as arrays
* vapi/pango.vala: regenerated

svn path=/trunk/; revision=566

17 years agogtk_init_with_args.entries as array mark PangoLogAttr as value type
Mathias Hasselmann [Sat, 1 Sep 2007 13:23:05 +0000 (13:23 +0000)]
gtk_init_with_args.entries as array mark PangoLogAttr as value type

2007-09-01 Mathias Hasselmann <mathias.hasselmann@gmx.de>

* vapi/packages/gtk+-2.0/gtk+-2.0.metadata:
  gtk_init_with_args.entries as array
* vapi/packages/pango/pango.metadata:
  mark PangoLogAttr as value type
* vapi/gtk+-2.0.vala, vapi/pango.vala:
  regenerated

svn path=/trunk/; revision=565

17 years agolet DataType.is_subtype_of return true if the specified type is the same
Juerg Billeter [Sat, 1 Sep 2007 13:12:28 +0000 (13:12 +0000)]
let DataType.is_subtype_of return true if the specified type is the same

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

* vala/valaclass.vala, vala/valadatatype.vala, vala/valainterface.vala,
  vala/valasemanticanalyzer.vala, gobject/valacodegenerator.vala,
  gobject/valacodegeneratorassignment.vala: let DataType.is_subtype_of
  return true if the specified type is the same

svn path=/trunk/; revision=564

17 years agoadd introduction to data types
Juerg Billeter [Sat, 1 Sep 2007 12:59:08 +0000 (12:59 +0000)]
add introduction to data types

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

* doc/vala/types.xml: add introduction to data types

svn path=/trunk/; revision=563

17 years agovisit finally body, fixes bug 467919
Juerg Billeter [Sat, 1 Sep 2007 12:09:48 +0000 (12:09 +0000)]
visit finally body, fixes bug 467919

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

* vala/valatrystatement.vala: visit finally body, fixes bug 467919

svn path=/trunk/; revision=562

17 years agoadd xsltproc as optional dependency add initial structure for the Vala
Juerg Billeter [Sat, 1 Sep 2007 11:44:15 +0000 (11:44 +0000)]
add xsltproc as optional dependency add initial structure for the Vala

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

* configure.ac: add xsltproc as optional dependency
* doc/vala/: add initial structure for the Vala Reference Manual, will
  be built and installed if xsltproc is available
* tests/hello.exp, tests/hello.vala: add hello world test case
* doc/Makefile.am, tests/Makefile.am: updated

svn path=/trunk/; revision=561

17 years agocheck arguments of methods with ellipsis parameters
Juerg Billeter [Sat, 1 Sep 2007 05:58:23 +0000 (05:58 +0000)]
check arguments of methods with ellipsis parameters

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

* vala/valasemanticanalyzer.vala: check arguments of methods with
  ellipsis parameters

svn path=/trunk/; revision=560

17 years agoimprove error reporting for expression, while, and for statements and for
Juerg Billeter [Fri, 31 Aug 2007 21:23:58 +0000 (21:23 +0000)]
improve error reporting for expression, while, and for statements and for

2007-08-31  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: improve error reporting for
  expression, while, and for statements and for parenthesized
  expressions

svn path=/trunk/; revision=559

17 years agoPost-release version bump
Juerg Billeter [Fri, 31 Aug 2007 12:40:19 +0000 (12:40 +0000)]
Post-release version bump

2007-08-31  Juerg Billeter  <j@bitron.ch>

* configure.ac: Post-release version bump

svn path=/trunk/; revision=558

17 years agoupdate for 0.1.3 release VALA_0_1_3
Juerg Billeter [Fri, 31 Aug 2007 12:38:29 +0000 (12:38 +0000)]
update for 0.1.3 release

2007-08-31  Juerg Billeter  <j@bitron.ch>

* NEWS: update for 0.1.3 release

svn path=/trunk/; revision=556

17 years agoonly install man pages for vapigen and gidlgen if vapigen is enabled
Juerg Billeter [Fri, 31 Aug 2007 12:33:03 +0000 (12:33 +0000)]
only install man pages for vapigen and gidlgen if vapigen is enabled

2007-08-31  Juerg Billeter  <j@bitron.ch>

* doc/Makefile.am: only install man pages for vapigen and gidlgen if
  vapigen is enabled

svn path=/trunk/; revision=555

17 years agofix binding provider support
Juerg Billeter [Fri, 31 Aug 2007 12:11:03 +0000 (12:11 +0000)]
fix binding provider support

2007-08-31  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: fix binding provider support

svn path=/trunk/; revision=554

17 years agonumber temp variables for each function separately, don't use reserved __
Juerg Billeter [Fri, 31 Aug 2007 11:35:44 +0000 (11:35 +0000)]
number temp variables for each function separately, don't use reserved __

2007-08-31  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegenerator.vala, gobject/valacodegeneratormethod.vala:
  number temp variables for each function separately, don't use reserved
  __ prefix

svn path=/trunk/; revision=553

17 years agosimplify struct variable initialization, remove unnecessary warning
Juerg Billeter [Fri, 31 Aug 2007 11:21:44 +0000 (11:21 +0000)]
simplify struct variable initialization, remove unnecessary warning

2007-08-31  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegenerator.vala: simplify struct variable
  initialization, remove unnecessary warning

svn path=/trunk/; revision=552

17 years agosupport base_class attribute
Juerg Billeter [Fri, 31 Aug 2007 10:08:59 +0000 (10:08 +0000)]
support base_class attribute

2007-08-31  Juerg Billeter  <j@bitron.ch>

* vapigen/valagidlparser.vala: support base_class attribute

* vapi/packages/gdk-2.0/gdk-2.0.metadata, vapi/gdk-2.0.vala: set
  base_class of GdkPixmap, fixes bug 463816

svn path=/trunk/; revision=551

17 years agouse G_TYPE_POINTER for not registered classes, add has_type_id attribute
Juerg Billeter [Fri, 31 Aug 2007 09:44:28 +0000 (09:44 +0000)]
use G_TYPE_POINTER for not registered classes, add has_type_id attribute

2007-08-31  Juerg Billeter  <j@bitron.ch>

* vala/valaclass.vala, vala/valastruct.vala: use G_TYPE_POINTER for
  not registered classes, add has_type_id attribute

* vapigen/valagidlparser.vala: use GLib.Boxed as base type of boxed
  types

* vapi/glib-2.0.vala: use has_type_id attribute and GLib.Boxed

* vapi/gconf-2.0.vala, vapi/gdk-2.0.vala, vapi/gnome-desktop-2.0.vala,
  vapi/gnome-vfs-2.0.vala, vapi/gstreamer-0.10.vala, vapi/gtk+-2.0.vala,
  vapi/libglade-2.0.vala, vapi/libgnome-2.0.vala, vapi/libsoup-2.2.vala,
  vapi/pango.vala, vapi/poppler-glib.vala: regenerated

svn path=/trunk/; revision=550

17 years agohide internal API and specify correct header files regenerated
Mathias Hasselmann [Thu, 30 Aug 2007 21:56:59 +0000 (21:56 +0000)]
hide internal API and specify correct header files regenerated

2007-08-30 Mathias Hasselmann <mathias.hasselmann@gmx.de>

* vapi/packages/gtksourceview-2.0/gtksourceview-2.0.metadata:
  hide internal API and specify correct header files
* vapi/gtksourceview-2.0.vala: regenerated

svn path=/trunk/; revision=549

17 years agodon't NULL-terminate value-type arrays
Juerg Billeter [Thu, 30 Aug 2007 21:39:22 +0000 (21:39 +0000)]
don't NULL-terminate value-type arrays

2007-08-30  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegenerator.vala: don't NULL-terminate value-type arrays

svn path=/trunk/; revision=548

17 years agosupport prototype access to allow accessing instance members without an
Juerg Billeter [Thu, 30 Aug 2007 19:54:32 +0000 (19:54 +0000)]
support prototype access to allow accessing instance members without an

2007-08-30  Juerg Billeter  <j@bitron.ch>

* vala/valamemberaccess.vala, vala/valasemanticanalyzer.vala: support
  prototype access to allow accessing instance members without an
  actual instance, fixes bug 471778

svn path=/trunk/; revision=547

17 years agorename MemberAccessibility to SymbolAccessibility and move its declaration
Juerg Billeter [Thu, 30 Aug 2007 19:02:06 +0000 (19:02 +0000)]
rename MemberAccessibility to SymbolAccessibility and move its declaration

2007-08-30  Juerg Billeter  <j@bitron.ch>

* vala/valamemberaccessibility.vala: rename MemberAccessibility to
  SymbolAccessibility and move its declaration to vala/valasymbol.vala
* vala/parser.y: store accessibility modifier for properties and follow
  the renames caused by the accessibility releated refactoring, cast
  the Struct allocated in struct_declaration to silence gcc
* vala/Makefile.am: remove valamemberaccessibility.* files
* vala/valasymbol.vala: add access property found in serveral
  sub-classes and add is_internal_symbol () method, which considers
  parent symbols to determinate if a symbol belongs to internal API
* gobject/*, vala/*, vapigen/valagidlparser.vala:
  move the access property/field found in several Symbol derived
  classes to the Symbol class where it belongs and rename the
  MemberAccessibility enumeration to SymbolAccessibility

* vala/valaformalparameter.vala, vala/valanamespace.vala: set access
  to public on initialization, as there is no accessibility modifier
* gobject/valacodegenerator.vala: do not add internal symbols to
  header_type_member_declarations
* vala/valasemanticanalyzer.vala: do not add HEADER_SHALLOW symbol
  dependencies for internal symbols
* gobject/valacodegeneratormethod.vala: consider all anchestors,
  not just the parent for visibility

patch by Mathias Hasselmann, fixes bug 471475

svn path=/trunk/; revision=546

17 years agoremove support for reference-type structs, improve support for non-GObject
Juerg Billeter [Thu, 30 Aug 2007 18:05:37 +0000 (18:05 +0000)]
remove support for reference-type structs, improve support for non-GObject

2007-08-30  Juerg Billeter  <j@bitron.ch>

* vala/valaclass.vala, vala/valainterfacewriter.vala,
  vala/valastruct.vala: remove support for reference-type structs,
  improve support for non-GObject classes

* vapigen/valagidlparser.vala, vapi/cairo.vala, vapi/curses.vala,
  vapi/dbus-glib-1.vala, vapi/enchant.vala, vapi/hal.vala,
  vapi/libxml-2.0.vala, vapi/sqlite3.vala,
  vapi/packages/libsoup-2.2/libsoup-2.2-custom.vala,
  vapi/packages/pango/pango-custom.vala: replace reference-type structs
  by classes

* vapi/atk.vala, vapi/gconf-2.0.vala, vapi/gdk-2.0.vala,
  vapi/gio-standalone.vala, vapi/gnome-desktop-2.0.vala,
  vapi/gnome-vfs-2.0.vala, vapi/gstreamer-0.10.vala, vapi/gtk+-2.0.vala,
  vapi/gtksourceview-2.0.vala, vapi/hildon-1.vala,
  vapi/libglade-2.0.vala, vapi/libgnome-2.0.vala,
  vapi/libgnomeui-2.0.vala, vapi/libsoup-2.2.vala,
  vapi/libwnck-1.0.vala, vapi/pango.vala, vapi/poppler-glib.vala,
  vapi/vte.vala: regenerated

svn path=/trunk/; revision=545

17 years agofix internal warnings on syntax errors
Juerg Billeter [Thu, 30 Aug 2007 16:25:05 +0000 (16:25 +0000)]
fix internal warnings on syntax errors

2007-08-30  Juerg Billeter  <j@bitron.ch>

* vala/parser.y: fix internal warnings on syntax errors

svn path=/trunk/; revision=544

17 years agoimprove error reporting for parenthesized expressions
Juerg Billeter [Thu, 30 Aug 2007 16:07:18 +0000 (16:07 +0000)]
improve error reporting for parenthesized expressions

2007-08-30  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: improve error reporting for
  parenthesized expressions

svn path=/trunk/; revision=543

17 years agoimprove error reporting for foreach statements
Juerg Billeter [Thu, 30 Aug 2007 15:47:11 +0000 (15:47 +0000)]
improve error reporting for foreach statements

2007-08-30  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: improve error reporting for foreach
  statements

svn path=/trunk/; revision=542

17 years agoremove clutter bindings, will be moved to clutter svn
Juerg Billeter [Thu, 30 Aug 2007 15:18:47 +0000 (15:18 +0000)]
remove clutter bindings, will be moved to clutter svn

2007-08-30  Juerg Billeter  <j@bitron.ch>

* vapi/Makefile.am, vapi/clutter-0.4.deps, vapi/clutter-0.4.vala,
  vapi/packages/clutter-0.4/: remove clutter bindings, will be moved
  to clutter svn

svn path=/trunk/; revision=541

17 years agoreplace reference-type structs by classes, requires r539 to build
Juerg Billeter [Thu, 30 Aug 2007 14:54:51 +0000 (14:54 +0000)]
replace reference-type structs by classes, requires r539 to build

2007-08-30  Juerg Billeter  <j@bitron.ch>

* gee/hashmap.vala, gee/hashset.vala, vapi/glib-2.0.vala,
  gobject-introspection/gidl.vala: replace reference-type structs by
  classes, requires r539 to build

svn path=/trunk/; revision=540

17 years agofix object creation for non-GObject classes without creation method
Juerg Billeter [Thu, 30 Aug 2007 14:47:36 +0000 (14:47 +0000)]
fix object creation for non-GObject classes without creation method

2007-08-30  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegenerator.vala: fix object creation for non-GObject
  classes without creation method

svn path=/trunk/; revision=539

17 years agoremove obsolete ctype attribute
Juerg Billeter [Thu, 30 Aug 2007 14:19:05 +0000 (14:19 +0000)]
remove obsolete ctype attribute

2007-08-30  Juerg Billeter  <j@bitron.ch>

* vala/valaclass.vala, gobject/valacodegenerator.vala,
  gobject/valacodegeneratorinterface.vala,
  gobject/valacodegeneratormethod.vala, vapi/glib-2.0.vala: remove
  obsolete ctype attribute

svn path=/trunk/; revision=538

17 years agosupport classes without base class
Juerg Billeter [Thu, 30 Aug 2007 13:45:05 +0000 (13:45 +0000)]
support classes without base class

2007-08-30  Juerg Billeter  <j@bitron.ch>

* vala/valaclass.vala, vala/valasemanticanalyzer.vala,
  gobject/valacodegenerator.vala, gobject/valacodegeneratorclass.vala,
  gobject/valacodegeneratormethod.vala, vapi/glib-2.0.vala: support
  classes without base class

svn path=/trunk/; revision=537

17 years agodon't implicitly derive from GLib.Object in preparation for a more
Juerg Billeter [Thu, 30 Aug 2007 12:33:40 +0000 (12:33 +0000)]
don't implicitly derive from GLib.Object in preparation for a more

2007-08-30  Juerg Billeter  <j@bitron.ch>

* vala/valasymbolresolver.vala, vala/valasemanticanalyzer.vala,
  gobject/valacodegenerator.vala, gobject/valacodegeneratorclass.vala:
  don't implicitly derive from GLib.Object in preparation for a more
  consistent type system

* gee/arraylist.vala, gee/hashmap.vala, gee/hashset.vala,
  gee/iterable.vala, gee/iterator.vala, gee/list.vala, gee/map.vala,
  gee/readonlycollection.vala, gee/readonlylist.vala,
  gee/readonlymap.vala, gee/readonlyset.vala,
  vala/valabindingprovider.vala, vala/valacodecontext.vala,
  vala/valacodenode.vala, vala/valacodevisitor.vala,
  vala/valascope.vala, vala/valasourcefile.vala,
  vala/valasourcefilecycle.vala, vala/valasourcereference.vala,
  ccode/valaccodenode.vala, ccode/valaccodewriter.vala,
  gobject/valaccodecompiler.vala, gobject/valadbusbindingprovider.vala,
  gobject/valatyperegisterfunction.vala, compiler/valacompiler.vala,
  tests/, vapigen/valavapigen.vala: derive all classes from GLib.Object

svn path=/trunk/; revision=536

17 years agoadd missing file
Juerg Billeter [Thu, 30 Aug 2007 12:31:30 +0000 (12:31 +0000)]
add missing file

2007-08-30  Juerg Billeter  <j@bitron.ch>

* vapi/libnotify.deps: add missing file

svn path=/trunk/; revision=535

17 years agoadd libnotify bindings, patch by Nicolas Christener and Roland Hostettler
Juerg Billeter [Wed, 29 Aug 2007 20:39:02 +0000 (20:39 +0000)]
add libnotify bindings, patch by Nicolas Christener and Roland Hostettler

2007-08-29  Juerg Billeter  <j@bitron.ch>

* vapi/Makefile.am, vapi/libnotify.valam, vapi/packages/libnotify/: add
  libnotify bindings, patch by Nicolas Christener and Roland Hostettler

svn path=/trunk/; revision=534

17 years agoadd missing type_id information
Juerg Billeter [Wed, 29 Aug 2007 18:47:42 +0000 (18:47 +0000)]
add missing type_id information

2007-08-29  Juerg Billeter  <j@bitron.ch>

* vapi/glib-2.0.vala: add missing type_id information

svn path=/trunk/; revision=533

17 years agoadd signal to keyword list
Juerg Billeter [Wed, 29 Aug 2007 14:45:42 +0000 (14:45 +0000)]
add signal to keyword list

2007-08-29  Juerg Billeter  <j@bitron.ch>

* vala/valainterfacewriter.vala: add signal to keyword list

* vapi/libglade-2.0.vala: regenerated

svn path=/trunk/; revision=532

17 years agoreport too short type names, based on patch by Ed Schouten, fixes bug
Juerg Billeter [Wed, 29 Aug 2007 14:09:40 +0000 (14:09 +0000)]
report too short type names, based on patch by Ed Schouten, fixes bug

2007-08-29  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegeneratorclass.vala,
  gobject/valacodegeneratorinterface.vala: report too short type names,
  based on patch by Ed Schouten, fixes bug 471253

svn path=/trunk/; revision=531

17 years agoallow property accessors in arbitrary order, fixes bug 470233
Juerg Billeter [Wed, 29 Aug 2007 13:56:53 +0000 (13:56 +0000)]
allow property accessors in arbitrary order, fixes bug 470233

2007-08-29  Juerg Billeter  <j@bitron.ch>

* vala/parser.y: allow property accessors in arbitrary order,
  fixes bug 470233

svn path=/trunk/; revision=530

17 years agoimprove error reporting in invocation expressions
Juerg Billeter [Wed, 29 Aug 2007 13:31:43 +0000 (13:31 +0000)]
improve error reporting in invocation expressions

2007-08-29  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: improve error reporting in invocation
  expressions

svn path=/trunk/; revision=529

17 years agodeny access to instance members from static methods, improve error
Juerg Billeter [Wed, 29 Aug 2007 13:04:23 +0000 (13:04 +0000)]
deny access to instance members from static methods, improve error

2007-08-29  Juerg Billeter  <j@bitron.ch>

* vala/valaclass.vala, vala/valasemanticanalyzer.vala,
  gobject/valacodegeneratorassignment.vala: deny access to instance
  members from static methods, improve error reporting

svn path=/trunk/; revision=528

17 years agofix internal warnings on syntax errors, fixes bug 471226
Juerg Billeter [Wed, 29 Aug 2007 11:26:07 +0000 (11:26 +0000)]
fix internal warnings on syntax errors, fixes bug 471226

2007-08-29  Juerg Billeter  <j@bitron.ch>

* vala/parser.y: fix internal warnings on syntax errors,
  fixes bug 471226

svn path=/trunk/; revision=527

17 years agoadd missing init/shutdown methods
Juerg Billeter [Wed, 29 Aug 2007 10:14:25 +0000 (10:14 +0000)]
add missing init/shutdown methods

2007-08-29  Juerg Billeter  <j@bitron.ch>

* vapi/gnome-vfs-2.0.vala,
  vapi/packages/gnome-vfs-2.0/gnome-vfs-2.0-custom.vala: add missing
  init/shutdown methods

svn path=/trunk/; revision=526

17 years agofix warnings on invalid code
Juerg Billeter [Wed, 29 Aug 2007 10:08:43 +0000 (10:08 +0000)]
fix warnings on invalid code

2007-08-29  Juerg Billeter  <j@bitron.ch>

* vala/valasymbolresolver.vala: fix warnings on invalid code

svn path=/trunk/; revision=525

17 years agofix warnings on invalid code
Juerg Billeter [Wed, 29 Aug 2007 09:42:37 +0000 (09:42 +0000)]
fix warnings on invalid code

2007-08-29  Juerg Billeter  <j@bitron.ch>

* gobject/valadbusbindingprovider.vala: fix warnings on invalid code

svn path=/trunk/; revision=524

17 years agoensure that the error domains match when comparing two methods for
Juerg Billeter [Tue, 28 Aug 2007 19:05:29 +0000 (19:05 +0000)]
ensure that the error domains match when comparing two methods for

2007-08-28  Juerg Billeter  <j@bitron.ch>

* vala/valamethod.vala: ensure that the error domains match when
  comparing two methods for equality, fixes bug 465123

svn path=/trunk/; revision=523

17 years agogenerate warning about invalid property ids, fixes bug 463668
Juerg Billeter [Tue, 28 Aug 2007 18:53:29 +0000 (18:53 +0000)]
generate warning about invalid property ids, fixes bug 463668

2007-08-28  Juerg Billeter  <j@bitron.ch>

* ccode/valaccodeswitchstatement.vala,
  gobject/valacodegeneratorclass.vala: generate warning about invalid
  property ids, fixes bug 463668

svn path=/trunk/; revision=522

17 years agoavoid crash on missing copy function, fixes bug 471063.
Mathias Hasselmann [Tue, 28 Aug 2007 15:17:45 +0000 (15:17 +0000)]
avoid crash on missing copy function, fixes bug 471063.

2007-08-28  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* gobject/valacodegenerator.vala: avoid crash on missing copy
function, fixes bug 471063.

svn path=/trunk/; revision=520

17 years agodoc: add vapigen and gidlgen manual pages
Marc-Andre Lureau [Tue, 28 Aug 2007 15:13:08 +0000 (15:13 +0000)]
doc: add vapigen and gidlgen manual pages

svn path=/trunk/; revision=519

17 years agoupdate format as requested on desktop-devel
Juerg Billeter [Tue, 28 Aug 2007 14:36:23 +0000 (14:36 +0000)]
update format as requested on desktop-devel

2007-08-28  Juerg Billeter  <j@bitron.ch>

* MAINTAINERS: update format as requested on desktop-devel

svn path=/trunk/; revision=518

17 years agosupport custom field cname in generated VAPI file
Juerg Billeter [Tue, 28 Aug 2007 14:22:57 +0000 (14:22 +0000)]
support custom field cname in generated VAPI file

2007-08-28  Juerg Billeter  <j@bitron.ch>

* vala/valafield.vala, vala/valainterfacewriter.vala: support custom
  field cname in generated VAPI file

* vapigen/valagidlparser.vala: add mode_t support

* vapi/glib-2.0.vala, vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala: add
  some required stubs

* vapi/gconf-2.0.vala, vapi/packages/gconf-2.0/: add GConf bindings

* vapi/gnome-vfs-2.0.vala, vapi/packages/gnome-vfs-2.0/: add GnomeVFS
  bindings

* vapi/libgnome-2.0.vala, vapi/packages/libgnome-2.0/: add libgnome
  bindings

* vapi/libgnomeui-2.0.deps, vapi/libgnomeui-2.0.vala,
  vapi/packages/libgnomeui-2.0/: add libgnomeui bindings

* vapi/libpanelapplet-2.0.deps, vapi/libpanelapplet-2.0.vala: add Panel
  Applet bindings

* vapi/atk.vala, vapi/clutter-0.4.vala, vapi/gdk-2.0.vala,
  vapi/gio-standalone.vala, vapi/gnome-desktop-2.0.vala,
  vapi/gstreamer-0.10.vala, vapi/gtk+-2.0.vala,
  vapi/gtksourceview-2.0.vala, vapi/hildon-1.vala,
  vapi/libglade-2.0.vala, vapi/libsoup-2.2.vala, vapi/libwnck-1.0.vala,
  vapi/pango.vala, vapi/poppler-glib.vala, vapi/vte.vala: regenerated

* vapi/Makefile.am: updated

svn path=/trunk/; revision=517

17 years agoadd support for partial structs, patch by Mathias Hasselmann
Juerg Billeter [Tue, 28 Aug 2007 14:04:00 +0000 (14:04 +0000)]
add support for partial structs, patch by Mathias Hasselmann

2007-08-28  Juerg Billeter  <j@bitron.ch>

* vala/parser.y: add support for partial structs,
  patch by Mathias Hasselmann

* vapigen/valagidlparser.vala: support partial structs and classes in
  -custom.vala files, fixes bug 470855

* vapi/gtk+-2.0.vala, vapi/packages/pango/pango-custom.vala,
  vapi/pango.vala: updated

svn path=/trunk/; revision=516

17 years agomove math functions to GLib VAPI, remove math.vala
Juerg Billeter [Tue, 28 Aug 2007 07:49:23 +0000 (07:49 +0000)]
move math functions to GLib VAPI, remove math.vala

2007-08-28  Juerg Billeter  <j@bitron.ch>

* vapi/Makefile.am, vapi/glib-2.0.vala, vapi/math.vala: move math
  functions to GLib VAPI, remove math.vala

svn path=/trunk/; revision=515

17 years agosupport non-GObject classes, will replace reference-type structs
Juerg Billeter [Tue, 28 Aug 2007 07:22:02 +0000 (07:22 +0000)]
support non-GObject classes, will replace reference-type structs

2007-08-28  Juerg Billeter  <j@bitron.ch>

* vala/valaclass.vala, vala/valaenum.vala,
  gobject/valacodegenerator.vala, gobject/valacodegeneratorclass.vala,
  gobject/valacodegeneratorinterface.vala,
  gobject/valacodegeneratormethod.vala: support non-GObject classes,
  will replace reference-type structs

svn path=/trunk/; revision=514

17 years agoreintroduce GtkWidgetFlags API
Mathias Hasselmann [Mon, 27 Aug 2007 21:37:29 +0000 (21:37 +0000)]
reintroduce GtkWidgetFlags API

2007-08-27  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala,
vapi/gtk+-2.0.vala: reintroduce GtkWidgetFlags API

svn path=/trunk/; revision=513

17 years agofix signature of Pango.Language.to_string
Mathias Hasselmann [Mon, 27 Aug 2007 21:37:23 +0000 (21:37 +0000)]
fix signature of Pango.Language.to_string

2007-08-27  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* vapi/packages/pango/pango-custom.vala:
fix signature of Pango.Language.to_string

svn path=/trunk/; revision=512

17 years agoinclude type-name in to_string result implement to_string method, fixes
Mathias Hasselmann [Mon, 27 Aug 2007 19:41:15 +0000 (19:41 +0000)]
include type-name in to_string result implement to_string method, fixes

2007-08-27  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* vala/valacodenode.vala: include type-name in to_string result
* vala/valaunaryexpression.vala: implement to_string method,
       fixes bug 470778

svn path=/trunk/; revision=511

17 years agoupdate to Clutter 0.4.1, patch by Alberto Ruiz, fixes bug 470763
Juerg Billeter [Mon, 27 Aug 2007 19:16:53 +0000 (19:16 +0000)]
update to Clutter 0.4.1, patch by Alberto Ruiz, fixes bug 470763

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

* vapi/Makefile.am, vapi/clutter-0.3.deps, vapi/clutter-0.3.vala,
  vapi/clutter-0.4.deps, vapi/clutter-0.4.vala,
  vapi/packages/clutter-0.3/, vapi/packages/clutter-0.4/: update to
  Clutter 0.4.1, patch by Alberto Ruiz, fixes bug 470763

svn path=/trunk/; revision=510

17 years agouse .deps files to satisfy dependencies, patch by Alberto Ruiz, fixes bug
Juerg Billeter [Mon, 27 Aug 2007 19:04:22 +0000 (19:04 +0000)]
use .deps files to satisfy dependencies, patch by Alberto Ruiz, fixes bug

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

* vapigen/valavapigen.vala: use .deps files to satisfy dependencies,
  patch by Alberto Ruiz, fixes bug 470756

* vapi/packages/clutter-0.3/clutter-0.3.deps,
  vapi/packages/gnome-desktop-2.0/gnome-desktop-2.0.deps,
  vapi/packages/gtksourceview-2.0/gtksourceview-2.0.deps,
  vapi/packages/libglade-2.0/libglade-2.0.deps,
  vapi/packages/libwnck-1.0/libwnck-1.0.deps: add missing dependencies

svn path=/trunk/; revision=509

17 years agoadd pango_layout_to_string. TODO: support partial classes in vapigen.
Mathias Hasselmann [Mon, 27 Aug 2007 18:35:09 +0000 (18:35 +0000)]
add pango_layout_to_string. TODO: support partial classes in vapigen.

2007-08-27  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* vapi/packages/pango/pango-custom.vala, vapi/pango.vala:
add pango_layout_to_string. TODO: support partial classes in vapigen.

svn path=/trunk/; revision=508

17 years agochange type of string length paramenters from int to long to be compliant
Mathias Hasselmann [Mon, 27 Aug 2007 18:35:05 +0000 (18:35 +0000)]
change type of string length paramenters from int to long to be compliant

2007-08-27  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* vapi/enchant.vala: change type of string length paramenters from int
to long to be compliant with GLib.string.size ().

svn path=/trunk/; revision=507

17 years agoignore enum values to avoid some pattern matching issues
Juerg Billeter [Mon, 27 Aug 2007 16:36:37 +0000 (16:36 +0000)]
ignore enum values to avoid some pattern matching issues

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

* vapigen/gidlgen/gapi2xml.pl: ignore enum values to avoid some pattern
  matching issues

* vapi/Makefile.am, vapi/packages/poppler-glib/, vapi/poppler-glib.deps,
  vapi/poppler-glib.vala: add poppler bindings, patch by Alberto Ruiz,
  fixes bug 468990

* vapi/packages/atk/atk.gidl, vapi/packages/gdk-2.0/gdk-2.0.gidl,
  vapi/packages/gnome-desktop-2.0/gnome-desktop-2.0.gidl,
  vapi/packages/gstreamer-0.10/gstreamer-0.10.gidl,
  vapi/packages/gtk+-2.0/gtk+-2.0.gidl,
  vapi/packages/libsoup-2.2/libsoup-2.2.gidl,
  vapi/packages/libwnck-1.0/libwnck-1.0.gidl,
  vapi/packages/pango/pango.gidl: regenerated

svn path=/trunk/; revision=506

17 years agoadd curses bindings, patch by Ed Schouten
Juerg Billeter [Mon, 27 Aug 2007 14:53:16 +0000 (14:53 +0000)]
add curses bindings, patch by Ed Schouten

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

* vapi/Makefile.am, vapi/curses.vala: add curses bindings,
  patch by Ed Schouten

svn path=/trunk/; revision=505

17 years agogenerate static get_type functions for non-public classes and interfaces,
Juerg Billeter [Mon, 27 Aug 2007 14:46:38 +0000 (14:46 +0000)]
generate static get_type functions for non-public classes and interfaces,

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

* gobject/valaclassregisterfunction.vala,
  gobject/valacodegeneratorinterface.vala,
  gobject/valainterfaceregisterfunction.vala,
  gobject/valatyperegisterfunction.vala: generate static get_type
  functions for non-public classes and interfaces,
  patch by Ed Schouten, fixes bug 470428

svn path=/trunk/; revision=504

17 years agouse exceptions instead of GError parameters for generated bindings, based
Juerg Billeter [Mon, 27 Aug 2007 13:51:41 +0000 (13:51 +0000)]
use exceptions instead of GError parameters for generated bindings, based

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

* vala/valacreationmethod.vala, gobject/valacodegenerator.vala,
  vapigen/valagidlparser.vala: use exceptions instead of GError
  parameters for generated bindings, based on patch by Alberto Ruiz,
  fixes bug 470432

* vapi/clutter-0.3.vala, vapi/gdk-2.0.vala, vapi/gio-standalone.vala,
  vapi/gnome-desktop-2.0.vala, vapi/gstreamer-0.10.vala,
  vapi/gtk+-2.0.vala, vapi/hildon-1.vala, vapi/pango.vala: regenerated

svn path=/trunk/; revision=503

17 years agofix generated string out and string array parameters add g_listenv
Juerg Billeter [Fri, 24 Aug 2007 18:23:29 +0000 (18:23 +0000)]
fix generated string out and string array parameters add g_listenv

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

* vapigen/valagidlparser.vala, vapi/gdk-2.0.vala,
  vapi/gio-standalone.vala,
  vapi/gnome-desktop-2.0.vala, vapi/gstreamer-0.10.vala,
  vapi/gtk+-2.0.vala, vapi/libsoup-2.2.vala,
  vapi/packages/gdk-2.0/gdk-2.0.metadata,
  vapi/packages/gio-standalone/gio-standalone.metadata,
  vapi/packages/gnome-desktop-2.0/gnome-desktop-2.0.metadata,
  vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata,
  vapi/packages/gtk+-2.0/gtk+-2.0.metadata,
  vapi/packages/vte/vte.metadata, vapi/pango.vala, vapi/vte.vala:
  fix generated string out and string array parameters
* vapi/glib-2.0.vala: add g_listenv

svn path=/trunk/; revision=502

17 years agoadd GNOME Desktop Library bindings
Juerg Billeter [Fri, 24 Aug 2007 14:33:35 +0000 (14:33 +0000)]
add GNOME Desktop Library bindings

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

* vapigen/valagidlparser.vala, vapi/Makefile.am,
  vapi/gnome-desktop-2.0.vala, vapi/packages/gnome-desktop-2.0/: add
  GNOME Desktop Library bindings

svn path=/trunk/; revision=501

17 years agofix array fields of Gtk.Style, fixes bug 463959 add g_get_user_data_dir
Juerg Billeter [Fri, 24 Aug 2007 14:14:50 +0000 (14:14 +0000)]
fix array fields of Gtk.Style, fixes bug 463959 add g_get_user_data_dir

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

* vapigen/valagidlparser.vala, vapi/gtk+-2.0.vala,
  vapi/packages/gtk+-2.0/gtk+-2.0.metadata: fix array fields of
  Gtk.Style, fixes bug 463959
* vapi/glib-2.0.vala: add g_get_user_data_dir

svn path=/trunk/; revision=500

17 years agorecognize unsigned and unsigned-int types add libwnck bindings
Juerg Billeter [Fri, 24 Aug 2007 07:18:59 +0000 (07:18 +0000)]
recognize unsigned and unsigned-int types add libwnck bindings

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

* vapigen/valagidlparser.vala: recognize unsigned and unsigned-int types
* vapi/Makefile.am, vapi/libwnck-1.0.vala, vapi/packages/libwnck-1.0/:
  add libwnck bindings

svn path=/trunk/; revision=499

17 years agowrite dup_function and free_function attribute values recognize ref,
Juerg Billeter [Fri, 24 Aug 2007 07:10:26 +0000 (07:10 +0000)]
write dup_function and free_function attribute values recognize ref,

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

* vala/valainterfacewriter.vala, vala/valastruct.vala,
  gobject/valacodegenerator.vala: write dup_function and free_function
  attribute values
* vapigen/valagidlparser.vala: recognize ref, unref, and free functions,
  GType arrays, and out parameters
* vapi/glib-2.0.vala: mark Closure as reference type
* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gio-standalone.vala,
  vapi/gstreamer-0.10.vala, vapi/gtk+-2.0.vala,
  vapi/gtksourceview-2.0.vala, vapi/libsoup-2.2.vala, vapi/pango.vala,
  vapi/vte.vala: regenerated
* vapi/packages/atk/: update to ATK 1.19.6
* vapi/packages/gdk-2.0/, vapi/packages/gtk+-2.0/: update to GTK+ 2.11.6
* vapi/packages/gstreamer-0.10/: update to GStreamer 0.10.14
* vapi/packages/gtksourceview-2.0/: update to GtkSourceView 1.90.3
* vapi/packages/pango/: update to Pango 1.18.0

svn path=/trunk/; revision=498

17 years agofix typo, patch by Piotr Skamruk
Juerg Billeter [Tue, 21 Aug 2007 11:35:19 +0000 (11:35 +0000)]
fix typo, patch by Piotr Skamruk

2007-08-21  Juerg Billeter  <j@bitron.ch>

* vapi/libxml-2.0.vala: fix typo, patch by Piotr Skamruk

svn path=/trunk/; revision=497

17 years agoadd array length argument when passing null as array argument, fixes bug
Juerg Billeter [Tue, 21 Aug 2007 11:23:08 +0000 (11:23 +0000)]
add array length argument when passing null as array argument, fixes bug

2007-08-21  Juerg Billeter  <j@bitron.ch>

* gobject/valacodegeneratorinvocationexpression.vala: add array length
  argument when passing null as array argument, fixes bug 467903

svn path=/trunk/; revision=496

17 years agofix build system to pass distcheck, based on patch by Nicolas Trangez,
Juerg Billeter [Tue, 21 Aug 2007 10:51:08 +0000 (10:51 +0000)]
fix build system to pass distcheck, based on patch by Nicolas Trangez,

2007-08-21  Juerg Billeter  <j@bitron.ch>

* gee/Makefile.am, vala/Makefile.am, ccode/Makefile.am,
  gobject/Makefile.am, compiler/Makefile.am, tests/Makefile.am,
  tests/testrunner.sh: fix build system to pass distcheck,
  based on patch by Nicolas Trangez, fixes bug 466283
* Rename tests/*.out to tests/*.exp
* tests/test-022.vala, tests/test-022.exp: reduce to regression test

svn path=/trunk/; revision=495

17 years agosupport --directory option, use basename of input filenames, patch by
Juerg Billeter [Tue, 21 Aug 2007 10:00:47 +0000 (10:00 +0000)]
support --directory option, use basename of input filenames, patch by

2007-08-21  Juerg Billeter  <j@bitron.ch>

* vala/valacodecontext.vala, vala/valasourcefile.vala,
  gobject/valaccodecompiler.vala, compiler/valacompiler.vala: support
  --directory option, use basename of input filenames,
  patch by Nicolas Trangez, fixes bug 465720

svn path=/trunk/; revision=494

17 years agoconsider switch statements when releasing local variables, fixes bug
Mathias Hasselmann [Tue, 21 Aug 2007 07:40:14 +0000 (07:40 +0000)]
consider switch statements when releasing local variables, fixes bug

2007-08-21 Mathias Hasselmann <mathias.hasselmann@gmx.de>

* gobject/valacodegenerator.vala, vala/valaswitchsection.vala,
vala/valaswitchstatement.vala: consider switch statements
when releasing local variables, fixes bug 467896
* tests/Makefile.am, tests/test-035.*: test for that bug

svn path=/trunk/; revision=493

17 years agoAdd bug number to encourage use of Bugzilla.
Mathias Hasselmann [Tue, 21 Aug 2007 07:37:54 +0000 (07:37 +0000)]
Add bug number to encourage use of Bugzilla.

svn path=/trunk/; revision=492

17 years agofix memory management for throw statements, fixes bug 465071
Juerg Billeter [Mon, 20 Aug 2007 21:52:07 +0000 (21:52 +0000)]
fix memory management for throw statements, fixes bug 465071

2007-08-20  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala, vala/valathrowstatement.vala,
  gobject/valacodegenerator.vala: fix memory management for throw
  statements, fixes bug 465071

svn path=/trunk/; revision=491

17 years agoAdd test for prefix increments in while loops: do { } while (++i < x);
Mathias Hasselmann [Mon, 20 Aug 2007 21:30:39 +0000 (21:30 +0000)]
Add test for prefix increments in while loops: do { } while (++i < x);

2007-08-20  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* tests/test-027.*: Add test for prefix increments
in while loops: do { } while (++i < x);

svn path=/trunk/; revision=490

17 years agosupport C# like as operator test the as operator
Mathias Hasselmann [Mon, 20 Aug 2007 21:23:00 +0000 (21:23 +0000)]
support C# like as operator test the as operator

2007-08-20  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* vala/valacastexpression.vala, gobject/valacodegenerator.vala,
vala/parser.y, vala/scanner.l: support C# like as operator
* tests/Makefile.am, tests/test-034.*: test the as operator

svn path=/trunk/; revision=489

17 years agosupport cheader_filename attribute, fixes bug 464988
Juerg Billeter [Mon, 20 Aug 2007 20:00:35 +0000 (20:00 +0000)]
support cheader_filename attribute, fixes bug 464988

2007-08-20  Juerg Billeter  <j@bitron.ch>

* vala/valafield.vala: support cheader_filename attribute,
  fixes bug 464988

svn path=/trunk/; revision=488

17 years agofix initialization of external variables
Juerg Billeter [Mon, 20 Aug 2007 19:05:47 +0000 (19:05 +0000)]
fix initialization of external variables

2007-08-20  Juerg Billeter  <j@bitron.ch>

* ccode/valaccodedeclaration.vala, ccode/valaccodemodifiers.vala,
  gobject/valacodegenerator.vala: fix initialization of external
  variables

svn path=/trunk/; revision=487

17 years agosupport namespace fields and public static class fields, fixes bug 464985
Juerg Billeter [Mon, 20 Aug 2007 16:42:47 +0000 (16:42 +0000)]
support namespace fields and public static class fields, fixes bug 464985

2007-08-20  Juerg Billeter  <j@bitron.ch>

* vala/valafield.vala, gobject/valacodegenerator.vala,
  gobject/valacodegeneratorclass.vala: support namespace fields and
  public static class fields, fixes bug 464985

svn path=/trunk/; revision=486

17 years agoenclose prefix increment and decrement unary expressions transformend to
Raffaele Sandrini [Mon, 20 Aug 2007 14:48:27 +0000 (14:48 +0000)]
enclose prefix increment and decrement unary expressions transformend to

2007-08-20  Raffaele Sandrini  <raffaele@sandrini.ch>

* vala/valasemanticanalyzer.vala: enclose prefix increment and decrement unary
  expressions transformend to binary expressions into parenthesis

svn path=/trunk/; revision=485

17 years agoreport error and fix critical to prevent private members in namespaces
Juerg Billeter [Mon, 20 Aug 2007 13:33:26 +0000 (13:33 +0000)]
report error and fix critical to prevent private members in namespaces

2007-08-20  Juerg Billeter  <j@bitron.ch>

* vala/valasemanticanalyzer.vala: report error and fix critical to
  prevent private members in namespaces

svn path=/trunk/; revision=484

17 years agoalso use _vala_array_free to release string arrays as g_strfreev cannot
Mathias Hasselmann [Sun, 19 Aug 2007 22:03:31 +0000 (22:03 +0000)]
also use _vala_array_free to release string arrays as g_strfreev cannot

2007-08-19  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* gobject/valacodegenerator.vala: also use _vala_array_free to
release string arrays as g_strfreev cannot handle Vala's sized
arrays, which have a _length variable, but no NULL sentinel.
* gobject/valacodegeneratorsourcefile.vala: enhance _vala_array_free
to handle unsized (NULL sentinel terminated) arrays.
* tests/test-022.*: test behaviour of _vala_array_free. currently
fails because Vala forgets to release old element members when
assigning a new value.

svn path=/trunk/; revision=483

17 years agomove code generation for _vala_array_free and _vala_array_move into
Mathias Hasselmann [Sun, 19 Aug 2007 22:03:24 +0000 (22:03 +0000)]
move code generation for _vala_array_free and _vala_array_move into

2007-08-19  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* gobject/valacodegeneratorsourcefile.vala: move code generation
for _vala_array_free and _vala_array_move into separate methods
for readability.

svn path=/trunk/; revision=482

17 years agoterminate array initializer with NULL sentinal to make destructors like
Mathias Hasselmann [Sun, 19 Aug 2007 22:03:19 +0000 (22:03 +0000)]
terminate array initializer with NULL sentinal to make destructors like

2007-08-18  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* gobject/valacodegenerator.vala: terminate array initializer
with NULL sentinal to make destructors like g_strfreev happy

svn path=/trunk/; revision=481

17 years agoerm, well.. also should install enchant.vala
Mathias Hasselmann [Sat, 18 Aug 2007 09:43:15 +0000 (09:43 +0000)]
erm, well.. also should install enchant.vala

2007-08-18  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* vapi/Makefile.am: erm, well.. also should install enchant.vala

svn path=/trunk/; revision=479

17 years agotest for libenchant introducing some echant bindings test enchant bindings
Mathias Hasselmann [Sat, 18 Aug 2007 09:26:55 +0000 (09:26 +0000)]
test for libenchant introducing some echant bindings test enchant bindings

2007-08-18  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* configure.ac: test for libenchant
* vapi/enchant.vala: introducing some echant bindings
* tests/Makefile.am, tests/testenchant.vala: test enchant bindings

svn path=/trunk/; revision=478

17 years agorevert last change: the field really is called "signal" name as figured
Mathias Hasselmann [Fri, 17 Aug 2007 10:59:19 +0000 (10:59 +0000)]
revert last change: the field really is called "signal" name as figured

2007-08-17  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* vapi/libglade-2.0.vala: revert last change: the field
really is called "signal" name as figured out by gidlgen -
for almost five years now

svn path=/trunk/; revision=477

17 years agouse correct name for signal_name, patch by Francisco Camenforte Torres
Mathias Hasselmann [Fri, 17 Aug 2007 10:44:44 +0000 (10:44 +0000)]
use correct name for signal_name, patch by Francisco Camenforte Torres

2007-08-17  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* vapi/libglade-2.0.vala: use correct name for
signal_name, patch by Francisco Camenforte Torres

svn path=/trunk/; revision=476

17 years agoapply changes in the output of vapigen caused by the sentinel attribute
Mathias Hasselmann [Thu, 16 Aug 2007 22:04:33 +0000 (22:04 +0000)]
apply changes in the output of vapigen caused by the sentinel attribute

2007-08-17  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* vapi/gtk+-2.0.vala: apply changes in the output
of vapigen caused by the sentinel attribute patch

svn path=/trunk/; revision=475

17 years agoconsider sentinel information provide sentinel information for functions
Mathias Hasselmann [Thu, 16 Aug 2007 21:47:17 +0000 (21:47 +0000)]
consider sentinel information provide sentinel information for functions

2007-08-16  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* gobject/valacodegeneratorinvocationexpression.vala,
vala/valainterfacewriter.vala, vala/valamethod.vala,
vapigen/valagidlparser.vala: consider sentinel information
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: provide sentinel
information for functions with variable length argument lists

svn path=/trunk/; revision=474

17 years agoproperly inform vapigen about the ellipsis off
Mathias Hasselmann [Thu, 16 Aug 2007 21:47:08 +0000 (21:47 +0000)]
properly inform vapigen about the ellipsis off

2007-08-16  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: properly inform vapigen
about the ellipsis off gtk_cell_layout_set_attributes and
gtk_tree_view_column_set_attributes

svn path=/trunk/; revision=473

17 years agoadd size property allow array creation with initializer list without
Raffaele Sandrini [Thu, 16 Aug 2007 14:44:58 +0000 (14:44 +0000)]
add size property allow array creation with initializer list without

2007-08-16  Raffaele Sandrini  <raffaele@sandrini.ch>

* vala/valainitializerlist.vala: add size property
* vala/valasemanticanalyzer.vala: allow array creation with initializer
  list without specifying the sizes e.g. "new t[] { a, b, c}"

svn path=/trunk/; revision=472

17 years agoadd String.printf and append_printf
Mathias Hasselmann [Thu, 16 Aug 2007 13:03:16 +0000 (13:03 +0000)]
add String.printf and append_printf

2007-08-16 Mathias Hasselmann <mathias.hasselmann@gmx.de>

* vapi/glib-2.0.vala: add String.printf and append_printf

svn path=/trunk/; revision=471

17 years agoadd signal handling API
Mathias Hasselmann [Thu, 16 Aug 2007 13:03:11 +0000 (13:03 +0000)]
add signal handling API

2007-08-16 Mathias Hasselmann <mathias.hasselmann@gmx.de>

* vapi/glib-2.0.vala: add signal handling API

svn path=/trunk/; revision=470

17 years agoadapt visit initializer and visit array creation to external visitor check
Raffaele Sandrini [Thu, 16 Aug 2007 09:21:55 +0000 (09:21 +0000)]
adapt visit initializer and visit array creation to external visitor check

2007-08-16  Raffaele Sandrini  <raffaele@sandrini.ch>

* gobject/valacodegenerator.vala, vala/valacodevisitor.vala,
  vala/valasemanticanalyzer.vala, vala/valasymbolresolver.vala:
  adapt visit initializer and visit array creation to external visitor
* vala/valamemorymanager.vala: check initializers of array creation
  expressions for missing ref
* vala/valaarraycreationexpression.vala, vala/valainitializerlist.vala:
  change to external visitor

svn path=/trunk/; revision=469

17 years agocreate gee-1.0 vapi; this makes it possible to use the vala shipped libgee
Raffaele Sandrini [Wed, 15 Aug 2007 09:17:35 +0000 (09:17 +0000)]
create gee-1.0 vapi; this makes it possible to use the vala shipped libgee

2007-08-15  Raffaele Sandrini  <raffaele@sandrini.ch>

* vapi/Makefile.am: create gee-1.0 vapi; this makes it possible to
  use the vala shipped libgee copy without an separate installed
  version of libgee i.e. it enables to run the tests without installed
  libgee

svn path=/trunk/; revision=468

17 years agogenerate "throws" clause when needed
Mathias Hasselmann [Tue, 14 Aug 2007 20:47:19 +0000 (20:47 +0000)]
generate "throws" clause when needed

2007-08-14  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* vala/valainterfacewriter.vala:
generate "throws" clause when needed

svn path=/trunk/; revision=467

17 years agodo not pass non-existant packages to pkg-config
Mathias Hasselmann [Tue, 14 Aug 2007 19:19:30 +0000 (19:19 +0000)]
do not pass non-existant packages to pkg-config

2007-08-14  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* gobject/valaccodecompiler.vala: do not pass non-existant
packages to pkg-config

svn path=/trunk/; revision=466