Re: [Lazarus] CFI in FpDebug

2022-06-28 Thread Christo Crause via lazarus
Great news, thank you Joost. This should decrease the amount of code memory that needs to be scanned when building a stack trace - a boost particularly for remote debugging. On Tue, 28 Jun 2022, 23:22 Joost van der Sluis via lazarus, < lazarus@lists.lazarus-ide.org> wrote: > > Hi all, > > I've ju

[Lazarus] CFI in FpDebug

2022-06-28 Thread Joost van der Sluis via lazarus
Hi all, I've just pushed a commit that changed the stack-unwinding logic for FpDebug. What is new is that when the executable includes Call Frame Information (CFI) as specified by the Dwarf-format and CFI is available for the a certain location, the CFI is used to unwind the stack. (x86_64

Re: [Lazarus] Lazarus 2.2 and FormResize

2022-06-28 Thread Bart via lazarus
On Tue, Jun 28, 2022 at 6:48 PM Bart wrote: > IIRC then this was fixed in main (and hopefully merged to fixes). Seems I rember it wrong. It's reported (https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/39691), but not fixed. The cause is described in the bugreport. -- Bart -- _

Re: [Lazarus] Lazarus 2.2 and FormResize

2022-06-28 Thread Bart via lazarus
On Tue, Jun 28, 2022 at 9:04 AM Luca Olivetti via lazarus wrote: > With Lazarus 2.0.12 the OnResize event for a form was fired while > resizing, but in 2.2.2 it's fired only when the resizing is done (only > under windows, under linux it behaves the same as before). > However, if I put, say, a pa

Re: [Lazarus] Lazarus 2.2 and FormResize

2022-06-28 Thread R.Smith via lazarus
Amazing coincidence, I just ran into this yesterday and contemplated posting about it. The behaviour now seems as if for a "OnAfterResize" type of event - and it's great to have - but on occasion you really want to resize form internals during a resize operation by the user. In my case, I ha

[Lazarus] Lazarus 2.2 and FormResize

2022-06-28 Thread Luca Olivetti via lazarus
With Lazarus 2.0.12 the OnResize event for a form was fired while resizing, but in 2.2.2 it's fired only when the resizing is done (only under windows, under linux it behaves the same as before). However, if I put, say, a panel with top,left,bottom,right anchoring, its OnResize event is fired wh