Pietro Gagliardi
|
e3edc7e0c3
|
Added the CL and some notes to the README since it won't land in Go 1.3. I should probably retool this README...
|
2014-05-28 12:19:22 -04:00 |
Pietro Gagliardi
|
a016114bdf
|
Removed commented-out checkbox stuff from controls_windows.go since we'll be 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-26 22:39:30 -04:00 |
Pietro Gagliardi
|
9c86bf8d30
|
Merged windows_windows.go into common_windows.go.
|
2014-05-26 22:36:34 -04:00 |
Pietro Gagliardi
|
568d7d02ee
|
Added the new autogenerated constants stuff to the README.
|
2014-05-25 16:57:32 -04:00 |
Pietro Gagliardi
|
9d18f04a7c
|
Corrected the environment in windowsconstgen.go so that we can run it from test.sh. Phew!
|
2014-05-25 16:50:52 -04:00 |
Pietro Gagliardi
|
e2063cf946
|
Integrated windowsconstgen into the test build script. There's a small issue regarding amd64...
|
2014-05-25 16:40:15 -04:00 |
Pietro Gagliardi
|
5a9a0eda6a
|
Moved windowsconstgen.go out of the experiments/ folder and into a new tools/ folder.
|
2014-05-25 15:36:50 -04:00 |
Pietro Gagliardi
|
4a8f0ef902
|
Added 64-bit Windows constants.
|
2014-05-25 15:35:51 -04:00 |
Pietro Gagliardi
|
2e6254ec61
|
Finished migrating the Windows code to using the pregenerated constants.
|
2014-05-25 15:23:11 -04:00 |
Pietro Gagliardi
|
51469fffb5
|
Removed constants from common_windows.go. Almost done!
|
2014-05-25 15:09:01 -04:00 |
Pietro Gagliardi
|
e7327f2378
|
Fixed Areas on Windows no longer obeying click count rules after adding the WM_ACTIVATE handler.
|
2014-05-25 14:34:19 -04:00 |
Pietro Gagliardi
|
d6e7eda29c
|
Removed constants from area_windows.go. I think I added a regression earlier when adding the WM_ACTIVATE exception that causes the click count to be reset...
|
2014-05-25 14:29:56 -04:00 |
Pietro Gagliardi
|
55c5776334
|
Stripped constants from dialog_windows.go.
|
2014-05-25 14:12:57 -04:00 |
Pietro Gagliardi
|
bb6befbfa7
|
And merged the old events_windows.go constants into zconstants_windows_GOARCH.go.
|
2014-05-25 14:09:52 -04:00 |
Pietro Gagliardi
|
6db70ca3ff
|
Removed events_windows.go; it is no longer needed.
|
2014-05-25 14:08:04 -04:00 |
Pietro Gagliardi
|
40dd4f51be
|
Removed constants from events_windows.go. This file can go away now...
|
2014-05-25 14:07:34 -04:00 |
Pietro Gagliardi
|
ad1dbc7b39
|
Removed extra newline generated in the zconstants_windows_GOARCH.go file from the Windows constants generator.
|
2014-05-25 14:05:23 -04:00 |
Pietro Gagliardi
|
1f94a68432
|
Fixed issues handling INVALID_HANDLE_VALUE in the Windows constant generator, and built the first build with generated constants!
|
2014-05-25 14:04:03 -04:00 |
Pietro Gagliardi
|
d2746b7d2c
|
Added a comment to the previous commit.
|
2014-05-25 13:20:19 -04:00 |
Pietro Gagliardi
|
a0f10000de
|
Added the ability to pass arguments to the go tool from the Windows constant generator's command line; this will be for debugging.
|
2014-05-25 13:18:45 -04:00 |
Pietro Gagliardi
|
9893387848
|
Changed the logic of the Windows constants generator so that it only 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-25 13:02:56 -04:00 |
Pietro Gagliardi
|
339a77b5d6
|
Removed constants from windows_windows.go, controls_windows.go, and comctl_windows.go, as we can now use the constants generator.
|
2014-05-25 12:39:53 -04:00 |
Pietro Gagliardi
|
2ce95f3937
|
Removed CW_USEDEFAULT variable definition. It won't compile right now, but our cgo-based generator will make sure that isn't a problem.
|
2014-05-25 12:31:38 -04:00 |
Pietro Gagliardi
|
5583dee743
|
Updated the Windows constants generator to warn against variables that haven't been converted to constants (in case I forget I ever did this).
|
2014-05-25 11:35:55 -04:00 |
Pietro Gagliardi
|
eb0188a099
|
Changed most instances of var to const in the Windows code. Only one left...
|
2014-05-25 11:31:57 -04:00 |
Pietro Gagliardi
|
0d23bda925
|
Added quick credit thanks left out of previous commit by accident.
|
2014-05-25 03:15:49 -04:00 |
Pietro Gagliardi
|
36e6adcee9
|
Updated the Windows constant generator again; this time it now works fully, and I just have to nail the variables and nuke the static constants...
|
2014-05-25 03:13:49 -04:00 |
Pietro Gagliardi
|
3929dea818
|
Even more work on the Windows constant generator. There are still some edge cases involving variables that I need to resolve, and I still need to write the code that actually runs the generated program.
|
2014-05-25 01:28:59 -04:00 |
Pietro Gagliardi
|
8de17f0ade
|
Refactored the constant gathering program a bit.
|
2014-05-25 01:13:16 -04:00 |
Pietro Gagliardi
|
b27caae7c3
|
Renamed _LPARAM._X()/_LPARAM._Y() to _LPARAM.X()/_LPARAM.Y(): it doesn't 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-25 01:03:45 -04:00 |
Pietro Gagliardi
|
4408c1bf42
|
More work on the constant generation tool. We can almost actually write the generator portion now...
|
2014-05-25 00:40:45 -04:00 |
Pietro Gagliardi
|
4632d80576
|
More work on the constant generation tool.
|
2014-05-25 00:31:40 -04:00 |
Pietro Gagliardi
|
20306d881c
|
Added incomplete code for a program that generates a set of Windows constants using cgo.
|
2014-05-24 23:44:28 -04:00 |
Pietro Gagliardi
|
2c2d2dc0c8
|
More TODOs.
|
2014-05-24 21:30:21 -04:00 |
Pietro Gagliardi
|
32480a65c2
|
Resolved GtkEntry and GtkProgressBar resizing issues; decided from observing how they do padding that worrying about padding is counterproductive for now.
|
2014-05-24 21:28:28 -04:00 |
Pietro Gagliardi
|
511f774649
|
Finished the Area clicking stuff: formalized the behavior in documentation in area.go, pointed out that Mac OS X already behaves as expected, updated some comments, and removed the relevant TODO.
|
2014-05-23 23:48:17 -04:00 |
Pietro Gagliardi
|
f4afa2a951
|
Attempted to add focus change support to the new GTK+ high-order click code like we do on Windows; it isn't working quite yet but I'll mark it as a TODO for now.
|
2014-05-23 23:38:14 -04:00 |
Pietro Gagliardi
|
dbeccfa922
|
Added custom double-click/triple-click/higher-order click handling to GTK+ Areas.
|
2014-05-23 18:30:08 -04:00 |
Pietro Gagliardi
|
b359f995f5
|
Added click counter reset on window activate/deactivate for Windows Areas.
|
2014-05-23 17:11:59 -04:00 |
Pietro Gagliardi
|
582e3b4644
|
Implemented triple-clicks and up on Windows.
|
2014-05-23 17:01:56 -04:00 |
Pietro Gagliardi
|
92e4d32284
|
Added code that will replace the toolkit-internal double-click/triple-click handling in an effort to normalize click count handling.
|
2014-05-23 14:03:57 -04:00 |
Pietro Gagliardi
|
63ae00622a
|
More TODOs about mouse button click counts. The GTK+ implementation might be the killer here...
|
2014-05-23 13:00:19 -04:00 |
Pietro Gagliardi
|
ec2749d46c
|
Updated some TODOs (part 2 of yesterday's The Old New Thing post).
|
2014-05-22 23:23:10 -04:00 |
Pietro Gagliardi
|
0b609178ff
|
More of the previous commit.
|
2014-05-22 04:01:35 -04:00 |
Pietro Gagliardi
|
77d861354e
|
More KeyEvent Modifiers designing in the TODO file.
|
2014-05-22 03:59:19 -04:00 |
Pietro Gagliardi
|
6a07a06cb8
|
Updated TODO on modifier keys handling in KeyEvent.
|
2014-05-22 03:44:25 -04:00 |
Pietro Gagliardi
|
e2ab537474
|
Updated a TODO with a The Old New Thing blog post link posted today (!) that answers the question the TODO asks.
|
2014-05-21 23:19:55 -04:00 |
Pietro Gagliardi
|
8c386274e9
|
Removed TODO about pixel alignment of scrollviews on Mac OS X; mikeash in irc.freenode.net/#macdev told me this only happens when using fractional pixels (because Mac OS X lets you use fractional coordinates and sizes), so we don't have an issue since all our coordinates are integers.
|
2014-05-21 18:44:20 -04:00 |
Pietro Gagliardi
|
5b0f8e8cc7
|
Updated TODOs after confirming that Windows and Mac do have MouseEvent.Held[] sorted.
|
2014-05-20 12:32:05 -04:00 |
Pietro Gagliardi
|
c01549420d
|
Removed 10.6 build issues from TODO now that that's done.
|
2014-05-20 09:03:44 -04:00 |