Re: [Vala] Evolution plugin development using Vala

2009-12-31 Thread Karl Lattimer
On Thu, 2009-12-31 at 13:35 +0100, Iván Mosquera Paulo wrote: > El 29 de diciembre de 2009 16:59, Iván Mosquera Paulo > escribió: > > > Hi > > > > Total Vala newbe here :) . I don't see it listed on Vala web nor any sample > > code about it but having read about Vala, developing an Eplugin should

Re: [Vala] Quick question regarding times and dates...

2009-12-22 Thread Karl Lattimer
On Tue, 2009-12-22 at 18:43 +1000, Magentus wrote: > Anyone know what the Vala methods are for converting between time_t > (in GMT) and Date (in local)? > > Should be simple, and it probably is. But I'll be stuffed if I can > find them from the Vala docs... This has actually been a nightmare fo

Re: [Vala] Icon for Vala

2009-10-09 Thread Karl Lattimer
attached is a 128x128 icon of a viking ship, it's almost finished but wanted to get some feedback now as you're all bleating on about it. :) Things I was thinking of adding... * Adding a wake in front of the bow, this could be difficult to get right * Adding a flag * Adding some highlights to

Re: [Vala] Icon for Vala

2009-10-06 Thread Karl Lattimer
On Tue, 2009-10-06 at 16:13 -0600, Wolter Hellmund wrote: > On Tue, 2009-10-06 at 18:19 +0100, Karl Lattimer wrote: > > Ahem... On a serious note, I've actually been working on a one canvas > > for a vala icon in the tango style which is a view of a viking longboat > >

Re: [Vala] Icon for Vala

2009-10-06 Thread Karl Lattimer
On Tue, 2009-10-06 at 19:10 +0200, Philip Van Hoof wrote: something he thought was satirical Hang your head in shame... Ahem... On a serious note, I've actually been working on a one canvas for a vala icon in the tango style which is a view of a viking longboat from the front. I've been tryi

Re: [Vala] just a suggestion

2009-01-23 Thread Karl Lattimer
n GNOME e.g. dbus, i18n, a11y, databases, GTK and alike. -- Best Regards, Karl Lattimer signature.asc Description: This is a digitally signed message part ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] just a suggestion

2009-01-21 Thread Karl Lattimer
On Wed, 2009-01-21 at 10:24 +0100, Luca Dionisi wrote: > 2009/1/20 Matías De la Puente : > > Some one create a wiki here: http://en.wikibooks.org/wiki/Vala_Programming > > I was thinking on "Vala Developing" as a title, but "Vala Programming" > is good as well. I'd suggest Developing with Vala or

Re: [Vala] just a suggestion

2009-01-20 Thread Karl Lattimer
On Tue, 2009-01-20 at 10:44 +, Alberto Ruiz wrote: > 2009/1/20 Karl Lattimer : > > On Tue, 2009-01-20 at 09:44 +0700, Hans Baier wrote: > >> > I still have a long way to learn Vala. > >> > Since someone is successfully using Vala in a number > >> >

Re: [Vala] just a suggestion

2009-01-20 Thread Karl Lattimer
On Tue, 2009-01-20 at 09:44 +0700, Hans Baier wrote: > > I still have a long way to learn Vala. > > Since someone is successfully using Vala in a number > > of projects I think they already have a good knowledge > > of common pitfalls, best practices and the like. > > Writing a book is one of the

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

2009-01-18 Thread Karl Lattimer
On Sun, 2009-01-18 at 16:50 +0100, Jürg Billeter wrote: > We are pleased to announce version 0.5.6 of Vala, a compiler for the > GObject type system. this project is travelling faster than an open sourcerer running from a microsoft recruitment agent. Awesome work guys :) -- Best Regards,

Re: [Vala] Time in vala

2008-12-18 Thread Karl Lattimer
> // returns time in custom format, see strftime manpage > // for example, Mon Feb 9 03:58:32 2009 > string custom_string = t.format ("%c"); I tried to use this and it doesn't work :/ I looked in the vapi and found strftime and strptime, couldn't get either of those working either, linker error

Re: [Vala] inline C

2008-12-13 Thread Karl Lattimer
On Sat, 2008-12-13 at 23:44 +0600, Ildar Mulyukov wrote: > Hi, > > Take a look: > int main (void) { > int Cvariable; > __asm__ ("movl Cvariable, %eax"); // Cvariable > contents > eax > __asm__ ("movl $Cvariable, %ebx"); // ebx ---> Cvariab

Re: [Vala] over-riding configure events

2008-12-11 Thread Karl Lattimer
On Tue, 2008-12-09 at 00:33 +0100, Jürg Billeter wrote: > On Fri, 2008-12-05 at 10:23 +0000, Karl Lattimer wrote: > > I was wondering what must be done to over-ride a configure event in a > > GtkWidget. I can't find an event mask for it, and therefore my configure > >

[Vala] over-riding configure events

2008-12-05 Thread Karl Lattimer
Hi, I was wondering what must be done to over-ride a configure event in a GtkWidget. I can't find an event mask for it, and therefore my configure event never seems to fire. Could someone point me to what I have to do in order to get my configure event to work? BR, K

[Vala] Time in vala

2008-12-02 Thread Karl Lattimer
I can never find enough documentation about time in vala :( so I'm going to ask a bunch of questions here... Maybe I'll add a GNOME live page when I've got the important stuff done... God knows I already want to update the GTK/Cairo stuff to be more detailed. Anyway. I need to turn a timestamp i

Re: [Vala] stdout flushing? and button_click_event

2008-11-23 Thread Karl Lattimer
> > Also, is there such a thing as a button_click_event for brief clicks of > > the mouse button? I need a button_release to behave differently to a > > click event, so I want a momentary click to fire off one function and a > > press and release to fire off another. > > Is the long click for dra

[Vala] stdout flushing? and button_click_event

2008-11-23 Thread Karl Lattimer
Hi all, I have a button_press_event function in my GtkWidget which should be called when the mouse button is pressed, however it won't output anything via stdout.printf(...) on button press. Instead it outputs when motion_notify_event is called, I'm wondering if there is any requirement for a flus

[Vala] widgets emitting signals

2008-11-22 Thread Karl Lattimer
Hi All, I'm working on a GTK Widget in vala and was wondering if anyone can point me somewhere or give me a hint as to how I emit signals in vala. For instance, some event occurs inside of my widget as a result of a user event or a timed interlude and the widget emits a signal which can be caught

Re: [Vala] other problems building wizbit

2008-11-21 Thread Karl Lattimer
On Fri, 2008-11-21 at 14:30 +0100, Jürg Billeter wrote: > On Fri, 2008-11-21 at 13:20 +0000, Karl Lattimer wrote: > > On Fri, 2008-11-21 at 14:11 +0100, Jürg Billeter wrote: > > > On Fri, 2008-11-21 at 12:46 +0000, Karl Lattimer wrote: > > > > After overcoming my p

Re: [Vala] other problems building wizbit

2008-11-21 Thread Karl Lattimer
On Fri, 2008-11-21 at 14:11 +0100, Jürg Billeter wrote: > On Fri, 2008-11-21 at 12:46 +0000, Karl Lattimer wrote: > > After overcoming my previous issues I'm now running into some other > > problems. > > > > Again any help much appreciated. > > This looks

[Vala] other problems building wizbit

2008-11-21 Thread Karl Lattimer
After overcoming my previous issues I'm now running into some other problems. Again any help much appreciated. /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I..-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/uuid

Re: [Vala] Upgrade to vala 0.5 problems with gobject

2008-11-21 Thread Karl Lattimer
On Fri, 2008-11-21 at 13:03 +0100, Jürg Billeter wrote: > On Fri, 2008-11-21 at 11:47 +0000, Karl Lattimer wrote: > > I've just upgraded to vala 0.5 and when I attempt to build something I > > get a large stream of gobject errors which look a bit overly verbose? > >

[Vala] Upgrade to vala 0.5 problems with gobject

2008-11-21 Thread Karl Lattimer
I've just upgraded to vala 0.5 and when I attempt to build something I get a large stream of gobject errors which look a bit overly verbose? Here's a dump of them... Any ideas? gobject-2.0.vapi:372.3-372.26: error: `GLib.Signal' already contains a definition for `query' public st

Re: [Vala] Vala time handling.

2008-10-06 Thread Karl Lattimer
> If you only need an integer timestamp of the current time, you can cast > a time_t value, e.g. > > long t = (long) time_t (); Better not to use a sledge hammer to swat a fly huh! that's a lot easier thanks :) BR, K ___ Vala-list mailing list

[Vala] Vala time handling.

2008-10-06 Thread Karl Lattimer
Hi, I'm trying to figure out my way around vala's time stuff, but I'm having a hard time, looking at vapi files isn't great :/ Specifically I want to produce timestamps, generally this is an easy thing to do in most languages but I'm having a syntactical nightmare with vala :( So far I'm doing e