Commit Graph

13872 Commits

Author SHA1 Message Date
Matt Bierner
debcf16fcd Mangle exported symbols (#182935)
* Mangle exported functions

For #180461

This prototype tries to mangle exported functions, saving a further 440kb from the bundle size

* Fix missing call

* Also try mangling top level exported consts too

* Fixing errors

* Don't run on build files

* Skip a few more manglings and revert change to namespace

* Skip a few more monaco files

* Also mangle consts that shadow types

This increases savings up to 3325

* Also mangle exported classes

* Skip mangling more localization functions for now

* Opt out pfs

* Update build script

* Run find locations task in parallel

This should speed up compile

* Cleanup before close

* Limit workers to avoid hitting memory limit

* Limit pool size

* Skip one more mangling

* Exclude entrypoints from mangling

* Try to fix web build and clean up code

* Exempt a few more projects

* Exempt another file

* Also exempt html

* Skip mangling ext entrypoints

* Use prefix that can't be confused with rpc calls

* Fix max call stack error

* Switch prefixes

* Don't mangle ambient declarations

* Use correct way of checking modifier flags

* Workaround getCombinedModifierFlags not doing what I'd expect

Maybe needs the checker to be enabled too? Just check parent chain instead for now

* Clean up code and add logic showing how enum mangling could work

* Remove a few more skipMangles

Use entrypoints instead

* Fix entrypoint name
2023-06-13 08:18:05 +02:00
Matt Bierner
ab8ed4b717 Fallback to use insert text when label is falsy (#184944)
For #184812
2023-06-12 21:11:42 +02:00
Ladislau Szomoru
17c88bf045 Git - extract code into UnsafeRepositoryManager (#184896) 2023-06-12 12:29:47 +02:00
Ladislau Szomoru
b0b1af125c Git - extract code into ParentRepositoriesManager (#184891) 2023-06-12 11:47:30 +02:00
Ladislau Szomoru
323e6df4e7 Git - improve repositories quick pick (#184794) 2023-06-12 10:05:02 +02:00
Connor Peet
c550a7b52c debug: auto recover from shifted tmpdirs in auto lauch (#184764)
I think this should fix https://github.com/microsoft/vscode-js-debug/issues/1660
2023-06-10 00:14:11 +02:00
Matt Bierner
5a55352cf7 Combine esbuild scripts (#184531)
* Combine esbuild scripts

This combines the various build scripts used for building webview/notebook content. This should make it easier to update settings for them

As part of this, I also fixed the script so that on watch it restarts automatically on syntax errors instead of exiting

* Migrate other build script

* Fixing math build script
2023-06-09 14:55:05 -07:00
Ladislau Szomoru
12533c5490 Git - extract close repository management into its own class (#184752) 2023-06-09 14:54:38 -07:00
Aaron Munger
6c6ffa3144 Merge pull request #184675 from microsoft/aamunger/streamingOutput
select previous output to be replaced correctly
2023-06-09 07:59:43 -07:00
Ladislau Szomoru
9979f9cc3c Git - close repository improvements (#184708)
* Initial implementation

* Move ObservableSet into a separate file

* Add quick pick for reopening closed repositories

* Fix issue with initializing the context key

* Add welcome views
2023-06-09 13:19:57 +02:00
Ladislau Szomoru
40474d7f45 Revert "Git - Close Repository command should be disabled when there is only one repository opened (#184637)" (#184685)
This reverts commit 2cccaaee8a.
2023-06-09 10:26:47 +02:00
aamunger
3767249655 select previous output to be replaced correctly 2023-06-08 21:51:18 -07:00
Ladislau Szomoru
2cccaaee8a Git - Close Repository command should be disabled when there is only one repository opened (#184637) 2023-06-08 15:19:10 -07:00
Michael Lively
34bde274c1 debt - remove field when no attachments present (#184630) 2023-06-09 00:18:46 +02:00
Tyler James Leonhardt
dd2441f7ba Polish Sovereign Cloud support (#184634)
* Use `@azure/ms-rest-azure-env` as official reference of endpoints
* Allow better configuration of custom clouds (these are new so it is ok to change the settings without migration)

Also clean up:

* querystring -> URLSearchParams (getting rid of a package dependency in the web)
* handle `workbench.getCodeExchangeProxyEndpoints` in one place
2023-06-08 12:39:29 -07:00
Ladislau Szomoru
908b24de44 GitHub - branch protection uses silent auth (#184609) 2023-06-08 17:59:26 +02:00
Daniel Imms
911d1c0eab Merge pull request #184413 from microsoft/tyriar/184331
Adopt EnvironmentVariableCollection in git ext
2023-06-08 08:52:35 -07:00
Ladislau Szomoru
fbdddfde42 Git - upgrade which dependency (#184607) 2023-06-08 17:28:14 +02:00
Daniel Imms
e139fdb1c6 Localize git features string 2023-06-08 05:11:45 -07:00
Johannes Rieken
2798d7bf41 joh/rainy weasel (#184582)
* add tooltip (plain text) to static items,

re https://github.com/microsoft/vscode/issues/183772

* support accessibilityInformation for static static bar contribs,

https://github.com/microsoft/vscode/issues/183772
2023-06-08 12:33:24 +02:00
Johannes Rieken
d8dcdb924a Merge pull request #184575 from microsoft/joh/protective-cicada
joh/protective cicada
2023-06-08 12:15:04 +02:00
Matt Bierner
977ee8ca1e Add logging of readDirectory (#184549) 2023-06-07 15:22:16 -07:00
David Dossett
80f09eef48 Fix settings dropdown list background (#184547) 2023-06-08 00:03:16 +02:00
Matt Bierner
22e273bc60 Update markdown grammar (#184533) 2023-06-07 13:05:32 -07:00
Matt Bierner
703a75da38 Add ` as an autoClosingPair in markdown (#184532)
Fixes #183489

Will test this out to see if it's helpful or too annoying
2023-06-07 13:05:01 -07:00
Daniel Imms
fab99a2c40 Explain features the git extension enables 2023-06-07 11:57:04 -07:00
MeghanKulkarni
67cc0965b3 allow images in markdown preview editor to be copied (#184432)
* allow images in markdown preview editor to be copied

* resolved feedback

* added findPreview method

* removed copy image command from showPreview

* clean up

---------

Co-authored-by: Meghan Kulkarni <t-mekulkarni@microsoft.com>
2023-06-07 18:08:22 +00:00
Ladislau Szomoru
909e55fbdc Git - add tracing messages to help with troubleshooting (#184506) 2023-06-07 10:02:17 -07:00
Johannes
978bb08619 add extensions-ci-pr task which does a full build without mangling 2023-06-07 16:36:02 +02:00
Ladislau Szomoru
bb6d7d67ff Git - handle branch name with incorrect casing (#184502) 2023-06-07 15:25:09 +02:00
Matt Bierner
9776ec9eb4 Pick up latest markdown language service (#184448)
* Pick up latest markdown language service

* Bump server version
2023-06-06 23:18:37 +02:00
Matt Bierner
42498ee647 Mention tsconfig / jsconfig in 'Go to project configuration' (#184441)
This makes the commands more discoverable
2023-06-06 13:41:54 -07:00
Daniel Imms
1c5442ac03 Adopt EnvironmentVariableCollection in git ext
Fixes #184331
2023-06-06 05:48:02 -07:00
Ladislau Szomoru
ad34af09f9 Git - fix close diff editor regression (#184410) 2023-06-06 14:35:15 +02:00
Johannes
c106fbe627 add some integration tests for static status bar items 2023-06-05 16:39:59 +02:00
Alexandru Dima
d10902d080 Merge pull request #184239 from microsoft/alexd/busy-raven
Take into account already activated extensions when computing running locations
2023-06-05 15:04:59 +02:00
Alex Dima
36b9d931d7 Activate vscode.github-authentication from the test resolver 2023-06-03 15:19:04 +02:00
Alex Dima
5b2f96e69d Add support for using the test resolver in the web 2023-06-03 13:26:51 +02:00
Matt Bierner
671ab0ff7c Pick up latest markdown language server (#184215) 2023-06-02 23:13:26 +02:00
Joyce Er
0876c19e0a Support language selector and passing selection to share providers (#184196)
* Allow selecting share provider by language

* Pass selections to extension providers
2023-06-02 20:19:32 +02:00
Johannes Rieken
3062c19c90 fix https://github.com/microsoft/vscode/issues/174592 (#184170) 2023-06-02 17:13:24 +02:00
Alex Ross
53dcdf3ee8 Update grammars (#184151)
* Update grammars

* Update grammar tests
2023-06-02 13:54:16 +02:00
Matt Bierner
a9fe660ce6 Enable dropping image/* data into markdown to insert images (#184112)
Enable dropping image/* data into editor

This enable drop to create images on web
2023-06-01 21:37:48 -07:00
Matt Bierner
0e0b629ef5 Respect copy files correctly when in .dot files (#184109)
Fixes #183998
2023-06-01 21:33:48 -07:00
Matt Bierner
af4c133f63 Pick up TS 5.1.3 (#184091)
Fixes #182931
2023-06-01 21:07:19 +02:00
Martin Aeschlimann
8a76ae4e4c [html] update service (#184049)
[html] update service. FIxes #181176
2023-06-01 13:22:58 +02:00
Matt Bierner
14977db0ec Disable move to file in TS versions < 5.2 (#183992)
There are still a few key bugs with refactoring. We will  ship this as a preview for TS 5.2+ instead of for 5.1
2023-05-31 22:18:24 +02:00
Matt Bierner
2add9d4c10 Set isRefactoring for all TS refactoring edits (#183982) 2023-05-31 19:14:35 +02:00
Ladislau Szomoru
8602b29876 Git - fix #183941 (#183944) 2023-05-31 15:48:04 +02:00
Matt Bierner
fa8eefda18 Use <...> style markdown links when needed (#183876)
Fixes #183849
2023-05-31 09:58:23 +10:00