Re: [Geany-Devel] [FT-plugins] Proposed Design

2016-08-28 Thread Matthew Brush
On 2016-08-28 08:17 PM, Lex Trotman wrote: On 29 August 2016 at 12:30, Matthew Brush wrote: [...] That's the idea with boolean results, a plugin could actually provide the feature but return `FALSE` and Geany would call the next provider to perform the feature as well.

Re: [Geany-Devel] [FT-plugins] Proposed Design

2016-08-28 Thread Lex Trotman
On 29 August 2016 at 12:30, Matthew Brush wrote: > On 2016-08-28 06:59 PM, Lex Trotman wrote: >> >> On 29 August 2016 at 10:47, Matthew Brush wrote: >>> >>> [...] >>> >>> "Registration" - the act (ie. function call) of an ft-plugin declaring >>> its

Re: [Geany-Devel] [FT-plugins] Proposed Design

2016-08-28 Thread Matthew Brush
On 2016-08-28 06:59 PM, Lex Trotman wrote: On 29 August 2016 at 10:47, Matthew Brush wrote: [...] "Registration" - the act (ie. function call) of an ft-plugin declaring its interest in providing a feature for a filetype. An ft-plugin can register to provide one or more

[Geany-Devel] [FT-plugins] Proposed Design

2016-08-28 Thread Matthew Brush
Hi All, After experimenting with a few different ideas and approaches, I think I have come up with a way to implement the core of "filetype plugins"[0] without too much effort or code. Terminology: "Filetype plugin" - or "ft-plugin"; at this point is just normal plugin that would

Re: [Geany-Devel] [FT-plugins] Allowing plugins to supply filetype specific functionality

2016-08-28 Thread Matthew Brush
On 2016-08-28 08:47 AM, Jiří Techet wrote: Hi Matthew, some random thoughts. I'm not sure I agree with doing lots of changes on a separate branch basically without any review. While you will be able to commit things fast to the branch, the most probable outcome will be the branch will get

Re: [Geany-Devel] [FT-plugins] Allowing plugins to supply filetype specific functionality

2016-08-28 Thread Jiří Techet
Hi Matthew, some random thoughts. I'm not sure I agree with doing lots of changes on a separate branch basically without any review. While you will be able to commit things fast to the branch, the most probable outcome will be the branch will get never merged because either nobody will be able

Re: [Geany-Devel] [FT-plugins] Vala for prototyping

2016-08-28 Thread Matthew Brush
On 2016-08-27 04:09 PM, Matthew Brush wrote: Hi All, With respect to the efforts described in PR #1195[0] is anyone opposed to using Vala as a GObject code generator? I propose we use Vala as a way to generate GObject boilerplate while we hammer out the design of FT-plugins, and later once the

Re: [Geany-Devel] [FT-plugins] Vala for prototyping

2016-08-28 Thread Matthew Brush
On 2016-08-28 01:51 AM, Thomas Martitz wrote: Am 28. August 2016 01:09:36 MESZ, schrieb Matthew Brush : Hi All, With respect to the efforts described in PR #1195[0] is anyone opposed to using Vala as a GObject code generator? I propose we use Vala as a way to generate