ABitmap.LoadFromFileUTF8(AFileName);
The UTF8 specific functions are not needed any more in LCL. The normal Delphi compatible functions can be used.
I am not sure what functions TBGRABitmap provides. Must check later ...
Now regarding uploading the codebase... I think I need a bit more time, both to clean up the various placeholders/test functions I've left "lying around" everywhere, and also to ensure that I've properly structured the project files so there won't be any issues loading them on computers that aren't mine. I understand what you were saying about uploading everything at once having the potential to cause issues, but honestly at this point I've deviated enough from the original code that I'm not sure it's going to matter either way.
Yes it matters. Good revision history is amazingly important. It helps other people see what is changed and how it is changed.
DeleD developers may be interested in your development, too. Maybe the code will be ported back again to Delphi later, who knows.
I believe all your changes are good but I would love to see separate commits for:
- Use generics containers
- SendMessage -> LCL events
- Fix save-to-image-file
- Fix TList-related crashes
- Added an anti-aliasing level control
- Graphics32 -> BGRABitmap
- Simplify unit_TexureLoader
You even wrote:
-Other misc stuff that i'll detail more later.Commit history would be the best place to detail them.
If anyhow possible, could you now please commit your changes to a local Git repo. "Git gui" lets you selects the changes that go to a single commit. You could still split it nicely into meaningful smallish commits and then write nice commit descriptions.
If that is not possible then at least commit your existing changes as one chunk and later continue with small pointed commits, either to DeleD SVN branch or somewhere else.
Please revert the TControlBar -> TPanel change. Let's fix TControlBar instead.
Reverting is easy by not committing those changes to Git, or committing them and later deleting the commit. Git lets you edit the commit history. Reordering, deleting and joining small commits is easy, splitting existing big commits is more difficult. Hence:
always do many small commits.
I appreciate your work with this DeleD port. However I have learned how important a detailed commit history is for a big SW project which is studied and modified by many people.
Please look at the commit history of DeleD trunk. It has only 131 commits since they imported to SVN but those commits are well though. From their descriptions you know what they do.
Kind regards,
Juha