summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-04-04Removed objc_msgSend_rect_uint_uint_bool().Pietro Gagliardi
2014-04-04Removed objc_msgSend_rect_bool().Pietro Gagliardi
2014-04-04Removed objc_msgSend_uint().Pietro Gagliardi
2014-04-04More TODOs.Pietro Gagliardi
2014-04-04Removed objc_release().Pietro Gagliardi
2014-04-04Added a TODO related to the previous commit.Pietro Gagliardi
2014-04-04Mac OS X indeterminate progresbars were not animating under certain ↵Pietro Gagliardi
conditions; fix that.
2014-04-04Removed objc_new(). The idea is to remove all the objc_* functions that ↵Pietro Gagliardi
aren't prefixed with C. (except objc_getClass()).
2014-04-04Got rid of objc_addDelegate(); it was only called in one place (Mac OS X ↵Pietro Gagliardi
Window creation). Also forgot to mention that the previous commit also disables mouse movements in Cocoa Areas for now; I need to replace the current code with one that uses tracking because mouse movements are system-global.
2014-04-04Fixed Mac OS X Button appearance; turns out it was using the wrong font. ↵Pietro Gagliardi
Also updated the TODO file to mark this fix and remove other stale/already fixed details.
2014-04-03Fixed mouse move events on Mac OS X not returning buttons right, I think: ↵Pietro Gagliardi
turns out I was sending the wrong message in. Now I have to figure out how to filter out mouse move messages; then I can really make sure this works right...
2014-04-03Adjusted Button and Combobox sizes on Windows to be better...Pietro Gagliardi
2014-04-03Added question about Windows proper sizes... for now...Pietro Gagliardi
2014-04-03Updated TODO on dragging in an Area (decided to go with what GTK+ and ↵Pietro Gagliardi
Windows currently do; dragging was working on Windows all along; now dragging is weird on Mac).
2014-04-03Enabled mouse move events on Mac OS X. Mosue events now just got stranger ↵Pietro Gagliardi
and buggier there...
2014-04-02Fixed the major scrolling corruption on Windows: had to commit the scroll ↵Pietro Gagliardi
changes before we can get to them in our painting routine =P This doesn't fix ALL the issues; check the (now-updated) TODO.
2014-04-02More TODOs.Pietro Gagliardi
2014-04-02More TODOs.Pietro Gagliardi
2014-04-02Fixed Listbox and LineEdit borders on Windows. Also more TODOs.Pietro Gagliardi
2014-04-02More TODOs.Pietro Gagliardi
2014-04-02Forced Common Controls version 6 on Windows by embedding the needed manifest in.Pietro Gagliardi
2014-04-02Switched to calling the Windows MulDiv() function instead of reimplementing ↵Pietro Gagliardi
it ourselves in prefsize_windows.go.
2014-04-02Added a println() to the main test window to signal that window closing has ↵Pietro Gagliardi
happened. This is used for ensuring that closing programs from a task switcher works as expected (that is, that the appropriate w.Closing event is triggered if an individual window is asked to be closed, and something else if an application as a whole is...).
2014-04-02Not using PostThreadMessage() (a few commits back) seems to fix the weird ↵Pietro Gagliardi
Invalid thread ID. error that happens when running package ui-based programs in wine for the first time (I assume that issue is related to the one that led to the PostThreadMessage() fix).
2014-04-02Fixed odd Listbox sizing on Windows. (Windows by default sizes List Box ↵Pietro Gagliardi
controls so that partial items are not visible.)
2014-04-01Control candidates document updates.Pietro Gagliardi
2014-04-01Changed the font loading on Windows to always load the control font unless a ↵Pietro Gagliardi
flag to not load any font is set; when menus and statusbars are added, they need special casing. This also means the preferred size calculations reads controlFont directly (it will need the same change).
2014-04-01Fixed Windows control sizing: turns out simply calling GetTextMetrics() was ↵Pietro Gagliardi
not enough, as the GetDC() functions don't load the control font into the DC; we have to do it ourselves with SelectObject() (according to GetTextMetrics()'s docs on MSDN). Upon re-evaluation, the only things that need custom fonts are menus and statusbars; I don't know if menus can be done with the standard contorls and statusbars change the font of all controls inside... so how fonts are handled in classData needs to change now.
2014-04-01More TODOs.Pietro Gagliardi
2014-04-01Remove TODO about GTK+ and Cocoa errors since we're just assuming errors are ↵Pietro Gagliardi
mistakes I made in the implementation because at this point that's really what we're left with since on Cocoa doing manual exception handling is discouraged... or something like that.
2014-04-01Fixed the Windows stalling when scrolling an Area problem: messages were ↵Pietro Gagliardi
getting lost because (I assume) scrolling is done in a modal event loop. Alas, we have to change to using a dummy window to handle events. Also altered the respective TODO to document bugs now exposed by this fix.
2014-04-01Separated initial text from sysData.make() on the Mac OS X backend, ↵Pietro Gagliardi
completing that set of commits.
2014-04-01Made the sysData.make() change from the previous commit on the Windows backend.Pietro Gagliardi
2014-04-01Removed the initText parameter from sysData.make() and changed all ↵Pietro Gagliardi
invocations to call sysData.setText() separately; this avoids the need to check if sysData.setText() is valid. Also implemented that on GTK+.
2014-04-01Got rid of gtkWidget and changed to using *C.GtkWidget everywhere. This gets ↵Pietro Gagliardi
rid of some of the casting functions and invocations of said functions, and only adds sysdata_unix.go to the cgo list.
2014-04-01Removed winerrors.md because I screwed it ages ago.Pietro Gagliardi
2014-04-01Moved <stdlib.h> includes in the GTK+ backend to gtk_unix.h; organized that ↵Pietro Gagliardi
file a bit.
2014-04-01More TODOs.Pietro Gagliardi
2014-04-01Changed the cSysData dummy functions to an interface that a dummy sysData ↵Pietro Gagliardi
instance is tested against to make sure that not only all functions exist, but also that they are all the correct type.
2014-04-01Removed a stray TODO comment whose purpose is long forgotten.Pietro Gagliardi
2014-04-01Reordered each part of the Windows uitask so that it does things in the same ↵Pietro Gagliardi
order and with the same goroutine setup as the other platforms; this gets rid of a few channels. Also panics on more errors (gets rid of a few more channels) and removed some stray TODOs.
2014-04-01Added another row to the open/save dialog test table.Pietro Gagliardi
2014-04-01Added more stuff about file dialogs. Now mostly complete.Pietro Gagliardi
2014-03-31Added (incomplete) stuff about file dialogs to controlcandidates.md.Pietro Gagliardi
2014-03-30Another name in events_darwin.go (see previous commit).Pietro Gagliardi
2014-03-30Added right Command to events_darwin.go.Pietro Gagliardi
2014-03-30Marked Windows MouseEvent.Held as not done; oops.Pietro Gagliardi
2014-03-30Updated the documentation: Area now works on all platforms, Modifiers ↵Pietro Gagliardi
behavior on both left and right keys simultaneously is undefined for now, and the way to create custom Controls no longer involves embedding Area.
2014-03-30Added key events to Mac OS X Areas. Now Area is feature-complete (but buggy) ↵Pietro Gagliardi
on all platforms :D Also more TODOs.
2014-03-30Implemented Area mouse events on Mac OS X. Also fixed a few other things ↵Pietro Gagliardi
left behind in the previous commits. Also more TODOs.