logo       

A few questions about remove deprecated function calls: msg#00020

editors.vim.mac

Subject: A few questions about remove deprecated function calls

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.



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

News | FAQ | advertise