[Geany-devel] Vala file type & co

Colomban Wendling ban-ubuntu at xxxxx
Sat Dec 6 17:23:54 UTC 2008


Hi,

I join a patch to improve Vala tagmanager.
What's new:
    * Fixed handling of function attributes (was handled as something
like arrays);
    * Fixed nested types handling (such as 'Gtk.TreeModel' as a
function's return type);
    * Add some missing keywords ('weak', 'ref' and 'out');
    * Fixed functions with nullable arguments types, and generally
nullable types;
    * Fixed support of '@' prefix to escape a keyword (for using it as a
function name, property or so).

I've not found any problems for now with my patch, but I think it is
possible that there's some ones:
    * Fixing function attributes perhaps have an impact on array
support, but seems not. (note that side effects are only possible with
Vala itself, not with other c.c's filetypes);
    * Support of '@' at start of a name is done in isident1() from
tagmanager/get.h. I think it have a possible impact to other filetypes,
even if I don't know anyone, and haven't see anyone. For example, C#
seems to have a syntax like @"a string" and I dunno if my changes have
any impact to it since I don't know C# and I haven't found any relevant
example.


Comments & feedback are welcome as usual :)


Regards,
Colomban
-------------- next part --------------
A non-text attachment was scrubbed...
Name: geany_some_vala_fixes.diff
Type: text/x-patch
Size: 7416 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20081206/fa214a95/attachment.bin>


More information about the Devel mailing list