Commit Graph

836 Commits

Author SHA1 Message Date
Ladislau Szomoru
efa1cffedd Git - remove history item ref actions until we finalize on the structure of the context menu (#234838) 2024-11-28 15:50:49 +01:00
Ladislau Szomoru
5a2d782244 SCM - set the foundation for history item ref actions (#234784)
* WIP - initial implementation

* Manually fix merge

* Figure out the correct way to pass action arguments

* Fix compilation error
2024-11-27 22:07:16 +00:00
Ladislau Szomoru
f08b93ebb9 Git - add template support for editor decoration/status bar item (#234582)
* Refactor property names

* Add template support

* Refactor template variable names

* Manually fix the merge
2024-11-25 16:55:40 +00:00
Ladislau Szomoru
b61c0f18d9 Git - add git blame status bar item (#234302)
* Git - improve enabliment of the editor decoration

* Git - add git blame status bar item
2024-11-20 15:08:33 -08:00
Ladislau Szomoru
6c8a8e24d2 Git - tag setting + better handling of not yet committed changes (#234221) 2024-11-19 23:03:29 +01:00
Ladislau Szomoru
80635b487b Git - experimental git blame editor decoration (#234209)
* Initial implementation

* Add setting, and cache blame information more aggressively
2024-11-19 22:05:19 +01:00
Ladislau Szomoru
e222bb40e0 Git - hide git.diff.stageHunk and git.diff.stageSelection commands from the command palette when not in diff editor (#234163) 2024-11-19 10:40:17 +01:00
Ladislau Szomoru
30043071a3 TextEditorDiffInformation API proposal (#233896)
* WIP - initial implementation

* Introduce the diff model service

* Remove code that is not needed

* Handle DiffEditor

* Performance optimization

* Refactor code

* More cleanup (V1)

* More cleanup (V2)

* More cleanup (V2.1)

* Pull request feedback

* Remove debugging statements

* Update mock proxy to fix tests

* Add proposed api check
2024-11-18 15:38:21 +01:00
Ladislau Szomoru
09255216a2 SCM Graph - add actions back to the view title (#234091)
* Initial implementation

* Adjust commands and context key computation
2024-11-18 12:53:59 +01:00
Ladislau Szomoru
d085816005 Git - better handle conflict during cherry-pick (#230312) 2024-10-02 16:39:30 +02:00
Benjamin Pasero
b591f33513 🆙 jschardet@3.1.4 (#230197) 2024-10-01 08:19:15 +02:00
Ladislau Szomoru
056af29c9b SCM Graph - Add "Go to Current History Item" action (#228600)
* Reveal current history item if it is already part of the tree

* Fetch current history item
2024-09-13 23:35:29 +02:00
Ladislau Szomoru
597b5e965b SCM Graph - Add more commands to the context menu (#228480)
* SCM Graph - add "Checkout (Detached)" command

* Add "Cherry Pick" command
2024-09-13 15:36:52 +02:00
Ladislau Szomoru
4376d38fcd SCM Graph - Add "Create Branch..." command to the history item context menu (#228438) 2024-09-13 12:15:16 +02:00
Ladislau Szomoru
8a9caf323a SCM Graph - Add "Create Tag" action to history item context menu (#228428) 2024-09-13 10:17:44 +02:00
Ladislau Szomoru
adc7335b1d SCM Graph - fix action item title and order (#228380) 2024-09-12 21:23:31 +02:00
Ladislau Szomoru
a546f7613c SCM - graph always scoped to one repository (#227302)
* Initial implementation of the view

* Extract things into SCMHistoryViewModel

* Add repository name in the title description

* Set the scmProvider context key
2024-09-01 07:50:16 -07:00
Ladislau Szomoru
72e9b7daff SCM - remove old incoming/outgoing code (#227200)
* Delete SCMViewSeparatorElement

* Deleted all renderers

* Delete SCMHistoryItemGroupTreeElement

* More clean-up

* Cleanup old menus

* Fix compilation errors after ESM merge
2024-08-30 14:10:47 +02:00
Ladislau Szomoru
557228e262 SCM - Source Control Graph view (#226250)
* Added the new view

* Add support for getting N number of commits

* Added view title actions

* More work to enable view/repository actions

* Expand the view by default, and always show the last N commits

* Add context menu actions

* Improve actions

* Basic infinite scrolling implemented

* Better implementation using --skip instead of a cursor

* Do not refresh graph when pressing Refresh

* Refactor load more/caching

* Rename the view

* Add support for the find widget
2024-08-22 15:54:22 +02:00
Daniel Imms
929eba4808 Finalize shellIntegration API
Fixes #145234
2024-08-04 09:27:32 -07:00
Ladislau Szomoru
2293c3d73c SCM - Move "View Changes" action into core (#223485)
* Move "View Changes" action into core

* Verify that the first/last history item group are on the same branch
2024-07-24 03:59:27 -07:00
Ladislau Szomoru
08c88cee36 SCM - better handle empty commits (#222194) 2024-07-19 07:59:30 -07:00
Ladislau Szomoru
129edfe9cd SCM - add basic context menu to history graph (#222162) 2024-07-19 03:20:53 -07:00
Ladislau Szomoru
b17732f43c Git - add terminal shell execution listener (#221895) 2024-07-17 14:28:09 +05:30
Tyler James Leonhardt
b07596a8aa Polish QuickInputButtonLocation (#221403)
* Fix a bug where the buttons would show up when they shouldn't by clearing them on show like the other ActionBars
* Introduce Proposed API (changed the core shape to reflect)
* Adopted in Git extension

ref https://github.com/microsoft/vscode/issues/221397
2024-07-10 11:39:24 -07:00
Ladislau Szomoru
33abd96b99 Git - add actions to incoming/outgoing header (#221221) 2024-07-08 22:08:24 +02:00
Benjamin Pasero
3a0cc239a9 🆙 jschardet@3.1.3 (#220089) 2024-07-05 16:30:50 +02:00
Ladislau Szomoru
856fba0b67 SCM - more work related to history (#216641)
* Rename base to remote

* introduce base

* Remove resolveHistoryItemGroupBase

* 💄

* More 💄

* Remove file that is out of scope
2024-06-19 22:05:10 +02:00
Benjamin Pasero
9b17067697 debt - 🆙 jschardet@3.1.2 (#214136) 2024-06-03 06:22:13 -07:00
Robo
5216c04428 chore: update to electron 29 (#209818)
* chore: update electron@29.1.0

* chore: update typings to 20.x

* chore: bump electron@29.1.5

* ci: fix crash in compiling extensions-ci

* chore: disable .d.ts check for build/

$ ../node_modules/.bin/tsc -p tsconfig.build.json
node_modules/@types/chokidar/index.d.ts:21:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/@types/chokidar/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
  Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref

21 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
                ~~~~~~~~~

node_modules/chokidar/types/index.d.ts:8:14 - error TS2420: Class 'import("/Users/demohan/github/vscode/build/node_modules/chokidar/types/index").FSWatcher' incorrectly implements interface 'import("fs").FSWatcher'.
  Type 'FSWatcher' is missing the following properties from type 'FSWatcher': ref, unref

8 export class FSWatcher extends EventEmitter implements fs.FSWatcher {
               ~~~~~~~~~

Found 2 errors in 2 files.

Errors  Files
     1  node_modules/@types/chokidar/index.d.ts:21
     1  node_modules/chokidar/types/index.d.ts:8

Refs a0f9e09f64

* chore: update core types

* temp: fix layer validation

* chore: update nodejs checksums

* ci: use latest v20 LTS for missing node-gyp

Refs eacec5f490

* ci: define LIBCPP_HARDENING_MODE

* ci: fix crash in vscode-web-min-ci

* chore: update rpm deps-list

* chore: bump tree-sitter-typescript@0.20.5

* chore: bump electron@29.3.0

* chore: bump electron@29.3.1

* chore: update rpm deps-list for x86_64

* ci: disable io_uring UV backend on linux

* ci: disable io_uring backend for oss as well

* chore: update typings to 20.x

* ci: add TODO for io_uring workaround

* chore: bump distro

* chore: update preinstall node version checks

* chore: update @types/gulp

Refs https://github.com/microsoft/vscode/issues/212442

* ci: disable io_uring in more test suites
2024-05-11 01:20:28 +09:00
Ladislau Szomoru
0991b0053f Git - fix view untracked changes command visibility (#211167) 2024-04-23 21:09:25 +02:00
Pig Fang
a7d0bc8982 Auto close Git multi-diff editor when all files staged or comitted (#210327)
* auto close multi-diff editor when all files staged or comitted

* remove unused vars
2024-04-17 11:16:33 +00:00
Ladislau Szomoru
f9554073cc Git - add dedicated commands to view changes (#209942) 2024-04-09 14:33:13 +02:00
Henning Dieterichs
b7d35c8bdd Implements #206808 2024-03-15 17:08:36 +01:00
Ladislau Szomoru
414f2cd189 Git - fix reopen closed repositories action visibility issue (#205851) 2024-02-21 12:20:59 +01:00
Ladislau Szomoru
232e9a2bef Git - comment out GitIncomingChangesFileDecorationProvider (#205583) 2024-02-19 21:25:13 +01:00
Ladislau Szomoru
9b0d74345c Git - remove git.experimental.inputValidation setting (#205550)
* Git - remove git.experimental.inputValidation setting

* Fix compilation error

* Fix migration code
2024-02-19 10:45:24 -08:00
Ladislau Szomoru
e713ba0fb9 Git - Add context menu to history items (#205359) 2024-02-16 12:48:08 +01:00
Ladislau Szomoru
4f9a706c79 Git - add command to close all unmodified editors (#205278)
* Git - add command to close all unmodified tabs

* Fix compilation error
2024-02-15 14:33:02 +01:00
Ladislau Szomoru
9576c1a7c5 Git - Add button/setting to always replace local tags in case of a conflict during the pull operation (#205148) 2024-02-13 22:04:29 +01:00
Ladislau Szomoru
c19383a66d Git - add file decoration provider for incoming changes (#204919)
* Initial implementation of a file decoration provider and quick diff provider

* Refactor file decoration provider

* Add incomingChanges to history provider

* Move decoration provider

* Move things around

* Add separate color for renamed incoming change

* Remove include that is not needed
2024-02-11 07:39:43 +01:00
Ladislau Szomoru
20c0f83f1b Git - experimental input validation using diagnostics (#204822)
* Initial implementation

* Add setting + code actions
2024-02-09 14:19:30 +01:00
Ladislau Szomoru
d96a8b66ce SCM - Use Publish action when the local branch does not have an upstream (#204617) 2024-02-07 15:54:49 +01:00
Ladislau Szomoru
837b74c1b4 SCM - history item group context menu (#203712) 2024-01-29 17:27:24 +01:00
Ladislau Szomoru
b26b05031e SCM - Add "Reopen Closed Repositories..." action to the "Source control Repositories" view title bar (#203512) 2024-01-26 10:50:25 +01:00
Ladislau Szomoru
5b91204184 SCM - do not show "View Commit" or "View All Changes" action for empty commits (#203381) 2024-01-24 21:15:51 +01:00
Ladislau Szomoru
0287cb9fe7 Git - add fetch, pull, push commands to incoming/outgoing (#202809) 2024-01-19 11:25:59 +01:00
Ladislau Szomoru
3ae8c8ea62 Git - polish view stash command (#202499)
* Implement drop stash command

* Add apply and pop commands

* Rename "preview" command to "view"

* Fixed action order

* Add icons, update commands
2024-01-15 14:49:01 +01:00
John Murray
2b06224582 Preserve sort order when filtering Git branch / tag quickpicks (fix #199471) (#199473)
* Preserve sort order when filtering Git branch / tag quickpicks (fix #199471)

* Fix the merge

* Dispose quickpick listeners

* Changes arising from PR feedback

* Rework listener disposal
2024-01-15 13:20:33 +00:00
Ladislau Szomoru
37b173d559 Add stage/unstage actions to the multi-diff editor (#202297) 2024-01-12 15:16:53 +01:00