Forum > General

[SOLVED] Why does packager/registration/fcllaz.pas regenerate on compile?

(1/1)

dsiders:
Using Lazarus 2.3.0 (rev main-2_3-2829-g7f92cc7c98) FPC 3.2.2 x86_64-win64-win32/win64

packager/registration/fcllaz.pas is being modified every time I compile an application in the IDE. The git client complains that it has been modified, and it has. The {$ifndef} in the uses clause has been removed...


--- Code: Bash  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---diff --git a/packager/registration/fcllaz.pas b/packager/registration/fcllaz.pasindex c07bfe25b3..b9aa67f614 100644--- a/packager/registration/fcllaz.pas+++ b/packager/registration/fcllaz.pas@@ -8,7 +8,7 @@ unit fcllaz; interface  uses-  db, process, simpleipc, eventlog, XMLConf, {$ifndef HASAMIGA}sqldb,{$endif} LazarusPackageIntf;+  db, process, simpleipc, eventlog, XMLConf, sqldb, LazarusPackageIntf;  implementation 
Any ideas why?

dsiders:

--- Quote from: dsiders on February 09, 2023, 04:33:51 am ---Using Lazarus 2.3.0 (rev main-2_3-2829-g7f92cc7c98) FPC 3.2.2 x86_64-win64-win32/win64

packager/registration/fcllaz.pas is being modified every time I compile an application in the IDE. The git client complains that it has been modified, and it has. The {$ifndef} in the uses clause has been removed...


--- Code: Bash  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---diff --git a/packager/registration/fcllaz.pas b/packager/registration/fcllaz.pasindex c07bfe25b3..b9aa67f614 100644--- a/packager/registration/fcllaz.pas+++ b/packager/registration/fcllaz.pas@@ -8,7 +8,7 @@ unit fcllaz; interface  uses-  db, process, simpleipc, eventlog, XMLConf, {$ifndef HASAMIGA}sqldb,{$endif} LazarusPackageIntf;+  db, process, simpleipc, eventlog, XMLConf, sqldb, LazarusPackageIntf;  implementation 
Any ideas why?

--- End quote ---

Seems that rebuilding the IDE using make solves the issue. Still curious why it needs it though. Resolved using:


--- Code: Bash  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---make clean bigide

dsiders:

--- Quote from: dsiders on February 09, 2023, 05:16:42 am ---
--- Quote from: dsiders on February 09, 2023, 04:33:51 am ---Using Lazarus 2.3.0 (rev main-2_3-2829-g7f92cc7c98) FPC 3.2.2 x86_64-win64-win32/win64

packager/registration/fcllaz.pas is being modified every time I compile an application in the IDE. The git client complains that it has been modified, and it has. The {$ifndef} in the uses clause has been removed...


--- Code: Bash  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---diff --git a/packager/registration/fcllaz.pas b/packager/registration/fcllaz.pasindex c07bfe25b3..b9aa67f614 100644--- a/packager/registration/fcllaz.pas+++ b/packager/registration/fcllaz.pas@@ -8,7 +8,7 @@ unit fcllaz; interface  uses-  db, process, simpleipc, eventlog, XMLConf, {$ifndef HASAMIGA}sqldb,{$endif} LazarusPackageIntf;+  db, process, simpleipc, eventlog, XMLConf, sqldb, LazarusPackageIntf;  implementation 
Any ideas why?

--- End quote ---

Seems that rebuilding the IDE using make solves the issue. Still curious why it needs it though. Resolved using:


--- Code: Bash  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---make clean bigide
--- End quote ---

Not solved after all. It's back. Running make will fix it, until the next time the IDE is rebuilt using Tools > Configure Build > Build.

It's a mystery to me...

dsiders:

--- Quote from: dsiders on February 11, 2023, 06:35:53 am ---
--- Quote from: dsiders on February 09, 2023, 05:16:42 am ---
--- Quote from: dsiders on February 09, 2023, 04:33:51 am ---Using Lazarus 2.3.0 (rev main-2_3-2829-g7f92cc7c98) FPC 3.2.2 x86_64-win64-win32/win64

packager/registration/fcllaz.pas is being modified every time I compile an application in the IDE. The git client complains that it has been modified, and it has. The {$ifndef} in the uses clause has been removed...


--- Code: Bash  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---diff --git a/packager/registration/fcllaz.pas b/packager/registration/fcllaz.pasindex c07bfe25b3..b9aa67f614 100644--- a/packager/registration/fcllaz.pas+++ b/packager/registration/fcllaz.pas@@ -8,7 +8,7 @@ unit fcllaz; interface  uses-  db, process, simpleipc, eventlog, XMLConf, {$ifndef HASAMIGA}sqldb,{$endif} LazarusPackageIntf;+  db, process, simpleipc, eventlog, XMLConf, sqldb, LazarusPackageIntf;  implementation 
Any ideas why?

--- End quote ---

Seems that rebuilding the IDE using make solves the issue. Still curious why it needs it though. Resolved using:


--- Code: Bash  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---make clean bigide
--- End quote ---

Not solved after all. It's back. Running make will fix it, until the next time the IDE is rebuilt using Tools > Configure Build > Build.

It's a mystery to me...

--- End quote ---

Solved in commits to main.

Navigation

[0] Message Index

Go to full version