Commit Graph

1438 Commits

Author SHA1 Message Date
Ladislau Szomoru
ff75a30d9f Revert "SCM - Introduce another open changes command got editor/command palette (#138293)"
This reverts commit af8b6ad9f0.
2022-01-10 15:32:37 +01:00
Ladislau Szomoru
302c41cf4e Add command to drop all stashes 2022-01-07 11:11:16 +01:00
Ladislau Szomoru
a4d7014d7a Git - add setting to control repository scan depth (#140260) 2022-01-07 10:18:53 +01:00
John Murray
faf4de0d7a fix #118617 use term 'remote' when referring to lack of upstream branch (#120467) 2022-01-06 13:55:48 +01:00
Ladislau Szomoru
76f34266d5 Replace RegEx with trim() 2022-01-04 11:34:42 +01:00
Matt Bierner
e7b3724e0c Enable no-case-declarations in codebase (#139243)
Fixes #139236

This can catch tricky programming mistakes that cause a runtime error. See 7e266b2c42 as an example of the type of bug this can prevent
2021-12-15 17:15:35 -08:00
Ladislau Szomoru
f0f5baffb9 Fix #124066 2021-12-13 15:44:20 +01:00
Christopher M Kline
b0d7083e79 Expose 'tag' and 'deleteTag' in git extension API (#123815) 2021-12-13 14:37:47 +01:00
Ladislau Szomoru
47de42baa9 Only probe directories during repository discovery 2021-12-10 09:53:48 +01:00
Ladislau Szomoru
b70174e85b Revert "Filter out file paths when discovering git repositories"
This reverts commit 81551acb51.
2021-12-09 17:32:53 +01:00
Ladislau Szomoru
81551acb51 Filter out file paths when discovering git repositories 2021-12-09 17:29:40 +01:00
Ladislau Szomoru
452e2c5303 Add timestamp and execution time to Git log 2021-12-09 15:18:38 +01:00
Logan Ramos
b395575f00 Address comments about ? operator 2021-12-02 09:55:53 -05:00
João Moreno
1af9ac1b8f fixes #138274 2021-12-02 11:51:15 +01:00
Ladislau Szomoru
af8b6ad9f0 SCM - Introduce another open changes command got editor/command palette (#138293)
* Introduce another command got editor/command palette
2021-12-02 11:40:08 +01:00
Logan Ramos
29ea2755e8 Fix #137974 2021-12-01 12:06:39 -05:00
Ladislau Szomoru
d6f24e10d5 Fix regression related to git.scanRepositories 2021-12-01 09:20:41 +01:00
Ladislau Szomoru
bfad20be9d Extract remote source provider registry into the vscode.git-base extension (#137656) 2021-11-24 20:48:44 +01:00
Alex Dima
cae6e662ce Reduce usage of allow-any-unicode-next-line 2021-11-20 21:01:29 +01:00
Ladislau Szomoru
56681eda57 Update Publish Branch label 2021-11-16 14:43:47 +01:00
Johannes Rieken
edb91ace89 Merge branch 'main' into joh/vscode-dts 2021-11-11 09:30:36 +01:00
Benjamin Pasero
fb48ad43fb git - make integration tests agnostic to file watcher issues (#136933) 2021-11-11 07:50:07 +01:00
Matt Bierner
b911788593 Mark a few more arrays in vscode.d.ts readonly
This makes it clear that you can't modify these arrays to add items, such as calling `breakpoints.push(...)` to add a breakpoint
2021-11-10 17:53:27 -08:00
Johannes Rieken
b9a2b0df1d Merge branch 'main' into joh/vscode-dts 2021-11-10 17:57:11 +01:00
deepak1556
2b25c6730d fix: parsing of --ms-enable-electron-run-as-node flag
Fixes https://github.com/microsoft/vscode/issues/136837
2021-11-10 23:42:33 +09:00
Johannes Rieken
d90dd1355b Merge branch 'main' into joh/vscode-dts 2021-11-10 08:40:26 +01:00
Alexandru Dima
e08e4d3fe1 Move --ms-enable-electron-run-as-node to a later location (#136786)
* Move `--ms-enable-electron-run-as-node` to a later location, which is not fatal in Electron builds that don't know it

* undo bad change
2021-11-09 15:11:12 -08:00
deepak1556
ac29daaf3b Fixes #136771: update to Electron v13.5.2 and pass --ms-enable-run-as-node together with ELECTRON_RUN_AS_NODE 2021-11-09 19:09:26 +01:00
Johannes Rieken
68e819043c use tsconfig.json#include for vscode.d.ts and vscode.proposed.d.ts, enables to remove most ref.d.ts-files 2021-11-09 15:53:35 +01:00
João Moreno
f18b29e132 fix(scm): 🐛 do not await git repo status, just give the repo straight up to scm
on repo discovery, the git extension would run `git status` and wait for that to finish before handing out the repository to scm. this was problematic since the scm default repo selection depends on repos being discovered in a timely fashion. there's no reason not to just hand out the repo to scm and let `git status` finish afterwards

Closes: #120089
Closes: #113803
2021-11-09 15:11:16 +01:00
Johannes Rieken
9254a8cd27 move vscode.d.ts and vscode.proposed.d.ts into src/vscode-dts-folder, https://github.com/microsoft/vscode/issues/131165 2021-11-09 15:00:03 +01:00
Ladislau Szomoru
4297ff8195 Revert fix for #26425 2021-11-05 15:53:32 +01:00
Joyce Er
05a2f2809e Don't show 'Sync Changes' button if auto sync or auto push are enabled (#134408) 2021-11-05 09:18:08 +01:00
Alex Dima
a704a69394 Enforce that source code uses a small subset of Unicode 2021-11-03 23:34:41 +01:00
Ladislau Szomoru
827639c994 Fix #136275 2021-11-02 12:01:05 +01:00
Logan Ramos
286606327d Fix #135692 2021-10-25 10:28:51 -04:00
Logan Ramos
514ad0acf0 Fix #135422 2021-10-20 15:18:46 -04:00
Eric Amodio
2306ad1ef4 Fixes #129669: new setting to control status limit
Also bumps the default from 5000 to 10,000
2021-09-30 01:04:30 -04:00
Eric Amodio
6fe68a2b0c Fixes #133974: SCM - sync changes button 2021-09-28 15:10:57 -04:00
Eric Amodio
51bd88d8f2 Adds git.showUnpublishedCommitsButton setting 2021-09-28 00:13:51 -04:00
Eric Amodio
55c726b53e Adds scm action button
Refs: #110882
2021-09-27 01:16:09 -04:00
Benjamin Pasero
adee8fa29a editors - shorten diff labels (#110694) 2021-09-19 17:29:44 +02:00
Logan Ramos
323237921b Set context key on more than just the working tree 2021-08-03 10:00:52 -04:00
Eric Amodio
6f9483bab6 Disables auto-fetch in untrusted workspaces 2021-07-13 13:04:49 -04:00
Eric Amodio
5ef5837c58 Improves Git security with untrusted workspaces 2021-07-13 13:04:49 -04:00
Logan Ramos
c1ae18fad7 Fix #26425 2021-07-12 14:48:32 -04:00
Logan Ramos
656e1e6086 More deprecated assertion cleanup 2021-05-04 15:55:26 -04:00
Logan Ramos
025fcaf611 remove old asserts from git tests 2021-05-04 15:32:21 -04:00
Eric Amodio
6836261663 Adds workspace trust setting 2021-04-19 11:53:57 -04:00
Benjamin Pasero
14981ce89d tests - enable colors for windows (CI supports it and the new Windows terminal too) 2021-04-19 09:29:20 +02:00