Fixed Mac OS X Area mouse drags being reported outside the actual Area.
Handled AreaHandler.Mouse()'s handled return properly on Mac OS X. Also fixed some typos in objc_darwin.h.
Began the migration to native Objective-C by moving the NSWindow functions and some of the shared helper routines.
Converted most of sysdata_darwin.go to regular Objective-C. I'll also standardize the interface for transferring integer values between Objective-C and Go so that they use intptr_t and uintptr_t everywhere, rather than those two in some places and uint64_t/int64_t in others.
More TODOs.
More future plans.
Further refactoring and de-runtime-izing of sysdata_darwin.go. These changes currently untested.
Finished migrating sysdata_darwin.go away from calling objc_msgSend() directly. initWithDummyFrame() is still there as other files use it.
Started conversion of delegate_darwin.go to use Objective-C directly.
Moved uitask_darwin.go to be Objective-C-based. Both delegate_darwin.go and uitask_darwin.go will share the same .m file.
Moved area_darwin.go to direct Objective-C use.
Removed the class creation at runtime stuff and its residue from the Go files. This also cleans up the initialization stuff on the Go side too.
More TODOs.
More future plans.
Migrated listbox_darwin.go to using Objective-C directly instead of through the runtime. Due to linking issues on Mac OS X 10.6, I haven't made this live yet; I need to repair my 10.6 setup before I can actually test. This won't be done before midnight, so preemptive commit. The new listbox_darwin.go is lbnew.
More future plans.
Migrated the new Objective-C-based Mac OS X Listbox code in and got rid of things preventing the darwin/386 build otherwise. 10.6 doesn't show the NSObservedObjectKey link error, but shows a crapton more, so this is gonna be a fun bug report... I'll use contrived examples and provide the new build logs based on this commit in the meantime as well.
Migrated dialog_darwin.go to use Objective-C directly.
Migrated prefsize_darwin.go to plain Objective-C. Not much left...!
Migrated everything else to Objective-C native; fixed a few things I missed along the way.