Commit Graph

1396 Commits

Author SHA1 Message Date
João Moreno
b8512b2055 remove git content provider 2020-04-15 07:42:50 +02:00
bkis
433380c3c1 Fix typo in git extension's config description (#94993) 2020-04-11 06:45:15 -07:00
Eric Amodio
9640830490 Fixes #94882 -- checks for trailing \ & protects
if somehow `networkPath` had a trailing \, it would cause this behavior
2020-04-10 15:14:14 -04:00
Isidor Nikolic
71913027c3 Merge pull request #93706 from ChrisPapp/git_keybindings
Add default keybindings for stage/revert/unstage selected ranges
2020-04-09 17:13:27 +02:00
João Moreno
8ceb90a807 fixes #93493 2020-04-09 15:22:27 +02:00
João Moreno
85f3f46ec1 fixes #93779 2020-04-09 11:13:36 +02:00
João Moreno
6e89889166 Merge pull request #91872 from jeanp413/fix-91871
Fixes missing git folder actions under Untracked Changes group in scm viewlet
2020-04-07 17:27:01 +02:00
Eric Amodio
4ccf3e4ef3 Fixes #94163 2020-04-06 23:58:04 -04:00
Eric Amodio
4f179b7241 Adds better menu grouping 2020-04-06 23:21:40 -04:00
Jean Pierre
e0850567f5 Merge branch 'master' into fix-91871 2020-04-05 20:26:43 -05:00
Eric Amodio
28dbe0755e Fixes #94090 - adds remote scheme for git timeline 2020-04-03 17:28:09 -04:00
Eric Amodio
2c684a77a6 Fixes #94107 remove open changes action 2020-04-03 17:28:09 -04:00
Christos Pappas
482acb89e9 Add mac specific keys
Use command key instead of ctrl on Mac
2020-04-01 20:16:21 +03:00
’Christos
602f3f9b46 Add default keybindings for stage/revert/unstage selected ranges
git.stageSelectedRanges   -> ctrl + k, ctrl + alt + s
git.unstageSelectedRanges -> ctrl + k, ctrl + u
git.revertSelectedRanges  -> ctrl + k, ctrl + r

Closes #93564
2020-03-30 02:49:03 +03:00
Eric Amodio
e62c4302b0 Removes day.js dependency; uses Intl instead 2020-03-26 00:10:41 -04:00
Eric Amodio
a096bae36c Switches to use realpath.native instead of wmic 2020-03-25 16:34:52 -04:00
Eric Amodio
68e7b61f91 Fixes #91548 - git 2.25+ network drive issue
On Git 2.25+ if you call rev-parse --show-toplevel on a mapped drive, instead of getting the mapped drive path back, you get the UNC path for the mapped drive.

So we will try to normalize it back to the mapped drive path if possible
2020-03-25 03:31:55 -04:00
Eric Amodio
9c1e26890c Fixes #91377 - save previous ref 2020-03-23 17:15:41 -04:00
Eric Amodio
a5987ce853 Fixes focus issue on click 2020-03-23 17:15:18 -04:00
Eric Amodio
5391a481bc Simplifies timeline paging options 2020-03-23 13:49:44 -04:00
Eric Amodio
3f6843956a Refactors timeline to work better w/ multi sources
Separates the tree rendering from the data model cache
Fixes many issues and simplifies the code
2020-03-20 04:00:52 -04:00
Miguel Solorio
6b745dace7 Use codicons in scm 2020-03-05 11:24:32 -08:00
Eric Amodio
d1c1e27028 Changes limit to take a cursor object — #91722 2020-03-02 04:35:43 -05:00
jeanp413
b0a50321f7 Fixes #91871 2020-03-01 22:16:17 -05:00
Eric Amodio
a5225d02a8 Limits schemes for Git timeline provider 2020-03-01 11:32:59 -05:00
Eric Amodio
634522a6ed Fixes #91381 2020-03-01 11:32:18 -05:00
Eric Amodio
d983fe6014 Fixes bad encoding in title - ref #91377 2020-02-27 11:23:45 -05:00
Joao Moreno
96dfec43ee fixes #90934 2020-02-27 09:58:06 +01:00
Joao Moreno
04c9b01aff fixes #91466 2020-02-27 09:24:38 +01:00
Joao Moreno
50ec1b1b33 fixes #91070 2020-02-27 08:37:34 +01:00
Eric Amodio
89cafb24e5 Localizes timeline strings 2020-02-24 22:56:45 -05:00
Eric Amodio
d46c8a8c3c Lots of timeline related changes, below
UI:
Adds Refresh icon to view title
Adds "Load more" entry at the end of the list for paging

API:
Restructures api around cursors
Renames TimelineCursor to generic TimelineOptions for more flexibility
Adds paging object to Timeline for clearer paging usage
Changes cursors to be strings, and explicit before and after cursors
Allows limit to take a cursor, so we can reload current data set
Clarifies id and fallback to timestamp
Adds reset flag to TimelineChangeEvent for providers to reset caching

Git provider:
Orders and returns commit date as the timestamp
Supports limit of a cursor (using rev-list --count)
Stops returning working/index changes when paging
Forcably resets cached data when changes are detected (naive for now)
2020-02-24 15:48:37 -05:00
Joao Moreno
d43bb97bb0 git: contribute Clone to explorer 2020-02-19 12:23:02 +01:00
Joao Moreno
e7ebb137b7 git: easy case for git init 2020-02-19 11:59:27 +01:00
Joao Moreno
27606615ba rewrite 2020-02-19 11:59:25 +01:00
Joao Moreno
acb9817a8d too many conditions 2020-02-18 16:37:52 +01:00
Joao Moreno
913c256bb3 fixes #90705 2020-02-18 16:36:10 +01:00
Joao Moreno
595f98455b fix git tests 2020-02-18 13:56:16 +01:00
Joao Moreno
fe884b305e Revert "Revert "Fix #88294 Add commitData in commit interface""
This reverts commit aa70f38ab2.
2020-02-18 12:56:07 +01:00
Alex Dima
aa70f38ab2 Revert "Fix #88294 Add commitData in commit interface"
This reverts commit 51b8bd5064.
2020-02-18 12:48:22 +01:00
João Moreno
cd6006b5ff Merge branch 'master' into issue/88294 2020-02-18 10:03:44 +01:00
Joao Moreno
2d125bc3cf remove git init action from top of scm 2020-02-17 12:24:01 +01:00
Joao Moreno
cce81b98b9 Merge branch 'joao/empty-views-api' 2020-02-17 12:05:37 +01:00
Joao Moreno
25b36c1c37 rename empty view contents to view welcome 2020-02-17 11:25:17 +01:00
Matt Bierner
6ec6f9e3f4 Fix git integration tests
Move back to using normal vscode dependency for now . We will look into moving off it later
2020-02-15 13:13:22 -08:00
Eric Amodio
5c017be321 Fixes broken test with git extension 2020-02-14 18:55:11 -05:00
Eric Amodio
9ae0fd36c9 Enhances timeline - commands, timestamp, etc
Adds contributable commands to timeline items
Adds right-aligned timestamp to timeline items
Adds Open Changes to Git timeline items
Adds Copy Commit ID to Git timeline items
Adds Copy Commit Message to Git timeline items
2020-02-14 15:22:45 -05:00
Eric Amodio
69b30f6ba7 Adds paging support (wip) 2020-02-14 15:22:45 -05:00
Joao Moreno
b62b2280ea fixes #90620 2020-02-14 07:24:17 +01:00
Joao Moreno
eab81b4a31 git missing docs 2020-02-13 16:53:08 +01:00