summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-24And the uitask message fixed was the issue all along. Now it works.Pietro Gagliardi
2014-02-24Oh right derp, preferredSize() is running on uitask already; don't use the ↵Pietro Gagliardi
dispatch channel. Almost working...
2014-02-24Potential fix: show the window before getting control preferred sizes; need ↵Pietro Gagliardi
to make setRect() locking first.
2014-02-24More TODOs (unrelated to previous commit).Pietro Gagliardi
2014-02-24Added Windows preferred size code. It doesn't work right now; both GetDC() ↵Pietro Gagliardi
and GetWindowDC() are not returning at all on both wine and Windows XP; need to debug (print guards are included).
2014-02-24Re-added Windows font grabbing code. I won't use it just yet, since I only ↵Pietro Gagliardi
now realize I don't actually need it for preferred sizes, but eh
2014-02-24More TODOs.Pietro Gagliardi
2014-02-24Made sure Stack.SetStretchy() (like all other layout-changing functions) ↵Pietro Gagliardi
cannot be called once the parent Window has been opened.
2014-02-24Adjusted main_test.go to make use of SetStretchy(). IT WORKS! :DPietro Gagliardi
2014-02-24Added Stack.preferredSize() and fixed errors in stack.go.Pietro Gagliardi
2014-02-24Added Control.preferredSize() and preferredSize() for all the standard Controls.Pietro Gagliardi
2014-02-24Fixed some compiler errors in the last few commits.Pietro Gagliardi
2014-02-24Wrote the new Stack.setRect().Pietro Gagliardi
2014-02-24Changed Orientation to a bool to prevent invalid values outright.Pietro Gagliardi
2014-02-24Started rewriting Stack to conform to the new layout plan.Pietro Gagliardi
2014-02-24Added a new layout plan for Stack.Pietro Gagliardi
2014-02-23Added the preferred widget size basework and its GTK+ implementation.Pietro Gagliardi
2014-02-23sighPietro Gagliardi
2014-02-21Fixed up todo.md to remove things that are done and add more notes.Pietro Gagliardi
2014-02-21Fixed the unregistered window class error on 64-bit Windows: turns out it ↵Pietro Gagliardi
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-19Got rid of my Windows input lag problems on Windows (triggered by the switch ↵Pietro Gagliardi
to the concurrent garbage collector sweep routine in the Go runtime) by treating <-uitask as a Windows message itself posted to the message loop thread and not making the message loop a CPU waster.
2014-02-19More README updates.Pietro Gagliardi
2014-02-19Updated README to package-ize.Pietro Gagliardi
2014-02-19Super ultra important TODO related to previous two commits.Pietro Gagliardi
2014-02-19...and now it magically works again?! after too long, anyway...Pietro Gagliardi
2014-02-19Moved to a proper package; main() is now a test and go test -c is used to ↵Pietro Gagliardi
build. Once I iron out a bug with Windows event handling, I'll add a README.
2014-02-18Missed a ui. in the README example code.Pietro Gagliardi
2014-02-18More README adjustments.Pietro Gagliardi
2014-02-18Expanded the README.Pietro Gagliardi
2014-02-18Fixed the faults: upon further examination, the garbage collector was eating ↵Pietro Gagliardi
the callback closures!
2014-02-18Buffered the event channels, as per skelterjohn's suggestion; I thought this ↵Pietro Gagliardi
would fix the faults I now get, but it doesn't...
2014-02-18Made event dispatch asynchronous to avoid deadlocks; right now events that ↵Pietro Gagliardi
cannot be dispatched get dropped.
2014-02-17Added license and README.Pietro Gagliardi
2014-02-17Removed all //package ui comments.Pietro Gagliardi
2014-02-17Moved the old Windows main() to unmigrated/; may wind up deleting it instead.Pietro Gagliardi
2014-02-17Wrote an implementation guide.Pietro Gagliardi
2014-02-17Simplified the GTK+ Listbox code and added a documentation blob to it.Pietro Gagliardi
2014-02-17Split the GTK+ ListBox implementation into its own file.Pietro Gagliardi
2014-02-17Isolated all the non-listbox-related GTK+ type conversions into their own ↵Pietro Gagliardi
file with functions to reduce the amount of code noise in gtkcalls_unix.go.
2014-02-17Whoops, the GList returned by gtk_tree_selection_get_selected_rows contains ↵Pietro Gagliardi
GtkTreePaths, not GtkTreeRowReferences. Fixed the index getting.
2014-02-17Separated GTK+ listbox index retreival and dereferencing, just to be safe/to ↵Pietro Gagliardi
allow easier debugging.
2014-02-17More TODOs.Pietro Gagliardi
2014-02-17Added GTK+ message boxes.Pietro Gagliardi
2014-02-17Split out the dialog functions into portable and non-portable code to keep ↵Pietro Gagliardi
the package documentation in the portable code only.
2014-02-17Added scrollbars to the Listbox GtkTreeViews.Pietro Gagliardi
2014-02-17Okay, fixed item showing; the GtkTableView column just needed the text ↵Pietro Gagliardi
attribute. Now I need scrollbars...
2014-02-17Fixed GTK+ listboxes to create item cells and not show headers; still not ↵Pietro Gagliardi
displaying item text...
2014-02-17Fixed the GTK+ crashes (I think) by making resizes synchronous. Since all ↵Pietro Gagliardi
control resizes happen on the UI thread anyway, we don't need to dispatch back; just call the resizing functions directly. Windows gets this fix too for consistency (and also because it gets rid of the only asynchronous oddity in the system).
2014-02-16Added GTK+ listboxes... sort of. This whole thing is so broken it's funny.Pietro Gagliardi
2014-02-16Added GTK+ Labels.Pietro Gagliardi