Pietro Gagliardi
|
946e007e5d
|
Same as previous commit, but for Mac OS X now. The #cgo directives are in uitask_darwin.go.
|
2014-05-19 22:52:59 -04:00 |
Pietro Gagliardi
|
d8a7d9b53e
|
Fixed up a bunch of Mac OS X function names, mostly Listbox-related, to be more clear and more consistent.
|
2014-05-16 20:44:19 -04:00 |
Pietro Gagliardi
|
6d67bce9b1
|
Moved toBOOL() from sysdata_darwin.go to objc_darwin.go since it's used by other Mac OS X files too.
|
2014-05-16 20:29:16 -04:00 |
Pietro Gagliardi
|
b7db0e15cd
|
Removed all the objc_getClass() and sel_getUid() calls from the Go code on Mac OS X. Also got rid of a forgotten objc_msgSend(). Now comes the Objective-C half...
|
2014-05-15 20:14:44 -04:00 |
Pietro Gagliardi
|
9d8976abab
|
Migrated everything else to Objective-C native; fixed a few things I missed along the way.
|
2014-05-15 19:55:16 -04:00 |
Pietro Gagliardi
|
62b3c26107
|
Removed the class creation at runtime stuff and its residue from the Go files. This also cleans up the initialization stuff on the Go side too.
|
2014-05-13 09:40:19 -04:00 |
Pietro Gagliardi
|
cc01981999
|
Added tracking areas to Area on Mac OS X so mouse move events can work; they work now.
|
2014-05-10 21:03:04 -04:00 |
Pietro Gagliardi
|
417bdb8949
|
Consolidated NSScrollView code on Mac OS X to be all in one place.
|
2014-04-13 12:52:10 -04:00 |
Pietro Gagliardi
|
24d40fa12d
|
Fixed AppQuit on Mac OS X (forgot to set the NSApp delegate AND was using the wrong selector).
|
2014-04-07 12:46:09 -04:00 |
Pietro Gagliardi
|
f7817f6987
|
Added (untested; VM issues) code to handle Mac OS X Quit Dock menu items and other related stuff that may happen in the future. Will drop the TODO after I can test it.
|
2014-04-06 23:33:27 -04:00 |
Pietro Gagliardi
|
338cbc0540
|
Removed NilClass from the shared Mac OS X files (objc_darwin.h and bleh_darwin.m) as the //export issue that required that no longer applies.
|
2014-04-05 12:39:27 -04:00 |
Pietro Gagliardi
|
8eee2a92b7
|
Changed the way drawRect: was being added to our Mac OS X Area such that we no longer need a separate function to add it to the class.
|
2014-04-04 22:21:53 -04:00 |
Pietro Gagliardi
|
7ea493873c
|
Changed the Area class on Mac OS X to use the new class creation code. This gets rid of ALL the class creation code from delegate_darwin.go.
|
2014-04-04 21:32:10 -04:00 |
Pietro Gagliardi
|
dd20d56f25
|
Created a new, simpler, easier to work with, and consistent way to create the necessary Objective-C classes in our Go code, and converted the appDelegate class to use it. Now for goArea...
|
2014-04-04 21:06:01 -04:00 |
Pietro Gagliardi
|
e35457b968
|
Removed objc_alloc(). This should be all of them. Now to redo how classes are handled...
|
2014-04-04 20:34:35 -04:00 |
Pietro Gagliardi
|
5a5b486b6a
|
Removed objc_msgSend_rect(). This also consolidates all initWithFrame: calls into a simple initWithDummyFrame().
|
2014-04-04 19:51:59 -04:00 |
Pietro Gagliardi
|
dd4a7b9cbe
|
Removed objc_msgSend_rect_uint_uint_bool().
|
2014-04-04 19:14:03 -04:00 |
Pietro Gagliardi
|
461b0cc023
|
Removed objc_msgSend_rect_bool().
|
2014-04-04 19:08:25 -04:00 |
Pietro Gagliardi
|
ba2c1d6d20
|
Removed objc_msgSend_uint().
|
2014-04-04 18:56:37 -04:00 |
Pietro Gagliardi
|
ef43865923
|
Removed objc_release().
|
2014-04-04 18:08:23 -04:00 |
Pietro Gagliardi
|
3a130b756a
|
Removed objc_new(). The idea is to remove all the objc_* functions that aren't prefixed with C. (except objc_getClass()).
|
2014-04-04 17:50:27 -04:00 |
Pietro Gagliardi
|
1a7bf4cd89
|
Got rid of objc_addDelegate(); it was only called in one place (Mac OS X 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-04-04 15:51:40 -04:00 |
Pietro Gagliardi
|
34ce16d586
|
Separated file creation dates from the package comment.
|
2014-03-12 21:55:45 -04:00 |
Pietro Gagliardi
|
a83dcb0282
|
Added initial Mac OS X sysData code. Almost ready for first test build, hopefully?
|
2014-03-01 13:29:24 -05:00 |
Pietro Gagliardi
|
23ddcde052
|
Changed package main to package ui in darwintest/ imports.
|
2014-03-01 04:42:13 -05:00 |
Pietro Gagliardi
|
d611722ac7
|
Added _setDelegate to the common Objective-C selectors list and added a clarity wrapper function objc_setDelegate().
|
2014-03-01 04:28:47 -05:00 |
Pietro Gagliardi
|
a3b01892fd
|
Moved the Objective-C wrappers and helpers out of darwintest.
|
2014-03-01 04:17:32 -05:00 |