summaryrefslogtreecommitdiff
path: root/bleh_darwin.m
AgeCommit message (Collapse)Author
2014-05-16Removed bleh_darwin.m and the initBleh() function that it contained as its ↵Pietro Gagliardi
only remaining code.
2014-05-15Removed the dummy NSEvent code from bleh_darwin.m and rewrote it in ↵Pietro Gagliardi
Objective-C in delegateuitask_darwin.m. And now to nuke bleh_darwin.m and change all the int64_ts to intptr_ts and merge the .h files...
2014-05-15Removed some residual drawRect: stuff from bleh_darwin.m. So close...Pietro Gagliardi
2014-05-15Removed the Area drawing code from bleh_darwin.m and rewrote it in ↵Pietro Gagliardi
Objective-C in area_darwin.m.
2014-05-15Removed the event point translation from bleh_darwin.m and rewrote it in ↵Pietro Gagliardi
Objective-C in area_darwin.m.
2014-05-15Removed the control font code from bleh_darwin.m and rewrote it in ↵Pietro Gagliardi
Objective-C in sysdata_darwin.m.
2014-05-15Removed the stray applicationShouldTerminate: stuff from bleh_darwin.m. ↵Pietro Gagliardi
(delegateuitask_darwin.m has it already.)
2014-05-15Removed the sole objc_msgSendSuper() wrapper from bleh_darwin.m.Pietro Gagliardi
2014-05-15Removed bleh_darwin.m's tracking area logic and rewrote it in Objective-C in ↵Pietro Gagliardi
area_darwin.m.
2014-05-15Removed most, if not all, of the objc_msgSend() wrappers.Pietro Gagliardi
2014-05-15Migrated the new Objective-C-based Mac OS X Listbox code in and got rid of ↵Pietro Gagliardi
things preventing the darwin/386 build otherwise. 10.6 doesn't show the NSObservedObjectKey link error, but shows a crapton more, so this is gonna be a fun bug report... I'll use contrived examples and provide the new build logs based on this commit in the meantime as well.
2014-05-12Handled AreaHandler.Mouse()'s handled return properly on Mac OS X. Also ↵Pietro Gagliardi
fixed some typos in objc_darwin.h.
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 some more exposition to a comment in bleh_darwin.m regarding tracking ↵Pietro Gagliardi
area options.
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-11Switched to alpha-premultiplied image data for Areas on Mac OS X. This is ↵Pietro Gagliardi
the easiest change; it involves removing one bit flag from the NSBitmapImageRep constructor (the other changes are indentation changes).
2014-04-07Fixed AppQuit on Mac OS X (forgot to set the NSApp delegate AND was using ↵Pietro Gagliardi
the wrong selector).
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-06Wrote an update on the NSUInteger/NSInteger situation in bleh_darwin.m.Pietro Gagliardi
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-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_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-30When we created our delegate and view classes on Mac OS X, it turned out we ↵Pietro Gagliardi
were accidentally subclassing the metaclass (of NSObject and NSView, respectively), not the actual superclass itself. Fixed tha. This also fixed that mysterious objc_new()/[object init] not working on the delegate class problem.
2014-03-30Attempted to add the Area bare bones and resizing code to the Mac OS X ↵Pietro Gagliardi
backend. It complains that initWithFrame: is not implemented...
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-03Fixed selection grabbing and also append/insert/removal crashes: all were ↵Pietro Gagliardi
selector name typos. Also some TODOs Now to make this scroll/confine it to a scroll view...
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-01Expanded documentation for previous commit.Pietro Gagliardi
2014-03-01Fixed the preferredSize() stall. Dumb Intel ABI optimizations. Good thing ↵Pietro Gagliardi
with 10.6 minimum I won't have to worry about PowerPC compatibility... but if ARM ever comes to the desktop all bets are off.
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-01Reworded a comment in bleh_darwin.m: the docs don't imply the wrong ↵Pietro Gagliardi
information, they outright say the wrong information.
2014-03-01Added a TODO marker to the last commit.Pietro Gagliardi
2014-03-01Fixed 32-bit Mac OS X builds (and also got rid of clang's current warnings): ↵Pietro Gagliardi
turns out the correct usage of objc_msgSend_stret() is not in the official docs...
2014-03-01Fixed Mac OS X sysData.setWindowSize() to get the window origin. Now to fix ↵Pietro Gagliardi
the rest of the errors...