Pietro Gagliardi
f5be05f143
shouldQuit() -> uiprivShouldQuit().
2018-04-15 21:54:46 -04:00
Pietro Gagliardi
f93973d3cb
Migrated implbug() and userbug() to uipriv forms.
2018-04-15 21:46:08 -04:00
Pietro Gagliardi
4a57b15d09
Renamed the common options variable to uiprivOptions.
2018-04-15 15:49:45 -04:00
Pietro Gagliardi
9194ba29fe
And fixed build errors. Now I'm sure there are warnings that are real bugs, so let's handle those next.
2018-03-10 19:02:10 -05:00
Pietro Gagliardi
1fc9f137bc
Migrated fontbutton.m back.
2018-03-04 19:51:45 -05:00
Pietro Gagliardi
ad34745327
Fixed loading of undocumented symbols. Now we're making progress! And what's more, fvar support is working! But not perfectly — everything seems to be hitting extremes...
2017-11-03 21:55:43 -04:00
Pietro Gagliardi
dd54469677
Set up a future system for OS X like we have on GTK+ and moved everything we already have to it. You'll notice we also set up a loader for what we're going to use this for: using OpenType attributes directly on OS X.
2017-05-19 16:40:52 -04:00
Pietro Gagliardi
4195bc3b4b
Finalized and implemented underlines on OS X.
2017-02-14 14:57:56 -05:00
Pietro Gagliardi
d3b33e39ce
Further enhancements to custom run loops on OS X for custom resize loops.
2016-10-31 14:33:11 -04:00
Pietro Gagliardi
39fdf7457b
More preparation for the OS X window move/resize code: uiMainStep() is split into an internal function that takes a pre-sendEvent: interception specifically intended for internal loops.
2016-10-27 23:32:33 -04:00
Pietro Gagliardi
5de62d073f
Cal [NSApp finishLaunching]. Fixes #182 .
2016-10-26 09:39:43 -04:00
Pietro Gagliardi
ae14542c9a
Improved uiMainSteps().
2016-06-17 09:22:31 -04:00
Pietro Gagliardi
d4492c06a9
Changed the uiMainSteps() API as the GTK+ port will need it to be done this way...
2016-06-16 13:49:50 -04:00
Pietro Gagliardi
da4b396aaf
Added uiMainSteps(), which sets things up to use uiMainStep() for the main loop. Implemented on OS X.
2016-06-16 13:45:24 -04:00
Pietro Gagliardi
eb11452dd3
More TODO resolution. Some TODOs were moved to the issue tracker.
2016-05-28 18:01:25 -04:00
Kevin Wojniak
bef8c4663f
Fix additional OS X memory management issues
...
Some of these were found via clang's analyzer
2016-05-24 20:17:08 -07:00
Pietro Gagliardi
558e56c124
Implemented uiMainStep() on OS X.
2016-05-24 22:44:40 -04:00
Kevin Wojniak
49e17cbfd7
Fix "attempt to destroy map with items inside" when menuManager is deallocated
...
Fixes #58 . The map needs to have its contents properly freed which requires releasing the properly retaining the NSMenuItem object.
2016-05-23 21:41:52 -07:00
Kevin Wojniak
abb3c39c78
Spaces to tabs
2016-05-23 21:11:12 -07:00
Kevin Wojniak
2ebb9052cc
Fix crash when closing program on OS X
...
This fixes #14 . Autorelease pools need to be used to make sure objects get properly released. Unfortunately this produces a new error when menuManager gets deallocated, which I am looking at fixing:
map.m:25:mapDestroy() POSSIBLE IMPLEMENTATION BUG; CONTACT ANDLABS:
attempt to destroy map with items inside
2016-05-23 21:09:46 -07:00
Pietro Gagliardi
bf411e787e
Implemented uiColorButton on OS X.
2016-05-15 20:51:33 -04:00
Pietro Gagliardi
2226c54430
Made the font dialog respect our new modality rules on OS X.
2016-05-15 19:56:01 -04:00
Pietro Gagliardi
d52c92d2f8
Cleaned out complain()s in the OS X backend. Affects everything *except* drawtext.m, which will need its own migration.
2016-05-13 20:14:46 -04:00
Pietro Gagliardi
f60178798f
Removed common type code.
2016-04-24 15:08:48 -04:00
Pietro Gagliardi
f1c9b2b15b
Made the uiFontButton more robust by making it not show irrelevant controls and not affect other controls. Also sets up things for uiColorButton.
2016-04-14 14:01:33 -04:00
Pietro Gagliardi
5fd3a6fbab
Long-awaited TODO: removed the "in terminate:" message.
2016-01-16 19:34:34 -05:00
Pietro Gagliardi
dec34670bb
Fixed keyboard events not working on OS X.
2016-01-09 15:05:19 -05:00
Pietro Gagliardi
f77955aefb
Added uiQueueMain() (basically g_idle_add()) and implemented it on all platforms except Haiku. A test to come. After this we can start rewriting the Go package ui at long last.
2015-12-04 23:42:03 -05:00
Pietro Gagliardi
54332b90fb
Finally merged out the redo folder.
2015-09-02 13:48:06 -04:00
Pietro Gagliardi
ed9e70c058
Started redoing the OS X port.
2015-07-02 16:09:57 -04:00
Pietro Gagliardi
e1e9dddfdd
Fixed some more warnings on the OS X backend. This also introduces realNSApp() and makes applicationClass global, which is important for fixing a few other TODOs (the setAppleMenu: one, for instance).
2015-05-10 14:27:25 -04:00
Pietro Gagliardi
c062d2d0b5
Got rid of darwin/main.m and moved darwin/init.m in its place. The GTK+ backend won't need any of the should quit work; only the Quit item needs work and that shouldn't take too long. The Windows backend needs WM_QUERYENDSESSION support.
2015-05-09 10:24:07 -04:00
Pietro Gagliardi
2b83300e0b
Implemented the quitting logic on OS X. Now I can get rid of darwin/main.m and move darwin/init.m in its place.
2015-05-09 10:18:19 -04:00
Pietro Gagliardi
6c6bce3702
Moved everything back to the top level.
2015-04-29 11:02:38 -04:00
Pietro Gagliardi
4c280ca42c
Removed or moved a bunch of stale files from the old source. All that's left now is to re-add the main controls and recreate the test program.
2015-04-29 10:20:25 -04:00
Pietro Gagliardi
e69c0c93eb
Split all OS backends into their own folders.
2015-04-15 18:49:45 -04:00