Commit Graph

22 Commits

Author SHA1 Message Date
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 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 990d50e9a1 Rolled back all those changes; I'm stupid. 2014-06-30 22:42:48 -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 bc50405364 More dialog_darwin.go/.m conversion. 2014-06-29 10:44:03 -04:00
Pietro Gagliardi 7e0a0db492 Did most of the conversion of dialog_darwin.go/.m to the new API. 2014-06-29 10:41:02 -04:00
Pietro Gagliardi ad8a90ec7e More go fmt. 2014-06-10 14:49:54 -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 60de6d05c5 Implemented message box transience on Mac OS X. 2014-06-05 00:53:26 -04:00
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 ebcbaa129d Combined all the Objective-C headers into objc_darwin.h. 2014-05-16 06:49:29 -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 5b5c76021e Migrated dialog_darwin.go to use Objective-C directly. 2014-05-15 19:08:24 -04:00
Pietro Gagliardi 194e4971b2 Switched to NSInformationalAlertStyle for Mac OS X MsgBox() since these aren't specifically warnings. 2014-04-25 19:16:38 -04:00
Pietro Gagliardi 013e8707da Removed unnecessary space if the secondaryText argument to MsgBox***() is an empty string. This doesn't change much on Mac OS X; it always shows the informational text field, showing an empty string by default. On GTK+ it seems to get rid of the bold over the primary text; I'm going to assume this is intentional (it looks that way on GTK+ 2; the HIG docs have outdated screenshots...). 2014-04-10 12:35:37 -04:00
Pietro Gagliardi ba2c1d6d20 Removed objc_msgSend_uint(). 2014-04-04 18:56:37 -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 34ce16d586 Separated file creation dates from the package comment. 2014-03-12 21:55:45 -04:00
Pietro Gagliardi 2fb7056be4 Standardized message boxes so they appear similarly on all platforms. This shafts Windows because primary/secondary text message boxes were only added in Windows Vista, but at least MSDN provides discourse. 2014-03-12 12:14:24 -04:00
Pietro Gagliardi e20b468472 Added the Mac OS X implementation of messageboxes. 2014-03-02 18:37:25 -05:00