summaryrefslogtreecommitdiff
path: root/objc_darwin.go
AgeCommit message (Collapse)Author
2014-08-30Out with the old...Pietro Gagliardi
2014-07-02Moved it all back; the preemptive multitaksing during an event handler kills ↵Pietro Gagliardi
us on all platforms. Going to have to restrict ALL GUI accss to happening from one t hread, so going to need to drop uitask entirely and have just a start() callback for startup code and a post() function for posting requests to windows (like channel sends but into a perpetual buffer).
2014-07-02Moved everything out of the way pending rewrite.Pietro Gagliardi
2014-05-19Same as previous commit, but for Mac OS X now. The #cgo directives are in ↵Pietro Gagliardi
uitask_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-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-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-10Added tracking areas to Area on Mac OS X so mouse move events can work; they ↵Pietro Gagliardi
work now.
2014-04-13Consolidated NSScrollView code on Mac OS X to be all in one place.Pietro Gagliardi
2014-04-07Fixed AppQuit on Mac OS X (forgot to set the NSApp delegate AND was using ↵Pietro Gagliardi
the wrong selector).
2014-04-06Added (untested; VM issues) code to handle Mac OS X Quit Dock menu items and ↵Pietro Gagliardi
other related stuff that may happen in the future. Will drop the TODO after I can test it.
2014-04-05Removed NilClass from the shared Mac OS X files (objc_darwin.h and ↵Pietro Gagliardi
bleh_darwin.m) as the //export issue that required that no longer applies.
2014-04-04Changed the way drawRect: was being added to our Mac OS X Area such that we ↵Pietro Gagliardi
no longer need a separate function to add it to the class.
2014-04-04Changed the Area class on Mac OS X to use the new class creation code. This ↵Pietro Gagliardi
gets rid of ALL the class creation code from delegate_darwin.go.
2014-04-04Created a new, simpler, easier to work with, and consistent way to create ↵Pietro Gagliardi
the necessary Objective-C classes in our Go code, and converted the appDelegate class to use it. Now for goArea...
2014-04-04Removed objc_alloc(). This should be all of them. Now to redo how classes ↵Pietro Gagliardi
are handled...
2014-04-04Removed objc_msgSend_rect(). This also consolidates all initWithFrame: calls ↵Pietro Gagliardi
into a simple initWithDummyFrame().
2014-04-04Removed objc_msgSend_rect_uint_uint_bool().Pietro Gagliardi
2014-04-04Removed objc_msgSend_rect_bool().Pietro Gagliardi
2014-04-04Removed objc_msgSend_uint().Pietro Gagliardi
2014-04-04Removed objc_release().Pietro Gagliardi
2014-04-04Removed objc_new(). The idea is to remove all the objc_* functions that ↵Pietro Gagliardi
aren't prefixed with C. (except objc_getClass()).
2014-04-04Got rid of objc_addDelegate(); it was only called in one place (Mac OS X ↵Pietro Gagliardi
Window creation). Also forgot to mention that the previous commit also disables mouse movements in Cocoa Areas for now; I need to replace the current code with one that uses tracking because mouse movements are system-global.
2014-03-12Separated file creation dates from the package comment.Pietro Gagliardi
2014-03-01Added initial Mac OS X sysData code. Almost ready for first test build, ↵Pietro Gagliardi
hopefully?
2014-03-01Changed package main to package ui in darwintest/ imports.Pietro Gagliardi
2014-03-01Added _setDelegate to the common Objective-C selectors list and added a ↵Pietro Gagliardi
clarity wrapper function objc_setDelegate().
2014-03-01Moved the Objective-C wrappers and helpers out of darwintest.Pietro Gagliardi