Commit Graph

1105 Commits

Author SHA1 Message Date
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
Pietro Gagliardi 28bd1e9990 TODO reduction and documentation fixups in Grid. 2014-03-11 12:01:25 -04:00
Pietro Gagliardi ee80429bb9 More TODO reduction. 2014-03-11 11:54:32 -04:00
Pietro Gagliardi df2c9618d8 TODO reduction and long-migrated code removal. 2014-03-11 11:52:05 -04:00
Pietro Gagliardi 11ab485dff More TODOs. 2014-03-11 11:48:32 -04:00
Pietro Gagliardi d07d0f481a Removed a TODO in Checkbox and made its behavior more precise. 2014-03-11 11:47:38 -04:00
Pietro Gagliardi f8ec4b6305 welp mandriva 2014-03-11 07:32:23 -04:00
Pietro Gagliardi db00c7cb79 Another README update: plan9/amd64 support is in package runtime, so add that to the build matrix. 2014-03-10 13:34:17 -04:00
Pietro Gagliardi 3b2da2bc91 Some README changes. 2014-03-10 13:33:02 -04:00
Pietro Gagliardi 0abe47ab58 unmigrated/messages_windows.go removed; it was migrated ages ago (in uitask_windows.go). The only thing that is lost here is HWND_BROADCAST, but we don't use it. 2014-03-10 11:24:41 -04:00
Pietro Gagliardi 3213d659ae More TODOs. 2014-03-10 11:12:27 -04:00
Pietro Gagliardi 699f786cd5 Fixed compiler errors in the previous few commits. 2014-03-10 11:06:07 -04:00
Pietro Gagliardi a68bdec2fd Removed error returns from [all controls].SetText() and Window.SetTitle(). 2014-03-10 10:45:15 -04:00
Pietro Gagliardi 353c949f64 Removed error returns from sysData.setText() now that we no longer care. 2014-03-10 10:39:08 -04:00
Pietro Gagliardi 65663c0533 Changed Windows sysData.setText() to panic on error. WM_SETTEXT's documentation indicates the main error is memory exhausted, which means we should panic anyway (unless the Go runtime already has). Any other error will be flagged as unexpected; since we're using SetWindowText() we can't differentiate between out of memory and other errors in the way WM_SETTEXT documents anyway. 2014-03-10 10:32:45 -04:00
Pietro Gagliardi 51fea6be87 Whoops, forgot Checkbox.Text() on GTK+. Fixed. 2014-03-10 01:19:01 -04:00
Pietro Gagliardi d60da1a928 Added a known build matrix for documentation purposes. 2014-03-10 01:06:22 -04:00
Pietro Gagliardi f72d6c9900 Removed now-unused error returns from sysData.show() and sysData.hide(). 2014-03-09 21:56:17 -04:00
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