Raffaele Sandrini [Thu, 24 Jan 2008 14:16:19 +0000 (14:16 +0000)]
allow constant declarations in structs
2008-01-24 Raffaele Sandrini <raffaele@sandrini.ch>
* vala/parser.y: allow constant declarations in structs
svn path=/trunk/; revision=905
Raffaele Sandrini [Thu, 24 Jan 2008 13:38:21 +0000 (13:38 +0000)]
report initializers in struct fields as error
2008-01-24 Raffaele Sandrini <raffaele@sandrini.ch>
* vala/parser.y: report initializers in struct fields as error
svn path=/trunk/; revision=904
Juerg Billeter [Thu, 24 Jan 2008 12:58:01 +0000 (12:58 +0000)]
use valac -C in generated Makefile.am and fix GtkTextBuffer.get_text call
2008-01-24 Juerg Billeter <j@bitron.ch>
* gen-project/valaprojectgenerator.vala: use valac -C in generated
Makefile.am and fix GtkTextBuffer.get_text call in generated source
code
svn path=/trunk/; revision=903
Juerg Billeter [Thu, 24 Jan 2008 11:59:48 +0000 (11:59 +0000)]
build control flow graph for switch statements, report missing break
2008-01-24 Juerg Billeter <j@bitron.ch>
* vala/valacfgbuilder.vala: build control flow graph for switch
statements, report missing break statements at end of switch
sections, fixes bug 511644
* tests/statements-selection.vala: test switch checks
svn path=/trunk/; revision=902
Juerg Billeter [Wed, 23 Jan 2008 21:07:14 +0000 (21:07 +0000)]
fix gdk_pixdata_serialize binding
2008-01-23 Juerg Billeter <j@bitron.ch>
* vapi/packages/gdk-pixbuf-2.0/: fix gdk_pixdata_serialize binding
* vapi/gdk-pixbuf-2.0.vapi: regenerated
svn path=/trunk/; revision=901
Juerg Billeter [Wed, 23 Jan 2008 21:05:08 +0000 (21:05 +0000)]
fix GdkPixdata binding
2008-01-23 Juerg Billeter <j@bitron.ch>
* vapi/packages/gdk-pixbuf-2.0/: fix GdkPixdata binding
* vapi/gdk-pixbuf-2.0.vapi: regenerated
svn path=/trunk/; revision=900
Juerg Billeter [Wed, 23 Jan 2008 20:30:59 +0000 (20:30 +0000)]
override copy method
2008-01-23 Juerg Billeter <j@bitron.ch>
* vala/valaintegertype.vala: override copy method
svn path=/trunk/; revision=899
Juerg Billeter [Wed, 23 Jan 2008 20:08:02 +0000 (20:08 +0000)]
fix cheader_filename of GStreamer base libraries, fixes part of bug 510834
2008-01-23 Juerg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-base-0.10/,
vapi/packages/gstreamer-controller-0.10/,
vapi/packages/gstreamer-dataprotocol-0.10/,
vapi/packages/gstreamer-net-0.10/: fix cheader_filename of GStreamer
base libraries, fixes part of bug 510834
* vapi/gstreamer-base-0.10.vapi, vapi/gstreamer-controller-0.10.vapi,
vapi/gstreamer-dataprotocol-0.10.vapi, vapi/gstreamer-net-0.10.vapi:
regenerated
svn path=/trunk/; revision=898
Juerg Billeter [Wed, 23 Jan 2008 18:58:37 +0000 (18:58 +0000)]
improve generic type resolution to support generic fields, fixes bug
2008-01-23 Juerg Billeter <j@bitron.ch>
* vala/valamethodtype.vala, vala/valasemanticanalyzer.vala,
vala/valasignaltype.vala, gobject/valaccodegenerator.vala,
gobject/valaccodegeneratormemberaccess.vala: improve generic type
resolution to support generic fields, fixes bug 475524
svn path=/trunk/; revision=897
Juerg Billeter [Wed, 23 Jan 2008 16:16:58 +0000 (16:16 +0000)]
fix symbol dependency for delegates, fixes bug 511555
2008-01-23 Juerg Billeter <j@bitron.ch>
* vala/valadelegatetype.vala: fix symbol dependency for delegates,
fixes bug 511555
svn path=/trunk/; revision=896
Juerg Billeter [Wed, 23 Jan 2008 16:05:43 +0000 (16:05 +0000)]
fix crash on invalid operand, fixes bug 511546
2008-01-23 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: fix crash on invalid operand,
fixes bug 511546
svn path=/trunk/; revision=895
Juerg Billeter [Wed, 23 Jan 2008 15:26:07 +0000 (15:26 +0000)]
build control flow graph, report error for missing return statement in
2008-01-23 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am, vala/valabasicblock.vala, vala/valacfgbuilder.vala,
vala/valadostatement.vala, vala/valaforstatement.vala,
vala/valaifstatement.vala, vala/valamemorymanager.vala,
vala/valamethod.vala, vala/valasemanticanalyzer.vala,
vala/valasymbolresolver.vala, vala/valawhilestatement.vala,
gobject/valaccodegenerator.vala, compiler/valacompiler.vala: build
control flow graph, report error for missing return statement in
non-void methods, and report warning for unreachable code,
fixes bug 508480
* tests/exceptions.vala: add missing return statement
svn path=/trunk/; revision=894
Juerg Billeter [Wed, 23 Jan 2008 09:58:00 +0000 (09:58 +0000)]
honor EXEEXT to fix tests on Cygwin and MinGW, patch by Yaakov Selkowitz,
2008-01-23 Juerg Billeter <j@bitron.ch>
* tests/Makefile.am, tests/testrunner.sh: honor EXEEXT to fix tests
on Cygwin and MinGW, patch by Yaakov Selkowitz, fixes bug 511438
svn path=/trunk/; revision=893
Juerg Billeter [Wed, 23 Jan 2008 09:54:52 +0000 (09:54 +0000)]
emit namespace constants, fixes bug 511383
2008-01-23 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: emit namespace constants,
fixes bug 511383
svn path=/trunk/; revision=892
Juerg Billeter [Wed, 23 Jan 2008 09:32:30 +0000 (09:32 +0000)]
allow string comparison with null, use strcmp instead of g_utf8_collate
2008-01-23 Juerg Billeter <j@bitron.ch>
* vala/valaenumvalue.vala, vala/valasemanticanalyzer.vala,
gobject/valaccodegenerator.vala,
gobject/valaccodegeneratorsourcefile.vala: allow string comparison
with null, use strcmp instead of g_utf8_collate for string operators,
fixes bug 506199
* tests/Makefile.am, tests/strings.vala, tests/strings.exp: test
string operators
svn path=/trunk/; revision=891
Juerg Billeter [Tue, 22 Jan 2008 22:25:30 +0000 (22:25 +0000)]
support metadata attributes for signal parameters
2008-01-22 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: support metadata attributes for signal
parameters
* vapi/packages/gtk+-2.0/: fix GtkWidget::key_*_event bindings,
fixes bug 505062
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=890
Juerg Billeter [Tue, 22 Jan 2008 21:56:15 +0000 (21:56 +0000)]
use char[] instead of string for byte buffers, fixes bug 501690
2008-01-22 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: use char[] instead of string for byte buffers,
fixes bug 501690
svn path=/trunk/; revision=889
Juerg Billeter [Tue, 22 Jan 2008 20:32:31 +0000 (20:32 +0000)]
improve implicit conversion from integer literals, fixes bug 492475
2008-01-22 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am, vala/valaintegertype.vala,
vala/valasemanticanalyzer.vala, vapi/glib-2.0.vapi: improve implicit
conversion from integer literals, fixes bug 492475
svn path=/trunk/; revision=888
Juerg Billeter [Tue, 22 Jan 2008 18:50:41 +0000 (18:50 +0000)]
update ranks of integer types to allow more implicit conversions where it
2008-01-22 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: update ranks of integer types to allow more
implicit conversions where it makes sense
svn path=/trunk/; revision=887
Juerg Billeter [Tue, 22 Jan 2008 17:27:31 +0000 (17:27 +0000)]
support length field for array constants
2008-01-22 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: support length field for array
constants
* tests/arrays.vala: test length field of array constants
svn path=/trunk/; revision=886
Juerg Billeter [Tue, 22 Jan 2008 17:15:36 +0000 (17:15 +0000)]
add element access tests to array tests
2008-01-22 Juerg Billeter <j@bitron.ch>
* tests/Makefile.am, tests/arrays.exp, tests/arrays.vala: add element
access tests to array tests
svn path=/trunk/; revision=885
Juerg Billeter [Tue, 22 Jan 2008 17:05:24 +0000 (17:05 +0000)]
check type of variable initializer
2008-01-22 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: check type of variable initializer
* gee/hashmap.vala, gee/hashset.vala, vala/valasymbol.vala: fix invalid
variable initializers
svn path=/trunk/; revision=884
Juerg Billeter [Tue, 22 Jan 2008 14:35:05 +0000 (14:35 +0000)]
add bindings for gdk-pixbuf-2.0, fixes bug 501589
2008-01-22 Juerg Billeter <j@bitron.ch>
* vapi/packages/gdk-pixbuf-2.0/, vapi/packages/gdk-2.0/,
vapi/gdk-pixbuf-2.0.vapi, vapi/gdk-2.0.vapi: add bindings for
gdk-pixbuf-2.0, fixes bug 501589
* vapi/packages/gnome-desktop-2.0/, vapi/packages/gtk+-2.0/,
vapi/packages/gtksourceview-2.0/, vapi/packages/hildon-1/,
vapi/packages/libglade-2.0/, vapi/packages/libgnomeui-2.0/,
vapi/packages/libnotify/. vapi/packages/libwnck-1.0/.
vapi/packages/poppler-glib/, vapi/packages/vte/, vapi/gdk-2.0.deps,
vapi/gnome-desktop-2.0.deps, vapi/gtk+-2.0.deps,
vapi/gtksourceview-2.0.deps, vapi/hildon-1.deps,
vapi/libglade-2.0.deps, vapi/libgnomeui-2.0.deps, vapi/libnotify.deps,
vapi/libwnck-1.0.deps, vapi/poppler-glib.deps, vapi/vte.deps: update
dependencies
* vapi/Makefile.am: updated
svn path=/trunk/; revision=883
Juerg Billeter [Tue, 22 Jan 2008 13:18:05 +0000 (13:18 +0000)]
add get_element_type method to Gee.Iterable
2008-01-22 Juerg Billeter <j@bitron.ch>
* gee/arraylist.vala, gee/hashmap.vala, gee/hashset.vala,
gee/iterable.vala, gee/readonlycollection.vala, gee/readonlylist.vala,
gee/readonlyset.vala: add get_element_type method to Gee.Iterable
svn path=/trunk/; revision=882
Juerg Billeter [Tue, 22 Jan 2008 10:16:47 +0000 (10:16 +0000)]
support cheader_filename metadata attribute for enums
2008-01-22 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: support cheader_filename metadata
attribute for enums
svn path=/trunk/; revision=881
Juerg Billeter [Tue, 22 Jan 2008 09:39:42 +0000 (09:39 +0000)]
fix nullable types for local variables
2008-01-22 Juerg Billeter <j@bitron.ch>
* vala/scanner.l: fix nullable types for local variables
svn path=/trunk/; revision=880
Juerg Billeter [Tue, 22 Jan 2008 08:12:10 +0000 (08:12 +0000)]
remove unneeded type casts
2008-01-22 Juerg Billeter <j@bitron.ch>
* gee/hashmap.vala, gee/hashset.vala: remove unneeded type casts
svn path=/trunk/; revision=879
Juerg Billeter [Mon, 21 Jan 2008 23:08:22 +0000 (23:08 +0000)]
fix array creation expressions with side-effects, fixes bug 472984
2008-01-22 Juerg Billeter <j@bitron.ch>
* gobject/valaccodearraycreationexpressionbinding.vala,
gobject/valaccodegenerator.vala: fix array creation expressions with
side-effects, fixes bug 472984
* tests/arrays.vala: test array creation expressions with side-effects
svn path=/trunk/; revision=878
Juerg Billeter [Mon, 21 Jan 2008 20:07:03 +0000 (20:07 +0000)]
combine array tests in one file
2008-01-21 Juerg Billeter <j@bitron.ch>
* tests/Makefile.am, tests/arrays.exp, tests/arrays.vala: combine array
tests in one file
svn path=/trunk/; revision=877
Juerg Billeter [Mon, 21 Jan 2008 17:49:33 +0000 (17:49 +0000)]
set base_method also in VAPI classes for virtual and abstract methods,
2008-01-21 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: set base_method also in VAPI classes
for virtual and abstract methods, fixes `base´ access
svn path=/trunk/; revision=876
Juerg Billeter [Mon, 21 Jan 2008 17:27:16 +0000 (17:27 +0000)]
add --quiet option to valac and vapigen, patch by Emmanuele Bassi, fixes
2008-01-21 Juerg Billeter <j@bitron.ch>
* compiler/valacompiler.vala, vapigen/valavapigen.vala: add --quiet
option to valac and vapigen,
patch by Emmanuele Bassi, fixes bug 510998
svn path=/trunk/; revision=875
Juerg Billeter [Mon, 21 Jan 2008 17:09:24 +0000 (17:09 +0000)]
improve generic type resolution, add type checking for element type in
2008-01-21 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: improve generic type resolution, add
type checking for element type in foreach statement,
based on patch by Hans Vercammen, fixes bug 510852
* gobject/valaccodegenerator.vala,
gobject/valaccodegeneratormethod.vala, vapigen/valagidlparser.vala:
fix foreach statements
svn path=/trunk/; revision=874
Juerg Billeter [Mon, 21 Jan 2008 10:41:34 +0000 (10:41 +0000)]
fix pango_layout_iter_get_line_yrange binding
2008-01-21 Juerg Billeter <j@bitron.ch>
* vapi/packages/pango/: fix pango_layout_iter_get_line_yrange binding
* vapi/pango.vapi: regenerated
svn path=/trunk/; revision=873
Juerg Billeter [Mon, 21 Jan 2008 10:38:47 +0000 (10:38 +0000)]
fix poppler_page_get_size binding, fixes bug 510781
2008-01-21 Juerg Billeter <j@bitron.ch>
* vapi/packages/poppler-glib/: fix poppler_page_get_size binding,
fixes bug 510781
* vapi/poppler-glib.vapi: regenerated
svn path=/trunk/; revision=872
Juerg Billeter [Sat, 19 Jan 2008 20:23:18 +0000 (20:23 +0000)]
support type_t naming convention
2008-01-19 Juerg Billeter <j@bitron.ch>
* gobject-introspection/scanner.c: support type_t naming convention
svn path=/trunk/; revision=871
Juerg Billeter [Sat, 19 Jan 2008 16:49:32 +0000 (16:49 +0000)]
support hiding enums
2008-01-19 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: support hiding enums
svn path=/trunk/; revision=870
Juerg Billeter [Sat, 19 Jan 2008 13:33:52 +0000 (13:33 +0000)]
Post-release version bump
2008-01-19 Juerg Billeter <j@bitron.ch>
* configure.ac: Post-release version bump
svn path=/trunk/; revision=869
Juerg Billeter [Sat, 19 Jan 2008 13:32:20 +0000 (13:32 +0000)]
update for 0.1.6 release
2008-01-19 Juerg Billeter <j@bitron.ch>
* NEWS: update for 0.1.6 release
svn path=/trunk/; revision=867
Juerg Billeter [Sat, 19 Jan 2008 12:58:10 +0000 (12:58 +0000)]
add bindings for GLib testing framework, fixes bug 510574
2008-01-19 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add bindings for GLib testing framework,
fixes bug 510574
svn path=/trunk/; revision=866
Juerg Billeter [Sat, 19 Jan 2008 10:25:47 +0000 (10:25 +0000)]
add support for common_prefix attribute to override prefix of enum values
2008-01-19 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: add support for common_prefix
attribute to override prefix of enum values
* vapi/packages/gdk-2.0/: fix GdkWindowClass binding,
fixes bug 509967
* vapi/gdk-2.0.vapi: regenerated
svn path=/trunk/; revision=865
Juerg Billeter [Sat, 19 Jan 2008 09:35:20 +0000 (09:35 +0000)]
update to gtksourceview 2.1.0
2008-01-19 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtksourceview-2.0/: update to gtksourceview 2.1.0
* vapi/gtksourceview-2.0.vapi: regenerated
svn path=/trunk/; revision=864
Juerg Billeter [Sat, 19 Jan 2008 09:34:19 +0000 (09:34 +0000)]
update to libgnomeui 2.21.5
2008-01-19 Juerg Billeter <j@bitron.ch>
* vapi/packages/libgnomeui-2.0/: update to libgnomeui 2.21.5
* vapi/libgnomeui-2.0.vapi: regenerated
svn path=/trunk/; revision=863
Juerg Billeter [Sat, 19 Jan 2008 09:33:07 +0000 (09:33 +0000)]
update to glib 2.15.2
2008-01-19 Juerg Billeter <j@bitron.ch>
* vapi/packages/gio-2.0/: update to glib 2.15.2
* vapi/gio-2.0.vapi: regenerated
svn path=/trunk/; revision=862
Juerg Billeter [Sat, 19 Jan 2008 08:44:36 +0000 (08:44 +0000)]
VAPI classes don't specify overridden methods or properties, fix generic
2008-01-19 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala, vala/valasemanticanalyzer.vala: VAPI
classes don't specify overridden methods or properties, fix generic
type argument tracing to use the same algorithm as inherited symbol
lookup
svn path=/trunk/; revision=861
Juerg Billeter [Fri, 18 Jan 2008 22:17:00 +0000 (22:17 +0000)]
support C99 _Bool type
2008-01-18 Juerg Billeter <j@bitron.ch>
* gobject-introspection/gidlparser.c,
gobject-introspection/scannerlexer.l,
gobject-introspection/scannerparser.y: support C99 _Bool type
svn path=/trunk/; revision=860
Juerg Billeter [Fri, 18 Jan 2008 22:00:34 +0000 (22:00 +0000)]
support nested generic types, fixes bug 443522
2008-01-18 Juerg Billeter <j@bitron.ch>
* vala/scanner.l: support nested generic types, fixes bug 443522
svn path=/trunk/; revision=859
Juerg Billeter [Fri, 18 Jan 2008 21:17:18 +0000 (21:17 +0000)]
implement get_cname method
2008-01-18 Juerg Billeter <j@bitron.ch>
* vala/valavoidtype.vala: implement get_cname method
* gobject/valaccodegenerator.vala: cast function pointers to callback
type, fixes bug 510262
svn path=/trunk/; revision=858
Juerg Billeter [Fri, 18 Jan 2008 20:24:48 +0000 (20:24 +0000)]
fix memory leaks in g_file_new_for_* binding, fixes bug 509884
2008-01-18 Juerg Billeter <j@bitron.ch>
* vapi/packages/gio-2.0/: fix memory leaks in g_file_new_for_* binding,
fixes bug 509884
* vapi/gio-2.0.vapi: regenerated
svn path=/trunk/; revision=857
Juerg Billeter [Fri, 18 Jan 2008 20:15:47 +0000 (20:15 +0000)]
write [NoArrayLength] for fields
2008-01-18 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala: write [NoArrayLength] for fields
* vapigen/valagidlparser.vala: set no_array_length for fields
* vapi/packages/gtk+-2.0/: fix GtkRecentData binding, fixes bug 509168
* vapi/gdk-2.0.vapi, vapi/gstreamer-0.10.vapi,
vapi/gstreamer-audio-0.10.vapi, vapi/gstreamer-dataprotocol-0.10.vapi,
vapi/gstreamer-fft-0.10.vapi, vapi/gstreamer-net-0.10.vapi,
vapi/gstreamer-netbuffer-0.10.vapi, vapi/gstreamer-rtsp-0.10.vapi,
vapi/gstreamer-tag-0.10.vapi, vapi/gtk+-2.0.vapi, vapi/hildon-1.vapi,
vapi/vte.vapi: regenerated
svn path=/trunk/; revision=856
Juerg Billeter [Fri, 18 Jan 2008 19:38:23 +0000 (19:38 +0000)]
don't output full source file path in generated C code
2008-01-18 Juerg Billeter <j@bitron.ch>
* vala/valacodenode.vala, vala/valasemanticanalyzer.vala: don't output
full source file path in generated C code
svn path=/trunk/; revision=855
Juerg Billeter [Fri, 18 Jan 2008 19:12:30 +0000 (19:12 +0000)]
don't generate public setter for construct-only properties, fixes bug
2008-01-18 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: don't generate public setter for
construct-only properties, fixes bug 479062
svn path=/trunk/; revision=854
Juerg Billeter [Fri, 18 Jan 2008 17:42:55 +0000 (17:42 +0000)]
support pointers as generic type arguments
2008-01-18 Juerg Billeter <j@bitron.ch>
* vala/scanner.l, vala/parser.y: support pointers as generic type
arguments
svn path=/trunk/; revision=853
Juerg Billeter [Fri, 18 Jan 2008 16:59:12 +0000 (16:59 +0000)]
fix iteration over collections passed by ref parameter using foreach,
2008-01-18 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: fix iteration over collections
passed by ref parameter using foreach,
patch by Hans Vercammen, fixes bug 510419
svn path=/trunk/; revision=852
Juerg Billeter [Fri, 18 Jan 2008 16:51:06 +0000 (16:51 +0000)]
simplify conditional expression type analysis, fixes crash
2008-01-18 Juerg Billeter <j@bitron.ch>
* vala/valanulltype.vala, vala/valasemanticanalyzer.vala: simplify
conditional expression type analysis, fixes crash
svn path=/trunk/; revision=851
Juerg Billeter [Fri, 18 Jan 2008 15:52:46 +0000 (15:52 +0000)]
fix methods with ref array parameters, based on patch by Hans Vercammen,
2008-01-18 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegeneratormethod.vala: fix methods with ref array
parameters, based on patch by Hans Vercammen, fixes bug 510418
svn path=/trunk/; revision=850
Juerg Billeter [Fri, 18 Jan 2008 15:42:17 +0000 (15:42 +0000)]
fix GOptionFlags binding
2008-01-18 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: fix GOptionFlags binding
svn path=/trunk/; revision=849
Juerg Billeter [Thu, 17 Jan 2008 22:51:29 +0000 (22:51 +0000)]
add [Conditional (condition = "CONDITION")] attribute for methods, fixes
2008-01-17 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valacodecontext.vala, compiler/valacompiler.vala:
add [Conditional (condition = "CONDITION")] attribute for methods,
fixes bug 434515
svn path=/trunk/; revision=848
Juerg Billeter [Thu, 17 Jan 2008 18:51:05 +0000 (18:51 +0000)]
fix color parameters of gtk_widget_modify_*
2008-01-17 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: fix color parameters of
gtk_widget_modify_*
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=847
Juerg Billeter [Thu, 17 Jan 2008 17:52:41 +0000 (17:52 +0000)]
append gee.vapi to vala-1.0.vapi
2008-01-17 Juerg Billeter <j@bitron.ch>
* vapi/Makefile.am: append gee.vapi to vala-1.0.vapi
svn path=/trunk/; revision=846
Juerg Billeter [Thu, 17 Jan 2008 17:23:37 +0000 (17:23 +0000)]
remove gstreamer-base-0.10 bindings regenerated
2008-01-17 Juerg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-0.10/: remove gstreamer-base-0.10 bindings
* vapi/gstreamer-0.10.vapi: regenerated
* vapi/gstreamer-audio-0.10.deps, vapi/gstreamer-audio-0.10.vapi,
vapi/packages/gstreamer-audio-0.10/: add gstreamer-audio-0.10 bindings
* vapi/gstreamer-base-0.10.deps, vapi/gstreamer-base-0.10.vapi,
vapi/packages/gstreamer-base-0.10/: add gstreamer-base-0.10 bindings
* vapi/gstreamer-check-0.10.deps, vapi/gstreamer-check-0.10.vapi,
vapi/packages/gstreamer-check-0.10/: add gstreamer-check-0.10 bindings
* vapi/gstreamer-controller-0.10.deps,
vapi/gstreamer-controller-0.10.vapi,
vapi/packages/gstreamer-controller-0.10/: add
gstreamer-controller-0.10 bindings
* vapi/gstreamer-dataprotocol-0.10.deps,
vapi/gstreamer-dataprotocol-0.10.vapi,
vapi/packages/gstreamer-dataprotocol-0.10/: add
gstreamer-dataprotocol-0.10 bindings
* vapi/gstreamer-fft-0.10.deps, vapi/gstreamer-fft-0.10.vapi,
vapi/packages/gstreamer-fft-0.10/: add gstreamer-fft-0.10 bindings
* vapi/gstreamer-interfaces-0.10.deps,
vapi/gstreamer-interfaces-0.10.vapi,
vapi/packages/gstreamer-interfaces-0.10/: add
gstreamer-interfaces-0.10 bindings
* vapi/gstreamer-net-0.10.deps, vapi/gstreamer-net-0.10.vapi,
vapi/packages/gstreamer-net-0.10/: add gstreamer-net-0.10 bindings
* vapi/gstreamer-netbuffer-0.10.deps,
vapi/gstreamer-netbuffer-0.10.vapi,
vapi/packages/gstreamer-netbuffer-0.10/: add gstreamer-netbuffer-0.10
bindings
* vapi/gstreamer-pbutils-0.10.deps, vapi/gstreamer-pbutils-0.10.vapi,
vapi/packages/gstreamer-pbutils-0.10/: add gstreamer-pbutils-0.10
bindings
* vapi/gstreamer-riff-0.10.deps, vapi/gstreamer-riff-0.10.vapi,
vapi/packages/gstreamer-riff-0.10/: add gstreamer-riff-0.10 bindings
* vapi/gstreamer-rtp-0.10.deps, vapi/gstreamer-rtp-0.10.vapi,
vapi/packages/gstreamer-rtp-0.10/: add gstreamer-rtp-0.10 bindings
* vapi/gstreamer-rtsp-0.10.deps, vapi/gstreamer-rtsp-0.10.vapi,
vapi/packages/gstreamer-rtsp-0.10/: add gstreamer-rtsp-0.10 bindings
* vapi/gstreamer-sdp-0.10.deps, vapi/gstreamer-sdp-0.10.vapi,
vapi/packages/gstreamer-sdp-0.10/: add gstreamer-sdp-0.10 bindings
* vapi/gstreamer-tag-0.10.deps, vapi/gstreamer-tag-0.10.vapi,
vapi/packages/gstreamer-tag-0.10/: add gstreamer-tag-0.10 bindings
* vapi/gstreamer-video-0.10.deps, vapi/gstreamer-video-0.10.vapi,
vapi/packages/gstreamer-video-0.10/: add gstreamer-video-0.10 bindings
* vapi/Makefile.am: updated
Fixes bug 471064
svn path=/trunk/; revision=845
Juerg Billeter [Thu, 17 Jan 2008 16:19:53 +0000 (16:19 +0000)]
add GScanner bindings, based on patch by Stephan Kochen, fixes bug 508998
2008-01-17 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add GScanner bindings,
based on patch by Stephan Kochen, fixes bug 508998
svn path=/trunk/; revision=844
Juerg Billeter [Thu, 17 Jan 2008 15:02:05 +0000 (15:02 +0000)]
pass non-simple structs also in object creation expressions always by
2008-01-17 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: pass non-simple structs also in
object creation expressions always by reference, fixes bug 510029
svn path=/trunk/; revision=843
Juerg Billeter [Thu, 17 Jan 2008 14:52:28 +0000 (14:52 +0000)]
remove outdated type name heuristics, fixes bug 509597
2008-01-17 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: remove outdated type name heuristics,
fixes bug 509597
* vapi/packages/gdk-2.0/, vapi/packages/gstreamer-0.10/,
vapi/packages/gtk+-2.0/, vapi/packages/libgnome-2.0/: fix type names
in metadata
* 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/libgnomeui-2.0.vapi, vapi/libsoup-2.2.vapi, vapi/pango.vapi:
regenerated
svn path=/trunk/; revision=842
Juerg Billeter [Thu, 17 Jan 2008 13:48:09 +0000 (13:48 +0000)]
fix gcc warning for signals with string parameters, fixes bug 509177
2008-01-17 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegeneratorsignal.vala: fix gcc warning for signals
with string parameters, fixes bug 509177
svn path=/trunk/; revision=841
Juerg Billeter [Wed, 16 Jan 2008 13:53:23 +0000 (13:53 +0000)]
support signals with ref or out parameters
2008-01-16 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegeneratorinterface.vala,
gobject/valaccodegeneratorsignal.vala: support signals with
ref or out parameters
svn path=/trunk/; revision=840
Juerg Billeter [Tue, 15 Jan 2008 21:28:18 +0000 (21:28 +0000)]
fix g_pattern_spec_equal binding
2008-01-15 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: fix g_pattern_spec_equal binding
svn path=/trunk/; revision=839
Juerg Billeter [Tue, 15 Jan 2008 21:01:26 +0000 (21:01 +0000)]
add basic support for method pre- and postconditions
2008-01-15 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/scanner.l, vala/valaclass.vala,
vala/valainterface.vala, vala/valamethod.vala,
vala/valasemanticanalyzer.vala, vala/valastruct.vala,
gobject/valaccodegeneratormethod.vala: add basic support for
method pre- and postconditions
svn path=/trunk/; revision=838
Juerg Billeter [Mon, 14 Jan 2008 20:47:21 +0000 (20:47 +0000)]
add support for instance delegates, fixes bug 508734
2008-01-14 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/valainvocationexpression.vala,
gobject/valaccodegenerator.vala,
gobject/valaccodegeneratorinvocationexpression.vala,
gobject/valaccodegeneratormethod.vala: add support for instance
delegates, fixes bug 508734
* tests/delegates.exp, tests/delegates.vala: test instance delegates
svn path=/trunk/; revision=837
Juerg Billeter [Sat, 12 Jan 2008 14:26:48 +0000 (14:26 +0000)]
rename Callback to Delegate
2008-01-12 Juerg Billeter <j@bitron.ch>
* vala/Makefile.am, vala/parser.y, vala/vala.h,
vala/valaattributeprocessor.vala, vala/valacodecontext.vala,
vala/valacodegenerator.vala, vala/valacodevisitor.vala,
vala/valadatatype.vala, vala/valadelegate.vala,
vala/valadelegatetype.vala, vala/valainterfacewriter.vala,
vala/valanamespace.vala, vala/valanulltype.vala,
vala/valasemanticanalyzer.vala, vala/valasignal.vala,
vala/valasymbolresolver.vala, gobject/valaccodegenerator.vala,
gobject/valaccodegeneratorinvocationexpression.vala,
vapigen/valagidlparser.vala: rename Callback to Delegate
svn path=/trunk/; revision=836
Juerg Billeter [Sat, 12 Jan 2008 13:19:42 +0000 (13:19 +0000)]
add some missing ellipsis and out parameter metadata for gst_structure and
2008-01-12 Juerg Billeter <j@bitron.ch>
* vapi/packages/gstreamer-0.10/: add some missing ellipsis and out
parameter metadata for gst_structure and gst_element functions,
patch by Andrea Del Signore
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=835
Juerg Billeter [Sat, 12 Jan 2008 13:16:09 +0000 (13:16 +0000)]
use separate temp_vars list for lambda expressions to prevent mixup in the
2008-01-12 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: use separate temp_vars list for
lambda expressions to prevent mixup in the C code
svn path=/trunk/; revision=834
Juerg Billeter [Sat, 12 Jan 2008 13:01:31 +0000 (13:01 +0000)]
restore current_return_type after processing lambda expressions, fixes bug
2008-01-12 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: restore current_return_type
after processing lambda expressions, fixes bug 501586
svn path=/trunk/; revision=833
Juerg Billeter [Sat, 12 Jan 2008 12:35:30 +0000 (12:35 +0000)]
fix null dereference when trying to access members of a delegate
2008-01-12 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: fix null dereference when trying to
access members of a delegate
svn path=/trunk/; revision=832
Juerg Billeter [Fri, 11 Jan 2008 22:52:25 +0000 (22:52 +0000)]
use parent_instance, parent_class, and parent_iface instead of just parent
2008-01-11 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegeneratorclass.vala,
gobject/valaccodegeneratorinterface.vala: use parent_instance,
parent_class, and parent_iface instead of just parent in C structs
svn path=/trunk/; revision=831
Juerg Billeter [Fri, 11 Jan 2008 22:10:06 +0000 (22:10 +0000)]
regenerated, fixes issue with Hildon.BreadCrumb
2008-01-11 Juerg Billeter <j@bitron.ch>
* vapi/packages/hildon-1/hildon-1.gi, vapi/hildon-1.vapi: regenerated,
fixes issue with Hildon.BreadCrumb
svn path=/trunk/; revision=830
Juerg Billeter [Fri, 11 Jan 2008 21:44:01 +0000 (21:44 +0000)]
update from gobject-introspection SVN, fixes bug 505920
2008-01-11 Juerg Billeter <j@bitron.ch>
* gobject-introspection/: update from gobject-introspection SVN,
fixes bug 505920
* vapigen/vala-gen-introspect/vala-gen-introspect.in: fix to work
with updated gobject-introspection
svn path=/trunk/; revision=829
Juerg Billeter [Thu, 10 Jan 2008 21:20:42 +0000 (21:20 +0000)]
update to gnome-desktop 2.21.4
2008-01-10 Juerg Billeter <j@bitron.ch>
* vapi/packages/gnome-desktop-2.0/: update to gnome-desktop 2.21.4
* vapi/gnome-desktop-2.0.vapi: regenerated
* vapi/gnome-desktop-2.0.deps, vapi/Makefile.am: add dependency file
svn path=/trunk/; revision=828
Juerg Billeter [Thu, 10 Jan 2008 21:11:33 +0000 (21:11 +0000)]
update to glib 2.15.1
2008-01-10 Juerg Billeter <j@bitron.ch>
* vapi/packages/gio-2.0/: update to glib 2.15.1
* vapi/gio-2.0.vapi: regenerated
svn path=/trunk/; revision=827
Juerg Billeter [Thu, 10 Jan 2008 14:01:30 +0000 (14:01 +0000)]
fix memory management of out parameters, fixes bug 501838
2008-01-10 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegeneratorinvocationexpression.vala,
gobject/valaccodegeneratormethod.vala, compiler/valacompiler.vala,
vapi/glib-2.0.vapi, vapigen/valavapigen.vala: fix memory management
of out parameters, fixes bug 501838
svn path=/trunk/; revision=826
Juerg Billeter [Thu, 10 Jan 2008 09:29:59 +0000 (09:29 +0000)]
fix memory management of property getters with ownership transfer, fixes
2008-01-10 Juerg Billeter <j@bitron.ch>
* vala/valamemorymanager.vala: fix memory management of property
getters with ownership transfer, fixes bug 505713
svn path=/trunk/; revision=825
Juerg Billeter [Thu, 10 Jan 2008 09:23:08 +0000 (09:23 +0000)]
fix binding of textdomain, fixes bug 508453
2008-01-10 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: fix binding of textdomain, fixes bug 508453
svn path=/trunk/; revision=824
Juerg Billeter [Wed, 9 Jan 2008 23:51:36 +0000 (23:51 +0000)]
fix gtk_window_get_position
2008-01-10 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: fix gtk_window_get_position
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=823
Juerg Billeter [Wed, 9 Jan 2008 23:50:29 +0000 (23:50 +0000)]
fix memory management of string literals
2008-01-10 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: fix memory management of string
literals
svn path=/trunk/; revision=822
Juerg Billeter [Wed, 9 Jan 2008 23:13:12 +0000 (23:13 +0000)]
check in/ref/out arguments
2008-01-10 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: check in/ref/out arguments
* vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala: fix gtk_init
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=821
Juerg Billeter [Wed, 9 Jan 2008 22:42:40 +0000 (22:42 +0000)]
add bindings for uri functions
2008-01-09 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add bindings for uri functions
svn path=/trunk/; revision=820
Juerg Billeter [Wed, 9 Jan 2008 22:30:57 +0000 (22:30 +0000)]
fix gtk_accelerator_parse
2008-01-09 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: fix gtk_accelerator_parse
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=819
Juerg Billeter [Wed, 9 Jan 2008 22:29:35 +0000 (22:29 +0000)]
add bindings for data checksums
2008-01-09 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add bindings for data checksums
svn path=/trunk/; revision=818
Juerg Billeter [Wed, 9 Jan 2008 22:21:33 +0000 (22:21 +0000)]
fix crash when data_type property is null
2008-01-09 Juerg Billeter <j@bitron.ch>
* vala/valadatatype.vala: fix crash when data_type property is null
svn path=/trunk/; revision=817
Juerg Billeter [Wed, 9 Jan 2008 22:18:03 +0000 (22:18 +0000)]
minor fixes
2008-01-09 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: minor fixes
svn path=/trunk/; revision=816
Juerg Billeter [Wed, 9 Jan 2008 21:54:25 +0000 (21:54 +0000)]
add size_t and ssize_t
2008-01-09 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add size_t and ssize_t
svn path=/trunk/; revision=815
Juerg Billeter [Wed, 9 Jan 2008 21:08:45 +0000 (21:08 +0000)]
add binding for g_find_program_in_path
2008-01-09 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add binding for g_find_program_in_path
svn path=/trunk/; revision=814
Juerg Billeter [Wed, 9 Jan 2008 16:48:32 +0000 (16:48 +0000)]
report error when using invalid expression for ref/out arguments, fixes
2008-01-09 Juerg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala: report error when using invalid
expression for ref/out arguments, fixes bug 480022
svn path=/trunk/; revision=813
Juerg Billeter [Wed, 9 Jan 2008 15:36:48 +0000 (15:36 +0000)]
add return statements to silence C compiler
2008-01-09 Juerg Billeter <j@bitron.ch>
* gee/hashmap.vala: add return statements to silence C compiler
svn path=/trunk/; revision=812
Juerg Billeter [Wed, 9 Jan 2008 14:56:53 +0000 (14:56 +0000)]
support nullable attribute in metadata
2008-01-09 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: support nullable attribute in metadata
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata: set nullable attribute for
GtkTreeIter parameters where appropriate
* vapi/gtk+-2.0.vapi, vapi/pango.vapi: regenerated
svn path=/trunk/; revision=811
Juerg Billeter [Wed, 9 Jan 2008 14:13:07 +0000 (14:13 +0000)]
Use non-null types by default when passing --enable-non-null to valac,
2008-01-09 Juerg Billeter <j@bitron.ch>
* vala/parser.y, vala/scanner.l, vala/valaclass.vala,
vala/valacodecontext.vala, vala/valadatatype.vala,
vala/valainterface.vala, vala/valanulltype.vala,
vala/valasemanticanalyzer.vala, vala/valasymbolresolver.vala,
vala/valaunresolvedtype.vala, gobject/valaccodegenerator.vala,
gobject/valaccodegeneratorinvocationexpression.vala,
gobject/valaccodegeneratormethod.vala, compiler/valacompiler.vala:
Use non-null types by default when passing --enable-non-null to valac,
`?´ marks nullable types, deprecate `!´ to mark non-null types,
fixes bug 504222
svn path=/trunk/; revision=810
Juerg Billeter [Tue, 8 Jan 2008 17:49:49 +0000 (17:49 +0000)]
fix memory management with simple conditional expressions, fixes bug
2008-01-08 Juerg Billeter <j@bitron.ch>
* gobject/valaccodegenerator.vala: fix memory management with simple
conditional expressions, fixes bug 501587
* tests/expressions-conditional.exp, tests/expressions-conditional.vala:
test conditional expression with strings
svn path=/trunk/; revision=809
Juerg Billeter [Tue, 8 Jan 2008 17:26:45 +0000 (17:26 +0000)]
support simple_type attribute in metadata
2008-01-08 Juerg Billeter <j@bitron.ch>
* vala/valainterfacewriter.vala, vala/valastruct.vala,
vapigen/valagidlparser.vala: support simple_type attribute in metadata
* vapi/packages/gdk-2.0/gdk-2.0.metadata: mark GdkAtom as simple type
* vapi/gdk-2.0.vapi: regenerated
svn path=/trunk/; revision=808
Juerg Billeter [Mon, 7 Jan 2008 23:25:56 +0000 (23:25 +0000)]
fix GtkTreeViewDropPosition out parameters
2008-01-08 Juerg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/: fix GtkTreeViewDropPosition out parameters
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=807
Juerg Billeter [Mon, 7 Jan 2008 22:11:39 +0000 (22:11 +0000)]
support throws attribute in metadata
2008-01-07 Juerg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala: support throws attribute in metadata
* vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata: fix error
parameters in gst_message_* functions
* vapi/gstreamer-0.10.vapi: regenerated
Patch by Andrea Del Signore, fixes bug 507460
svn path=/trunk/; revision=806
Juerg Billeter [Mon, 7 Jan 2008 15:18:25 +0000 (15:18 +0000)]
add missing bindings for g_filename_*, fixes bug 507447
2008-01-07 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: add missing bindings for g_filename_*,
fixes bug 507447
svn path=/trunk/; revision=805