Sign in Join

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

Mailing lists / lazarus / 2010-11

Updated Lazarus SVN

14 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

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

José Mejuto

Hello Lazarus-List,

I had updated my Lazarus to lastest SVN (28028) since my "old" which was a month old. Now every package of my projects are being tried to be recompiled everytime I press the F9 (Build). The effect is different than pressing "Buld All" which will also recompile my .pas files.

The effect looks like it always see that compile time and sources times are different, which could have some logic as my local time changed yesterday (Central European Time).

Anybody see this effect too ? My machine is WinXP SP3 spanish locale. I had not changed nothing in new build profiles.

Also, selecting Project Options and pressing cancel and exitting the IDE, it asks to save changes :-? Which changes ?

Best regards, Jos?

Reply by email

Honza
to José Mejuto

2010/11/2 Jos? Mejuto :

Show quoted text 5 lines
I had updated my Lazarus to lastest SVN (28028) since my "old" which was a month old. Now every package of my projects are being tried to be recompiled everytime I press the F9 (Build). The effect is different than pressing "Buld All" which will also recompile my .pas files.

AFAIK F9 is by default "Run" not "Build". Anyway, check your settings of the "Always build (even if nothing changed)" option in "Project Options | Miscellaneous", it could be the cause of what you're seeing.

bflm freepascal-bits.blogspot.com

Reply by email

José Mejuto
to Honza

Hello Lazarus-List,

Tuesday, November 2, 2010, 8:38:55 AM, you wrote:

H> 2010/11/2 Jos? Mejuto :

Show quoted text 5 lines
> I had updated my Lazarus to lastest SVN (28028) since my "old" which > was a month old. Now every package of my projects are being tried to > be recompiled everytime I press the F9 (Build). The effect is > different than pressing "Buld All" which will also recompile my .pas > files.

H> AFAIK F9 is by default "Run" not "Build". Anyway, check your settings H> of the "Always build (even if nothing changed)" option in "Project H> Options | Miscellaneous", it could be the cause of what you're seeing.

Well, F9 = "Build + Run" and Run is not important here, but the effect is the same if using simply "Build".

The "Always build (even if nothing changed)" should affect my sources, not the packages and I have it marked ON since 4 years and this effect is something completly new.

Just to fullfill information my fpc is 2.5.1 2010/10/02 and I had completly rebuild it and completly rebuild Lazarus with clean both.

Best regards, Jos?

Reply by email

Mattias Gaertner
to José Mejuto
Show quoted text 10 lines
Hello Lazarus-List, Tuesday, November 2, 2010, 8:38:55 AM, you wrote: H> 2010/11/2 Jos? Mejuto : >> I had updated my Lazarus to lastest SVN (28028) since my "old" which >> was a month old. Now every package of my projects are being tried to >> be recompiled everytime I press the F9 (Build). The effect is >> different than pressing "Buld All" which will also recompile my .pas >> files.

Start the IDE in a terminal. It writes to stdout why a package is recompiled.

Show quoted text 13 lines
H> AFAIK F9 is by default "Run" not "Build". Anyway, check your settings H> of the "Always build (even if nothing changed)" option in "Project H> Options | Miscellaneous", it could be the cause of what you're seeing. Well, F9 = "Build + Run" and Run is not important here, but the effect is the same if using simply "Build". The "Always build (even if nothing changed)" should affect my sources, not the packages and I have it marked ON since 4 years and this effect is something completly new. Just to fullfill information my fpc is 2.5.1 2010/10/02 and I had completly rebuild it and completly rebuild Lazarus with clean both.

Mattias

Reply by email

Graeme Geldenhuys
to Mattias Gaertner

Op 2010-11-02 14:37, Mattias Gaertner het geskryf:

Start the IDE in a terminal. It writes to stdout why a package is recompiled.

Maybe a "View > IDE Internals > IDE Log/Messages" could be added for such information. After all, we know what Console phobia the Mac and Windows users have. :)

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net:8080/fpgui/

Reply by email

Mattias Gaertner
to Graeme Geldenhuys
Show quoted text 8 lines
Op 2010-11-02 14:37, Mattias Gaertner het geskryf: > > Start the IDE in a terminal. It writes to stdout why a package is > recompiled. Maybe a "View > IDE Internals > IDE Log/Messages" could be added for such information. After all, we know what Console phobia the Mac and Windows users have. :)

Good idea.

Mattias

Reply by email

José Mejuto
to Honza: 2010/11/2 Jos? Mejuto : AFAIK F9 is by default "Run" not "Build". Anyway, check your…

Hello Lazarus-List,

Tuesday, November 2, 2010, 8:38:55 AM, you wrote:

H> 2010/11/2 Jos? Mejuto :

Show quoted text 5 lines
> I had updated my Lazarus to lastest SVN (28028) since my "old" which > was a month old. Now every package of my projects are being tried to > be recompiled everytime I press the F9 (Build). The effect is > different than pressing "Buld All" which will also recompile my .pas > files.

H> AFAIK F9 is by default "Run" not "Build". Anyway, check your settings H> of the "Always build (even if nothing changed)" option in "Project H> Options | Miscellaneous", it could be the cause of what you're seeing.

It suddenly stops to do the effect, nothing changed, no fpc or Lazarus recompile. It stops at some time between 12:00 and 13:45 CET. It could be related to a WindowsXP bug/problem I had detected long time ago, which some time functions returns incorrect time (no daylight saving) in the next day(s) of the daylight saving change :-?

The only thing I had done is adjust the Windows time :-? to a more accurate seconds value (it was 30 seconds off real time).

Best regards, Jos?

Reply by email

José Mejuto
to Mattias Gaertner: On Tue, 2 Nov 2010 13:30:02 +0100 Start the IDE in a terminal. It writes to stdout why a…

Hello Lazarus-List,

you wrote 5 lines
> >> I had updated my Lazarus to lastest SVN (28028) since my "old" which > >> was a month old. Now every package of my projects are being tried to > >> be recompiled everytime I press the F9 (Build). The effect is > >> different than pressing "Buld All" which will also recompile my .pas > >> files.

MG> Start the IDE in a terminal. It writes to stdout why a package is MG> recompiled.

I'm on Windows, so :

TLazPackageGraph.CheckIfPackageNeedsCompilation StateFile older than lpk Printer4Lazarus 0.5 TLazPackageGraph.CheckIfPackageNeedsCompilation SrcFile outdated fortes324forlaz 0.3.5.10 TLazPackageGraph.CheckIfPackageNeedsCompilation Src has changed TAChartLazarusPkg 1.0 F:\Lazarus\components\tachart\tadbsource.pas TLazPackageGraph.CheckIfPackageNeedsCompilation Src has changed LazControls 0.0 F:\Lazarus\components\lazcontrols\extendednotebook.pas TLazPackageGraph.CheckIfPackageNeedsCompilation StateFile older than lpk SQLDBLaz 1.0.1

TLazPackageGraph.CheckIfPackageNeedsCompilation StateFile older than lpk Printer4Lazarus 0.5 TLazPackageGraph.CheckIfPackageNeedsCompilation SrcFile outdated fortes324forlaz 0.3.5.10 TLazPackageGraph.CheckIfPackageNeedsCompilation Src has changed TAChartLazarusPkg 1.0 F:\Lazarus\components\tachart\tadbsource.pas TLazPackageGraph.CheckIfPackageNeedsCompilation Src has changed LazControls 0.0 F:\Lazarus\components\lazcontrols\extendednotebook.pas TLazPackageGraph.CheckIfPackageNeedsCompilation StateFile older than lpk SQLDBLaz 1.0.1

TLazPackageGraph.CheckIfPackageNeedsCompilation StateFile older than lpk Printer4Lazarus 0.5 TLazPackageGraph.CheckIfPackageNeedsCompilation SrcFile outdated fortes324forlaz 0.3.5.10 TLazPackageGraph.CheckIfPackageNeedsCompilation Src has changed TAChartLazarusPkg 1.0 F:\Lazarus\components\tachart\tadbsource.pas TLazPackageGraph.CheckIfPackageNeedsCompilation Src has changed LazControls 0.0 F:\Lazarus\components\lazcontrols\extendednotebook.pas TLazPackageGraph.CheckIfPackageNeedsCompilation StateFile older than lpk SQLDBLaz 1.0.1

This are three consecutive "Build", nothing changed in between, and none of the .pas files listed are being loaded in the IDE.

It stops suddenly to recompile the packages (nothing changed, nor in project or Lazarus config). I had only readjusted the Windows clock for a few seconds :-?

I'll try to simulate in my windows the hour change again and see what happends.

Best regards, Jos?

Reply by email

José Mejuto
to Graeme Geldenhuys: Op 2010-11-02 14:37, Mattias Gaertner het geskryf: Maybe a "View > IDE Internals > IDE…

Hello Lazarus-List,

Tuesday, November 2, 2010, 1:47:05 PM, you wrote:

GG> Op 2010-11-02 14:37, Mattias Gaertner het geskryf:

> > Start the IDE in a terminal. It writes to stdout why a package is > recompiled.

GG> Maybe a "View > IDE Internals > IDE Log/Messages" could be added for such GG> information. After all, we know what Console phobia the Mac and Windows GG> users have. :)

IDE Log/Messages is not available in my Lazarus for Windows. Only "package links" and "About fpc".

In Windows the stdout is redirected to "debug.txt" file. I do not hate command line ;) I hate CMD.EXE :) I'm using JPSoftware's 4NT.

Best regards, Jos?

Reply by email

Martin
to Graeme Geldenhuys: Op 2010-11-02 14:37, Mattias Gaertner het geskryf: Maybe a "View > IDE Internals > IDE…
Graeme Geldenhuys wrote 6 lines
Op 2010-11-02 14:37, Mattias Gaertner het geskryf: > Start the IDE in a terminal. It writes to stdout why a package is > recompiled. Maybe a "View> IDE Internals> IDE Log/Messages" could be added for such information. After all, we know what Console phobia the Mac and Windows users have. :)

There is also --debug-log so you do not need a console...

Reply by email

Graeme Geldenhuys
to Martin

Op 2010-11-02 16:08, Martin het geskryf:

There is also --debug-log so you do not need a console...

Well, they would need to drop to console window to execute lazarus with that parameter. Or, they will have to modify there Lazarus desktop shortcut, then remember to undo it again when they are done.

A simple "Lazaras Log/Messages" menu items is just so much easier. ;-)

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net:8080/fpgui/

Reply by email

waldo kitty
to Graeme Geldenhuys: Op 2010-11-02 14:37, Mattias Gaertner het geskryf: Maybe a "View > IDE Internals > IDE…
Graeme Geldenhuys wrote 8 lines
Op 2010-11-02 14:37, Mattias Gaertner het geskryf: > > Start the IDE in a terminal. It writes to stdout why a package is > recompiled. Maybe a "View> IDE Internals> IDE Log/Messages" could be added for such information. After all, we know what Console phobia the Mac and Windows users have. :)

[devil's advocate]

console? what's a console?? for that matter, what's a "prompt"?? ;)

[/devil's advocate]

Reply by email

waldo kitty
to Graeme Geldenhuys
Graeme Geldenhuys wrote 5 lines
Op 2010-11-03 01:37, waldo kitty het geskryf: > > console? what's a console?? for that matter, what's a "prompt"?? ;) The answer is 42.

of course! that's the only real answer to anything anyway ;) :lol:

Reply by email