Commit Graph

58 Commits

Author SHA1 Message Date
Eric Amodio
e9db04f0c7 Removes unnecessary subscriptions on invalid blame
Removes duplicate lint rule
Switches on-demand CodeLens to be a global toggle
2016-11-12 16:36:10 -05:00
Eric Amodio
e31a1a3473 Adds logging for git location 2016-11-12 16:36:10 -05:00
Eric Amodio
46e2378779 Fixes issue with unencoded chars in uri 2016-11-12 16:36:10 -05:00
Eric Amodio
fee9562dd1 Optimizes range slice calculations in CodeLens 2016-11-12 04:17:16 -05:00
Eric Amodio
9c0a38958e Switches to use GitUris 2016-11-12 03:54:21 -05:00
Eric Amodio
a3895d27ab Removes git-blame document scheme
Removes git-blame content provider
Fixes some CodeLens issues
Adds support for git uris in more places
Adds git content CodeLens provider
2016-11-12 03:15:27 -05:00
Eric Amodio
638a6dc838 Adds support for git commands on scheme=git
Rewrites blame annotation controller and provider - fixes whitespace issues, reduces overhead, and provides better performance
Rewrites status bar blame support - reduces overhead and provides better performance
Adds showFileHistory command to status bar
Renames showHistory to showFileHistory
Fixes log to use iso 8601 for dates
2016-11-12 01:25:42 -05:00
Eric Amodio
7ace9cb152 Adds support for custom git installation locations
Also gracefully deals with the times when git isn't in the PATH
2016-11-10 18:33:28 -05:00
Eric Amodio
f4410be30a Adds error messages for failed operations
Adds showHistory command support to CodeLens
Fixes and improve the showHistory explorer
Refactoring
2016-11-10 03:22:58 -05:00
Eric Amodio
562afeaaad Adds gitlens.diffWithPrevious command to the explore context menu
Adds output channel logging, controlled by the `gitlens.advanced.output.level` setting
Removes all debug logging, unless the `gitlens.advanced.output.debug` settings it on
2016-11-08 03:38:33 -05:00
Eric Amodio
409be335f9 1.0 wip 2016-11-03 03:09:33 -04:00
Eric Amodio
8df6b80725 Updates to latest vscode extension template
Removes typings (using npm instead)
Fixes some promise catches
2016-09-29 16:06:48 -04:00
Eric Amodio
d2d72f0d54 Fixes another off-by-one issue when diffing with caching
Refactored commands and blame annotations
2016-09-26 00:55:54 -04:00
Eric Amodio
23b2c679a9 Fixes off-by-one issues with blame annotations without caching and when diffing with a previous version 2016-09-22 23:00:09 -06:00
Eric Amodio
157928311e Adds more protection for uncommitted lines
Adds better uncommitted hover message in blame annotations
2016-09-21 10:55:16 -04:00
Eric Amodio
b047fbc394 Adds catch to blameLine to avoid strange issues
Removes Git: from all the commands
Removes unused enricher
2016-09-21 09:46:29 -04:00
Eric Amodio
7a4dcae8c7 Fixes #7 - loading issue on Linux 2016-09-21 02:38:25 -04:00
Eric Amodio
834b4904db Adds blame information in the statusBar
Add new StatusBar settings -- see **Extension Settings** above for details
Renames the `gitlens.codeLens.recentChange.command` & `gitlens.codeLens.authors.command` settings options (to align with command names)
Adds new `gitlens.diffWithPrevious` option to the `gitlens.codeLens.recentChange.command` & `gitlens.codeLens.authors.command` settings
Fixes Diff with Previous when the selection is uncommited
Removes `gitlens.blame.annotation.useCodeActions` setting and behavior
2016-09-21 02:06:23 -04:00
Eric Amodio
c4b8637946 Fixes #7 - missing spawn-rx dependency (argh!) 2016-09-20 11:34:40 -04:00
Eric Amodio
20df7732be Fixes #7 - missing lodash dependency 2016-09-20 10:20:47 -04:00
Eric Amodio
30b1fba8d4 Reduces the size of the vsix 2016-09-19 21:53:13 -04:00
Eric Amodio
7b4dd77fbc Adds new CodeLens visibility & location settings
Adds new command to toggle CodeLens on and off when `gitlens.codeLens.visibility` is set to `ondemand`
2016-09-19 21:28:52 -04:00
Eric Amodio
14e9c5b4fa Fixes blame explorer failing to load content 2016-09-19 21:28:16 -04:00
Eric Amodio
69c4d44b49 Fixes a slew of issues because of the Fix for #1 2016-09-19 05:14:45 -04:00
Eric Amodio
ff01054f90 Fixes #1 Support blame on files outside repo
Replaces blame regex parsing with more robust parser (also use s--incremental instead of --porcelain)
Stops throwing on git blame errors (too many are common)
Fixes issues with Diff with Previous command
Fixes issues with blame explorer code lens -- with previous commits
Fixes issues with compact blame annotations -- skips blank lines
2016-09-19 04:11:46 -04:00
Eric Amodio
c69a160ea5 Refactors git modules - unify under gitProvider
Adds advanced setting to enable blame cache
Fixes codelens settings to actually work
2016-09-19 00:24:19 -04:00
Eric Amodio
7a604191a7 Fixes issue where original filename got lost
Fixes file path normalization
2016-09-15 12:33:43 -04:00
Eric Amodio
2be76ed8a8 Fixes #4 2016-09-15 10:50:45 -04:00
Eric Amodio
dcb789f58d Adds many new settings
Adds new blame annotation styles (compact & expanded)
Cleaned up blame annotations
Fixes issue with invalid repoPath on first start
2016-09-15 05:03:46 -04:00
Eric Amodio
0ee09d9d87 Fixes #4 - Absolute paths fail on Windows due to backslash
Hopefully for real this time
2016-09-14 13:31:57 -04:00
Eric Amodio
7fa0b9d01b Fixes #5 - Finding first non-white-space fails sometimes 2016-09-14 13:30:52 -04:00
Eric Amodio
fba6def3e4 Adds .gitignore checks to reduce blame calls
Caches failed blames to reduce blame calls
Only clear failed blames from cache on change/save
Add better error messages and handling
2016-09-14 13:30:14 -04:00
Eric Amodio
d70a47201c Fixes #4 - Absolute paths fail on Windows due to backslash 2016-09-14 02:29:22 -04:00
Eric Amodio
e0cf335811 Fixes #2 - Adds better error logging 2016-09-14 02:28:20 -04:00
Eric Amodio
87215850b7 Fixes #4 - Absolute paths fail on Windows due to backslash 2016-09-14 00:55:48 -04:00
Eric Amodio
a2eee23d7f Scrolls to the correct position in the diff 2016-09-14 00:55:24 -04:00
Eric Amodio
19c0e46729 Fixes some issues with uncommited blames
Automatically turns off blame only when required now
2016-09-07 15:45:42 -04:00
Eric Amodio
26ce5f7d53 Fixes failure when filename changes in history
Removes CodeLens from fields and single-line properties to reduce visual noise
2016-09-07 12:28:00 -04:00
Eric Amodio
b7920f3c3d Fixes (read: hacks) blame with visible whitespace
Adds diff menu commands always
Attempts to move the diff file to the correct line number
Fixes code action provider -- works again
Deletes deprecated code
2016-09-05 16:40:38 -04:00
Eric Amodio
d04696ac1d Adds code actions to open diffs
Adds context menus for toggling blame
Adds context menus for opening diffs
More refactoring and many bug fixes
2016-09-04 21:46:40 -04:00
Eric Amodio
ebb1085562 Switches to porcelain blame format
Provides more data (commit message, previous commit, etc)
2016-09-04 03:43:35 -04:00
Eric Amodio
47ce5c5132 Adds author count + leader CodeLens
Upgrades to TypeScript 2
Lots of refactoring and many bug fixes
2016-09-04 00:49:02 -04:00
Eric Amodio
f08339335d Adds full blame UI support 2016-09-02 21:24:53 -04:00
Eric Amodio
f4d3d1718d Reverses diff ordering
Only adds blame code lens within the specified range
2016-09-02 00:53:13 -04:00
Eric Amodio
ea33560f14 Removes hard dependency on donjayamanne.githistory
Provides optional additional code lens
2016-08-31 21:24:03 -04:00
Eric Amodio
70cc92ddd6 Adds CodeLens for Diff'ing in blame
Other fixes and refactoring
2016-08-31 21:15:06 -04:00
Eric Amodio
0e064f15c7 Reworks git abstraction and acccess
Adds commands module
Adds git commit message to blame hover decorator
2016-08-31 17:20:53 -04:00
Eric Amodio
9964ea691b Fixes issue with executing blame command
And minor other positioning issues
2016-08-31 15:55:33 -04:00
Eric Amodio
92beca2542 Fixes issues with file renames
And other git related edge cases
2016-08-31 15:03:22 -04:00
Eric Amodio
a22b8b1ddd Reworks location processing
Decoupled from the CodeLens and less processing before it is required
2016-08-31 05:03:20 -04:00