summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2014-05-23Implemented triple-clicks and up on Windows.Pietro Gagliardi
2014-05-23Added code that will replace the toolkit-internal double-click/triple-click ↵Pietro Gagliardi
handling in an effort to normalize click count handling.
2014-05-23More TODOs about mouse button click counts. The GTK+ implementation might be ↵Pietro Gagliardi
the killer here...
2014-05-22Updated some TODOs (part 2 of yesterday's The Old New Thing post).Pietro Gagliardi
2014-05-22More of the previous commit.Pietro Gagliardi
2014-05-22More KeyEvent Modifiers designing in the TODO file.Pietro Gagliardi
2014-05-22Updated TODO on modifier keys handling in KeyEvent.Pietro Gagliardi
2014-05-21Updated a TODO with a The Old New Thing blog post link posted today (!) that ↵Pietro Gagliardi
answers the question the TODO asks.
2014-05-21Removed TODO about pixel alignment of scrollviews on Mac OS X; mikeash in ↵Pietro Gagliardi
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-20Updated TODOs after confirming that Windows and Mac do have ↵Pietro Gagliardi
MouseEvent.Held[] sorted.
2014-05-20Removed 10.6 build issues from TODO now that that's done.Pietro Gagliardi
2014-05-20Fixed the whole NSApplication.h thing so now the project builds with both ↵Pietro Gagliardi
10.6 and 10.8. Ugh.
2014-05-20Changed #include to #import on the Objective-C files to settle the whole ↵Pietro Gagliardi
include guards thing. Now to continue fixing Mac OS X 10.6 building...
2014-05-20Fixed the Mac OS X 10.6 building using a rather hackish approach... Now it ↵Pietro Gagliardi
won't build on 10.6 itself without problems, so...
2014-05-19Set up the Mac OS X build to always target Mac OS X 10.6 regardless of the ↵Pietro Gagliardi
host system; this is what we want and by default building on 10.8 produces binaries which won't run on 10.6. This isn't working yet, though: one enum in NSApplication.h becomes empty on 10.6...
2014-05-19Same as previous commit, but for Mac OS X now. The #cgo directives are in ↵Pietro Gagliardi
uitask_darwin.go.
2014-05-19Removed the extra #cgo directives from the Unix files. cgo collects ↵Pietro Gagliardi
directives from ALL files, rather than using each file's directive individually, so having them combined like this is pointless. Instead, the #cgo directives are (or is, since there's only one) in uitask_unix.go. Will do the same for Mac next; this will help since we're going to add a CFLAGS value afterward.
2014-05-19Moved gtk_main() such that uitask_unix.go calls it directly via cgo. This is ↵Pietro Gagliardi
in preparation for the next two commits, which will remove the #cgo directives from all files except the uitask_*.go files, since they're being concatenated across files.
2014-05-19TODO file update.Pietro Gagliardi
2014-05-18Removed TODO about buttons 1+3 causing a button 2 click on Mac OS X Areas... ↵Pietro Gagliardi
it was actually on my host's end: X11/KDE is doing it, and I never noticed that before, nor do I remember that happening on the Windows/wine or GTK+ versions :S That's it for the TODOs in the Mac OS X Go files! :D
2014-05-17Made drawing of NSScrollView backgrounds explicit on Mac OS X. This is what ↵Pietro Gagliardi
Interface Builder sets for NSTableViews, so we do that too for Listbox. This also means NSScrollView draws the background for our Areas, settling the clear clip rect TODO.
2014-05-17More TODOs (see previous commit).Pietro Gagliardi
2014-05-17Decided to unconditionally redraw everything on a window resize on Mac OS X. ↵Pietro Gagliardi
Now to add TODOs for the other platforms to see if we should do the same.
2014-05-17Fixed variable names in Area drawing code on Unix to reflect that ↵Pietro Gagliardi
image.Rectangle is point-to-point, not origin/size like on Mac OS X. Windows was already fine; it just uses "left, top, right, and bottom" instead of "x0, y0, x1, and y1".
2014-05-17More clarification on the previous commit.Pietro Gagliardi
2014-05-17Removed TODO about not using bad-for-tracking features of NSEvent in Areas ↵Pietro Gagliardi
on Mac OS X since that's not relevant to our use of tracking areas.
2014-05-17Added experimental code that tried, and failed, to combat combobox ↵Pietro Gagliardi
autoselection on Mac OS X.
2014-05-17Added the Stack Overflow link for Mac OS X Listbox insertion autoselection ↵Pietro Gagliardi
and fixed deletion autoselection as well.
2014-05-17Found a method in NSArrayController via Stack Overflow which lets me ↵Pietro Gagliardi
suppress selection-changing behavior on NSTableView inserts; use that on Listbox in Mac OS X. This means sysData.selectIndices() and its Mac OS X implementation can (and has) gone away, clearing TODOs on Windows and Unix by extension.
2014-05-16Started working on a blog post of NSTableView creation in code, so removed ↵Pietro Gagliardi
the respective personal TODO in listbox_darwin.go.
2014-05-16Fixed up a bunch of Mac OS X function names, mostly Listbox-related, to be ↵Pietro Gagliardi
more clear and more consistent.
2014-05-16Moved toBOOL() from sysdata_darwin.go to objc_darwin.go since it's used by ↵Pietro Gagliardi
other Mac OS X files too.
2014-05-16Decided not to move the initCocoa() function to a file init_darwin.go ↵Pietro Gagliardi
because it's small enough now that it doesn't matter.
2014-05-16Moved some old documents out of the top-level directory and into a folder ↵Pietro Gagliardi
olddocs/ to make things neater.