Commit Graph

716 Commits

Author SHA1 Message Date
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
Pietro Gagliardi b9e5ef8e4b Verified that the Listbox item text is vertically positioned properly on Mac OS X. 2014-04-12 21:27:15 -04:00
Pietro Gagliardi ac633a8694 Removed the GDI+ dependency on Windows since we no longer use it. 2014-04-12 15:42:13 -04:00
Pietro Gagliardi 41ce9c9ed0 Updated README to reflect the new Area image.RGBA changes. 2014-04-12 15:37:17 -04:00
Pietro Gagliardi 0a1dcfa67f Made Areas on Windows flicker-free. 2014-04-12 15:36:05 -04:00
Pietro Gagliardi 97b2542573 Fixed ARGB rendering on Windows. Now to make it flicker-free... 2014-04-12 15:26:27 -04:00
Pietro Gagliardi aef419a83e Documented the thread safety of AreaHandler and Area.SetSize(). 2014-04-12 14:07:31 -04:00
Pietro Gagliardi ae4950bbd8 Switched to ARGB drawing in Areas on GTK+. 2014-04-12 13:48:59 -04:00
Pietro Gagliardi e3fdc76c5b Rewrote Area code on Windows to use alpha-premultiplied RGB and only use GDI functions to do it... and it doesn't quite work right yet. 2014-04-11 21:30:19 -04:00
Pietro Gagliardi 57088b9787 Added a general-purpose function to produce a native-endian ARGB representation of the image. I thought cairo image surfaces would work, but they're not designed for reading in images, the cairo functions for reading image data were introduced in the next version (1.12), and GDK-Pixbuf only does non-alpha-premultiplied... This can be used on Windows though. 2014-04-11 18:00:51 -04:00
Pietro Gagliardi 5581d41f88 Switched to alpha-premultiplied image data for Areas on Mac OS X. This is the easiest change; it involves removing one bit flag from the NSBitmapImageRep constructor (the other changes are indentation changes). 2014-04-11 16:17:06 -04:00
Pietro Gagliardi 6f0d114a8b Changed from using image.NRGBA to image.RGBA (premultiplied alpha) in Area.Paint() since it'll be easier to work with on Windows after applying what Treeki/Ninjifox suggested I do instead of what I am doing now. 2014-04-11 16:13:18 -04:00
Pietro Gagliardi 179ddba93a Added CS_HREDRAW and CS_VREDRAW to our Area on Windows, just to be safe. 2014-04-11 11:32:27 -04:00
Pietro Gagliardi 586ac941a4 Attempted to fix the Windows transparency issues; we're not quite there... flicker... 2014-04-11 11:29:07 -04:00
Pietro Gagliardi e713b59bec Removed TODO about Windows -1 conversions, as the Go spec specifically says that signed values are sign-extended to the full size of the type to convert to (and even shows an example of this), so the code we have was correct, not just working out of luck. 2014-04-10 20:52:12 -04:00
Pietro Gagliardi d6abf79932 Added bounds checking to NewArea() and Area.SetSize() such that an Area must have a valid size. 2014-04-10 20:42:01 -04:00
Pietro Gagliardi 1c11ef2d9c More TODOs. 2014-04-10 19:38:48 -04:00