Pietro Gagliardi
|
09e3fcd9cb
|
More go fmt.
|
2014-06-10 11:12:32 -04:00 |
Pietro Gagliardi
|
3c1a61049b
|
More go fmt.
|
2014-06-10 10:22:30 -04:00 |
Pietro Gagliardi
|
94f9684e68
|
More go fmt.
|
2014-06-10 10:14:35 -04:00 |
Pietro Gagliardi
|
43b3f1c2a8
|
Partial go fmt. Will do the rest over the next few commits. While I'm not too happy about it, everyone else uses go fmt, and pull requests will be more convenient if I just do it. (Also do it now, because when I change the Windows backend things are going to change...)
|
2014-06-10 09:55:14 -04:00 |
Pietro Gagliardi
|
7b2e6b7fa3
|
Made adjustments to the output of windowsconstgen to please go fmt.
|
2014-06-10 09:46:00 -04:00 |
Pietro Gagliardi
|
e432e6fecf
|
Declared the API as it stands now stable.
|
2014-06-09 23:04:19 -04:00 |
Pietro Gagliardi
|
a0e8048b06
|
Had Area.SetSize() explicitly labelled as repainting the whole Area; made sure it does that on GTK+ (it already did on Windows and Mac). I think we're ready to declare the API as it stands now stable!
|
2014-06-09 22:47:45 -04:00 |
Pietro Gagliardi
|
764010bd81
|
Areas have worked on all platforms forever now; remove the GTK+ only note from its documentation.
|
2014-06-09 22:38:22 -04:00 |
Pietro Gagliardi
|
37ab5f41a7
|
Cleaned up the scrollbars documentation in the Overview.
|
2014-06-09 22:37:43 -04:00 |
Pietro Gagliardi
|
989ba776b0
|
More TODOs.
|
2014-06-09 22:27:41 -04:00 |
Pietro Gagliardi
|
caeff5bb88
|
Implemented RepaintAll() on Windows.
|
2014-06-09 22:26:37 -04:00 |
Pietro Gagliardi
|
f8d46b6bdb
|
Implemented Area.RepaintAll() on GTK+.
|
2014-06-09 22:22:02 -04:00 |
Pietro Gagliardi
|
fa4094adeb
|
Added Area.RepaintAll() (requested by aybabtme on the Gopher Academy Slack) and implemented it on Mac OS X.
|
2014-06-09 22:11:08 -04:00 |
Pietro Gagliardi
|
6b860779e3
|
Verified mouse drag behavior. Also more TODOs.
|
2014-06-09 21:55:33 -04:00 |
Pietro Gagliardi
|
8d688188b8
|
Decided to not change parameter order of constructors.
|
2014-06-09 21:35:14 -04:00 |
Pietro Gagliardi
|
0e3811244e
|
Updated GTK+/Wayland TODO now that we know what's wrong
|
2014-06-09 19:57:01 -04:00 |
Pietro Gagliardi
|
bd2317777e
|
Resolved vertical alignment of labels on Windows.
|
2014-06-09 17:28:12 -04:00 |
Pietro Gagliardi
|
2a878f0e91
|
Removed TODO about Windows label ellipsization; SS_LEFTNOWORDWRAP's docs say so. Replaced it with one about vertical label alignment...
|
2014-06-09 17:06:33 -04:00 |
Pietro Gagliardi
|
72012114f1
|
Properly integrated the Area preferred size into the Windows backend's preferred size table.
|
2014-06-09 16:56:19 -04:00 |
Pietro Gagliardi
|
14c8cb43e9
|
Removed TODO about messagebox font in stdfont_windows.go; decided to just use it.
|
2014-06-09 16:49:20 -04:00 |
Pietro Gagliardi
|
24d24c5e30
|
Actually make the prefsize_windows.go change from the previous commit.
|
2014-06-09 16:48:04 -04:00 |
Pietro Gagliardi
|
e090029678
|
Removed TODO about GetDC() vs GetWindowDC() in prefsize_windows.go; the latter includes the non-client area, which we won't bother with.
|
2014-06-09 16:45:06 -04:00 |
Pietro Gagliardi
|
bdb942440c
|
Removed the GTK+ scrollbars in Area thing as that can't be resolved (it's a property of the minimum preferred size of both the GtkScrollbar and GtkScrolledWindow; these can't be changed). Thanks to baedert in irc.gimp.net/#gtk+.
|
2014-06-09 16:17:08 -04:00 |
Pietro Gagliardi
|
7adc18caf1
|
Removed TODO on getting the available button count: this isn't meaningful. (desrt in irc.gimp.net/#gtk+ confirmed that GDK has no such function and both him and mikeash in irc.freenode.net/#macdev pointed out issues with such a function.)
|
2014-06-08 22:38:42 -04:00 |
Pietro Gagliardi
|
b1aa096be2
|
David Wendt re-evaluated the current master build and it's stable now; removed that TODO.
|
2014-06-08 22:26:24 -04:00 |
Pietro Gagliardi
|
d1e14eec95
|
Added screenshots to the README. Fixes issue #11.
|
2014-06-08 19:39:52 -04:00 |
Pietro Gagliardi
|
7dfd990d6f
|
Updated some TODOs.
|
2014-06-08 16:03:20 -04:00 |
Pietro Gagliardi
|
17d00b59c7
|
Fixed a quick typo spotted by _7sins in irc.freenode.net/#go-nuts.
|
2014-06-08 15:23:54 -04:00 |
Pietro Gagliardi
|
41085768e7
|
Made the application-modal sentinel in dialog.go non-nil to prevent weird behavior on nil Windows in program code. Thanks to xtg in the Gopher Academy Slack for corroborating.
|
2014-06-08 13:00:21 -04:00 |
Pietro Gagliardi
|
bb6de0de48
|
Cleaned up dialog documentation.
|
2014-06-08 12:56:04 -04:00 |
Pietro Gagliardi
|
b172ab2e37
|
Added new MsgBox() behavior on Mac OS X. Now we can finally remove MsgBox() from the TODOs! :D
|
2014-06-08 12:36:55 -04:00 |
Pietro Gagliardi
|
10f55564d0
|
Fixed modality issues on the GTK+ MsgBox() changes. The system introduced here has the advantage of scaling out to all other types of dialogs.
|
2014-06-08 11:50:11 -04:00 |
Pietro Gagliardi
|
54966a3823
|
Whoops, forgot to apply dialogWindow to dialog_unix.go.
|
2014-06-08 10:16:44 -04:00 |
Pietro Gagliardi
|
15afca6402
|
Added the new MsgBox() behavior to the GTK+ backend. It /almost/ works right; just needs some more changes...
|
2014-06-08 10:07:44 -04:00 |
Pietro Gagliardi
|
641d11c6fe
|
Implemented the new MsgBox()/MsgBoxError() behavior on Windows.
|
2014-06-08 08:50:52 -04:00 |
Pietro Gagliardi
|
7cb8fc1e32
|
Woo yeah it's another API change to MsgBox()! This splits parent out and makes it a receiver of MsgBox() and MsgBoxError() for the case when you want to show modal to a specific window only. These will eventually return channels, but first I'll need to igure out how to get this working...
|
2014-06-08 08:17:47 -04:00 |
Pietro Gagliardi
|
4509247a77
|
Moved the blurred Area check TODO to future plans because I'd need to find images for that; added some advice for that.
|
2014-06-08 01:22:38 -04:00 |
Pietro Gagliardi
|
e234244ead
|
Moved the Listbox preferred size TODO to future plans because this was addressed earlier when trying to do horizontal scrolling; see the experiments/ folder for how poorly that turned out. Preferred size will need the same code.
|
2014-06-08 01:13:16 -04:00 |
Pietro Gagliardi
|
d4e06bb4d3
|
Checked Windows RECT usage and fixed wrong ones.
|
2014-06-08 00:55:11 -04:00 |
Pietro Gagliardi
|
de6f07bb13
|
Reported 64-bit wine failures to the wine team.
|
2014-06-08 00:51:03 -04:00 |
Pietro Gagliardi
|
ef3adffd54
|
Fixed the Windows 7 progressbar animation dumbness.
|
2014-06-07 23:27:38 -04:00 |
Pietro Gagliardi
|
d9a8cf07b9
|
Updated TODOs. wine bug filed; removed that TODO.
|
2014-06-07 22:58:12 -04:00 |
Pietro Gagliardi
|
bc848f5c40
|
Fixed all the NSAutoreleasePool issues on Mac OS X 10.6.
|
2014-06-07 19:56:51 -04:00 |
Pietro Gagliardi
|
70d7f9fb2a
|
Got rid of some of the autorelease pool warnings by creating a temporary pool for each call to toNSString().
|
2014-06-07 19:39:59 -04:00 |
Pietro Gagliardi
|
c7e9c59d63
|
Removed previous commit from todo.md.
|
2014-06-07 18:18:06 -04:00 |
Pietro Gagliardi
|
9f2669d583
|
Fixed Command key up on Mac OS X. This fix also fixes Help key down, so remove the workaround there.
|
2014-06-07 18:17:29 -04:00 |
Pietro Gagliardi
|
fe4d9b992d
|
Changed SetWindowLong() to SetWindowLongPtr() in the Windows backend. I forgot I already had some there :|
|
2014-06-07 14:50:05 -04:00 |
Pietro Gagliardi
|
7a22f0e073
|
Fixed a regression in the Windows Area code: when I fixed numpad behavior, I broke NEnter. Fixed. Also more TODOs.
|
2014-06-07 12:29:38 -04:00 |
Pietro Gagliardi
|
c34f2c234c
|
Documented click event on activate behavior in the GTK+ backend.
|
2014-06-07 11:40:25 -04:00 |
Pietro Gagliardi
|
77fdd9d1c3
|
Documented window switch clicks in Area and implemented them on Windows and Mac OS X.
|
2014-06-07 04:19:37 -04:00 |