| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-05-20 | Fixed 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-19 | Set 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-19 | Same as previous commit, but for Mac OS X now. The #cgo directives are in ↵ | Pietro Gagliardi | |
| uitask_darwin.go. | |||
| 2014-05-19 | Removed 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-19 | Moved 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-19 | TODO file update. | Pietro Gagliardi | |
| 2014-05-18 | Removed 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-17 | Made 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-17 | More TODOs (see previous commit). | Pietro Gagliardi | |
| 2014-05-17 | Decided 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-17 | Fixed 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-17 | More clarification on the previous commit. | Pietro Gagliardi | |
| 2014-05-17 | Removed 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-17 | Added experimental code that tried, and failed, to combat combobox ↵ | Pietro Gagliardi | |
| autoselection on Mac OS X. | |||
| 2014-05-17 | Added the Stack Overflow link for Mac OS X Listbox insertion autoselection ↵ | Pietro Gagliardi | |
| and fixed deletion autoselection as well. | |||
| 2014-05-17 | Found 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-16 | Started working on a blog post of NSTableView creation in code, so removed ↵ | Pietro Gagliardi | |
| the respective personal TODO in listbox_darwin.go. | |||
| 2014-05-16 | Fixed up a bunch of Mac OS X function names, mostly Listbox-related, to be ↵ | Pietro Gagliardi | |
| more clear and more consistent. | |||
| 2014-05-16 | Moved toBOOL() from sysdata_darwin.go to objc_darwin.go since it's used by ↵ | Pietro Gagliardi | |
| other Mac OS X files too. | |||
| 2014-05-16 | Decided 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-16 | Moved some old documents out of the top-level directory and into a folder ↵ | Pietro Gagliardi | |
| olddocs/ to make things neater. | |||
| 2014-05-16 | Implemented the Super and order changes on Mac OS X. Meta is irrelevant here. | Pietro Gagliardi | |
| 2014-05-16 | Added proper Super handling on Windows. Meta isn't used here and the ↵ | Pietro Gagliardi | |
| modifiers were already in the correct order. | |||
| 2014-05-16 | Added (most of) the Super and Meta changes for GTK+. The Modifiers were ↵ | Pietro Gagliardi | |
| already in the correct order. | |||
| 2014-05-16 | Changed 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-16 | Removed Objective-C runtime TODOs from todo.md. | Pietro Gagliardi | |
| 2014-05-16 | Updated the README for the Objective-C change. | Pietro Gagliardi | |
| 2014-05-16 | Organized 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-16 | Resolved 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-16 | Combined all the Objective-C headers into objc_darwin.h. | Pietro Gagliardi | |
| 2014-05-16 | Whoops, forgot to add objc_darwin.m to git! | Pietro Gagliardi | |
| 2014-05-16 | Cleaned up objc_darwin.h and changed all instances of int64_t in the wrapper ↵ | Pietro Gagliardi | |
| structs to intptr_t. | |||
| 2014-05-16 | Removed bleh_darwin.m and the initBleh() function that it contained as its ↵ | Pietro Gagliardi | |
| only remaining code. | |||
| 2014-05-15 | Removed 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-15 | Removed some residual drawRect: stuff from bleh_darwin.m. So close... | Pietro Gagliardi | |
| 2014-05-15 | Removed the Area drawing code from bleh_darwin.m and rewrote it in ↵ | Pietro Gagliardi | |
| Objective-C in area_darwin.m. | |||
| 2014-05-15 | Removed the event point translation from bleh_darwin.m and rewrote it in ↵ | Pietro Gagliardi | |
| Objective-C in area_darwin.m. | |||
| 2014-05-15 | Removed the control font code from bleh_darwin.m and rewrote it in ↵ | Pietro Gagliardi | |
| Objective-C in sysdata_darwin.m. | |||
| 2014-05-15 | Removed the stray applicationShouldTerminate: stuff from bleh_darwin.m. ↵ | Pietro Gagliardi | |
| (delegateuitask_darwin.m has it already.) | |||
| 2014-05-15 | Removed the sole objc_msgSendSuper() wrapper from bleh_darwin.m. | Pietro Gagliardi | |
| 2014-05-15 | Removed bleh_darwin.m's tracking area logic and rewrote it in Objective-C in ↵ | Pietro Gagliardi | |
| area_darwin.m. | |||
| 2014-05-15 | Removed most, if not all, of the objc_msgSend() wrappers. | Pietro Gagliardi | |
| 2014-05-15 | Removed 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-15 | Migrated everything else to Objective-C native; fixed a few things I missed ↵ | Pietro Gagliardi | |
| along the way. | |||
| 2014-05-15 | Migrated prefsize_darwin.go to plain Objective-C. Not much left...! | Pietro Gagliardi | |
| 2014-05-15 | Migrated dialog_darwin.go to use Objective-C directly. | Pietro Gagliardi | |
| 2014-05-15 | Migrated 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-14 | More future plans. | Pietro Gagliardi | |
| 2014-05-13 | Migrated 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-13 | More future plans. | Pietro Gagliardi | |
