Re: [Vala] vala-list Digest, Vol 143, Issue 1

2020-01-03 Thread gavr via vala-list
Thank you, there are no examples at all for LibDazzle + Vala. When I first found vala and asked on Reddit for a widget to display graphs, no one answered anything. So soon I made a very bad one

Re: [Vala] vala-list Digest, Vol 142, Issue 5

2019-12-19 Thread gavr via vala-list
To access Wikipedia editing it needs to be asked in the GNOME chat here, at least I did and it worked. Yes it would be great if someone updated these guides. https://riot.im/app/#/room/#_gimpnet_#gnome:gnome.org I was finishing the translation of vala guides into Russian, but there was a very

[Vala] vala, glib and zeromq

2019-11-23 Thread Michele Dionisio via vala-list
I don't know if it can be useful but I write few lines of code to easy integrate zeromq in glib mainloop. Source code and examples (not so much) are in https://bitbucket.org/michele_dionisio/easyzmq/ I also write .vapi file and asynchronous function so it is possible to write vala code like:

Re: [Vala] Vala syntax file for Midnight Commander editor

2019-06-20 Thread Ulink
MANY thanks for this! ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

[Vala] Vala syntax file for Midnight Commander editor

2019-06-19 Thread Jason Martin via vala-list
https://raw.githubusercontent.com/agrellum/NetRexx-Samples/master/vala.syntax See this post to add it. https://superuser.com/questions/386904/is-it-possible-and-how-make-user-customization-for-syntax-highlighting-in-buil ___ vala-list mailing list

[Vala] [VALA]

2019-03-19 Thread Wolfgang Mauer
Since I really like Vala, I'm proud to introduce another feature of valaDevelop. From now on the functionality "Goto Declaration" is available (F12). Either in own sourcecode or in the embedded Valadoc. As always, you can also look at the pictures https://github.com/wolfgangmauer/valaDevelop

Re: [Vala] vala-list Digest, Vol 133, Issue 6

2019-02-17 Thread Vivien Kraus
Hi, Thank you for your answer. In fact, the_datum is a plain int. So it cannot be NULL (error: Equality operation: `null' and `int' are incompatible). However, I found a workaround. It seems that valac assumes out parameter to extern library functions are always initialized, but not when

Re: [Vala] vala-list Digest, Vol 133, Issue 6

2019-02-16 Thread Fernando Silva via vala-list
I think checking if (the_datum != null) should do Em sáb, 16 de fev de 2019 10:00, Send vala-list mailing list submissions to > vala-list@gnome.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.gnome.org/mailman/listinfo/vala-list > or, via email,

Re: [Vala] [vala] problem with sorting an array

2018-08-29 Thread Ulink
Hi, > I don't understand why I can't sort my array... :-/ (glib.array) seems this is a GLib.Array compare function binding (vapi) error or something like this. On C level, the compare objects are putted into your compare function as pointers to pointers and not as pointers. For a quick and

[Vala] [vala] problem with sorting an array

2018-08-29 Thread raum
Hi all, I don't understand why I can't sotr my array... :-/ (glib.array) Could you give me an advice ? My code below.. Thanks Raum - public class FileAndChunks { public string filename; public int64 size; } int

Re: [Vala] Vala book done (it's been only 10 years…)

2018-07-31 Thread Al Thomas via vala-list
> On Tuesday, 19 June 2018, 08:36:19 BST, Dr. Michael Lauer wrote: > I don’t know whether you remember me talking about writing an beginner's book > to get more people > on the Vala train – after all, it’s been 10 years ago. > The recent activity boost in this community motivated me to

Re: [Vala] Vala book done (it's been only 10 years…)

2018-06-19 Thread Ulink
Cool stuff! You absolutely should add a link to the book at https://en.wikipedia.org/wiki/Vala_(programming_language) https://de.wikipedia.org/wiki/Vala_(Programmiersprache) ___ vala-list mailing list vala-list@gnome.org

[Vala] Vala book done (it's been only 10 years…)

2018-06-19 Thread Dr. Michael Lauer
Hi folks, I don’t know whether you remember me talking about writing an beginner's book to get more people on the Vala train – after all, it’s been 10 years ago. Due to a number of circumstances (the fading interest in Vala being one, but also me refocusing into the land of proprietary

Re: [Vala] vala-list Digest, Vol 124, Issue 13

2018-03-28 Thread Al Thomas via vala-list
> On Wednesday, 28 March 2018, 18:03:44 BST, Fernando Silva wrote: > I bet this could be decided based on locale with gettext Now, there's a challenge :) Gettext is very good with plurals (https://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html).I

Re: [Vala] vala-list Digest, Vol 124, Issue 13

2018-03-28 Thread Fernando Silva
I bet this could be decided based on locale with gettext 2018-03-28 9:00 GMT-03:00 : > Send vala-list mailing list submissions to > vala-list@gnome.org > > To subscribe or unsubscribe via the World Wide Web, visit >

[Vala] Vala 0.36.7 now in OpenIndiana Hipster

2017-11-10 Thread Jason Martin
#pkg install pkg://openindiana.org/developer/vala Thanks for answering my questions. ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Vala on OpenIndiana Updated

2017-08-16 Thread Al Thomas via vala-list
> On Wednesday, August 16, 2017, 4:58:59 PM GMT+1, Jason Martin > wrote: > Maybe a good vala example (someone more qualified than me) of trapping > signals would be handy? This is an example of handling some signals, but not an example for SIGSEGV. The documentation for

Re: [Vala] Vala on OpenIndiana Updated

2017-08-16 Thread Ben
You would probably use Posix.signal () On August 16, 2017 11:57:48 AM EDT, Jason Martin wrote: >GLib.Math.pow10.vala >GLib.Math.pow10f.vala >These functions are missing on some platforms: > >Some of the core dumps are truly meant to be core dumps. > >Maybe a good vala example

Re: [Vala] Vala on OpenIndiana Updated

2017-08-16 Thread Jason Martin
GLib.Math.pow10.vala GLib.Math.pow10f.vala These functions are missing on some platforms: Some of the core dumps are truly meant to be core dumps. Maybe a good vala example (someone more qualified than me) of trapping signals would be handy? ___

[Vala] Vala on OpenIndiana Updated

2017-08-14 Thread Jason Martin
With help; got developer/vala (openindiana.org) 0.36.4-2017.0.0.2 into https://github.com/OpenIndiana/oi-userland 940 examples from https://github.com/valadoc/valadoc-org 62 examples from https://github.com/acmeism/RosettaCodeData 974 PASSED Skipped --pkg gee-1.0 and some more examples Still

Re: [Vala] Vala on OpenIndiana or Solaris

2017-08-08 Thread Jason Martin
Redone with OpenIndiana Hipster's primary build framework oi-userland https://github.com/OpenIndiana/oi-userland Still get cores with all my build variations Example GLib.Array.prepend_vals.vala gdb states: 0xfec96f9b in strlen () from /lib/libc.so.1 Then I installed the Vala 0.29.3 from:

Re: [Vala] Vala++

2017-04-04 Thread Daniel Brendle
On 04/04/2017 11:47 AM, Mohan R wrote: > Hi, > > A request to gnome+rust language developers, Please keep dbus and glade > integration as easy as Vala. I enjoy writing GUI and dbus apps with Vala. > It's just awesome integration which I don't see in other language bindings. > > Thanks, > Mohan R I

Re: [Vala] Vala++

2017-04-04 Thread Al Thomas via vala-list
> From: Alessandro Pellizzari <a...@amiran.it>> Sent: Tuesday, 4 April 2017, > 13:47 > Subject: Re: [Vala] Vala++ > On 04/04/17 13:28, Al Thomas via vala-list wrote: >> You seem to over talking Rust and under talking Vala. > No, I don't. :) > Rust is a hard

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,

Re: [Vala] Vala++

2017-04-04 Thread Al Thomas via vala-list
> From: Alessandro Pellizzari <a...@amiran.it> > Sent: Tuesday, 4 April 2017, 10:27 > Subject: Re: [Vala] Vala++ You seem to over talking Rust and under talking Vala. > Rust, on the other hand, is a general language, that can be used for > many things: CLI apps, OS

Re: [Vala] Vala++

2017-04-04 Thread Ulink
Hi Christian, > Some of us in GNOME have spent many years writing programming languages > and runtimes. Therefore our view is somewhat nuanced and opinionated. As mine is ;-) But I don't understand why the Gnome guys effectively ditch vala (as it appears to me, maybe I'm wrong?). I simply can't

Re: [Vala] Vala++

2017-04-04 Thread Christian Hergert
On 04/04/2017 01:47 AM, 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. Some of us in GNOME have spent many years writing programming languages and runtimes. Therefore our view is

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

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

Re: [Vala] Vala++

2017-04-04 Thread Ulink
Am 2017-04-03 um 02:16 schrieb Nor Jaidi Tuah: > It looks like Vala is going to have > a parallel life: > > https://blogs.gnome.org/chergert/2017/03/31/rustic-gnome-day-3/ > > I hope the gnome+rust people succeed in > recreating the Vala awesomeness in Rust > (even if they don't name it after

Re: [Vala] Vala++

2017-04-04 Thread Christian Hergert
On 04/04/2017 12:22 AM, Daniel Brendle wrote: > There are many languages that are also fun when it comes to programming > against the Glib based library stack. The more interesting part is: will > there ever be a language that makes it also as convenient to write > gobject-introspectable

Re: [Vala] Vala++

2017-04-04 Thread Daniel Brendle
On 04/03/2017 02:16 AM, Nor Jaidi Tuah wrote: > It looks like Vala is going to have > a parallel life: > > https://blogs.gnome.org/chergert/2017/03/31/rustic-gnome-day-3/ > > I hope the gnome+rust people succeed in > recreating the Vala awesomeness in Rust > (even if they don't name it after

[Vala] Vala++

2017-04-02 Thread Nor Jaidi Tuah
It looks like Vala is going to have a parallel life: https://blogs.gnome.org/chergert/2017/03/31/rustic-gnome-day-3/ I hope the gnome+rust people succeed in recreating the Vala awesomeness in Rust (even if they don't name it after Vala). Nice day Nor Jaidi Tuah PRIVILEGED/CONFIDENTIAL

Re: [Vala] Vala and GLib license

2016-07-12 Thread Aleksandr Palamar
The main sentence I'm pointing is: *You are not responsible for enforcing compliance by third parties with this License. * Also about PS4: - *WebKit *- http://doc.dl.playstation.net/doc/ps4-oss/webkit.html - *Cairo *- http://doc.dl.playstation.net/doc/ps4-oss/cairo.htm - *Mono VM* -

Re: [Vala] Vala and GLib license

2016-07-12 Thread pelzflorian (Florian Pelz)
On 07/12/2016 04:28 PM, Aleksandr Palamar wrote: > Yes, of course those platforms have DRM. But GLib, GObject and GIO are > available under LGPL 2.1, which states: > > *10.* Each time you redistribute the Library (or any work based on the > Library), the recipient automatically receives a license

Re: [Vala] Vala and GLib license

2016-07-12 Thread Aleksandr Palamar
Yes, of course those platforms have DRM. But GLib, GObject and GIO are available under LGPL 2.1, which states: *10.* Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with

Re: [Vala] Vala and GLib license

2016-07-12 Thread pelzflorian (Florian Pelz)
Does XBox One / PS4 have DRM that prevents relinking? Even a translation layer may not work. I’m doubtful GLib is compatible with PS4. Please note that it is *not* compatible with Apple app stores. Asking the FSF may indeed be a good idea. ___ vala-list

Re: [Vala] Vala and GLib license

2016-07-12 Thread rastersoft
I suspect that Jens talks about creating a "translation layer" that offers to the unmodified GLib all the system calls that it expects, like "fopen, printf" and so on. El 11/07/16 a las 17:42, Aleksandr Palamar escribió: > Jens, do you mean something like linking GLib to your ownn closed source

Re: [Vala] Vala and GLib license

2016-07-12 Thread rastersoft
Mmmm... that's a tricky question: you only need to grant access to the modified sources to the people to whom you distributed the binaries. This is: if you create a game with a modified GLIB library, and you sell that binary game only to me, you must grant access to the modified sources only to

Re: [Vala] Vala and GLib license

2016-07-11 Thread Jens Georg
Yes. Obviously the two licenses are not compatible then. The only way out there would be a compatibility layer that translates those runtimes into something GLib can live with. Even if that would violate licence from Sony and Microsoft? Obviously, sharing that code with someone who already

Re: [Vala] Vala and GLib license

2016-07-11 Thread Jens Georg
But If I would need to patch GLib to work on PS4 or XBONE? I doubt that those platforms will allow me to share usage of their internal API. Can I keep those patch closed and share them only with people who has licenses for PS4 and XONE (you aren't able to put that patch in anyway if you are

Re: [Vala] Vala and GLib license

2016-07-11 Thread Aleksandr Palamar
But If I would need to patch GLib to work on PS4 or XBONE? I doubt that those platforms will allow me to share usage of their internal API. Can I keep those patch closed and share them only with people who has licenses for PS4 and XONE (you aren't able to put that patch in anyway if you are just

[Vala] Vala and GLib license

2016-07-11 Thread Aleksandr Palamar
Hi, Vala-List users. I'm curious about GLib license (which is the core of Vala runtime), mainly because I'm thinking about using Vala in closed source (or zlib if that would be possible in future) project, which may (or not) be used on different platforms including iOS (which doesn't allow

Re: [Vala] Vala app crashing in vprintf on 32-bit arches, not on 64-bit arches

2016-06-19 Thread Michael Gratton
On Fri, Jun 17, 2016 at 7:55 AM, Michael Gratton wrote: Geary is suffering a bug which is causing it to frequently crash on 32-bit installations, in a place where it doesn't crash on a 64-bit install. The crash occurs in vprintf, during a call to GLib.debug() from an async method.

[Vala] Vala app crashing in vprintf on 32-bit arches, not on 64-bit arches

2016-06-16 Thread Michael Gratton
Hey all, Geary is suffering a bug which is causing it to frequently crash on 32-bit installations, in a place where it doesn't crash on a 64-bit install. The crash occurs in vprintf, during a call to GLib.debug() from an async method. Looking at the log line on a 64-bit machine, the args

Re: [Vala] Vala - webkit2gtk-4.0.vapi problem Debia Jessie

2016-04-05 Thread Daniel Espinosa
If you really need both, I don't know if that is possible or recommended, but you can create a library with widgets you will use in your apps using different PKG flags. El abr. 5, 2016 7:51 PM, "Edwin De La Cruz" escribió: > Best regards. Again I come to you with a problem

[Vala] Vala - webkit2gtk-4.0.vapi problem Debia Jessie

2016-04-05 Thread Edwin De La Cruz
Best regards. Again I come to you with a problem I have to use Debian webkti Vala with Jessie . When I compiled the following message : webkit2gtk-web-extension-4.0.vapi:2619.2-2619.38: error: `WebKit' already contains a definition for `URIRequest' public class URIRequest : GLib.Object {

Re: [Vala] Vala wishlist

2016-03-30 Thread Ben
On Tue, 2016-01-12 at 21:54 +, Afonso wrote: > My thoughs about Vala > = > > I just started coding in Vala, and i found it's a quite fun language > to learn, very simillar to Java and C#. The integration with GLib and > GObject is simply amazing, and the possibilty to

Re: [Vala] Vala wishlist

2016-03-30 Thread yannick inizan
'to_string' hack exists : int number = 33; print (@"$number"); Gee.Traversable supports 'fold' and other few functions : http://valadoc.org/#!api=gee-0.8/Gee.Traversable 2016-01-12 22:54 GMT+01:00 Afonso : > My thoughs about Vala > = > > I just

[Vala] Vala wishlist

2016-03-30 Thread Afonso
My thoughs about Vala = I just started coding in Vala, and i found it's a quite fun language to learn, very simillar to Java and C#. The integration with GLib and GObject is simply amazing, and the possibilty to generate C code is also very pleasant. As `Vala` is still in a

Re: [Vala] Vala 0.31 for Windows

2016-02-15 Thread yannick inizan
latest stable version is available on MSYS2 repositories 2016-02-15 21:45 GMT+01:00 : > Hello everyone ! > > I have build the latest version of Vala for Windows. You can find it here > : >

[Vala] Vala 0.31 for Windows

2016-02-15 Thread gelezbaptiste
Hello everyone ! I have build the latest version of Vala for Windows. You can find it here : https://cloud.openmailbox.org/index.php/apps/files/ajax/download.php?dir=%2FPartag%C3%A9=vala-0.31-setup.exe Could someone upload it to the GNOME server and update the link in the Vala wiki if

Re: [Vala] Vala plugin for MonoDevelop

2015-12-05 Thread Al Thomas
> From: Gottfried F. Zojer <goen...@gmail.com> > Sent: Saturday, 5 December 2015, 12:21 > Subject: [Vala] Vala plugin for MonoDevelop > > Just wondering if anyone is using vala plugin within monodevelop IDE on a > Raspberry 2. > > Any feedback welcome I came ac

[Vala] Vala plugin for MonoDevelop

2015-12-05 Thread Gottfried F. Zojer
Hello to everone, Just wondering if anyone is using vala plugin within monodevelop IDE on a Raspberry 2. Mono works fine and also valac ( version 0.20.1 )is installed. But if I want to install monodevelop-vala or also monodevelop-python it ends with the following error The following packages

Re: [Vala] Vala API causing double definition

2015-10-10 Thread Victor A. Santos
Got it, the problem was the vapi file includes some headers that include the header generated by the vala compiler, which shouldn't happen as I can see. Any way, thanks to all ;) ___ vala-list mailing list vala-list@gnome.org

Re: [Vala] Vala API causing double definition

2015-10-09 Thread Victor Aurélio Santos
PS: keep in mind that this isn't a GLib-based library, it's plain C functions! i.e. Legacy Binds -- Victor Aurélio Santos ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Vala API causing double definition

2015-10-09 Thread Victor Aurélio Santos
Ben, can you provide more details ? Thanks. 2015-10-09 10:49 GMT-03:00 Ben Iofel : > Just put the cheader at the top > > > On Fri, Oct 9, 2015, 9:48 AM Victor Aurélio Santos > wrote: >> >> PS: keep in mind that this isn't a GLib-based library,

Re: [Vala] Vala API causing double definition

2015-10-09 Thread Ben Iofel
Just put the cheader at the top On Fri, Oct 9, 2015, 9:48 AM Victor Aurélio Santos < victoraur.san...@gmail.com> wrote: > PS: keep in mind that this isn't a GLib-based library, it's plain C > functions! i.e. Legacy Binds > > -- > Victor Aurélio Santos >

Re: [Vala] Vala API causing double definition

2015-10-09 Thread Victor Aurélio Santos
There's no ajami.h, and just [CCode (cprefix = "Ajami_")] changes nothing keep getting double definition. 2015-10-08 22:26 GMT-03:00 Ben : > I think you need [CCode (cprefix = "Ajami_", cheader_filename = "ajami.h")] > on your top namespace > > On Thu, Oct 8, 2015 at 7:29 PM,

Re: [Vala] Vala API causing double definition

2015-10-09 Thread Ben
the cheader_filename attribute of [CCode] should go on the top namespace. so [CCode (cheader_filename="io.h", cprefix="Ajami_")] namespace CAjami { ... } On Fri, Oct 9, 2015 at 9:55 AM, Victor Aurélio Santos wrote: Ben, can you provide more details ? Thanks.

[Vala] Vala-0.26.2 for windows 64 bits

2015-06-24 Thread Luc Chante
Hi, I've compiled a 64 bits version of vala-0.26 for windows. It can be used with MinGW-builds (64 bits) http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.1/64-bit/threads-posix/seh/ and this GTK+ 3.14

Re: [Vala] vala-list Digest, Vol 86, Issue 5

2015-01-22 Thread gontzal
ar., 2015.eko urtren 20a 13:00(e)an, vala-list-requ...@gnome.org igorleak idatzi zuen: Send vala-list mailing list submissions to vala-list@gnome.org To subscribe or unsubscribe via the World Wide Web, visit https://mail.gnome.org/mailman/listinfo/vala-list or, via email, send

Re: [Vala] vala generated function naming

2014-10-13 Thread Jeremy Slater
On Sun, Oct 12, 2014 at 11:38 AM, Abderrahim Kitouni a.kito...@gmail.com wrote: Hello, Le 12 oct. 2014 15:04, Jeremy Slater jas...@gmail.com a écrit : I'm having an issue with the way vala generates names for functions like callback wrappers and struct array free routines. I am writing

[Vala] vala generated function naming

2014-10-12 Thread Jeremy Slater
I'm having an issue with the way vala generates names for functions like callback wrappers and struct array free routines. I am writing a vapi for a library that does not typedef structures, so in my vapi I have to set the cname to include struct, i.e. cname=struct some_structure. This results

Re: [Vala] vala cross-compiling

2014-09-16 Thread Luca Bruno
On 15/09/2014 14:50, Michele Dionisio wrote: It is not possible any more to cross-compile vala after commit 797a15747b7c0cb43ea7e13687f1af34f6e14ddf build: Avoid using .. for referencing paths and reorganize valac-calls 7a4f0befbd58286a69367ba78d16187da25724f7build: Make building

Re: [Vala] vala cross-compiling

2014-09-16 Thread Michele Dionisio
yes I'm speaking about vapigen after checkin: 7a4f0befbd58286a69367ba78d16187da25724f7 build: Make building vapigen non-optional it is not more possible to use --disable-vapigen miki@HP-EliteBook-840-G1:~/Develop/vala (master) $ git log -1 commit

[Vala] vala cross-compiling

2014-09-15 Thread Michele Dionisio
It is not possible any more to cross-compile vala after commit 797a15747b7c0cb43ea7e13687f1af34f6e14ddf build: Avoid using .. for referencing paths and reorganize valac-calls 7a4f0befbd58286a69367ba78d16187da25724f7build: Make building vapigen non-optional because the builded vala is

Re: [Vala] vala-list Digest, Vol 81, Issue 17

2014-08-31 Thread Marek Gibek
It should work with MonoDevelop 5.0 and 5.1. Now I'm upgrading it for MonoDevelop 5.4 and testing under Linux. And you know what? The debugger works under Linux!!! :D (Maybe it works on Windows too, but I cannot find working gdb 64-bit and I failed to compile it myself - I should switch to Linux

Re: [Vala] vala-list Digest, Vol 81, Issue 17

2014-08-30 Thread Unee0x
Hey I was just wondering, will this plugin work Linux's monodevelop ? Sent from my iPhone On Aug 30, 2014, at 8:00 AM, vala-list-requ...@gnome.org wrote: Send vala-list mailing list submissions to vala-list@gnome.org To subscribe or unsubscribe via the World Wide Web, visit

[Vala] Vala Windows Binaries Repo

2014-07-28 Thread Himanshu Goel
I am maintaining a git repo with instructions to build and with windows binaries for Vala at https://github.com/hgoel0974/ValaOnWindows-Binaries I've just added 0.25.1 binaries as well. ___ vala-list mailing list vala-list@gnome.org

[Vala] Vala SFML

2014-06-26 Thread Raphael Isemann
Hey everybody, i played around with SFML some time ago and i thought i just dump the results here on the Mailing List ;) # Example Game I made a example-game here: https://bitbucket.org/Teemperor/maans and here is a old video about it: http://teemperor.de/video4.ogv (warning: 40MB ogv) It only

Re: [Vala] Vala SFML

2014-06-26 Thread Luca Bruno
On 26/06/2014 12:05, Raphael Isemann wrote: Hey everybody, i played around with SFML some time ago and i thought i just dump the results here on the Mailing List ;) # Example Game I made a example-game here: https://bitbucket.org/Teemperor/maans and here is a old video about it:

[Vala] vala-extra-vapis moved to gnome.org

2014-06-12 Thread Evan Nemerson
vala-extra-vapis has moved to git.gnome.org and bugzilla.gnome.org (https://bugzilla.gnome.org/browse.cgi?product=vala, Bindings: Extra component). I plan on keeping the GitHub repository (https://github.com/nemequ/vala-extra-vapis) roughly synced (it may lag by a bit from time to time), and I

[Vala] Vala on Android

2014-03-14 Thread gontzal
Hi Folks!! Genie is already runing on Android using SDL 2.0. See an educational app in android playstore named Katamotz Hitzak . How to compile a genie/vala + SDL 2.0 game-application? http://manualgenie.blogspot.com.es/ https://github.com/avalanche-games/avalanche/wiki/_pages thanks... i love

Re: [Vala] vala friendly atomic pointer

2013-12-22 Thread Nor Jaidi Tuah
Not the simplest solution, but works well. After thinking more about my problem, I don't think any reliable efficient solution is going to be simple. Thanks for the input. Nice day Nor Jaidi Tuah PRIVILEGED/CONFIDENTIAL information may be contained in this message. If you are neither

Re: [Vala] vala friendly atomic pointer

2013-12-20 Thread Maciej Piechotka
currently using global lock in GObject[2]. From: norjaidi.t...@ubd.edu.bn To: vala-list@gnome.org Date: Thu, 19 Dec 2013 08:59:44 +0800 Subject: [Vala] vala friendly atomic pointer Dear all, I want to implement something like these: * x = AtomicPointer.@get (ref atomicRef

Re: [Vala] vala friendly atomic pointer

2013-12-20 Thread Nor Jaidi Tuah
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 WeakRef is totally broken. As for HazardPointers, according to the

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

Re: [Vala] vala friendly atomic pointer

2013-12-20 Thread Nor Jaidi Tuah
Thank you for the clarification and the link on HazardPointer. Nice day Nor Jaidi Tuah PRIVILEGED/CONFIDENTIAL information may be contained in this message. If you are neither the addressee (intended recipient) nor an authorised recipient of the addressee, and have received this message

Re: [Vala] vala friendly atomic pointer

2013-12-19 Thread Tal Hadad
http://www.valadoc.org/#!api=gobject-2.0/GLib.WeakRef This is a simple solution thanks to the good design of GObject. Tal From: norjaidi.t...@ubd.edu.bn To: vala-list@gnome.org Date: Thu, 19 Dec 2013 08:59:44 +0800 Subject: [Vala] vala friendly atomic pointer Dear all, I want

Re: [Vala] vala libgda LINQ

2013-12-09 Thread Juarez Rudsatz
Luca, Daniel, LINQ is just some kind of syntax for some functional programming aspects. It's about to be a 1:1 mapping with filter-map, also fold and scan.. You are mostly correct about LINQ to Objects. In this case the .net designers capitalized from the popularity of LINQ to SQL and used

Re: [Vala] vala libgda LINQ

2013-12-04 Thread Luca Bruno
LINQ is just some kind of syntax for some functional programming aspects. It's about to be a 1:1 mapping with filter-map, also fold and scan.. For example: select field1,field2 from collection where field3==value can be written as: collection.filter((r) = r.field3==value).map((r) = {r.field1,

Re: [Vala] vala libgda LINQ

2013-12-04 Thread Daniel Espinosa
2013/12/4 Luca Bruno lethalma...@gmail.com LINQ is just some kind of syntax for some functional programming aspects. It's about to be a 1:1 mapping with filter-map, also fold and scan.. For example: select field1,field2 from collection where field3==value can be written as:

Re: [Vala] vala libgda LINQ

2013-12-04 Thread Luca Bruno
On 04/12/2013 16:52, Daniel Espinosa wrote: Vala has provide nice/sexy syntax for GObject/C programing. Have added lot of new features, witch have been possible to write in C but with lot of lines of code. I love Vala because allows me to be more productive, even Genie allows more

Re: [Vala] vala libgda LINQ

2013-12-04 Thread Daniel Espinosa
2013/12/4 Juarez Rudsatz juar...@gmail.com Luca, Daniel, LINQ is just some kind of syntax for some functional programming aspects. It's about to be a 1:1 mapping with filter-map, also fold and scan.. You are mostly correct about LINQ to Objects. In this case the .net designers

Re: [Vala] vala libgda LINQ

2013-12-04 Thread Daniel Espinosa
2013/12/4 Luca Bruno lethalma...@gmail.com On 04/12/2013 16:52, Daniel Espinosa wrote: Vala has provide nice/sexy syntax for GObject/C programing. Have added lot of new features, witch have been possible to write in C but with lot of lines of code. I love Vala because allows me to be more

Re: [Vala] vala libgda LINQ

2013-12-03 Thread Daniel Espinosa
2013/12/3 Juarez Rudsatz juar...@gmail.com I checked the samples and some parts of the code. Nice work. :-) Regarding language support, it seems to remain a good amount of work to be done yet. Do you mean Vala features right? I'm counting the language features that will be necessary: -

[Vala] Vala 0.22.0 - requiring instance of Class to access Class class-members.

2013-09-29 Thread Thomas Olson
Hello, This is the second time I've tried to post to the list, but I haven't seen my first attempt show up in the vala-list archive yet, so I thought I would resend, just in case. I'm still learning my way around vala so I may be doing something wrong, but according to the docs at

Re: [Vala] Vala 0.22.0 - requiring instance of Class to access Class class-members.

2013-09-29 Thread Luca Bruno
I believe it's a bug in the compiler. It's non-sense to require an instance when those are class-level instances. However as a workaround you can use static fields. You can still initialize them with class construct { } or static construct { }. Also if you were thinking of overriding a protected

Re: [Vala] Vala 0.22.0 - requiring instance of Class to access Class class-members.

2013-09-29 Thread Tal Hadad
Hello, This is the second time I've tried to post to the list, but I haven't seen my first attempt show up in the vala-list archive yet, so I thought I would resend, just in case. I'm still learning my way around vala so I may be doing something wrong, but according to the docs at

Re: [Vala] Vala and Cairo 1.12

2013-05-19 Thread Donn
On 18/05/2013 16:57, Jonas Kulla wrote: It's basically the same as declaring foreign functions in C. Let's say you want to use the function 'int cairo_do_foo()' from Vala, you would write something like: namespace Cairo { [CCode (cname=cairo_do_foo)] extern int do_foo(); } The

Re: [Vala] Vala and Cairo 1.12

2013-05-18 Thread Jonas Kulla
2013/5/15 Donn donn.in...@gmail.com Are there a lot of new functions in 1.12 that you need? If not, you could just inline the function signatures in your vala code until someone updates the official vapi. It seems Evan Nemerson is on the case - yay! - but I'd like to know a little more

Re: [Vala] Vala and Cairo 1.12

2013-05-15 Thread Donn
On 15/05/2013 02:23, Evan Nemerson wrote: I just pushed a bunch of changes to the vala cairo bindings. If something is still missing, please file a bug. Thanks Evan, however I'm not sure where these bindings can be found online. Once fetched, would I simply drop them over my current file:

Re: [Vala] Vala and Cairo 1.12

2013-05-15 Thread Donn
On 14/05/2013 19:59, Jonas Kulla wrote: some vapis are auto-generated (mostly for glib based libraries I think), but most are hand written and maintained AFAIK. Okay, thanks. I didn't know this. I was wondering how the appropriate cairo_destroy stuff got into my code when I never call these

Re: [Vala] Vala and Cairo 1.12

2013-05-15 Thread Evan Nemerson
On Wed, 2013-05-15 at 10:26 +0200, Donn wrote: On 15/05/2013 02:23, Evan Nemerson wrote: I just pushed a bunch of changes to the vala cairo bindings. If something is still missing, please file a bug. Thanks Evan, however I'm not sure where these bindings can be found online. In the valac

Re: [Vala] Vala and Cairo 1.12

2013-05-15 Thread Donn
On 15/05/2013 15:05, Evan Nemerson wrote: https://git.gnome.org/browse/vala/plain/vapi/cairo.vapi Great, thanks. pass a --vapidir option to valac so it knows where to look for it. I'm also using gtk, and I see a deps file that specifies 'cairo' - this is all in /usr/share/vala/vapi

[Vala] Vala and Cairo 1.12

2013-05-14 Thread Donn
Hi, Vapi files mystify me. Does anyone know where I can get a vapi (and anything else I'd need) such that I can use Cairo 1.12? Or, perhaps someone can help me generate it? BTW - The valadoc.org/cairo seems to be about version 1.0 of cairo - so it's also out of date. \d

Re: [Vala] Vala and Cairo 1.12

2013-05-14 Thread Jonas Kulla
2013/5/14 Donn donn.in...@gmail.com Hi, Vapi files mystify me. Does anyone know where I can get a vapi (and anything else I'd need) such that I can use Cairo 1.12? Or, perhaps someone can help me generate it? BTW - The valadoc.org/cairo seems to be about version 1.0 of cairo - so it's

Re: [Vala] Vala and Cairo 1.12

2013-05-14 Thread Evan Nemerson
On Tue, 2013-05-14 at 14:32 +0200, Donn wrote: Hi, Vapi files mystify me. Does anyone know where I can get a vapi (and anything else I'd need) such that I can use Cairo 1.12? I just pushed a bunch of changes to the vala cairo bindings. If something is still missing, please file a bug.

  1   2   3   4   5   6   7   8   >