Recent

Author Topic: Lazarus Release Candidate 2 for 2.0  (Read 25471 times)

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3554
  • I like bugs.
Re: Lazarus Release Candidate 2 for 2.0
« Reply #90 on: December 11, 2018, 01:13:16 pm »
I emailed Jesús about it before posting here. I guess he knows it but still no response.
Filled a bug report: https://bugs.freepascal.org/view.php?id=34680
Thanks. A bug report is the way to go.
I added there the trunk revision which is relevant information. All changes happen in trunk, some of them are merged to fixes branch.

VTwin

  • Hero Member
  • *****
  • Posts: 504
  • Former Turbo Pascal 3 user
Re: Lazarus Release Candidate 2 for 2.0
« Reply #91 on: December 11, 2018, 06:35:36 pm »
I see the new support for the MouseWheel:

http://wiki.freepascal.org/Lazarus_2.0.0_release_notes

namely OnMouseWheelHorz, OnMouseWheelLeft, OnMouseWheelRight added to TControl.

These events show up in the ide (Cocoa trunk) as TForm events, but not, as I can see, for other controls, for example TPaintBox. As TPaintBox is a TControl, shouldn't they?

Also, it would be nice to have an event that reported both x and y. As I use them to pan an image, that would cut the number of redraws by half. Not a complaint, just a suggestion. I am very pleased with the new events, thanks!

EDIT: A work around is not difficult:

http://forum.lazarus-ide.org/index.php/topic,12939.15.html

 

« Last Edit: December 11, 2018, 07:08:51 pm by VTwin »
“Talk is cheap. Show me the code.” Linus Torvalds

Lazarus 2.1 svn trunk 59794: macOS 10.11.6 (64 bit Cocoa)
Lazarus 1.8.4: Win 7 (64 bit) & Ubuntu 16.04.3 (64 bit) on VBox

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3554
  • I like bugs.
Re: Lazarus Release Candidate 2 for 2.0
« Reply #92 on: December 11, 2018, 07:47:38 pm »
These events show up in the ide (Cocoa trunk) as TForm events, but not, as I can see, for other controls, for example TPaintBox. As TPaintBox is a TControl, shouldn't they?
I don't know the details of this issue but I guess it will not be changed before 2.0 release.
Please start a new thread in mailing list or in this forum to discuss the issue.
Patches are also welcome through the bug tracker.

Alextp

  • Hero Member
  • *****
  • Posts: 722
    • UVviewsoft
Re: Lazarus Release Candidate 2 for 2.0
« Reply #93 on: December 11, 2018, 08:17:33 pm »
I will prepare the patch to make MouseWheelHorz event for most of LCL ctrls.

VTwin

  • Hero Member
  • *****
  • Posts: 504
  • Former Turbo Pascal 3 user
Re: Lazarus Release Candidate 2 for 2.0
« Reply #94 on: December 11, 2018, 08:49:02 pm »
I will prepare the patch to make MouseWheelHorz event for most of LCL ctrls.

Excellent!
“Talk is cheap. Show me the code.” Linus Torvalds

Lazarus 2.1 svn trunk 59794: macOS 10.11.6 (64 bit Cocoa)
Lazarus 1.8.4: Win 7 (64 bit) & Ubuntu 16.04.3 (64 bit) on VBox

dubst3pp4

  • Jr. Member
  • **
  • Posts: 66
  • Retro computing ~ GNU/Linux
    • me on Mastodon
Re: Lazarus Release Candidate 2 for 2.0
« Reply #95 on: December 12, 2018, 09:19:14 am »
The RC2 packages for AMD64 Debian are still not available:
https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.0RC2/
The package listed here is still the RC1. Beside that, it depends on fpc instead of fpc-laz, so it can't be installed.
Can please someone have a look why the RC1 package is listed here?

Thanks in advance! :-)

Alextp

  • Hero Member
  • *****
  • Posts: 722
    • UVviewsoft
Re: Lazarus Release Candidate 2 for 2.0
« Reply #96 on: December 12, 2018, 09:55:14 am »
>Excellent!

https://bugs.freepascal.org/view.php?id=34683

@Juha
Pls consider to apply first [safe one] patch from https://bugs.freepascal.org/view.php?id=34632

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 4949
    • wiki
Re: Lazarus Release Candidate 2 for 2.0
« Reply #97 on: December 12, 2018, 10:51:33 am »
The RC2 packages for AMD64 Debian are still not available:
https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.0RC2/
The package listed here is still the RC1. Beside that, it depends on fpc instead of fpc-laz, so it can't be installed.
Can please someone have a look why the RC1 package is listed here?

Sorry about that. Not sure what happened there.
Anyway we are planning on RC3 in the next week. So probably not going to rebuild RC2.

dubst3pp4

  • Jr. Member
  • **
  • Posts: 66
  • Retro computing ~ GNU/Linux
    • me on Mastodon
Re: Lazarus Release Candidate 2 for 2.0
« Reply #98 on: December 12, 2018, 11:02:35 am »
Sorry about that. Not sure what happened there.
Anyway we are planning on RC3 in the next week. So probably not going to rebuild RC2.
Okay, thanks Martin, good to know! So I will be patient!

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3554
  • I like bugs.
Re: Lazarus Release Candidate 2 for 2.0
« Reply #99 on: December 12, 2018, 12:31:32 pm »
https://bugs.freepascal.org/view.php?id=34683
I applied the patch. Thanks.

Quote
@Juha
Pls consider to apply first [safe one] patch from https://bugs.freepascal.org/view.php?id=34632
As wp noted, a square cross looks strange inside the rectangle. IMO things would get worse by the change.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3554
  • I like bugs.
Re: Lazarus Release Candidate 2 for 2.0
« Reply #100 on: December 12, 2018, 12:42:29 pm »
Okay, thanks Martin, good to know! So I will be patient!
No need to be patient. You can easily get the sources of fixes 2.0 branch through SVN.
 http://wiki.lazarus.freepascal.org/Getting_Lazarus#Fixes_branch_of_latest_Lazarus_release
Then first time build it with "make", later you can build from Lazarus itself (Tools menu).
This is extremely easy because Lazarus does not need to be installed. Just start it with "./lazarus".
It is the best way to get the latest most stable version also after official releases. The fixes branch will always have the latest bug fixes.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 4949
    • wiki
Re: Lazarus Release Candidate 2 for 2.0
« Reply #101 on: December 12, 2018, 12:59:02 pm »
Sorry about that. Not sure what happened there.
Anyway we are planning on RC3 in the next week. So probably not going to rebuild RC2.
Okay, thanks Martin, good to know! So I will be patient!
Just got feedback from the person in charge. RC2 is in place now.

Alextp

  • Hero Member
  • *****
  • Posts: 722
    • UVviewsoft
Re: Lazarus Release Candidate 2 for 2.0
« Reply #102 on: December 12, 2018, 06:58:23 pm »
Quote
>As wp noted, a square cross looks strange inside the rectangle. IMO things would get worse by the change.
Juha,
issue has 2 patches from me.
1st is safe: is only adds X for Listbox.
2nd is not safe and wp wrote about it.
Pls apply 1st one

dubst3pp4

  • Jr. Member
  • **
  • Posts: 66
  • Retro computing ~ GNU/Linux
    • me on Mastodon
Re: Lazarus Release Candidate 2 for 2.0
« Reply #103 on: December 13, 2018, 11:07:25 am »
Just got feedback from the person in charge. RC2 is in place now.
Oh wow, this was fast! Thanks Martin! :-)