Pietro Gagliardi
|
b460466e4b
|
Implemented Post() on Mac OS X.
|
2014-07-03 11:53:21 -04:00 |
Pietro Gagliardi
|
9eb9aa82c0
|
Removed uitask and made the Window creation functions only callable from the main thread. This si the first part in the real major change, which bans all concurrent use of the API and provides a Post() function for communication. I don't like this, but it's the only way. Untested.
|
2014-07-03 10:02:27 -04:00 |
Pietro Gagliardi
|
8a81650b3d
|
Moved it all back; the preemptive multitaksing during an event handler kills 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-02 22:53:03 -04:00 |
Pietro Gagliardi
|
5d339e656b
|
Moved everything out of the way pending rewrite.
|
2014-07-02 17:13:40 -04:00 |
Pietro Gagliardi
|
37051f5c15
|
Migrated the Mac OS X backend to the new uitask system.
|
2014-07-01 17:11:08 -04:00 |
Pietro Gagliardi
|
ffa1bbe0b9
|
Restored the previous new API. I'm going to change it so that events are callbacks rather than using a window handler, but other than that... yeah.
|
2014-06-30 22:48:12 -04:00 |
Pietro Gagliardi
|
e8a7dd0b87
|
Converted the Mac OS X backend to use uitask() instead of uitask chan func().
|
2014-06-30 21:21:55 -04:00 |
Pietro Gagliardi
|
33155f7496
|
Reverted everything back to the old API.
|
2014-06-30 09:57:44 -04:00 |
Pietro Gagliardi
|
580b06638f
|
More of the same conversion.
|
2014-06-29 10:45:46 -04:00 |
Pietro Gagliardi
|
dff7ed3321
|
Migrated the Mac OS X delegate code to the new API.
|
2014-06-29 03:09:01 -04:00 |
Pietro Gagliardi
|
d289fce35c
|
Removed Mac OS X 10.6 support. Quite a hassle that version was...
|
2014-06-11 14:58:39 -04:00 |
Pietro Gagliardi
|
b172ab2e37
|
Added new MsgBox() behavior on Mac OS X. Now we can finally remove MsgBox() from the TODOs! :D
|
2014-06-08 12:36:55 -04:00 |
Pietro Gagliardi
|
bc848f5c40
|
Fixed all the NSAutoreleasePool issues on Mac OS X 10.6.
|
2014-06-07 19:56:51 -04:00 |
Pietro Gagliardi
|
9f2669d583
|
Fixed Command key up on Mac OS X. This fix also fixes Help key down, so remove the workaround there.
|
2014-06-07 18:17:29 -04:00 |
Pietro Gagliardi
|
42e2c130ac
|
Did half the work to fix Help key handling in Mac OS X.
|
2014-06-06 22:22:36 -04:00 |
Pietro Gagliardi
|
60de6d05c5
|
Implemented message box transience on Mac OS X.
|
2014-06-05 00:53:26 -04:00 |
Pietro Gagliardi
|
989ac438fc
|
Fixed the whole NSApplication.h thing so now the project builds with both 10.6 and 10.8. Ugh.
|
2014-05-20 08:35:39 -04:00 |
Pietro Gagliardi
|
c6d24f0e32
|
Changed #include to #import on the Objective-C files to settle the whole include guards thing. Now to continue fixing Mac OS X 10.6 building...
|
2014-05-20 08:08:55 -04:00 |
Pietro Gagliardi
|
3e9e767d79
|
Fixed the Mac OS X 10.6 building using a rather hackish approach... Now it won't build on 10.6 itself without problems, so...
|
2014-05-20 07:46:57 -04:00 |
Pietro Gagliardi
|
a9717bfb4f
|
Organized the dummyRect declarations/definitions/etc. in the Objective-C files. I think that's it for the Objective-C conversion of the Mac OS X code!
|
2014-05-16 09:13:11 -04:00 |
Pietro Gagliardi
|
ebcbaa129d
|
Combined all the Objective-C headers into objc_darwin.h.
|
2014-05-16 06:49:29 -04:00 |
Pietro Gagliardi
|
08e86ea9b3
|
Removed the dummy NSEvent code from bleh_darwin.m and rewrote it in 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 23:04:30 -04:00 |
Pietro Gagliardi
|
3e712db2e0
|
Moved uitask_darwin.go to be Objective-C-based. Both delegate_darwin.go and uitask_darwin.go will share the same .m file.
|
2014-05-13 08:14:28 -04:00 |