summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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...
2014-05-25Even more work on the Windows constant generator. There are still some edge ↵Pietro Gagliardi
cases involving variables that I need to resolve, and I still need to write the code that actually runs the generated program.
2014-05-25Refactored the constant gathering program a bit.Pietro Gagliardi
2014-05-25Renamed _LPARAM._X()/_LPARAM._Y() to _LPARAM.X()/_LPARAM.Y(): it doesn't ↵Pietro Gagliardi
matter since _LPARAM is not exported anyway, _WPARAM already had this change, and the constant checking tool complains that _X()/_Y() remain undefined (too early? do I need to merge the package files?).
2014-05-25More work on the constant generation tool. We can almost actually write the ↵Pietro Gagliardi
generator portion now...
2014-05-25More work on the constant generation tool.Pietro Gagliardi
2014-05-24Added incomplete code for a program that generates a set of Windows ↵Pietro Gagliardi
constants using cgo.
2014-05-24More TODOs.Pietro Gagliardi
2014-05-24Resolved GtkEntry and GtkProgressBar resizing issues; decided from observing ↵Pietro Gagliardi
how they do padding that worrying about padding is counterproductive for now.
2014-05-23Finished the Area clicking stuff: formalized the behavior in documentation ↵Pietro Gagliardi
in area.go, pointed out that Mac OS X already behaves as expected, updated some comments, and removed the relevant TODO.
2014-05-23Attempted to add focus change support to the new GTK+ high-order click code ↵Pietro Gagliardi
like we do on Windows; it isn't working quite yet but I'll mark it as a TODO for now.
2014-05-23Added custom double-click/triple-click/higher-order click handling to GTK+ ↵Pietro Gagliardi
Areas.
2014-05-23Added click counter reset on window activate/deactivate for Windows Areas.Pietro Gagliardi