summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2014-05-08Switched TableView proposal from <tt>...</tt> to <tt><ins>...</ins></tt> to ↵Pietro Gagliardi
make those parts distinct from code blocks.
2014-05-08Fixed <tt> breakup in tableviewproposal.md.Pietro Gagliardi
2014-05-08github strips style="..." from Markdown, so switch to <tt>...</tt> for the ↵Pietro Gagliardi
TableView proposal.
2014-05-08Added a TableView proposal.Pietro Gagliardi
2014-05-07Fixed dragging at all in Mac OS X Areas; now we just have to work out all ↵Pietro Gagliardi
the other kinks...
2014-05-07Completed extending of mouse buttons to the system's limit; defined (as ↵Pietro Gagliardi
undefined) the mouse drag behavior for buttons >= 3; implemented all that on the GTK+ side, and decided to have MouseEvents.Held[] be sorted (documentation only for now; need to check the code to make sure it follows). Good Lord...
2014-05-07More TODOs... sigh...Pietro Gagliardi
2014-05-06More TODOs.Pietro Gagliardi
2014-05-06Removed TODO from area_darwin.go about extra mouse button handling; turns ↵Pietro Gagliardi
out it works as expected right out of the gate... for the most part.
2014-05-03More future plans.Pietro Gagliardi
2014-05-02More TODOs.Pietro Gagliardi
2014-05-02More future plans.Pietro Gagliardi
2014-05-02More future plans.Pietro Gagliardi
2014-05-01Added comment explaining the use of -[NSWindow setContentSize:] in Mac OS X ↵Pietro Gagliardi
sysData.setWindowSize().
2014-04-30More future plans.Pietro Gagliardi
2014-04-30Added a note to uitask_windows.go that scrolling is a modal loop; that ↵Pietro Gagliardi
solves that mystery from ages ago.
2014-04-29Added a quick disclaimer about Area mouse button numbers and documentation.Pietro Gagliardi
2014-04-29Added extra mouse buttons to Areas on Windows.Pietro Gagliardi
2014-04-29Decided not to cap mouse buttons at 3; reflected this in the public ↵Pietro Gagliardi
interface and in the TODO file. Platform implementations come next.
2014-04-29Resolved another TODO in area_windows.go.Pietro Gagliardi