2017-04-21 1:48 GMT+09:00 Bram Moolenaar <[email protected]>:

>
> Kazunobu Kuriyama wrote:
>
> > [TL;DR]  I wish you rethink about this.  It seems there's
> misunderstanding
> > about the proposed patch.  Since I thought it was not the one on my
> pert, I
> > didn't address it to the feedback from Marvin.  But you still rase
> similar
> > concerns.  Now I'm going to try to address them at full length.   Since
> > it's pretty long, please read it at your convenient time.
>
> Sorry, this is too much to read.  Let's summarize.
>
> First of all, we need to keep all the existing values for has().
> Otherwise plugins break.  So keep has('gui_mac').


I'll keep intact the description of gui_mac in eval.txt.  Then, what should
we do with evalfunc.c:5670 where "gui_mac" is set as a member of has_list[]
when FEAT_GUI_MAC is defined?  My proposal was to remove it together with
the ifdef block.  Will we keep it there as-is or keep it there yet
replacing FEAT_GUI_MAC with 0 or a newly designated preprocessor symbol,
say SUPPORT_DISCONTINUED?


> I can't remember why we had has('mac') return false on any Mac OS.
> Also having it return true for OS/X is most likely OK.
>

Let's make has('mac') work just the way people expect.  As I proposed
previously, the meaning of has('macunix') won't change.


> The terms "with darwin" and "without darwin" are very confusing.  There
> is no help for "darwin". Cleaning that up sounds like a good idea.
>

OK, I'll add some explanation on the darwin feature to os_mac.txt, and make
links between that and the terms.


> For the preprocessor symbols: Let's first list all the possible ways Vim
> can be compiled for the Mac.  For as far as that matters (I suppose the
> ppc vs intel choice only matters for compiler flags).  The
> --disable-darwin configure argument changes a few things.
>

Still, prior to making the suggested list, I think we should first remove
the code relevant to Mac OS 9 and the Carbon GUI.  Please allow me to
reiterate them:

version7.txt:108 (2005-12-06, 241a8aaa48):
    "The support for Mac OS 9 has been removed."


src/configure.ac:2231  (2010-07-14, 164fca39bd):
    "AC_MSG_RESULT(auto - Carbon GUI is outdated - disable GUI support)"

They are backlogs overdue.


> How about Carbon?  On my Mac air it appears not to work, Quickdraw.h is
> missing.
>

They say that Carbon wasn't updated to support 64-bit.  So current Carbon
Vim is the one only for someone who wants to run a 32-bit Vim 8.0 in a
64-bit environment for one reason or another.  I'm definitely the last
person of this kind.

And, as you noticed, our build system hasn't maintained in a way to support
it.

I think Carbon Vim was destroyed in three phases:  First, the Carbon code
was alienated from the codebase when the darwin feature is merged there on
2010-07-14. Next, OS X 10.8 has deprecated most Carbon APIs on 2012-07-24.
Lastly, when OS 10.9 brought us a breakage regarding Cabon.h and
AvailabilitMacros.h, we made an effort to maintain the Cocoa code but no
effort for the Carbon code at any rate.

IIRC, we haven't received any report, patch or request on the breakage
relevant to the Carbon code so far.

in conclusion, unless someone is willing to work for that, we are no longer
able to maintain it.  Personally, I think it's nearly impossible to restore
it.


> Anyway, I think this change should be split into smaller pieces to make
> it easier to see what changes.
>

So my current plain consists of four phases:

(1) Removal of MACOS_CLASSIC related code and adjustments of the build
system.
(2) Removal of FEAT_GUI_MAC related code and adjustments of the build
system.
(3) Making a list of all the possible ways Vim can be build for Mac.  Based
on that, optimize the build system for Mac if possible.
(4) Correct the meaning of the feature list item 'mac'.

Each phase has its own patch and will be accompanied with document update.

Kazunobu

>
>
> --
> The question is:  What do you do with your life?
> The wrong answer is: Become the richest guy in the graveyard.
>                                 (billionaire and Oracle founder Larry
> Ellison)
>
>  /// Bram Moolenaar -- [email protected] -- 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui