FW: Vim60al patches for MacOS
- Hi guys,
I try to copy you when I shipped some diff to Bram, but
the mail server refused to process the email (attachement
too big). As soon as I find back my ftp application, I'll
upload the diff to http://www3.sympatico.ca/dany.stamant/vim,
for those of who have a compiler and can't way for vim60am alpha.
> From: Dany St-Amant <dany.stamant@...>
> Date: Tue, 26 Jun 2001 20:43:38 -0400
> To: Bram Moolenaar <Bram@...>
> Cc: Vim-mac List <vim-mac@...>
> Subject: Vim60al patches for MacOS
> Here's some patches over vim60al which will allow compilation
> with Codewarior Pro 5 under MacOS 9 without Carbon interface,
> and with Project Builder under MacOS X with Carbon Interface.
> (And it doesn't break the Terminal compile under MacOS X)
> Compatibility Warning:
> -when compiled for MacOS X, the filename only support the unix format
> -Reorganized the gui_mac.c (it was a mess)
> -Carbonized (while keeping non Carbon code)
> (Some work "stolen" from Ammon Skidmore)
> -Improved the menu item index handling (should be faster)
> -Runtime command now handle / in file name (MacOS 9 version)
> -Added winpos support
> -Fixed a bug in the handling of Activate/Deactivate Event
> -Fixed a bug in gui_mch_dialog (using wrong pointer)
> Important Issue remaining:
> -gui_mac.r must be edited to compile under MacOS X vs MacOS 9
> (I didn't find the #ifdef to use yet)
> -explorer.vim slow down Vim startup (due to errors)
> -Carbon version under MacOS X is slower than Classic version.
> -Vim cannot be renamed to something else
> (or it won't be able to find the $VINRUTIME)
> -$HOME is supported under MacOS X, but ~ is not.
> vim60al.mac.diff: all the diff beside gui_mac.c
> src/gui_mac.c: the new gui_mac.c (diff is too big)
> src/gui_mac.icns: the icon file for MacOS X
> src/vim.pbxproj: Project Builder's "Makefile"
> Change in eval.c may not be needed, the untar I used on MacOS 9 seem to
> created inconsistent end-of-line
> Funny fact
> from the Terminal if someone type:
> ~/Dev/vim/vim60al/src/build/Vim.app/Contents/MacOS/Vim -help
> Vim start graphically then display the help and then quit.
> So if anyone out there want to change the code to make it behave so
> that when launched as gvim it launch the Carbon GUI and if launch as
> vim it stay in the Terminal, you are welcome to do so.
> Dany, (on MacOS 9) as didn't transfered yet to Mail.app
- The diff are now available at:
on 26/06/01 20:51, Dany St-Amant at dany.stamant@... wrote:
> Hi guys,
> I try to copy you when I shipped some diff to Bram, but
> the mail server refused to process the email (attachement
> too big). As soon as I find back my ftp application, I'll
> upload the diff to http://www3.sympatico.ca/dany.stamant/vim,
> for those of who have a compiler and can't way for vim60am alpha.