platform/upstream/vala.git
16 years agoPost-release version bump
Juerg Billeter [Mon, 12 May 2008 23:39:32 +0000 (23:39 +0000)]
Post-release version bump

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

* configure.ac: Post-release version bump

svn path=/trunk/; revision=1385

16 years agoupdate for 0.3.2 release VALA_0_3_2
Juerg Billeter [Mon, 12 May 2008 23:37:56 +0000 (23:37 +0000)]
update for 0.3.2 release

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

* NEWS: update for 0.3.2 release

svn path=/trunk/; revision=1383

16 years agoimprove D-Bus service support for arbitrary return types
Juerg Billeter [Mon, 12 May 2008 23:24:39 +0000 (23:24 +0000)]
improve D-Bus service support for arbitrary return types

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

* gobject/valaccodeclassbinding.vala: improve D-Bus service support
for arbitrary return types

svn path=/trunk/; revision=1382

16 years agosupport methods throwing exceptions in D-Bus services, patch by Ali Sabil
Juerg Billeter [Mon, 12 May 2008 21:15:24 +0000 (21:15 +0000)]
support methods throwing exceptions in D-Bus services, patch by Ali Sabil

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

* gobject/valaccodeclassbinding.vala: support methods throwing
exceptions in D-Bus services, patch by Ali Sabil

svn path=/trunk/; revision=1381

16 years agoExtend namespaces section, based on patch by Phil Housley
Juerg Billeter [Mon, 12 May 2008 20:48:05 +0000 (20:48 +0000)]
Extend namespaces section, based on patch by Phil Housley

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

* doc/vala/namespaces.xml:

Extend namespaces section, based on patch by Phil Housley

svn path=/trunk/; revision=1380

16 years agoSmall improvements to statements section
Juerg Billeter [Mon, 12 May 2008 20:40:33 +0000 (20:40 +0000)]
Small improvements to statements section

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

* doc/vala/statements.xml:

Small improvements to statements section

svn path=/trunk/; revision=1379

16 years agoAdd sections for methods and attributes
Juerg Billeter [Mon, 12 May 2008 20:34:33 +0000 (20:34 +0000)]
Add sections for methods and attributes

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

* doc/vala/Makefile.am:
* doc/vala/attributes.xml:
* doc/vala/index.xml:
* doc/vala/methods.xml:

Add sections for methods and attributes

svn path=/trunk/; revision=1378

16 years agoExtend expressions section, based on patch by Phil Housley
Juerg Billeter [Mon, 12 May 2008 20:29:40 +0000 (20:29 +0000)]
Extend expressions section, based on patch by Phil Housley

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

* doc/vala/expressions.xml:

Extend expressions section, based on patch by Phil Housley

svn path=/trunk/; revision=1377

16 years agoadd some debug and logging function bindings, fixes bug 531977
Marc-André Lureau [Mon, 12 May 2008 18:52:12 +0000 (18:52 +0000)]
add some debug and logging function bindings, fixes bug 531977

2008-05-12  Marc-André Lureau  <marcandre.lureau@gmail.com>

* vapi/glib-2.0.vapi: add some debug and logging function
bindings, fixes bug 531977

svn path=/trunk/; revision=1376

16 years agofix `var' with pointer types, fixes bug 527779
Juerg Billeter [Mon, 12 May 2008 15:26:33 +0000 (15:26 +0000)]
fix `var' with pointer types, fixes bug 527779

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

* gobject/valaccodegenerator.vala: fix `var' with pointer types,
fixes bug 527779

svn path=/trunk/; revision=1375

16 years agoAdd time_t and struct tm bindings, based on patch by Evan Nemerson, fixes
Juerg Billeter [Mon, 12 May 2008 15:17:01 +0000 (15:17 +0000)]
Add time_t and struct tm bindings, based on patch by Evan Nemerson, fixes

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

* vapi/glib-2.0.vapi:

Add time_t and struct tm bindings,
based on patch by Evan Nemerson, fixes bug 527778

svn path=/trunk/; revision=1374

16 years agoadd basic support for instance_pos attribute to struct creation methods,
Juerg Billeter [Mon, 12 May 2008 15:01:22 +0000 (15:01 +0000)]
add basic support for instance_pos attribute to struct creation methods,

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

* gobject/valaccodegenerator.vala: add basic support for
instance_pos attribute to struct creation methods, fixes bug 530774

svn path=/trunk/; revision=1373

16 years agofix double properties
Juerg Billeter [Sun, 11 May 2008 16:24:16 +0000 (16:24 +0000)]
fix double properties

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

* gobject/valaccodetypesymbolbinding.vala: fix double properties

svn path=/trunk/; revision=1372

16 years agoFix syntax error in .vapi file when using string literal as default
Juerg Billeter [Sun, 11 May 2008 14:02:03 +0000 (14:02 +0000)]
Fix syntax error in .vapi file when using string literal as default

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

* vala/valastringliteral.vala:

Fix syntax error in .vapi file when using string literal as default
argument, patch by Jared Moore, fixes bug 532564

svn path=/trunk/; revision=1371

16 years agoFix crash when opening output file fails, fixes bug 466573
Juerg Billeter [Sun, 11 May 2008 13:57:44 +0000 (13:57 +0000)]
Fix crash when opening output file fails, fixes bug 466573

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

* ccode/valaccodewriter.vala:
* gobject/valaccodegeneratorsourcefile.vala:

Fix crash when opening output file fails, fixes bug 466573

svn path=/trunk/; revision=1370

16 years agofix freeing nested GLists and GSLists, fixes bug 443514
Juerg Billeter [Sun, 11 May 2008 13:42:49 +0000 (13:42 +0000)]
fix freeing nested GLists and GSLists, fixes bug 443514

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

* gobject/valaccodegenerator.vala: fix freeing nested GLists and
GSLists, fixes bug 443514

svn path=/trunk/; revision=1369

16 years agoremove obsolete GList copy code
Juerg Billeter [Sun, 11 May 2008 13:09:28 +0000 (13:09 +0000)]
remove obsolete GList copy code

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

* gobject/valaccodegenerator.vala: remove obsolete GList copy code

svn path=/trunk/; revision=1368

16 years agoUse correct marshaller for string arrays, patch by Ali Sabil, fixes bug
Juerg Billeter [Sun, 11 May 2008 12:40:08 +0000 (12:40 +0000)]
Use correct marshaller for string arrays, patch by Ali Sabil, fixes bug

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

* gobject/valaccodegeneratorsignal.vala:

Use correct marshaller for string arrays,
patch by Ali Sabil, fixes bug 531251

svn path=/trunk/; revision=1367

16 years agoSet appropriate static type for field prototypes, fixes bug 532314
Juerg Billeter [Sun, 11 May 2008 12:32:06 +0000 (12:32 +0000)]
Set appropriate static type for field prototypes, fixes bug 532314

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

* vala/Makefile.am:
* vala/valafieldprototype.vala:
* vala/valasemanticanalyzer.vala:

Set appropriate static type for field prototypes, fixes bug 532314

svn path=/trunk/; revision=1366

16 years agospecify free functions, fixes bug 531631
Juerg Billeter [Sun, 11 May 2008 11:10:52 +0000 (11:10 +0000)]
specify free functions, fixes bug 531631

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

* vapi/libxml-2.0.vapi: specify free functions, fixes bug 531631

svn path=/trunk/; revision=1365

16 years agofix assignment of integer literals to derived integer types, fixes bug
Juerg Billeter [Sun, 11 May 2008 11:06:29 +0000 (11:06 +0000)]
fix assignment of integer literals to derived integer types, fixes bug

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

* vala/valaintegertype.vala: fix assignment of integer literals to
derived integer types, fixes bug 530809

svn path=/trunk/; revision=1364

16 years agofix gtk_message_dialog_new* bindings, fixes bug 531628
Juerg Billeter [Sun, 11 May 2008 10:55:05 +0000 (10:55 +0000)]
fix gtk_message_dialog_new* bindings, fixes bug 531628

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

* vapi/packages/gtk+-2.0/: fix gtk_message_dialog_new* bindings,
fixes bug 531628

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1363

16 years agoMove dynamic module loading support into separate VAPI file and improve
Juerg Billeter [Sun, 11 May 2008 10:38:12 +0000 (10:38 +0000)]
Move dynamic module loading support into separate VAPI file and improve

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

* vapi/Makefile.am:
* vapi/glib-2.0.vapi:
* vapi/gmodule-2.0.vapi:
* vapi/gstreamer-0.10.deps:

Move dynamic module loading support into separate VAPI file and
improve bindings, fixes bug 531583

svn path=/trunk/; revision=1362

16 years agoadd g_strv_length binding
Juerg Billeter [Sun, 11 May 2008 06:50:59 +0000 (06:50 +0000)]
add g_strv_length binding

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

* vapi/glib-2.0.vapi: add g_strv_length binding

svn path=/trunk/; revision=1361

16 years agoremove obsolete InstanceLast attributes
Juerg Billeter [Sun, 11 May 2008 06:46:35 +0000 (06:46 +0000)]
remove obsolete InstanceLast attributes

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

* vapi/glib-2.0.vapi: remove obsolete InstanceLast attributes

svn path=/trunk/; revision=1360

16 years agofix crash on invalid code, fixes bug 531034
Juerg Billeter [Sat, 10 May 2008 22:27:38 +0000 (22:27 +0000)]
fix crash on invalid code, fixes bug 531034

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

* vala/valaparser.vala: fix crash on invalid code, fixes bug 531034

svn path=/trunk/; revision=1359

16 years agofix g_io_channel_set_encoding binding, fixes bug 530926
Juerg Billeter [Sat, 10 May 2008 22:13:37 +0000 (22:13 +0000)]
fix g_io_channel_set_encoding binding, fixes bug 530926

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

* vapi/glib-2.0.vapi: fix g_io_channel_set_encoding binding,
fixes bug 530926

svn path=/trunk/; revision=1358

16 years agosupport base types for structs
Juerg Billeter [Sat, 10 May 2008 21:45:23 +0000 (21:45 +0000)]
support base types for structs

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

* vala/valainterfacewriter.vala: support base types for structs

* vapi/packages/gstreamer-0.10/: fix GstClockTime and
GstClockTimeDiff bindings, fixes bug 530809

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1357

16 years agoAdd an empty line after struct declaration to please gtk-doc, fixes bug
Marc-André Lureau [Sat, 10 May 2008 21:39:27 +0000 (21:39 +0000)]
Add an empty line after struct declaration to please gtk-doc, fixes bug

2008-05-11  Marc-André Lureau  <marcandre.lureau@gmail.com>

* ccode/valaccodestruct.vala:

Add an empty line after struct declaration to please gtk-doc,
fixes bug 532350

svn path=/trunk/; revision=1356

16 years agoFix connecting to the same dynamic signal multiple times, patch by Yu
Juerg Billeter [Sat, 10 May 2008 21:09:10 +0000 (21:09 +0000)]
Fix connecting to the same dynamic signal multiple times, patch by Yu

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

* gobject/valaccodedynamicsignalbinding.vala:

Fix connecting to the same dynamic signal multiple times,
patch by Yu Feng, fixes bug 532053

svn path=/trunk/; revision=1355

16 years agoFix `namespace Foo.Bar {...}' parsing, fixes bug 531379
Juerg Billeter [Sat, 10 May 2008 16:22:50 +0000 (16:22 +0000)]
Fix `namespace Foo.Bar {...}' parsing, fixes bug 531379

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

* vala/valaparser.vala:

Fix `namespace Foo.Bar {...}' parsing, fixes bug 531379

svn path=/trunk/; revision=1354

16 years agoSupport cname attribute for enum values, patch by Jared Moore, fixes bug
Juerg Billeter [Sat, 10 May 2008 14:55:38 +0000 (14:55 +0000)]
Support cname attribute for enum values, patch by Jared Moore, fixes bug

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

* vala/valaattributeprocessor.vala:
* vala/valaenumvalue.vala:

Support cname attribute for enum values,
patch by Jared Moore, fixes bug 529288

svn path=/trunk/; revision=1353

16 years agoFix gtk_dialog_new_with_buttons and gtk_file_chooser_dialog_new* bindings,
Juerg Billeter [Sat, 10 May 2008 14:50:35 +0000 (14:50 +0000)]
Fix gtk_dialog_new_with_buttons and gtk_file_chooser_dialog_new* bindings,

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

* vapi/packages/gtk+-2.0/:

Fix gtk_dialog_new_with_buttons and gtk_file_chooser_dialog_new*
bindings, patch by Nicolas Joseph, fixes bug 531436

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1352

16 years agoFix GstBuffer.data binding, patch by Jaap A. Haitsma, fixes bug 531431
Juerg Billeter [Sat, 10 May 2008 14:38:24 +0000 (14:38 +0000)]
Fix GstBuffer.data binding, patch by Jaap A. Haitsma, fixes bug 531431

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

* vapi/packages/gstreamer-0.10/:

Fix GstBuffer.data binding,
patch by Jaap A. Haitsma, fixes bug 531431

* vapi/gstreamer-0.10.vapi: regenerated

svn path=/trunk/; revision=1351

16 years agoFix gdk_pixbuf_new_from_data and gdk_pixbuf_save bindings, patch by Jaap
Juerg Billeter [Sat, 10 May 2008 14:29:32 +0000 (14:29 +0000)]
Fix gdk_pixbuf_new_from_data and gdk_pixbuf_save bindings, patch by Jaap

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

* vapi/packages/gdk-pixbuf-2.0/:

Fix gdk_pixbuf_new_from_data and gdk_pixbuf_save bindings,
patch by Jaap A. Haitsma, fixes bug 531412

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

svn path=/trunk/; revision=1350

16 years agoSupport `this' in struct creation methods, patch by Jared Moore, fixes bug
Juerg Billeter [Thu, 8 May 2008 21:11:17 +0000 (21:11 +0000)]
Support `this' in struct creation methods, patch by Jared Moore, fixes bug

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

* vala/valastruct.vala:

Support `this' in struct creation methods,
patch by Jared Moore, fixes bug 527770

svn path=/trunk/; revision=1349

16 years agoFix string return type for marshallers, patch by Yu Feng, fixes bug 531137
Juerg Billeter [Thu, 8 May 2008 21:02:22 +0000 (21:02 +0000)]
Fix string return type for marshallers, patch by Yu Feng, fixes bug 531137

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

* gobject/valaccodegeneratorsignal.vala:

Fix string return type for marshallers,
patch by Yu Feng, fixes bug 531137

svn path=/trunk/; revision=1348

16 years agoSupport properties in D-Bus services, based on patch by Yu Feng, fixes bug
Juerg Billeter [Thu, 8 May 2008 20:57:21 +0000 (20:57 +0000)]
Support properties in D-Bus services, based on patch by Yu Feng, fixes bug

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

* gobject/valaccodeclassbinding.vala:

Support properties in D-Bus services,
based on patch by Yu Feng, fixes bug 531132

svn path=/trunk/; revision=1347

16 years agoDon't export override methods to D-Bus, fixes bug 531135
Juerg Billeter [Thu, 8 May 2008 20:49:32 +0000 (20:49 +0000)]
Don't export override methods to D-Bus, fixes bug 531135

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

* gobject/valaccodeclassbinding.vala:

Don't export override methods to D-Bus, fixes bug 531135

svn path=/trunk/; revision=1346

16 years agoAdd dbus_g_connection_lookup_g_object and dbus_g_proxy_get_* bindings,
Juerg Billeter [Thu, 8 May 2008 20:23:32 +0000 (20:23 +0000)]
Add dbus_g_connection_lookup_g_object and dbus_g_proxy_get_* bindings,

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

* vapi/dbus-glib-1.vapi:

Add dbus_g_connection_lookup_g_object and dbus_g_proxy_get_*
bindings, patch by Yu Feng, fixes bug 531131

svn path=/trunk/; revision=1345

16 years agoSupport inheritance for type_id, marshaller_type_name, get_value_function,
Juerg Billeter [Thu, 8 May 2008 20:19:15 +0000 (20:19 +0000)]
Support inheritance for type_id, marshaller_type_name, get_value_function,

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

* vala/valastruct.vala:
* gobject/valaccodetypesymbolbinding.vala:

Support inheritance for type_id, marshaller_type_name,
get_value_function, and set_value_function

* vapi/glib-2.0.vapi:

Set type_id, marshaller_type_name, get_value_function, and
set_value_function for uint32, fixes bug 530603

svn path=/trunk/; revision=1344

16 years agoadd SDL ActiveState enum, patch by Levi Bard, fixes bug 530429
Juerg Billeter [Thu, 8 May 2008 19:14:01 +0000 (19:14 +0000)]
add SDL ActiveState enum, patch by Levi Bard, fixes bug 530429

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

* vapi/sdl.vapi: add SDL ActiveState enum,
patch by Levi Bard, fixes bug 530429

svn path=/trunk/; revision=1343

16 years agoReport error when trying to create instance of static class, patch by
Juerg Billeter [Thu, 8 May 2008 19:09:25 +0000 (19:09 +0000)]
Report error when trying to create instance of static class, patch by

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

* vala/valasemanticanalyzer.vala:

Report error when trying to create instance of static class,
patch by Andreas Brauchli, fixes bug 516779

svn path=/trunk/; revision=1342

16 years agoCheck number of type arguments in object creation expression, patch by
Juerg Billeter [Thu, 8 May 2008 19:01:40 +0000 (19:01 +0000)]
Check number of type arguments in object creation expression, patch by

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

* vala/valasemanticanalyzer.vala:
* vala/valastruct.vala:

Check number of type arguments in object creation expression,
patch by Andreas Brauchli, fixes bug 528833

svn path=/trunk/; revision=1341

16 years agoreviewed by: Jürg Billeter
Jaap A. Haitsma [Thu, 8 May 2008 06:10:06 +0000 (06:10 +0000)]
reviewed by: Jürg Billeter

2008-05-08  Jaap A. Haitsma  <jaap@haitsma.org>

reviewed by: Jürg Billeter

* vapi/hal.vapi:
Also return length in string array returned from
libhal_find_device_by_capability. Fixes bug #530738

svn path=/trunk/; revision=1340

16 years agoSupport signals in D-Bus services, patch by Yu Feng
Juerg Billeter [Wed, 7 May 2008 20:21:05 +0000 (20:21 +0000)]
Support signals in D-Bus services, patch by Yu Feng

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

* gobject/valaccodeclassbinding.vala:

Support signals in D-Bus services, patch by Yu Feng

svn path=/trunk/; revision=1339

16 years agoSupport custom cname for structs in InterfaceWriter
Juerg Billeter [Sat, 3 May 2008 12:04:49 +0000 (12:04 +0000)]
Support custom cname for structs in InterfaceWriter

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

* vala/valainterfacewriter.vala:
* vala/valastruct.vala:

Support custom cname for structs in InterfaceWriter

svn path=/trunk/; revision=1338

16 years agoinherit integer_type and floating_type, fixes bug 530600
Juerg Billeter [Fri, 2 May 2008 21:03:36 +0000 (21:03 +0000)]
inherit integer_type and floating_type, fixes bug 530600

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

* vala/valastruct.vala: inherit integer_type and floating_type,
fixes bug 530600

svn path=/trunk/; revision=1337

16 years agoFix crash when using arrays in D-Bus services, fixes bug 530455
Juerg Billeter [Fri, 2 May 2008 20:58:58 +0000 (20:58 +0000)]
Fix crash when using arrays in D-Bus services, fixes bug 530455

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

* vala/valaarraytype.vala:
* vala/valadatatype.vala:
* gobject/valaccodegeneratorsignal.vala:

Fix crash when using arrays in D-Bus services, fixes bug 530455

svn path=/trunk/; revision=1336

16 years agoimplement replace_expression
Juerg Billeter [Fri, 2 May 2008 20:58:00 +0000 (20:58 +0000)]
implement replace_expression

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

* vala/valainitializerlist.vala: implement replace_expression

svn path=/trunk/; revision=1335

16 years agoFix error handling in catch and finally clauses, fixes bug 530212
Juerg Billeter [Fri, 2 May 2008 20:36:49 +0000 (20:36 +0000)]
Fix error handling in catch and finally clauses, fixes bug 530212

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

* vala/valacatchclause.vala:
* gobject/valaccodegenerator.vala:

Fix error handling in catch and finally clauses, fixes bug 530212

svn path=/trunk/; revision=1334

16 years agofix g_rand*_int and g_rand*_double bindings, patch Ondrej Jirman, fixes
Juerg Billeter [Fri, 2 May 2008 19:31:06 +0000 (19:31 +0000)]
fix g_rand*_int and g_rand*_double bindings, patch Ondrej Jirman, fixes

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

* vapi/glib-2.0.vapi: fix g_rand*_int and g_rand*_double bindings,
patch Ondrej Jirman, fixes bug 530207

svn path=/trunk/; revision=1333

16 years agoDo not add duplicate symbols, patch by Etienne Bersac, fixes bug 528254
Juerg Billeter [Fri, 2 May 2008 19:00:33 +0000 (19:00 +0000)]
Do not add duplicate symbols, patch by Etienne Bersac, fixes bug 528254

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

* gobject-introspection/scanner.c: (g_igenerator_add_symbol):

Do not add duplicate symbols,
patch by Etienne Bersac, fixes bug 528254

svn path=/trunk/; revision=1332

16 years agoExtend types section, based on patch by Phil Housley
Juerg Billeter [Thu, 1 May 2008 17:12:01 +0000 (17:12 +0000)]
Extend types section, based on patch by Phil Housley

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

* doc/vala/types.xml:
* doc/vala/default.css:
* doc/vala/xhtml.xsl:

Extend types section, based on patch by Phil Housley

svn path=/trunk/; revision=1331

16 years agoFix crash when using errordomain methods, based on patch by Phil Housley,
Juerg Billeter [Thu, 1 May 2008 13:51:58 +0000 (13:51 +0000)]
Fix crash when using errordomain methods, based on patch by Phil Housley,

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

* vala/valacfgbuilder.vala:
* vala/valanullchecker.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasymbolresolver.vala:
* vapigen/valagidlparser.vala:

Fix crash when using errordomain methods,
based on patch by Phil Housley, fixes bug 530537

svn path=/trunk/; revision=1330

16 years agofix GdkEvent* bindings
Juerg Billeter [Mon, 28 Apr 2008 21:23:55 +0000 (21:23 +0000)]
fix GdkEvent* bindings

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

* vapi/packages/gdk-2.0/: fix GdkEvent* bindings

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

svn path=/trunk/; revision=1329

16 years agofix sexy_icon_entry_set_icon binding, patch by Evan Nemerson
Juerg Billeter [Mon, 28 Apr 2008 20:47:47 +0000 (20:47 +0000)]
fix sexy_icon_entry_set_icon binding, patch by Evan Nemerson

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

* vapi/packages/libsexy/: fix sexy_icon_entry_set_icon binding,
patch by Evan Nemerson

* vapi/libsexy.vapi: regenerated

svn path=/trunk/; revision=1328

16 years agofix gtk_box_query_child_packing binding, patch by Evan Nemerson
Juerg Billeter [Mon, 28 Apr 2008 20:44:42 +0000 (20:44 +0000)]
fix gtk_box_query_child_packing binding, patch by Evan Nemerson

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

* vapi/packages/gtk+-2.0/: fix gtk_box_query_child_packing binding,
patch by Evan Nemerson

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1327

16 years agoFix generic type arguments in to_string()
Juerg Billeter [Sun, 27 Apr 2008 08:23:51 +0000 (08:23 +0000)]
Fix generic type arguments in to_string()

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

* vala/valadatatype.vala:

Fix generic type arguments in to_string()

svn path=/trunk/; revision=1326

16 years agoFix crash when using abstract properties
Juerg Billeter [Sat, 26 Apr 2008 20:33:19 +0000 (20:33 +0000)]
Fix crash when using abstract properties

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

* gobject/valaccodegenerator.vala:

Fix crash when using abstract properties

svn path=/trunk/; revision=1325

16 years agoBuild executable by default
Juerg Billeter [Sat, 26 Apr 2008 16:54:01 +0000 (16:54 +0000)]
Build executable by default

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

* compiler/valacompiler.vala:

Build executable by default

* ccode/Makefile.am:
* compiler/Makefile.am:
* gee/Makefile.am:
* gen-project/Makefile.am:
* gobject/Makefile.am:
* tests/testrunner.sh:
* vala/Makefile.am:
* vapigen/Makefile.am:

Update build system to use -C

svn path=/trunk/; revision=1324

16 years agoAlways initialize local array length variables, fixes bug 529863
Juerg Billeter [Sat, 26 Apr 2008 14:30:01 +0000 (14:30 +0000)]
Always initialize local array length variables, fixes bug 529863

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

* gobject/valaccodegenerator.vala:

Always initialize local array length variables, fixes bug 529863

svn path=/trunk/; revision=1323

16 years agoFix handling of const types, fixes bug 529851
Juerg Billeter [Sat, 26 Apr 2008 14:11:16 +0000 (14:11 +0000)]
Fix handling of const types, fixes bug 529851

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

* vala/valaarraytype.vala:
* vala/valaclassinstancetype.vala:
* vala/valaclasstype.vala:
* vala/valadatatype.vala:
* vala/valadelegatetype.vala:
* vala/valaerrortype.vala:
* vala/valainterfaceinstancetype.vala:
* vala/valainterfacetype.vala:
* vala/valamethodtype.vala:
* vala/valanulltype.vala:
* vala/valapointertype.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasymbolresolver.vala:
* vala/valatypeparametertype.vala:
* vala/valavaluetype.vala:
* vala/valavoidtype.vala:
* gobject/valaccodegenerator.vala:

Fix handling of const types, fixes bug 529851

svn path=/trunk/; revision=1322

16 years agofix dbus strv handler argument order, fixes bug 528412
Marc-André Lureau [Sat, 26 Apr 2008 11:31:03 +0000 (11:31 +0000)]
fix dbus strv handler argument order, fixes bug 528412

2008-04-26  Marc-André Lureau  <marcandre.lureau@gmail.com>

* gobject/valaccodedynamicmethodbinding.vala: fix dbus strv
handler argument order, fixes bug 528412

svn path=/trunk/; revision=1321

16 years agoadd g_get_tmp_dir binding, patch by Nicolas Joseph, fixes bug 529776
Juerg Billeter [Sat, 26 Apr 2008 08:50:48 +0000 (08:50 +0000)]
add g_get_tmp_dir binding, patch by Nicolas Joseph, fixes bug 529776

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

* vapi/glib-2.0.vapi: add g_get_tmp_dir binding,
patch by Nicolas Joseph, fixes bug 529776

svn path=/trunk/; revision=1320

16 years agofix gtk_image_* and gtk_icon_size_* bindings, patch by Nicolas Joseph,
Juerg Billeter [Sat, 26 Apr 2008 08:08:17 +0000 (08:08 +0000)]
fix gtk_image_* and gtk_icon_size_* bindings, patch by Nicolas Joseph,

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

* vapi/packages/gtk+-2.0/: fix gtk_image_* and gtk_icon_size_*
bindings, patch by Nicolas Joseph, fixes bug 529770

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1319

16 years agoFix `char' properties, fixes bug 529604
Juerg Billeter [Sat, 26 Apr 2008 07:56:21 +0000 (07:56 +0000)]
Fix `char' properties, fixes bug 529604

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

* gobject/valaccodegenerator.vala:
* gobject/valaccodetypesymbolbinding.vala:

Fix `char' properties, fixes bug 529604

svn path=/trunk/; revision=1318

16 years agoFix DBus services with multiple methods, fixes bug 529571
Juerg Billeter [Sat, 26 Apr 2008 07:48:11 +0000 (07:48 +0000)]
Fix DBus services with multiple methods, fixes bug 529571

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

* gobject/valaccodeclassbinding.vala:

Fix DBus services with multiple methods, fixes bug 529571

svn path=/trunk/; revision=1317

16 years agoSupport catch clauses without error variable, fixes bug 529539
Juerg Billeter [Sat, 26 Apr 2008 07:39:28 +0000 (07:39 +0000)]
Support catch clauses without error variable, fixes bug 529539

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

* vala/valacatchclause.vala:
* gobject/valaccodegenerator.vala:

Support catch clauses without error variable, fixes bug 529539

svn path=/trunk/; revision=1316

16 years agoRespect nested namespaces when merging namespaces, fixes bug 529438
Juerg Billeter [Sat, 26 Apr 2008 07:29:51 +0000 (07:29 +0000)]
Respect nested namespaces when merging namespaces, fixes bug 529438

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

* vala/valanamespace.vala:
* vala/valaparser.vala:

Respect nested namespaces when merging namespaces, fixes bug 529438

svn path=/trunk/; revision=1315

16 years agofix g_key_file_to_data binding, patch by Daniel Svensson
Juerg Billeter [Thu, 24 Apr 2008 20:37:11 +0000 (20:37 +0000)]
fix g_key_file_to_data binding, patch by Daniel Svensson

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

* vapi/glib-2.0.vapi: fix g_key_file_to_data binding,
  patch by Daniel Svensson

svn path=/trunk/; revision=1314

16 years agonullable and generic type fixes, patch by Daniel Svensson
Juerg Billeter [Thu, 24 Apr 2008 20:35:06 +0000 (20:35 +0000)]
nullable and generic type fixes, patch by Daniel Svensson

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

* vapi/packages/gtk+-2.0/: nullable and generic type fixes,
  patch by Daniel Svensson

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1313

16 years agore-add support for pre- and postconditions
Juerg Billeter [Wed, 23 Apr 2008 21:12:33 +0000 (21:12 +0000)]
re-add support for pre- and postconditions

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

* vala/valaparser.vala: re-add support for pre- and postconditions

svn path=/trunk/; revision=1312

16 years agofix g_signal_* bindings, patch by Evan Nemerson
Juerg Billeter [Wed, 23 Apr 2008 20:27:26 +0000 (20:27 +0000)]
fix g_signal_* bindings, patch by Evan Nemerson

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

* vapi/glib-2.0.vapi: fix g_signal_* bindings,
patch by Evan Nemerson

svn path=/trunk/; revision=1311

16 years agoDon't cast out arguments
Juerg Billeter [Wed, 23 Apr 2008 20:24:24 +0000 (20:24 +0000)]
Don't cast out arguments

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

* gobject/valaccodeinvocationexpressionbinding.vala:
Don't cast out arguments

svn path=/trunk/; revision=1310

16 years agoAdd support for class constructors, class fields, and class methods, fixes
Juerg Billeter [Wed, 23 Apr 2008 20:14:12 +0000 (20:14 +0000)]
Add support for class constructors, class fields, and class methods, fixes

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

Add support for class constructors, class fields, and class
methods, fixes bug 507136

svn path=/trunk/; revision=1309

16 years agoFix nested namespaces
Juerg Billeter [Wed, 23 Apr 2008 12:38:14 +0000 (12:38 +0000)]
Fix nested namespaces

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

* vala/valaparser.vala:
Fix nested namespaces

svn path=/trunk/; revision=1308

16 years agoFix criticals when using for statements without condition
Juerg Billeter [Wed, 23 Apr 2008 11:24:24 +0000 (11:24 +0000)]
Fix criticals when using for statements without condition

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

* vala/valaforstatement.vala:
* ccode/valaccodeforstatement.vala:
Fix criticals when using for statements without condition

svn path=/trunk/; revision=1307

16 years agoAdd support for delegate_target_pos metadata attribute
Juerg Billeter [Wed, 23 Apr 2008 11:20:24 +0000 (11:20 +0000)]
Add support for delegate_target_pos metadata attribute

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

* vala/valaenum.vala:
* vapigen/valagidlparser.vala:
Add support for delegate_target_pos metadata attribute

svn path=/trunk/; revision=1306

16 years agomark enums as public, patch by Evan Nemerson
Juerg Billeter [Mon, 21 Apr 2008 22:13:33 +0000 (22:13 +0000)]
mark enums as public, patch by Evan Nemerson

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

* vapi/libftdi.vapi: mark enums as public, patch by Evan Nemerson

svn path=/trunk/; revision=1305

16 years agoPost-release version bump
Juerg Billeter [Mon, 21 Apr 2008 22:10:17 +0000 (22:10 +0000)]
Post-release version bump

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

* configure.ac: Post-release version bump

svn path=/trunk/; revision=1304

16 years agoupdate for 0.3.1 release VALA_0_3_1
Juerg Billeter [Mon, 21 Apr 2008 22:08:36 +0000 (22:08 +0000)]
update for 0.3.1 release

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

* NEWS: update for 0.3.1 release

svn path=/trunk/; revision=1302

16 years agosupport enum value attributes
Juerg Billeter [Mon, 21 Apr 2008 21:54:17 +0000 (21:54 +0000)]
support enum value attributes

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

* vala/valaparser.vala: support enum value attributes

svn path=/trunk/; revision=1301

16 years agomore binding fixes
Juerg Billeter [Mon, 21 Apr 2008 21:43:47 +0000 (21:43 +0000)]
more binding fixes

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

* vapi/packages/gtk+-2.0/: more binding fixes

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1300

16 years agoVarious minor binding fixes
Juerg Billeter [Mon, 21 Apr 2008 20:18:44 +0000 (20:18 +0000)]
Various minor binding fixes

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

* vapi/enchant.vapi:
* vapi/glib-2.0.vapi:
* vapi/hal.vapi:
* vapi/packages/gtk+-2.0/:
* vapi/packages/hildon-fm-2/:

Various minor binding fixes

* vapi/gdk-x11-2.0.vapi:
* vapi/gtk+-2.0.vapi:
* vapi/hildon-fm-2.vapi:

Regenerated

svn path=/trunk/; revision=1299

16 years agogenerate unique names for wrapper methods, fixes bug 529251
Juerg Billeter [Mon, 21 Apr 2008 19:57:39 +0000 (19:57 +0000)]
generate unique names for wrapper methods, fixes bug 529251

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

* vala/valadynamicmethod.vala: generate unique names for wrapper
  methods, fixes bug 529251

svn path=/trunk/; revision=1298

16 years agofix glade_xml_construct binding, patch by Christian Meyer
Juerg Billeter [Mon, 21 Apr 2008 19:41:45 +0000 (19:41 +0000)]
fix glade_xml_construct binding, patch by Christian Meyer

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

* vapi/packages/libglade-2.0/: fix glade_xml_construct binding,
  patch by Christian Meyer

svn path=/trunk/; revision=1297

16 years agoadd libsexy bindings, patch by Evan Nemerson, fixes bug 528314
Juerg Billeter [Mon, 21 Apr 2008 19:37:23 +0000 (19:37 +0000)]
add libsexy bindings, patch by Evan Nemerson, fixes bug 528314

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

* vapi/Makefile.am, vapi/libsexy.deps, vapi/libsexy.vapi,
  vapi/packages/libsexy/: add libsexy bindings,
  patch by Evan Nemerson, fixes bug 528314

svn path=/trunk/; revision=1296

16 years agoaccept lower-case suffixes for integer and real literals, based on patch
Juerg Billeter [Mon, 21 Apr 2008 19:27:00 +0000 (19:27 +0000)]
accept lower-case suffixes for integer and real literals, based on patch

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

* vala/valaintegerliteral.vala, vala/valarealliteral.vala:
  accept lower-case suffixes for integer and real literals,
  based on patch by Jaap A. Haitsma, fixes bug 528968

svn path=/trunk/; revision=1295

16 years agofix GFileMonitor::changed binding
Juerg Billeter [Mon, 21 Apr 2008 19:21:44 +0000 (19:21 +0000)]
fix GFileMonitor::changed binding

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

* vapi/packages/gio-2.0/: fix GFileMonitor::changed binding

* vapi/gio-2.0.vapi: regenerated

svn path=/trunk/; revision=1294

16 years agofix critical on invalid code, fixes bug 529177
Juerg Billeter [Mon, 21 Apr 2008 19:19:30 +0000 (19:19 +0000)]
fix critical on invalid code, fixes bug 529177

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

* gobject/valaccodegenerator.vala: fix critical on invalid code,
  fixes bug 529177

svn path=/trunk/; revision=1293

16 years agofix struct instance methods, fixes bug 529183
Juerg Billeter [Mon, 21 Apr 2008 19:13:51 +0000 (19:13 +0000)]
fix struct instance methods, fixes bug 529183

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

* gobject/valaccodeinvocationexpressionbinding.vala: fix struct
  instance methods, fixes bug 529183

svn path=/trunk/; revision=1292

16 years agoallow assigning construct-only properties in constructors, fixes bug
Juerg Billeter [Mon, 21 Apr 2008 19:09:28 +0000 (19:09 +0000)]
allow assigning construct-only properties in constructors, fixes bug

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

* vala/valasemanticanalyzer.vala: allow assigning construct-only
  properties in constructors, fixes bug 529222

svn path=/trunk/; revision=1291

16 years agoFix element access for libgee collections
Juerg Billeter [Mon, 21 Apr 2008 06:17:21 +0000 (06:17 +0000)]
Fix element access for libgee collections

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

* vala/valasemanticanalyzer.vala:
* gobject/valaccodeassignmentbinding.vala:
* gobject/valaccodeelementaccessbinding.vala:

Fix element access for libgee collections

svn path=/trunk/; revision=1290

16 years agoAdd experimental D-Bus server support
Juerg Billeter [Sun, 20 Apr 2008 21:42:04 +0000 (21:42 +0000)]
Add experimental D-Bus server support

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

* vala/valaclass.vala, vala/valadatatype.vala,
  vala/valastruct.vala, vala/valatypesymbol.vala,
  gobject/valaccodeclassbinding.vala,
  gobject/valaccodedynamicsignalbinding.vala,
  gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratorsignal.vala,
  gobject/valaccodegeneratorsourcefile.vala,
  gobject/valaccodetypesymbolbinding.vala, vapi/dbus-glib-1.vapi,
  vapi/glib-2.0.vapi:

  Add experimental D-Bus server support

svn path=/trunk/; revision=1289

16 years agoImprove support for dynamic types, add `dynamic' type modifier, port
Juerg Billeter [Sun, 20 Apr 2008 18:50:28 +0000 (18:50 +0000)]
Improve support for dynamic types, add `dynamic' type modifier, port

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

* vala/Makefile.am, vala/valaclasstype.vala,
  vala/valacodecontext.vala, vala/valacodegenerator.vala,
  vala/valadatatype.vala, vala/valadynamicmethod.vala,
  vala/valadynamicsignal.vala, vala/valainterface.vala,
  vala/valainterfacetype.vala, vala/valamethod.vala,
  vala/valamethodtype.vala, vala/valaparser.vala,
  vala/valascanner.vala, vala/valasemanticanalyzer.vala,
  vala/valasymbolresolver.vala, vala/valatokentype.vala,
  vala/valaunresolvedtype.vala, vala/valavaluetype.vala,
  gobject/Makefile.am, gobject/valaccodeassignmentbinding.vala,
  gobject/valaccodebinding.vala,
  gobject/valaccodedynamicmethodbinding.vala,
  gobject/valaccodedynamicsignalbinding.vala,
  gobject/valaccodegenerator.vala,
  gobject/valaccodegeneratorsourcefile.vala,
  gobject/valaccodeinterfacebinding.vala,
  gobject/valaccodeinvocationexpressionbinding.vala,
  gobject/valaccodemethodbinding.vala, compiler/valacompiler.vala,
  vapi/dbus-glib-1.vapi:

  Improve support for dynamic types, add `dynamic' type modifier,
  port dynamic D-Bus client support

svn path=/trunk/; revision=1288

16 years agofix GtkDialog.vbox binding
Juerg Billeter [Sun, 20 Apr 2008 13:24:54 +0000 (13:24 +0000)]
fix GtkDialog.vbox binding

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

* vapi/packages/gtk+-2.0/: fix GtkDialog.vbox binding

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1287

16 years agoReplace [Import] attribute by `extern' keyword, rename `is_imported'
Juerg Billeter [Sun, 20 Apr 2008 13:09:27 +0000 (13:09 +0000)]
Replace [Import] attribute by `extern' keyword, rename `is_imported'

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

* vala/valacfgbuilder.vala, vala/valaclass.vala,
  vala/valacodecontext.vala, vala/valainterfacewriter.vala,
  vala/valamember.vala, vala/valamemorymanager.vala,
  vala/valamethod.vala, vala/valanamespace.vala,
  vala/valaparser.vala, vala/valascanner.vala,
  vala/valasemanticanalyzer.vala, vala/valasourcefile.vala,
  vala/valasymbol.vala, vala/valatokentype.vala,
  vala/valatypesymbol.vala, gobject/valaccodecompiler.vala,
  gobject/valaccodegenerator.vala, gobject/valagidlwriter.vala,
  vapigen/valagidlparser.vala, vapi/packages/gnome-keyring-1/,
  vapi/packages/gstreamer-0.10/, vapi/packages/gtk+-2.0/,
  vapi/packages/libgnome-menu/, vapi/packages/pango/:

  Replace [Import] attribute by `extern' keyword, rename
  `is_imported' property to `external' and `pkg' property to
  `external_package' to harmonize used terms, fixes bug 480253

svn path=/trunk/; revision=1286

16 years agofix GtkBuilderError binding
Juerg Billeter [Sun, 20 Apr 2008 11:09:11 +0000 (11:09 +0000)]
fix GtkBuilderError binding

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

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

* vapi/gtk+-2.0.vapi: regenerated

svn path=/trunk/; revision=1285

16 years agosupport using lambda expressions with instance delegates
Juerg Billeter [Sun, 20 Apr 2008 11:06:11 +0000 (11:06 +0000)]
support using lambda expressions with instance delegates

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

* gobject/valaccodegenerator.vala: support using lambda expressions
  with instance delegates

svn path=/trunk/; revision=1284