summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-17Decided to unconditionally redraw everything on a window resize on Mac OS X. ↵Pietro Gagliardi
Now to add TODOs for the other platforms to see if we should do the same.
2014-05-17Fixed variable names in Area drawing code on Unix to reflect that ↵Pietro Gagliardi
image.Rectangle is point-to-point, not origin/size like on Mac OS X. Windows was already fine; it just uses "left, top, right, and bottom" instead of "x0, y0, x1, and y1".
2014-05-17More clarification on the previous commit.Pietro Gagliardi
2014-05-17Removed TODO about not using bad-for-tracking features of NSEvent in Areas ↵Pietro Gagliardi
on Mac OS X since that's not relevant to our use of tracking areas.
2014-05-17Added experimental code that tried, and failed, to combat combobox ↵Pietro Gagliardi
autoselection on Mac OS X.
2014-05-17Added the Stack Overflow link for Mac OS X Listbox insertion autoselection ↵Pietro Gagliardi
and fixed deletion autoselection as well.
2014-05-17Found a method in NSArrayController via Stack Overflow which lets me ↵Pietro Gagliardi
suppress selection-changing behavior on NSTableView inserts; use that on Listbox in Mac OS X. This means sysData.selectIndices() and its Mac OS X implementation can (and has) gone away, clearing TODOs on Windows and Unix by extension.
2014-05-16Started working on a blog post of NSTableView creation in code, so removed ↵Pietro Gagliardi
the respective personal TODO in listbox_darwin.go.
2014-05-16Fixed up a bunch of Mac OS X function names, mostly Listbox-related, to be ↵Pietro Gagliardi
more clear and more consistent.
2014-05-16Moved toBOOL() from sysdata_darwin.go to objc_darwin.go since it's used by ↵Pietro Gagliardi
other Mac OS X files too.
2014-05-16Decided not to move the initCocoa() function to a file init_darwin.go ↵Pietro Gagliardi
because it's small enough now that it doesn't matter.
2014-05-16Moved some old documents out of the top-level directory and into a folder ↵Pietro Gagliardi
olddocs/ to make things neater.
2014-05-16Implemented the Super and order changes on Mac OS X. Meta is irrelevant here.Pietro Gagliardi
2014-05-16Added proper Super handling on Windows. Meta isn't used here and the ↵Pietro Gagliardi
modifiers were already in the correct order.
2014-05-16Added (most of) the Super and Meta changes for GTK+. The Modifiers were ↵Pietro Gagliardi
already in the correct order.
2014-05-16Changed the meaning of the Modifiers keys to be positional, added Super, and ↵Pietro Gagliardi
pinned down Meta vs. Alt. All but the Meta/Alt one were done after discussion in #go-nuts about how to handle differences in user expectation properly. This is the portable interface only; each platform implementation comes next.
2014-05-16Removed Objective-C runtime TODOs from todo.md.Pietro Gagliardi
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