Re: [Vala] Libgee problem

2009-12-10 Thread Dr. Michael Lauer
Am 10.12.2009 um 10:47 schrieb Abderrahim Kitouni: > Hi, > > 2009/12/9 Jamie McCracken : >> On Wed, 2009-12-09 at 20:50 +0100, Nicolas wrote: >>> In fact, i'm using genie, because i love the syntax. >>> I making all the available examples in >>> http://code.valaide.org/category/tags/genie >>> >>

Re: [Vala] Vala safe to use for development?

2010-01-08 Thread Dr. Michael Lauer
As far as I know (Jürg, please speak up if I'm wrong) the core Vala syntax is to stay like it is until 1.0 except some possible additions, such as the new array slice syntax or the string templates. We will hopefully see tuples as well. We will see more changes in the bindings though, which can l

Re: [Vala] Feature request: Syntactic sugar to map foo[index] to foo.get(index)

2010-03-01 Thread Dr. Michael Lauer
Am 01.03.2010 um 11:21 schrieb Frederik: > Jürg Billeter wrote: >> Hi, >> >> On Mon, 2010-03-01 at 03:31 -0600, Sandino Flores Moreno wrote: >>> I noticed that Vala allows with Gee sequences the next mapping: >>>array_list[index]---> array_list.get(index) >>> >>> However, shouldn't

Re: [Vala] IDE ?

2010-03-16 Thread Dr. Michael Lauer
I'm using geany, which is quite fast, has good keyboard shortcuts, and reasonable autocompletion. :M: ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Strangeness with sorting using Gee ArrayList

2010-06-15 Thread Dr. Michael Lauer
Am 15.06.2010 um 17:52 schrieb Abderrahim Kitouni: > 2010/6/13, Christer : >> Hi all, >> >> Ive been stuck with this problem for a week now. I have been asking on the >> irc channel as well but nobody so far has been able to see a problem with >> the code. I have gotten the suggestion to compile

Re: [Vala] Assertion Fails in valasemanticanalyzer.c

2010-07-08 Thread Dr. Michael Lauer
Am 08.07.2010 um 04:39 schrieb tecywiz121: > When I compile my project with git head I get the following assertion: > > ERROR:valasemanticanalyzer.c:2939:vala_semantic_analyzer_get_actual_type: > assertion failed: (instance_type != NULL) I have seen that as well here and could fix it by adding

Re: [Vala] Pseudo Terminal support in Vala

2010-11-09 Thread Dr. Michael Lauer
Hi Ervin, have a look at how we do it in FSO's libfsotransport: http://git.freesmartphone.org/?p=cornucopia.git;a=blob;f=libfsotransport/fsotransport/pty.vala;hb=HEAD Cheers, :M: ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/ma

Re: [Vala] contructor

2011-01-04 Thread Dr. Michael Lauer
Welcome to the wonderful world of conflicting C-names. Try naming your class XmlParser (which looks better to me anyways...) :M: ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Error in unary prefixed-increment casuses segfault....

2011-01-21 Thread Dr. Michael Lauer
Please file a bug. Thanks, :M: ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] need help

2011-02-11 Thread Dr. Michael Lauer
> I'am just writting a simple program that aims at collecting gps data from the > NeoFreerunner. I'm doing this using the vala programing language. I came into > trouble while trying to read GetPosition() data from the > org.freedesktop.Gypsy.Position interface. as the method GetPosition() retur

Re: [Vala] [newbie] Creating a VAPI for a raw C library

2011-02-28 Thread Dr. Michael Lauer
> You should have a look at the SQLite vapi. Right, or alsa, libnl-1, libnl-2.0, canberra, linux, etc. Many of those wrap non-gobject C types, some of them also add additional API on top to make things feeling a bit more valaish. Cheers, :M: ___ vala-

Re: [Vala] Template languages?

2011-04-20 Thread Dr. Michael Lauer
Am 20.04.2011 um 09:12 schrieb Joseph Montanez: > Is there any in vala to help with string templating? I see there is > libXML but I didn't notice libxsl. I'll be happy with those two, but I > have seen a few c specific template libraries like CTemplate and > ClearSilver. Has anyone used anything

Re: [Vala] [ANNOUNCE] ValaTerm 0.3

2011-05-19 Thread Dr. Michael Lauer
Nice. I don't have a Linux machine here now, but I'll have a look at how it compares to the one I did a couple of years ago (http://git.freesmartphone.org/?p=vala-terminal.git;a=summary) Cheers, :M: ___ vala-list mailing list vala-list@gnome.org htt

Re: [Vala] Adding support for C++

2011-06-16 Thread Dr. Michael Lauer
Hi Sepehr, yes, C++ support would be awesome. I'd like to see that as well, in particular since I have some Qt code that I'd like to spice up with Vala code. Unfortunately it needs quite complicated forwarders / glue code, if you want to e.g. bind signals/slots and QML. I'd definitely be interest

Re: [Vala] Make an object serializable over dbus?

2011-08-30 Thread Dr. Michael Lauer
Right now there is nothing like "pluggable" serializers for DBus, everything has to be coded in the vala gdbus module. I'd love to see something like that as well. NB: Are you sure about Gee having dbus serialization or are you confusing that with GLib? Cheers, :M:

Re: [Vala] Iterating over enums

2011-12-13 Thread Dr. Michael Lauer
I like that. Please open a bug^hfeature suggestion on bugzilla, so we can further discuss there. > I was aware of this post, I was looking for a solution however, which > would not require the manual and therefore error prone maintenance of an > array: > >public static Suit[] all() { >

Re: [Vala] how to pass a List by reference?

2011-12-13 Thread Dr. Michael Lauer
The only reason I have for using the glib types is dbus, unfortunately you can't pass gee types to dbus... yet. :M: ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Experimental regexes

2011-12-13 Thread Dr. Michael Lauer
I agree. I'm using it without any problems for quite a while. :M: ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] How to know if a key is being pressedf

2011-12-13 Thread Dr. Michael Lauer
> Is there a way of knowing if a key is being pressed without a whole > "override" function (event) for it? This depends on the UI toolkit you are using. In the case of e.g. Gtk, better ask this on a gtk mailing list. Cheers, :M: ___ vala-list mailing

Re: [Vala] [vala] vte creating a terminal

2011-12-13 Thread Dr. Michael Lauer
Perhaps vala-terminal can inspire you. I wrote it three years ago: http://git.freesmartphone.org/?p=vala-terminal.git;a=summary Cheers, :M: ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Wrong List?

2011-12-14 Thread Dr. Michael Lauer
I noticed a lot of devel-orientated talk around here lately, but I think that comes partly due to the fact that vala is not stable yet, so a lot of bugs are discovered by postings on the -user list. The development list vala-devel on the other hand has almost zero traffic, so perhaps we need to gui

Re: [Vala] Vala logo

2012-01-02 Thread Dr. Michael Lauer
I also like version 5, however I think the typography should be reconsidered. While it looks cool and scifi-like, I'd appreciate something more readable. Cheers, :M: ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/

Re: [Vala] Project Vala-dbus-binding-tool is alive?

2014-04-01 Thread Dr. Michael Lauer
Hi Rafael, sorry for the delay in answering, but I had to drop out of foss for 2 years due to my little one. As part of revitalizing fso (freesmartphone.org), I’ll take a look at updating our tools to comply with the newer dependencies. If you have any patches, please forward them to me. Otherw

Re: [Vala] How to use vala Linux.backtrace?

2014-04-02 Thread Dr. Michael Lauer
http://git.freesmartphone.org/?p=cornucopia.git;a=blob;f=libfsoframework/fsobasics/utilities.vala;h=bfaccbf2d5bc91e65e86164a0f5fa8bb0a304c35;hb=HEAD contains the code for which I added the Linux.backtrace binding. I don’t know whether it still compiles with newer Vala, but it once worked fine. C

Re: [Vala] Using a C library

2015-06-24 Thread Dr. Michael Lauer
> Lastly, a question about gobject introspection. I'm totally clueless about > this. So my plan on my project is to release in 3-4/5 parts. The first part > will be the vapi, and a sensible OOP Vala library. The second part is Vala > program that provides a DBus interface to Spotify that obviously

Re: [Vala] Bindings wiki pages, was Re: libserialport binding

2015-06-24 Thread Dr. Michael Lauer
Sounds good, please go ahead! :M: ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Asynchronous delegates (proposal)

2016-03-30 Thread Dr. Michael Lauer
> Am 30.03.2016 um 18:58 schrieb Guillaume Poirier-Morency > : > > I think it would be worth for Vala to support asynchronous delegates > and since I'll have some time this summer, I might as well work on that > feature. Awesome! I have been missing them since December 2009 – see https://bugzill

Re: [Vala] Just a news I've read about popularity langage

2016-07-21 Thread Dr. Michael Lauer
> Am 21.07.2016 um 14:54 schrieb Felipe Lavratti : > > This is nice. What could be done to push vala further in adoption? > Bug fixes – there’s a ton of open issues since years, especially those who lead Vala to generate C code that then fails to compile. And possibly a revamped core to make it

Re: [Vala] Just a news I've read about popularity langage

2016-07-22 Thread Dr. Michael Lauer
> As an embedded system engineer I see huge potential using Vala in embedded > Linux, it has not the runtime drawback of python and java, and is way > simpler to use than C++, while C# has no porting to ARM. Yes. Unfortunately though the very useful POSIX profile has been removed from VALA and no

Re: [Vala] The future of Vala

2016-09-13 Thread Dr. Michael Lauer
Hi folks, it’s great to see this discussion finally moving – albeit somewhat late. With Luca leaving the project ([Vala] Leaving the project ), the situation is now even more critical. Given that Joerg obviously has n

[Vala] Bindings: Proposal to add Glibc.vapi

2017-02-18 Thread Dr. Michael Lauer
Hi folks, https://bugzilla.gnome.org/show_bug.cgi?id=773271 inspired me to reconsider where to put all these non-POSIX extensions of standard C library functions. In the past we have added some of them to Linux.vapi, but strictly seen these ar

Re: [Vala] State of the Vala union

2017-04-13 Thread Dr. Michael Lauer
Hi Matthias, > Well, apparently storing objects in a List is esoteric, > because the compiler will let obvious type errors pass: > > var l1 = new ArrayList(); > ArrayList l2 = l1; > l2.add(new Object()); > Foo f = l1[0]; // f has type Foo but points to an Object, no cast is needed. > > And a

Re: [Vala] Roadmap for extending Vala's reach

2017-05-07 Thread Dr. Michael Lauer
Excellent idea, Guillaume, I was pretty disappointed with the removal of the Posix profile, since there is quite some potential usage in embedded, kernel-space, and firmware niches. Please see https://github.com/radare/posixvala for reference. Best regards,

[Vala] glib backtrace

2017-11-22 Thread Dr. Michael Lauer
Hi Michael, > PS: Has anyone used the glib backgrace_symbols() function[0] to generate a > stack trace in Vala? > > [0] - > I have (and I’m responsible for their bindings in linux.vapi). FSO has stalled for a couple of years

Re: [Vala] glib backtrace

2017-11-26 Thread Dr. Michael Lauer
Hi Mike, > Thanks for the link. I guess based on the VAPI name it's Linux specific - but > does it rely on glibc or is it actually using something Linux-kernel-specific? Indeed they are glibc-specific rather than Linux-specific. Their presence in Linux.vapi is merely historic, since when I added

Re: [Vala] Gnome Gitlab

2017-12-27 Thread Dr. Michael Lauer
My vote would be GitHub. Although non-free, the visibility (which is very much necessary for such a niche project like Vala) is an order of a magnitude higher. Best regards, :M: ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mai

[Vala] bsd.vapi – prior work?

2018-02-16 Thread Dr. Michael Lauer
Hi, I’m working on some low-level macOS stuff these days and plan to create a bsd.vapi to host these things, similar to what we did with linux.vapi. Before starting, in order to prevent duplicated work, did anyone do any prior work on something like that for macOS/*BSD? Cheers, :M: ___

[Vala] Legacy Bindings: "Inject" & operator?

2018-02-28 Thread Dr . Michael Lauer
The other day I was using Posix.ctime a lot on various time_t types. I pondered whether it would be helpful to add a to_string() method to make this a bit more convenient. Ideally I would state something like diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 82785747e..31a68885f 100644 -

[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 platform

[Vala] IDEs (was: C# Developer)

2018-10-09 Thread Dr. Michael Lauer
Indeed, there is a shortcoming in specialized IDEs or, reasonable vala-Support in existing IDEs, respectively. Unfortunately all the existing approaches (Valama, Valencia, Valide) seem to be abandoned. Personally I’d love to see a specialized IDE for Vala, but creating something that is up to p

Re: [Vala] introduce valaDevelop

2019-02-23 Thread Dr. Michael Lauer
Hi, > The IDE is Freeware! At now there is no plan to make it OpenSource. That’s a pity. I’d be interested in making it work on macOS and you don’t seem to have binaries available for that platform. Besides, developing something in the open is usually more fun. Cheers, :M: __

Re: [Vala] valaDevelop

2019-05-10 Thread Dr. Michael Lauer
Well, I can imagine that it would have generated more feedback if it was developed in the open. Most (of the few) Vala developers have strong roots in open source and – although not as comfortable as ValaDevelop – there are „alternatives" out there which are completely open. That said, Wolfgang