Re: [Vala] Vala++

2017-04-04 Thread Alessandro Pellizzari
On 04/04/17 15:38, Al Thomas wrote: From: Alessandro Pellizzari > Sent: Tuesday, 4 April 2017, 13:47 Rust is a hard beast to learn. It took me months to have a decent grasp of it, and I'm still missing many "rustic ways" of doing things, while in Vala I was productive

Re: [Vala] Vala++

2017-04-04 Thread Alessandro Pellizzari
On 04/04/17 13:28, Al Thomas via vala-list wrote: From: Alessandro Pellizzari You seem to over talking Rust and under talking Vala. No, I don't. :) I know all you have linked. I have been following this ml since 2008. I also know the article by esr and agree, in part, with him.

Re: [Vala] Vala++

2017-04-04 Thread Alessandro Pellizzari
On 04/04/17 09:47, Ulink wrote: I simply can't understand why the Gnome people seems to hate or at least ignore Vala and instead promote Javascript or Rust or other weird stuff. I really like Vala, and I also really like Rust, so don't hate me for this post. :) I think the main problem is t

Re: [Vala] Vala++

2017-04-04 Thread Alessandro Pellizzari
On 04/04/17 08:22, Daniel Brendle wrote: On 04/03/2017 02:16 AM, Nor Jaidi Tuah wrote: https://blogs.gnome.org/chergert/2017/03/31/rustic-gnome-day-3/ There are many languages that are also fun when it comes to programming against the Glib based library stack. The more interesting part is:

Re: [Vala] Adding unitary test support to Autovala

2014-11-18 Thread Alessandro Pellizzari
On 2014-11-17 22:07, rastersoft wrote: The first one is how to define each unitary test; my original idea was: "one file, one test", so inside a folder called "unitests" will be as many .vala files as unitary tests (even in subfolders). But then I considered that, maybe, some tests are so big

Re: [Vala] Was GNOME Panel applet example removed?

2011-08-31 Thread Alessandro Pellizzari
tually mate will be used for at least 3-4 years from now. Bye. -- Alessandro Pellizzari ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Vala Journal, Issue #1

2010-02-03 Thread Alessandro Pellizzari
lt language to english? :) -- Alessandro Pellizzari ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Vala Journal, Issue #1

2010-02-01 Thread Alessandro Pellizzari
ive > advertisement of interesting projects written in Vala. ;) Thank you very much! :) -- Alessandro Pellizzari ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Libgee problem

2009-12-09 Thread Alessandro Pellizzari
hink using double as hash index is dangerous, because of approximation. Did you think about transforming the double numbers to "fixed precision decimals" (represented by 64bit integers) or to strings? Bye. -- Alessandro Pellizzari ___ Vala-l

Re: [Vala] Get file characterset

2009-12-04 Thread Alessandro Pellizzari
d be the right time to write one. ;) Bye. -- Alessandro Pellizzari ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Fonts problem.

2009-10-10 Thread Alessandro Pellizzari
Il giorno sab, 10/10/2009 alle 16.57 +0200, Arkadi Viner ha scritto: > I have build my gui with glade and it looks pretty well on my laptop but on > some systems it doesn't look well. > The captions of labels some times don't fit in and the user sees only > partial captions and the font it self is

Re: [Vala] Port Tomboy?

2009-07-02 Thread Alessandro Pellizzari
me the differences between Vala, C# and C, and I could learn better how to code in any one of those. I would also like a Python and a Genie version of it. Tomboy is a quite simple application (not too simple, not too complicated), so its source should be quite easy to understand. Bye. -- Ales

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

2009-02-11 Thread Alessandro Pellizzari
utter-based wm completely in Vala, but I think it lacks xlibs vapi. Bye. -- Alessandro Pellizzari ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Gee.HashMap - uncaught error: No demarshaller registered for type "GeeHashMap"

2008-12-02 Thread Alessandro Pellizzari
a couple of days) in experimental Bye. -- Alessandro Pellizzari ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

[Vala] GLib.List doesn't work

2008-11-07 Thread Alessandro Pellizzari
^^ which lead me to think it's a bug in Vala or in the vapi files. I tried it with Vala 0.3.4, 0.3.5, 0.4.0 and 0.5.1-svn (a couple of days before the release). All give the same error. Thank you very much for any help. -- Alessandro Pellizzari __

Re: [Vala] RSS/Atom or XML parsing library

2008-09-22 Thread Alessandro Pellizzari
s/atom feeds make heavy use of CDATA, but I would be very interested in your code to get inspiration. Thank you very much! -- Alessandro Pellizzari ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Accessing "base" property of Gtk.Style

2008-09-16 Thread Alessandro Pellizzari
Il giorno lun, 15/09/2008 alle 19.50 +0200, Federico Pelloni ha scritto: > P.s.: do multiline strings (as in Python) exist in Vala? Yes, on recent versions. The syntax is the same: """string""" Bye. -- Alessandro Pellizzari

[Vala] RSS/Atom or XML parsing library

2008-09-10 Thread Alessandro Pellizzari
Thank you. -- Alessandro Pellizzari ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Question on Documentation and tutorials.

2008-09-10 Thread Alessandro Pellizzari
ts signaled when a new device gets hot-plugged and can mount/umount it. A link to proper documentation7example/tutorial would be more than enough. Thank you very much. Bye. -- Alessandro Pellizzari ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

[Vala] Personal iterable, collection, list classes

2008-08-18 Thread Alessandro Pellizzari
blah); foreach(MyObject o in l) { printf(o.getData()); } First of all: is it possible? And, if yes, how? :) What classes/interfaces should I inherit from? Thank you very much. -- Alessandro Pellizzari ___ Vala-list mailing list Vala-list@gnome.org

Re: [Vala] Va(a)lide : IDE for Vala !

2008-05-28 Thread Alessandro Pellizzari
, get history, etc. Here you can see a couple screenshots: http://www.eclipse.org/articles/article.php?file=Article-BranchingWithEclipseAndCVS/article2.html Thanks and good work. Bye. -- Alessandro Pellizzari ___ Vala-list mailing list Vala-list@

Re: [Vala] Glade auto_connect example doesn't work with 0.3.1 - update

2008-05-05 Thread Alessandro Pellizzari
Il giorno dom, 04/05/2008 alle 11.23 +0200, Alessandro Pellizzari ha scritto: > $ valac --pkg gtk+-2.0 --pkg libglade-2.0 glade.vala -o glade -X > "-Wl,--export-dynamic -rdynamic" > > glade.vala:17.45-17.48: warning: Argument 1: Cannot pass null to > non-null parameter t

[Vala] Glade auto_connect example doesn't work with 0.3.1 - update

2008-05-04 Thread Alessandro Pellizzari
Hi all, I don't know why my previous e-mail still didn't come to the ml, but meanwhile I tried something different :) I am trying to build a glade application in Vala 0.3.1, but trying to compile the Glade example I get the following error: $ valac --pkg gtk+-2.0 --pkg libglade-2.0 gla

Re: [Vala] [Fwd: Re: How to obtain number of elements in array]

2008-04-30 Thread Alessandro Pellizzari
On mer, 2008-04-30 at 01:38 -0400, Yu Feng wrote: > I am also wondering why evolution always reply the email to the sender > instead of the maillist. Reply (or CTRL-R) sends to the sender. Reply to list (or CTRL-L) sends to the list Bye. -- Alessandro Pell

Re: [Vala] Segmentation fault, gtk app. I'm doing something really stupid I'm sure.

2008-03-19 Thread Alessandro Pellizzari
st[tab_count].label = new Label("..."); tab_list[tab_count].window = new ScrolledWindow(null, null); ... } As I said, I am a noob, so maybe there are errors or better ways to do it. Hope someone more expert corrects me :) Bye. -- Alessandro Pellizzari ___

Re: [Vala] type MIN and MAX

2008-03-05 Thread Alessandro Pellizzari
On mer, 2008-03-05 at 18:35 +0100, Ed Schouten wrote: > That is because %i is just a regular `int'. You should use the following > code: Thank you! I thought stdout.printf had some "magical" senses to interpret the correct type. :) Bye. --

[Vala] type MIN and MAX

2008-03-05 Thread Alessandro Pellizzari
min => 0 ulong.max => -1 uint32.min => 0 uint32.max => -1 int64.min => 0 int64.max => -1 uint64.min => 0 uint64.max => -1 The other values are OK and showing expected boundaries. I am using vala 0.1.7 Thanks. Bye. -- Alessandro Pellizzari ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] sqlite in 0.1.7

2008-03-04 Thread Alessandro Pellizzari
I will look deeper into them tonight. Maybe they are my fault. > [excuse the noob naivety...] You don't seem that noob to me. :) Bye. -- Alessandro Pellizzari ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

[Vala] Problems compiling Sqlite program

2008-03-03 Thread Alessandro Pellizzari
is not a type /usr/share/vala/vapi/sqlite3.vapi:56.10-56.12: error: `Sqlite.Value.int' is not a type The vapi file is the standard one: Was it my fault, a problem of the package or a bug in the new version of vala? Thanks! -- Alessandro Pellizzari ___

Re: [Vala] Set implementation and/or associative arrays

2008-01-22 Thread Alessandro Pellizzari
ynamic", and maybe are difficult to implement efficiently, but I think they would simplify development a lot. Thanks again for your work. -- Alessandro Pellizzari ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

[Vala] Set implementation and/or associative arrays

2008-01-22 Thread Alessandro Pellizzari
(), __toString(), __call(), etc as in PHP/Pyhton/D)? :) Thank you very much. P.S.: I am using Vala 0.1.6, debian package. -- Alessandro Pellizzari ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] The name `Gee' does not exist

2008-01-18 Thread Alessandro Pellizzari
ed in the .deb package I am using. I am not quite confortable compiling compilers and libraries, but maybe I should follow SVN to have the latest bugfixes :) Thanks a lot for Vala. Bye. -- Alessandro Pellizzari ___ Vala-list mailing list Vala-list@

Re: [Vala] Request: Some high level documentation about how vala works internally

2008-01-18 Thread Alessandro Pellizzari
m every other language I used before (I never used C#). As the Vala source is written in Vala, I think developers too could have a better life with basic language documentation. It would be easier to read and understand the compiler sources then. Bye. --

Re: [Vala] The name `Gee' does not exist

2008-01-16 Thread Alessandro Pellizzari
Il giorno mer, 16/01/2008 alle 22.32 +0100, Alessandro Pellizzari ha scritto: > $ valac --pkg gee-1.0 -o gee gee.vala -X "-I/usr/include/vala-1.0/" update: adding -lvala: $ valac --pkg gee-1.0 -o gee gee.vala -X "-I/usr/include/vala-1.0/ -lvala" geetest.c: In function &#

Re: [Vala] The name `Gee' does not exist

2008-01-16 Thread Alessandro Pellizzari
Il giorno mar, 15/01/2008 alle 14.20 +0100, Alessandro Pellizzari ha scritto: > Il giorno mar, 15/01/2008 alle 14.09 +0100, foo bar ha scritto: > > > Then you have to pass "-pkg gee-1.0" to valac. > > Gee is not installed with valac and so you have to copy the > >

Re: [Vala] The name `Gee' does not exist

2008-01-15 Thread Alessandro Pellizzari
la headers in that directory. I would like to ask the Debian package maintainer if he could add these files to the next package version, please. Thank you all. :) I will be back later with another question (regarding GObject.get() :) Bye. -- Alessandro Pellizzari ___

Re: [Vala] The name `Gee' does not exist

2008-01-15 Thread Alessandro Pellizzari
Il giorno lun, 14/01/2008 alle 13.16 -0500, Michel Salim ha scritto: > On Jan 14, 2008 1:11 PM, Alessandro Pellizzari <[EMAIL PROTECTED]> wrote: > > $ valac -o gee gee.vala > > gee.vala:7.17-7.19: error: The name `Gee' does not exist in the context > > of `test.mai

[Vala] The name `Gee' does not exist

2008-01-14 Thread Alessandro Pellizzari
lp writing the manual (once I get the basics... :) . What would be the best method to do so? I saw some (quite empty) xml in the vala source dir. What's the format used? -- Alessandro Pellizzari ___ Vala-list mailing list Vala-list@gnome.org http:/

Re: [Vala] SQLite segfault when used in a class

2008-01-12 Thread Alessandro Pellizzari
On ven, 2008-01-11 at 12:22 -0600, Travis Watkins wrote: > Your callback method should be decorated with [InstanceLast] and you > should pass 'this' in as the user data in the exec call (I think > that's what the null area is for anyway). OK, I am totally stupid. :) I forgot [NoArrayLength ()]

[Vala] SQLite segfault when used in a class

2008-01-11 Thread Alessandro Pellizzari
umn_name[0] points to nowhere, giving the segfault. Am I doing something wrong? Thank you very much. -- Alessandro Pellizzari ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] signal cascade blocking in Gtk+

2008-01-05 Thread Alessandro Pellizzari
On sab, 2008-01-05 at 15:57 +0100, Mikael Hermansson wrote: > The user_data will always be filled with "self" (the Object instance). > By this I mean Vala will always pass Object instance as last parameter > (user_data) to all C callbacks. (Atleast callbacks in Gtk/Glib) Yesterday night I finish

Re: [Vala] signal cascade blocking in Gtk+

2008-01-05 Thread Alessandro Pellizzari
On sab, 2008-01-05 at 10:53 +0100, Andrea Del Signore wrote: > you have to use the delete_event like this: > > private bool nascondi(Gtk.Widget w, Gdk.Event event) > { > this.hide(); > return false; > } > I think that when you tried to use

Re: [Vala] signal cascade blocking in Gtk+

2008-01-04 Thread Alessandro Pellizzari
On ven, 2008-01-04 at 23:31 +0100, Mikael Hermansson wrote: > Replace this.destroy += this.nascondi; > > with: > > this.delete_event += nascondi; > > because you need to overide delete_event because when destroy is > triggered the window is already killed. I suppose you wanted

[Vala] signal cascade blocking in Gtk+

2008-01-04 Thread Alessandro Pellizzari
Hi all, I just started learning Vala and I must say this project is great. :) Today I started testing Gtk+ module and I came across a misbehaviour. I am slowly reading mailing list archives (just hit March 2007) and till now I can't find a reference to my bug. I am trying to open a window after