summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-16Updated the README for the Objective-C change.Pietro Gagliardi
2014-05-16Organized the dummyRect declarations/definitions/etc. in the Objective-C ↵Pietro Gagliardi
files. I think that's it for the Objective-C conversion of the Mac OS X code!
2014-05-16Resolved the TODO about one of the functions in sysdata_darwin.m not being ↵Pietro Gagliardi
properly type-checked: I forgot to include sysdata_darwin.h (it was commented out)! Not a problem anymore, of course...
2014-05-16Combined all the Objective-C headers into objc_darwin.h.Pietro Gagliardi
2014-05-16Whoops, forgot to add objc_darwin.m to git!Pietro Gagliardi
2014-05-16Cleaned up objc_darwin.h and changed all instances of int64_t in the wrapper ↵Pietro Gagliardi
structs to intptr_t.
2014-05-16Removed bleh_darwin.m and the initBleh() function that it contained as its ↵Pietro Gagliardi
only remaining code.
2014-05-15Removed the dummy NSEvent code from bleh_darwin.m and rewrote it in ↵Pietro Gagliardi
Objective-C in delegateuitask_darwin.m. And now to nuke bleh_darwin.m and change all the int64_ts to intptr_ts and merge the .h files...
2014-05-15Removed some residual drawRect: stuff from bleh_darwin.m. So close...Pietro Gagliardi
2014-05-15Removed the Area drawing code from bleh_darwin.m and rewrote it in ↵Pietro Gagliardi
Objective-C in area_darwin.m.
2014-05-15Removed the event point translation from bleh_darwin.m and rewrote it in ↵Pietro Gagliardi
Objective-C in area_darwin.m.
2014-05-15Removed the control font code from bleh_darwin.m and rewrote it in ↵Pietro Gagliardi
Objective-C in sysdata_darwin.m.
2014-05-15Removed the stray applicationShouldTerminate: stuff from bleh_darwin.m. ↵Pietro Gagliardi
(delegateuitask_darwin.m has it already.)
2014-05-15Removed the sole objc_msgSendSuper() wrapper from bleh_darwin.m.Pietro Gagliardi
2014-05-15Removed bleh_darwin.m's tracking area logic and rewrote it in Objective-C in ↵Pietro Gagliardi
area_darwin.m.
2014-05-15Removed most, if not all, of the objc_msgSend() wrappers.Pietro Gagliardi
2014-05-15Removed all the objc_getClass() and sel_getUid() calls from the Go code on ↵Pietro Gagliardi
Mac OS X. Also got rid of a forgotten objc_msgSend(). Now comes the Objective-C half...
2014-05-15Migrated everything else to Objective-C native; fixed a few things I missed ↵Pietro Gagliardi
along the way.
2014-05-15Migrated prefsize_darwin.go to plain Objective-C. Not much left...!Pietro Gagliardi
2014-05-15Migrated dialog_darwin.go to use Objective-C directly.Pietro Gagliardi
2014-05-15Migrated the new Objective-C-based Mac OS X Listbox code in and got rid of ↵Pietro Gagliardi
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.
2014-05-14More future plans.Pietro Gagliardi
2014-05-13Migrated listbox_darwin.go to using Objective-C directly instead of through ↵Pietro Gagliardi
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.
2014-05-13More future plans.Pietro Gagliardi
2014-05-13More TODOs.Pietro Gagliardi
2014-05-13Removed the class creation at runtime stuff and its residue from the Go ↵Pietro Gagliardi
files. This also cleans up the initialization stuff on the Go side too.
2014-05-13Moved area_darwin.go to direct Objective-C use.Pietro Gagliardi
2014-05-13Moved uitask_darwin.go to be Objective-C-based. Both delegate_darwin.go and ↵Pietro Gagliardi
uitask_darwin.go will share the same .m file.
2014-05-13Started conversion of delegate_darwin.go to use Objective-C directly.Pietro Gagliardi
2014-05-13Finished migrating sysdata_darwin.go away from calling objc_msgSend() ↵Pietro Gagliardi
directly. initWithDummyFrame() is still there as other files use it.
2014-05-12Further refactoring and de-runtime-izing of sysdata_darwin.go. These changes ↵Pietro Gagliardi
currently untested.
2014-05-12More future plans.Pietro Gagliardi
2014-05-12More TODOs.Pietro Gagliardi
2014-05-12Converted most of sysdata_darwin.go to regular Objective-C. I'll also ↵Pietro Gagliardi
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.
2014-05-12Began the migration to native Objective-C by moving the NSWindow functions ↵Pietro Gagliardi
and some of the shared helper routines.
2014-05-12Handled AreaHandler.Mouse()'s handled return properly on Mac OS X. Also ↵Pietro Gagliardi
fixed some typos in objc_darwin.h.
2014-05-12Fixed Mac OS X Area mouse drags being reported outside the actual Area.Pietro Gagliardi
2014-05-12Replaced the horribly memory-inefficient NSIndexSet operation to get the ↵Pietro Gagliardi
list of selected indices in the Mac OS X Listbox with a far simpler option that avoids deferring some of the work (apart from objc_msgSend() calls) to cgo and the use of reflect.SliceHeader at all! It just grabs the indices from the NSIndexSet one at a time using the previous index as an anchor.
2014-05-11More future plans.Pietro Gagliardi
2014-05-11Replaced the hackish indeterminate progress bar animation on Mac OS X (which ↵Pietro Gagliardi
didn't work on 10.6) with calls to startAnimation: and stopAnimation:; I have no idea how I missed those the first time. Thanks to stal[DirectX] in irc.freenode.net/#macdev for pointing those out to me.
2014-05-11More TODOs and future plans.Pietro Gagliardi
2014-05-11Consistency change: all Windows API structure field names now match ↵Pietro Gagliardi
case-wise (some were forcibly exported in the past for historical reasons: I originally started package ui by trying to write a Windows API wrapper, but decided to ditch that and just use the Windows API directly from package ui). Also more TODOs.
2014-05-10Added some more exposition to a comment in bleh_darwin.m regarding tracking ↵Pietro Gagliardi
area options.
2014-05-10Added tracking areas to Area on Mac OS X so mouse move events can work; they ↵Pietro Gagliardi
work now.
2014-05-10Preparation for adding tracking areas to Mac OS X Areas: we need to now pass ↵Pietro Gagliardi
in the sysData to each control's make() function so Area can save the tracking area somewhere (this will also come in handy when I change alternate from a bool to an integer index).
2014-05-10Documented the xxxMouseDragged: behavior in the Mac OS X source code.Pietro Gagliardi
2014-05-10Documented dragging issues caused by how Mac OS X handles mouse events; also ↵Pietro Gagliardi
determined that multiple buttons held at once only generates one mouseDragged: signal.
2014-05-10Still more TODOs.Pietro Gagliardi
2014-05-10More TODOs.Pietro Gagliardi
2014-05-08More TODOs, now that I have Mac OS X 10.6 working as well.Pietro Gagliardi