Permalink
Commits on Jul 27, 2011
  1. Snapshot 61

    b4winckler committed Jul 27, 2011
  2. Merge branch 'lion'

    b4winckler committed Jul 27, 2011
  3. Avoid window animation on custom full-screen exit

    b4winckler committed Jul 27, 2011
    This only applies when running Mac OS X 10.7+.
  4. Final fix for open new window in full-screen

    b4winckler committed Jul 27, 2011
    The original fix for opening a new window while in full-screen was
    flawed.  This commit takes a new approach and corrects problems related
    to opening a new window while MacVim was in full-screen as well as
    problems with using "mvim" from a full-screen Terminal window.
  5. Addendum to fix for open window in full-screen

    b4winckler committed Jul 27, 2011
    Don't switch window to full-screen after presenting it if for some
    reason the application is no longer in full-screen.  Seems to happen
    sometimes when starting MacVim from a full-screen Terminal window.
  6. Add user default for native/custom full screen

    b4winckler committed Jul 27, 2011
    The boolean user default MMNativeFullScreen can be used to control
    whether to use native or custom full-screen.  Set to 0 for custom, set
    to 1 for native full-screen, for example
    
        $ defaults write org.vim.MacVim MMNativeFullScreen 0
    
    The default is to use native full-screen when available.  This user
    default does nothing on pre-Lion Mac OS X.
    
    Also conditionally call Lion APIs so that it is possible to compile with
    10.7 SDK but still support 10.6 (nb. 10.5 and earlier SDKs are not
    supported as of Xcode 4).  (Suggestion and initial patch by @splhack.)
Commits on Jul 26, 2011
  1. Maximize both directions in full screen by default

    b4winckler committed Jul 26, 2011
    The default for 'fuopt' is now "maxhorz,maxvert".  Update help to
    reflect this and add note that the background option of 'fuopt' is not
    supported when using Mac OS X native full screen mode.
  2. Map delete key to delete visual selection

    b4winckler committed Jul 26, 2011
    Also update the help.  The delete key used to be hard coded in the
    source but now it is mapped in MacVim's gvimrc file instead.
Commits on Jul 25, 2011
  1. Fix visibility of toolbar in full screen

    b4winckler committed Jul 25, 2011
    The toolbar will pop up when the mouse is moved to the top of the screen
    in full screen mode if and only if it is visible outside of full screen
    mode.
    
    Bug: if the toolbar is toggled in full screen mode then sometimes it is
    no longer possible to enable it after exiting full screen.
  2. Keep full screen window centered, change animation

    b4winckler committed Jul 25, 2011
    Keep the window centered in full screen when it changes size.  At the
    moment the Lion full screen background is shown around the window,
    meaning that the "background" option of 'fuopt' is ignored.
    
    The animation when entering full screen is now a fade out of the
    decorated window, followed by a fade in of the full screen window.  Any
    attempts at making an animation of the window frame failed because of
    the way content is drawn (by pushing drawing updates).  For this reason
    I settled on a fade animation which is not exactly pretty, but at least
    it is as objectionable as the default animation.
    
    A side effect of implementing a custom animation is that the correct
    window now gets focus when closing a full screen window.
Commits on Jul 24, 2011
  1. Set proper animation behavior for window

    b4winckler committed Jul 24, 2011
    This causes a window to animate when it opens just like windows in other
    Lion apps do.
  2. Switch spaces when closing window in full screen

    b4winckler committed Jul 24, 2011
    A remaining problem is that if there is another window open then it does
    not get focus when the full screen window closes.
  3. Clicking full screen button updates 'fu' option

    b4winckler committed Jul 24, 2011
    This fixes a bug where the 'fu' option would not be updated when clicking
    the full screen button in the top right corner of a window.
Commits on Jul 22, 2011
  1. Snapshot 60

    b4winckler committed Jul 22, 2011
  2. Merge branch 'vim'

    b4winckler committed Jul 22, 2011
  3. Fix for zsh causing freezes on Lion

    b4winckler committed Jul 22, 2011
    Make sure tty is opened using the same flags as when opening the pty.
    In particular, the O_NOCTTY was missing from the tty open call.  This
    caused waitpid() to always return 0 and Vim would get stuck in an
    endless loop waiting for the child to exit.
  4. Addendum to emergency fix

    b4winckler committed Jul 21, 2011
    Ensure vim_message() outputs an empty message when the Ruby string has
    length 0.  Failing to do this will cause the message area not to clear
    when it should.
  5. Emergency fix for Ruby problems

    b4winckler committed Jul 21, 2011
    With optimizations enabled "alloca(len)" generates code which depends on
    "len > 0".  If "len == 0" then the stack pointer becomes botched.  This
    fix simply avoids a call to "alloca(len)" in the latter case.  The root
    of this problem may be deeper than this, hence I am calling this an
    "emergency fix" for now but at least it fixes the crashes in the Ruby
    interface that appear when compiling on Mac OS X 10.7.
  6. Fix for zsh causing freezes on Lion

    b4winckler committed Jul 22, 2011
    Make sure tty is opened using the same flags as when opening the pty.
    In particular, the O_NOCTTY was missing from the tty open call.  This
    caused waitpid() to always return 0 and Vim would get stuck in an
    endless loop waiting for the child to exit.
Commits on Jul 21, 2011
  1. Addendum to emergency fix

    b4winckler committed Jul 21, 2011
    Ensure vim_message() outputs an empty message when the Ruby string has
    length 0.  Failing to do this will cause the message area not to clear
    when it should.
  2. Emergency fix for Ruby problems

    b4winckler committed Jul 21, 2011
    With optimizations enabled "alloca(len)" generates code which depends on
    "len > 0".  If "len == 0" then the stack pointer becomes botched.  This
    fix simply avoids a call to "alloca(len)" in the latter case.  The root
    of this problem may be deeper than this, hence I am calling this an
    "emergency fix" for now but at least it fixes the crashes in the Ruby
    interface that appear when compiling on Mac OS X 10.7.
  3. Fix compilation warnings in PSMTabBarControl

    b4winckler committed Jul 21, 2011
    This also disables icon drawing code in tabs.  The reason being that the
    code is unused, caused warnings and looked generally dangerous.
  4. Update .gitignore

    b4winckler committed Jul 21, 2011
Commits on Jul 20, 2011
  1. updated for version 7.3.260

    brammool committed Jul 20, 2011
    Problem:    CursorHold triggers on an incomplete mapping. (Will Gray)
    Solution:   Don't trigger CursorHold when there is typeahead.