Re: [Vala] idiomatic way to pass an array for modification to a function

2015-12-28 Thread Dan Hitt
length information, so that does not get separated from the array. dan On Mon, Dec 28, 2015 at 5:11 AM, Felipe Lavratti wrote: > (1) > Copies are only made to owned variables, this is how you know that > copy will implicit made: assigned to a owned variable. > https://wiki.gnome.org/Pro

Re: [Vala] idiomatic way to pass an array for modification to a function

2015-12-27 Thread Dan Hitt
ut i was trying it out just to see what would happen. Note that i'm very naive and literal about this, so there may be some obvious context that i'm ignoring. dan On Sun, Dec 27, 2015 at 3:20 PM, Felipe Lavratti wrote: > Hi, > > Everything is a reference in Vala, so, there&

[Vala] idiomatic way to pass an array for modification to a function

2015-12-27 Thread Dan Hitt
d but detailed references. (This subject seems to come up from time to time, but the answers are never quite detailed enough for me to comprehend.) dan ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] interaction of parentheses and string template interpolation via the @ sign

2015-12-26 Thread Dan Hitt
OK, thanks for the explanation. dan On Sat, Dec 26, 2015 at 1:29 AM, Luca Bruno wrote: > I believe this is an issue with the lexer. Template strings are parsed at > syntax level, not parser level, hence it may not support nested parenthesis. > > On Fri, Dec 25, 2015 at 8:17 PM, Dan

[Vala] interaction of parentheses and string template interpolation via the @ sign

2015-12-25 Thread Dan Hitt
has such a drastic effect. And it also makes me wonder just what @ does and what it sees: clearly it has greater visibility into its surroundings than just some function.) Thanks in advance for any info. dan ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] error messages from valac have some kind of extra formatting that confuses emacs compilation mode

2015-12-24 Thread Dan Hitt
Ah perfect Thank you Luca!! (I just double-checked the man page and do not see the no-color --- if there's a better place for me to look, please let me know. But no matter what, that you for making my life a lot easier!) dan On Thu, Dec 24, 2015 at 9:48 AM, Luca Bruno wrote: > va

[Vala] error messages from valac have some kind of extra formatting that confuses emacs compilation mode

2015-12-24 Thread Dan Hitt
n off the extra formatting. I presume there must be, because after all these years i can hardly be first to have this problem. Thanks in advance for any clues, even RTFM if you point me to the right fine manual to read! dan ___ vala-list mailing

Re: [Vala] image processing and analysis projects in vala

2013-05-12 Thread Dan Hitt
On Sun, May 12, 2013 at 2:15 PM, Marc-André Lureau wrote: > > Hi > > On Wed, May 1, 2013 at 6:35 AM, Dan Hitt wrote: >> Are there any public image processing or analysis programs written in >> vala? > You may want to look at http://www.gegl.org/ which has va

[Vala] image processing and analysis projects in vala

2013-04-30 Thread Dan Hitt
ce for any pointers or faqs or references of any sort, even to very well known projects that i should be aware of but somehow am not. dan ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] suppressing the "never used" warning on a method-by-method basis, at least for libraries

2013-01-15 Thread Dan Hitt
On Tue, Jan 15, 2013 at 7:56 AM, Dan Hitt wrote: > On Tue, Jan 15, 2013 at 12:44 AM, Jens Georg wrote: >> On Mo, 2013-01-14 at 20:57 -0800, Dan Hitt wrote: >> >>> I would really like to disable only the never used warnings >>> (and i'd like to do i

Re: [Vala] suppressing the "never used" warning on a method-by-method basis, at least for libraries

2013-01-15 Thread Dan Hitt
On Tue, Jan 15, 2013 at 12:44 AM, Jens Georg wrote: > On Mo, 2013-01-14 at 20:57 -0800, Dan Hitt wrote: > >> I would really like to disable only the never used warnings >> (and i'd like to do it on a method-by-method basis, because, >> after all, the "

[Vala] suppressing the "never used" warning on a method-by-method basis, at least for libraries

2013-01-14 Thread Dan Hitt
c version 0.16.1 on ElementaryOS (so probably very nearly what you'd expect on Ubuntu 12.04). Thanks in advance for any info, including references to a FAQ or a man page or something online if this is a frequently asked question. (And thanks to the cre

Re: [Vala] Operating system project

2012-11-17 Thread Dan Hitt
code out of it :( . ) Thanks in advance for any info, and hope that my questions aren't obviously answered by the docs (but if they are, please point me to them --- i looked at Luca's link, which is where i found out about Granite, but i don't have much feel for just what's in

Re: [Vala] howto invoke an external process

2012-02-17 Thread Dan Hitt
n a cleaner solution, for example, a SubProcess class.) dan On Fri, Feb 17, 2012 at 9:43 AM, D.H. Bahr wrote: > Hello everyone, this is my first email to the list. > > I've been looking at Vala for a while now, and I like all I see. I just > a have a question right now: > >

Re: [Vala] C Integration, it's cool

2011-12-16 Thread Dan Hitt
be able to tap into it. dan (PS: in case it makes any difference, i'm using vala 0.14 in ubuntu 11.10.) On Fri, Dec 16, 2011 at 10:55 AM, Rodrigo Herefeld wrote: > I've found a goodie, i needed to use libcurl in a vala program, just to > fetch a file regulary from the internet

Re: [Vala] Troubleshooting valac SIGSEGV

2008-12-19 Thread Dan Saul
On Fri, Dec 19, 2008 at 5:28 AM, Jürg Billeter wrote: > On Thu, 2008-12-18 at 23:08 -0600, Dan Saul wrote: >> After upgrading to 0.5.2 when compiling my program I get a SIGSEGV in valac. >> >> I am running "Linux Sleet 2.6.26-1-686 #1 SMP Wed Nov 26 19:14:11 UTC >

[Vala] Troubleshooting valac SIGSEGV

2008-12-18 Thread Dan Saul
w where to begin looking. The code is located here if you would like to see it http://www.slello.com/tmp/FileBrowser.tar.bz2 . Thanks, Dan gdb output Description: Binary data ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/lis

Re: [Vala] Re : Include config.h before gi18n-lib.h

2008-12-02 Thread Dan Saul
order matters? But it appears gege2061 has the proper answer. Dan ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Include config.h before gi18n-lib.h

2008-12-02 Thread Dan Saul
Hi, In what order are your using __; defined? Perhaps reordering these might result in a difference. Dan On 2-Dec-08, at 7:01 AM, Frédéric Gaudy wrote: Hi, I use gettext in my application with this code : Intl.bindtextdomain (Config.GETTEXT_PACKAGE, Config.LOCALE_DIR

[Vala] Vala Switch Statements with Constant Strings

2008-11-23 Thread Dan Saul
*)type_table_name . Just a small detail! Thanks for the great project! - Dan Saul GCC Warning: SidebarList.c:514: warning: assignment discards qualifiers from pointer target type Original Vala source: private void setup_load_sidebar_database_specified(int64 id, int64 type_id, int64

Re: [Vala] Bindings for gdkkeysyms.h

2008-11-18 Thread Dan Saul
On 17-Nov-08, at 12:25 PM, Daniel Svensson wrote: On Mon, Nov 17, 2008 at 7:24 PM, Daniel Svensson <[EMAIL PROTECTED]> wrote: On Sun, Nov 16, 2008 at 6:55 PM, Dan Saul <[EMAIL PROTECTED]> wrote: 0, 1, 2, 3,

Re: [Vala] Bindings for gdkkeysyms.h

2008-11-16 Thread Dan Saul
Ah, thanks! I had assumed --pkg was for namespaces and not actual files. On Sun, Nov 16, 2008 at 12:04 PM, Alexander Bokovoy <[EMAIL PROTECTED]> wrote: > On Sun, Nov 16, 2008 at 8:55 PM, Dan Saul <[EMAIL PROTECTED]> wrote: >> Hi, >> >> It would seem that bin

[Vala] Bindings for gdkkeysyms.h

2008-11-16 Thread Dan Saul
oes not exist in the context of `Gdk' case Gdk.KeySyms.Up: // GDK_Up 0xff52 ^^^^^^ Any thoughts? -- Dan Saul vapi file (warning huge amounts of text) follows: namespace Gdk { [CCode (cprefix = "GDK_", c

Re: [Vala] Vala port of gtk-sharp-ribbon

2008-07-18 Thread dan
Nice work! I've wanted to play with this for a while. It might be worth your while writing up a sample for how to use it from C code, I'm sure people would be interested. best, Dan ___ Daniel Lucraft www.songkick.com www.daniellucraft.com/blog ---