Commit Graph

22 Commits

Author SHA1 Message Date
Pietro Gagliardi f2760aebde Removed autocorrect from Mac OS X uiEntries. Also moved uiFreeText() to text_darwin.m. 2015-04-10 17:06:59 -04:00
Pietro Gagliardi 016a05aebf Eliminated direct use of strdup(); introduced uiDarwinNSStringToText() to do that work for us (and abort on failure). 2015-04-10 13:25:09 -04:00
Pietro Gagliardi b4d527736c Resolved some TODOs (including one resolved a while ago on IRC but not removed until now; thanks various people in irc.freenode.net/#macdev). 2015-04-10 03:11:44 -04:00
Pietro Gagliardi 759feeb7a1 Added uiWindowMargined() and implemented it on all platforms. 2015-04-09 21:11:56 -04:00
Pietro Gagliardi 85eb453416 Removed direct vtable calls from uiControl. 2015-04-09 19:17:23 -04:00
Pietro Gagliardi da0f0b3d69 Implemented uiWindowSetMargined() on Mac OS X. 2015-04-09 15:10:12 -04:00
Pietro Gagliardi 07fc337324 Implemented the text functions on OS X. 2015-04-09 11:54:02 -04:00
Pietro Gagliardi 310fbe58fd And implemented proper control showing on Mac OS X. 2015-04-08 19:14:22 -04:00
Pietro Gagliardi 7b6a11d36a Cleaned up window_darwin.m's data structure juggling. 2015-04-08 16:04:27 -04:00
Pietro Gagliardi 93ead17eef Built up a better system for handling data cleanup on Mac OS X; thanks to http://stackoverflow.com/questions/29522715/is-there-a-reliable-way-to-destroy-private-data-structures-when-a-standard-nsvie. 2015-04-08 15:53:50 -04:00
Pietro Gagliardi 12ff16e994 Cleaned up the uiWindow Darwin implementation. Let's try this again... 2015-04-08 04:38:34 -04:00
Pietro Gagliardi 44d8833a64 Wrote up cleanup gunk on Mac OS X. Really gunk; I don't like what all this does but I don't think there's another way. 2015-04-08 03:38:08 -04:00
Pietro Gagliardi 9e4e11da8c Better monitoring of Objective-C objects (including main GUI objects). 2015-04-08 02:28:42 -04:00
Pietro Gagliardi d6bf5d6d48 Added allocation logging to Objective-C objects. Fixed some Mac OS X build issues. 2015-04-08 00:27:03 -04:00
Pietro Gagliardi f3e7227739 Decided to remove the logging for now. Will inject it right into the allocation system later. 2015-04-07 22:58:06 -04:00
Pietro Gagliardi a039e12d8a More allocation logging. I wonder if I can just log directly in the allocators themselves... 2015-04-07 22:54:21 -04:00
Pietro Gagliardi e4d30e3860 More TODOs. 2015-04-07 16:59:23 -04:00
Pietro Gagliardi 28adb7fee5 Fixed compiler errors and bugs. uiButton on Mac OS X works! 2015-04-07 16:38:51 -04:00
Pietro Gagliardi e53ec76fb5 Added the Mac OS X uiContainer. Added it to uiWindow. Added the Mac OS X coordinate system mirroring to the new control logic. Renamed *_darwin.c to *_darwin.m. 2015-04-07 15:45:56 -04:00
Pietro Gagliardi 9298bc9e37 Changed ui_*.h to uipriv_*.h pending a public non-portable API. 2015-04-07 00:26:27 -04:00
Pietro Gagliardi e08a9c0492 Fixed initial Mac OS X code. 2015-04-06 20:01:14 -04:00
Pietro Gagliardi ba4967f00b Started writing the same but for Mac OS X. This time it's not tested yet; will test now. 2015-04-06 19:04:13 -04:00