summaryrefslogtreecommitdiff
path: root/objc_darwin.h
AgeCommit message (Collapse)Author
2014-05-12Replaced the horribly memory-inefficient NSIndexSet operation to get the ↵Pietro Gagliardi
list of selected indices in the Mac OS X Listbox with a far simpler option that avoids deferring some of the work (apart from objc_msgSend() calls) to cgo and the use of reflect.SliceHeader at all! It just grabs the indices from the NSIndexSet one at a time using the previous index as an anchor.
2014-05-10Added tracking areas to Area on Mac OS X so mouse move events can work; they ↵Pietro Gagliardi
work now.
2014-04-13Fixed Mac OS X so that window sizes do not include the titlebar and frame.Pietro Gagliardi
2014-04-06Added (untested; VM issues) code to handle Mac OS X Quit Dock menu items and ↵Pietro Gagliardi
other related stuff that may happen in the future. Will drop the TODO after I can test it.
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-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-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-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-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.
2014-03-30Implement Mac OS X AreaHandler.Paint().Pietro Gagliardi
2014-03-29Added the beginning of the Mac OS X Area implementation. Also fixed the ↵Pietro Gagliardi
long-broken Mac OS X build.
2014-03-05Have ui.Go() return on main() return on Mac OS X.Pietro Gagliardi
2014-03-05Xcode 4 comes with a version of clang that treats inline differently: it ↵Pietro Gagliardi
requires exactly one definition of the inline function in the linked unit. static inline is C99-compliant (according to LeoNerd in freenode/##c) and does not have this problem, so use that in objc_darwin.h instead. Fixes issue 1.
2014-03-03Added Mac OS X ProgressBars. Mac OS X now feature-equal!Pietro Gagliardi
2014-03-02Fixed the compiler errors. The Mac OS X Listboxes are created!... but don't ↵Pietro Gagliardi
show any items. Let's figure out why.
2014-03-02Added untested Mac OS X Listbox code. Won't compile yet...Pietro Gagliardi
2014-03-02Finished the implementation of Combobox on Mac OS X.Pietro Gagliardi
2014-03-02Added the other Combobox modification functions to the Mac OS X backend. ↵Pietro Gagliardi
Before continuing, I'll get messageboxes working...
2014-03-01Attempted to fix the lack of resizable window borders by setting the ↵Pietro Gagliardi
NSApplication activation policy. This fixed it, and also fixed a bunch of other things, such as the application being seen as part of Terminal, lack of dock icon, lack of application menu, etc.
2014-03-01Fixed most errors. Now I just need to add a sysData pool.Pietro Gagliardi
2014-03-01Fixed Mac OS X sysData.setWindowSize() to get the window origin. Now to fix ↵Pietro Gagliardi
the rest of the errors...
2014-03-01Added initial Mac OS X sysData code. Almost ready for first test build, ↵Pietro Gagliardi
hopefully?
2014-03-01Fixed typo in objc_darwin.h.Pietro Gagliardi
2014-03-01Added objc_msgSend_ptr(), needed by uitask_darwin.go.Pietro Gagliardi
2014-03-01Added objc_msgSend_stret_size_noargs(), needed by the Mac OS X ↵Pietro Gagliardi
sysData.preferredSize().
2014-03-01Moved the Objective-C wrappers and helpers out of darwintest.Pietro Gagliardi