Re: [Vala] Bad C code generation (lvalue required as unary '' operand)

2015-01-29 Thread Guillaume Poirier-Morency
-01-29 16:48 GMT+01:00 Guillaume Poirier-Morency guillaumepoiriermore...@gmail.com: Le jeudi 29 janvier 2015 à 15:30 +0100, yannick inizan a écrit : Vala translate your cast to a get_type function of your value. ex: Value v = toto

Re: [Vala] Bad C code generation (lvalue required as unary '' operand)

2015-01-29 Thread Guillaume Poirier-Morency
Le jeudi 29 janvier 2015 à 17:46 +0100, yannick inizan a écrit : add an 'v != null' assertion to avoid GLib Critical error :) 2015-01-29 17:42 GMT+01:00 Guillaume Poirier-Morency guillaumepoiriermore...@gmail.com: Le jeudi 29 janvier 2015 à 16:58 +0100, yannick inizan

[Vala] Bad C code generation (lvalue required as unary ‘’ operand)

2015-01-29 Thread Guillaume Poirier-Morency
‘’ operand I attached the full log and the bug is easily reproducible (the sample does it). -- Guillaume Poirier-Morency guillaumepoiriermore...@gmail.com test.vala:3.1-1.9: warning: main blocks are experimental test.vala:3.5-3.19: warning: local variable `val' declared but never used var val

Re: [Vala] Bad C code generation (lvalue required as unary '' operand)

2015-01-29 Thread Guillaume Poirier-Morency
function. 2015-01-29 15:16 GMT+01:00 Guillaume Poirier-Morency guillaumepoiriermore...@gmail.com: I am working on Valum, a web micro-framework written in Vala https://github.com/antono/valum valac is generating very strange code that doesn't compile

[Vala] How does IOError.from_errno works?

2015-03-03 Thread Guillaume Poirier-Morency
: src/vsgi/fastcgi.c:1170:10: erreur: incompatible types when assigning to type ‘struct GError *’ from type ‘GIOErrorEnum’ _tmp7_ = g_io_error_from_errno (_tmp6_); Is it a bug? Thanks in advance! -- Guillaume Poirier-Morency guillaumepoiriermore...@gmail.com

[Vala] How do I access command line arguments from a main block?

2015-02-20 Thread Guillaume Poirier-Morency
Simple question here! How can I access the CLI arguments from a main block? Is there something like a predefined variable? -- Guillaume Poirier-Morency guillaumepoiriermore...@gmail.com signature.asc Description: This is a digitally signed message part

Re: [Vala] How do I access command line arguments from a main block?

2015-02-20 Thread Guillaume Poirier-Morency
: https://github.com/valum-framework/valum/blob/master/examples/app/app.vala Le vendredi 20 février 2015 à 22:51 -0600, David Lechner a écrit : On 02/20/2015 09:41 PM, Guillaume Poirier-Morency wrote: Simple question here! How can I access the CLI arguments from a main block

[Vala] Research project on the Vala compiler

2015-04-03 Thread Guillaume Poirier-Morency
KLOC I plan to use it as an empirical justification to setup a set of measurements to control the quality of Valum, a web micro-framework I will work on this summer. The results will be all released under a Creative Commons license. Thanks in advance :) -- Guillaume Poirier-Morency

Re: [Vala] Research project on the Vala compiler

2015-04-05 Thread Guillaume Poirier-Morency
, Guillaume Poirier-Morency guillaumepoiriermore...@gmail.com escribió: Hi everyone! I am conducting a small research project on the Vala compiler that would principally study how it affects different quality metrics (size, complexity, etc...) during the implementation step

Re: [Vala] Need some feedback for Valum, a web micro-framework!

2015-06-27 Thread Guillaume Poirier-Morency
Le samedi 27 juin 2015 à 11:51 +, Al Thomas a écrit : From: Guillaume Poirier-Morency guillaumepoiriermore...@gmail.com Sent: Saturday, 27 June 2015, 3:37 Subject: [Vala] Need some feedback for Valum, a web micro-framework! I am working on a web micro-framework this summer

Re: [Vala] Need some feedback for Valum, a web micro-framework!

2015-06-27 Thread Guillaume Poirier-Morency
the documentation with some examples on how to use JSON with Valum. Yours, Grindhold ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list Thank you, I really had great feedback so far! -- Guillaume Poirier

[Vala] Need some feedback for Valum, a web micro-framework!

2015-06-26 Thread Guillaume Poirier-Morency
for good in the incoming releases. I might also need help with Debian packaging, because I literally have no clue about how it works. Thanks for the consideration, -- Guillaume Poirier-Morency guillaumepoiriermore...@gmail.com signature.asc Description: This is a digitally signed message part

Re: [Vala] Need some feedback for Valum, a web micro-framework!

2015-06-30 Thread Guillaume Poirier-Morency
to make something usable. Posting on this mailing list gave me really constructive feedback and I am glad I did that. Thanks again! Le mardi 30 juin 2015 à 18:26 +, Al Thomas a écrit : From: Guillaume Poirier-Morency guillaumepoiriermore...@gmail.com Sent: Tuesday, 30 June 2015, 17:22

Re: [Vala] Need some feedback for Valum, a web micro-framework!

2015-06-28 Thread Guillaume Poirier-Morency
Here it is: http://valum-framework.readthedocs.org/en/latest/recipes/json.html Enjoy! 2015-06-27 11:44 GMT-04:00 Guillaume Poirier-Morency guillaumepoiriermore...@gmail.com: Le samedi 27 juin 2015 à 12:51 +0200, Daniel Brendle a écrit : Hi, Gillaume I discovered valum in the trending

Re: [Vala] Generating JSON in Vala

2015-06-30 Thread Guillaume Poirier-Morency
: https://github.com/unyieldinggrace/EasyJSON Hopefully that helps Grindhold! ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list -- Guillaume Poirier-Morency guillaumepoiriermore...@gmail.com

Re: [Vala] Need some feedback for Valum, a web micro-framework!

2015-06-30 Thread Guillaume Poirier-Morency
Le lundi 29 juin 2015 à 22:37 +, Al Thomas a écrit : From: Guillaume Poirier-Morency guillaumepoiriermore...@gmail.com Sent: Saturday, 27 June 2015, 16:35 Subject: Re: [Vala] Need some feedback for Valum, a web micro -framework! Modules is just a pattern to simplify and decouple

[Vala] Need some help writing examples for Valum

2015-08-05 Thread Guillaume Poirier-Morency
. It's described in this blog post: http://arteymix.github.io/valum/2015/08/01/fourteenth-week-update.html It's a piece of cake to write ;) Regards, -- Guillaume Poirier-Morency guillaumepoiriermore...@gmail.com Étudiant au baccalauréat en Informatique à l'Université de Montréal Développeur

Re: [Vala] Reading last n lines from file

2015-10-07 Thread Guillaume Poirier-Morency
olve a subprocess that calls tail. > > Cheers, > ___ > vala-list mailing list > vala-list@gnome.org > https://mail.gnome.org/mailman/listinfo/vala-list -- Guillaume Poirier-Morency <guillaumepoiriermore...@gmail.com> Étudiant au baccalauré

[Vala] Cannot throw IOError.from_errno

2015-11-14 Thread Guillaume Poirier-Morency
. --  Guillaume

Re: [Vala] Nest ncurses in a Gtk window?

2015-12-04 Thread Guillaume Poirier-Morency
_ > vala-list mailing list > vala-list@gnome.org > https://mail.gnome.org/mailman/listinfo/vala-list -- Guillaume Poirier-Morency <guillaumepoiriermore...@gmail.com> Étudiant au baccalauréat en Informatique à l'Université de Montréal Développeur d'application web Mon blo

Re: [Vala] [Valum]help with process async method.

2015-11-24 Thread Guillaume Poirier-Morency
eloper. I am also working on wrapping fcgi.vapi in a more GIO-friendly way. I suggest that you use SCGI for now if you plan to make use of asynchronous programming, otherwise you can use the synchronous version of 'send' http://valadoc.org/#!api=libsoup-2.4/Soup.Session.send > > how to impleme

Re: [Vala] Use rust [was: Seeking for Vala programmer]

2016-06-16 Thread Guillaume Poirier-Morency
> Marcin > > 2016-06-15 22:30 GMT+02:00 Guillaume Poirier-Morency rmore...@gmail.com>: > > I just want to state that I'm in perfect agreement with you Marcin. > > > > Rust might be a good system programming language, but it's clearly > > not > > ready fo

Re: [Vala] Use rust [was: Seeking for Vala programmer]

2016-06-15 Thread Guillaume Poirier-Morency
ber of > > useful > > bug reports after I think investing some considerable time in using > > Vala. I > > hope the Vala community continues to grow and address some of those > > issues. > > > > > > Al > > __

Re: [Vala] Need help in async methods

2016-01-16 Thread Guillaume Poirier-Morency
/ <-- this should block > >   return 0; > } > > > Thank you for your help > > m. > ___ > vala-list mailing list > vala-list@gnome.org > https://mail.gnome.org/mailman/listinfo/vala-list -- Guillaume Poirier-More

Re: [Vala] disable free at block end

2016-03-10 Thread Guillaume Poirier-Morency
ss you are doing something very specific, use SocketService, it has a much simpler interface: http://valadoc.org/#!api=gio-2.0/GLib.SocketService The SocketConnection is an IOStream, so you have access to input_stream.read_all, which will perform a complete read for the requested buffer size. &

[Vala] Asynchronous delegates (proposal)

2016-03-30 Thread Guillaume Poirier-Morency
and/or an elegant solution to the chaining problem. -- Guillaume Poirier-Morency <guillaumepoiriermore...@gmail.com> Étudiant au baccalauréat en Informatique à l'Université de Montréal Développeur d'application web Mon blog: https://arteymix.github.io/ Mon projet de coopérative:

Re: [Vala] Design - Serialization Library - Problem: ref and async

2016-04-02 Thread Guillaume Poirier-Morency
pool), so you don't really need to work with threads here. You could use Redis to save the states as it support binary storage or store them in files. > > Currently, my library client is a turn-based game where the Server > component periodically saves its state if it is modified. >

Re: [Vala] Extended floating types

2016-05-23 Thread Guillaume Poirier-Morency
ended floating datatypes such as long double > > or > > float128_t. This fact disappointed me and I'm interested in some > > comments. > > > > With best regards, > > > > Vitaly Chernooky > > ___ > > vala-list ma

Re: [Vala] How to override a "class closure for a signal"?

2016-07-28 Thread Guillaume Poirier-Morency
> > But then valac complains that it "hides inherited signal" in the > first  > case and "Only virtual signals can have a default signal handler > body"  > for both. > > Any hints? Thanks! > > //Mike > -- Guillaume Poirier-Morency <

[Vala] New data API written in Vala

2016-07-22 Thread Guillaume Poirier-Morency
Gda.Connection objects * Docker The data service will also be available in MessagePack as I am working on a Json.Node serializer. If you have any questions or feedback, don't hesitate! P.S. Be kind and mail me if you find any bugs ;) -- Guillaume Poirier-Morency <guillaumepoirierm

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

2016-07-21 Thread Guillaume Poirier-Morency
lto:awill...@whitemice.org > > > <javascript:;>> GPG > > > D95ED383 > > > OpenGroupware Developer <http://www.opengroupware.us/> > > > > > > > > > ___ > > > vala-list mai

Re: [Vala] How to check if string is empty

2017-01-16 Thread Guillaume Poirier-Morency
perfectly fine: bool is_null_or_empty (string? a) { return a == null || a.length == 0; } assert (is_null_or_empty (null)); assert (is_null_or_empty ("")); assert (!is_null_or_empty (" ")); > > On 16/01/2017 17:23, Guillaume Poirier-Morency wrot

Re: [Vala] The future of Vala

2016-09-13 Thread Guillaume Poirier-Morency
few fixes > and features in mind that I'd like > to address, and I can go into more detail if anybody is interested. What > is it that you would like to see? > > Cheers, > Matthias > ___ > vala-list mailing list > vala-list@gn

Re: [Vala] Libsoup websockets

2016-09-21 Thread Guillaume Poirier-Morency
 // receive messages en responds ...  });  }); serv.listen_local(8080, 0); new MainLoop ().run (); Then connect to 'ws://localhost:8080/'. -- Guillaume Poirier-Morency <guillaumepoiriermore...@gmail.com> Étudiant au baccalauréat en Informatique

Re: [Vala] Libsoup websockets

2016-09-21 Thread Guillaume Poirier-Morency
ind any). Thank you. > > Baptiste. > _______ > vala-list mailing list > vala-list@gnome.org > https://mail.gnome.org/mailman/listinfo/vala-list -- Guillaume Poirier-Morency <guillaumepoiriermore...@gmail.com> Étudiant au baccalauréat en I

[Vala] Vast and other numerical projects

2016-11-26 Thread Guillaume Poirier-Morency
pretty optimist that we will have a nice general purpose multi-dimensional array implementation for crunching some serious numbers out of all that. Best regards, -- Guillaume Poirier-Morency <guillaumepoiriermore...@gmail.com> Étudiant au baccalauréat en Informatique à l'Université de Mo

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

2016-11-24 Thread Guillaume Poirier-Morency
03/introduci > ng-libcolumbus-a-fast-online-approximate-matching-library/ > ___ > vala-list mailing list > vala-list@gnome.org > https://mail.gnome.org/mailman/listinfo/vala-list -- Guillaume Poirier-Morency <guillaumepoiriermore...@gmail.com> Étudiant au baccala

[Vala] Nice stuff incoming for the next Meson release

2017-04-11 Thread Guillaume Poirier-Morency
://github.com/mesonbuild/meson/pull/1469 - https://github.com/mesonbuild/meson/pull/1599 - https://github.com/mesonbuild/meson/pull/954 - https://github.com/mesonbuild/meson/pull/1603 - https://github.com/mesonbuild/meson/pull/1610 -- Guillaume Poirier-Morency <guillaumepoirierm

[Vala] About GTask constructor

2017-04-18 Thread Guillaume Poirier-Morency
There is no 'g_task_new_finish' symbol that correspond to the asynchronous constructor of GTask. Is there anything I can do to fix that? -- Guillaume Poirier-Morency <guillaumepoiriermore...@gmail.com> Étudiant au baccalauréat en Informatique à l'Université de Montréal Chercheur bour

Re: [Vala] Null Coalescing Assignment Operator

2017-05-27 Thread Guillaume Poirier-Morency
__ > vala-list mailing list > vala-list@gnome.org > https://mail.gnome.org/mailman/listinfo/vala-list -- Guillaume Poirier-Morency Étudiant au baccalauréat en informatique à l'Université de Montréal Stagiaire de recherche à l'IRIC Mon blog: https://arteymix.github.io/ Mon projet de coopérative

Re: [Vala] Null Coalescing Assignment Operator

2017-05-28 Thread Guillaume Poirier-Morency
= thing_a ()?.thing_b ()?.thing_c (); > ___ > vala-list mailing list > vala-list@gnome.org > https://mail.gnome.org/mailman/listinfo/vala-list -- Guillaume Poirier-Morency <guillaumepoiriermore...@gmail.com> Étudiant au baccalauréat en informatique à l'Université de Montr

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

2017-05-19 Thread Guillaume Poirier-Morency
which would be more consistent with this > suggested approach of using --pkg to enable compiler-specific > features. I'm not so sure about all this. These three already use the same C namespace 'g_', so it's already consistent to have them under the same Vala namespace. > > //

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

2017-05-07 Thread Guillaume Poirier-Morency
adare/posixvala> for reference. I've seen it! Reimplementing parts GLib is not really convenient though. > > Best regards, > > :M: > ___ > vala-list mailing list > vala-list@gnome.org > https://mail.gnome.org/mailman/listinfo/vala

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

2017-05-07 Thread Guillaume Poirier-Morency
, possibly with a reduced feature set, but still. > > Best regards, > > :M: > ___ > vala-list mailing list > vala-list@gnome.org > https://mail.gnome.org/mailman/listinfo/vala-list -- Guillaume Poirier-Morency <gui

[Vala] Roadmap for extending Vala's reach

2017-05-06 Thread Guillaume Poirier-Morency
t'll be good for a minor release. Tell me what you think about this! -- Guillaume Poirier-Morency <guillaumepoiriermore...@gmail.com> Étudiant au baccalauréat en informatique à l'Université de Montréal Stagiaire de recherche à l'IRIC Mon blog: https://arteymix.github.io/ Clé PGP: B1AD6

Re: [Vala] valadoc

2018-12-14 Thread Guillaume Poirier-Morency via vala-list
gt; Something like "https://valadoc.org/search?=Gtk.Label; ? > > > Thanks for help > > Wolfgang > > > ___ > vala-list mailing list > vala-list@gnome.org > https://mail.gnome.org/mailman/listinfo/vala-list > -- Gu

Re: [Vala] valaDevelop

2019-03-05 Thread Guillaume Poirier-Morency via vala-list
u can see some of the early screenshots here > https://github.com/wolfgangmauer/valaDevelop > > Greetings > Wolfgang > PS. Also a macOS - Version will be available > > > Am 04.03.19 um 18:40 schrieb Guillaume Poirier-Morency: > > What features are supported by your IDE? &g

Re: [Vala] valaDevelop

2019-03-10 Thread Guillaume Poirier-Morency via vala-list
> > Upon completion, all features that comprise each tool should be > available in one. > > You can see some of the early screenshots here > https://github.com/wolfgangmauer/valaDevelop > > Greetings > Wolfgang > PS. Also a macOS - Version will be available > > >

Re: [Vala] valaDevelop

2019-03-20 Thread Guillaume Poirier-Morency via vala-list
> Wolfgang > > > Am 11.03.19 um 04:30 schrieb Guillaume Poirier-Morency: > > I just added the entry in the Wiki. > > Le dim. 10 mars 2019, à 10 h 17, Wolfgang Mauer < > wolfgang.ma...@kabelmail.de> a écrit : > >> Implemented so far... >> &g

Re: [Vala] Downloading only a portion in the latter part of a file from internet

2019-08-28 Thread Guillaume Poirier-Morency via vala-list
this > example). If the above is not correct then what is the correct way of doing > this. > > > Yours sincerely, > Arvind. > ___ > vala-list mailing list > vala-list@gnome.org > https://mail.gnome.org/mailman/listinfo/vala-list >

Re: [Vala] Preprocessor defines via Meson or valac

2019-12-06 Thread Guillaume Poirier-Morency via vala-list
darc...@163.com > > > *From:* Guillaume Poirier-Morency via vala-list > *Date:* 2019-12-07 01:32 > *To:* Ken Gilmer > *CC:* vala-list > *Subject:* Re: [Vala] Preprocessor defines via Meson or valac > If I can suggest a small improvement, you could use the > declare_depen

Re: [Vala] Preprocessor defines via Meson or valac

2019-12-05 Thread Guillaume Poirier-Morency via vala-list
s/Vala/Manual/Preprocessor > 4: > https://github.com/libfuse/libfuse/blob/fuse_2_9_bugfix/include/fuse.h#L16 > _______ > vala-list mailing list > vala-list@gnome.org > https://mail.gnome.org/mailman/listinfo/vala-list -- Guillaume Poirier-Morency Programmeur analyste en b

Re: [Vala] Preprocessor defines via Meson or valac

2019-12-06 Thread Guillaume Poirier-Morency via vala-list
symbol as desired: > > add_project_arguments('-DFUSE_USE_VERSION=26', language: 'c') > > > On Thu, Dec 5, 2019 at 11:45 PM Guillaume Poirier-Morency via vala- > list wrote: > > Le jeudi 05 décembre 2019 à 22:13 -0800, Ken Gilmer via vala-list a > > écrit : > >