1130 Commits

Author SHA1 Message Date
Pine Wu
5a0ab960f0 Fix integration test 2020-03-05 12:41:06 -08:00
Pine Wu
67e6aef0c8 Fix #73803 2020-03-05 11:34:58 -08:00
Eric Amodio
d1c1e27028 Changes limit to take a cursor object — #91722 2020-03-02 04:35:43 -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
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
e7ebb137b7
git: easy case for git init 2020-02-19 11:59:27 +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 aa70f38ab24143de1948cd49154257b39b30b2f0.
2020-02-18 12:56:07 +01:00
Alex Dima
aa70f38ab2
Revert "Fix #88294 Add commitData in commit interface"
This reverts commit 51b8bd5064e093e2a2f4d92498945e2f1adb349c.
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
cce81b98b9
Merge branch 'joao/empty-views-api' 2020-02-17 12:05:37 +01: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
eab81b4a31
git missing docs 2020-02-13 16:53:08 +01:00
Jiayue. Zhang
ee6278b01e
Merge branch 'master' into issue/88294 2020-02-13 00:06:47 +09:00
Eric Amodio
5cb987119a Fixes #90229 2020-02-10 14:52:22 -05:00
Matt Bierner
b46d35c25c Don't import from node in extensions for URL and TextEncoder
Fixes #90162

Follow up on b1c5e2f19b7c905f830388e823c9e12f33aab2ad
2020-02-07 15:51:13 -08:00
Ian MacFarlane
282732392f
Clarify language when creating new git branch
When using the git extension, the intent is clear when clicking on "+ Create new branch..." and immediately being prompted "Please provide a branch name". But, when clicking on "+ Create a new branch from..." the intent is ambiguous, since the statement "Please provide a branch name" could refer to the branch from which you wish to base the new branch on or the name of the new branch, the latter being what actually happens.

By specifying "Please provide a *new* branch name...", the intent is clear: the prompt is asking for the name you wish to call the new branch.
2020-02-06 13:04:31 -05:00
Eric Amodio
eaf632c42a Adds uncommitted changes to timeline 2020-02-06 00:04:54 -05:00
Eric Amodio
9cd22d0dc1 Updates list of readonly git commands 2020-02-06 00:02:00 -05:00
Eric Amodio
4cc5b776dc Overhauls timeline display to stream in results
Implements many API review changes
Fixes #89558
2020-02-05 18:16:37 -05:00
Joao Moreno
dde577b23e
activate git before smoke tests 2020-02-05 15:03:05 +01:00
Joao Moreno
7ed9930136
💄 2020-02-05 11:42:33 +01:00
Joao Moreno
ba25c52127
more git smoke test fixes 2020-02-05 10:57:30 +01:00
Joao Moreno
06dbb1938f
make sure git is activated before integration tests run 2020-02-05 10:24:47 +01:00
Joao Moreno
d2f9126da3 git tests: windows is pain 2020-02-04 20:54:46 +01:00
Joao Moreno
5f239c7414 Merge branch 'master' of github.com:microsoft/vscode 2020-02-04 20:26:24 +01:00
Joao Moreno
54007fa545 fix git smoketests 2020-02-04 20:26:12 +01:00
Matt Bierner
b1c5e2f19b
Don't include dom typings in extensions (#89942)
**Problem**
All of our extensions currently are built using the dom typings. This can lead to runtime errors if you mistakenly use `window` or similar

**Fix**
Exclude the dom typings from compile. Then explicitly import the node types for `URL` and `TextEncoder`
2020-02-04 11:08:22 -08:00
Joao Moreno
16c7551f36
move git smoke tests to integration tests 2020-02-04 17:06:49 +01:00
Joao Moreno
a2defb0625
fix build 2020-02-04 12:49:59 +01:00
Joao Moreno
1dd16ab728
setup git integration tests 2020-02-04 12:35:28 +01:00
Joao Moreno
c606dd95e1
fix git tests 2020-02-04 12:35:28 +01:00
Jiayue. Zhang
b61b242503
Merge branch 'master' into issue/88294 2020-01-31 15:49:40 +09:00
Joao Moreno
830992d818
fixes #89373 2020-01-30 17:12:15 +01:00
Jiayue Zhang
51b8bd5064 Fix #88294 Add commitData in commit interface 2020-01-30 01:10:05 +09:00
Joao Moreno
a8231df2ff
fixes #88024 2020-01-29 12:39:05 +01:00
Eric Amodio
5c92e3af68 Fixes open diff command (backwards) 2020-01-27 15:28:33 -05:00
Eric Amodio
44edf3c197 Polishes the timeline UI/UX
Cleans up API and removes some unused features (e.g. paging)
Adds date formatting
Adds loading progress and message
Removes lots of console.logs 😁
Adds titles to diffs
2020-01-27 15:28:33 -05:00
Eric Amodio
2dc90b8140 Adds index (staged changes) to timeline 2020-01-27 15:28:33 -05:00
Eric Amodio
d7b5fe4cc7 Adds refresh for when timeline changes 2020-01-27 15:28:33 -05:00
Eric Amodio
87c2332fed Adds timeline diff on click and icon support 2020-01-27 15:28:33 -05:00
Joao Moreno
548baadc5f
git: have own log level
related to #85992
2020-01-27 14:40:24 +01:00
Joao Moreno
a398adac13
revert git uri changes
fixes #88775
2020-01-22 15:29:13 +01:00
Joao Moreno
afe47568c1
git: expose getRepository 2020-01-21 15:49:44 +01:00
Joao Moreno
7a05051001
Merge commit 'refs/pull/86919/head' of github.com:microsoft/vscode into pr/86919 2020-01-15 11:05:43 +01:00