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 > https://github.com/w

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 obj

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

2016-06-20 Thread Jürg Billeter
s   gtk+3.0: Fix 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

[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):   linux: add d

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

2016-02-07 Thread Jürg Billeter
t for gintptr and guintptr types. Al Thomas (1):   posix: add crypt(), deprecate getpass() Corentin Noël (1):   vala: check for null parent symbol Jürg Billeter (1):   Release 0.31.1 ni...@dsv.nl (1):   genie: anonymous functions as function return values an

[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.29.3 - Compiler for the GObject type system

2015-08-11 Thread Jürg Billeter
-library option for GIR files Evan Nemerson (1): glib-2.0: make DirUtils.mkdtemp transfer ownership Jordan Yelloz (1): glib-2.0: added g_get_user_runtime_dir () Jürg Billeter (1): Release 0.29.3 Luca Bruno (2): codegen: check for null value before calling g_strv_length

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

2015-08-11 Thread Jürg Billeter
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
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 vers

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

2015-03-22 Thread Jürg Billeter
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
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

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

2015-01-12 Thread Jürg Billeter
ated arrays Garrett Regier (1): girwriter: Fix writing type for out params Jürg Billeter (2): Bump version suffix Release 0.27.1 Luca Bruno (31): gtk+-3.0: Add a11y.h header to accessible objects gstreamer-1.0: remove owned to floating reference parameters f

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 r

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

2014-10-12 Thread Jürg Billeter
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.0 - Compiler for the GObject type system

2014-09-22 Thread Jürg Billeter
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.0 Luca Bruno (1): Revert "Fix regre

[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 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 critical on

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

2014-09-01 Thread Jürg Billeter
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] 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 compil

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. htt

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

2014-08-24 Thread Jürg Billeter
ark 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: Fix proxy creat

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

2014-07-23 Thread Jürg Billeter
combination with -C Warn if --save-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

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 >

[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

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-07 Thread Jürg Billeter
Hi Bernhard, On Thu, 2014-03-06 at 11:00 +0100, Ulink wrote: > //test 1: memory used by Dummy1 still used after return from Dummy1 > //test 2: memory used by Dummy1 FREED after return from Dummy1. WTF? You have to provide more details. What's your method of testing whether memory used by Dummy1 h

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.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 an

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

[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_{l

[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

[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

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

2013-08-02 Thread Jürg Billeter
on 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 B

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 > r

Re: [Vala] GDBus codegen support

2013-05-23 Thread Jürg Billeter
Hi Tiago, On Wed, 2013-05-22 at 21:50 -0300, Tiago Katcipis wrote: > Is there any plan on supporting Vala on GDbus codegen ? I would be very > interested on doing it...and it really seems to be a good idea, but i may > be missing something, or there is another tool that can help. There is a separ

Re: [Vala] Vala should use g_slice for structures.

2013-04-26 Thread Jürg Billeter
Hi Tal, On Mon, 2013-04-15 at 23:34 +0300, Tal Hadad wrote: > I've seen in my generated code, that Vala use g_slice for alloc. classes. > But on structs, Vala use g_new0 and g_free. > > I think it should be also in structures "dup" and "free" funcs, for faster > performance, > even known struct

[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
letype struct return values as nullable 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 versio

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

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 me

[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 code

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

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.

[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
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 to

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

[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
e bindings. 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

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 wo

[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 que

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 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 fu

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...) > > > > > I

[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 diff

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 wi

[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 bin

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

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 g

[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 modern

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

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

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 wrote: > * Add --enable-gobject-tracing commandline option. > > > Is there any documentation to explain what GObject tracing is and how > to use it? No, there is no

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 s

[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 f

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 > [

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

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

2012-04-28 Thread Jürg Billeter
We are pleased to announce version 0.17.0 of Vala, a compiler for the GObject type system. Vala 0.17.0 is now available for download at: http://download.gnome.org/sources/vala/0.17/ Changes since 0.16.0 * Support simple method-level profiling. * Add VALA_CHECK_MODULES and VALA_PROG_VAPIGEN t

[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.15.2 - Compiler for the GObject type system

2012-02-25 Thread Jürg Billeter
We are pleased to announce version 0.15.2 of Vala, a compiler for the GObject type system. Vala 0.15.2 is now available for download at: http://download.gnome.org/sources/vala/0.15/ Changes since 0.15.1 * Switch poppler-glib bindings to .gir. * Many bug fixes and binding updates. Vala is a

[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

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

2012-01-26 Thread Jürg Billeter
We are pleased to announce version 0.15.1 of Vala, a compiler for the GObject type system. Vala 0.15.1 is now available for download at: http://download.gnome.org/sources/vala/0.15/ Changes since 0.15.0 * Support arrays with nullable elements. * Add support to .gir reader and writer. * Swi

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 wrote: > On Sun, 2011-12-11 at 11:34 +0100, Luca Bruno wrote: > > 2011/12/11 Tal Hadad > > > > > This idea is based on t

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

2011-12-12 Thread Jürg Billeter
On Sun, 2011-12-11 at 11:34 +0100, Luca Bruno wrote: > 2011/12/11 Tal Hadad > > > This idea is based on the assumption that the size of XClass struct > > doesn't matter and can be changed(Am I right?). > > Also, how does the virtual method order is currently done by Vala? Is it > > alphabetic or

[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 gdk-pixbuf-2

[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 modern

[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 th

[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 gedit-3.

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 lik

[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 an

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

2011-04-03 Thread Jürg Billeter
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 /u

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

2011-03-16 Thread Jürg Billeter
tions 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

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

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

  1   2   3   4   5   6   7   >