Re: [Vala] Vala Version

2012-04-06 Thread Łukasz Pankowski
David Gomes davidrafago...@gmail.com writes: I'm not sure if it's related, because I don't get a wrong version, I get this: david@davidarch:~$ valac --version valac: error while loading shared libraries: libvala-0.14.so.0: cannot open shared object file: No such file or directory

Re: [Vala] How to write float and double values into a binary file?

2010-12-18 Thread Łukasz Pankowski
Phil Housley undeconstruc...@gmail.com writes: Aside: The following doesn't work: public void main() { float flt = 9.12f; var output = FileStream.open(./data.txt,w); output.printf(%f, flt); float in_flt = 5f; var input = FileStream.open(./data.txt, r);

Re: [Vala] Problem converting c to vala/genie

2010-11-01 Thread Łukasz Pankowski
Nicolas c.r@wanadoo.fr writes: Hi Jamie, Thanks for your response. I'm trying to create the vapi for the Elementary library from E17 (only widget creation part, the rest is already done). You can find bindings for Elementary library at

Re: [Vala] Threads and closures problem

2010-01-13 Thread Łukasz Pankowski
JM interfl...@gmx.net writes: Hi all I just played around with closures as thread functions. I'm not sure if this example is supposed to work, but at least it compiles. class HHH : Object { public void run() { string test = test; try {

Re: [Vala] DBus bindings questions

2009-12-14 Thread Łukasz Pankowski
Alexey Morozov morozov...@ngs.ru writes: Hello! I've just started to play with Vala and its DBus bindings, created a sample service and found that service methods names are mangled when exported to DBus. For example a method named in Vala sources as get_fan_speed() becomes

Re: [Vala] posix: FILE binding

2009-11-20 Thread Łukasz Pankowski
Abderrahim Kitouni a.kito...@gmail.com writes: 2009/11/20, Michael 'Mickey' Lauer mic...@vanille-media.de: While trying to add popen(3) to posix.vapi, I stumbled over the current binding of FILE, which looks incorrect to me. All the functions that operate on FILE seem to take a FILE*, so

[Vala] started working on libical.vapi, or is there already one?

2009-10-10 Thread Łukasz Pankowski
Hi I recently started to work on vapi file for libical, it is non glib library so needs some tweaks to be autogenerated with vala-gen-introspect vapigen. May be someone knows of such vapi beeing available somewhere? Łukasz ___ Vala-list mailing list

[Vala] wish for Type Inference working for weak local variables

2009-08-01 Thread Łukasz Pankowski
Hello According to the Vala tutorial Finally Vala has a mechanism called Type Inference, whereby a local variable may be defined using var instead of giving a type, so long as it is unambiguous what type is meant. Type Interface works great for owned variables (for example in declaration of

Re: [Vala] wish for Type Inference working for weak local variables

2009-08-01 Thread Łukasz Pankowski
Jiří Zárevúcky zarevucky.j...@gmail.com writes: On 08/01/2009 04:36 PM, Łukasz Pankowski wrote: Hello According to the Vala tutorial Finally Vala has a mechanism called Type Inference, whereby a local variable may be defined using var instead of giving a type, so long as it is unambiguous