Bjorn Winckler [Sat, 3 Apr 2010 11:44:27 +0000 (3 13:44 +0200)]
Fix placement of auxiliary IM window for Core Text
Bjorn Winckler [Sat, 27 Mar 2010 17:16:50 +0000 (27 18:16 +0100)]
Merge branch 'vim'
Conflicts:
src/auto/configure
src/configure.in
src/if_ruby.c
src/vim.h
Bjorn Winckler [Sat, 27 Mar 2010 16:52:32 +0000 (27 17:52 +0100)]
Update runtime files
Bjorn Winckler [Sat, 27 Mar 2010 16:51:38 +0000 (27 17:51 +0100)]
Merge remote branch 'svn-vim' into vim
Conflicts:
runtime/plugin/gzip.vim
edyfox [Wed, 24 Mar 2010 06:22:28 +0000 (24 06:22 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1828 2a77ed30-b011-0410-a7ad-c7884a0aa172
edyfox [Mon, 22 Mar 2010 02:05:10 +0000 (22 02:05 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1817 2a77ed30-b011-0410-a7ad-c7884a0aa172
edyfox [Thu, 18 Mar 2010 05:06:11 +0000 (18 05:06 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1813 2a77ed30-b011-0410-a7ad-c7884a0aa172
edyfox [Thu, 11 Mar 2010 02:59:04 +0000 (11 02:59 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1802 2a77ed30-b011-0410-a7ad-c7884a0aa172
edyfox [Wed, 10 Mar 2010 11:32:06 +0000 (10 11:32 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1790 2a77ed30-b011-0410-a7ad-c7884a0aa172
Bjorn Winckler [Fri, 5 Mar 2010 16:13:08 +0000 (5 17:13 +0100)]
Snapshot 52
Bjorn Winckler [Mon, 1 Mar 2010 18:32:44 +0000 (1 19:32 +0100)]
Merge branch 'vim'
Conflicts:
src/auto/configure
src/eval.c
src/if_ruby.c
Bjorn Winckler [Mon, 1 Mar 2010 18:26:14 +0000 (1 19:26 +0100)]
Merge remote branch 'svn-vim' into vim
edyfox [Thu, 25 Feb 2010 06:01:11 +0000 (25 06:01 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1778 2a77ed30-b011-0410-a7ad-c7884a0aa172
Bjorn Winckler [Fri, 19 Feb 2010 23:40:23 +0000 (20 00:40 +0100)]
Add support for :winpos
Note that window coordinates are specified in a coordinate system where
X points to the right and Y points upwards.
Bjorn Winckler [Fri, 19 Feb 2010 18:38:31 +0000 (19 19:38 +0100)]
Output build results in $(PROJECT_DIR)/build
This overrides the global Xcode preference, which if set to a customized
location caused the build to fail. (Patch by wezm)
Bjorn Winckler [Thu, 18 Feb 2010 17:59:49 +0000 (18 18:59 +0100)]
Merge remote branch 'svn-vim' into vim
edyfox [Thu, 18 Feb 2010 06:01:34 +0000 (18 06:01 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1766 2a77ed30-b011-0410-a7ad-c7884a0aa172
Bjorn Winckler [Tue, 16 Feb 2010 21:55:20 +0000 (16 22:55 +0100)]
Set cwd before launching Vim process
This fixes a bug where the 'exrc' option did not work when opening files
from Finder.
Bjorn Winckler [Tue, 16 Feb 2010 18:04:47 +0000 (16 19:04 +0100)]
Do not open files in "unused windows"
A window is "unused" if it has just been opened with Cmd+n. Previously
a file opened from Finder would be opened in an unused window if one was
available. This leads to problems with some Vim options, e.g. trying to
open an encrypted file from Spotlight will fail. The code that has been
removed also had some quite ugly hacks and it is not entirely clear
whether the reuse of unused windows was entirely intuitive.
(The "Open files from applications" option is not affected by this
change.)
Bjorn Winckler [Mon, 15 Feb 2010 20:43:08 +0000 (15 21:43 +0100)]
Pass arguments to Vim on command line
Do not pass arguments via DO since some options only work if the files
to open were passed on the command line (e.g. "%" flag in 'viminfo').
Also, if a file is encrypted and opened from Spotlight the Spotlight
search text is passed as input and it ends up being used as password for
the encryption key, so the file opens up encrypted.
The above problems still persist if Quickstart is enabled.
Bjorn Winckler [Sun, 14 Feb 2010 20:12:27 +0000 (14 21:12 +0100)]
Update Services for Snow Leopard
Rename Services so that it is clearer what they do when they appear in
context menus:
New MacVim Buffer With Selection
New MacVim Buffer Here
The latter Service now works in Finder on Snow Leopard (it was broken
before). The Service "Open Selected File" has been deprecated since it
does not seem very useful and it is rather confusing as to what it
really does.
Bjorn Winckler [Sun, 14 Feb 2010 16:25:25 +0000 (14 17:25 +0100)]
Abandon marked text when switching IM
This fixes a bug with Chinese IM where pressing "o" in normal mode would
cause Vim to start a new line and then insert "o" into the text. With
this patch the "o" is no longer inserted.
Bjorn Winckler [Sun, 14 Feb 2010 00:38:07 +0000 (14 01:38 +0100)]
Resize view properly when showing toolbar
Fixes a bug where the view would not resize when the window covered the
height of the screen and the toolbar was shown.
Bjorn Winckler [Sun, 14 Feb 2010 00:24:20 +0000 (14 01:24 +0100)]
Fix memory leak in ATSUI renderer
The wide font was not released properly.
Bjorn Winckler [Sun, 14 Feb 2010 00:23:59 +0000 (14 01:23 +0100)]
Add wide font support to Core Text renderer
Bjorn Winckler [Sat, 13 Feb 2010 23:49:42 +0000 (14 00:49 +0100)]
Merge branch 'vim'
Conflicts:
src/vim.h
Bjorn Winckler [Sat, 13 Feb 2010 23:48:47 +0000 (14 00:48 +0100)]
Update runtime files
Bjorn Winckler [Sat, 13 Feb 2010 23:48:10 +0000 (14 00:48 +0100)]
Merge remote branch 'svn-vim' into vim
Bjorn Winckler [Sat, 13 Feb 2010 23:37:35 +0000 (14 00:37 +0100)]
Alt+Space mappings in Keyboard Layouts now work
For example, French Dvorak assigns Underscore to Alt+Space. Without
this patch Alt+Space would produce a Space, whereas with this patch it
will produce an Underscore.
Bjorn Winckler [Sat, 13 Feb 2010 22:50:53 +0000 (13 23:50 +0100)]
Allow window resizing across multiple screens
It is now possible to drag to resize a window to be larger than one
screen. However, if the window size changes programmatically (due to
scrollbars or toolbar hiding/showing, etc.) then the window will be
constrained to fit on the screen holding most of the window. This is
perhaps annoying but at least it is consistent with the way Terminal.app
works (try opening a new tab when a Terminal window spans two screens).
Bjorn Winckler [Sat, 13 Feb 2010 14:11:41 +0000 (13 15:11 +0100)]
Place scrollbars correctly for positive inset
Make sure that the scrollbar stretches to the top of the window even if
the text inset is > 0 (and similarly for the horizontal scrollbar).
This applies to the Core Text and ATSUI renderers only.
Bjorn Winckler [Mon, 8 Feb 2010 17:18:34 +0000 (8 18:18 +0100)]
Backend initiates window zooming
Don't change the window size immediately upon pressing the zoom button.
Instead send the message to Vim and let it resize before the window
does. This avoids flickering problem when zooming with the Core Text
renderer.
The zooming is also slightly smarter about which window size to restore
if the toolbar was hidden while the window was zoomed.
Bjorn Winckler [Mon, 8 Feb 2010 15:00:12 +0000 (8 16:00 +0100)]
Avoid display corruption on :vsp and 'go' changes
Always redraw the screen when splitting vertically or when the 'go'
option is modified (it may e.g. cause scrollbars to hide/show).
Bjorn Winckler [Fri, 5 Feb 2010 16:55:21 +0000 (5 17:55 +0100)]
Avoid window flashing white when zooming
This applies to the Core Text renderer only.
There is still a short annoying flash when clicking the zoom button to
make the window smaller.
edyfox [Thu, 4 Feb 2010 01:37:57 +0000 (4 01:37 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1752 2a77ed30-b011-0410-a7ad-c7884a0aa172
Bjorn Winckler [Wed, 3 Feb 2010 22:07:13 +0000 (3 23:07 +0100)]
Avoid window flashing white when first shown
This only applies to the Core Text renderer.
Bjorn Winckler [Wed, 3 Feb 2010 13:46:56 +0000 (3 14:46 +0100)]
Fix vert split problems in Core Text renderer
The display is no longer corrupted on :vsp when using the Core Text
renderer. Also fixes a problem where background would not be cleared
correctly when left scrollbar was visible.
Remove a hack in live resizing code when using CT. This may cause the
window to flicker more during live resize (have to find a better fix).
Bjorn Winckler [Fri, 29 Jan 2010 18:17:29 +0000 (29 19:17 +0100)]
Merge branch 'vim'
Bjorn Winckler [Fri, 29 Jan 2010 18:17:13 +0000 (29 19:17 +0100)]
Update runtime files
Bjorn Winckler [Fri, 29 Jan 2010 18:16:34 +0000 (29 19:16 +0100)]
Merge remote branch 'svn-vim' into vim
Bjorn Winckler [Fri, 29 Jan 2010 18:09:43 +0000 (29 19:09 +0100)]
Fill the square under the left scrollbar
This fixes a drawing issue that appeared on ":vsp".
edyfox [Thu, 28 Jan 2010 04:52:36 +0000 (28 04:52 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1743 2a77ed30-b011-0410-a7ad-c7884a0aa172
Bjorn Winckler [Sun, 24 Jan 2010 14:18:01 +0000 (24 15:18 +0100)]
Merge branch 'vim'
Bjorn Winckler [Sun, 24 Jan 2010 14:17:52 +0000 (24 15:17 +0100)]
Update runtime files
Bjorn Winckler [Sun, 24 Jan 2010 14:17:03 +0000 (24 15:17 +0100)]
Merge remote branch 'svn-vim' into vim
Bjorn Winckler [Sun, 24 Jan 2010 14:14:19 +0000 (24 15:14 +0100)]
Lower priority for exception logs
edyfox [Thu, 21 Jan 2010 06:56:00 +0000 (21 06:56 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1734 2a77ed30-b011-0410-a7ad-c7884a0aa172
edyfox [Tue, 12 Jan 2010 11:54:23 +0000 (12 11:54 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1714 2a77ed30-b011-0410-a7ad-c7884a0aa172
edyfox [Sun, 3 Jan 2010 07:22:51 +0000 (3 07:22 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1709 2a77ed30-b011-0410-a7ad-c7884a0aa172
edyfox [Fri, 25 Dec 2009 03:52:20 +0000 (25 03:52 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1704 2a77ed30-b011-0410-a7ad-c7884a0aa172
Bjorn Winckler [Sat, 19 Dec 2009 20:58:10 +0000 (19 21:58 +0100)]
Use device colors instead of calibrated colors
This fixes a bug in full-screen where the full-screen background color
in "set fuopt=background:Normal" would not match the background color of
the Vim view (with the experimental renderer).
Bjorn Winckler [Sat, 19 Dec 2009 20:49:27 +0000 (19 21:49 +0100)]
Merge branch 'vim'
Conflicts:
src/auto/configure
Bjorn Winckler [Sat, 19 Dec 2009 20:46:15 +0000 (19 21:46 +0100)]
Update runtime files
Bjorn Winckler [Sat, 19 Dec 2009 20:45:39 +0000 (19 21:45 +0100)]
Merge remote branch 'svn-vim' into vim
edyfox [Thu, 17 Dec 2009 03:31:11 +0000 (17 03:31 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1698 2a77ed30-b011-0410-a7ad-c7884a0aa172
Bjorn Winckler [Wed, 9 Dec 2009 09:53:27 +0000 (9 10:53 +0100)]
Update README
Bjorn Winckler [Thu, 3 Dec 2009 17:07:10 +0000 (3 18:07 +0100)]
Support the "a" flag in 'guioptions'
edyfox [Thu, 3 Dec 2009 02:09:53 +0000 (3 02:09 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1690 2a77ed30-b011-0410-a7ad-c7884a0aa172
Bjorn Winckler [Sat, 28 Nov 2009 18:10:03 +0000 (28 19:10 +0100)]
Improve Find pasteboard interaction
Put two representation of the search pattern on the Find pasteboard: one
that holds the unmodified pattern, and a second one that removes some
common backslash escapes from the first. The second pattern will be
used by other applications so e.g. hitting * in MacVim and then Cmd+g in
another app now works.
Bjorn Winckler [Fri, 27 Nov 2009 22:02:06 +0000 (27 23:02 +0100)]
Fix Ctrl-Tab handling in Core Text
Bjorn Winckler [Fri, 27 Nov 2009 19:06:43 +0000 (27 20:06 +0100)]
Remove references to MMAtsuiRenderer in nib file
edyfox [Thu, 26 Nov 2009 06:20:13 +0000 (26 06:20 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1680 2a77ed30-b011-0410-a7ad-c7884a0aa172
Bjorn Winckler [Mon, 23 Nov 2009 11:56:44 +0000 (23 12:56 +0100)]
Fix ATSUI/Core Text compilation issues on Tiger
Bjorn Winckler [Sun, 22 Nov 2009 13:02:45 +0000 (22 14:02 +0100)]
Snapshot 51
Bjorn Winckler [Sat, 21 Nov 2009 21:45:06 +0000 (21 22:45 +0100)]
Merge branch 'vim'
Conflicts:
src/auto/configure
Bjorn Winckler [Sat, 21 Nov 2009 21:41:00 +0000 (21 22:41 +0100)]
Update runtime files
Bjorn Winckler [Sat, 21 Nov 2009 21:40:10 +0000 (21 22:40 +0100)]
Merge remote branch 'svn-vim' into vim
Bjorn Winckler [Sat, 21 Nov 2009 21:27:16 +0000 (21 22:27 +0100)]
Don't link Sparkle framework
Bjorn Winckler [Sat, 21 Nov 2009 21:20:09 +0000 (21 22:20 +0100)]
Remove MMAtsuiRenderer user default
This has been deprecated in favor of MMRenderer.
Bjorn Winckler [Sat, 21 Nov 2009 15:36:13 +0000 (21 16:36 +0100)]
Remove feat/core-text from README-repo.txt
Bjorn Winckler [Sat, 21 Nov 2009 14:54:39 +0000 (21 15:54 +0100)]
Avoid 0x0 window when autosaved dimension missing
This fixes a bug where the first window would be tiny if no autosaved
dimensions existed on startup.
Bjorn Winckler [Sun, 15 Nov 2009 21:33:13 +0000 (15 22:33 +0100)]
Add MMRenderer user default
Set to 0 for Cocoa renderer, 1 for ATSUI, 2 for Core Text. The default
is 0.
Jjgod Jiang [Thu, 19 Nov 2009 01:59:21 +0000 (19 09:59 +0800)]
Fix transparency for Core Text renderer
Bjorn Winckler [Fri, 5 Sep 2008 16:52:21 +0000 (5 18:52 +0200)]
Implemented CoreText renderer
Bjorn Winckler [Fri, 20 Nov 2009 21:06:00 +0000 (20 22:06 +0100)]
Update Advance preferences pane
Remove the "Use login shell" option, and rename the ATSUI option (since
Core Text may actually be used and not ATSUI).
Bjorn Winckler [Fri, 20 Nov 2009 20:44:06 +0000 (20 21:44 +0100)]
Autosaved dimensions do not override vimrc
Setting 'lines' and 'columns' in .vimrc works again. This patch also
fixes a minor memory leak related to the autosaved dimensions. Finally,
skip checking terminal capabilies when the GUI is about to start.
edyfox [Thu, 19 Nov 2009 03:54:24 +0000 (19 03:54 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1672 2a77ed30-b011-0410-a7ad-c7884a0aa172
edyfox [Wed, 18 Nov 2009 04:57:02 +0000 (18 04:57 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1668 2a77ed30-b011-0410-a7ad-c7884a0aa172
edyfox [Thu, 12 Nov 2009 04:45:55 +0000 (12 04:45 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1656 2a77ed30-b011-0410-a7ad-c7884a0aa172
Bjorn Winckler [Mon, 9 Nov 2009 20:09:02 +0000 (9 21:09 +0100)]
Merge branch 'vim'
Bjorn Winckler [Mon, 9 Nov 2009 20:08:51 +0000 (9 21:08 +0100)]
Update runtime files
Bjorn Winckler [Mon, 9 Nov 2009 20:07:13 +0000 (9 21:07 +0100)]
Merge remote branch 'svn-vim' into vim
Bjorn Winckler [Mon, 9 Nov 2009 19:25:54 +0000 (9 20:25 +0100)]
Remove SUUpdater object from MainMenu.nib
This avoids an annoying warning on each startup (Sparkle, which this
object belongs to, has temporarily been disabled).
Bjorn Winckler [Sun, 8 Nov 2009 17:59:30 +0000 (8 18:59 +0100)]
Avoid forcing redraw in full-screen
Previously the content view in full-screen mode would get redrawn
whenever the Vim view possibly changed size. Now the view is only
updated if the view did change size (fixes redraw problems with the Core
Text renderer).
Bjorn Winckler [Sun, 8 Nov 2009 16:46:16 +0000 (8 17:46 +0100)]
Fix full-screen drawing issues
This commit fixes a problem where the screen would look blurry, or where
each redraw would cause the entire screen to be cleared before the
redraw (only the Core Text renderer was affected by this bug).
Bjorn Winckler [Wed, 4 Nov 2009 15:43:36 +0000 (4 16:43 +0100)]
Fix Ruby compilation on case-sensitive FS
edyfox [Wed, 4 Nov 2009 04:21:22 +0000 (4 04:21 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1644 2a77ed30-b011-0410-a7ad-c7884a0aa172
Bjorn Winckler [Sat, 31 Oct 2009 13:14:36 +0000 (31 14:14 +0100)]
Disable NSRepeatCountBinding
Bjorn Winckler [Tue, 27 Oct 2009 19:00:20 +0000 (27 20:00 +0100)]
Fix window tiling with multiple monitors
Bjorn Winckler [Fri, 23 Oct 2009 18:09:14 +0000 (23 20:09 +0200)]
Release text view helper correctly
Bjorn Winckler [Sat, 10 Oct 2009 00:55:31 +0000 (10 02:55 +0200)]
Snapshot 50
Bjorn Winckler [Fri, 9 Oct 2009 20:35:33 +0000 (9 22:35 +0200)]
Merge branch 'vim'
Conflicts:
runtime/doc/options.txt
runtime/syntax/vim.vim
src/auto/configure
Bjorn Winckler [Fri, 9 Oct 2009 20:29:03 +0000 (9 22:29 +0200)]
Update runtime files
Bjorn Winckler [Fri, 9 Oct 2009 20:28:10 +0000 (9 22:28 +0200)]
Merge remote branch 'svn-vim' into vim
Bjorn Winckler [Fri, 9 Oct 2009 20:23:52 +0000 (9 22:23 +0200)]
Update UTIs in Info.plist
Ideally all org.vim.*-file UTIs should be replaced with proper UTIs, but
they can be hard to find so they will be replaced as new UTIs are found.
Bjorn Winckler [Fri, 9 Oct 2009 18:38:31 +0000 (9 20:38 +0200)]
Remove "No connection ..." warning with --remote
edyfox [Thu, 8 Oct 2009 08:00:27 +0000 (8 08:00 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1624 2a77ed30-b011-0410-a7ad-c7884a0aa172
Bjorn Winckler [Thu, 1 Oct 2009 19:13:17 +0000 (1 21:13 +0200)]
Fix wide character support for 64 bit
edyfox [Thu, 1 Oct 2009 19:08:10 +0000 (1 19:08 +0000)]
Merged from the latest developing branch.
git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/trunk@1620 2a77ed30-b011-0410-a7ad-c7884a0aa172
Bjorn Winckler [Wed, 30 Sep 2009 21:04:12 +0000 (30 23:04 +0200)]
Add missing defines to Tiger
CGFloat and NS[U]Integer were introduced in 10.5, make sure they are
defined when compiling for 10.4.