Pietro Gagliardi
|
a7f7ea1b8d
|
Major overhaul of the way GTK+ events are handled. Closures that perform events are no longer generated; instead all events are given to fixed, compile-time, cgo-exported callback functions that take the sysData as user data. This saves memory (we no longer need to generate closures and we no longer have to save them elsewhere to keep them from being garbage collected) and makes the top of sysdata_unix.go slightly cleaner, but it moves the code for handling UI events into callbacks_unix.go. This is needed for Area, in which we need to feed the sysData to an event connected to a subwidget instead of the main widget returned.
|
2014-03-14 20:03:02 -04:00 |
Pietro Gagliardi
|
af7a218b47
|
Added Area support in sysdata.go so the package can compile again. Now to do that big change mentioned in the previous commit: overhaul of the GTK+ signal system.
|
2014-03-14 18:47:18 -04:00 |
Pietro Gagliardi
|
7a5b635824
|
Added the GTK+ implementation of Area. It's not enabled yet due to cgo bugs, and there's some extra work needed (started here) to tie this in...
|
2014-03-14 18:44:59 -04:00 |
Pietro Gagliardi
|
c3c0edda3d
|
Added the portable code for Area.
|
2014-03-14 16:43:46 -04:00 |
Pietro Gagliardi
|
9b2b3187cb
|
More Area planning. I think I now have all the info I need...
|
2014-03-14 14:47:27 -04:00 |
Pietro Gagliardi
|
e2ae065579
|
More Area planning and TODOs.
|
2014-03-14 13:14:58 -04:00 |
Pietro Gagliardi
|
502522b0a6
|
More Area planning.
|
2014-03-14 12:40:47 -04:00 |
Pietro Gagliardi
|
21d3bf944b
|
More Area planning.
|
2014-03-14 09:09:42 -04:00 |
Pietro Gagliardi
|
43da1118be
|
More Area API planning.
|
2014-03-14 08:43:18 -04:00 |
Pietro Gagliardi
|
85f6b63c12
|
More Area planning doc fixups.
|
2014-03-14 07:32:43 -04:00 |
Pietro Gagliardi
|
957018728f
|
More Area planning document changes.
|
2014-03-14 07:29:42 -04:00 |
Pietro Gagliardi
|
347681f225
|
Quick Area planning fixes.
|
2014-03-14 07:21:59 -04:00 |
Pietro Gagliardi
|
646a001129
|
More Area planning and TODOs.
|
2014-03-14 07:18:16 -04:00 |
Pietro Gagliardi
|
de82632bc6
|
More Area planning.
|
2014-03-13 22:06:14 -04:00 |
Pietro Gagliardi
|
d75187c82a
|
Updated Area planning to indicate to Cocoa that alpha values are not premultiplied.
|
2014-03-13 12:56:44 -04:00 |
Pietro Gagliardi
|
40fae49521
|
More Area planning.
|
2014-03-13 12:51:08 -04:00 |
Pietro Gagliardi
|
875d4f333b
|
Added initial planning document for the Area Control.
|
2014-03-13 11:51:07 -04:00 |
Pietro Gagliardi
|
34ce16d586
|
Separated file creation dates from the package comment.
|
2014-03-12 21:55:45 -04:00 |
Pietro Gagliardi
|
17688190bb
|
More TODOs.
|
2014-03-12 21:48:50 -04:00 |
Pietro Gagliardi
|
26c6b97ce1
|
Removed ui.Event(); all event channels are initialized with their objects now.
|
2014-03-12 21:47:39 -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
|
9beeeb6371
|
More TODOs.
|
2014-03-12 21:41:46 -04:00 |
Pietro Gagliardi
|
9bcf706b2f
|
Added package documentation.
|
2014-03-12 21:41:16 -04:00 |
Pietro Gagliardi
|
34549384ae
|
Update README now that I think I have the API as I want it.
|
2014-03-12 21:24:22 -04:00 |
Pietro Gagliardi
|
fffec63b51
|
Whoops, that commit that was to remove the ProgressBar line from todo.md actually removed the wrong line; fixed.
|
2014-03-12 20:01:30 -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
|
1729764db8
|
Removed indeterminate ProgressBars from todo.md; that's now done.
|
2014-03-12 19:41:12 -04:00 |
Pietro Gagliardi
|
0e7dfc4c8a
|
Added indeterminate ProgressBar code for Mac OS X.
|
2014-03-12 19:40:01 -04:00 |
Pietro Gagliardi
|
4b0315131a
|
Added indeterminate ProgressBar code on Windows and fixed up a few other things along the way.
|
2014-03-12 18:53:57 -04:00 |
Pietro Gagliardi
|
6ee8d96a6e
|
Added GTK+ indeterminate ProgressBars.
|
2014-03-12 17:31:13 -04:00 |
Pietro Gagliardi
|
bf093d534c
|
Added indeterminate ProgressBars to the portable frontend and fixed up ProgressBar's documentation.
|
2014-03-12 17:12:41 -04:00 |
Pietro Gagliardi
|
6be3c2835f
|
Forgot one Windows XP move.
|
2014-03-12 17:04:39 -04:00 |
Pietro Gagliardi
|
1db3e16384
|
Dropped Windows 2000 support.
|
2014-03-12 16:58:33 -04:00 |
Pietro Gagliardi
|
038cfd8528
|
More TODOs.
|
2014-03-12 14:51:28 -04:00 |
Pietro Gagliardi
|
ef86d0d15a
|
Gave Listboxes a border on Windows by implementing the subset of LBS_STANDARD we want, not just WS_VSCROLL. This will also allow us to have selection changed events later.
|
2014-03-12 14:44:31 -04:00 |
Pietro Gagliardi
|
621ab929e1
|
Removed a stray TODO resolved by the previous few commits.
|
2014-03-12 12:34:09 -04:00 |
Pietro Gagliardi
|
451837c106
|
Filled in the OS/arch support matrix; updated a few things in it.
|
2014-03-12 12:32:22 -04:00 |
Pietro Gagliardi
|
46c992f1dc
|
Made message boxes run on uitask on Windows; adjusted some related TODOs.
|
2014-03-12 12:21:50 -04:00 |
Pietro Gagliardi
|
dd577010ca
|
More TODOs.
|
2014-03-12 12:16:44 -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
|
6eea59c30a
|
Made programs go to the front of the screen on Mac OS X like other programs do (and like on other platforms).
|
2014-03-12 10:02:59 -04:00 |
Pietro Gagliardi
|
95e20a5f3c
|
Added note on Solaris to README.
|
2014-03-12 08:01:19 -04:00 |
Pietro Gagliardi
|
1e338afc4a
|
Split NewListbox() into NewListbox() (single-selection) and NewMultiSelListbox() (multiple selection); fixed the documentaiton for the Listbox constructor(s) to talk about Listbox and not Combobox, and added some TODOs.
|
2014-03-11 20:44:04 -04:00 |
Pietro Gagliardi
|
a6188ec490
|
Added more TODOs.
|
2014-03-11 17:38:31 -04:00 |
Pietro Gagliardi
|
cdd535cc71
|
Made Stack.SetStretchy() panic on invalid index, ending that group of functions. Also added the tests for those functions who did not have tests already written.
|
2014-03-11 17:37:04 -04:00 |
Pietro Gagliardi
|
92fb9efce9
|
Removed error returns from Combobox.Delete(), Listbox.Delete(), and sysData.delete(), since they are no longer used. Updated the TODO file to mark this issue closed.
|
2014-03-11 13:50:02 -04:00 |
Pietro Gagliardi
|
c43583fe20
|
Handle out of range on Listbox.Delete(). The Mac OS X exception behavior I previously noted has bene resolved: what happens after exception handling is undefined :|
|
2014-03-11 13:37:19 -04:00 |
Pietro Gagliardi
|
cbcf9da6a0
|
More compiler error fixes.
|
2014-03-11 12:25:52 -04:00 |
Pietro Gagliardi
|
9a9a1d21bb
|
Fixed compiler errors in the past few commits.
|
2014-03-11 12:24:48 -04:00 |
Pietro Gagliardi
|
2e99d1319a
|
More TODO reduction.
|
2014-03-11 12:22:04 -04:00 |