Platform Mac OSX 10.6.8 - Snow Leopard Tools: XCode with the gnu tools and libraries off the snow leopard install DVD. gcc version 4.2.1
I only used the supplied libraries on the dvd. However, I suppose one could download the gtk2 source code and build gtk2 from source and use the gtk2 option for the gui. Which probably would produce a more pleasing gui than the clunky athena. It seems the tools supplied by the DVD are sufficient as a starting point to build your own support libraries which you can use with vim: lua, etc. If I use --enable-gui=athena in the configure script, a gui version of athena is built with icons, menus and all working. The --enable-gui=carbon also works. And I find a Vim executable in the src directory, not vim but Vim. It runs also. But I don't see any menus, icons, etc. It looks and works like a regular console version of vim. These were built on a macbook pro 15 2006 glossy core duo with the 32-bit Yonah Core Duo Processor. I'm used to building vim on an M68k mac running linux. So, working on an intel based mac seems to be much easier and quicker. I was probably building vim before most of you guys were born. On Thursday, August 13, 2020 at 1:12:30 AM UTC-5 Yee Cheng Chin wrote: > Alright, filed https://github.com/vim/vim/pull/6703 to do some clean up > on the Mac GUI code/docs. It mostly handles the obvious stale comments/code > that are now confusing as the Mac GUI is now removed. > > Also had some small questions (it's on the pull request) about how we > should handle stale deprecated options like 'macatsui'. > > On Wed, Aug 12, 2020 at 5:22 AM Bram Moolenaar <br...@moolenaar.net> > wrote: > >> >> Yee Cheng Chin wrote: >> >> > Sorry for chiming in late after gui_mac.c is actually removed (that's >> how I >> > discovered this thread!), but I'm the current maintainer of MacVim (but >> not >> > the original author). But yeah MacVim doesn't use gui_mac.c at all and >> it >> > exists as a downstream fork of Vim in a different repository. Mac GUI >> apps >> > generally work as an app bundle that only have a single instance >> running, >> > and so MacVim's GUI code serves as a separate container app that spawns >> > multiple Vim processes (one per window). The code to do all of that are >> a >> > bunch of Objective C code (in the folder linked to above) and a fair >> bit of >> > modifications inside Vim source code itself to provide MacVim-specific >> > behaviors using ifdef's. There is a file called gui_macvim.m ( >> > >> https://github.com/macvim-dev/macvim/blob/master/src/MacVim/gui_macvim.m) >> > that serves a similar function as gui_mac.c as the entry point of GUI >> code >> > in MacVim. >> > >> > Some of the MacVim modifications in Vim are sort of just general Mac >> > improvements and maybe could be ported over to Vim itself, but I haven't >> > done a scrub of the Vim-MacVim diff to see if that's the case. Some >> others >> > are very MacVim-specific (e.g. help page for MacVim, or support for >> mapping >> > Cmd keys and touchpad gestures). >> > >> > But long story short, yes, gui_mac.c is a totally separate thing from >> > MacVim. I think I tried to build that legacy Mac GUI before with varying >> > success and can't remember how far I got, but yes it didn't work well at >> > all. Removing it actually probably makes merging from upstream easier >> for >> > us because there are fewer potential places to have merge conflicts. >> >> Removing gui_mac.c was easy, but there are several #ifdefs that are >> related, and not always clear what they were for. If any of this was >> actually used by MacVim, please let us know what should be put back. >> >> I can actually probably delete some more dead code. Perhaps you, or >> someone else with a Mac and development environment, can try making >> changes and check the Terminal version still fully works. >> >> >> -- >> If Microsoft would build a car... >> ... The airbag system would ask "are you SURE?" before deploying. >> >> /// Bram Moolenaar -- br...@moolenaar.net -- http://www.Moolenaar.net >> \\\ >> /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ >> \\\ >> \\\ an exciting new programming language -- http://www.Zimbu.org >> /// >> \\\ help me help AIDS victims -- http://ICCF-Holland.org >> /// >> > -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/f43a04e8-17d9-4507-b5ce-6499aa04ba84n%40googlegroups.com.