Permalink
Commits on Jul 27, 2011
  1. Snapshot 61

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

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

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

    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.
    committed Jul 27, 2011
  5. Addendum to fix for open window in full-screen

    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.
    committed Jul 27, 2011
  6. Add user default for native/custom full screen

    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.)
    committed Jul 27, 2011
Commits on Jul 26, 2011
  1. Maximize both directions in full screen by default

    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.
    committed Jul 26, 2011
  2. Map delete key to delete visual selection

    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.
    committed Jul 26, 2011
Commits on Jul 25, 2011
  1. Fix visibility of toolbar in full screen

    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.
    committed Jul 25, 2011
  2. Keep full screen window centered, change animation

    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.
    committed Jul 25, 2011
Commits on Jul 24, 2011
  1. Set proper animation behavior for window

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

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

    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.
    committed Jul 24, 2011
Commits on Jul 22, 2011
  1. Snapshot 60

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

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

    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.
    committed Jul 22, 2011
  4. Addendum to emergency fix

    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.
    committed Jul 21, 2011
  5. Emergency fix for Ruby problems

    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.
    committed Jul 21, 2011
  6. Fix for zsh causing freezes on Lion

    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.
    committed Jul 22, 2011
Commits on Jul 21, 2011
  1. Addendum to emergency fix

    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.
    committed Jul 21, 2011
  2. Emergency fix for Ruby problems

    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.
    committed Jul 21, 2011
  3. Fix compilation warnings in PSMTabBarControl

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

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

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