Commit Graph

19 Commits

Author SHA1 Message Date
Pietro Gagliardi 33155f7496 Reverted everything back to the old API. 2014-06-30 09:57:44 -04:00
Pietro Gagliardi affc65a5a4 Fixed the build. New API works on Windows! Also removed TODO on dialogs in Windows since I can't reproduce the weird behavior anymore; I guess the new code fixes it. 2014-06-28 16:37:55 -04:00
Pietro Gagliardi 98e701cd3b Migrated uitask_windows.go to the new API. 2014-06-28 10:49:23 -04:00
Pietro Gagliardi f7438c0e10 Migrated init.go to the new API. This should probably be renamed now. 2014-06-28 10:15:24 -04:00
Pietro Gagliardi 3fbf746682 Added rewrite of most of the dialog system for the new API. The Windows API is, however, getting in the way... 2014-06-28 09:37:31 -04:00
Pietro Gagliardi 5b19e6e9a1 More go fmt. 2014-06-10 13:10:59 -04:00
Pietro Gagliardi f170780324 Resolved command-line handling in the GTK+ backend by not doing it and documenting that we don't do it. 2014-06-02 21:25:28 -04:00
Pietro Gagliardi 4452de9a07 Removed a TODO from init.go that was already in the future plans document. 2014-04-28 02:15:19 -04:00
Pietro Gagliardi 9e185d815e Documented that event channels can be assigned to each other to collapse events. 2014-04-10 11:59:40 -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 34ce16d586 Separated file creation dates from the package comment. 2014-03-12 21:55:45 -04:00
Pietro Gagliardi eb48ed09c3 Added a note in ui.Go() about it needing to be run from main(). 2014-03-12 21:42:25 -04:00
Pietro Gagliardi f16005c3db Update ui.Go() documentation to show that it will return nil when its main() returns now that that behavior is fully implemented. 2014-03-05 20:11:45 -05:00
Pietro Gagliardi 2e869615d3 Documentation and TODO changes. 2014-03-01 15:23:49 -05:00
Pietro Gagliardi be5458c0a3 Major code restructure to allow Cocoa to work correctly. Cocoa requires that the application loop run on the very first OS thread created, not just an any ordinary thread. To support this, your code must now be run by the UI init code. Windows and Unix builds still work fine; Mac OS X fails for reasons I now have to debug. 2014-03-01 15:18:29 -05:00
Pietro Gagliardi fb82e651a4 Moved to a proper package; main() is now a test and go test -c is used to build. Once I iron out a bug with Windows event handling, I'll add a README. 2014-02-19 11:41:10 -05:00
Pietro Gagliardi b1b05c2b1f Removed all //package ui comments. 2014-02-17 18:01:32 -05:00
Pietro Gagliardi 16e561c1e3 Added message boxes and adjusted init() accordingly to display one on failure. 2014-02-15 16:27:07 -05:00
Pietro Gagliardi 09a42e0c34 Added the init and testing main functions and started fixing errors. Let's fix the rest and hope it works... 2014-02-11 18:57:03 -05:00