]>
git.ipfire.org Git - thirdparty/vala.git/log
Jürg Billeter [Sat, 7 Mar 2009 16:51:08 +0000 (17:51 +0100)]
gdk-2.0: Fix gdk_draw_rgb_image binding
Thijs Vermeir [Sat, 7 Mar 2009 11:07:27 +0000 (12:07 +0100)]
posix: Fix cname of mode_t
Thijs Vermeir [Fri, 6 Mar 2009 17:59:10 +0000 (18:59 +0100)]
posix: Remove trailing NULL from ioctl
Thijs Vermeir [Wed, 4 Mar 2009 09:24:53 +0000 (10:24 +0100)]
posix.vapi: Fix type of mode argumentent on creat function
Jukka-Pekka Iivonen [Tue, 3 Mar 2009 22:10:20 +0000 (23:10 +0100)]
Add Maemo libosso bindings
Jürg Billeter [Tue, 3 Mar 2009 17:44:46 +0000 (18:44 +0100)]
GIR parser: Add support for static methods in interfaces
Patch by Didier Villevalois, fixes part of bug 559704
Ali Sabil [Tue, 3 Mar 2009 15:26:03 +0000 (16:26 +0100)]
gstreamer-rtp-0.10: regenerated with gstreamer-0.10.21
Ali Sabil [Tue, 3 Mar 2009 15:13:04 +0000 (16:13 +0100)]
gstreamer-base-0.10: Fix GstBaseTransform.transform_size binding
Maciej Piechotka [Sat, 28 Feb 2009 22:02:08 +0000 (23:02 +0100)]
gio-2.0: Fixed GLib.DataInputStream string-reading methods
Michael 'Mickey' Lauer [Sun, 1 Mar 2009 21:08:07 +0000 (22:08 +0100)]
posix.vapi: add remaining syslog constants
Signed-off-by: Michael 'Mickey' Lauer <mlauer@vanille-media.de>
Michael 'Mickey' Lauer [Sun, 1 Mar 2009 21:01:19 +0000 (22:01 +0100)]
posix.vapi: add syslog and friends
Signed-off-by: Michael 'Mickey' Lauer <mlauer@vanille-media.de>
Michael 'Mickey' Lauer [Sun, 1 Mar 2009 15:44:35 +0000 (16:44 +0100)]
posix.vapi: open has two forms, one with a mode_t, one without
Signed-off-by: Michael 'Mickey' Lauer <mlauer@vanille-media.de>
Michael 'Mickey' Lauer [Sun, 1 Mar 2009 03:07:57 +0000 (04:07 +0100)]
glib-2.0: Fix get_system_config_dirs binding
get_system_config_dirs() needs the same treatment as get_system_data_dirs()
Signed-off-by: Michael 'Mickey' Lauer <mlauer@vanille-media.de>
Matías De la Puente [Fri, 27 Feb 2009 22:30:29 +0000 (23:30 +0100)]
libftdi: Various fixes
Mark Lee [Fri, 27 Feb 2009 22:27:04 +0000 (23:27 +0100)]
libxml-2.0: Add xmlXPathRegisterNs binding
Mark Lee [Fri, 27 Feb 2009 22:25:21 +0000 (23:25 +0100)]
glib-2.0: Add g_uri_list_extract_uris binding
Mark Lee [Fri, 27 Feb 2009 22:19:10 +0000 (23:19 +0100)]
glib-2.0: Fix g_object_get_property binding
Jürg Billeter [Fri, 27 Feb 2009 21:55:48 +0000 (22:55 +0100)]
GIR parser: Add support for unions and boxed types
Based on patch by Didier Villevalois, fixes part of bug 559704
Jürg Billeter [Fri, 27 Feb 2009 21:38:29 +0000 (22:38 +0100)]
GIR parser: Add support for package and c:include tags
Based on patch by Didier Villevalois, fixes part of bug 559704
Jürg Billeter [Fri, 27 Feb 2009 18:34:38 +0000 (19:34 +0100)]
Remove .bzrignore
Levi Bard [Fri, 27 Feb 2009 00:04:46 +0000 (01:04 +0100)]
Mark arrays as null terminated in GLib binding
Add [CCode (array_null_terminated = true)] to array parameters and
return values in glib-2.0.vapi.
Jürg Billeter [Thu, 26 Feb 2009 23:30:38 +0000 (00:30 +0100)]
Generate ChangeLog from git log
Add gitlog-to-changelog script from gnulib and a dist-hook to
generate ChangeLog file when creating tarballs.
Jürg Billeter [Fri, 20 Feb 2009 21:00:32 +0000 (21:00 +0000)]
Post-release version bump
2009-02-20 Jürg Billeter <j@bitron.ch>
* configure.ac: Post-release version bump
svn path=/trunk/; revision=2472
Jürg Billeter [Fri, 20 Feb 2009 20:57:30 +0000 (20:57 +0000)]
update for 0.5.7 release
2009-02-20 Jürg Billeter <j@bitron.ch>
* NEWS: update for 0.5.7 release
svn path=/trunk/; revision=2470
Jürg Billeter [Fri, 20 Feb 2009 20:13:34 +0000 (20:13 +0000)]
Add FUSE bindings, patch by John Carr, fixes bug 571187
2009-02-20 Jürg Billeter <j@bitron.ch>
* vapi/Makefile.am:
* vapi/fuse.deps:
* vapi/fuse.vapi:
* vapi/posix.vapi:
Add FUSE bindings, patch by John Carr, fixes bug 571187
svn path=/trunk/; revision=2469
Jürg Billeter [Fri, 20 Feb 2009 18:58:19 +0000 (18:58 +0000)]
Add g_io_add_watch_full binding, patch by Michael Lauer
2009-02-20 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi:
Add g_io_add_watch_full binding, patch by Michael Lauer
svn path=/trunk/; revision=2468
Jürg Billeter [Fri, 20 Feb 2009 18:45:06 +0000 (18:45 +0000)]
Complete GByteArray binding, patch by Michael Lauer
2009-02-20 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi:
Complete GByteArray binding, patch by Michael Lauer
svn path=/trunk/; revision=2467
Ryan Lortie [Fri, 20 Feb 2009 18:36:41 +0000 (18:36 +0000)]
vapi/gio-2.0.vapi vapi/gio-unix-2.0.vapi vapi/packages/gio-2.0/gio-2.0.gi
2009-02-20 Ryan Lortie <desrt@desrt.ca>
* vapi/gio-2.0.vapi
* vapi/gio-unix-2.0.vapi
* vapi/packages/gio-2.0/gio-2.0.gi
* vapi/packages/gio-unix-2.0/gio-unix-2.0.gi
Generate gio GIDL on a machine with my gresolver glib branch
installed. Regenerate vapi. Fixes bug 572474.
svn path=/trunk/; revision=2466
Ryan Lortie [Fri, 20 Feb 2009 18:25:23 +0000 (18:25 +0000)]
Output 'vapigen' 'gen_introspect' and 'vala_gen_introspect' variables into
2009-02-20 Ryan Lortie <desrt@desrt.ca>
* configure.ac:
* vala-1.0.pc.in:
Output 'vapigen' 'gen_introspect' and 'vala_gen_introspect' variables
into the vala-1.0.pc file if --enable-vapigen, fixes bug 572554
svn path=/trunk/; revision=2465
Jürg Billeter [Fri, 20 Feb 2009 17:04:24 +0000 (17:04 +0000)]
Support error handling when dynamically calling void methods, patch by
2009-02-20 Jürg Billeter <j@bitron.ch>
* gobject/valadbusclientmodule.vala:
Support error handling when dynamically calling void methods,
patch by Frederik Sdun, fixes bug 571258
svn path=/trunk/; revision=2464
Jürg Billeter [Fri, 20 Feb 2009 15:15:08 +0000 (15:15 +0000)]
Include unistd.h to support compilation with
2009-02-20 Jürg Billeter <j@bitron.ch>
* gobject-introspection/scanner.c:
Include unistd.h to support compilation with
-Werror-implicit-function-declaration, patch by Tobias Müller,
fixes bug 571544
svn path=/trunk/; revision=2463
Jürg Billeter [Fri, 20 Feb 2009 15:07:09 +0000 (15:07 +0000)]
Add Scope.get_symbol_table method, patch by Abderrahim Kitouni
2009-02-20 Jürg Billeter <j@bitron.ch>
* vala/valascope.vala:
Add Scope.get_symbol_table method, patch by Abderrahim Kitouni
svn path=/trunk/; revision=2462
Jürg Billeter [Fri, 20 Feb 2009 15:04:57 +0000 (15:04 +0000)]
Support context-specific error reporting and add a context stack, based on
2009-02-20 Jürg Billeter <j@bitron.ch>
* vala/valacodecontext.vala:
* vala/valareport.vala:
Support context-specific error reporting and add a context stack,
based on patch by Abderrahim Kitouni, fixes bug 542920
* vala/valagenieparser.vala:
* vala/valaparser.vala:
* gobject/valaccodebasemodule.vala:
* compiler/valacompiler.vala:
* vapigen/valavapigen.vala:
Adapt to interface changes
svn path=/trunk/; revision=2461
Jürg Billeter [Fri, 20 Feb 2009 10:13:04 +0000 (10:13 +0000)]
Add libdaemon bindings, patch by Jukka-Pekka Iivonen, fixes bug 568758
2009-02-20 Jürg Billeter <j@bitron.ch>
* vapi/Makefile.am:
* vapi/libdaemon.vapi:
Add libdaemon bindings, patch by Jukka-Pekka Iivonen,
fixes bug 568758
svn path=/trunk/; revision=2460
Jürg Billeter [Fri, 20 Feb 2009 10:07:01 +0000 (10:07 +0000)]
Add GDateDMY binding, patch by Frederik, fixes bug 568691
2009-02-20 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi:
Add GDateDMY binding, patch by Frederik, fixes bug 568691
svn path=/trunk/; revision=2459
Jürg Billeter [Fri, 20 Feb 2009 09:01:00 +0000 (09:01 +0000)]
Fix gdk_event_handler_set binding
2009-02-20 Jürg Billeter <j@bitron.ch>
* vapi/packages/gdk-2.0/:
Fix gdk_event_handler_set binding
* vapi/gdk-2.0.vapi: regenerated
svn path=/trunk/; revision=2458
Ali Sabil [Thu, 19 Feb 2009 14:19:43 +0000 (14:19 +0000)]
Various ownership and missing type parameters fixes
2009-02-19 Ali Sabil <ali.sabil@gmail.com>
* vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala:
* vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata:
Various ownership and missing type parameters fixes
* vapi/gstreamer-0.10.vapi: regenerated
svn path=/trunk/; revision=2457
Ali Sabil [Thu, 19 Feb 2009 14:12:44 +0000 (14:12 +0000)]
Support to_string attribute for enums
2009-02-19 Ali Sabil <ali.sabil@gmail.com>
* vapigen/valagidlparser.vala:
Support to_string attribute for enums
svn path=/trunk/; revision=2456
Ali Sabil [Thu, 19 Feb 2009 13:32:17 +0000 (13:32 +0000)]
Fix gst_rtp_buffer_get_extension_data binding
2009-02-19 Ali Sabil <ali.sabil@gmail.com>
* vapi/packages/gstreamer-rtp-0.10/:
Fix gst_rtp_buffer_get_extension_data binding
* vapi/gstreamer-rtp-0.10.vapi: regenerated
svn path=/trunk/; revision=2455
Ali Sabil [Thu, 19 Feb 2009 13:21:53 +0000 (13:21 +0000)]
Add byte order conversion methods to int types
2009-02-19 Ali Sabil <ali.sabil@gmail.com>
* vapi/glib-2.0.vapi:
Add byte order conversion methods to int types
svn path=/trunk/; revision=2454
Jürg Billeter [Thu, 19 Feb 2009 11:49:03 +0000 (11:49 +0000)]
Fix pango_font_description_from_string binding and support implicit copies
2009-02-19 Jürg Billeter <j@bitron.ch>
* vapi/packages/pango/:
Fix pango_font_description_from_string binding and support implicit
copies of PangoFontDescription
* vapi/pango.vapi: regenerated
svn path=/trunk/; revision=2453
Jürg Billeter [Wed, 18 Feb 2009 18:26:14 +0000 (18:26 +0000)]
Remove ParenthesizedExpression to simmplify AST
2009-02-18 Jürg Billeter <j@bitron.ch>
* vala/Makefile.am:
* vala/valaassignment.vala:
* vala/valacodevisitor.vala:
* vala/valacodewriter.vala:
* vala/valagenieparser.vala:
* vala/valaparenthesizedexpression.vala:
* vala/valaparser.vala:
* vala/valasymbolresolver.vala:
* vala/valaunaryexpression.vala:
* gobject/valaccodebasemodule.vala:
* gobject/valaccodegenerator.vala:
* gobject/valaccodemodule.vala:
Remove ParenthesizedExpression to simmplify AST
svn path=/trunk/; revision=2452
Jürg Billeter [Wed, 18 Feb 2009 10:16:34 +0000 (10:16 +0000)]
Fix gtk_tree_view_insert_column_with_data_func binding
2009-02-18 Jürg Billeter <j@bitron.ch>
* vapi/packages/gtk+-2.0/:
Fix gtk_tree_view_insert_column_with_data_func binding
* vapi/gtk+-2.0.vapi: regenerated
svn path=/trunk/; revision=2451
Jürg Billeter [Tue, 17 Feb 2009 19:33:24 +0000 (19:33 +0000)]
Support chaining up to constructors in generic classes, fixes bug 567319
2009-02-17 Jürg Billeter <j@bitron.ch>
* gobject/valaccodemethodcallmodule.vala:
Support chaining up to constructors in generic classes,
fixes bug 567319
svn path=/trunk/; revision=2450
Ali Sabil [Tue, 17 Feb 2009 11:51:19 +0000 (11:51 +0000)]
Support takes_ownership attribute for delegate parameters
2009-02-17 Ali Sabil <ali.sabil@gmail.com>
* vapigen/valagidlparser.vala:
Support takes_ownership attribute for delegate parameters
svn path=/trunk/; revision=2449
Ali Sabil [Tue, 17 Feb 2009 10:04:36 +0000 (10:04 +0000)]
regenerated
2009-02-17 Ali Sabil <ali.sabil@gmail.com>
* vapi/gstreamer-rtp-0.10.vapi: regenerated
svn path=/trunk/; revision=2448
Ali Sabil [Tue, 17 Feb 2009 10:02:57 +0000 (10:02 +0000)]
escape the dynamic keyword, and identifiers starting with a digit
2009-02-17 Ali Sabil <ali.sabil@gmail.com>
* vala/valacodewriter.vala: escape the dynamic keyword, and identifiers
starting with a digit
svn path=/trunk/; revision=2447
Ryan Lortie [Mon, 16 Feb 2009 22:17:18 +0000 (22:17 +0000)]
Add support for a 'use_const' CCode attribute and GIDL XML attribute that,
2009-02-17 Ryan Lortie <desrt@desrt.ca>
* gobject/valaccodebasemodule.vala:
* vala/valacodewriter.vala:
* vala/valastruct.vala:
* vapigen/valagidlparser.vala:
Add support for a 'use_const' CCode attribute and GIDL XML attribute
that, when set to false, causes Vala not to emit the 'const' modifier
on structure type input arguments. This is useful for structure types
that, by convention, are not used with const (eg: GtkTreeIter).
* vapi/packages/gtk+-2.0/gtk+-2.0.metadata:
* vapi/gtk+-2.0.vapi:
Add 'use_const' for GtkTreeIter to the gtk+-2.0 metadata. Regenerate
vapi.
svn path=/trunk/; revision=2446
Ryan Lortie [Mon, 16 Feb 2009 16:49:21 +0000 (16:49 +0000)]
only use g_value_set_pointer if the GType of a class is G_TYPE_POINTER;
2009-02-16 Ryan Lortie <desrt@desrt.ca>
* vala/valaclass.vala: only use g_value_set_pointer if the GType of a
class is G_TYPE_POINTER; else use g_value_set_boxed.
svn path=/trunk/; revision=2445
Ryan Lortie [Mon, 16 Feb 2009 09:52:24 +0000 (09:52 +0000)]
remove the dummy-object hack since gio now supports NULL source objects
2009-02-16 Ryan Lortie <desrt@desrt.ca>
* gobject/valagasyncmodule.vala: remove the dummy-object hack since
gio now supports NULL source objects for GSimpleAsyncResult
svn path=/trunk/; revision=2444
Ryan Lortie [Sat, 14 Feb 2009 18:59:48 +0000 (18:59 +0000)]
thanks juergbi :)
svn path=/trunk/; revision=2443
Ryan Lortie [Sat, 14 Feb 2009 12:00:12 +0000 (12:00 +0000)]
Split method code generation into many smaller functions. Enable
2009-02-14 Ryan Lortie <desrt@desrt.ca>
* gobject/valagasyncmodule.vala:
Split method code generation into many smaller functions. Enable
experimental generation of synchronous code.
svn path=/trunk/; revision=2442
Jürg Billeter [Fri, 13 Feb 2009 23:37:56 +0000 (23:37 +0000)]
Nullable fixes, patch by Mark Lee, fixes bug 571407
2009-02-14 Jürg Billeter <j@bitron.ch>
* vapi/packages/gdk-2.0/:
* vapi/packages/gtk+-2.0/:
* vapi/packages/libsoup-2.4/:
Nullable fixes, patch by Mark Lee, fixes bug 571407
* vapi/gdk-2.0.vapi:
* vapi/gtk+-2.0.vapi:
* vapi/libsoup-2.4.vapi:
Regenerated
svn path=/trunk/; revision=2441
Jürg Billeter [Fri, 13 Feb 2009 23:30:09 +0000 (23:30 +0000)]
Add error domains to VAPI files, fixes bug 571692
2009-02-14 Jürg Billeter <j@bitron.ch>
* vala/valacodewriter.vala:
Add error domains to VAPI files, fixes bug 571692
svn path=/trunk/; revision=2440
Ryan Lortie [Fri, 13 Feb 2009 09:06:22 +0000 (09:06 +0000)]
Emit 'default:' label with g_assert_not_reached() for async state switch
2009-02-13 Ryan Lortie <desrt@desrt.ca>
* gobject/valamethodmodule.vala:
Emit 'default:' label with g_assert_not_reached() for async state
switch statement (to avoid GCC warning). Don't emit virtual functions
or vtable entries for synchronous functions when emitting async code.
svn path=/trunk/; revision=2439
Ryan Lortie [Fri, 13 Feb 2009 00:17:59 +0000 (00:17 +0000)]
Bug 571484 – free owned result even if _finish isn't called
2009-02-13 Ryan Lortie <desrt@desrt.ca>
Bug 571484 – free owned result even if _finish isn't called
* gobject/valagasyncmodule.vala:
Emit code to free the result in the result in the event that _finish
was not called.
svn path=/trunk/; revision=2438
Jürg Billeter [Thu, 12 Feb 2009 23:38:42 +0000 (23:38 +0000)]
Warn when hiding members, support `new' keyword to suppress warning, based
2009-02-12 Jürg Billeter <j@bitron.ch>
* vala/valaclass.vala:
* vala/valaconstant.vala:
* vala/valafield.vala:
* vala/valamember.vala:
* vala/valamethod.vala:
* vala/valaproperty.vala:
* vala/valastruct.vala:
Warn when hiding members, support `new' keyword to suppress
warning, based on patch by Andreas Brauchli, fixes bug 567743
* vala/valacodenode.vala:
* vala/valacreationmethod.vala:
* vala/valaenum.vala:
* vala/valaerrordomain.vala:
* vala/valanamespace.vala:
* ccode/valaccodelinedirective.vala:
Avoid hidden members
svn path=/trunk/; revision=2437
Jürg Billeter [Thu, 12 Feb 2009 16:23:29 +0000 (16:23 +0000)]
Add base_struct property to Struct class, patch by Andreas Brauchli
2009-02-12 Jürg Billeter <j@bitron.ch>
* vala/valastruct.vala:
* vala/valasymbolresolver.vala:
Add base_struct property to Struct class, patch by Andreas Brauchli
svn path=/trunk/; revision=2436
Jürg Billeter [Thu, 12 Feb 2009 15:29:10 +0000 (15:29 +0000)]
Support `new' as member modifier in parser to prepare support for hiding
2009-02-12 Jürg Billeter <j@bitron.ch>
* vala/valamember.vala:
* vala/valaparser.vala:
Support `new' as member modifier in parser to prepare support for
hiding members, patch by Andreas Brauchli
svn path=/trunk/; revision=2435
Ryan Lortie [Thu, 12 Feb 2009 13:49:10 +0000 (13:49 +0000)]
For now, just forbid ref/out paramters on yielding functions since they
2009-02-12 Ryan Lortie <desrt@desrt.ca>
* vala/valamethod.vala:
For now, just forbid ref/out paramters on yielding functions since
they are hard to deal with.
svn path=/trunk/; revision=2434
Jürg Billeter [Thu, 12 Feb 2009 13:37:49 +0000 (13:37 +0000)]
Fix else if parsing, fixes bug 562632
2009-02-12 Jürg Billeter <j@bitron.ch>
* vala/valagenieparser.vala:
Fix else if parsing, fixes bug 562632
svn path=/trunk/; revision=2433
Ryan Lortie [Thu, 12 Feb 2009 12:48:35 +0000 (12:48 +0000)]
Store the Data structure as the op_res gpointer of the GSimpleAsyncResult.
2009-02-12 Ryan Lortie <desrt@desrt.ca>
* gobject/valagasyncmodule.vala:
Store the Data structure as the op_res gpointer of the
GSimpleAsyncResult. Emit a function to free it and hook it in.
svn path=/trunk/; revision=2432
Jürg Billeter [Thu, 12 Feb 2009 11:39:03 +0000 (11:39 +0000)]
Keep arrays NULL-terminated when appending
2009-02-12 Jürg Billeter <j@bitron.ch>
* gobject/valaccodearraymodule.vala:
Keep arrays NULL-terminated when appending
svn path=/trunk/; revision=2431
Ryan Lortie [Wed, 11 Feb 2009 16:03:53 +0000 (16:03 +0000)]
Bug 571263 – make yielding functions dispatch results to mainloop
2009-02-11 Ryan Lortie <desrt@desrt.ca>
Bug 571263 – make yielding functions dispatch results to mainloop
* gobject/valaccodemethodmodule.vala:
* valagasyncmodule.vala:
Create simple async result from _async entry function and use it when
doing return; throw; or at the end of the function. Fix return
statements for the async case. Dispatch via idle handler in the case
that we are returning without having yielded.
svn path=/trunk/; revision=2430
Ryan Lortie [Wed, 11 Feb 2009 13:14:15 +0000 (13:14 +0000)]
Bug 566363 – yielding functions that throw don't work
2009-02-11 Ryan Lortie <desrt@desrt.ca>
Bug 566363 – yielding functions that throw don't work
* gobject/valagerrormodule.vala:
* gobject/valagasyncmodule.vala:
Refactor GErrorModule to remove some common code and introduce a
separate (virtual) function 'return_with_exception' to create
the code for returning exceptions from functions.
In GAsyncModule, override the new virtual function to call
g_simple_async_report_gerror_in_idle().
svn path=/trunk/; revision=2429
Ryan Lortie [Wed, 11 Feb 2009 04:40:07 +0000 (04:40 +0000)]
add some .gitignore
svn path=/trunk/; revision=2428
Ryan Lortie [Wed, 11 Feb 2009 01:02:37 +0000 (01:02 +0000)]
Bug 571256 – [CCode (async_only = true)] formal parameter annotation
2009-02-11 Ryan Lortie <desrt@desrt.ca>
Bug 571256 – [CCode (async_only = true)] formal parameter annotation
* vala/valacodewriter.vala:
* vala/valaformalparameter.vala:
* gobject/valaccodemethodcallmodule.vala:
Allow emitting some C code arguments only in the case that we are
calling the asynchronous version of a yielding function. This helps
with the io_priority oddity in GIO.
svn path=/trunk/; revision=2427
Jürg Billeter [Wed, 11 Feb 2009 00:43:44 +0000 (00:43 +0000)]
Recognize c:type attributes in .gir
2009-02-11 Jürg Billeter <j@bitron.ch>
* vala/valaenum.vala:
* vala/valainterface.vala:
* vala/valastruct.vala:
* vapigen/valagirparser.vala:
Recognize c:type attributes in .gir
svn path=/trunk/; revision=2426
Ryan Lortie [Tue, 10 Feb 2009 15:04:39 +0000 (15:04 +0000)]
Bug 571169 – make floating references generic
2009-02-10 Ryan Lortie <desrt@desrt.ca>
Bug 571169 – make floating references generic
* gobject/valaccodebasemodule.vala:
* vala/valainterface.vala:
* vala/valaclass.vala:
* vala/valaobjectcreationexpression.vala:
* vala/valasemanticanalyzer.vala:
* vala/valatypesymbol.vala:
Add support for 'ref_sink_function' CCode attribute on classes.
Use this instead of hardcoding g_object_ref_sink() for
GInitiallyUnowned.
* vapi/gobject-2.0.vapi:
Set ref_sink_function on InitiallyUnowned class.
svn path=/trunk/; revision=2425
Jürg Billeter [Mon, 9 Feb 2009 16:13:16 +0000 (16:13 +0000)]
Emit delegate documentation to the C header files
2009-02-09 Jürg Billeter <j@bitron.ch>
* gobject/valaccodedelegatemodule.vala:
Emit delegate documentation to the C header files
svn path=/trunk/; revision=2424
Jürg Billeter [Sun, 8 Feb 2009 22:04:55 +0000 (22:04 +0000)]
Drop experimental support for partial classes
2009-02-08 Jürg Billeter <j@bitron.ch>
* vala/valanamespace.vala:
Drop experimental support for partial classes
svn path=/trunk/; revision=2423
Jürg Billeter [Wed, 4 Feb 2009 21:35:28 +0000 (21:35 +0000)]
Add bindings for signal functions and constants, patch by Michael Lauer
2009-02-04 Jürg Billeter <j@bitron.ch>
* vapi/posix.vapi:
Add bindings for signal functions and constants,
patch by Michael Lauer
svn path=/trunk/; revision=2422
Jürg Billeter [Wed, 4 Feb 2009 21:26:57 +0000 (21:26 +0000)]
Remove D-Bus message filter when disposing proxy object
2009-02-04 Jürg Billeter <j@bitron.ch>
* gobject/valadbusclientmodule.vala:
Remove D-Bus message filter when disposing proxy object
svn path=/trunk/; revision=2421
Jürg Billeter [Wed, 4 Feb 2009 20:50:45 +0000 (20:50 +0000)]
NULL-terminate arrays when demarshalling
2009-02-04 Jürg Billeter <j@bitron.ch>
* gobject/valadbusmodule.vala:
NULL-terminate arrays when demarshalling
svn path=/trunk/; revision=2420
Jürg Billeter [Wed, 4 Feb 2009 20:31:24 +0000 (20:31 +0000)]
Do not handle signals of irrelevant object paths
2009-02-04 Jürg Billeter <j@bitron.ch>
* gobject/valadbusclientmodule.vala:
Do not handle signals of irrelevant object paths
svn path=/trunk/; revision=2419
Jürg Billeter [Wed, 4 Feb 2009 20:05:55 +0000 (20:05 +0000)]
Add GTestCase and GTestSuite bindings, patch by John Carr, fixes bug
2009-02-04 Jürg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi:
Add GTestCase and GTestSuite bindings, patch by John Carr,
fixes bug 570518
svn path=/trunk/; revision=2418
Jürg Billeter [Mon, 2 Feb 2009 22:31:02 +0000 (22:31 +0000)]
Write type_id attribute for GBoxed compact classes
2009-02-02 Jürg Billeter <j@bitron.ch>
* vala/valacodewriter.vala:
Write type_id attribute for GBoxed compact classes
* vapi/gdk-2.0.vapi:
* vapi/gtk+-2.0.vapi:
* vapi/pango.vapi:
Regenerated
svn path=/trunk/; revision=2417
Jürg Billeter [Sun, 1 Feb 2009 23:25:44 +0000 (23:25 +0000)]
Fix crash on invalid error expressions
2009-02-02 Jürg Billeter <j@bitron.ch>
* vala/valathrowstatement.vala:
Fix crash on invalid error expressions
svn path=/trunk/; revision=2416
Jürg Billeter [Sun, 1 Feb 2009 16:52:51 +0000 (16:52 +0000)]
Support overriding members in .vapi files
2009-02-01 Jürg Billeter <j@bitron.ch>
* vala/valaproperty.vala:
Support overriding members in .vapi files
svn path=/trunk/; revision=2415
Jürg Billeter [Sat, 31 Jan 2009 13:16:39 +0000 (13:16 +0000)]
Use `internal' modifier in class declarations to fix build with Vala older
2009-01-31 Jürg Billeter <j@bitron.ch>
* gobject/valaccodearraymodule.vala:
* gobject/valaccodeassignmentmodule.vala:
* gobject/valaccodebasemodule.vala:
* gobject/valaccodecontrolflowmodule.vala:
* gobject/valaccodedelegatemodule.vala:
* gobject/valaccodememberaccessmodule.vala:
* gobject/valaccodemethodcallmodule.vala:
* gobject/valaccodemethodmodule.vala:
* gobject/valaccodestructmodule.vala:
* gobject/valadbusclientmodule.vala:
* gobject/valadbusmodule.vala:
* gobject/valadbusservermodule.vala:
* gobject/valagasyncmodule.vala:
* gobject/valagerrormodule.vala:
* gobject/valagobjectmodule.vala:
* gobject/valagsignalmodule.vala:
* gobject/valagtypemodule.vala:
Use `internal' modifier in class declarations to fix build with
Vala older than r2411
svn path=/trunk/; revision=2414
Jürg Billeter [Sat, 31 Jan 2009 12:28:18 +0000 (12:28 +0000)]
Fix struct construct properties
2009-01-31 Jürg Billeter <j@bitron.ch>
* gobject/valagobjectmodule.vala:
Fix struct construct properties
svn path=/trunk/; revision=2413
Jürg Billeter [Sat, 31 Jan 2009 10:24:35 +0000 (10:24 +0000)]
Report unused internal methods
2009-01-31 Jürg Billeter <j@bitron.ch>
* vala/valaflowanalyzer.vala:
* vala/valasymbol.vala:
Report unused internal methods
* gobject/valaccodearraymodule.vala:
* gobject/valaccodeassignmentmodule.vala:
* gobject/valaccodebasemodule.vala:
* gobject/valaccodecontrolflowmodule.vala:
* gobject/valaccodedelegatemodule.vala:
* gobject/valaccodememberaccessmodule.vala:
* gobject/valaccodemethodcallmodule.vala:
* gobject/valaccodemethodmodule.vala:
* gobject/valaccodestructmodule.vala:
* gobject/valadbusclientmodule.vala:
* gobject/valadbusmodule.vala:
* gobject/valadbusservermodule.vala:
* gobject/valagasyncmodule.vala:
* gobject/valagerrormodule.vala:
* gobject/valagobjectmodule.vala:
* gobject/valagsignalmodule.vala:
* gobject/valagtypemodule.vala:
Mark modules as internal
svn path=/trunk/; revision=2412
Jürg Billeter [Fri, 30 Jan 2009 17:17:45 +0000 (17:17 +0000)]
Ensure that classes in implicit namespaces are not private as namespaces
2009-01-30 Jürg Billeter <j@bitron.ch>
* vala/valanamespace.vala:
* vala/valaparser.vala:
Ensure that classes in implicit namespaces are not private as
namespaces cannot have private members
svn path=/trunk/; revision=2411
Jürg Billeter [Fri, 30 Jan 2009 15:57:52 +0000 (15:57 +0000)]
Add more bindings, patch by Matías De la Puente
2009-01-30 Jürg Billeter <j@bitron.ch>
* vapi/posix.vapi:
Add more bindings, patch by Matías De la Puente
svn path=/trunk/; revision=2410
Jürg Billeter [Thu, 29 Jan 2009 19:47:48 +0000 (19:47 +0000)]
Support transfer_ownership attribute for signal parameters
2009-01-29 Jürg Billeter <j@bitron.ch>
* vapigen/valagidlparser.vala:
Support transfer_ownership attribute for signal parameters
svn path=/trunk/; revision=2409
Philip Van Hoof [Thu, 29 Jan 2009 19:35:46 +0000 (19:35 +0000)]
Checking for vstore in vala_dbus_register_object. Fixes a crash when you
2009-01-29 Philip Van Hoof <philip@codeminded.be>
* gobject/valaccodebasemodule.vala:
Checking for vstore in vala_dbus_register_object. Fixes a crash when
you use conn.register_object with an instance that isn't a DBus one
svn path=/trunk/; revision=2408
Jürg Billeter [Thu, 29 Jan 2009 16:16:34 +0000 (16:16 +0000)]
Honor lower_case_cprefix attribute for property accessors, fixes bug
2009-01-29 Jürg Billeter <j@bitron.ch>
* vala/valapropertyaccessor.vala:
Honor lower_case_cprefix attribute for property accessors,
fixes bug 569646
svn path=/trunk/; revision=2407
Jürg Billeter [Tue, 27 Jan 2009 21:53:56 +0000 (21:53 +0000)]
Add bindings for open and associated functions and constants, patch by
2009-01-27 Jürg Billeter <j@bitron.ch>
* vapi/posix.vapi:
Add bindings for open and associated functions and constants,
patch by Michael Lauer
svn path=/trunk/; revision=2406
Jürg Billeter [Tue, 27 Jan 2009 20:09:35 +0000 (20:09 +0000)]
Add overriding members to .vapi files, fixes bug 569219
2009-01-27 Jürg Billeter <j@bitron.ch>
* vala/valacodewriter.vala:
* vala/valamethod.vala:
Add overriding members to .vapi files, fixes bug 569219
svn path=/trunk/; revision=2405
Jürg Billeter [Tue, 27 Jan 2009 20:03:45 +0000 (20:03 +0000)]
Skip overriding methods and properties in member access, fixes default
2009-01-27 Jürg Billeter <j@bitron.ch>
* vala/valamemberaccess.vala:
Skip overriding methods and properties in member access,
fixes default arguments when calling virtual methods
svn path=/trunk/; revision=2404
Thijs Vermeir [Tue, 27 Jan 2009 17:26:07 +0000 (17:26 +0000)]
Fix binding for gdk_pixbuf_scale_simple
2009-01-27 Thijs Vermeir <thijsvermeir@gmail.com>
* vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.metadata:
Fix binding for gdk_pixbuf_scale_simple
* vapi/gdk-pixbuf-2.0.vapi: regenerated
svn path=/trunk/; revision=2403
Jürg Billeter [Mon, 26 Jan 2009 20:48:24 +0000 (20:48 +0000)]
Add bindings for ioctl and associated constants
2009-01-26 Jürg Billeter <j@bitron.ch>
* vapi/posix.vapi:
Add bindings for ioctl and associated constants
svn path=/trunk/; revision=2402
Jürg Billeter [Mon, 26 Jan 2009 11:18:28 +0000 (11:18 +0000)]
Revert incorrect code generation change for constants, will need to use
2009-01-26 Jürg Billeter <j@bitron.ch>
* gobject/valaccodebasemodule.vala:
Revert incorrect code generation change for constants, will need to
use `extern' to properly export constants
svn path=/trunk/; revision=2401
Jürg Billeter [Sun, 25 Jan 2009 14:25:30 +0000 (14:25 +0000)]
Support signals in static D-Bus client
2009-01-25 Jürg Billeter <j@bitron.ch>
* gobject/valadbusclientmodule.vala:
Support signals in static D-Bus client
svn path=/trunk/; revision=2400
Jürg Billeter [Sat, 24 Jan 2009 16:24:46 +0000 (16:24 +0000)]
Fix type of implicit `this' parameter when using generics
2009-01-24 Jürg Billeter <j@bitron.ch>
* vala/valaclass.vala:
Fix type of implicit `this' parameter when using generics
svn path=/trunk/; revision=2399
Jürg Billeter [Fri, 23 Jan 2009 16:28:52 +0000 (16:28 +0000)]
Refactor method parameter and result code generation
2009-01-23 Jürg Billeter <j@bitron.ch>
* ccode/valaccodefunction.vala:
* gobject/valaccodebasemodule.vala:
* gobject/valaccodemethodmodule.vala:
* gobject/valaccodemodule.vala:
* gobject/valadbusclientmodule.vala:
* gobject/valagasyncmodule.vala:
* gobject/valagobjectmodule.vala:
Refactor method parameter and result code generation
svn path=/trunk/; revision=2398
Jürg Billeter [Fri, 23 Jan 2009 14:20:15 +0000 (14:20 +0000)]
Add virtual generate_parameter method. Move array and delegate type
2009-01-23 Jürg Billeter <j@bitron.ch>
* gobject/valaccodearraymodule.vala:
* gobject/valaccodedelegatemodule.vala:
* gobject/valaccodemethodmodule.vala:
Add virtual generate_parameter method. Move array and delegate type
specific parameter generation to corresponding modules.
svn path=/trunk/; revision=2397
Jürg Billeter [Tue, 20 Jan 2009 20:47:55 +0000 (20:47 +0000)]
Support struct methods
2009-01-20 Jürg Billeter <j@bitron.ch>
* vapigen/valagirparser.vala:
Support struct methods
svn path=/trunk/; revision=2396
Jürg Billeter [Tue, 20 Jan 2009 20:42:01 +0000 (20:42 +0000)]
Do not declare public constants as `static'
2009-01-20 Jürg Billeter <j@bitron.ch>
* gobject/valaccodebasemodule.vala:
Do not declare public constants as `static'
svn path=/trunk/; revision=2395
Jürg Billeter [Mon, 19 Jan 2009 16:18:23 +0000 (16:18 +0000)]
More fixes, patch by Matías De la Puente
2009-01-19 Jürg Billeter <j@bitron.ch>
* vapi/gsl.vapi:
More fixes, patch by Matías De la Puente
svn path=/trunk/; revision=2394