Re: [Geany-Devel] Interested making a patch to add QML support

2013-10-16 Thread Matthew Brush
On 13-10-16 12:53 PM, Tory Gaurnier wrote: Just found a bug where when you have a JS function like 'function myFunct()' it was only displaying 'function' in the symbol list, that's fixed now, so it'll show 'myFunct' as it should. Not sure if anyone is even trying out my QML support yet, but

Re: [Geany-Devel] Interested making a patch to add QML support

2013-10-11 Thread Tory Gaurnier
Ok, I've been testing with several of my QML files, and I think I've worked out most of the bugs, I am going to start working on my other project to test out the QML support, because as of my latest commit I can't find anymore bugs. I'm also open to anyone who wants to test it out to try to

Re: [Geany-Devel] Interested making a patch to add QML support

2013-10-11 Thread Lex Trotman
On 12 October 2013 06:14, Tory Gaurnier tory.gaurn...@linuxmail.org wrote: Ok, I've been testing with several of my QML files, and I think I've worked out most of the bugs, I am going to start working on my other project to test out the QML support, because as of my latest commit I can't find

Re: [Geany-Devel] Interested making a patch to add QML support

2013-10-08 Thread Tory Gaurnier
On 10/07/2013 12:23 PM, Colomban Wendling wrote: Le 07/10/2013 21:01, Tory Gaurnier a écrit : Well I've run into quite a strange bug, and I'm wondering if anyone has had a similar issue. It's working as expected when you first open a QML file, it finds all the tags and places them in a

Re: [Geany-Devel] Interested making a patch to add QML support

2013-10-08 Thread Tory Gaurnier
On 10/05/2013 05:12 PM, Lex Trotman wrote: On 6 October 2013 01:25, Tory Gaurnier tory.gaurn...@linuxmail.org mailto:tory.gaurn...@linuxmail.org wrote: Just thought I'd give everyone an update, it's still coming along, I have the tree view in the symbol list working as expected (it

Re: [Geany-Devel] Interested making a patch to add QML support

2013-10-08 Thread Lex Trotman
On 8 October 2013 20:08, Lex Trotman ele...@gmail.com wrote: [...] Not sure what you mean by test suite, I've uploaded it to github ( https://github.com/tgaurnier/geany/), and would love for people to test it, it seems to be fairly bug free now, there's things I still want to fix, but

Re: [Geany-Devel] Interested making a patch to add QML support

2013-10-08 Thread Tory Gaurnier
On 10/08/2013 02:11 AM, Lex Trotman wrote: On 8 October 2013 20:08, Lex Trotman ele...@gmail.com mailto:ele...@gmail.com wrote: [...] Not sure what you mean by test suite, I've uploaded it to github ( https://github.com/tgaurnier/geany/), and would love for

Re: [Geany-Devel] Interested making a patch to add QML support

2013-10-08 Thread Tory Gaurnier
On 10/08/2013 12:39 PM, Colomban Wendling wrote: Le 08/10/2013 20:53, Tory Gaurnier a écrit : On 10/08/2013 02:11 AM, Lex Trotman wrote: [...] Also could you put your changes in a branch, not master, so they are easier to identify. [...] That's what I was originally doing, but I forgot to

Re: [Geany-Devel] Interested making a patch to add QML support

2013-10-07 Thread Matthew Brush
On 13-10-07 12:01 PM, Tory Gaurnier wrote: Well I've run into quite a strange bug, and I'm wondering if anyone has had a similar issue. It's working as expected when you first open a QML file, it finds all the tags and places them in a hierarchy/tree structure in the symbol list, however, when

Re: [Geany-Devel] Interested making a patch to add QML support

2013-10-05 Thread Tory Gaurnier
Just thought I'd give everyone an update, it's still coming along, I have the tree view in the symbol list working as expected (it was easier than I thought, I was overcomplicating it at first), right now I'm working on cleaning up my code, and optimizing certain things. I would be done by

Re: [Geany-Devel] Interested making a patch to add QML support

2013-10-05 Thread Lex Trotman
On 6 October 2013 01:25, Tory Gaurnier tory.gaurn...@linuxmail.org wrote: Just thought I'd give everyone an update, it's still coming along, I have the tree view in the symbol list working as expected (it was easier than I thought, I was overcomplicating it at first), right now I'm working on

Re: [Geany-Devel] Interested making a patch to add QML support

2013-09-30 Thread Tory Gaurnier
So far so good, I've completely re-vamped the qml.c file, so it correctly recurses into tags, and I've added support for all possible QML Objects and Javascript functions (including signal frunctions, like Component.onCompleted, it won't point to a declaration of a signal like signal

Re: [Geany-Devel] Interested making a patch to add QML support

2013-09-23 Thread Tory Gaurnier
On 09/23/2013 11:37 AM, Tory Gaurnier wrote: So far what I can tell by looking at the Geany source, I added my qml.c file to the ctags folder, in qml.c I only changed one variable type, filePosition (from fpos_t to MIOPos). I edited parsers.h adding my qml parser to the end of the list, I

Re: [Geany-Devel] Interested making a patch to add QML support

2013-09-22 Thread Matthew Brush
On 13-09-22 01:09 AM, Tory Gaurnier wrote: [...] One thing I notice is I don't see line numbers on output, is there an option I have to run ctags with to show the line numbers maybe? --excmd=number Cheers, Matthew Brush ___ Devel mailing list

Re: [Geany-Devel] Interested making a patch to add QML support

2013-09-22 Thread Tory Gaurnier
On 09/22/2013 02:06 AM, Matthew Brush wrote: On 13-09-22 01:09 AM, Tory Gaurnier wrote: [...] One thing I notice is I don't see line numbers on output, is there an option I have to run ctags with to show the line numbers maybe? --excmd=number Cheers, Matthew Brush

Re: [Geany-Devel] Interested making a patch to add QML support

2013-09-20 Thread Tory Gaurnier
On 09/19/2013 05:38 PM, Colomban Wendling wrote: Le 20/09/2013 02:05, Tory Gaurnier a écrit : On 09/19/2013 03:21 PM, Colomban Wendling wrote: Le 20/09/2013 00:07, Tory Gaurnier a écrit : [...] So, the issue now is I can't really figure out how to build CTags, from what I could figure out it

Re: [Geany-Devel] Interested making a patch to add QML support

2013-09-20 Thread Colomban Wendling
Le 20/09/2013 21:00, Tory Gaurnier a écrit : [...], however, I reallized that it's probably getting the line # to point at from the current line number in File when you actually create the tag, so I traced down the functions, and it appears to be the case, so with that method it would most

Re: [Geany-Devel] Interested making a patch to add QML support

2013-09-19 Thread Tory Gaurnier
On 09/19/2013 12:03 AM, Matthew Brush wrote: On 13-09-18 06:27 PM, Lex Trotman wrote: On 19 September 2013 09:35, Lex Trotman ele...@gmail.com wrote: Have you tried to see if the javascript lexer and parser work well enough for QML? its supposed to be based on js. Looks like the js

Re: [Geany-Devel] Interested making a patch to add QML support

2013-09-19 Thread Tory Gaurnier
On 09/19/2013 03:21 PM, Colomban Wendling wrote: Le 20/09/2013 00:07, Tory Gaurnier a écrit : [...] So, the issue now is I can't really figure out how to build CTags, from what I could figure out it seems I need to run the configure script to add values to the Makefile.in, then run make -f

Re: [Geany-Devel] Interested making a patch to add QML support

2013-09-19 Thread Colomban Wendling
Le 20/09/2013 02:05, Tory Gaurnier a écrit : On 09/19/2013 03:21 PM, Colomban Wendling wrote: Le 20/09/2013 00:07, Tory Gaurnier a écrit : [...] So, the issue now is I can't really figure out how to build CTags, from what I could figure out it seems I need to run the configure script to add

Re: [Geany-Devel] Interested making a patch to add QML support

2013-09-18 Thread Tory Gaurnier
On 09/17/2013 06:45 PM, Matthew Brush wrote: On 13-09-17 03:59 PM, Tory Gaurnier wrote: [...] I didn't realize I'd have to create the lexer myself. Is it possible to use the C lexer that's already in Geany and then work it into the QML file type? The only thing I really want to get working is

Re: [Geany-Devel] Interested making a patch to add QML support

2013-09-18 Thread Lex Trotman
Have you tried to see if the javascript lexer and parser work well enough for QML? its supposed to be based on js. Cheers Lex On 19 September 2013 06:52, Matthew Brush mbr...@codebrainz.ca wrote: On 13-09-18 11:47 AM, Tory Gaurnier wrote: On 09/17/2013 06:45 PM, Matthew Brush wrote: On

Re: [Geany-Devel] Interested making a patch to add QML support

2013-09-18 Thread Lex Trotman
On 19 September 2013 09:35, Lex Trotman ele...@gmail.com wrote: Have you tried to see if the javascript lexer and parser work well enough for QML? its supposed to be based on js. Looks like the js lexer works ok, but the parser simply treats QML constructs as data and skips them, oh well.

[Geany-Devel] Interested making a patch to add QML support

2013-09-17 Thread Tory Gaurnier
I'm interested in making a patch to add QML support to Geany, but first I had a few questions. First of all, is anyone else already working on this? And if not, if I manage to get it working well would my patch be worked into the main Geany code so others could get it also? I've been learning