Björn Winckler wrote: > On 12 July 2010 17:48, björn wrote: > > > > Bram: do not merge this patch. It will have to be either rewritten or > > updated to include the latest MacVim copy/paste code. I'll see if > > have some time to spare to take a look at it, otherwise I guess we'll > > have to wait until Vim 7.4. > > I looked into this issue carefully now and decided it is best to > convert os_macosx.c to Obj-C and have attached an updated patch which > includes block-wise copy/paste (the old patch had issues with linking > as well). > > The only cons to using Obj-C are insignificant: > > - executable size is not significantly increased (Carbon=2350496 vs. > Cocoa=2373944) > - there are more dependencies but only on dynamic libraries that come > with all Mac OS X versions > > ...but there are pros: > > - Should work on _all_ Mac OS X versions, whereas the C API is only > supported on 10.3+ > - Future proof (Apple has made it quite clear that Cocoa is the way forward) > > The copy/paste code is taken directly from MacVim and has been used by > many people for years now so it should be considered stable -- I would > say the patch is ready for merging. > > There is one issue: the Carbon GUI no longer compiles (Mac OS X 10.6) > so I cannot confirm that it still builds (I had to do some > modifications to configure.in). Since this is likely to give a bad > impression to anybody building from source I have made NO GUI default > (i.e. you have to explicitly enable the GUI in configure). The Carbon > GUI is dead anyway so I do not think this is a major issue but I > thought I should mention it. > > I have made sure the copy/paste build with tiny builds, with/without > multibyte etc.
Great, thanks. I'll try it out, hopefully this week. -- Why doesn't Tarzan have a beard? /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.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
