Re: [Lazarus] Lazarus doesn't rebuild LCL if I change some include file

2013-04-16 Thread Bart
On 4/14/13, Mattias Gaertner nc-gaert...@netcologne.de wrote:

 You have to add them manually.

Thanks for verifying I had to add them myself.

 Open the package, click on Add / Add Files
 Click on the button Add Files, select the 3 new files.
 Click on the button Add files to package.

Sometimes Lazarus is so easy. I just found that out myself.

Moving up the newly added files to a logical place in the tree (nicely
under winlazfileutils.pas) required too many clicks on a speedbutton
IMO.

Bart

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus doesn't rebuild LCL if I change some include file

2013-04-16 Thread Mattias Gaertner
On Tue, 16 Apr 2013 10:30:22 +0200
Bart bartjun...@gmail.com wrote:

 On 4/14/13, Mattias Gaertner nc-gaert...@netcologne.de wrote:
 
  You have to add them manually.
 
 Thanks for verifying I had to add them myself.
 
  Open the package, click on Add / Add Files
  Click on the button Add Files, select the 3 new files.
  Click on the button Add files to package.
 
 Sometimes Lazarus is so easy. I just found that out myself.
 
 Moving up the newly added files to a logical place in the tree (nicely
 under winlazfileutils.pas) required too many clicks on a speedbutton
 IMO.

You can sort the files alphabetically.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus doesn't rebuild LCL if I change some include file

2013-04-16 Thread Bart
On 4/16/13, Mattias Gaertner nc-gaert...@netcologne.de wrote:

 You can sort the files alphabetically.

Which would not produce the results I wanted.
But then anagai, it probably doesn't matter how they are (un)sorted.

It would have been nice, if holding down the speedbutton with the
up-arrow would keep on moving the selected issue up, until the button
is released.
But I agree, it is kind of nitpicking and has extremely low priority.

Bart

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus doesn't rebuild LCL if I change some include file

2013-04-14 Thread Bart
On 4/13/13, Jesus Reyes jesus...@yahoo.com.mx wrote:

 Is the include file part of the LCL package?, it seems the IDE monitors
 files that are included in the package, if it's not included, it's not
 monitored.

Does this mean that I have to manually add the 3 new includefiles (for
LazFileUtils.pas) in the LCL package, or will this happe automagically
if I rebuild the IDE?

If I have to add them manually, how do I do that?

Bart

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus doesn't rebuild LCL if I change some include file

2013-04-14 Thread Mattias Gaertner
On Sun, 14 Apr 2013 13:20:16 +0200
Bart bartjun...@gmail.com wrote:

 On 4/13/13, Jesus Reyes jesus...@yahoo.com.mx wrote:
 
  Is the include file part of the LCL package?, it seems the IDE monitors
  files that are included in the package, if it's not included, it's not
  monitored.
 
 Does this mean that I have to manually add the 3 new includefiles (for
 LazFileUtils.pas) in the LCL package, or will this happe automagically
 if I rebuild the IDE?
 
 If I have to add them manually, how do I do that?

You have to add them manually.
Open the package, click on Add / Add Files
Click on the button Add Files, select the 3 new files.
Click on the button Add files to package.

It's on my todo list to add a quick dialog that shows probably missing
files.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Lazarus doesn't rebuild LCL if I change some include file

2013-04-13 Thread Bart
Hi,

Lazarus stopped to rebuild the LCL if I change an includefile (that
belongs to the LCL).

Okay, that's not totally honest.
I changed an LCL file to use an include file.
If I change the main unitfile it rebuilds.
If i change the include it doesn't.

(Took me a while to figure that out)

Is this expected behaviour, as in: you need to rebuild Lazarus so it
recognizes the includefile-changes?

I did not test this, because my changes may make the IDE unusable. I
wanted to thorougly test them in a separate app, before exposing my
IDE to the havoc I may have created

Bart

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus doesn't rebuild LCL if I change some include file

2013-04-13 Thread Jesus Reyes


--- El sáb 13-abr-13, Bart bartjun...@gmail.com escribió:

 De: Bart bartjun...@gmail.com
 Asunto: [Lazarus] Lazarus doesn't rebuild LCL if I change some include file
 A: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
 Fecha: sábado, 13 de abril de 2013, 10:34
 Hi,
 
 Lazarus stopped to rebuild the LCL if I change an
 includefile (that
 belongs to the LCL).
 
 Okay, that's not totally honest.
 I changed an LCL file to use an include file.
 If I change the main unitfile it rebuilds.
 If i change the include it doesn't.
 
 (Took me a while to figure that out)
 
 Is this expected behaviour, as in: you need to rebuild
 Lazarus so it
 recognizes the includefile-changes?

Is the include file part of the LCL package?, it seems the IDE monitors files 
that are included in the package, if it's not included, it's not monitored.

Jesus Reyes A.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus doesn't rebuild LCL if I change some include file

2013-04-13 Thread Mattias Gaertner
On Sat, 13 Apr 2013 09:46:34 -0700 (PDT)
Jesus Reyes jesus...@yahoo.com.mx wrote:

[...]
 Is the include file part of the LCL package?, it seems the IDE monitors files 
 that are included in the package, if it's not included, it's not monitored.

Yes.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus