summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-04-05Moved all selector and class initialization for bleh_darwin.m into its own ↵Pietro Gagliardi
function.
2014-04-05Removed NilClass from the shared Mac OS X files (objc_darwin.h and ↵Pietro Gagliardi
bleh_darwin.m) as the //export issue that required that no longer applies.
2014-04-04Fixed 32-bit Mac OS X builds: Area crashed due to random ABI changes. Also ↵Pietro Gagliardi
more TODOs.
2014-04-04Changed the way drawRect: was being added to our Mac OS X Area such that we ↵Pietro Gagliardi
no longer need a separate function to add it to the class.
2014-04-04Updated the Area drawRect: adding error message to look like the ones that ↵Pietro Gagliardi
come out of the new class system.
2014-04-04Changed the Area class on Mac OS X to use the new class creation code. This ↵Pietro Gagliardi
gets rid of ALL the class creation code from delegate_darwin.go.
2014-04-04Created a new, simpler, easier to work with, and consistent way to create ↵Pietro Gagliardi
the necessary Objective-C classes in our Go code, and converted the appDelegate class to use it. Now for goArea...
2014-04-04Wrapper functions are no longer used (see the past few commits), so that ↵Pietro Gagliardi
comment was removed from bleh_darwin.m. That comment also had the wrong filename all this time (bleh_darwin.go instead of objc_darwin.go).
2014-04-04Removed objc_alloc(). This should be all of them. Now to redo how classes ↵Pietro Gagliardi
are handled...
2014-04-04Removed objc_msgSend_rect(). This also consolidates all initWithFrame: calls ↵Pietro Gagliardi
into a simple initWithDummyFrame().
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