summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2014-05-30Moved the standard window class (for Window) on Windows to get the sysData ↵Pietro Gagliardi
pointer from CreateWindowEx() and store it in the window memory instead of being given it via a closure. This will lead to having only one window class for all Windows, which will come next. Also fixed an error in windowsconstgen's output related to GetWindowLongPtr()/SetWindowLongPtr().
2014-05-30Normalized DefWindowProc() handling across the Windows files; the ↵Pietro Gagliardi
syscall.LazyProc now has the normalized name _defWindowProc and defWindowProc() is a convenience function that calls _defWindowProc properly. This will also be important for the switch to a single window class per Window/Area.
2014-05-30Added GetWindowLongPtr()/SetWindowLongPtr() generation to the ↵Pietro Gagliardi
windowsconstgen tool and the pregenerated files. This will be needed for when we get rid of creating a new window class for each Window/Area. Also did some minor cleanup to the windowsconstgen tool.
2014-05-29Decided not to use SendMessage() in the Windows uitask() as we're already ↵Pietro Gagliardi
waiting for an event return anyway. Decided not to move the message-only window to an init file, as the message-only window is for uitask().
2014-05-29Added new Modifiers code for Mac OS X. Also fixed some comment typos and ↵Pietro Gagliardi
added more TODOs.
2014-05-29More TODOs. Also preemptively removed the Modifiers TODO; I'll be ↵Pietro Gagliardi
implementing it on Mac OS X now.
2014-05-29Added the new Modifiers handling to the Windows backend.Pietro Gagliardi
2014-05-29Implemented the new Modifiers behavior on the GTK+ backend. In addition, ↵Pietro Gagliardi
removed some code commented out long ago and restructured a few functions for the change.
2014-05-29Changed the Modifiers behavior in KeyEvent to more properly handle modifier ↵Pietro Gagliardi
keys. This is just the public interface for now; next comes all the backends.
2014-05-29Checked to see if the previous commit worked after removing the leftover ↵Pietro Gagliardi
Combobox selectIndex() code; it does. Removed the dummy code from the Windows and GTK+ backends as well.
2014-05-28Merged back combobox_darwin.m, rewrote it to use boundListboxArray() instead ↵Pietro Gagliardi
of creating a whole new object, and implemented what appears to be a fix for NSPopUpButton selection. Will delete the unneeded select(-1) code later and test again...
2014-05-28Added the CL and some notes to the README since it won't land in Go 1.3. I ↵Pietro Gagliardi
should probably retool this README...
2014-05-26Removed commented-out checkbox stuff from controls_windows.go since we'll be ↵Pietro Gagliardi
sending messages directly to the checkbox instead. We still have to worry about radio buttons, so I'm not merging controls_windows.go into common_windows.go just yet.
2014-05-26Merged windows_windows.go into common_windows.go.Pietro Gagliardi
2014-05-25Added the new autogenerated constants stuff to the README.Pietro Gagliardi
2014-05-25Corrected the environment in windowsconstgen.go so that we can run it from ↵Pietro Gagliardi
test.sh. Phew!
2014-05-25Integrated windowsconstgen into the test build script. There's a small issue ↵Pietro Gagliardi
regarding amd64...
2014-05-25Moved windowsconstgen.go out of the experiments/ folder and into a new ↵Pietro Gagliardi
tools/ folder.
2014-05-25Added 64-bit Windows constants.Pietro Gagliardi
2014-05-25Finished migrating the Windows code to using the pregenerated constants.Pietro Gagliardi
2014-05-25Removed constants from common_windows.go. Almost done!Pietro Gagliardi
2014-05-25Fixed Areas on Windows no longer obeying click count rules after adding the ↵Pietro Gagliardi
WM_ACTIVATE handler.
2014-05-25Removed constants from area_windows.go. I think I added a regression earlier ↵Pietro Gagliardi
when adding the WM_ACTIVATE exception that causes the click count to be reset...
2014-05-25Stripped constants from dialog_windows.go.Pietro Gagliardi
2014-05-25And merged the old events_windows.go constants into ↵Pietro Gagliardi
zconstants_windows_GOARCH.go.
2014-05-25Removed events_windows.go; it is no longer needed.Pietro Gagliardi
2014-05-25Removed constants from events_windows.go. This file can go away now...Pietro Gagliardi
2014-05-25Removed extra newline generated in the zconstants_windows_GOARCH.go file ↵Pietro Gagliardi
from the Windows constants generator.
2014-05-25Fixed issues handling INVALID_HANDLE_VALUE in the Windows constant ↵Pietro Gagliardi
generator, and built the first build with generated constants!
2014-05-25Added a comment to the previous commit.Pietro Gagliardi
2014-05-25Added the ability to pass arguments to the go tool from the Windows constant ↵Pietro Gagliardi
generator's command line; this will be for debugging.
2014-05-25Changed the logic of the Windows constants generator so that it only ↵Pietro Gagliardi
generates unknown constants and complains on known constants (though that's disabled during the transitional period) as that's the situation that will happen now.
2014-05-25Removed constants from windows_windows.go, controls_windows.go, and ↵Pietro Gagliardi
comctl_windows.go, as we can now use the constants generator.
2014-05-25Removed CW_USEDEFAULT variable definition. It won't compile right now, but ↵Pietro Gagliardi
our cgo-based generator will make sure that isn't a problem.
2014-05-25Updated the Windows constants generator to warn against variables that ↵Pietro Gagliardi
haven't been converted to constants (in case I forget I ever did this).
2014-05-25Changed most instances of var to const in the Windows code. Only one left...Pietro Gagliardi
2014-05-25Added quick credit thanks left out of previous commit by accident.Pietro Gagliardi
2014-05-25Updated the Windows constant generator again; this time it now works fully, ↵Pietro Gagliardi
and I just have to nail the variables and nuke the static constants...