[Vala] [ANNOUNCE] Libgee 0.18.0 - GObject collection library

2015-03-23 Thread Maciej Piechotka
at http://live.gnome.org/Libgee Maciej Piechotka signature.asc Description: This is a digitally signed message part ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

[Vala] [ANNOUNCE] Libgee 0.17.92 - GObject collection library

2015-03-16 Thread Maciej Piechotka
information about Vala is available at http://live.gnome.org/Libgee Maciej Piechotka signature.asc Description: This is a digitally signed message part ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

[Vala] [ANNOUNCE] Libgee 0.16.1 - GObject collection library

2014-10-14 Thread Maciej Piechotka
versions. More information about Vala is available at http://live.gnome.org/Libgee Maciej Piechotka signature.asc Description: This is a digitally signed message part ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman

[Vala] [ANNOUNCE] Libgee 0.16.0 - GObject collection library

2014-09-23 Thread Maciej Piechotka
at http://live.gnome.org/Libgee Maciej Piechotka signature.asc Description: This is a digitally signed message part ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

[Vala] [ANNOUNCE] Libgee 0.15.90 - GObject collection library

2014-08-20 Thread Maciej Piechotka
/Libgee Maciej Piechotka signature.asc Description: This is a digitally signed message part ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] plank-config.c generated by Vala failed to include config.h

2014-08-05 Thread Maciej Piechotka
On Wed, 2014-08-06 at 21:25 +0800, Leslie Zhai wrote: Hi Vala developers, I am a newbie of Vala, and we tried to add gettext support for Plank Config https://github.com/AOSC-Dev/Plank-Config A tool to config Plank Dock. When make, the errors shown as below: #error You must define

[Vala] [ANNOUNCE] Libgee 0.15.3 - GObject collection library

2014-06-23 Thread Maciej Piechotka
GObject-based C library. It's planned to provide bindings for further languages. The current release is backward compatible with 0.8, 0.10, 0.12 and 0.14. More information about Vala is available at http://live.gnome.org/Libgee Maciej Piechotka signature.asc Description

Re: [Vala] volatile variable

2014-06-17 Thread Maciej Piechotka
On Tue, 2014-06-17 at 09:07 +0800, Nor Jaidi Tuah wrote: Thank you for all the feedback and discussion. I now realize that my app, which seems to work perfectly, is a time bomb that would blow my brain away because I'm using a pipeline where a finished job is indicated by setting a flag as

Re: [Vala] volatile variable

2014-06-17 Thread Maciej Piechotka
On Tue, 2014-06-17 at 08:20 +0200, Jürg Billeter wrote: 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

Re: [Vala] volatile variable

2014-06-16 Thread Maciej Piechotka
On Mon, 2014-06-16 at 11:51 +0800, Nor Jaidi Tuah wrote: [1] Note that because the libgee deals with pointers it needs to implement a bit more. If you need a guide see http://blog.piechotka.com.pl/2014/03/01/lock-free-collection-in-libgee-hazard-pointer/ (even more self-promotion)

Re: [Vala] volatile variable

2014-06-16 Thread Maciej Piechotka
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, say, in ARMv9. Alpha, while probably not in the top 3 most popular

Re: [Vala] volatile variable

2014-06-15 Thread Maciej Piechotka
On Sun, 2014-06-15 at 11:39 -0700, Edward Hennessy wrote: On Jun 14, 2014, at 4:20 PM, Maciej Piechotka uzytkownik2-re5jqeeqqe8avxtiumw...@public.gmane.org wrote: As a side question - why do you need volatile? In most cases it's not needed (unless you write kernel/driver and do memory

Re: [Vala] volatile variable

2014-06-15 Thread Maciej Piechotka
On Mon, 2014-06-16 at 02:29 +0200, Paul Marques Mota wrote: 2014-06-15 1:20 GMT+02:00 Maciej Piechotka uzytkownik2-re5jqeeqqe8avxtiumw...@public.gmane.org: On Wed, 2014-06-11 at 16:54 +0800, Nor Jaidi Tuah wrote: Is there any way to declare a volatile? As a side question - why do you

Re: [Vala] volatile variable

2014-06-15 Thread Maciej Piechotka
On Mon, 2014-06-16 at 09:18 +0800, Nor Jaidi Tuah wrote: True - there is a few cases where volatile can be used (I know too little about security to say if using just volatile is ok from standard POV). I guess you could reformulate my question into - in most you don't need volatile and

Re: [Vala] volatile variable

2014-06-15 Thread Maciej Piechotka
On Mon, 2014-06-16 at 08:44 +0800, Nor Jaidi Tuah wrote: As a side question - why do you need volatile? In most cases it's not needed (unless you write kernel/driver and do memory based I/O). My multithreaded code didn't work and I thought may be gcc is making a wrong optimization. Turns

Re: [Vala] volatile variable

2014-06-14 Thread Maciej Piechotka
On Wed, 2014-06-11 at 16:54 +0800, Nor Jaidi Tuah wrote: Is there any way to declare a volatile? Gedit highlighting indicates that it is a keyword in vala. But trying volatile int xx; gives a compiler error. Nice day Nor Jaidi Tuah As a side question - why do you need volatile?

Re: [Vala] A brand new build system

2014-05-17 Thread Maciej Piechotka
In many cases the different needs concern different people in the same project - not necessary different projects. For example it might be easy for you and user who just download it from website but is it easy to package? You 'just' need to allow setting DESTDIR or equivalent for installation to

Re: [Vala] Fwd: Writing an interactive console for Vala

2014-04-10 Thread Maciej Piechotka
On Sat, 2014-04-05 at 01:03 +0400, Sergey Shnatsel Davidoff wrote: Hello everyone, Hi, I've migrated to Vala from very high-level languages such as Python, so I always felt it would be useful to have an interactive console for Vala for quick prototyping and block-testing. More recently I'd

[Vala] [ANNOUNCE] Libgee 0.14.0 - GObject collection library

2014-03-24 Thread Maciej Piechotka
We are very pleased to announce version 0.14.0 of Libgee, the GObject collection library. Libgee 0.14.0 is now available for download at: http://download.gnome.org/sources/libgee/0.14/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.13.91 - GObject collection library

2014-03-03 Thread Maciej Piechotka
We are very pleased to announce version 0.13.91 of Libgee, the GObject collection library. Libgee 0.13.91 is now available for download at: http://download.gnome.org/sources/libgee/0.13/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.12.1 - GObject collection library

2014-03-03 Thread Maciej Piechotka
We are very pleased to announce version 0.12.1 of Libgee, the GObject collection library. Libgee 0.12.1 is now available for download at: http://download.gnome.org/sources/libgee/0.12/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.13.90 - GObject collection library

2014-02-17 Thread Maciej Piechotka
We are very pleased to announce version 0.13.90 of Libgee, the GObject collection library. Libgee 0.13.90 is now available for download at: http://download.gnome.org/sources/libgee/0.13/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.13.5.1 - GObject collection library

2014-02-11 Thread Maciej Piechotka
We are very pleased to announce version 0.13.5.1 of Libgee, the GObject collection library. Libgee 0.13.5.1 is now available for download at: http://download.gnome.org/sources/libgee/0.13/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.13.5 - GObject collection library

2014-02-03 Thread Maciej Piechotka
We are very pleased to announce version 0.13.0 of Libgee, the GObject collection library. Libgee 0.13.5 is now available for download at: http://download.gnome.org/sources/libgee/0.13/ Also please note that now Libgee has its own mailing-list

Re: [Vala] bug in IOChannel.read_line and add_watch

2014-02-02 Thread Maciej Piechotka
On Sun, 2014-02-02 at 14:10 +0100, rastersoft wrote: Hi all: Hi, I found a bug in IOChannel.read_line: when the line to read ends in \r and there are no more characters after it, the iochannel can't read more chars, nor send more IN DATA AVAILABLE events from an add_watch. In fact, it

Re: [Vala] Compiling under Windows

2014-01-19 Thread Maciej Piechotka
On Sun, 2014-01-19 at 17:22 +0100, Dev_NIX wrote: Hi all! I'm starting some Vala experiments on Windows, and I'm using the last version compiled by Tarnyko (which is 0.20.1) Right now I'm trying to compile by myself the latest build (0.23.1) on cygwin, but I get stucked running autogen.sh

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

2014-01-11 Thread Maciej Piechotka
On Thu, 2014-01-09 at 22:10 +0100, Luca Bruno wrote: On Thu, Jan 9, 2014 at 9:58 PM, Tal Hadad tal_hd-pkbjnfxxiarbdgjk7y7...@public.gmane.org wrote: That would be a memory leak. No it wouldn't: If the if statement is false, then it should delete it in the end of the block. You

Re: [Vala] vala friendly atomic pointer

2013-12-20 Thread Maciej Piechotka
On Thu, 2013-12-19 at 17:16 +0200, Tal Hadad wrote: http://www.valadoc.org/#!api=gobject-2.0/GLib.WeakRef This is a simple solution thanks to the good design of GObject. Tal That might not always work, unfortunatly, due to how structs are implemented[1]. Beside - they are implemented

Re: [Vala] vala friendly atomic pointer

2013-12-20 Thread Maciej Piechotka
On Sat, 2013-12-21 at 11:41 +0800, Nor Jaidi Tuah wrote: Thanks for the replies. It seems that WeakRef doesn't help with the granularity: multiple readers will lock out each other (I hope I'm wrong here). Besides, from https://bugzilla.gnome.org/show_bug.cgi?id=703996 it appears that

Re: [Vala] vala friendly atomic pointer

2013-12-20 Thread Maciej Piechotka
On Sat, 2013-12-21 at 07:08 +0100, Maciej Piechotka wrote: On Sat, 2013-12-21 at 11:41 +0800, Nor Jaidi Tuah wrote: Thanks for the replies. It seems that WeakRef doesn't help with the granularity: multiple readers will lock out each other (I hope I'm wrong here). Besides, from https

Re: [Vala] [ANNOUNCE] Libgee 0.13.4 - GObject collection library

2013-12-17 Thread Maciej Piechotka
. Many thanks. Maciej Piechotka [1] http://blog.piechotka.com.pl/2013/07/30/libraries-in-vala-abi-compatibility-part-i/ 2013/12/16 Maciej Piechotka uzytkown...@gmail.com We are very pleased to announce version 0.13.0 of Libgee, the GObject collection

[Vala] [ANNOUNCE] Libgee 0.13.4 - GObject collection library

2013-12-16 Thread Maciej Piechotka
We are very pleased to announce version 0.13.0 of Libgee, the GObject collection library. Libgee 0.13.4 is now available for download at: http://download.gnome.org/sources/libgee/0.13/ Also please note that now Libgee has its own mailing-list

Re: [Vala] Gee vala libgda LINQ

2013-12-08 Thread Maciej Piechotka
Sorry for late response - I've had long week and I'm still catching up with email backlog. The core features should be in Gee already - it's just called Traversable instead of Selectable. The 'select' part is just named a 'map' (naming in general is Haskell-inspired then SQL/LINQ-inspired). It

[Vala] [ANNOUNCE] Libgee 0.10.5 - GObject collection library

2013-09-16 Thread Maciej Piechotka
We are very pleased to announce version 0.10.5 of Libgee, the GObject collection library. Libgee 0.10.5 is now available for download at: http://download.gnome.org/sources/libgee/0.10/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.11.92 - GObject collection library

2013-09-16 Thread Maciej Piechotka
We are very pleased to announce version 0.11.92 of Libgee, the GObject collection library. Libgee 0.11.92 is now available for download at: http://download.gnome.org/sources/libgee/0.11/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.11.91 - GObject collection library

2013-09-02 Thread Maciej Piechotka
We are very pleased to announce version 0.11.91 of Libgee, the GObject collection library. Libgee 0.11.91 is now available for download at: http://download.gnome.org/sources/libgee/0.11/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.8.8 - GObject collection library

2013-09-02 Thread Maciej Piechotka
We are very pleased to announce version 0.8.8 of Libgee, the GObject collection library. Libgee 0.8.8 is now available for download at: http://download.gnome.org/sources/libgee/0.8/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.11.90 - GObject collection library

2013-08-19 Thread Maciej Piechotka
We are very pleased to announce version 0.11.90 of Libgee, the GObject collection library. Libgee 0.11.90 is now available for download at: http://download.gnome.org/sources/libgee/0.11/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.10.4 - GObject collection library

2013-08-19 Thread Maciej Piechotka
We are very pleased to announce version 0.10.4 of Libgee, the GObject collection library. Libgee 0.10.4 is now available for download at: http://download.gnome.org/sources/libgee/0.10/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.11.5 - GObject collection library

2013-07-29 Thread Maciej Piechotka
We are very pleased to announce version 0.11.5 of Libgee, the GObject collection library. Libgee 0.11.5 is now available for download at: http://download.gnome.org/sources/libgee/0.11/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.10.3 - GObject collection library

2013-07-29 Thread Maciej Piechotka
We are very pleased to announce version 0.10.3 of Libgee, the GObject collection library. Libgee 0.10.3 is now available for download at: http://download.gnome.org/sources/libgee/0.10/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.10.2 - GObject collection library

2013-07-12 Thread Maciej Piechotka
We are very pleased to announce version 0.10.2 of Libgee, the GObject collection library. Libgee 0.10.2 is now available for download at: http://download.gnome.org/sources/libgee/0.10/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.8.7 - GObject collection library

2013-07-12 Thread Maciej Piechotka
We are very pleased to announce version 0.8.7 of Libgee, the GObject collection library. Libgee 0.8.7 is now available for download at: http://download.gnome.org/sources/libgee/0.8/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.11.0 - GObject collection library

2013-07-03 Thread Maciej Piechotka
We are very pleased to announce version 0.11.0 of Libgee, the GObject collection library. Libgee 0.11.0 is now available for download at: http://download.gnome.org/sources/libgee/0.11/ Also please note that now Libgee has its own mailing-list

Re: [Vala] Gee [ANNOUNCE] Libgee 0.11.0 - GObject collection library

2013-07-03 Thread Maciej Piechotka
Libgee is a collection library providing GObject-based interfaces and classes for commonly used data structures. Currently we added a futures and promises which are not exactly collections. Should the description by changed to utility library? Best regards

[Vala] [ANNOUNCE] Libgee 0.8.6 - GObject collection library

2013-04-10 Thread Maciej Piechotka
We are very pleased to announce version 0.8.6 of Libgee, the GObject collection library. Libgee 0.8.6 is now available for download at: http://download.gnome.org/sources/libgee/0.8/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.10.0 - GObject collection library

2013-03-25 Thread Maciej Piechotka
We are very pleased to announce version 0.10.0 of Libgee, the GObject collection library. Libgee 0.10.0 is now available for download at: http://download.gnome.org/sources/libgee/0.10/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.9.92 - GObject collection library

2013-03-04 Thread Maciej Piechotka
We are very pleased to announce version 0.9.92 of Libgee, the GObject collection library. Libgee 0.9.92 is now available for download at: http://download.gnome.org/sources/libgee/0.8/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.8.5 - GObject collection library

2013-03-04 Thread Maciej Piechotka
We are very pleased to announce version 0.8.5 of Libgee, the GObject collection library. Libgee 0.8.5 is now available for download at: http://download.gnome.org/sources/libgee/0.8/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.6.8 - GObject collection library

2013-03-04 Thread Maciej Piechotka
We are very pleased to announce version 0.6.8 of Libgee, the GObject collection library. Libgee 0.6.8 is now available for download at: http://download.gnome.org/sources/libgee/0.6/ Also please note that Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.8.4 - GObject collection library

2013-02-17 Thread Maciej Piechotka
We are very pleased to announce version 0.8.4 of Libgee, the GObject collection library. Libgee 0.8.4 is now available for download at: http://download.gnome.org/sources/libgee/0.8/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.9.91 - GObject collection library

2013-02-17 Thread Maciej Piechotka
We are very pleased to announce version 0.9.91 of Libgee, the GObject collection library. Libgee 0.9.91 is now available for download at: http://download.gnome.org/sources/libgee/0.8/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.6.7 - GObject collection library

2012-12-03 Thread Maciej Piechotka
We are very pleased to announce version 0.6.7 of Libgee, the GObject collection library. Libgee 0.6.7 is now available for download at: http://download.gnome.org/sources/libgee/0.6/ Also please note that Libgee has its own mailing-list http://mail.gnome.org/mailman/listinfo/libgee-list

[Vala] [ANNOUNCE] Libgee 0.8.3 - GObject collection library

2012-12-03 Thread Maciej Piechotka
We are very pleased to announce version 0.8.3 of Libgee, the GObject collection library. Libgee 0.8.3 is now available for download at: http://download.gnome.org/sources/libgee/0.8/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.6.6.1 - GObject collection library

2012-11-10 Thread Maciej Piechotka
We are very pleased to announce version 0.6.6.1 of Libgee, the GObject collection library. Libgee 0.6.6.1 is now available for download at: http://download.gnome.org/sources/libgee/0.6/ Also please note that Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.8.2 - GObject collection library

2012-11-10 Thread Maciej Piechotka
We are very pleased to announce version 0.8.2 of Libgee, the GObject collection library. Libgee 0.8.2 is now available for download at: http://download.gnome.org/sources/libgee/0.8/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.8.1 - GObject collection library

2012-10-14 Thread Maciej Piechotka
We are very pleased to announce version 0.8.1 of Libgee, the GObject collection library. Libgee 0.8.1 is now available for download at: http://download.gnome.org/sources/libgee/0.8/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.6.6 - GObject collection library

2012-10-14 Thread Maciej Piechotka
We are very pleased to announce version 0.6.6 of Libgee, the GObject collection library. Libgee 0.6.6 is now available for download at: http://download.gnome.org/sources/libgee/0.6/ Also please note that Libgee has its own mailing-list

[Vala] Foreach on lists (bug #645850)

2012-10-02 Thread Maciej Piechotka
Hi, Are there any plans of solving #645850? The current (since April 2011) Vala behaviour is bad for any list but ArrayList. In some cases it alters not only performance but behaviour (see ConcurrentLinkedList example). At least for libgee 0.8+ it can be fixed by transforming loops into lambdas

[Vala] Gee [ANNOUNCE] Libgee 0.8.0 - GObject collection library

2012-09-24 Thread Maciej Piechotka
We are very pleased to announce version 0.8.0 of Libgee, the GObject collection library. Libgee 0.8.0 is now available for download at: http://download.gnome.org/sources/libgee/0.8/ Also please note that now Libgee has its own mailing-list

Re: [Vala] Gee [ANNOUNCE] Libgee 0.8.0 - GObject collection library

2012-09-24 Thread Maciej Piechotka
On Mon, 2012-09-24 at 22:14 +0200, Maciej Piechotka wrote: We are very pleased to announce version 0.8.0 of Libgee, the GObject collection library. Libgee 0.8.0 is now available for download at: http://download.gnome.org/sources/libgee/0.8/ Also please note that now Libgee has its

[Vala] Gee [ANNOUNCE] Libgee 0.7.90 - GObject collection library

2012-08-28 Thread Maciej Piechotka
We are very pleased to announce version 0.7.90 of Libgee, the GObject collection library. Libgee 0.7.90 is now available for download at: http://download.gnome.org/sources/libgee/0.7/ Also please note that now Libgee has its own mailing-list

[Vala] Gee [ANNOUNCE] Libgee 0.7.4.1 - GObject collection library

2012-08-22 Thread Maciej Piechotka
We are very pleased to announce version 0.7.4.1 of Libgee, the GObject collection library. Libgee 0.7.4.1 is now available for download at: http://download.gnome.org/sources/libgee/0.7/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.7.4 - GObject collection library

2012-08-20 Thread Maciej Piechotka
We are very pleased to announce version 0.7.4 of Libgee, the GObject collection library. Libgee 0.7.4 is now available for download at: http://download.gnome.org/sources/libgee/0.7/ Also please note that now Libgee has its own mailing-list

Re: [Vala] Future-proofing ABI - how to add dummy v-methods to Vala classes

2012-08-07 Thread Maciej Piechotka
On Tue, 2012-08-07 at 15:04 +0200, Mikkel Kamstrup Erlandsen wrote: On 6 August 2012 06:30, Maciej Piechotka uzytkown...@gmail.com wrote: Hi, What is recommended way of adding dummy v-methods to classes (IIUC that is not an issue for GObject interfaces as size of V-table is not part

[Vala] [ANNOUNCE] Libgee 0.7.3 - GObject collection library

2012-08-05 Thread Maciej Piechotka
We are very pleased to announce version 0.7.3 of Libgee, the GObject collection library. Libgee 0.7.3 is now available for download at: http://download.gnome.org/sources/libgee/0.7/ Also please note that now Libgee has its own mailing-list

[Vala] [ANNOUNCE] Libgee 0.6.5 - GObject collection library

2012-08-05 Thread Maciej Piechotka
We are very pleased to announce version 0.6.5 of Libgee, the GObject collection library. Libgee 0.6.5 is now available for download at: http://download.gnome.org/sources/libgee/0.6/ Also please note that Libgee has its own mailing-list http://mail.gnome.org/mailman/listinfo/libgee-list

[Vala] Future-proofing ABI - how to add dummy v-methods to Vala classes

2012-08-05 Thread Maciej Piechotka
Hi, What is recommended way of adding dummy v-methods to classes (IIUC that is not an issue for GObject interfaces as size of V-table is not part of ABI for interfaces)? Just adding reserved v-method (if yes how to prevent it from appearing in gir/vapi)? public virtual void reserved1(void);

Re: [Vala] Functional iterators - call for consensus

2011-06-25 Thread Maciej Piechotka
The (hopefully) final draft of functional iterators is pushed to my gitorious repo[1] in functional-iterators branch. They are missing the tests for stream. I took the liberty of adding vala ML as it seems not everybody who may be interested in this is aware of existance of libgee ML. Best

Re: [Vala] Functional iterators - call for consensus

2011-06-25 Thread Maciej Piechotka
On Sat, 2011-06-25 at 13:26 +0100, Maciej Piechotka wrote: The (hopefully) final draft of functional iterators is pushed to my gitorious repo[1] in functional-iterators branch. They are missing the tests for stream. I took the liberty of adding vala ML as it seems not everybody who may

Re: [Vala] [ANNOUNCE] Vala Toys for gEdit development version 0.11.0

2011-03-15 Thread Maciej Piechotka
On Fri, 2011-03-11 at 18:53 +0100, Andrea Del Signore wrote: On Mon, 2011-03-07 at 14:19 +, Maciej Piechotka wrote: Great. VTG is what I'm missing in gedit 2.9x. No more: http://gitorious.org/vala-toys/vala-toys/trees/gnome-3.0 First port, testing is welcomed! :) Regards

Re: [Vala] [ANNOUNCE] Vala Toys for gEdit development version 0.11.0

2011-03-07 Thread Maciej Piechotka
On Mon, 2011-03-07 at 13:35 +0100, Andrea Del Signore wrote: On Mon, 2011-03-07 at 02:33 +, Maciej Marcin Piechotka wrote: On Sun, 2011-03-06 at 20:18 +0100, Andrea Del Signore wrote: ... Will 0.11.x/0.12.0 have support for gedit 2.9x/3.x? Yes that's the plan. Great. VTG is what

[Vala] [Bug 590324] Syntax sugar for notific ations

2009-08-30 Thread Maciej Piechotka
I tried to contact vala developers other ways but I guess I'm filtered out by spam filters or something like that. I'd like to propose a sugar syntax for notifications: object.property::notify += ... or object.notify::property += ... The second syntax will work with details of signals as

Re: [Vala] [Bug 590324] Syntax sugar for notifications

2009-08-30 Thread Maciej Piechotka
Frederik scumm_fr...@... writes: The current syntax is: object.notify[property] += ... // deprecated or object.notify[property].connect (...) How is this hard? Best regards, Frederik Point for you. I haven't spotted this sytntax (I bet I searched both vala documentation

Re: [Vala] Array parameter calling conventions

2009-03-27 Thread Maciej Piechotka
Walter Mundt wrote: I've noticed that in VAPI files, there seems to only be two calling conventions for array-type parameters: with and without the length and size params passed. To make it cleaner to bind to C libraries, it would be nice to have a more flexible way to specify this. How

Re: [Vala] Anyone working on alsa.vapi?

2009-03-27 Thread Maciej Piechotka
Hans Baier wrote: Hi, in order to avoid duplicated effort: Has anyone worked on an ALSA vapi file? Hans Unless you are doing someting more advanced why not use gstreamer? Regards -- I've probably left my head... somewhere. Please wait untill I find it. Homepage (pl_PL):

Re: [Vala] Case insensitive HashTable

2009-03-26 Thread Maciej Piechotka
Frederik Sdun frederik.s...@... writes: Hi Ingrid I'm an idiot. It just works. /Ingrid Is it possible to get it to the main branch? Regards Frederik Are you sure that a hash with O(n) memory consumption is the best option. I'd guess that in hash no memory allocation should be done -

Re: [Vala] Conditional compilation: Passing #ifdefs thr ough to generated C code

2009-03-26 Thread Maciej Piechotka
Michael Terry m...@... writes: That shouldn't be true. GTK+ will only add symbols, not change or delete existing symbols (unless they go to 3.0 or something, in which case there would be a different vapi file). Gtk+ 3.0 will mostly lock the private data in structures. No VAPI brakage

Re: [Vala] Conditional compilation: Passing #ifdefs through to generated C code

2009-03-26 Thread Maciej Piechotka
Jürg Billeter j at bitron.ch writes: I understand the issue. Unfortunately, it's not easy to solve. One issue is that you might need multiple #if in the generated code for a single #if in the Vala code - e.g. for #include directives. It would also require the Vala compiler to support dealing

Re: [Vala] Operator overloading

2009-03-26 Thread Maciej Piechotka
William Swanson wrote: --- Quaternions --- Quaternions are complex numbers generalized into four dimensions. As with complex numbers, all four basic operators (+ - * /) are well-defined. Quaternions are used to represent rotations in 3D, among other things. Nearly. Quaternions doesn't have

[Vala] [gee][patch] Left-leaning red-black tree implementation of set and map

2009-03-22 Thread Maciej Piechotka
: Maciej Piechotka uzytkown...@gmail.com Date: Sat, 21 Mar 2009 18:55:43 +0100 Subject: [PATCH] Added left-leaning red-black tree based set and map --- gee/Makefile.am|2 + gee/gee.h |1 + gee/treemap.vala | 429 gee

[Vala] [gee][patch] Changed some properties to read-only

2009-03-20 Thread Maciej Piechotka
Hash functions should be set once when constructed but can be read any time with no harm. This patch changes the behaviour of it. Regards From 06492b99271e54ae2cfe88ac0af72910e3727b36 Mon Sep 17 00:00:00 2001 From: Maciej Piechotka uzytkown...@gmail.com Date: Fri, 20 Mar 2009 22:03:22 +0100

Re: [Vala] [gee][patch] Changed some properties to read-only

2009-03-20 Thread Maciej Piechotka
On Fri, 2009-03-20 at 22:10 +0100, Maciej Piechotka wrote: Hash functions should be set once when constructed but can be read any time with no harm. This patch changes the behaviour of it. Regards Ups. Now it is the correct one. Regards From 06492b99271e54ae2cfe88ac0af72910e3727b36 Mon Sep

Re: [Vala] [gee][patch] Changed some properties to read-only

2009-03-20 Thread Maciej Piechotka
On Fri, 2009-03-20 at 22:25 +0100, Maciej Piechotka wrote: On Fri, 2009-03-20 at 22:10 +0100, Maciej Piechotka wrote: Hash functions should be set once when constructed but can be read any time with no harm. This patch changes the behaviour of it. Regards Ups. Now it is the correct

[Vala] async - schedule and status

2009-02-22 Thread Maciej Piechotka
1. Is there any schedule of async support in vala. All I found is brief mentioning in few ChangeLog 2. Is there any current status/documentation information. Regards -- I've probably left my head... somewhere. Please wait untill I find it. Homepage (pl_PL): http://uzytkownik.jogger.pl/

Re: [Vala] Xlib bindings?

2009-02-19 Thread Maciej Piechotka
Xavier Bestel xavier.bes...@free.fr writes: Le jeudi 19 février 2009 à 07:38 +0100, Maciej Piechotka a écrit : I've tried to do a xcb bindings but there is a problem as xcb uses multiinheritance. Can that be resolved with interfaces ? Yes - provided that Vala support interfaces for non

Re: [Vala] Xlib bindings?

2009-02-18 Thread Maciej Piechotka
Michael B. Trausch m...@trausch.us writes: I didn't see any packaged with Vala, and searching around on Google hasn't yet yielded me an answer, so I am hoping that someone can say definitively whether or not there are bindings to Xlib (or a work in progress to that effect). Any idea? It

Re: [Vala] [Having fun with Vala] Multiboot kernel using Vala!

2009-02-11 Thread Maciej Piechotka
Michael 'Mickey' Lauer mic...@vanille-media.de writes: Am Wednesday 11 February 2009 17:49:26 schrieb Alessandro Pellizzari: Il giorno mar, 10/02/2009 alle 11.27 +, Sam Liddicott ha scritto: I think that is great. I'm determined to write a netfilter kernel module in vala. It would

Re: [Vala] .vapi and GPL

2009-02-01 Thread Maciej Piechotka
vas...@gmail.com writes: .vapi files are licensed under LGPL license, but some of them defines bindings to kernel api and hence make use of linux headers on stage of compiling generated C code which are GPL. does it mean that those files also should be licensed under GPL or that one can

Re: [Vala] Reference counting

2009-01-25 Thread Maciej Piechotka
Кутейников Дмитрий kuteyni...@gmail.com writes: How does Vala count references for arrays and strings? They are not subclasses of GLib.Object and don't contain any special fields. Well - probably it does not (aren't thay required to have ownership transfered?). You can browse the source

Re: [Vala] Object constructors

2008-11-01 Thread Maciej Piechotka
Кутейников Дмитрий [EMAIL PROTECTED] writes: It would be great, if Vala could compile expressions like this: var bob = new Person(login=Bob, password=hello, email=[EMAIL PROTECTED]); Compiler may replace it with: var bob = new Person(); bob.login = Bob; bob.password =

[Vala] GTest

2008-10-26 Thread Maciej Piechotka
Is there any samples how to use GTest? Best regards -- I've probably left my head... somewhere. Please wait untill I find it. Homepage (pl_PL): http://uzytkownik.jogger.pl/ (GNU/)Linux User: #425935 (see http://counter.li.org/) ___ Vala-list mailing

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

2008-10-21 Thread Maciej Piechotka
Frederik [EMAIL PROTECTED] writes: Jürg Billeter wrote: The restriction to property assignment statements has been lifted, which means that you can have any kind of statements in the constructors / creation methods. However, you should be careful not to mix the two construction schemes too

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

2008-10-21 Thread Maciej Piechotka
Jürg Billeter [EMAIL PROTECTED] writes: We are pleased to announce version 0.4.0 of Vala, a compiler for the GObject type system. Vala 0.4.0 is now available for download at: http://download.gnome.org/sources/vala/0.4/ If anybody would want ebuild (not official) it is in this overlay:

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

2008-10-21 Thread Maciej Piechotka
Florian Schäfer [EMAIL PROTECTED] writes: On Tue, Oct 21, 2008 at 3:00 PM, Maciej Piechotka [EMAIL PROTECTED] wrote: If anybody would want ebuild (not official) it is in this overlay: git://github.com/uzytkownik/vala-overlay.git. btw: I'm maintaining an rpm for vala and libgee at [1

Re: [Vala] [Import ()]

2008-09-22 Thread Maciej Piechotka
Vlad Grecescu [EMAIL PROTECTED] writes: On 9/22/2008 4:08 AM, Maciej Piechotka wrote: Why is [Import ()] missing in SVN? What should I use? Instead of : [Import()] public void method_name(); use: public extern void method_name(); Thanks. I couldn't find it. Please update the docs

Re: [Vala] Generated code license?

2008-08-12 Thread Maciej Piechotka
Noah Gibbs [EMAIL PROTECTED] writes: Hi! I'm new to Vala, but impressed at what you've done so far. I was wondering... The Vala compiler is LGPL'd. Is there a particular license on generated code? Could I write non-GPL and non-LGPL code (public domain, say, or proprietary) using

Re: [Vala] structs and lists

2008-08-04 Thread Maciej Piechotka
Roberto Majadas [EMAIL PROTECTED] writes: Hi people : Anybody can help me with this code ? I want to add a struct to a GList. But valac --pkg glib-2.0 --pkg gtk+-2.0 -o struct struct.vala struct.c: In function 'xclass_run': struct.c:37: error: incompatible type for argument 2 of

[Vala] Problem with notifications

2008-06-04 Thread Maciej Piechotka
I have a read-only property. However in some cases it is changed within the class (by _property). How to send notification about it? To call notify I have to get ParamSpec which I can receive by find_property to which I need to access ObjectClass I don't know how to access. Regards -- I've

Re: [Vala] Problem with notifications

2008-06-04 Thread Maciej Piechotka
On Wed, 2008-06-04 at 13:24 +0200, Juerg Billeter wrote: On Wed, June 4, 2008 13:12, Maciej Piechotka wrote: I have a read-only property. However in some cases it is changed within the class (by _property). How to send notification about it? To call notify I have to get ParamSpec which I

  1   2   >