Commit Graph

732 Commits

Author SHA1 Message Date
Pietro Gagliardi bc39fbe1bf Resolved TODOs in listbox_unix.go; also rewrote some related if expressions there to be clearer. 2014-04-27 15:06:52 -04:00
Pietro Gagliardi 6bd5d10730 Made Listbox's column autoresizing on GTK+. 2014-04-27 14:42:45 -04:00
Pietro Gagliardi e30646ed59 Removed TODO about returning container before connecting signals in sysdata_unix.go; nothing will actually be sent until we show the widgets anyway. 2014-04-27 13:48:47 -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 6978961661 Changed fromgchar()/togchar() to fromgstr()/togstr() in the GTK+ code; the new names are more precise (though they don't operate on GStrings; that's not an issue here though). 2014-04-26 22:55:43 -04:00
Pietro Gagliardi 77297672dd Made the C.GoString() part of fromgchar() in gtkcasts_unix.go to reduce the number of calls to that function elsewhere (makes things simpler). 2014-04-26 22:51:12 -04:00
Pietro Gagliardi f75714a6bc More future plans. 2014-04-26 22:36:51 -04:00
Pietro Gagliardi d33008e85e Made Space() return the same Control repeatedly instead of making a new one each time to conserve memory. No future guarantees, however, so that is noted in the documentation as well. 2014-04-26 16:05:23 -04:00
Pietro Gagliardi 194e4971b2 Switched to NSInformationalAlertStyle for Mac OS X MsgBox() since these aren't specifically warnings. 2014-04-25 19:16:38 -04:00
Pietro Gagliardi 304995b372 Decided not to show an icon in the regular MsgBox() on Windows and Unix. For Mac OS X I need to see what the difference between Warning and Informational is. 2014-04-25 18:39:43 -04:00
Pietro Gagliardi e759419e62 More future plans. 2014-04-25 16:39:44 -04:00
Pietro Gagliardi 6c7f862cc1 More TODOs. 2014-04-25 11:04:47 -04:00
Pietro Gagliardi bee9f2a096 More future plans and TODOs. 2014-04-24 20:41:12 -04:00
Pietro Gagliardi bd20855bf4 Checked click to keyboard in Areas on Mac OS X; it works. 2014-04-24 12:59:45 -04:00
Pietro Gagliardi 017c300785 More future plans. 2014-04-23 21:21:58 -04:00
Pietro Gagliardi 4050e35b4c More future plans. 2014-04-22 23:41:33 -04:00
Pietro Gagliardi 0af08a5e04 More future plans. 2014-04-21 23:36:30 -04:00
Pietro Gagliardi 44b061aa31 More TODOs (because I can't think right now). 2014-04-20 23:29:38 -04:00
Pietro Gagliardi 5cac12e3f0 More future plans and TODOs. 2014-04-20 22:52:26 -04:00
Pietro Gagliardi 96d5c522f7 More future plans. 2014-04-19 23:25:04 -04:00
Pietro Gagliardi a0c73744b1 More future plans. 2014-04-18 20:41:52 -04:00
Pietro Gagliardi 2d7edd241b More future plans. This is really turning into a The Old New Thing articles list... 2014-04-18 17:38:59 -04:00
Pietro Gagliardi 68e301ec8f More future plans. 2014-04-17 21:42:46 -04:00
Pietro Gagliardi 6c1b512061 More future plans (and some link gathering, too). 2014-04-16 15:00:02 -04:00
Pietro Gagliardi 856e1ec226 More future plans. 2014-04-16 00:01:29 -04:00
Pietro Gagliardi 6c3058a32d Settled window sizing for GTK+; moved the respective TODO to future plans. 2014-04-15 12:58:17 -04:00
Pietro Gagliardi da2d4da15a Added click-to-focus to GTK+ Areas and documented that click-to-focus happens; also TODOs related to that. 2014-04-14 23:11:28 -04:00
Pietro Gagliardi ef7b564855 Removed the Windows Area resizing glitches TODOs... as they seemed to have gone away on their own (GDI+ issue that no longer applies since I dropped GDI+?). 2014-04-14 17:59:13 -04:00
Pietro Gagliardi 67b574fdc0 More TODOs. 2014-04-14 13:48:54 -04:00
Pietro Gagliardi 2afbaa033d More TODOs. 2014-04-14 12:56:52 -04:00
Pietro Gagliardi 3cb3d5f97e Clarified the previous commit. 2014-04-14 12:51:20 -04:00
Pietro Gagliardi a29abd11c0 Ensured that pressing Modifiers+Key/ExtKey does not produce an event with just the Key/ExtKey. 2014-04-14 12:47:49 -04:00
Pietro Gagliardi d27d25cbc0 Wrote non-working code to get Windows to have Window sizes not count window decoration. Technically it does work, but it doesn't seem to fix Area scrollbars... which reminds me, the default configuration for the keyboard test exhibits the "last pixel" but mentioned in one of the TODOs in area_windows.go on both scrollbars, so let's fix that first anyway. I'll move the TODO for window decoration to the future plans after I get a definite answer about GTK+'s behavior. 2014-04-13 23:04:53 -04:00
Pietro Gagliardi 3bb9f41305 Fixed Mac OS X so that window sizes do not include the titlebar and frame. 2014-04-13 20:16:05 -04:00
Pietro Gagliardi fb50badf00 Fixed Area test time label weirdness by making Labels truncate their text instead of word-wrapping on all platforms. This doesn't explain GTK+/Wayland, alas. 2014-04-13 18:05:07 -04:00
Pietro Gagliardi e4c27a4a72 Fixed weird Area time label truncation on Windows; more TODOs and future plans related to that. 2014-04-13 16:46:22 -04:00
Pietro Gagliardi 7a436e8bd3 Removed winbuttonsize/; we're not going to use that for a while (the sizing we have now is fine; not optimal, but it works, for the most part). (We can always pull it back later.) 2014-04-13 13:13:27 -04:00
Pietro Gagliardi 01cb9ce7d3 Renamed unmigrated/ to experiments/ as I have now migrated everything and that folder now contains experimental code. 2014-04-13 13:12:45 -04:00
Pietro Gagliardi 719cab8742 Migrated cursors_windows.go and icons_windows.go. 2014-04-13 13:11:17 -04:00
Pietro Gagliardi eead01b176 Removed unmigrated/main_windows.go; that test program has long since been unneeded. 2014-04-13 13:01:53 -04:00
Pietro Gagliardi 6c265dd54d Rolled back the Windows horizontally scrolling Listbox changes because I can't seem to get it to work on Mac OS X (and keeping that code there is inefficient); removed the guarantee of horizontal scrollbars in Listbox and made that a future plan. Both the Windows and the non-working Mac OS X code is in unmigrated/hscrolllistbox.go (and the unmigrated/ folder will be renamed shortly). 2014-04-13 13:00:07 -04:00
Pietro Gagliardi 417bdb8949 Consolidated NSScrollView code on Mac OS X to be all in one place. 2014-04-13 12:52:10 -04:00
Pietro Gagliardi 136ddf5a5b More shuffling of TODOs and future plans. 2014-04-13 10:27:34 -04:00
Pietro Gagliardi bd1926db17 Added horizontal scrollbars to Listboxes on Windows. Also fixed typos and bugs in Windows sysData.selectedTexts(). 2014-04-13 02:57:35 -04:00
Pietro Gagliardi dcc21eb087 Pinned down horizontal scrollbar behavior on Listboxes; also reworded the Area scrollbar behavior sentence a bit to match. Now to actually implement the changes... 2014-04-13 02:00:18 -04:00
Pietro Gagliardi 3fc2ed8a2a More TODO/future plan shuffling. 2014-04-13 00:45:55 -04:00
Pietro Gagliardi c5b4859311 More TODOs and future plans. Also finally removed the TODO about incorrect Area redraw on Windows. 2014-04-13 00:34:08 -04:00
Pietro Gagliardi c04b9112a5 More TODOs and future plans. 2014-04-12 22:33:51 -04:00
Pietro Gagliardi d4c79539af Fixed Listboxes on Mac OS X having an initial selection. 2014-04-12 22:05:34 -04:00
Pietro Gagliardi 274fa0c292 Fixed Comboboxes on Mac OS X having an initial selection. This also lays the groundwork for adding Combobox/Listbox.Select() as a public function... 2014-04-12 21:49:41 -04:00