summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-23Implemented triple-clicks and up on Windows.Pietro Gagliardi
2014-05-23Added code that will replace the toolkit-internal double-click/triple-click ↵Pietro Gagliardi
handling in an effort to normalize click count handling.
2014-05-23More TODOs about mouse button click counts. The GTK+ implementation might be ↵Pietro Gagliardi
the killer here...
2014-05-22Updated some TODOs (part 2 of yesterday's The Old New Thing post).Pietro Gagliardi
2014-05-22More of the previous commit.Pietro Gagliardi
2014-05-22More KeyEvent Modifiers designing in the TODO file.Pietro Gagliardi
2014-05-22Updated TODO on modifier keys handling in KeyEvent.Pietro Gagliardi
2014-05-21Updated a TODO with a The Old New Thing blog post link posted today (!) that ↵Pietro Gagliardi
answers the question the TODO asks.
2014-05-21Removed TODO about pixel alignment of scrollviews on Mac OS X; mikeash in ↵Pietro Gagliardi
irc.freenode.net/#macdev told me this only happens when using fractional pixels (because Mac OS X lets you use fractional coordinates and sizes), so we don't have an issue since all our coordinates are integers.
2014-05-20Updated TODOs after confirming that Windows and Mac do have ↵Pietro Gagliardi
MouseEvent.Held[] sorted.
2014-05-20Removed 10.6 build issues from TODO now that that's done.Pietro Gagliardi
2014-05-20Fixed the whole NSApplication.h thing so now the project builds with both ↵Pietro Gagliardi
10.6 and 10.8. Ugh.
2014-05-20Changed #include to #import on the Objective-C files to settle the whole ↵Pietro Gagliardi
include guards thing. Now to continue fixing Mac OS X 10.6 building...
2014-05-20Fixed the Mac OS X 10.6 building using a rather hackish approach... Now it ↵Pietro Gagliardi
won't build on 10.6 itself without problems, so...
2014-05-19Set up the Mac OS X build to always target Mac OS X 10.6 regardless of the ↵Pietro Gagliardi
host system; this is what we want and by default building on 10.8 produces binaries which won't run on 10.6. This isn't working yet, though: one enum in NSApplication.h becomes empty on 10.6...
2014-05-19Same as previous commit, but for Mac OS X now. The #cgo directives are in ↵Pietro Gagliardi
uitask_darwin.go.
2014-05-19Removed the extra #cgo directives from the Unix files. cgo collects ↵Pietro Gagliardi
directives from ALL files, rather than using each file's directive individually, so having them combined like this is pointless. Instead, the #cgo directives are (or is, since there's only one) in uitask_unix.go. Will do the same for Mac next; this will help since we're going to add a CFLAGS value afterward.
2014-05-19Moved gtk_main() such that uitask_unix.go calls it directly via cgo. This is ↵Pietro Gagliardi
in preparation for the next two commits, which will remove the #cgo directives from all files except the uitask_*.go files, since they're being concatenated across files.
2014-05-19TODO file update.Pietro Gagliardi
2014-05-18Removed TODO about buttons 1+3 causing a button 2 click on Mac OS X Areas... ↵Pietro Gagliardi
it was actually on my host's end: X11/KDE is doing it, and I never noticed that before, nor do I remember that happening on the Windows/wine or GTK+ versions :S That's it for the TODOs in the Mac OS X Go files! :D
2014-05-17Made drawing of NSScrollView backgrounds explicit on Mac OS X. This is what ↵Pietro Gagliardi
Interface Builder sets for NSTableViews, so we do that too for Listbox. This also means NSScrollView draws the background for our Areas, settling the clear clip rect TODO.
2014-05-17More TODOs (see previous commit).Pietro Gagliardi
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.