Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now all the UI drivers are compiled for all platforms (and nonsense ones, like ui_carbon.c on, say, Windows, will be one-fuction stubs), and the appropriate one is chosen at startup. This lets us pick a GUI one by default, but fall back to stdio if there's an initialization issue or the let the user pick stdio because he's ssh'd to a headless server, etc). It also lets us plug in a Qt and GTK and blahblahblah UI on linux and let everything coexist in one binary. Also, a lot of the bad abstraction breakage in platform_unix.c that got wedged in there when this was a Mac Thing Done In A Hurry has been cleaned up into general application code in mojopatch.c, platform stuff in platform_*, and UI stuff in the UI drivers. Over all, this was a lot of good cleanup that'll make sane Linux and Windows ports much easier.
- Loading branch information
Showing
9 changed files
with
512 additions
and
297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.