-
Notifications
You must be signed in to change notification settings - Fork 285
Add Lazarus 1.8 support, Fix #1037 #1040
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Lazarus 1.8 support, Fix #1037 #1040
Conversation
I'll squash and rebase if necessary when build get green (still waiting macos) and these fixes are suitable all in all. |
compiles ok on high sierra 10.13.2 |
@spleenjack would you please squash the commits and add more details about this patch in commit message / PR comment? Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's squash the commits, and rebase the branch with our latest master branch, thanks!
For code-level changes, I think we need review from @leonsoft-kras and @antekgla |
Added Lazarus 1.8 support Renamed BaseForm.ScaleD variable to avoid conflict with new TForm.Scaled property declared as published Replaced usages of FileUtil's deprecated wrapper functions by their modern substitutes in LazUTF8, LazFileUtils, and LCLProc since all of them cutted out by disabled EnableWrapperFunctions definition
I fixed that kind of errors:
Snipped piece of code from FileUtil:
And the little piece from LCLProc:
|
Squashed and rebased |
I'll also test it soon, in the meantime, let's wait for two another maintainer's review 👍 |
I test soon too. |
@antekgla you can try Docker, let me know if I can help you :) |
Well I compile this code without problems in Lazarus 1.6 and Lazarus 1.8 in Windows 7. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@spleenjack would you please tell me the platform(s) you tested with this patch?
@PeterDaveHello Windows 10. I compiled it on Lazarus 1.6.2, 1.6.4, and 1.8.0 successfully. |
@spleenjack cool! I'll also test it on Windows 7 and Windows 10. |
@leonsoft-kras don't we need more tests? |
Tests are performed all the time. ))) Lazarus 1.6.4 compiled normally. The program works. I did not find the crime in the corrections. Releases can be compiled in any version of Lazarus. |
I prefer to test on all platforms before merging. |
I do not have such an opportunity. In addition, as I have seen above, much has already been tested. so everything is fine. |
just don't think it's in urgent so prefer to have more time to test as detail as possible :) |
Added Lazarus 1.8 support
Fixed BaseForm.ScaleD variable name conflicted with Form.Scaled
Fixed usages of some FileUtil deprecated functions