Pietro Gagliardi
|
1c6d4e9151
|
Split the actual delegate into a separate file; this simplifies even more things. I think we're as clean as we can go... should probably start writing the real backend now :D
|
2014-02-28 21:30:32 -05:00 |
Pietro Gagliardi
|
e5a4f32182
|
Cleaned up newtypes.go.
|
2014-02-28 20:53:14 -05:00 |
Pietro Gagliardi
|
8af591388f
|
Split most of the objc_msgSend() wrappers into a C header file for convenience. The NSRect functions require special handling because of Apple stupidities that will be discussed when I get to that.
|
2014-02-28 18:30:06 -05:00 |
Pietro Gagliardi
|
56a436bc80
|
Changed the main thread signaling to use NSObject's performSelectorOnMainThread: functionality, which settles that. NSString requires an autorelease pool; in testing, so does NSValue, which we are eventually going to use. NSAutoreleasePool's docs suggest we should create a temporary pool for things running in other threads, but then we have to release it... but I guess we're waiting for the function to complete on other platforms already, so no big deal here.
|
2014-02-28 17:25:04 -05:00 |
Pietro Gagliardi
|
6982912a58
|
Added a notification system, hopefully allowing us to merge AppKit requests onto a single thread. In practice, this generates autorelease pool leak messages; it appears notifications are not for this...
|
2014-02-28 15:37:59 -05:00 |
Pietro Gagliardi
|
428d3529a8
|
Added a button to the darwin test and had it respond to clicks. Committing as is because without a bezelStyle ther esult is just... wow. 1990s Windows look and feel for the win?
|
2014-02-28 11:55:35 -05:00 |
Pietro Gagliardi
|
0fdfc4c7a6
|
Built a window delegate and ran the event loop. It works!
|
2014-02-28 11:06:20 -05:00 |
Pietro Gagliardi
|
e0c351a2d7
|
Added code to create new Objective-C types at runtime, which will be important both for handling custom messages and for handling events.
|
2014-02-27 23:07:45 -05:00 |