summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-03-21Added code to the GTK+ Area to print the GdkKeymapKeys for a given key ↵Pietro Gagliardi
value. For GTK+/X11 it appears that we can just use the keyval field... that just leaves GTK+/Wayland (see previous commit). If the same applies, we'll need to see if I can feed artificial keycodes in and it'll still work as expected...
2014-03-21Added a note about OpenGL support on Linux (again) to controlcandidates.md ↵Pietro Gagliardi
now that I noticed it while looking for a way to test GTK+/Wayland...
2014-03-21Whoops, also forgot about handling unwanted keystrokes in the final keyboard ↵Pietro Gagliardi
consensus in the Area planning document.
2014-03-21Whoops, forgot something in the previous commit.Pietro Gagliardi
2014-03-21Reached a decision about Area keystroke handling; noted it in the planning ↵Pietro Gagliardi
document. I just now need to figure out one thing...
2014-03-20Er whoops, forgot one bit of info in the past two commits.Pietro Gagliardi
2014-03-20Some fixups in the previous commit.Pietro Gagliardi
2014-03-20Final say on character input woes in Area planning.Pietro Gagliardi
2014-03-20More Area keyboard planning...Pietro Gagliardi
2014-03-19Added complementary GLib/GObject version compatibility macros to gtk_unix.h ↵Pietro Gagliardi
alongside the GDK/GTK+ ones.
2014-03-19And whoops I forgot the most important thing: MY USE CASE (for keyboard ↵Pietro Gagliardi
input in Area planning again)
2014-03-19Redid the whole Area keyboard event planning, with me coming to more of a ↵Pietro Gagliardi
definite decision...
2014-03-19Need to rewrite the keyboard planning section of the Area planning doc; ↵Pietro Gagliardi
added a bunch of links to help...
2014-03-18guh apple (keyCode not safe)Pietro Gagliardi
2014-03-18Nope, getting rid of the lock on preferredSize() still doesn't let me go ↵Pietro Gagliardi
back to using channels for Area events. Oh well.
2014-03-18More Area keyboard planning.Pietro Gagliardi
2014-03-18Added keyboard planning to the Area planning... oh boy.Pietro Gagliardi
2014-03-18Added the framework code for handling keyboard events in GTK+ Areas. Oh ↵Pietro Gagliardi
boy... this is gonna hurt (as I will describe shortly).
2014-03-18One last quick note in README.Pietro Gagliardi
2014-03-18Updated README with this decision. Also other documents as well.Pietro Gagliardi
2014-03-18Restored the locks everywhere except on resizing calculations. I'll run ↵Pietro Gagliardi
under the assumption that uitask cannot process any requests while a resize occurs, which means preferredSize() and Stack/Grid.setRect() are inherently safe... let's hope I'm right...
2014-03-18Update on my locking problem in the README.Pietro Gagliardi
2014-03-17Changed the new resizing code so that it uses the same allocated slice per ↵Pietro Gagliardi
window instead of making a new one to store all the resize requests each time.
2014-03-17Er oh the crash was because I was still using the lock-friendly code. Will ↵Pietro Gagliardi
still apply the change to memory allocation because memory reuse.
2014-03-17Changed window resizes so that the actual Control.setRect() functions ↵Pietro Gagliardi
appended to an array of requests that the resize() function set all at once instead of having each done individually. This will be necessary for what I think will be a solution to the deadlocks. It doesn't work right now; I'm assuming it's allocating too much memory. I know how to fix this, but I'm committing what I have so far to be safe.
2014-03-17Quick README fixupPietro Gagliardi
2014-03-17Put the Label that changed each second in the main test.Pietro Gagliardi
2014-03-17Elaborated in the README.Pietro Gagliardi
2014-03-17Dumped the mutex locks from the other controls and elaborated/asked for help ↵Pietro Gagliardi
in the README.
2014-03-17Removed the areasnafu.md now that I have a solution... reverting back to the ↵Pietro Gagliardi
channel-based approach re-introduced the Paint deadlock, so it was still there all along.
2014-03-17Removed the mutexes from Labels and Areas because I'm at my wits end about ↵Pietro Gagliardi
settling the deadlock between window resizing and setting a Label's text.
2014-03-16Updated the test program to the new AreaHandler interface. The deadlock ↵Pietro Gagliardi
still happens... just not so easily... so it's elsewhere...
2014-03-16Changed Area to use a delegate handler object that implements the new ↵Pietro Gagliardi
AreaHandler interface for handling events. Also updated the GTK+ backend with this change, and made a few more tweaks to the documentation in area.go.
2014-03-16Added a document explaining my Area woes.Pietro Gagliardi
2014-03-16Added a time display to the Area test for testing deadlocks that will happen ↵Pietro Gagliardi
when Area becomes more feature-filled... it appears one has now appeared when resizing the window...
2014-03-16Split out includes of <gtk/gtk.h> into a new header file so the GTK+ ↵Pietro Gagliardi
versioning macros can be included in all Go files, not just area_unix.go.
2014-03-16More TODOs.Pietro Gagliardi
2014-03-16Attempted to fix non-handling of the Alt key by having the GDK window's ↵Pietro Gagliardi
display's keymap used instead; it didn't work.
2014-03-15Clarified that MouseEvent.Held will not include Down/Up.Pietro Gagliardi
2014-03-15Added a test of the mouse event handling.Pietro Gagliardi
2014-03-15Added note in MouseEvent documentation about both Down and Up being 0 ↵Pietro Gagliardi
representing mouse movement.
2014-03-15Added (untested) GTK+ implementation of Area's mouse events.Pietro Gagliardi
2014-03-15Added portable code for Area's MouseEvent.Pietro Gagliardi
2014-03-15More mouse event planning. I now have enough figured out to implement on GTK+.Pietro Gagliardi
2014-03-15Documented the details of Area's coordinate system.Pietro Gagliardi
2014-03-15More mouse event planning and TODOs.Pietro Gagliardi
2014-03-15More mouse handling planning.Pietro Gagliardi
2014-03-15More mouse event handling planning.Pietro Gagliardi
2014-03-15Changed the Go 1.3 comment in README to point to go tip since it was ↵Pietro Gagliardi
confusing some people.
2014-03-15Allowed GTK+ windows to be resized smaller than the size request of the ↵Pietro Gagliardi
controls within.