Re: [Vala] Parameter variables in async functions aren't preserved

2019-02-07 Thread Ben Iofel via vala-list
Is the string array allocated on the stack? On Thu, Feb 7, 2019 at 3:56 PM rastersoft wrote: > > Hi all: > > I did an async function and after a yield I tried to use one of the > parameter variables, but they contain garbage after that call (at least > in the case of an string array). > > An

Re: [Vala] Message's content type

2018-10-01 Thread Ben Iofel via vala-list
I would guess that GMail is sending HTML email and the list disallows it On October 1, 2018 1:10:18 PM EDT, Wolfgang Mauer wrote: >Hi list, > >if i send a message from outlook to the list everything is fine. > > > >If I send it from my S7 with gmail or ubuntu with the webfrontend I get >the

Re: [Vala] Connecting callbacks with Glade

2017-06-13 Thread Ben Iofel
Composite template support is great in vala. Here's an example file: https://github.com/vaccineapp/vaccine/blob/master/src/view/CatalogItem.vala and the associated glade file: https://github.com/VaccineApp/vaccine/blob/master/data/ui/catalog-item.ui Also, if you upload your code to GitHub or

Re: [Vala] .me cast resurrection on "Re: The future of Vala"

2017-03-04 Thread Ben Iofel
Here is an old Vala to JavaScript compiler https://github.com/lethalman/maja On Sat, Mar 4, 2017 at 7:34 PM Guillaume Poirier-Morency < guillaumepoiriermore...@gmail.com> wrote: > It would be quite a challenge in terms of implementation, but I like > the idea. > > Maybe having a Web-based

Re: [Vala] Valadoc.org is fully operational again

2016-11-24 Thread Ben Iofel
On Thu, Nov 24, 2016, 1:21 PM Dmitry Golovin <d...@golovin.in> wrote: > 24.11.2016, 18:33, "Ben Iofel" <iofel...@gmail.com>: > > I'm working on a brand new valadoc by generating XML at > > https://github.com/eustasy/vala-docs.org/tree/generator . Currently

Re: [Vala] Valadoc.org is fully operational again

2016-11-24 Thread Ben Iofel
I'm working on a brand new valadoc by generating XML at https://github.com/eustasy/vala-docs.org/tree/generator . Currently valadoc.org generates html pages then extracts the parts it wants On Nov 24, 2016 9:16 AM, "Guillaume Poirier-Morency" < guillaumepoiriermore...@gmail.com> wrote: > Le

Re: [Vala] Difference between setting "vapidir" and adding a .vapi file (was "Global key shortcuts")

2016-08-20 Thread Ben Iofel
I'm pretty sure that --pkg checks for a pkg-config file, where as passing the vapi doesn't On Sat, Aug 20, 2016 at 5:10 AM rastersoft wrote: > Hi: > > Finally I found the library "keybinder". It doesn't work no wayland, but > at least allows me to do what I need in X. > >

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

2016-07-28 Thread Ben Iofel
ve a boost. But it's a huge effort. Vala gives a lot of profits to the > developers right now, even without one, so I think first thing should be > trying to get the most of what is available by "selling" this in a right > way. > > m. > > > > 2016-07-26 22:36 GMT+02:00 Be

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

2016-07-26 Thread Ben Iofel
You should contribute to https://github.com/eustasy/vala-lang.org ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

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

2016-07-22 Thread Ben Iofel
I'm sure the guys at elementary.io would love to help with marketing. They started a new vala site and new vala documentation page On Fri, Jul 22, 2016, 7:47 AM Felipe Lavratti wrote: > As an embedded system engineer I see huge potential using Vala in embedded > Linux, it

Re: [Vala] getting started with vala and glade

2016-06-26 Thread Ben Iofel
As OP said, if you run the commented out code it works fine. On Sun, Jun 26, 2016 at 6:24 PM, Ben Iofel <iofel...@gmail.com> wrote: > The run method blocks, so it works fine. I've used this line in my own > programs > > On Sun, Jun 26, 2016 at 6:23 PM, Luca Bruno <lethalm

Re: [Vala] getting started with vala and glade

2016-06-26 Thread Ben Iofel
Vala does not have garbage collection, and the main() in the code example is fine On Sun, Jun 26, 2016 at 3:10 PM, Luca Bruno wrote: > Il venerdì 27 maggio 2016, Chris Bare ha scritto: > > > I have a very simple vala program that is trying to load a

Re: [Vala] valadoc.org online again, but search not working

2016-06-06 Thread Ben Iofel
For now you may use this mirror with working search: http://valadoc.valadate.org On Mon, Jun 6, 2016 at 6:08 AM Ulink wrote: > Hi, > > valadoc.org seems online again, but if one type something into the > search field, it shows: > > 'Query failed: (0)s' > > Is someone able to fix

Re: [Vala] Extended floating types

2016-05-24 Thread Ben Iofel
error: structs cannot be empty: float128_t On Tue, May 24, 2016 at 11:16 AM Al Thomas <astav...@yahoo.co.uk> wrote: > > > > ---------- > *From:* ben <iofel...@gmail.com> > *Sent:* Tuesday, 24 May 2016, 16:01 > *Subject:* Re: [Vala] Extend

Re: [Vala] Autocomplete server

2016-04-21 Thread Ben Iofel
libvala is probably the only way to do this I have generated valadoc for libvala on my website https://iofel.me/libvala/libvala/index.htm On Thu, Apr 21, 2016 at 3:53 PM Thiago Jedi wrote: > Hey guys. > > First of all, Vala is awesome. I'm kinda new in the Vala world, but as

Re: [Vala] How to properly define struct in manually written VAPI?

2016-03-02 Thread Ben Iofel
s, I don't remember now. In my > use case more low level, better-tested library will a be better choice. > > m. > > 2016-03-02 15:28 GMT+01:00 Ben <iofel...@gmail.com>: > >> FYI, Vala already has binding for json-glib >> http://valadoc.org/#!api=json-glib-1.0/J

Re: [Vala] How to test async methods?

2016-02-17 Thread Ben Iofel
You need a MainLoop to run async methods in vala On Tue, Feb 16, 2016, 8:19 AM mar...@saepia.net wrote: > Hello, > > I need some advice on testing async methods. > > When I run .begin() in the isolated test suite (where mainloop is not > running) it seems that .end() callback

Re: [Vala] Is there any usable editor for Vala?

2016-02-15 Thread Ben Iofel
If you see a crash in builder, I could look into it with a stack trace On Sun, Feb 14, 2016, 6:32 AM Matthias Berndt wrote: > Hi, > > I wonder if you have any recommendation regarding a decent editor for Vala. > I don't need much, just code completion and "go to

Re: [Vala] pass signal to covered window

2016-02-05 Thread Ben Iofel
To emit signals in Vala, you just call them like methods textView.button_press_event (); On Fri, Feb 5, 2016 at 9:06 AM Gilzad Hamuni wrote: > Just for the integrity of this topic. > > One solution to pass/fire an event programmatically is to use > GLib.Signal.emit_by_name(),

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] Reading last n lines from file

2015-10-07 Thread Ben Iofel
If it's a small file, you could read the whole thing into a string using GLib.FileUtils.get_contents and then just grab the part you want On Wed, Oct 7, 2015 at 11:02 AM Guillaume Poirier-Morency < guillaumepoiriermore...@gmail.com> wrote: > Le mercredi 07 octobre 2015 à 10:16 -0400, Serge Hooge