![]() ![]() Do you already have a prototype of a Cocoa backend or are these 5000 lines of code you are talking about just an estimation?Īlso, I really think the way forward is to use Cocoa, not Carbon. To do this, I would dynamically load Xamarin.Mac, but it would be an external dependency and we would need to figure out how to distribute Before creating XplatUICocoa.cs and blindly starting to implement it I thought I’d check GitHub to see someone already started to work on it. So, it’s not a strictly a stub, but it has been changed to be inaccessible from outside.Īn alternative is to build a new backend on top of Cocoa, about 5000 lines of code. ![]() I don't know how DllImport is implemented on macOS, but I’m not surprised that it can't bind a non-external symbol. $ nm -arch=x86_64 /System/Library/Frameworks/amework/Versions/Current/Frameworks/amework/HIToolbox | grep GetWindowPort$ ![]() $ nm -arch=i386 /System/Library/Frameworks/amework/Versions/Current/Frameworks/amework/HIToolbox | grep GetWindowPort$ I haven’t found replacement for all, but WebKit and an old fork From adobe of WebKit have enough clues about what to do here. Will continue the audit tonight.īeyond the 64bit structure update we probably need to upgrade many calls that we make into Carbon that were suitable or requires back in 2005/2006 (either due to platform requirements and back compact needs) and replace them with new ones. I did a partial review last night and I got a good sense of what needs doing. The 64 bit version needs to have most of the structures in Structs.xs upgraded to 64 bits. It should probably be a replica of the 32 bit one, with some bits shared where possible. What needs to be done is to create a 64bit backend. I have long assumed Carbon died with 32, so either my memory is faulty or Apple at some point reversed course and added 64 bit support to it.Īnyways, we now have a path to 64 but support. The good news is that Carbon now works on 64 bits. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |