Re: [Vala] valaDevelop

2019-05-11 Thread Jürg Billeter
On Sat, 2019-05-11 at 12:33 +0200, Wolfgang Mauer wrote: > As other editors written in different languages i like to introduce > valaDevelop an IDE to develop application and library in vala > programming language: > > It's OPENSOURCE and written in C (source available at >

Re: [Vala] getting started with vala and glade

2016-06-27 Thread Jürg Billeter
On Mon, 2016-06-27 at 00:23 +0200, Luca Bruno wrote: > It does, it's reference counting. The main there is freeing the > Thelma object right after run method is called. Yes, however, the run method returns only when the application is about to be terminated and thus, it's ok to free the Thelma

[Vala] [ANNOUNCE] Vala 0.32.1 - Compiler for the GObject type system

2016-06-20 Thread Jürg Billeter
Gtk.Range.get_range_border() Aurélien Zanelli (1):   gstreamer-controller-1.0: Rename DirectControlBinding.new_absolue to 'with_absolute' Jürg Billeter (1):   Release 0.32.1 Luca Bruno (1):   gtk+-2.0, gtk+-3.0: Make CellEditable.start_editing event parameter nullable Maciej Borzecki (1

[Vala] [ANNOUNCE] Vala 0.30.2 - Compiler for the GObject type system

2016-06-20 Thread Jürg Billeter
  vapi: Update GIR-based bindings   gio-unix-2.0: Fix DesktopAppInfo.get_keywords() Jürg Billeter (2):   vala: Fix critical warning with dynamic properties   Release 0.30.2 ___ vala-list mailing list vala-list@gnome.org https

[Vala] [ANNOUNCE] Vala 0.32.0 - Compiler for the GObject type system

2016-03-21 Thread Jürg Billeter
  gtk+-3.0: Update to 3.19.12   vapi: Update GIR-based bindings Jürg Billeter (3):   vala: Fix critical warning with dynamic properties   Revert "codegen: Create only one vala-array helper function per array-type"   Release 0.32.0 Alistair Thomas (1):   l

[Vala] [ANNOUNCE] Vala 0.30.1 - Compiler for the GObject type system

2016-01-31 Thread Jürg Billeter
r   codegen: fix criticals when duplicating unowned instnaces Ben Iofel (1):   README: update link to wiki Corentin Noël (1):   vala: check for null parent symbol Florian Brosch (1):   avahi-clent: Fix a typo Jürg Billeter (1):   Release 0.30.1

[Vala] [ANNOUNCE] Vala 0.30.1 - Compiler for the GObject type system

2016-01-31 Thread Jürg Billeter
r   codegen: fix criticals when duplicating unowned instnaces Ben Iofel (1):   README: update link to wiki Corentin Noël (1):   vala: check for null parent symbol Florian Brosch (1):   avahi-clent: Fix a typo Jürg Billeter (1):   Release 0.30.1

[Vala] [ANNOUNCE] Vala 0.30.0 - Compiler for the GObject type system

2015-09-18 Thread Jürg Billeter
3.0: use wildcard for Gtk.Clipboard request methods Jürg Billeter (1): Release 0.30.0 ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

[Vala] [ANNOUNCE] Vala 0.28.1 - Compiler for the GObject type system

2015-08-11 Thread Jürg Billeter
and header files. It uses the GObject type system to create classes and interfaces declared in the Vala source code. More information about Vala is available at http://www.vala-project.org/ The Vala Team --- Jürg Billeter (1): Release 0.28.1 Luca Bruno (1): codegen: check for null

[Vala] [ANNOUNCE] Vala 0.29.2 - Compiler for the GObject type system

2015-06-22 Thread Jürg Billeter
and header files. It uses the GObject type system to create classes and interfaces declared in the Vala source code. More information about Vala is available at http://www.vala-project.org/ The Vala Team --- Jürg Billeter (2): Fix 64-bit negative integer literals Release 0.29.2

[Vala] [ANNOUNCE] Vala 0.29.2 - Compiler for the GObject type system

2015-06-22 Thread Jürg Billeter
and header files. It uses the GObject type system to create classes and interfaces declared in the Vala source code. More information about Vala is available at http://www.vala-project.org/ The Vala Team --- Jürg Billeter (2): Fix 64-bit negative integer literals Release 0.29.2

[Vala] [ANNOUNCE] Vala 0.29.1 - Compiler for the GObject type system

2015-05-27 Thread Jürg Billeter
Netlink.Address.get_label binding linux.vapi: add missing structs for wireless extension API posix: add gethostbyname(3) and assorted struct Revert posix: add gethostbyname(3) and assorted struct posix: add gethostbyname(3) and assorted struct Jürg Billeter (2): Bump version suffix

[Vala] [ANNOUNCE] Vala 0.28.0 - Compiler for the GObject type system

2015-03-22 Thread Jürg Billeter
. It uses the GObject type system to create classes and interfaces declared in the Vala source code. More information about Vala is available at http://www.vala-project.org/ The Vala Team --- Jürg Billeter (1): Release 0.28.0 Rico Tzschichholz (2): gstreamer-1.0: Backport some

[Vala] [ANNOUNCE] Vala 0.27.2 - Compiler for the GObject type system

2015-03-18 Thread Jürg Billeter
and header files. It uses the GObject type system to create classes and interfaces declared in the Vala source code. More information about Vala is available at http://www.vala-project.org/ The Vala Team --- Evan Nemerson (1): gio-2.0: fix ListModel.get_item binding Jürg Billeter (2

[Vala] [ANNOUNCE] Vala 0.26.2 - Compiler for the GObject type system

2015-01-12 Thread Jürg Billeter
(1): girwriter: Fix writing type for out params Jürg Billeter (1): Release 0.26.2 Luca Bruno (5): gtk+-3.0: Add a11y.h header to accessible objects gstreamer-1.0: remove owned to floating reference parameters gobject-2.0: Add DestroysInstance to Binding.unbind

Re: [Vala] backwards compatibility

2014-10-27 Thread Jürg Billeter
On Mon, 2014-10-27 at 12:00 +, Patrick Welche wrote: On Mon, Oct 27, 2014 at 09:31:07AM +0100, Luca Bruno wrote: On 27/10/2014 09:08, Patrick Welche wrote: I'm new to vala and am wondering what compatibility between versions is like, e.g., should I expect to be able to use a recent

[Vala] [ANNOUNCE] Vala 0.26.1 - Compiler for the GObject type system

2014-10-12 Thread Jürg Billeter
and header files. It uses the GObject type system to create classes and interfaces declared in the Vala source code. More information about Vala is available at http://www.vala-project.org/ The Vala Team --- Jürg Billeter (1): Release 0.26.1 Rico Tzschichholz (7): gee: Fix HashMap

[Vala] [ANNOUNCE] Vala 0.26.1 - Compiler for the GObject type system

2014-10-12 Thread Jürg Billeter
and header files. It uses the GObject type system to create classes and interfaces declared in the Vala source code. More information about Vala is available at http://www.vala-project.org/ The Vala Team --- Jürg Billeter (1): Release 0.26.1 Rico Tzschichholz (7): gee: Fix HashMap

[Vala] [ANNOUNCE] Vala 0.25.4 - Compiler for the GObject type system

2014-09-15 Thread Jürg Billeter
missing GObject interface prerequisite Florian Brosch (2): GirWriter: do not generate errordomain elements xcb: re-add GetPropertyReply.format Jürg Billeter (1): Release 0.25.4 Luca Bruno (4): Fix regression when assigning owned expressions to unowned variables. Fix

[Vala] [ANNOUNCE] Vala 0.25.4 - Compiler for the GObject type system

2014-09-15 Thread Jürg Billeter
missing GObject interface prerequisite Florian Brosch (2): GirWriter: do not generate errordomain elements xcb: re-add GetPropertyReply.format Jürg Billeter (1): Release 0.25.4 Luca Bruno (4): Fix regression when assigning owned expressions to unowned variables. Fix

[Vala] [ANNOUNCE] Vala 0.25.3 - Compiler for the GObject type system

2014-09-01 Thread Jürg Billeter
not be owned xcb: merge Xcb.GetPropertyReply and Xcb.GetPropertyReply Jürg Billeter (1): Release 0.25.3 Luca Bruno (1): Fix critical when using binary expression in a generics context Rico Tzschichholz (3): bindings: Update GIR-based bindings gtk+-2.0, gtk+-3.0: Fix falsely

Re: [Vala] gtk binding

2014-08-28 Thread Jürg Billeter
Hi Ritz, On Thu, 2014-08-28 at 17:51 +0530, Ritesh Khadgaray wrote: The gtk bindings are all mapped against gtk.h header. Is there any plan to split this to the appropriate header file ( such as entry.h ) ? No, this is not supported by GTK+ 3 as mentioned in the migration documentation.

Re: [Vala] Generated code license?

2014-08-28 Thread Jürg Billeter
Hi Mike, On Thu, 2014-08-28 at 11:13 -0700, Mike wrote: Do the vala authors reserve any copyright on the biolerplate code and such? Or is it public domain, then the author of the input vala code takes ownership? There is very little fixed boilerplate and I do not consider any Vala compiler

[Vala] [ANNOUNCE] Vala 0.25.2 - Compiler for the GObject type system

2014-08-24 Thread Jürg Billeter
, gtk+-3.0: mark test_display_button_window as variadic gtk+-3.0: Application.get_menu_by_id return value should not be owned Jürg Billeter (6): D-Bus: Move interface info definition from server to common module D-Bus: Set g-interface-info when creating proxy objects D-Bus

[Vala] [ANNOUNCE] Vala 0.25.1 - Compiler for the GObject type system

2014-07-23 Thread Jürg Billeter
-temps is used in combination with -C Warn if C files are used in combination with -C Warn if -o is used in combination with -C Jürg Billeter (3): Bump version suffix Mark regular expression literals as stable Release 0.25.1 Kyrylo Polezhaiev (1): libpq: Fix

Re: [Vala] volatile variable

2014-06-17 Thread Jürg Billeter
On Tue, 2014-06-17 at 01:38 +0200, Maciej Piechotka wrote: On Mon, 2014-06-16 at 10:55 +0800, Nor Jaidi Tuah wrote: Summary: byte access (read/write) is atomic on MOST architectures. Dang! I thought ALL. I'm not sure but there is no guarantee that it is - you don't know it it will be,

[Vala] [ANNOUNCE] Vala 0.24.0 - Compiler for the GObject type system

2014-03-24 Thread Jürg Billeter
: Add missing C header for symlink David King (1): gio-2.0: Update to 2.39.91+ Jürg Billeter (1): Release 0.24.0 Luca Bruno (13): girparser: Add array_null_terminated, fixes hand-written change in gio dbusserver: Rename the generated parameters identifier gio-2.0

Re: [Vala] array memory leak?

2014-03-07 Thread Jürg Billeter
On Fri, 2014-03-07 at 12:49 +0100, Ulink wrote: glibc does not and cannot immediately return every freed block back to the system. Some blocks cannot be freed because they are just gaps between heap-allocated regions and some blocks are intentionally not freed to speed up following

Re: [Vala] array memory leak?

2014-03-06 Thread Jürg Billeter
On Wed, 2014-03-05 at 19:17 +0100, Ulink wrote: Consider the following (dummy) functions which shows memory leaks here (valac 0.20.1 on ubuntu saucy 64Bit). It seems the problem exists with Gee.ArrayList too. May someone confirm this? According to valgrind 3.9.0, there are no leaks with this

[Vala] [ANNOUNCE] Vala 0.23.3 - Compiler for the GObject type system

2014-02-18 Thread Jürg Billeter
new symbols for 2.40 gio-2.0: update to 2.39.5 gedit: deprecate in favor of bindings distributed by gedit. Jürg Billeter (1): Release 0.23.3 Paolo Borelli (1): gio-2.0: fix add_main_option_entries Rico Tzschichholz (3): gtk+-3.0: Update from git gio-2.0: Update

[Vala] [ANNOUNCE] Vala 0.23.3 - Compiler for the GObject type system

2014-02-18 Thread Jürg Billeter
new symbols for 2.40 gio-2.0: update to 2.39.5 gedit: deprecate in favor of bindings distributed by gedit. Jürg Billeter (1): Release 0.23.3 Paolo Borelli (1): gio-2.0: fix add_main_option_entries Rico Tzschichholz (3): gtk+-3.0: Update from git gio-2.0: Update

[Vala] [ANNOUNCE] Vala 0.23.2 - Compiler for the GObject type system

2014-02-04 Thread Jürg Billeter
for (S)List and Queue glib-2.0: fix qsort_with_data binding Jesse van den Kieboom (2): girwriter: Derive gir namespace from base name gtk+-3.0: Nullable GtkListBox::row_selected.row Jürg Billeter (3): codewriter: Fix spacing for property accessor attributes gdk-3.0: Fix

Re: [Vala] Change in 0.23.1 for array ownership and .length parameter

2014-01-07 Thread Jürg Billeter
Hi Tal, On Tue, 2014-01-07 at 07:46 +0200, Tal Hadad wrote: The user might use ar varible later and it will crush he's application. If he was lucky enough, he would realize that ar is null. It's not easy to find that this line causing it. Risking dangling pointers is much worse than null

[Vala] [ANNOUNCE] Vala 0.23.1 - Compiler for the GObject type system

2013-12-22 Thread Jürg Billeter
Make Vala.Method._base_interface_method weak Jürg Billeter (1): Release 0.23.1 Luca Bruno (3): gio-2.0: Update. New Notification and Subprocess api codegen: Zero length of arrays when transferring ownership analyzer: Fix critical when catch clause does not catch

Re: [Vala] A suggestion for future releases

2013-11-21 Thread Jürg Billeter
Hi Jim, On Thu, 2013-11-21 at 00:06 -0008, Jim Nelson wrote: My broad point is, dot releases for stable versions of Vala can cause large changes downstream. In the future, could these changes be more geared toward critical fixes? Yes, we're aware of that and we are typically more careful in

Re: [Vala] A suggestion for future releases

2013-11-21 Thread Jürg Billeter
Hi Jim, On Thu, 2013-11-21 at 00:06 -0008, Jim Nelson wrote: My broad point is, dot releases for stable versions of Vala can cause large changes downstream. In the future, could these changes be more geared toward critical fixes? Yes, we're aware of that and we are typically more careful in

[Vala] [ANNOUNCE] Vala 0.22.1 - Compiler for the GObject type system

2013-11-19 Thread Jürg Billeter
, libgdata: add missing dependencies girparser: skip doc-version, -deprecated, and -stability gstreamer-video-1.0: make Info.finfo field nullable gstreamer-1.0: fix functions which return floating references Jürg Billeter (2): Revert codegen: Inherit array_{length

[Vala] [ANNOUNCE] Vala 0.22.0 - Compiler for the GObject type system

2013-09-23 Thread Jürg Billeter
SchemaValidCtxt glib-2.0: de-deprecate string.offset Jürg Billeter (1): Release 0.22.0 Luca Bruno (1): Support chain up to constructv functions. Rico Tzschichholz (2): codegen: Don't define varidic helper *_constructv_full as static gtk+-3.0: Update to 3.9.16

[Vala] [ANNOUNCE] Vala 0.22.0 - Compiler for the GObject type system

2013-09-23 Thread Jürg Billeter
SchemaValidCtxt glib-2.0: de-deprecate string.offset Jürg Billeter (1): Release 0.22.0 Luca Bruno (1): Support chain up to constructv functions. Rico Tzschichholz (2): codegen: Don't define varidic helper *_constructv_full as static gtk+-3.0: Update to 3.9.16

[Vala] [ANNOUNCE] Vala 0.21.2 - Compiler for the GObject type system

2013-09-13 Thread Jürg Billeter
statements when variables are null Jussi Kukkonen (1): posix: Correct sockaddr.sa_data field name Jürg Billeter (3): girparser: accept empty tuple for parameters without initializer gio-2.0: remove default argument from g_file_load_contents Release 0.21.2 Luca Bruno (4

[Vala] [ANNOUNCE] Vala 0.21.2 - Compiler for the GObject type system

2013-09-13 Thread Jürg Billeter
statements when variables are null Jussi Kukkonen (1): posix: Correct sockaddr.sa_data field name Jürg Billeter (3): girparser: accept empty tuple for parameters without initializer gio-2.0: remove default argument from g_file_load_contents Release 0.21.2 Luca Bruno (4

Re: [Vala] Worried about the state of Genie

2013-09-08 Thread Jürg Billeter
On Sun, 2013-09-08 at 14:22 +0800, Tal Liron wrote: After some thinking, I want to make this suggestion: Jamie, or anyone else, would it be possible to write a tool to translate Genie files to Vala? I imagine this would not be too hard with the current Genie parser code. This would allow

Re: [Vala] Worried about the state of Genie

2013-08-29 Thread Jürg Billeter
On Thu, 2013-08-29 at 16:53 +0800, Tal Liron wrote: But this discussion on specifics is pointless if no work will be done on Genie! I believe that the Vala team should reach a clear decision as to what to do with Genie. If Genie cannot be supported, then the responsible thing to do would be

[Vala] [ANNOUNCE] Vala 0.21.1 - Compiler for the GObject type system

2013-08-02 Thread Jürg Billeter
for the \x escape sequence Ignacio Casal Quinteiro (5): Update gtk+-3.0 to latest upstream gtk+ 3: headerbar subtitle can be null Update gtk+ 3.0 vapi to latest upstream gtk+ 3.0 vapi: mark listbox funcs as owned Update gtk+ 3 vapi to latest upstream Jürg Billeter (4

Re: [Vala] Looking for mirrors for ValaWinPKG, OSX maintainer

2013-07-21 Thread Jürg Billeter
Hi Tarnyko, On Fri, 2013-07-19 at 05:24 +0200, Tarnyko wrote: * As some of you may know, I am maintaining Win32 builds of Vala. To support development on this platform, I also provide a software named ValaWinPKG (http://www.tarnyko.net/?q=node/6) which pulls libraries from a central

[Vala] [ANNOUNCE] Vala 0.20.1 - Compiler for the GObject type system

2013-04-08 Thread Jürg Billeter
: make IconInfo a compact class instead of a GObject gtksourceview-2.0: fix SourceGutter.set_cell_{data,size}_func Jürg Billeter (1): Release 0.20.1 Simon Werbeck (2): Set correct parent_statement for MemberInitializer Check parameter directions in inherited methods

[Vala] [ANNOUNCE] Vala 0.20.0 - Compiler for the GObject type system

2013-03-26 Thread Jürg Billeter
: update GIR-based bindings glib-2.0, gtk+-3.0: make parameter string for goption nullable Jesse van den Kieboom (1): Updated gtk+-3.0 to lastest master Jürg Billeter (1): Release 0.20.0 Luca Bruno (4): gtk+-2.0, gtk+-3.0: Fix IconView.get_visible_range gtk+-2.0, gtk

[Vala] [ANNOUNCE] Vala 0.19.0 - Compiler for the GObject type system

2013-02-20 Thread Jürg Billeter
vapis: regenerate GIR-based bindings gtk+-3.0: make drag_begin event arg nullable Jan Dvořák (1): linux: Make If* enums public Jasper St. Pierre (1): valagirparser: Ignore the new instance-parameter tag Jürg Billeter (8): Bump version suffix codegen: Do not call

Re: [Vala] Generated vapi file for a library not compilable.

2012-11-29 Thread Jürg Billeter
On Thu, 2012-11-29 at 10:13 +0800, PCMan wrote: All of the errors I got are like these: VALAC lxpanel2_vala.stamp lxpanel-applet.vapi:10.27-10.49: error: The type name `Lxpanel.AppletInfo' could not be found In lxpanel2.vala you have a class `Lxpanel' in the namespace `Lxpanel'. This means

Re: [Vala] Is creating dbus interfaces in type modules (plugins) broken?

2012-11-29 Thread Jürg Billeter
On Thu, 2012-11-29 at 10:06 +0800, PCMan wrote: I tried to develop some type modules for my program. Everything works fine initially and [ModuleInit] registered GObject dynamic classes automagically as expected. However, after I move a previously working dbus interface to that type module, I

[Vala] [ANNOUNCE] Vala 0.18.1 - Compiler for the GObject type system

2012-11-13 Thread Jürg Billeter
Jürg Billeter (11): gtk+-3.0: Fix gtk_application_inhibit binding codegen: Do not call g_thread_init when targeting GLib = 2.32 GDBus: Initialize array length variable in property get wrappers codegen: Fix fields initialized by functions returning an array codegen

[Vala] [ANNOUNCE] Vala 0.18.1 - Compiler for the GObject type system

2012-11-13 Thread Jürg Billeter
Jürg Billeter (11): gtk+-3.0: Fix gtk_application_inhibit binding codegen: Do not call g_thread_init when targeting GLib = 2.32 GDBus: Initialize array length variable in property get wrappers codegen: Fix fields initialized by functions returning an array codegen

Re: [Vala] Should be warning(maybe error) when method with [ReturnsModifiedPointer] is called from unowned variable

2012-11-11 Thread Jürg Billeter
Hi Tal, On Sun, 2012-11-04 at 21:52 +0200, Tal Hadad wrote: There should be warning(maybe error) when method with [ReturnsModifiedPointer] is called from unowned variable. Yes, I'm not aware of a situation where this would be correct. Compilation should fail with an error. Please file a bug.

Re: [Vala] Setting and getting properties at the same time

2012-11-11 Thread Jürg Billeter
On Sat, 2012-11-03 at 08:39 +0800, Nor Jaidi Tuah wrote: I think chained assignment should have Semantic B, for the following reasons: While I don't particularly like chained assignments in general, I prefer Semantic A. * A well designed property should give the same result for both

[Vala] [ANNOUNCE] Vala 0.18.0 - Compiler for the GObject type system

2012-09-24 Thread Jürg Billeter
the GObject type system to create classes and interfaces declared in the Vala source code. More information about Vala is available at http://www.vala-project.org/ The Vala Team --- Jürg Billeter (2): Report error for signals with variable argument lists Release 0.18.0

[Vala] [ANNOUNCE] Vala 0.17.7 - Compiler for the GObject type system

2012-09-16 Thread Jürg Billeter
for constructors not prefixed with new_ Jamie McCracken (2): GENIE: Updated genie to include fixes from vala parser x11: Add missing XA_STRING atom Jürg Billeter (4): codegen: Fix memory leak with owned delegate parameters in async methods codegen: Fix memory management when assigning

Re: [Vala] Dealing with bugs in the compiler

2012-09-09 Thread Jürg Billeter
Hi Thomas, On Sun, 2012-09-09 at 11:55 +0200, Thomas Jollans wrote: PS: I'm not sure what to make of the fact that several bugs I've reported are still UNCONFIRMED, with no comments, despite including a simple, reproducible test case. They're mostly obscure, so I'm not expecting a quick fix,

[Vala] [ANNOUNCE] Vala 0.17.6 - Compiler for the GObject type system

2012-09-03 Thread Jürg Billeter
(611191) Jürg Billeter (2): Accept non-automatic properties with default value Release 0.17.6 Marc-André Lureau (1): glib-2.0: Add g_utime binding Philip Withnall (1): gobject-2.0: Mark parameter of WeakRef() and WeakRef.set() as nullable

[Vala] [ANNOUNCE] Vala 0.17.5 - Compiler for the GObject type system

2012-08-20 Thread Jürg Billeter
. Add gst-plugins-base-1.0 bindings. Florian Brosch (1): Test symbol resolution in closures Heiher (1): x11: Add XImage bindings Jürg Billeter (12): codewriter: Support fixed-length arrays girwriter: Fix index of length parameter for methods returning arrays Fix

Re: [Vala] Plugable Code Generators

2012-08-08 Thread Jürg Billeter
On Wed, 2012-08-08 at 12:57 +0200, Andrea Del Signore wrote: Anyway we are talking about experimental stuff and we shouldn't be worried about compatibility and such, so why not include a simple patch like mine and after go for the full solution? If this is just for experimental stuff, I'm

[Vala] [ANNOUNCE] Vala 0.17.4 - Compiler for the GObject type system

2012-08-06 Thread Jürg Billeter
Georg (2): vala.m4: Fix typo vala.m4: Fix calling VALA_CHECK_PACKAGES multiple times Jeremy Whiting (1): Support [GenericAccessors] attribute for interfaces Jürg Billeter (23): codegen: Fix access to null-terminated array properties Fix async object creation

Re: [Vala] POSIX and Dova profiles

2012-08-04 Thread Jürg Billeter
Hi, On Sat, 2012-08-04 at 08:44 +0800, Nor Jaidi Tuah wrote: I'm not sure what gaps in gobject that Dova is supposed to fill in. But is it possible to improve gobject to incorporate those features? Perhaps the vala team can make suggestion to the glib team. This is certainly a valid

[Vala] POSIX and Dova profiles

2012-08-03 Thread Jürg Billeter
Hi, valac has had experimental support to build applications without GLib for a while now. However, the POSIX profile still supports only a subset of the language and there is no indication that this will change anytime soon. I'm still working on the experiment that started with Dova, but the

Re: [Vala] R: Re: R: POSIX and Dova profiles

2012-08-03 Thread Jürg Billeter
On Fri, 2012-08-03 at 16:12 +0200, seje...@tin.it wrote: But I think having classes and some more oop machinery will be also useful in micros with very low resources (32-64Kb of memory), where of course a full framework doesn't make any sense (nor a rich string class etc...) In my

Re: [Vala] R: Re: R: POSIX and Dova profiles

2012-08-03 Thread Jürg Billeter
On Fri, 2012-08-03 at 17:42 +0200, Andrea Del Signore wrote: On Fri, Aug 3, 2012 at 5:26 PM, Jürg Billeter j...@bitron.ch wrote: Unused parts of the library will not have any impact on the size of the binary in the current plan. How will this be achieved? Dead function

Re: [Vala] g-ir-compiler segfaults with valac generated .gir file

2012-08-02 Thread Jürg Billeter
Hi, On Tue, 2012-07-31 at 23:56 +0200, Tobias Quathamer wrote: I'm experiencing a problem with a .gir file generated by vala (just tried with the latest git checkout). If a class is derived from another class (which itself uses GObject as base class), the program g-ir-compiler segfaults. I

Re: [Vala] Seg fault when trying to pass args to gtk_init_check.

2012-07-18 Thread Jürg Billeter
Hi Tal, On Mon, 2012-07-16 at 20:27 +0300, Tal Hadad wrote: Ok I've explained my self wrong. The reason I use a pointer to string[] instead of just storing it, is that I want the plugins init calls, Gtk.init_check for example, is that I want Gtk to remove arguments which Gtk familiar with.

Re: [Vala] Seg fault when trying to pass args to gtk_init_check.

2012-07-16 Thread Jürg Billeter
Hi Tal, On Mon, 2012-07-16 at 18:02 +0300, Tal Hadad wrote: int* argsc; char*** argsv; argsv = Max.get_args (out argsc); If argsv is supposed to represent a string array, Max.get_args() has been bound incorrectly. Use string[] if you mean string array - or char** if you have to

[Vala] [ANNOUNCE] Vala 0.17.3 - Compiler for the GObject type system

2012-07-16 Thread Jürg Billeter
We are pleased to announce version 0.17.3 of Vala, a compiler for the GObject type system. Vala 0.17.3 is now available for download at: http://download.gnome.org/sources/vala/0.17/ Changes since 0.17.2 * Require and target GLib = 2.18. * Support async creation methods. * Bug fixes and

Re: [Vala] Contract programming and error messages

2012-07-12 Thread Jürg Billeter
Hi, On Tue, 2012-07-10 at 16:20 +0200, mar...@saepia.net wrote: I use vala contract programming features to ensure that several functions are called from proper thread. I've created helper function for that to DRY, and the effect is that in case of failure I got error message like this:

Re: [Vala] Help with Memory Leak

2012-07-06 Thread Jürg Billeter
On Fri, 2012-07-06 at 13:21 -0700, Evan Nemerson wrote: Get rid of (owned). That is used to transfer ownership of a reference, but g_menu_item_set_label doesn't steal the reference you pass it, so what ends up happening here is that GTK+ will copy the string you pass it, and since you told

Re: [Vala] (no subject)

2012-07-04 Thread Jürg Billeter
Hi Adrian, On Tue, 2012-07-03 at 21:51 +, Adrian Stern wrote: So i have file called browser.vala which i compile and run. Inside of it there is a class called webPlayer which contains a Webkit webView. The main loop periodically destroys and recreates this class. On every destroy() i get

[Vala] [ANNOUNCE] Vala 0.17.2 - Compiler for the GObject type system

2012-06-24 Thread Jürg Billeter
We are pleased to announce version 0.17.2 of Vala, a compiler for the GObject type system. Vala 0.17.2 is now available for download at: http://download.gnome.org/sources/vala/0.17/ Changes since 0.17.1 * Bug fixes and binding updates. Vala is a programming language that aims to bring

Re: [Vala] Performance experiments with Vala, C and D-Bus

2012-06-04 Thread Jürg Billeter
Hi Borja, On Mon, 2012-06-04 at 13:58 +0200, Borja Rodríguez Diliz wrote: I want to use Vala and Dbus for a project in which I need to exchange information between objects about 4 Hz . The final target is to run the software on an embedded device (with a limited CPU / RAM) I performed some

Re: [Vala] [ANNOUNCE] Vala 0.17.1 - Compiler for the GObject type system

2012-06-04 Thread Jürg Billeter
Hi Jim, On Mon, 2012-06-04 at 18:27 -0007, Jim Nelson wrote: On Sat, Jun 2, 2012 at 9:46 AM, Jürg Billeter j...@bitron.ch wrote: * Add --enable-gobject-tracing commandline option. Is there any documentation to explain what GObject tracing is and how to use

Re: [Vala] Why Vala is slower than Mono?

2012-06-02 Thread Jürg Billeter
On Sat, 2012-06-02 at 15:47 +0200, pin...@centrum.cz wrote: Compiled by: dmcs Main.cs Run by: ./Main.exe Output: Took: creating: 0.388, processing: 0.212 [...] Compiled by: valac main.vala -X -O2 Run by: ./main Output: Took: creating: 0.34, processing: 0.455629 [...]

[Vala] [ANNOUNCE] Vala 0.17.1 - Compiler for the GObject type system

2012-06-02 Thread Jürg Billeter
We are pleased to announce version 0.17.1 of Vala, a compiler for the GObject type system. Vala 0.17.1 is now available for download at: http://download.gnome.org/sources/vala/0.17/ Changes since 0.17.0 * Improve assertion messages. * Add --enable-gobject-tracing commandline option. * Bug

Re: [Vala] GLib.debug woe

2012-05-14 Thread Jürg Billeter
On Mon, 2012-05-14 at 16:59 +0800, Nor Jaidi Tuah wrote: Under 0.17.0 (latest vala), GLib.debug doesn't seem to do anything. Anything I need to do to make it operational? This is independent of the Vala version. GLib 2.32 no longer prints debug messages by default. Set G_MESSAGES_DEBUG=all in

[Vala] [ANNOUNCE] Vala 0.16.0 - Compiler for the GObject type system

2012-03-26 Thread Jürg Billeter
We are pleased to announce version 0.16.0 of Vala, a compiler for the GObject type system. Vala 0.16.0 is now available for download at: http://download.gnome.org/sources/vala/0.15/ Changes since 0.15.2 * Add udisks2 bindings. * Bug fixes and binding updates. Vala is a programming language

[Vala] [ANNOUNCE] Vala 0.14.2 - Compiler for the GObject type system

2012-01-31 Thread Jürg Billeter
We are pleased to announce version 0.14.2 of Vala, a compiler for the GObject type system. Vala 0.14.2 is now available for download at: http://download.gnome.org/sources/vala/0.14/ Changes since 0.14.1 * Add libnl-3.0 bindings. * Add packagekit-glib2 bindings. * Add xtst bindings. * Many

Re: [Vala] Can adding new virtual method break ABI?

2011-12-12 Thread Jürg Billeter
On Mon, 2011-12-12 at 12:12 +0100, Luca Bruno wrote: On Mon, Dec 12, 2011 at 12:01 PM, Jürg Billeter j...@bitron.ch wrote: On Sun, 2011-12-11 at 11:34 +0100, Luca Bruno wrote: 2011/12/11 Tal Hadad tal...@hotmail.com This idea is based on the assumption

[Vala] [ANNOUNCE] Vala 0.15.0 - Compiler for the GObject type system

2011-12-05 Thread Jürg Billeter
We are pleased to announce version 0.15.0 of Vala, a compiler for the GObject type system. Vala 0.15.0 is now available for download at: http://download.gnome.org/sources/vala/0.15/ Changes since 0.14.0 * Manage memory of GQueue elements. * Switch atk bindings to .gir. * Switch

[Vala] [ANNOUNCE] Vala 0.14.1 - Compiler for the GObject type system

2011-11-30 Thread Jürg Billeter
We are pleased to announce version 0.14.1 of Vala, a compiler for the GObject type system. Vala 0.14.1 is now available for download at: http://download.gnome.org/sources/vala/0.14/ Changes since 0.14.0 * Add libwnck-3.0 bindings. * Many bug fixes and binding updates. Vala is a programming

[Vala] [ANNOUNCE] Vala 0.14.0 - Compiler for the GObject type system

2011-09-17 Thread Jürg Billeter
We are pleased to announce version 0.14.0 of Vala, a compiler for the GObject type system. Vala 0.14.0 is now available for download at: http://download.gnome.org/sources/vala/0.14/ Changes since 0.13.4 * Bug fixes and binding updates. Vala is a programming language that aims to bring

[Vala] [ANNOUNCE] Vala 0.13.4 - Compiler for the GObject type system

2011-09-07 Thread Jürg Billeter
We are pleased to announce version 0.13.4 of Vala, a compiler for the GObject type system. Vala 0.13.4 is now available for download at: http://download.gnome.org/sources/vala/0.13/ Changes since 0.13.3 * Switch gudev-1.0 bindings to .gir. * Switch mx-1.0 bindings to .gir. * Many bug fixes

[Vala] [ANNOUNCE] Vala 0.13.3 - Compiler for the GObject type system

2011-08-22 Thread Jürg Billeter
We are pleased to announce version 0.13.3 of Vala, a compiler for the GObject type system. Vala 0.13.3 is now available for download at: http://download.gnome.org/sources/vala/0.13/ Changes since 0.13.2 * Switch pangocairo bindings to .gir. * Bug fixes. Vala is a new programming language

[Vala] [ANNOUNCE] Vala 0.13.2 - Compiler for the GObject type system

2011-08-16 Thread Jürg Billeter
We are pleased to announce version 0.13.2 of Vala, a compiler for the GObject type system. Vala 0.13.2 is now available for download at: http://download.gnome.org/sources/vala/0.13/ Changes since 0.13.1 * Enable flow analysis for out parameters. * Refactor attribute handling. * Add

Re: [Vala] Question about a basic coroutine example

2011-07-07 Thread Jürg Billeter
On Thu, 2011-07-07 at 22:23 +0200, Luca Dionisi wrote: 2. The sleep function from posix, tells the O.S. to put to sleep the entire process, not just one function. If you want a function similar to sleep that acts in a cooperative manner you should create a function that goes something like

[Vala] [ANNOUNCE] Vala 0.13.1 - Compiler for the GObject type system

2011-07-06 Thread Jürg Billeter
source and header files. It uses the GObject type system to create classes and interfaces declared in the Vala source code. More information about Vala is available at http://www.vala-project.org/ Jürg Billeter ___ vala-list mailing list vala-list

[Vala] [ANNOUNCE] Vala 0.13.0 - Compiler for the GObject type system

2011-06-17 Thread Jürg Billeter
. More information about Vala is available at http://www.vala-project.org/ Jürg Billeter ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

[Vala] [ANNOUNCE] Vala 0.12.1 - Compiler for the GObject type system

2011-06-01 Thread Jürg Billeter
source and header files. It uses the GObject type system to create classes and interfaces declared in the Vala source code. More information about Vala is available at http://www.vala-project.org/ Jürg Billeter ___ vala-list mailing list vala-list

Re: [Vala] [PATCH] Implement alias functionality for 'using' directive

2011-04-04 Thread Jürg Billeter
On Sun, 2011-04-03 at 18:16 -0500, Jim Peters wrote: Jim Peters wrote: Required to disambiguate symbol references in case of matches from multiple 'using' statements. I've implemented the alias functionality missing from 'using'. It took 3 tries before I found a way that worked and

[Vala] [ANNOUNCE] Vala 0.12.0 - Compiler for the GObject type system

2011-04-03 Thread Jürg Billeter
that translates Vala source code into C source and header files. It uses the GObject type system to create classes and interfaces declared in the Vala source code. More information about Vala is available at http://www.vala-project.org/ Jürg Billeter

Re: [Vala] valac can read a typelib in place of a vapi binding

2011-04-02 Thread Jürg Billeter
Hi Adam, On Fri, 2011-04-01 at 13:07 -0700, Adam Dingle wrote: I realized to my surprise today that valac (0.11.7) can read a GObject introspection type library in place of a VAPI file! For example, I can specify '--pkg PeasGtk-1.0' on the command line and valac will read types from

Re: [Vala] Vala broken on non-gnu systems

2011-03-16 Thread Jürg Billeter
On Tue, 2011-03-15 at 20:05 +0100, pancake wrote: The commit a2s2120.. dated at 2011-02-10 adds the use of strnlen function in glib-2.0.vapi. This function is a gnu extension on libc. This is not glib and this function is only available in GNU LibC. Do the build breaks on OSX, Windows and

Re: [Vala] badly generated code

2011-03-16 Thread Jürg Billeter
On Wed, 2011-03-16 at 13:54 +, Raul Gutierrez Segales wrote: /tmp/test.vala.c:239:7: error: variable or field ‘_tmp1_’ declared void /tmp/test.vala.c:248:155: error: ‘g_dbus_connection_get_proxy’ undeclared (first use in this function) This is now fixed in master. Jürg

[Vala] [ANNOUNCE] Vala 0.11.7 - Compiler for the GObject type system

2011-03-16 Thread Jürg Billeter
written in e.g. C# as the Vala parser is written as a library, so that all compile-time information is available when generating a binding. More information about Vala is available at http://www.vala-project.org/ Jürg Billeter ___ vala-list

[Vala] [ANNOUNCE] Vala 0.10.4 - Compiler for the GObject type system

2011-03-12 Thread Jürg Billeter
/ Jürg Billeter ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Vala 0.11.6 How do I copy a file using GInputStream and GOutputStream?

2011-03-01 Thread Jürg Billeter
On Tue, 2011-03-01 at 18:21 +, Graham Whelan wrote: I'm trying to copy a file using GLib.InputStream and GLib.OutputStream but the copied file ends up corrupted. Sample code: uint8 buffer[4096]; size_t read; while (true) { read = input.read (buffer); if (read 0) {

Re: [Vala] When is 0.12 coming?

2011-02-03 Thread Jürg Billeter
Hi Adam, On Thu, 2011-02-03 at 10:12 -0800, Adam Dingle wrote: Is there a plan to release Vala 0.12 along with GNOME 3 in early April? Or will 0.12 arrive later, or is the expected release timeframe simply unknown? Yes, Vala 0.12 will be released in time for GNOME 3. Jürg

  1   2   3   4   5   >