Commit Graph

377 Commits

Author SHA1 Message Date
Pietro Gagliardi 3ed9c0b75d Removed error returns from Window.Show() and Window.Hide(). Also properly locked the Window's mutex lock in both functions. 2014-03-09 21:47:22 -04:00
Pietro Gagliardi c4d9e6b956 More TODOs. 2014-03-09 21:43:43 -04:00
Pietro Gagliardi 45e0779790 Split sysData.show() into separate show() and firstShow() to accomodate Windows's differing rules for first-time window show; this will also allow me to remove the error returns from sysData.show() and sysData.hide() (later). 2014-03-09 21:40:14 -04:00
Pietro Gagliardi 3ff9c7d233 More TODOs. 2014-03-09 21:03:10 -04:00
Pietro Gagliardi ce571bad52 Removed error returns from Control.preferredSize() since errors are not going to be returned anymore. 2014-03-09 19:44:41 -04:00
Pietro Gagliardi ab11900d43 Changed Windows sysData.preferredSize() to panic on error, since the other platforms don't return explicit errors either. 2014-03-09 19:34:43 -04:00
Pietro Gagliardi 5a7cfedb84 Fixed compiler errors in the previous commit. 2014-03-09 16:56:45 -04:00
Pietro Gagliardi b9f0ad90ec Steamrolled errors under panic() in Combobox/Listbox.Append()/InsertBefore() because screw Windows being different. 2014-03-09 16:02:17 -04:00
Pietro Gagliardi a7ec908ebd Removed gListboxSelected; it was never being called anyway (only gListboxSelectedMulti is; Windows still uses selectedIndex() for Listbox because of differences in how multi-selection listboxes are handled there and Mac OS X never had this function written to begin with). 2014-03-09 11:36:44 -04:00
Pietro Gagliardi 1389fda528 Made Listboxes non-editable in Mac OS X; also more TODOs. 2014-03-09 11:33:05 -04:00
Pietro Gagliardi f4506277b9 Added bounds checks for Listbox.InsertBefore(). This stupid 32-bit Mac bug keeps Listbox.Delete() unchecked for now... 2014-03-09 10:51:01 -04:00
Pietro Gagliardi 3e47b00eda Added bounds checks for Combobox.InsertBefore() and Combobox.Delete(). 2014-03-09 10:41:07 -04:00
Pietro Gagliardi a67eaaf9ba Added a flag to the test program to evaluate illegal deletions on Mac OS X, necessary before I make it panic myself. 2014-03-08 21:59:03 -05:00
Pietro Gagliardi b253bccadc Updated one of the previous TODOs. 2014-03-08 21:41:30 -05:00
Pietro Gagliardi 275a8279b0 cgo inserts -m32 automatically, so we don't need to in ./d32. 2014-03-08 17:32:56 -05:00
Pietro Gagliardi 3ca17fe6e5 More TODOs. 2014-03-08 17:30:34 -05:00
Pietro Gagliardi 47829df714 Added the Mac OS X implementation of Combobox/Listbox.Len(). 2014-03-08 17:25:19 -05:00
Pietro Gagliardi ce2645a83c Added the Windows implementation of Combobox/Listbox.Len(). 2014-03-08 16:58:18 -05:00
Pietro Gagliardi 3aa59d4ab9 Added Combobox/Listbox.Len() and its GTK+ implementation. 2014-03-08 16:42:57 -05:00
Pietro Gagliardi d9b0bd3c70 More TODOs. 2014-03-07 20:47:07 -05:00
Pietro Gagliardi bca8979b36 More Space() documentation fixes; also a TODO for Space(). 2014-03-07 19:31:57 -05:00
Pietro Gagliardi 9dc6e6f7b3 Pinned (or marked for later pinninig) behavior of various controls; also improved Space()'s documentation. 2014-03-07 19:28:25 -05:00
Pietro Gagliardi 48fc6fbeab Still more TODOs. 2014-03-07 18:33:51 -05:00
Pietro Gagliardi 0a1e2692ce More TODOs. 2014-03-07 15:08:01 -05:00
Pietro Gagliardi 20dcc48bee Changed Combobox.Append() and Listbox.Append() to accept multiple strings in one call. 2014-03-07 15:01:42 -05:00
Pietro Gagliardi 874a4b9271 More control candidate information. 2014-03-07 09:12:15 -05:00
Pietro Gagliardi 61726d5cdd Oops, the garbage collector is collecting our GTK+ idle callback too (much later than it did the other callbacks). Fixed. 2014-03-07 09:10:14 -05:00
Pietro Gagliardi ded390adb9 Even more control candidate work. 2014-03-07 02:18:12 -05:00
Pietro Gagliardi 9216217f44 More control candidates TODO. 2014-03-07 02:10:05 -05:00
Pietro Gagliardi 0e39375676 Added more notes to the control candidates document. 2014-03-07 02:00:28 -05:00
Pietro Gagliardi 5a93c83d0d More TODOs. 2014-03-06 22:01:44 -05:00
Pietro Gagliardi dc3d4727af Even more TODO elaboration. 2014-03-06 21:57:51 -05:00
Pietro Gagliardi 2780ab4af4 More TODO elaboration. 2014-03-06 21:57:08 -05:00
Pietro Gagliardi d6f289bc86 Split NewStack() into NewHorizontalStack() and NewVerticalStack(). Unexported Orientation and its values accordingly. 2014-03-06 20:30:13 -05:00
Pietro Gagliardi 4630eaa84b Updated to the control candidates document to reflect the now-written Mac OS X port. 2014-03-06 20:14:10 -05:00
Pietro Gagliardi eaaf55621f More TODO cleanup. 2014-03-06 20:12:05 -05:00
Pietro Gagliardi 084cfc57b3 Major overdue cleanup of todo.md. 2014-03-06 19:47:25 -05:00
Pietro Gagliardi 8045a2019a Linked the wakeup program int he README as the example. 2014-03-05 20:25:29 -05: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 d29e1b8710 Have ui.Go() return on main() return on Mac OS X. 2014-03-05 20:09:15 -05:00
Pietro Gagliardi 011836e94d Have ui.Go() return on main() return on Unix. 2014-03-05 13:25:19 -05:00
Pietro Gagliardi c0c1e09186 Have ui.Go() return on main() return on Windows. 2014-03-05 13:21:45 -05:00
Pietro Gagliardi db87ddae7f Remove the 32-bit GTK+ from linux/386 Travis.ci builds; I have no idea how to fix this. 2014-03-05 12:38:49 -05:00
Pietro Gagliardi ebbbdcceb9 One more try with Travis.ci: this time start with multiarch support explicit. 2014-03-05 12:31:08 -05:00
Pietro Gagliardi c141de20e1 Now that they appear to work, make Travis.ci builds verbose. 2014-03-05 12:22:42 -05:00
Pietro Gagliardi ed52f0a361 Travis.ci isn't actually building the package because there's no test files; fix that. 2014-03-05 12:13:44 -05:00
Pietro Gagliardi 9886dc2c16 Disabled Travis.ci's linux/386 build for now; not sure how to fix it. 2014-03-05 12:03:27 -05:00
Pietro Gagliardi 27b37272d7 ...and that's what I get for not knowing or remembering what I was doing/trusting the first answer on stackoverflow. 2014-03-05 11:53:58 -05:00
Pietro Gagliardi a779312503 ...hopefully NOW the linux/386 Travis.ci build will be fixed? 2014-03-05 11:45:39 -05:00
Pietro Gagliardi fea3d16e2c Whoops, looks like Travis.cl hates { cmd; } in its before_install: block; also forgot the cgo flags for linux/386. 2014-03-05 11:36:02 -05:00