Commit Graph

135 Commits

Author SHA1 Message Date
Jeremy Pallats/starcraft.man
21326e161c Fixes issues #407. 2014-03-21 19:05:05 -04:00
Jacobo de Vera
938cd59785 Merge pull request #242 from techlivezheng/feature/use-global-bundles
Use the global bundles instead of reinitializing
2014-03-20 08:31:05 +01: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
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
Corey Richardson
84c9a54254 Escape the repo URI when cloning 2012-12-01 20:19:57 -06: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
gmarik
d713b2737b Merge https://github.com/mduan/vundle 2012-08-11 19:41:36 -05:00
Techlive Zheng
2b0ae7215f Use the global bundles instead of reinitializing 2012-08-06 11:20:14 +08: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
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
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
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
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
162b1bdd4f treat transcient bundles as configured
- "transcient bundle" - a bundle installed with :BundleInstall or interactively
  without being declared in .vimrc

- treat them the as if they were configured
- so everything works the same

- ie before this change helptags weren't generated automatically
  with `BundleInstall bundle` or with interactive mode

- it changes the way `:BundleClean` works, since it removes directories
  that aren't bundles
- FIX: `:source .vimrc` to let `:BundleClean` remove transcient bundles

- closes #99
2011-12-20 02:06:40 -06:00
gmarik
c97bfafdd4 %T formatter breaks MS Win use portable instead
- closes #104
2011-11-19 00:01:57 -06:00
gmarik
43080a1e5c ignore wildignore with expand/glob
- closes #110
2011-11-18 01:23:40 -06:00
Randy Morris
5adaa6b3c4 give BundleClean prompt a default value of 'y'
Also save/restore input so potential mappings aren't broken.
2011-11-05 17:25:50 -04:00
Randy Morris
b0d3b6f8f6 whitespace changes in the BundleClean input prompt 2011-11-05 17:25:38 -04:00
gmarik
304e63642b avoid flicker when operating
- use `redraw` instead `redraw!`
- closes #90
2011-10-03 17:50:15 -05:00
gmarik
152a0d4332 fix spelling 2011-08-26 11:53:39 -05:00
gmarik
8f13a839dd source manually installed bundles as well 2011-08-25 20:11:58 -05:00
gmarik
80e6e3c91a escape path 2011-08-25 12:37:06 -05:00
gmarik
b571067525 use capital D to map delete cmd
- to avoid accidental removal
2011-08-22 18:56:42 -05:00
gmarik
17b4a11588 Fix spelling 2011-08-21 15:18:18 -05:00
gmarik
e1e2c64caa Improve message
- show installation destination
2011-08-20 19:34:52 -05:00
gmarik
73e9c651fa helptags is a part of install script now 2011-08-19 00:54:06 -05:00
gmarik
e4715271ec initialize bundle instead crafting path manually 2011-08-19 00:44:30 -05:00
gmarik
d41ce3ea35 quite a refactor
- batch process just iterates through the lines and calls specified
action
- individual actions give visual feedback aswell
- allow Helptags command as a part of installation process
2011-08-19 00:35:45 -05:00
gmarik
9a82aaf500 timestamp log entries 2011-08-18 23:52:54 -05:00
gmarik
d71770dc0a Merge remote branch 'dbox/nin' into nin 2011-08-18 17:48:47 -05:00
gmarik
1874255efd remove reload_bundles at all 2011-08-18 17:47:47 -05:00
gmarik
5c06a28fca couple logging fixes
- log is global array so log can be viewed any time
- log gets written to a defined location ~/.vim-vundle/vundle.log
- TODO: write log changes as they happen
2011-08-18 16:30:32 -05:00
Jacobo de Vera
7701ac5fd8 Do not reload vimrc on BundleInstall
BundleInstall sources the current vimrc in order to reload all Bundles
in order to consider new Bundles that might have been added by the user
directly on their vimrc file. This, however, should not be Vundle's
responsibility, changes in vimrc should not be applied unless it is
re-sourced explicitly by the user.

This makes Vundle use the known list of Bundles for installation.
2011-08-18 12:08:37 +01:00
gmarik
055439e1fc helptags are logged-only 2011-08-13 19:52:10 -05:00
gmarik
aa9bd35eab improve message, suggest log on errors 2011-08-13 19:49:34 -05:00
gmarik
1e516d3249 fix messages 2011-08-13 19:23:42 -05:00