Commit Graph

291 Commits

Author SHA1 Message Date
Jacobo de Vera
53cb1215f6 Treat changed remotes as new plugins
If one had this plugin:

Plugin 'foo/bar'

And now switches to another one with the same name:

Plugin 'baz/bar'

Recognise this scenario and replace the old plugin with the new one,
rather than silently assuming they are the same.

Fixes #367 #48 #183 #400
2014-04-15 17:08:49 +02:00
Jeremy Pallats/starcraft.man
e7660d50f3 Documentation Update.
* Add modelines to all code/doc files excluding README.md.  The modeline used is: `" vim: set expandtab sts=2 ts=2 sw=2 tw=78 norl:`
* Rename links with /vundle to /Vundle.vim, seems to confuse some people with redirect.
* Remove duplicates from Quickstart, add example of `name` flag.
* Add link to Tips page by @Lucc .
* Change help maintain vundle link directly to the new one.
* README.md line number links updated.

Note: Users with bundle/vundle need to rename vundle to Vundle.vim to use test files. Vundle will continue to function otherwise.

Fixes #413.
Fixes #438.
2014-04-15 10:47:08 -04:00
Jacobo de Vera
50fe09cbd2 Remove Plugins command
It's a duplicate of the PluginSearch command.

Fixes #428
2014-04-11 00:14:09 +02:00
Jacobo de Vera
87e5a19520 Complete function documentation
- Complete the code documentation effort started by @lucc
- Remove some judgemental comments 
- Remove comments pertaining to things that should be opened as issues
- Boxed 
2014-04-10 23:50:05 +02:00
Lucas Hoffmann
b3b5f529b3 Add comments to document the code
Also add some FIXME markers in places where the code needs more
explanation.
2014-04-10 23:22:50 +02:00
Jacobo de Vera
f3da68779a Support plugin pinning
New supported option called 'pinned' for the Plugin command. When set to
1, the plugin is added to rtp but no install/upgrade operation is
performed.

It not only allows vundle to do rtp management of plugins on VCS other
than git, it also allows leaving plugins that had previously been
managed by vundle in the current state, with no further updates.

Fixes #24, #397
2014-04-09 09:57:50 +02:00
Jacobo de Vera
0152571eb5 Add multiple lines separately to the log 2014-04-09 09:07:02 +02:00
Jacobo de Vera
1736243c0e Handle default rtp values 2014-04-07 13:31:02 -04:00
Jacobo de Vera
c20c90d867 Lazy loading plugins with begin/end block 2014-04-07 01:12:14 +02:00
Jacobo de Vera
6545681f56 Resolve full doc dir path when running helptags
Prevents error 150 when user has doc/* in wildignore

Fixes #112
2014-04-06 00:08:03 +02:00
Keith Smiley
e2bf911895 Fix incorrectly aliased VundleInstall command 2014-03-31 18:09:00 -04:00
Lucas Hoffmann
bb53f89504 update deprecated API to call the new API directly
Still keep :Bundle backwards compatible.
2014-03-28 16:57:25 +01:00
gmarik
0521de95ea use Plugin instead Bundle
- closes many issues )
2014-03-23 11:27:06 -04:00
gmarik
ec9625c628 fixes helptags and wildigore issue #390
- resolve introduced in 08e9894d2 resolves only bundle dir
- so '/doc/' dir doesn't loose its trailing slash
2014-02-21 20:59:17 -06:00
Shougo Matsushita
4472ffa078 Fix shellesc() 2014-02-09 17:41:07 -06:00
Shougo Matsushita
6b45d873bc Fix #374 shellescape problem 2014-02-09 17:41:07 -06:00
Jacobo de Vera
08e9894d2a Resolve symlinks before running helptags
Helptags seems to fail if some of the path components it receives are
symlinks. So resolve the symlink when calling helptags.
2013-11-07 00:09:31 +00:00
forethinker
05fde637a0 Check shell in Windows before assuming cmd.exe
In Windows, some users set the Cygwin shell as their Vim shell, make
Vundle consider this when deciding which flavour of commands to run when
cloning. Roughly check if the shell contains `sh` in it, and assume a
Unix shell, even when on Windows.
2013-10-31 04:51:55 +00:00
Jacobo de Vera
3dcb0c3299 Show error in installer if helptags fails
Failures in :helptags commands for individual bundles were logged but
the error were not propagated to the installer.
2013-03-16 01:47:23 +00:00
Jacobo de Vera
14891dbae2 Check for leading/trailing spaces in bundle specs
Warn the user when a leading or trailing space is found in one the
bundle specs they have configured using the Bundle command.
2013-03-16 00:09:07 +00:00
Jacobo de Vera
5dd478e18e Generate helptags independently from user settings
The wildignore setting affects the behaviour of the `= shorthand, so
this changeset replaces the last remaining use of such construct with a
call to exec.
2013-02-08 02:42:12 +00:00
Matthew Schulkind
8e8cfda2d2 Prevent side effect of wildignore
Certain wildignore values prevented the various logs from being
viewable.

Fixes #249
2013-02-07 06:16:01 +00:00
Corey Richardson
84c9a54254 Escape the repo URI when cloning 2012-12-01 20:19:57 -06:00
gmarik
c9d9714539 Merge pull request #215 from mt3/master
Closes #206: alias `BundleUpdate` to `BundleInstall!`
2012-11-29 08:54:02 -08:00
robi-wan
b5bef26e2c escape shell commands for windows
inspired by
https://github.com/gmarik/vundle/pull/228 and
https://github.com/gmarik/vundle/pull/172

Vim patch #445 changed shell escaping and introduced incompatabilities for vundle.
Now vundle only escapes joined commands with double quotes on windows when shellxquote is not set to '('.
This workaround closes https://github.com/gmarik/vundle/issues/146 - the mentioned workaround
is no longer needed, but it does not break a vim configurations which contains "set shellxquote=".

DRY shell escaping and modified (hopefully) all relevant places.
2012-11-28 19:47:20 +01:00
mt3
a6066d641b Added alias 'BundleUpdate' for 'BundleInstall!'.
'BundleUpdate' is a more intuitive and explicit command, whereas 'BundleInstall!' isn't.
2012-09-12 18:07:38 -07:00
gmarik
3ad4b0334c Revert "change &rtp manipulation"
- causes #203

This reverts commit 1e140c9f6b.
2012-08-15 02:06:13 -05:00
gmarik
d713b2737b Merge https://github.com/mduan/vundle 2012-08-11 19:41:36 -05:00
gmarik
8482141058 Merge https://github.com/acx0/vundle 2012-08-11 18:25:16 -05:00
Sam Lidder
56ee523240 fix test for glob* function compatibility
- not all versions of vim 7.2 support the extra argument for glob*(),
  only those compiled with patch 51
2012-08-03 00:23:15 -04:00
gmarik
1e140c9f6b change &rtp manipulation
- make it append only (instead both append + prepend)
- which draws *_rm_a and *_add_a useless as &rtp order gets preserved
- benefits: simpler, faster, less code
2012-07-16 20:22:34 -05:00
Zeux
1a935a259b Fix wget/win32 codepath for script searching.
The codepath does not appear to have been tested; mv on Win32 is move,
and substitute has 4 arguments instead of 3.
2012-07-06 13:48:52 +04:00
Yury Khalyavin
5e9cbda7be Vundle can manage Vundle, when it cloned as git submodule
When vundle installed as git submodule, git create file '.git' instead of
directory '.git'.

And vundle cannot update by self :(
2012-06-20 10:54:36 +04:00
mduan
c4985923e2 Also update submodules during git pull 2012-06-07 13:32:42 -07:00
mduan
f928ba0491 Make git clone also grab submodules
With just `git clone`, submodules are not grabbed. This is an issue for
certain plugins, such as 'kevinw/pyflakes-vim' that requires a pyflakes
submodule
2012-06-06 20:11:06 -07:00
gmarik
59bff0c457 Merge https://github.com/zolrath/vundle 2012-04-29 22:06:27 -05:00
robi-wan
c678b861dc fix Changelog after BundleInstall! on windows
- add /d switch to cd command to perform drive change
- enclose joined commands with quotes
2012-04-29 23:59:55 +03:00
Matt Furden
e56d772ecf Return bundle status without using git output text
Instead checking for specific text in the output of the git commands, determine
the status of the bundle by comparing the sha of HEAD before and after the
git pull command.
2012-04-20 15:04:06 -07:00
gmarik
d62b51a8fe helptags status
- as before Helptags returned 'updated'
2012-04-20 10:06:18 -05:00
gmarik
faf8dd38b6 Safeguard when no matches
- addresses #162 issues
2012-04-20 09:58:30 -05:00
Matt Furden
f84fee8839 Add message on how to view changelog after Update.
If no errors exist, the status-line will inform users how to view the
Changelog after BundleUpdate! is completed.
2012-04-19 13:59:45 -07:00
Matt Furden
a52d4b91f4 Get initial/updated shas from git pull output.
Instead of creating a vundle_update tag to compare changes between update
and HEAD we now use the output from `git pull` to get initial/updated shas.
2012-04-18 22:55:28 -07:00
Matt Furden
e999886db5 Use 'new' & 'updated' to build updated_bundle list
Distinction between `new` and `updated` simplifies the process
of adding a bundle to the updated_bundle list.
2012-04-18 01:19:25 -07:00
gmarik
8c4e0a4a31 add new status 2012-04-17 20:24:13 -07:00
Matt Furden
769feb9fff Add GitHub Compare link to Changelog.
If the Bundle is hosted on GitHub include link to compare the commit range
visually on GitHub.
2012-04-17 11:51:14 -07:00
Matt Furden
09560847ca Create Changelog when performing BundleInstall!
Keeps track of the current commit with a vundle_update tag before
perfoming an update and adds all commits pulled in the update to a
Changelog accessible via pressing 'u' after BundleInstall! completes.
2012-04-10 03:30:42 -07:00
gmarik
5b0bb1375d inline loop
- also work in batches
2012-02-15 23:05:38 -06:00
gmarik
1fce719532 make rtpath an attribute
- having it as a function makes it slower
2012-02-15 23:05:21 -06:00
Sam Lidder
b6071db7a5 make calls to glob* compatible with vim 7.1 2012-01-14 16:06:00 -05:00
gmarik
f6ce31fa38 https is a default proto
- as `http` one just redirects to `https` on GitHub
2011-12-20 03:07:12 -06:00