Re: [Geany-devel] tagmanager changes

2012-05-09 Thread Thomas Martitz

Am 09.05.2012 07:47, schrieb Lex Trotman:

Using ctags, including locals in the tags generated from Geany source,
slightly more than doubled the number of tags, and for some C++ I have
around nearly four times the number.


But you only need the tags for the current scope and can drop them if 
you enter another (non-nested) scope. This surely doesn't double or 
quadruple the tags.


If I'm editing func A I don't want the locals of func B through Z in my 
autocompletion list.


Best regards.
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


Re: [Geany-devel] tagmanager changes

2012-05-09 Thread Lex Trotman
On 9 May 2012 16:54, Thomas Martitz
thomas.mart...@student.htw-berlin.de wrote:
 Am 09.05.2012 07:47, schrieb Lex Trotman:

 Using ctags, including locals in the tags generated from Geany source,
 slightly more than doubled the number of tags, and for some C++ I have
 around nearly four times the number.


 But you only need the tags for the current scope and can drop them if you
 enter another (non-nested) scope. This surely doesn't double or quadruple
 the tags.

You can't drop them from the tags structures because when you are
parsing you don't know which scope the cursor is in.  So you have to
add them all, then decide which ones apply to the current scope.


 If I'm editing func A I don't want the locals of func B through Z in my
 autocompletion list.

Yes, correct, but they have to be in the tags first, then tagmanager
has to be taught to choose the in-scope declaration, thats my point
the parsers do not generate the information and tagmanager/symbols.c
doesn't know how to use it

Cheers
Lex



 Best regards.

 ___
 Geany-devel mailing list
 Geany-devel@uvena.de
 https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


Re: [Geany-devel] tagmanager changes

2012-05-09 Thread Thomas Martitz

Am 09.05.2012 09:37, schrieb Lex Trotman:

On 9 May 2012 16:54, Thomas Martitz
thomas.mart...@student.htw-berlin.de  wrote:

Am 09.05.2012 07:47, schrieb Lex Trotman:


Using ctags, including locals in the tags generated from Geany source,
slightly more than doubled the number of tags, and for some C++ I have
around nearly four times the number.


But you only need the tags for the current scope and can drop them if you
enter another (non-nested) scope. This surely doesn't double or quadruple
the tags.

You can't drop them from the tags structures because when you are
parsing you don't know which scope the cursor is in.  So you have to
add them all, then decide which ones apply to the current scope.


Okay, but still only for the current file and not an entire project.

Best regards.
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


Re: [Geany-devel] tagmanager changes

2012-05-09 Thread Lex Trotman
On 9 May 2012 17:40, Thomas Martitz
thomas.mart...@student.htw-berlin.de wrote:
 Am 09.05.2012 09:37, schrieb Lex Trotman:

 On 9 May 2012 16:54, Thomas Martitz
 thomas.mart...@student.htw-berlin.de  wrote:

 Am 09.05.2012 07:47, schrieb Lex Trotman:

 Using ctags, including locals in the tags generated from Geany source,
 slightly more than doubled the number of tags, and for some C++ I have
 around nearly four times the number.


 But you only need the tags for the current scope and can drop them if you
 enter another (non-nested) scope. This surely doesn't double or quadruple
 the tags.

 You can't drop them from the tags structures because when you are
 parsing you don't know which scope the cursor is in.  So you have to
 add them all, then decide which ones apply to the current scope.


 Okay, but still only for the current file and not an entire project.

Yes, Geany would only have the open files parsed, I only parsed the
entire project to see how much the number of symbols increased if you
go parse locals, by using all of Geany I got an average increase, note
I only said two times not an absolute number :)

Cheers
Lex



 Best regards.
 ___
 Geany-devel mailing list
 Geany-devel@uvena.de
 https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


[Geany-devel] Geany Plugins Build using Waf fails from current Git master

2012-05-09 Thread Dominic Hopf
Hey guys,

building Geany Plugins from Git fails currently fails here. The output:

http://pastebin.geany.org/kota1/

This doesn't actually mean this is an issue with Geany-Plugins, I'm
running the current Fedora 17 Beta state here with updates-testing
enabled. ;)

I was hoping someone of you could point me in the right direction where
to search for the cause anyway. :)

Best Regards,
Dominic


-- 
Dominic Hopf 
http://dominichopf.de/

Key Fingerprint: A7DF C4FC 07AE 4DDC 5CA0  BD93 AAB0 6019 CA7D 868D


signature.asc
Description: This is a digitally signed message part
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


Re: [Geany-devel] Geany Plugins Build using Waf fails from current Git master

2012-05-09 Thread Quentin Glidic
On 09/05/2012 20:28, Dominic Hopf wrote:
 Hey guys,
 
 building Geany Plugins from Git fails currently fails here. The output:
 
 http://pastebin.geany.org/kota1/
 
 This doesn't actually mean this is an issue with Geany-Plugins, I'm
 running the current Fedora 17 Beta state here with updates-testing
 enabled. ;)
 
 I was hoping someone of you could point me in the right direction where
 to search for the cause anyway. :)
 
 Best Regards,
 Dominic


It’s a Vala related error, a name collision. I submitted a patch for
this issue, see http://lists.uvena.de/geany-devel/2012-April/006759.html


-- 

Quentin Sardem FF7 Glidic


___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


Re: [Geany-devel] geany-plugins: Bleeding-edge compatibility

2012-05-09 Thread Frank Lanitz
On Thu, 19 Apr 2012 17:38:00 +0200
Quentin Glidic sardemff7+ge...@sardemff7.net wrote:

 On 19/04/2012 16:43, Matthew Brush wrote:
  An explanation would be useful.
  
  For MultiTerm, presumably it's to avoid a clash with 
  GLib.Menu/MenuItem? Is GIO stuff part of the implicit namespace for 
  GLib?
 
 Yes, and yes.
 
 
  If the answer to those is yes, it looks fine to apply as is. Even
  if the answer is no, the patch shouldn't harm anything besides 
  cluttering up the code a little bit.
 
 Attached a new patch with a better commit message.

With a view onto
http://lists.uvena.de/pipermail/geany-devel/2012-May/006824.html
Is this fine to append? 


Cheers, 
Frank
-- 
http://frank.uvena.de/en/


pgpDJpMTMQyWZ.pgp
Description: PGP signature
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel


Re: [Geany-devel] geany-plugins: Bleeding-edge compatibility

2012-05-09 Thread Matthew Brush

On 12-05-09 01:02 PM, Frank Lanitz wrote:

On Thu, 19 Apr 2012 17:38:00 +0200
Quentin Glidicsardemff7+ge...@sardemff7.net  wrote:


On 19/04/2012 16:43, Matthew Brush wrote:

An explanation would be useful.

For MultiTerm, presumably it's to avoid a clash with
GLib.Menu/MenuItem? Is GIO stuff part of the implicit namespace for
GLib?


Yes, and yes.



If the answer to those is yes, it looks fine to apply as is. Even
if the answer is no, the patch shouldn't harm anything besides
cluttering up the code a little bit.


Attached a new patch with a better commit message.


With a view onto
http://lists.uvena.de/pipermail/geany-devel/2012-May/006824.html
Is this fine to append?



Yeah it's fine.

Thanks,
Matthew Brush
___
Geany-devel mailing list
Geany-devel@uvena.de
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel