waiting for win x64 compilation
Trying to doubleClick on the form's event OnDestroy gives me an error : Unable to find method.
lclclasses.pp(26,10) : Error : unit classes not found
Thank you very much. Some nice improvements.
When I install Internet packages - such as internet tools or LNet -
I get a warning: Recompiling sslsockets, checksum changed for OpenSSL
and Fatal: Can not find sslsockets used by fphttpclient.
Thank you very much. Some nice improvements.
When I install Internet packages - such as internet tools or LNet -
I get a warning: Recompiling sslsockets, checksum changed for OpenSSL
and Fatal: Can not find sslsockets used by fphttpclient.
Can you help
Unable to create file "C:\Documents and settings\Administrador\Configuracin local\Datos de programa\lazarus\enviromentsoptions.xml
note the spanish word "Configuracin" must be "Configuración"
Unable to create file "C:\Documents and settings\Administrador\Configuracin local\Datos de programa\lazarus\enviromentsoptions.xml
note the spanish word "Configuracin" must be "Configuración"
please report on the bugtracker
O:-) wp O:-) - « Reply #17 on: Today at 07:51:20 pm »
There have been some recent modifications of LNet to make it compile under FPC3. Get yourself the trunk version of LNet.
Please make Cursor DropDown menu (Object inspector) with cursor-icons. Delphi has this. Example http://www.functionx.com/vcl/objinsp/cursor1.gif
type
cTestClass = class(TPersistent)
protected
function getValue (Idx : Integer) : string; overload;
function getValue (const Key : string) : string; overload;
public
property Value [Idx : Integer] : string read getValue; {$IFNDEF FPC } default; {$ENDIF }
property Value [const Key : string] : string read getValue; default;
end;
function cTestClass.getValue (Idx : Integer) : string;
begin
Result := '1';
end;
function cTestClass.getValue (const Key : string) : string;
begin
Result := '2';
end;
Please, anybody, check equality of fpc.exe in lazarus \fpc\ folder and in fpc release.1) platform/OS?
Seems that they are different. And many other files too.
i have a big problem when i try to install the packages easydockmanager and easydockmanagerdesgn
maybe package easydockmgrdsgn should be remove from the list of installable packages of lazarus.
Is this thread the right place to report about bugs and/or problems?
1. win7, win32Please, anybody, check equality of fpc.exe in lazarus \fpc\ folder and in fpc release.1) platform/OS?
Seems that they are different. And many other files too.
2) They may be build with different optimization or similar. So they may not be the same binary. They are (or should be) from the 3.0 tag on the fpc svn. So any source file included should be the same as in the fpc release.
2) They may be build with different optimization or similar. So they may not be the same binary. They are (or should be) from the 3.0 tag on the fpc svn. So any source file included should be the same as in the fpc release.1. win7, win32
2. I don't know how they are builded. But most of exe files in "fpc" folder of released lazarus and released fpc are different.
And moreover, they produces different executables (I try empty project with one form).
So, what's the difference?
> What options are specified for the release by fpc?I am not at current going to search for it myself. But the next step is to read the makefile and see what those options are.
None. The top level Makefile automatically adds RELEASE=1, which enables
a default set of options built into all Makefiles.
fpc.cfg is the same.2) They may be build with different optimization or similar. So they may not be the same binary. They are (or should be) from the 3.0 tag on the fpc svn. So any source file included should be the same as in the fpc release.1. win7, win32
2. I don't know how they are builded. But most of exe files in "fpc" folder of released lazarus and released fpc are different.
And moreover, they produces different executables (I try empty project with one form).
So, what's the difference?
I don't know what the default settings are used for the installer released by the fpc team, so I can't say.
The build for the Lazarus install is done by lazarus\tools\install\win\build-fpc.bat (I have no idea who wrote this, its been around a long time). I also don't know why a special build script was needed, but maybe there were some differences intended.
My first guess would be to look at the OPT=
Any option that is passed in, if it is not used by default, is likely to cause a difference.
-Ur only marks ppu as release (fpc will not rebuild, even if src is edited) So no diff expected
-CX -XX is smartlinking. That may well cause some differences.
Yet that happens after the compiler was build. So I don't know what affects the compiler. It may be that OPT (that I do not know) were passed when the fpc team did the build.
---
Also check the fpc.cfg
--
EDIT:
http://lists.freepascal.org/pipermail/fpc-devel/2015-December/036438.html
http://lists.freepascal.org/pipermail/fpc-devel/2015-December/036439.htmlQuote> What options are specified for the release by fpc?I am not at current going to search for it myself. But the next step is to read the makefile and see what those options are.
None. The top level Makefile automatically adds RELEASE=1, which enables
a default set of options built into all Makefiles.
TDBGRID is not triggering all ONSELECTEDITOR-events
Got a problem with this new version. - I am using TDBGRID and its ONSELECTEDITOR-event to use TEDIT as a replacement for the grids cell-editor. - Its working fine with prior versions (The position of the editor-rect ist given from - DbGrid.SelectedFieldRect).
The NEW VERSION does NOT fire the ONSELECTEDITOR-event when entering a cell by KEYBOARD. But everything ist allright when entering a cell by MOUSE.
When a cell is entered by keyboard the onselecteditor event is ONLY triggered - after one has CHANGED the cell-text (thats not enough ;-)).
With Lazarus 1.4.4 its allright:
ONSELECTEDITOR is fired - EACH TIME when EDITORMODE is going to true (one is editing).
Where should the bug being reported ?
Paint bug in DBGrid while editing the cell
OS: Windows 10
Steps to reproduce:
Press F2 in some cell in DBGrid control. Text shifts for pixel or two. Left and top border of the cell are blue (highlight color). Look really unprofessional.
and same problem as with typhon - can't switch into app if integrated designer is active. will only switch if source is active.
no matter if clicking taskbar or using alt-tab. at least on windows.
I think it's the same in version 1.4.Paint bug in DBGrid while editing the cell
OS: Windows 10
Steps to reproduce:
Press F2 in some cell in DBGrid control. Text shifts for pixel or two. Left and top border of the cell are blue (highlight color). Look really unprofessional.
This probably comes from TEdit. Has it changed from 1.4?
Appears to be that a oneand same problem as with typhon - can't switch into app if integrated designer is active. will only switch if source is active.
no matter if clicking taskbar or using alt-tab. at least on windows.
Is it this bug? http://mantis.freepascal.org/view.php?id=29042 (http://mantis.freepascal.org/view.php?id=29042)
should be there now
BTW, when reporting a bug, I noticed that 1.6 (RC1) is not listed in bug tracker yet.
TDBGRID is not triggering all ONSELECTEDITOR-events
Got a problem with this new version. - I am using TDBGRID and its ONSELECTEDITOR-event to use TEDIT as a replacement for the grids cell-editor. - Its working fine with prior versions (The position of the editor-rect ist given from - DbGrid.SelectedFieldRect).
The NEW VERSION does NOT fire the ONSELECTEDITOR-event when entering a cell by KEYBOARD. But everything ist allright when entering a cell by MOUSE.
When a cell is entered by keyboard the onselecteditor event is ONLY triggered - after one has CHANGED the cell-text (thats not enough ;-)).
With Lazarus 1.4.4 its allright:
ONSELECTEDITOR is fired - EACH TIME when EDITORMODE is going to true (one is editing).
Where should the bug being reported ?
mantis.freepascal.org (http://mantis.freepascal.org)
fpc.cfg is the same.
When I change path to fpc.exe from D:\Develop\Lazarus\fpc\3.0.0\bin\i386-win32\fpc.exe to C:\FPC\3.0.0\bin\i386-win32\fpc.exe in IDE settings (without any other changes), then compiler produces different exe (I press Shift-F9).
There are 3 bytes different:
0014CF71: 31 32
0014CF73: 31 30
0014CF74: 36 37
When I set path back to D:\Develop\Lazarus\fpc\3.0.0\bin\i386-win32\fpc.exe and press Shift-F9, then this 3 bytes reverts back:
0014CF71: 32 31
0014CF73: 30 31
0014CF74: 37 36
FPC 3.0.0 [2015/12/07] for i386 - Win32
Paint bug in DBGrid while editing the cell
OS: Windows 10
Steps to reproduce:
Press F2 in some cell in DBGrid control. Text shifts for pixel or two. Left and top border of the cell are blue (highlight color). Look really unprofessional.
I removed sparta-dockedformeditor component, now the control are visible also sparta-dockedformeditor has bug.
Lazarus 1.6RC1 spartadocking and anchordocking not working together correctly.This usually happens on dual monitor screen and it's caused by the Component Palette(CP) resize. There is a solution(not a clean one though): after you install AnchorDocking, hide the CP(right click on the CP-->Options-->Uncheck Palette is visible). Use the component window(Ctrl + Alt +P) instead.
If you install both packs you may crash your lazarus in design time.
I tried to View / Code Explorer and Lazarus makes a lot of move I think it tried to fit of Code Explorer window and crashed.
After uninstall anchordocking pack worked normally.
I added crash time picture in the attach
QuoteLazarus 1.6RC1 spartadocking and anchordocking not working together correctly.This usually happens on dual monitor screen and it's caused by the Component Palette(CP) resize. There is a solution(not a clean one though): after you install AnchorDocking, hide the CP(right click on the CP-->Options-->Uncheck Palette is visible). Use the component window(Ctrl + Alt +P) instead.
If you install both packs you may crash your lazarus in design time.
I tried to View / Code Explorer and Lazarus makes a lot of move I think it tried to fit of Code Explorer window and crashed.
After uninstall anchordocking pack worked normally.
I added crash time picture in the attach
The error is caused by the CalcMainIDEHeight(mainbar.pas) function and it's probably related to http://bugs.freepascal.org/view.php?id=29194. First it was noticed only under QT(by Juha), but later somehow appeared on win32 too. Unfortunately it's very sporadic and the message makes no sense at all, since the BoundsRealised and NewBoundsRealised it's the same.
first I have to say, 1.6 is a gigantic step forward with many features i desperately missed, till now. (Sparta, Project Groups ...)
In the Code-Explorer i miss the "jump to implementation"-entry. Is it somewhere else ? (I tried both views Categories & Source )
Removed Sparta, same problem ...
I don't mean Jump to Implementation from the Search->Jump to - Menu:
The "Jump to Implementation"- entry of the Code-Explorer-Popup-Menu doesn't show.
I think also Ondrej mixed up 2 different things.
[Edit] Done in r50943. Will be merged to 1.6.
My timezone is UTC +1;My timezone is UTC +1 too
1.4 is correct, adding 1 hour to UTC,
1.6 is subtracting 1 hour from UTC.
Hi team !
With AnchorDocking, my bottom window is growing upper a few pixels each time Lazarus is launched.
See the attachments jpg
Could you check this ?
Many thanks
Hi team !I can confirm this, but it's not a new problem, 1.4.4 with AD has the same behavior.
With AnchorDocking, my bottom window is growing upper a few pixels each time Lazarus is launched.
See the attachments jpg
Could you check this ?
Many thanks
With AnchorDocking, my bottom window is growing upper a few pixels each time Lazarus is launched.
The Project-Inspector adds only one file, even if I select more, is it a bug or a new feature ?
My timezone is UTC +1;My timezone is UTC +1 too
1.4 is correct, adding 1 hour to UTC,
1.6 is subtracting 1 hour from UTC.
I can confirm this bug.
And also for other timezones, both procedures work in the wrong direction. (The delta seems ok though)
Then it's difficult ...The Project-Inspector adds only one file, even if I select more, is it a bug or a new feature ?
It works here. How to reproduce?
My Settings:
Laz 1.6RC1
+ ProjectGroup
- PI: click +Add -> PopUp
- PI: Click Add Files -> New Window
Yes, it happens even when I use "Open Project" directly
ProjectGroups are not stable yet in 1.6. The feature is being improved in trunk. See a thread "Error when installing project groups" in Lazarus mailing list.
Does the problem happen also without ProjectGroups?
"Add files in file system" or "Add files in directory"?Neither, It's the third option "Add Files" (files in editor ?)
Where are the files? In a project sub-directory maybe? Some of them may be considered invalid for some reason.Files are in the same directory.
You can open a bug report but you must include a project + the new files to be added.
Neither, It's the third option "Add Files" (files in editor ?)
Files are in the same.
If they are invalid for some reason, why are they shown ... ?
Ok, "Add Editor Files". Why didn't you say so? :)Because my popup-menu actually says: "Dateien hinzufügen" (I have to reverse-translate that from german into english)
It also works here. You must select all the editor files you want in the final window.I also tried with a new project and several files, no problems here, maybe it's related to that specific project file. (or files of that kind)
My timezone is UTC +1 too
I can confirm this bug.
And also for other timezones, both procedures work in the wrong direction. (The delta seems ok though)
This is an FPC issue fixed in r31356 (FPC trunk). You can ask the FPC team to merge it into 3.0 branch.
@russdirksA backup it's always a good idea and it only takes a few seconds. :) Alternatively you can put your project under version control.
If I open an existing project with 1.6, and maybe make some changes and try a few things out, can I then go back and open the project in 1.4.4? Or does the project then become non-backwards compatible?
Did TSyncompletion change ?
... does opening my project in 1.6 make some kind of fundamental change to it that then makes it incompatible with 1.4.4? I guess I'm thinking mostly of configuration settings and various other IDE options.
Unfortunately on a simple test the completion works fine.Did TSyncompletion change ?please bug report / ideally with small stand alone example
Is there anything to do related to the new UTF-8 LCL ?
By the way the bug was introduced by andrej the 12 of Nov:
https://github.com/alrieckert/lazarus/commit/ed747e55fb894735ca2e8c33731d580b7d5f7e69
I think that it can breaks the completion in basically almost all the code editors made with Laz.
The problem is that the role of TSynCustomHighlighter.GetIdentChars is not well defined, it's even not mandatory to use it when we lex in our custom HL class.
I suggest to change the implementation of TSynCustomHighlighter.GetIdentChars to
function TSynCustomHighlighter.GetIdentChars: TSynIdentChars; begin Result := ['_', 'A'..'Z', 'a'..'z', '0'..'9']; end;
i found one error in the first run, after install in Windows XP SP3, look the attach image, i think that is an UTF8 problem because the ó char is not show in the message, the message say (i can upload images hir):
Unable to create file "C:\Documents and settings\Administrador\Configuracin local\Datos de programa\lazarus\enviromentsoptions.xml
note the spanish word "Configuracin" must be "Configuración"
I did it just after my little investigation, see http://bugs.freepascal.org/view.php?id=29235. I needed to find fix directly, that's why I waited.
TDBGRID is not triggering all ONSELECTEDITOR-events
Got a problem with this new version. - I am using TDBGRID and its ONSELECTEDITOR-event to use TEDIT as a replacement for the grids cell-editor. - Its working fine with prior versions (The position of the editor-rect ist given from - DbGrid.SelectedFieldRect).
The NEW VERSION does NOT fire the ONSELECTEDITOR-event when entering a cell by KEYBOARD. But everything ist allright when entering a cell by MOUSE.
When a cell is entered by keyboard the onselecteditor event is ONLY triggered - after one has CHANGED the cell-text (thats not enough ;-)).
With Lazarus 1.4.4 its allright:
ONSELECTEDITOR is fired - EACH TIME when EDITORMODE is going to true (one is editing).
Where should the bug being reported ?
mantis.freepascal.org (http://mantis.freepascal.org)
I have the same problem with onSelectEditor. I send the problem to mantis.freepascal.org (http://mantis.freepascal.org)
Resource unavailable:ms-its:ref.chm::/ref/ref/ref/refse33.html#x69-910006.1.
Press OK to ignore and risk data corruption.
Press Cancel to kill the program.
With AnchorDocking, my bottom window is growing upper a few pixels each time Lazarus is launched.
It is a known issue.
http://bugs.freepascal.org/view.php?id=18538
It's a very puzzling issue indeed.
May I propose as a workaround in ide\main.pp ln 1582, to add the line :
EnvironmentOptions.UseDesktop(EnvironmentOptions.ActiveDesktop);
This loads the active desktop again, and with the correct sizes this time !
This works in at least XE7 and XE8: CharInSet(Ch,['å','ä','ö'])
With FPC3, Lazarus trunk and even with proper unicode-mode:
Error: Incompatible types: got "WideChar" expected "Char".
Planned for later versions
Linking with C++ code
Higher level optimizer including liveliness analysis
LLVM backend support
Support for more architectures
Corba support?
Cleanup of unit loading system
Better support for dynamic linking and packages
Support for sets with more than 256 elements
Why does reading the active desktop in TMainIDE.StartIDE prevent the bug also with actions done while the IDE is running? I have no idea.
http://www.freepascal.org/future.var
This works in at least XE7 and XE8: CharInSet(Ch,['å','ä','ö'])
This works in at least XE7 and XE8: CharInSet(Ch,['å','ä','ö'])
Afaik this works fine in D2009+ mode, $Mode delphiunicode
With Delphi I can use these special characters in the set: ['å','ä','ö']. It compiles and works.
This works in at least XE7 and XE8: CharInSet(Ch,['å','ä','ö'])
TDBGRID is not triggering all ONSELECTEDITOR-events
Got a problem with this new version. - I am using TDBGRID and its ONSELECTEDITOR-event to use TEDIT as a replacement for the grids cell-editor. - Its working fine with prior versions (The position of the editor-rect ist given from - DbGrid.SelectedFieldRect).
The NEW VERSION does NOT fire the ONSELECTEDITOR-event when entering a cell by KEYBOARD. But everything ist allright when entering a cell by MOUSE.
When a cell is entered by keyboard the onselecteditor event is ONLY triggered - after one has CHANGED the cell-text (thats not enough ;-)).
With Lazarus 1.4.4 its allright:
ONSELECTEDITOR is fired - EACH TIME when EDITORMODE is going to true (one is editing).
Where should the bug being reported ?
mantis.freepascal.org (http://mantis.freepascal.org)
I have the same problem with onSelectEditor. I send the problem to mantis.freepascal.org (http://mantis.freepascal.org)
The problem is in the file grids.pas, in line 7155 after MoveSelection, in previous version call always to SelectEditor. And New version of the file only call if option dgAlwaysShowEditor is set to true.
hello,
for this problem :QuoteThis works in at least XE7 and XE8: CharInSet(Ch,['å','ä','ö'])
Is it a bad idea to create this function ? :
function StringInSet(UniChr:String; CharArray:array of String):Boolean; var i:Integer; begin for i:=0 to High(CharArray) do if CharArray[i] = UniChr then begin Result := True; Exit; end; Result := False; end;
Example of use ::-X
var Ch : String; begin //Ch := 'é'; Ch := 'å'; if StringInSet(Ch,['å','ä','ö']) then writeln('char is in set'); readln(); end;
http://www.freepascal.org/future.var
(two modifications for spelling mistakes since 2007, not the best resource to predict the future)
Error: There is no method in an ancestor class to be overridden: "constructor Create(TComponent);"
Avertissements : 2
project1.lpr(20,1) Warning: "crti.o" not found, this will probably cause a linking failure
project1.lpr(20,1) Warning: "crtn.o" not found, this will probably cause a linking failure
After a successful upgrade on linux 64 bit, painful on win32 (had to reinstall everything), now I'm on a linux 32 bit (Mint, where i've also encountered problems while upgrading).
After the upgrade when I try to recompile a project I got the following error:QuoteError: There is no method in an ancestor class to be overridden: "constructor Create(TComponent);"
I just installed the rpm for 32bit and 64bit and both have the
{$IFDEF UseTProcessAlias}
type
TProcessUTF8 = class(TProcess)
end;
{$ENDIF}
The deb packages are maintained by the distribution, i.e. are governed by the debian maintainers.
hello everyone.. sorry for my english...You can use alternative directory for configuration.
Laz 1.6 not working properly if cfg files are stored in user profile where username - rus letters..(((
QuoteO:-) wp O:-) - « Reply #17 on: Today at 07:51:20 pm »
There have been some recent modifications of LNet to make it compile under FPC3. Get yourself the trunk version of LNet.
Yes, the trunk version was the solution, Thank you :)