logo       

Re: A few questions about remove deprecated function calls: msg#00098

editors.vim.mac

Subject: Re: A few questions about remove deprecated function calls

On Sun, Mar 11, 2007 at 01:03:07AM +0800, Jjgod Jiang wrote:
> Hi,
>
> I would like to make some patches to eliminate deprecated function calls
> as many as possible, here are a few points:
>
> 1. replace all Font Manager APIs with Apple Type Service APIs, it could
> be done quite safely.
>
> 2. Completely eliminate the usage of FSSpec, use FSRef instead, since
> vim 7 only supports Mac OS X. According to File Manager Reference:
>
> A number of deprecated functions in the File Manager were inherited from
> earlier versions of Mac OS and have been carried along to
> facilitate porting
> legacy applications to Mac OS X. You should avoid using these deprecated
> functions. In particular, you should avoid any function or data
> structure that
> uses the FSSpec data type
>
> This change may require us to remove Code Warrior Editor support, do
> you guys think it's acceptable, or is this piece of code still maintaining
> by some one else?
>
> 3. replace all QuickDraw APIs with Quartz/Core Graphics equivalence.
> This change may not be that easy, I think we need to create a new branch
> for this if we really going to do so.
>
> Any comments?
>
> - jjgod.

I am not sure what "earlier versions" means. Please make sure that
vim still compiles on OS X 10.2. I think we have officially dropped
support for versions earlier than that.

If you can maintain patches, rather than a separate development
branch, to experiment with Quartz/Core Graphics, I will continue to
compile experimental versions so that they can be widely tested.

HTH --Benji Fisher



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise