assistance and porting of SineOne classes over to this would be appreciated; but keep two things in mind:
(a) ideally, legacy should use Sugar, ie be written as cross-platform code built on Sugar.
(b) i think lots of contributions to ShineOn are rather directly “borrowed” from the VCL code. we can’t have that for Sugar and Sugar.Legacy; we cannot use code that’s copyrighted by Embarcadero, its got to be all fresh code, licensed compatibly with Sugar (ie BSD)
IMHO, now we have FPC-codebase, so some RTL ideas can come from FPC sources.
But personally, I did not think that it will be useful to directly port any Pascal-based sources. Sugar ability to rely on platform-native RTL via mapping must be used instead pure-pascal codebase.
i see this as two levels: Sugar provides nice platform agnostic classes that (hopefully) will look nothing like Delphi’s, but are just well designed APIs that work well. Sugar.Legacy bulds n top of Sugar to provide RTL/VCL compatible classes (mapped or real), such as TStringList and functions such as copy(), DateTimeToStr(), etc.
re FPC: check what their license is. it might be GPL.
FPC license is modified GPL, so it allows linking with any app AFAIK. But compiler itself and RTL is GPL, so Sugar maybe can use it - due to open source license!)
IMHO, now we have FPC-codebase, so some RTL ideas can come from FPC sources.
But personally, I did not think that it will be useful to directly port any Pascal-based sources. Sugar ability to rely on platform-native RTL via mapping must be used instead pure-pascal codebase.
Be carefoul, remember many code inside FPC was borrowed from Delphi RTL. While that is supposed to be cleaned in the past, i dont know of any person checking this was true.