Commit Graph

71 Commits

Author SHA1 Message Date
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 b253bccadc Updated one of the previous TODOs. 2014-03-08 21:41:30 -05:00
Pietro Gagliardi 3ca17fe6e5 More TODOs. 2014-03-08 17:30:34 -05:00
Pietro Gagliardi d9b0bd3c70 More TODOs. 2014-03-07 20:47:07 -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 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 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 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 962a84e056 Fixed Mac OS X control placement flipping. This is done by passing the height of the window around setRect() calls to avoid polling the content view frame each time. 2014-03-03 17:44:03 -05:00
Pietro Gagliardi 11d4f96e77 More TODOs. 2014-03-03 15:47:12 -05:00
Pietro Gagliardi e4c70b2b15 More TODOs. 2014-03-03 15:37:02 -05:00
Pietro Gagliardi 874491a871 Added the scrollbars themselves to the NSScrollView backing the Mac OS X Listboxes. Also added a few TODOs. I think the Mac OS X Listbox implementation is now finished. 2014-03-03 14:57:20 -05:00
Pietro Gagliardi dd2abbacce More TODOs related to the previous commit. 2014-03-03 14:39:33 -05:00
Pietro Gagliardi 674640abe8 Changed how the preferred size of controls is determined to accomodate NSTableView, NSScrollView, and NSProgressIndicator. Updated TODOs to mark other weirdnesses (such as Label text that used to get cropped) that no longer happen because of this. Now for putting Listboxes in NSScrollViews. 2014-03-03 14:37:16 -05:00
Pietro Gagliardi 842815b2e0 Fixed selection grabbing and also append/insert/removal crashes: all were selector name typos. Also some TODOs Now to make this scroll/confine it to a scroll view... 2014-03-03 01:51:54 -05:00
Pietro Gagliardi 77c0198751 Added Mac OS X Labels and a bunch of TODOs. Now for Listboxes... oh boy... 2014-03-02 19:56:54 -05:00
Pietro Gagliardi 38a1b1b203 Fixed incorrect redrawing of Mac OS X windows after resize. Still need to fix the wrong rect issues... 2014-03-02 19:13:26 -05:00
Pietro Gagliardi 4bc35e2db5 Finished the implementation of Combobox on Mac OS X. 2014-03-02 18:38:45 -05:00
Pietro Gagliardi 234b724403 Added the other Combobox modification functions to the Mac OS X backend. Before continuing, I'll get messageboxes working... 2014-03-02 17:44:13 -05:00
Pietro Gagliardi 4599e0d25e More TODOs. 2014-03-01 22:31:28 -05:00
Pietro Gagliardi 859c240a21 Some error message and TODO changes related to the previous commit. 2014-03-01 20:41:30 -05:00
Pietro Gagliardi 10e9f6b927 Fixed non-minimizeable windows in Mac OS X; it was a simple copy-paste fail. 2014-03-01 18:04:09 -05:00
Pietro Gagliardi 5caf0fe84a Cleaned up loose ends with the previous commit and got window close events working on Mac OS X. Woo! 2014-03-01 17:15:26 -05:00
Pietro Gagliardi 4f49935563 Added another important Mac OS X TODO about coordinates. 2014-03-01 15:36:54 -05:00
Pietro Gagliardi a988befc45 Whoops, misspelled -[NSWindow frame] as -[NSWindow _frame]. Fixed; test program works so far! 2014-03-01 15:35:42 -05:00
Pietro Gagliardi 2e869615d3 Documentation and TODO changes. 2014-03-01 15:23:49 -05:00
Pietro Gagliardi 21ec25dd1a More TODOs. 2014-03-01 04:46:42 -05:00
Pietro Gagliardi 69bff124a6 Lock Stack's mutex lock like with all other Controls. 2014-02-25 19:16:26 -05:00
Pietro Gagliardi 06fa3a5174 Added password entry fields; they are the alternate mode of LineEdit. 2014-02-25 15:06:51 -05:00
Pietro Gagliardi 23a40cae26 More TODOs. 2014-02-25 00:34:21 -05:00
Pietro Gagliardi aebf40df6b More TODOs. 2014-02-24 14:56:11 -05:00
Pietro Gagliardi 62d4886253 More TODOs (unrelated to previous commit). 2014-02-24 13:26:04 -05:00
Pietro Gagliardi 3014a5edf1 More TODOs. 2014-02-24 11:35:06 -05:00
Pietro Gagliardi ab0b13a3ab Fixed up todo.md to remove things that are done and add more notes. 2014-02-21 11:35:50 -05:00
Pietro Gagliardi e39a5d928c Fixed the unregistered window class error on 64-bit Windows: turns out it was a difference in Go's int vs. what Windows expected (thanks Microsoft for not using your special types here). Fixed all instances of this, even in unmigrated/. Still does not work in wine... 2014-02-21 02:27:59 -05:00
Pietro Gagliardi 4fe6ccce97 Super ultra important TODO related to previous two commits. 2014-02-19 11:57:18 -05:00
Pietro Gagliardi 00abb00e8b More TODOs. 2014-02-17 02:55:59 -05:00
Pietro Gagliardi 161e874d8a More GTK+ weird behavior TODOs. 2014-02-16 18:42:18 -05:00
Pietro Gagliardi 4fc3cb1d00 Added Checkbox to GTK+. Also added a TODO about crashes. 2014-02-16 18:41:29 -05:00
Pietro Gagliardi 1bcbce4142 Cleaned up the idle callback code. 2014-02-16 17:09:58 -05:00
Pietro Gagliardi f5652737eb More TODOs. 2014-02-16 16:56:25 -05:00
Pietro Gagliardi 21c1ec6f83 Added the beginning of the Unix (GTK+) implementation. 2014-02-16 15:55:51 -05:00
Pietro Gagliardi 8be17f087b More TODOs 2014-02-15 18:15:24 -05:00
Pietro Gagliardi 14aaad6be3 Added Combobox.Delete() and Listbox.Delete() and added some TODOs. 2014-02-15 18:14:43 -05:00