Recent

Author Topic: Lazarus Release 2.0.10  (Read 84947 times)

ASBzone

  • Hero Member
  • *****
  • Posts: 678
  • Automation leads to relaxation...
    • Free Console Utilities for Windows (and a few for Linux) from BrainWaveCC
Re: Lazarus Release 2.0.10
« Reply #45 on: July 20, 2020, 10:38:22 pm »
The release 2.10 seem an excellent work.
but I compiled my code, with a lot of numerical issues. and tehst on may own benchmark
It compile well with lazarus 2.10 IDE and fpc 3.20 64 bit code..
but the difference with the fpc 3.0.4 is amazing..
The final numerical result is the same but the time to complete the process requires 145 second with fpc 3.0.4 (inside lazarus IDE 2.0.8 )
and 240 seconds with fpc 3.2.0   (inside lazarus 2.10)
the compiling instruction are the same for  both compiler (given in project option and without optimization)


Is that the first time you compiled the code?    Or after multiple compilation attempts?
-ASB: https://www.BrainWaveCC.com/

Lazarus v2.2.7-ada7a90186 / FPC v3.2.3-706-gaadb53e72c
(Windows 64-bit install w/Win32 and Linux/Arm cross-compiles via FpcUpDeluxe on both instances)

My Systems: Windows 10/11 Pro x64 (Current)

Bart

  • Hero Member
  • *****
  • Posts: 5289
    • Bart en Mariska's Webstek
Re: Lazarus Release 2.0.10
« Reply #46 on: July 20, 2020, 11:04:15 pm »
You can simply rebuild your Lazarus with 3.0.4 if you want.

Bart

Zoran

  • Hero Member
  • *****
  • Posts: 1830
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: Lazarus Release 2.0.10
« Reply #47 on: July 20, 2020, 11:07:52 pm »

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: Lazarus Release 2.0.10
« Reply #48 on: July 21, 2020, 02:12:49 am »
I've been running into some  disappointments of my own with 3.2.0..
Code failures and code lard with no regard of efficiency and speed.
 I've already seen some changes in the math code that are unwarranted and frankly has larded up the app with  more code and slower speeds.

Have you lodged any bugs then? If you don't, your issues will never be resolved.

PascalDragon

  • Hero Member
  • *****
  • Posts: 5469
  • Compiler Developer
Re: Lazarus Release 2.0.10
« Reply #49 on: July 21, 2020, 09:07:19 am »
Have you lodged any bugs then? If you don't, your issues will never be resolved.

Correct. "Bug reports or it didn't happen." We have enough on our plate as it is and can't hunt for such assumptions ourselves.

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Lazarus Release 2.0.10
« Reply #50 on: July 21, 2020, 11:14:29 am »
I don't think 3.2 is ready for serious use and to think they are using it to work on the next compiler.
I remember similar comments when jump was made from 2.6 to 3.0  :D
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11447
  • FPC developer.
Re: Lazarus Release 2.0.10
« Reply #51 on: July 21, 2020, 11:17:28 am »
I don't think 3.2 is ready for serious use and to think they are using it to work on the next compiler.
I remember similar comments when jump was made from 2.6 to 3.0  :D

Every version. Especially getting people to abandon 1.0 was difficult With any change there are winners and losers. The losers didn't properly test RC1 and file bugreports ;-)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9864
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release 2.0.10
« Reply #52 on: July 21, 2020, 04:24:25 pm »

It's hard to debug Dll's .
So I am using 3.0.4 generated files which works.
I will report it when I find the problem otherwise I am not clogging up the place half baked thories and hacks.

At least on Windows, it should work (using gdb based debugger). The only part that can be problematic is catching exceptions/raise.

Make sure to compile the dll with debug info.
Specify your "host application"  under "run parameters". Make sure the host app can see the dll (i.e. dll is in same folder).

Catching raise/except in the DLL, should work if you strip the host app of all symbols.
With Lazarus trunk it may also work (not tested) if you set the debug option "InternalExceptionBreakSetMethod" to "ibmName".

Breakpoints in the dll should work (they should have a pause symbol, until the dll is loaded. Then they should show the normal symbol. (On older gdb (7.x?), the pause symbol remains)


martijnn

  • New Member
  • *
  • Posts: 16
Re: Lazarus Release 2.0.10
« Reply #53 on: July 22, 2020, 12:06:35 pm »
Reporting installation success of Lazarus 2.0.10 / FPC 3.2 on Win2K. Thanks for the efforts of still providing an installer for that platform. Initially I picked the default (x86_64) installer and didn't even notice that until the very end (fpcmkcfg.exe "not a valid win32 application").

Did a quick compile of some key projects and most went smooth.

Thanks team. Keep up the good work!

circular

  • Hero Member
  • *****
  • Posts: 4220
    • Personal webpage
Re: Lazarus Release 2.0.10
« Reply #54 on: July 22, 2020, 02:06:47 pm »
Hello,

We have encountered a PPU checksum problem when trying to build Lazarus with cleanup option and with the following packages: BGRAControls and BGLControls. Here is the discussion: https://forum.lazarus.freepascal.org/index.php/topic,24176.msg370399.html#msg370399

Note that both of these packages use BGRABitmap and that the checksum problem is related to BGRABitmap / BGRABitmapTypes units.

Regards

EDIT: more general thread about it
https://forum.lazarus.freepascal.org/index.php/topic,50620.0.html
« Last Edit: July 23, 2020, 02:39:42 am by circular »
Conscience is the debugger of the mind

EganSolo

  • Sr. Member
  • ****
  • Posts: 290
Re: Lazarus Release 2.0.10
« Reply #55 on: July 22, 2020, 05:58:09 pm »
I may be missing something but how do I find the changes specific to 2.0.10? The Lazarus 2.0.0 release notes seem to be an aggregate of all the changes but there does not seem to be a specific list of the latest changes... What am I missing?

ASBzone

  • Hero Member
  • *****
  • Posts: 678
  • Automation leads to relaxation...
    • Free Console Utilities for Windows (and a few for Linux) from BrainWaveCC
Re: Lazarus Release 2.0.10
« Reply #56 on: July 22, 2020, 06:58:00 pm »
I may be missing something but how do I find the changes specific to 2.0.10? The Lazarus 2.0.0 release notes seem to be an aggregate of all the changes but there does not seem to be a specific list of the latest changes... What am I missing?

Take a look at the Merge Requests, which will outline what fixes/changes went into each minor release:  https://wiki.lazarus.freepascal.org/Lazarus_2.0_fixes_branch
-ASB: https://www.BrainWaveCC.com/

Lazarus v2.2.7-ada7a90186 / FPC v3.2.3-706-gaadb53e72c
(Windows 64-bit install w/Win32 and Linux/Arm cross-compiles via FpcUpDeluxe on both instances)

My Systems: Windows 10/11 Pro x64 (Current)

segfault

  • Full Member
  • ***
  • Posts: 107
Re: Lazarus Release 2.0.10
« Reply #57 on: July 23, 2020, 02:39:28 pm »
Is anyone experiencing very slow response times when running the executable or loading functions such as search/replace? Sometimes it takes 20 seconds or more for the IDE to respond. It seems to be getting worse with time. I'm using the Linux64 version.

Birger52

  • Sr. Member
  • ****
  • Posts: 309
Re: Lazarus Release 2.0.10
« Reply #58 on: July 23, 2020, 07:32:52 pm »
DragDrop issue.
Had a project in 2.0.8 with Drag/Drop operations, that ended up functioning great.
Now With 2.0.10 I need to do something similar (with the same user created controls) - and it doesn't function at all.
So fetched my old project recompiled - and it doesn't function any longer, either.

Seems the call to BeginDrag, that should Initiate the dragging with either the dragged control or a TDragObject actually uses the Form as a drag object.
The Source parameter of DragOver (and probably DragDrop) events, is the form.
Can't test Drop, as a drop will never be accepted, when the Source is the form.

Lazarus 2.0.8 FPC 3.0.4
Win7 64bit
Playing and learning - strictly for my own pleasure.

Birger52

  • Sr. Member
  • ****
  • Posts: 309
Re: Lazarus Release 2.0.10
« Reply #59 on: July 23, 2020, 09:25:02 pm »
Ans it doesn't seem to be the only problem with DragDrop in Lazarus 2.0.10 FPC 3.2.0
Apparently TControl no longer has a FDragCursor variable - see image...
I tried  commenting out the first line; seems a little overkill to ask for the same value instead of just setting it (- unless the comparison is a lot faster than than simply assigning a value, I don't know)...
But it - not surprisingly - simply causes the error to move to line 3409...
Lazarus 2.0.8 FPC 3.0.4
Win7 64bit
Playing and learning - strictly for my own pleasure.

 

TinyPortal © 2005-2018