Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-05

New bug with codetools files

2 messages · 1 person · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Anthony Walter

Mattias, I filed a which I am pretty sure this bug is in your wheelhouse. I think it's being causes by codetools and some newer language enhancements. I took a look at fixing the problem myself and couldn't make any progress. here is a summary of what's going on.

This bug curiously in not present when using Lazarus on Windows http://bugs.freepascal.org/view.php?id=24431

I am preparing a multi-platform open source free pascal game library for the forthcoming SDL 2.0. The toolkit is called Bare Game and in it I have a unit tree with like this:

units
------

Bare.Game
Bare.Graphics
Bare.Graphics.Imaging
Bare.Graphics.Imaging.Linux
Bare.Graphics.Imaging.Windows
Bare.Networking
Bare.Networking.Web
Bare.Text
Bare.System

The problem is that units like Bare.Graphics and Bare.Networking cause codetools to stop working (and in units under those units) and you are taken to what it thinks are error points constantly. Basically, you are taken to an error point if you try to invoke code insight by pressing ctrl
+ space in any of those units or any unit underneath. Also you cannot ctrl
+ left click to navigate to any types/functions/identifiers in those units.

Again this issue is curious because it does not occur on Windows builds of lazarus.

Mattias, if you could look into this issue I'd very much appreciate it. The only thing I have left to do with my project before the first release is fixing some documentation. I have this bug on my sites known issues list and would love to take it off (because it makes coding with this library on Linux difficult).

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130514/c66c34dc/attachment.html>

Reply by email

Anthony Walter
to Anthony Walter

I saw you created a fix in revision 41199 and after some testing I reopened. I would seem the fix prevents codetools from working with anything in a package.

Create a new application and you cannot ctrl + left click TForm. Double click a form and you get TDefaultComponentEditor error -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130514/1f522eb4/attachment.html>

Reply by email