Re: [Vala] try/catch concepts

2011-11-15 Thread Phil Housley
style ignore errors/abort. This is possibly the worst option. -- Phil Housley ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Question regarding passing a strings as arguments to a method

2011-07-11 Thread Phil Housley
there is a new strong reference to it ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list -- Phil Housley ___ vala-list mailing list vala-list@gnome.org http

Re: [Vala] Contributing (to docs)

2011-03-13 Thread Phil Housley
samples, but I don't know of any that people have specifically asked for. Also, I think there has been some work on a longer form tutorial, concentrating on working code rather than short snippets. Hopefully someone else can update on the status of those. -- Phil Housley

Re: [Vala] Behavior on null pointers

2011-01-17 Thread Phil Housley
less forgiving than some languages. -- Phil Housley ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] mandatory this. in classes?

2011-01-17 Thread Phil Housley
just makes it explicit what you mean, and so lots of people do that to be safe/clear. -- Phil Housley ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] How to write float and double values into a binary file?

2010-12-17 Thread Phil Housley
? ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list -- Phil Housley ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo

Re: [Vala] Vala: Signal from POSIX

2010-10-19 Thread Phil Housley
invoke the method. The only way to do the specific thing you illustrate is to have one callback method per instance of Check, which is only possible if you know in advance how many instances you will have. On Mon, Oct 18, 2010 at 9:13 PM, Phil Housley undeconstruc...@gmail.com wrote: On 18

Re: [Vala] Vala: Signal from POSIX

2010-10-18 Thread Phil Housley
. -- Phil Housley ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] How I do dump elements in global namespace?

2010-08-03 Thread Phil Housley
things into the global namespace without some sort of declaration in the source, so you can work out the globals from looking at the source. -- Phil Housley ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Execute a function by name in Genie

2010-07-04 Thread Phil Housley
___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list -- Phil Housley ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] SQLite callback problem

2010-07-04 Thread Phil Housley
, meaning it is executed without reference to an instance of your class. Someone? Thanks. ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list -- Phil Housley

Re: [Vala] Help writing to the terminal

2010-06-30 Thread Phil Housley
On 30 June 2010 02:00, David LastName lighteningstrik...@gmail.com wrote: I'm trying to make a program to make what I have to type to compile things shorter. It's so I can type: /path/to/prog input.cc -o input instead of g++ input.cc -o input -Wall -O2 `pkg-config xfcui-4.3 --cflags --libs`

Re: [Vala] Fwd: Building a build tool

2010-03-13 Thread Phil Housley
/siliconisland/2010/03/buildj-build-configuration-for-the-mases.html Mensaje original Asunto: [Vala] Building a build tool Fecha: Tue, 29 Sep 2009 22:30:00 +0100 De: Phil Housley undeconstruc...@gmail.com Para: vala vala-list@gnome.org Grupos de noticias: gmane.comp.programming.vala

Re: [Vala] Does vala provide syntactic sugar for weak references that know when its peer has been nulled?

2010-03-04 Thread Phil Housley
a referenced object - assigning the result to something strongly references the object and so it is safe for as long as you need it. -- Phil Housley ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Introducing Realise (prototype 1)

2009-10-30 Thread Phil Housley
2009/10/29 Abderrahim Kitouni a.kito...@gmail.com: Hi, 2009/10/15, Phil Housley undeconstruc...@gmail.com: If anyone has any interest in trying out my code, please realise that it is very early stage, and makes a lot of assumptions - for example, when compiling it will always invoke

[Vala] Introducing Realise (prototype 1)

2009-10-15 Thread Phil Housley
the patience to try it, I would be very grateful, any changes needed to get it to run will be accepted. [1] https://code.launchpad.net/~undeconstructed/libcore/devel -- Phil Housley ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman

Re: [Vala] Building a build tool

2009-10-06 Thread Phil Housley
2009/10/4 Abderrahim Kitouni a.kito...@gmail.com: 2009/10/1 Phil Housley undeconstruc...@gmail.com: 2009/9/30 Ali Sabil ali.sa...@gmail.com: On Tue, Sep 29, 2009 at 11:30 PM, Phil Housley undeconstruc...@gmail.com wrote: I've been messing around with a little build tool recently Me too

Re: [Vala] Building a build tool

2009-10-02 Thread Phil Housley
2009/10/2 Andrea Bolognani e...@kiyuko.org: On Fri, Oct 02, 2009 at 01:30:58PM +0100, Phil Housley wrote: With my Debian package maintainer hat on, I kindly ask you _not_ to do that. Upstream development and packaging for a distribution are two totally separated affairs, and mixing

Re: [Vala] Building a build tool

2009-10-01 Thread Phil Housley
2009/9/30 Ali Sabil ali.sa...@gmail.com: On Tue, Sep 29, 2009 at 11:30 PM, Phil Housley undeconstruc...@gmail.com wrote: I've been messing around with a little build tool recently ... Thoughts? I have started thinking about something similar a while ago based on the declarative maven model

Re: [Vala] Final / Sealed classes in Vala

2009-09-26 Thread Phil Housley
a form component in some ways but, importantly, did not follow the contract guaranteed among all real form components. The aim of all this is that you can do pretty much anything you want, except things that can (almost) only lead to trouble. -- Phil Housley

Re: [Vala] Wrapping Errors

2009-09-04 Thread Phil Housley
2009/9/3 Yu Feng rainwood...@gmail.com: On Thu, 2009-09-03 at 13:38 +0100, Phil Housley wrote: 2009/8/22 Jan Hudec b...@ucw.cz: On Thu, Aug 20, 2009 at 22:09:21 -0400, Yu Feng wrote: GError doesn't support error wrapping as Java does. Is GLib is purposely avoiding

Re: [Vala] Wrapping Errors

2009-09-03 Thread Phil Housley
. --                                                 Jan 'Bulb' Hudec b...@ucw.cz ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list -- Phil Housley ___ Vala

Re: [Vala] Getting path to my program's directory

2009-08-28 Thread Phil Housley
will probably do that for you by writing it into a config header during the configure stage. get_current_dir() will normally return the directory the user started the app from. -- Phil Housley ___ Vala-list mailing list Vala-list@gnome.org http

Re: [Vala] How to contribute to vala manual?

2009-07-26 Thread Phil Housley
people could get involved. I was using https://code.launchpad.net/~undeconstructed/vala/docs, since I was working individually and prefer bazaar, but I don't know how useful that is for anyone else. -- Phil Housley ___ Vala-list mailing list Vala-list

Re: [Vala] Val(a)IDE 0.5 - IDE for Vala

2009-06-16 Thread Phil Housley
://live.gnome.org/TwoPointTwentyfive/ExternalDependencies http://git.gnome.org/cgit/vala/tree/vapi/unique-1.0.vapi -- Phil Housley ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Create C++ binding library

2009-05-19 Thread Phil Housley
be possible to extend Vala to create that sort of bridge automatically, it would be a lot of work - a long way from just creating a vapi file. -- Phil Housley ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] lock (this) not available?

2009-05-14 Thread Phil Housley
at http://live.gnome.org/Vala/ThreadingSamples, although the first doesn't look to quite work, as it tries to join on two threads, but that is an unrelated issue. -- Phil Housley ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org

Re: [Vala] Coding standard: indentation?

2009-02-09 Thread Phil Housley
to be kept synchronized, it would also make it trickier to let people add and maintain... Possibly a separate repo could be used to keep the history around in an easier to track way than wiki, but someone would still have to put quite a lot of time into it. -- Phil Housley

Re: [Vala] just a suggestion

2009-01-20 Thread Phil Housley
intend to get back to updating the tutorial/docs any day now, so I'll help out with anything else where I can. Also, anything that I've written already I'm happy to see copied, as long as it stays open of course. -- Phil Housley ___ Vala-list mailing list

Re: [Vala] just a suggestion

2009-01-20 Thread Phil Housley
2009/1/20 Phil Housley undeconstruc...@gmail.com: I was thinking about this a while back when I was writing the tutorial, I have a short contents list that I'll post here as soon as I get home this evening. I really do intend to get back to updating the tutorial/docs any day now, so I'll

Re: [Vala] virtual / override

2008-12-29 Thread Phil Housley
() // calls BaseClass.some_simple That is to say, if you think you have a SubClass at the end of a BaseClass reference, you will only be calling SubClass methods if they are virtual in BaseClass, and overridden in SubClass. -- Phil Housley ___ Vala-list mailing

Re: [Vala] foreach performance

2008-12-17 Thread Phil Housley
have no concept of removing items anyway. Whether there will be a performance issue depends on the type of collection. Something array backed won't cost anything extra, something linked list backed will. -- Phil Housley ___ Vala-list mailing list Vala

Re: [Vala] foreach performance

2008-12-17 Thread Phil Housley
-- Phil Housley ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] reference problem

2008-08-05 Thread Phil Housley
changes. I would suggest the best thing to do would be to use an easier to handler list. Either use something like one of the lists from libgee, or write a wrapper for GList. -- Phil Housley ___ Vala-list mailing list Vala-list@gnome.org http

Re: [Vala] vte get_cursor_position error

2008-08-04 Thread Phil Housley
-to-date? - Tony If you are just fixing mistakes in a binding, making a single patch the whole set of changes will almost always be ok - just consider the bug to be binding isn't right, and then fix it in one go! -- Phil Housley

Re: [Vala] Problem with get_table and free_table in sqlite binding

2008-07-09 Thread Phil Housley
API. I have a half fix here[1], but to actually use get_table you need to drop down to C and do the pointer stuff by hand. [1] http://bugzilla.gnome.org/show_bug.cgi?id=540823 -- Phil Housley ___ Vala-list mailing list Vala-list@gnome.org http

Re: [Vala] Class definitions

2008-06-03 Thread Phil Housley
-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list -- Phil Housley ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Some basic problems with gstreamer

2008-04-22 Thread Phil Housley
now... -- Phil Housley ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Some basic questions

2008-03-22 Thread Phil Housley
haven't looked at what this code actually does. -- Phil Housley ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] cairo example compile fail

2008-03-06 Thread Phil Housley
. The issue is that the second parameter used to be the length of the array (the first parameter), but that is now set automatically by Vala. I'll change the sample, just as soon as I check why there is still a warning when it does compile. -- Phil Housley

[Vala] First attempt at a tutorial

2007-12-11 Thread Phil Housley
Maybe halfway, not counting all the omissions/mistakes, but it's a start. Some parts of it I wrote fairly late last night also, so who knows what state it's in. Nonetheless, all comments are welcome, for big or small changes. http://docs.google.com/Doc?id=dc7k77rd_462gz44fg -- Phil Housley

Re: [Vala] First attempt at a tutorial

2007-12-11 Thread Phil Housley
http://docs.google.com/Doc?id=dc7k77rd_462gz44fg Why aren't you using live.gnome.org/Vala/. .. To create the tutorial? Dude, I can be so rude sometimes... Besides the fact that you're using google docs, I think that so far you've done an excellent work. I have some suggestions, but I