summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-03Decided to panic in the hwnd sanity check in sysdata_windows.go; the ↵Pietro Gagliardi
situation /is/ exceptional, after all (and we need to just get rid of all errors sometime).
2014-06-03Removed the TODO on memstride: we were already using it?????? It is working ↵Pietro Gagliardi
correctly... No idea why that TODO was there; I know I added it when I was too tired to think though.
2014-06-03Added the previous commit to the future plans instead.Pietro Gagliardi
2014-06-03Made multiple modifier keys undefined; removed the TODO there. If I need to ↵Pietro Gagliardi
change the behavior I can do it later.
2014-06-03Decided not to rename MouseEvent.Pos.Pietro Gagliardi
2014-06-03And removed that TODO from the previous commit after verifying that such a ↵Pietro Gagliardi
proposal is too risky.
2014-06-03Rewrote a TODO on build tags for the Unix build.Pietro Gagliardi
2014-06-03Removed TODO about application-modal dialog boxes in GTK+; they were already ↵Pietro Gagliardi
application modal! The real issue is window transience... and that's where platforms differ greatly.
2014-06-03Removed TODOs about device coordinates in the GTK+ backend; that has been ↵Pietro Gagliardi
resolved.
2014-06-03Now that the Windows string handling has been properly fixed, removed the ↵Pietro Gagliardi
TODO about the 32-bit build being unstable.
2014-06-03Migrated area_windows.go to the new string handling. I think that's it for ↵Pietro Gagliardi
converting existing code... Now to test on real Windows.
2014-06-03Migrated dialog_windows.go to the new string handling.Pietro Gagliardi
2014-06-03Migrated stdwndclass_windows.go to the new string handling.Pietro Gagliardi
2014-06-03Migrated uitask_windows.go to the new string handling.Pietro Gagliardi
2014-06-03Removed a stray function from common_windows.go that both was not used and ↵Pietro Gagliardi
went against what we're trying to do with strings in Windows.
2014-06-03Converted comctl_windows.go to use the new string wrapper functions.Pietro Gagliardi
2014-06-03More TODOs.Pietro Gagliardi
2014-06-03Converted sysdata_windows.go to use the new string conversion setup from the ↵Pietro Gagliardi
previous commit. This has to be first, otherwise a few other things will fail to compile...
2014-06-03Added convenience functions to the Windows backend for UTF-16 string ↵Pietro Gagliardi
handling. I'll convert the existing code to use it shortly.
2014-06-03Removed a TODO from area_windows.go after verifying that what it flagged ↵Pietro Gagliardi
(GetKeyState() vs. GetAsyncKeyState()) is indeed what we want to do (the former).
2014-06-03Removed a policy TODO in area_windows.go; decided to keep the redundant ↵Pietro Gagliardi
entries in the Modifiers table table just to be safe.
2014-06-02Removed a leftover TODO note in area_unix.go.Pietro Gagliardi
2014-06-02Resolved TODOs in callbacks_unix.go. (For the returning FALSE TODO, I ↵Pietro Gagliardi
decided it would be safest to let event handlers propagate, as I did with Areas earlier.)
2014-06-02Resolved command-line handling in the GTK+ backend by not doing it and ↵Pietro Gagliardi
documenting that we don't do it.
2014-06-02Gave message boxes on Windows the MB_TASKMODAL style, which does event ↵Pietro Gagliardi
modality to the other windows in the program. Does not affect resizes.
2014-06-02Added a test of MsgBox() event modality to the standard Area test.Pietro Gagliardi
2014-06-02Removed leftover TODO about left-justifying labels in GTK+.Pietro Gagliardi
2014-06-02Properly left-aligned Labels in GTK+. Also added a note to decide ↵Pietro Gagliardi
on/document/verify vertical alignment of Labels.
2014-06-02Moved the GtkLayout transparency style to the new init-time style code in ↵Pietro Gagliardi
gtkcalls_unix.go.
2014-06-02Moved the GTK+ ProgressBar style stuff to the Go side and to gtk_init().Pietro Gagliardi
2014-06-02Null-terminated the GtkLayout stylesheet string. This will be handy for ↵Pietro Gagliardi
consolidating all the GTK+ stylesheet stuff into a single Go-side init function. (Thanks to mischief, nsf, and dsal in irc.badnik.net/#go-nuts for confirming that this is valid.)
2014-06-02Made the GTK+ ProgressBar arbitrary resize a program-global style.Pietro Gagliardi
2014-06-02Applied the Area events change to the Mac OS X backend, restructuring a few ↵Pietro Gagliardi
function signatures in the process.
2014-06-02Removed some more commented-out code from ages ago from area_unix.go.Pietro Gagliardi
2014-06-02Applied the new Area event behavior to the GTK+ backend. Yay, loads of TODOs ↵Pietro Gagliardi
resolved in one fell swoop!
2014-06-02Implemented the new Area event handling on Windows.Pietro Gagliardi
2014-06-02Documented the changed event handling of Area.Pietro Gagliardi
2014-06-01Decided to drop the whole handled thing with Area events and just continue ↵Pietro Gagliardi
the event chain if needed. Same for MousEvent; will have to document that. This is just the test program for now.
2014-06-01Verified the previous commit.Pietro Gagliardi
2014-06-01Changed Unix Area WM_ACTIVATE equivalent handling to use enter-notify-event ↵Pietro Gagliardi
and leave-notify-event instead of focus-in-event and focus-out-event as suggested by tristan in irc.gimp.net/#gtk+.
2014-05-31Removed kVK_ANSI_KeypadClear from events_darwin.go; this is a holdover from ↵Pietro Gagliardi
early Mac keyboards that had a Clear key where Num Lock is on an IBM keyboard (for example, http://upload.wikimedia.org/wikipedia/commons/4/4e/Apple_Macintosh_Plus_Extended_Keyboard.jpg (via Psy| in irc.freenode.net/#macdev)) and is irrelevant to our usage.
2014-05-31Decided not to rename Stack to Box because Box means a lot of different ↵Pietro Gagliardi
things; described problems with that in futureplans.md.
2014-05-30Removed the future plan about not generating window classes on Windows for ↵Pietro Gagliardi
each new Window/Area now that we did that.
2014-05-30Removed TODOs about the sysData not being initialized at message time in ↵Pietro Gagliardi
area_windows.go; we have now solved that problem.
2014-05-30Changed storeSysData() on Windows to write the HWND to the sysData structure ↵Pietro Gagliardi
there. This will be important for removing some of the TODOs from areaWndProc().
2014-05-30Cleaned up the classType struct and sysData.make() in sysdata_windows.go to ↵Pietro Gagliardi
remove unused fields and the window class registration code now that we no longer register window classes on the fly for each new Window/Area.
2014-05-30Changed Areas on WIndows so that they all use the same window class, rather ↵Pietro Gagliardi
than having one per Area.
2014-05-30Changed Areas on Windows to store their sysData inside the window memory ↵Pietro Gagliardi
instead of being given it via a closure. Actually having only one window class for all Areas comes next.
2014-05-30Converted the standard Windows window class (for Window) to be a single ↵Pietro Gagliardi
class, rather than having a new one for each Window. Now for Area.
2014-05-30Some quick formatting changes to stdwndclass_windows.go.Pietro Gagliardi