Pietro Gagliardi
|
982004d050
|
go fmt. Precursor to bug report filing.
|
2014-10-02 10:05:53 -04:00 |
Pietro Gagliardi
|
77bf566ebb
|
...in with the new.
|
2014-08-30 23:02:02 -04:00 |
Pietro Gagliardi
|
155899c65e
|
Out with the old...
|
2014-08-30 23:01:08 -04:00 |
Pietro Gagliardi
|
1287ba8968
|
Implemented Post() on the GTK+ backend.
|
2014-07-03 11:13:48 -04:00 |
Pietro Gagliardi
|
f7dedc8cb0
|
Added the start() function and fixed compilation errors. Everything seems to work...
|
2014-07-03 10:27:46 -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
|
1f0299bd51
|
Removed the gtk_main_quit() kludge from uitask_unix.go; this also removes our_idle_callback() and its associated stuff.
|
2014-07-01 19:42:55 -04:00 |
Pietro Gagliardi
|
e04e5f5cad
|
Converted the GTK+ backend to use the new uitask. Indeterminate progressbars no longer work; this will be fixed soon.
|
2014-07-01 12:09:31 -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
|
33155f7496
|
Reverted everything back to the old API.
|
2014-06-30 09:57:44 -04:00 |
Pietro Gagliardi
|
385993792f
|
Migrated the GTK+ backend to the new API.
|
2014-06-28 21:40:44 -04:00 |
Pietro Gagliardi
|
43b3f1c2a8
|
Partial go fmt. Will do the rest over the next few commits. While I'm not too happy about it, everyone else uses go fmt, and pull requests will be more convenient if I just do it. (Also do it now, because when I change the Windows backend things are going to change...)
|
2014-06-10 09:55:14 -04:00 |
Pietro Gagliardi
|
4e820e86fc
|
Moved gtk_main() such that uitask_unix.go calls it directly via cgo. This is in preparation for the next two commits, which will remove the #cgo directives from all files except the uitask_*.go files, since they're being concatenated across files.
|
2014-05-19 22:18:53 -04:00 |
Pietro Gagliardi
|
6a2fb35d60
|
ui.Go() on GTK+ now reports the reason gtk_init() failed in its error return.
|
2014-04-27 12:43:15 -04:00 |
Pietro Gagliardi
|
34ce16d586
|
Separated file creation dates from the package comment.
|
2014-03-12 21:55:45 -04:00 |
Pietro Gagliardi
|
55f7a9638e
|
Changed the way uitask is dispatched on GTK+ to make event handling not a CPU hog.
|
2014-03-12 20:00:29 -04:00 |
Pietro Gagliardi
|
011836e94d
|
Have ui.Go() return on main() return on Unix.
|
2014-03-05 13:25:19 -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
|
fd86aa55c8
|
Added GTK+ message boxes.
|
2014-02-17 02:54:58 -05:00 |
Pietro Gagliardi
|
1bcbce4142
|
Cleaned up the idle callback code.
|
2014-02-16 17:09:58 -05:00 |
Pietro Gagliardi
|
21c1ec6f83
|
Added the beginning of the Unix (GTK+) implementation.
|
2014-02-16 15:55:51 -05:00 |