Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Lex Trotman
[...] Not what it says here https://wiki.gnome.org/Vala/Manual/Errors and anything that can throw through C code can cause leaks since the C code doesn't clean up. Same as C++, you can't use exceptions mixed with C code. Trust me, I generated lots of C code from Vala, when you throw an

Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Pavel Roschin
Maybe, rewriting some parts of boating complicated leaky code (e.g. build.c:) isn't bad idea and suitable in this situation. You don't need much bindings for editor and Vala shouldn't be a pain. But AFAIK Geany don't use GObject and writing on Vala may cause deep refactoring that will take your

Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Thomas Martitz
Am 10.11.2013 05:44, schrieb Matthew Brush: Hi all, In the spirit of the previous discussions about using C99 and C++ in Geany code with similar subject lines, I'd like to take a poll/discussion for allowing the use of Vala for new/re-written Geany code. The pros and cons likely will be

Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Matthew Brush
On 13-11-10 02:00 AM, Pavel Roschin wrote: Maybe, rewriting some parts of boating complicated leaky code (e.g. build.c:) isn't bad idea and suitable in this situation. You don't need much bindings for editor and Vala shouldn't be a pain. But AFAIK Geany don't use GObject and writing on Vala may

Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Matthew Brush
On 13-11-10 07:40 AM, Colomban Wendling wrote: Le 10/11/2013 05:44, Matthew Brush a écrit : Hi all, In the spirit of the previous discussions about using C99 and C++ in Geany code with similar subject lines, I'd like to take a poll/discussion for allowing the use of Vala for new/re-written

Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Thomas Martitz
Am 10.11.2013 20:27, schrieb Matthew Brush: On 13-11-10 07:40 AM, Colomban Wendling wrote: Le 10/11/2013 05:44, Matthew Brush a écrit : Hi all, In the spirit of the previous discussions about using C99 and C++ in Geany code with similar subject lines, I'd like to take a poll/discussion for

Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Matthew Brush
On 13-11-10 11:45 AM, Thomas Martitz wrote: Am 10.11.2013 20:27, schrieb Matthew Brush: On 13-11-10 07:40 AM, Colomban Wendling wrote: Le 10/11/2013 05:44, Matthew Brush a écrit : Hi all, In the spirit of the previous discussions about using C99 and C++ in Geany code with similar subject

Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Matthew Brush
On 13-11-10 01:44 AM, Lex Trotman wrote: [...] Not what it says here https://wiki.gnome.org/Vala/Manual/Errors and anything that can throw through C code can cause leaks since the C code doesn't clean up. Same as C++, you can't use exceptions mixed with C code. Trust me, I generated lots

Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Lex Trotman
On 11 November 2013 02:40, Colomban Wendling lists@herbesfolles.orgwrote: Le 10/11/2013 05:44, Matthew Brush a écrit : Hi all, In the spirit of the previous discussions about using C99 and C++ in Geany code with similar subject lines, I'd like to take a poll/discussion for allowing

Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Lex Trotman
[...] Yes, I understand how the throws are implemented in vala, but as I said, the existing C code isn't designed to handle that. Much of the existing code uses GError-style errors, and any existing C code that was made to to call Vala generated code would do the same, no biggie. It's not

Re: [Geany-Devel] Let's use Vala

2013-11-10 Thread Matthew Brush
On 13-11-10 03:02 PM, Lex Trotman wrote: [...] Yes, I understand how the throws are implemented in vala, but as I said, the existing C code isn't designed to handle that. Much of the existing code uses GError-style errors, and any existing C code that was made to to call Vala generated

[Geany-Devel] A direction for Geany

2013-11-10 Thread Lex Trotman
Hi All, Recently there have been a number of proposals for significant changes in Geany, different languages, GObjectification and other various changes. As good or bad as the individual suggestions may be, they have made it clear to me that there is no plan for the future of Geany that allows