Commit Graph

22 Commits

Author SHA1 Message Date
Pietro Gagliardi 6a40011f85 Implement Mac OS X AreaHandler.Paint(). 2014-03-30 14:25:01 -04:00
Pietro Gagliardi 8f944c7ec6 When we created our delegate and view classes on Mac OS X, it turned out we 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-30 13:21:10 -04:00
Pietro Gagliardi 08dfb5da20 Attempted to add the Area bare bones and resizing code to the Mac OS X backend. It complains that initWithFrame: is not implemented... 2014-03-30 11:19:13 -04:00
Pietro Gagliardi f2d6daa9ea Added the beginning of the Mac OS X Area implementation. Also fixed the long-broken Mac OS X build. 2014-03-29 23:57:49 -04:00
Pietro Gagliardi d29e1b8710 Have ui.Go() return on main() return on Mac OS X. 2014-03-05 20:09:15 -05:00
Pietro Gagliardi 842815b2e0 Fixed selection grabbing and also append/insert/removal crashes: all were selector name typos. Also some TODOs Now to make this scroll/confine it to a scroll view... 2014-03-03 01:51:54 -05:00
Pietro Gagliardi 0baf0f4a97 Fixed the compiler errors. The Mac OS X Listboxes are created!... but don't show any items. Let's figure out why. 2014-03-02 23:28:43 -05:00
Pietro Gagliardi bdce1b9dc2 Added untested Mac OS X Listbox code. Won't compile yet... 2014-03-02 23:11:29 -05:00
Pietro Gagliardi 4bc35e2db5 Finished the implementation of Combobox on Mac OS X. 2014-03-02 18:38:45 -05:00
Pietro Gagliardi 234b724403 Added the other Combobox modification functions to the Mac OS X backend. Before continuing, I'll get messageboxes working... 2014-03-02 17:44:13 -05:00
Pietro Gagliardi 1ab2b611cd Expanded documentation for previous commit. 2014-03-01 21:52:15 -05:00
Pietro Gagliardi ca81eb0ea8 Fixed the preferredSize() stall. Dumb Intel ABI optimizations. Good thing 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-01 21:44:10 -05:00
Pietro Gagliardi 0709351fed Attempted to fix the lack of resizable window borders by setting the 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-01 20:31:17 -05:00
Pietro Gagliardi 56eb64429d Fixed most errors. Now I just need to add a sysData pool. 2014-03-01 17:01:28 -05:00
Pietro Gagliardi 0b4e1ff246 Reworded a comment in bleh_darwin.m: the docs don't imply the wrong information, they outright say the wrong information. 2014-03-01 16:01:19 -05:00
Pietro Gagliardi 91379e5a9a Added a TODO marker to the last commit. 2014-03-01 16:00:05 -05:00
Pietro Gagliardi b45db58261 Fixed 32-bit Mac OS X builds (and also got rid of clang's current warnings): turns out the correct usage of objc_msgSend_stret() is not in the official docs... 2014-03-01 15:58:54 -05:00
Pietro Gagliardi 00243442d2 Fixed Mac OS X sysData.setWindowSize() to get the window origin. Now to fix the rest of the errors... 2014-03-01 13:58:38 -05:00
Pietro Gagliardi 0770c2a697 Fixed various Mac OS X compilation errors. 2014-03-01 13:53:29 -05:00
Pietro Gagliardi a83dcb0282 Added initial Mac OS X sysData code. Almost ready for first test build, hopefully? 2014-03-01 13:29:24 -05:00
Pietro Gagliardi 3def6f6dac Added objc_msgSend_stret_size_noargs(), needed by the Mac OS X sysData.preferredSize(). 2014-03-01 04:21:47 -05:00
Pietro Gagliardi a3b01892fd Moved the Objective-C wrappers and helpers out of darwintest. 2014-03-01 04:17:32 -05:00