Commit Graph

44 Commits

Author SHA1 Message Date
Sandeep Somavarapu
7606e812a6 - register logger resources in main
- scope logger resources by window
2023-01-12 02:23:04 +01:00
Sandeep Somavarapu
2f3c2541e2 persist log level of all loggers 2023-01-11 20:02:58 +01:00
Sandeep Somavarapu
c53c12385d fix #156173 (#170287) 2022-12-30 12:54:45 +01:00
Benjamin Pasero
f0e2ea381c Some code cleanup in main process (#169208)
* debt - make more properties readonly

* debt - use `IAnyWorkspaceIdentifier`

* 💄
2022-12-15 09:05:47 -05:00
Raymond Zhao
4222ce8da4 Enable WCO on all builds (#167060)
Fixes #161218
Fixes #164397
2022-11-23 07:13:59 -08:00
Raymond Zhao
896c32bb50 Enable WCO on Insiders and Exploration (#166386)
Ref #161218
2022-11-17 11:50:46 -08:00
Raymond Zhao
0e7735ed70 Enable WCO on OSS in main process (#161158)
Fixes #161143
2022-09-19 07:48:16 -07:00
Raymond Zhao
0c1f65f9e2 Disable WCO by default in main process (#160550) 2022-09-09 13:42:19 -07:00
Benjamin Pasero
c8c48534af electron - better handle window errors (#160427) 2022-09-08 08:49:40 -07:00
Benjamin Pasero
11f93b034f perf - no longer block for backup metadata writes (#160152)
* backups - make workspace metadata writing async

* shared process - only cleanup workspace storage for windows not in use

* remove backup path from env

* optimise `rimraf.move` when path does not exist

* backups - reduce publicly visible methods

* backups - drop deprecated format

* backups - 💄 code

* cleanup
2022-09-07 11:20:03 +02:00
Sandeep Somavarapu
4f69cdf95a use window.openedWorkspace (#159942) 2022-09-02 21:32:40 -07:00
Sandeep Somavarapu
57e2524032 introduce transient profiles 2022-08-21 13:35:37 +02:00
Sandeep Somavarapu
be5af93ef6 create the profile on main side (#158525)
* create the profile on main side

* 💄

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-08-19 07:15:12 +02:00
Sandeep Somavarapu
55ab801cfb Merge branch 'main' into sandy081/christian-ox 2022-08-18 06:21:09 +02:00
Sandeep Somavarapu
370dae2c76 rename 2022-08-18 06:18:59 +02:00
Sandeep Somavarapu
331275f837 feedback: fix profile options 2022-08-18 06:15:46 +02:00
Benjamin Pasero
c9b1a44043 💄 and compile 2022-08-17 07:31:55 +02:00
Sandeep Somavarapu
acca54f4c3 use interface 2022-08-16 18:01:58 +02:00
Sandeep Somavarapu
2f0effab0b CLI: support associating a profile to a worksapce 2022-08-16 15:53:28 +02:00
Benjamin Pasero
2857051bb4 Titlebar overlay is not enabled (fix #158203) (#158251) 2022-08-16 18:53:58 +09:00
Benjamin Pasero
ce5685e34f themes - disable window border on windows (#157223) 2022-08-05 13:30:32 +02:00
Matt Bierner
44c38244ef Move non-types stuff out of types.ts (#157145)
- Moves object related methods to `objects.ts`
- Moves assertion to `asserts.ts`
- Move URI stuff to `uri.ts`
2022-08-04 14:46:02 -07:00
SteVen Batten
35819b2481 update traffic lights on macos when title bar zooms (#155906)
* update traffic lights on macos when title bar zooms
fixes #155557

* address PR feedback
- update api name
- cached window controls information

* address feedback

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2022-08-04 12:37:56 +02:00
Sandeep Somavarapu
bc137bb745 Fix #154072 (#156968)
* Fix #154072

* fix compilation errors
2022-08-03 08:50:02 +02:00
Benjamin Pasero
a567b593d5 introduce --merge to bring up merge editor (for #5770) (#155039)
* introduce `--merge` to bring up merge editor (for #5770)

* wait on proper editor when merging

* sqlite slowness

* disable flush on write in tests unless disk tests

* more runWithFakedTimers

* disable flush also in pfs

* introduce `IResourceMergeEditorInput`

* cleanup

* align with merge editor names

* stronger check

* adopt `ResourceSet`

* no need to coalesce

* improve `matches` method
2022-07-18 12:44:07 -04:00
SteVen Batten
d4fd368fdf system context menu on Windows 2022-07-15 14:30:57 -07:00
Benjamin Pasero
f4f1b04d87 Add a setting to enable sandbox: true for windows (#154062)
* sandbox - allow enabled sandbox in a full build

* sandbox - reduce `electron-browser` in workbench

* sandbox - reduce `electron-browser` in platform

* sandbox - add a setting to enable sandbox mode for window

* fix lint

* Revert "sandbox - reduce `electron-browser` in workbench"

This reverts commit 36a5167cf9.

* Revert "sandbox - reduce `electron-browser` in platform"

This reverts commit 6f49d704a5.

* fix layer issue

* fix some js errors
2022-07-05 09:54:28 +02:00
Benjamin Pasero
d529b0d77c macOS: adjust traffic lights when command center is visible #154131 (#154132) 2022-07-05 08:57:02 +02:00
Sandeep Somavarapu
87a6ba590a fix default profile (#152915)
- send all profiles to window and shared process
- set first profile as default profile
2022-06-23 08:57:47 +02:00
Sandeep Somavarapu
917f6978e9 - implement profile CRUD operations
- enable profile actions in dev mode
2022-06-15 09:54:31 +02:00
Sandeep Somavarapu
e15ae164ed profile enhancements (#152043)
- add id to profile
- add profile property to ICodeWindow
2022-06-14 11:54:59 +00:00
Sandeep Somavarapu
8099ff1f33 implement feedback 2022-06-13 14:31:22 +02:00
Sandeep Somavarapu
380e99a28a Merge branch 'main' into sandy081/settingsProfile 2022-06-09 15:37:22 +02:00
SteVen Batten
83575b8e1d move wco behind an experimental setting (#151046) 2022-06-02 08:47:25 +02:00
Sandeep Somavarapu
5178151d23 Merge branch 'main' into sandy081/settingsProfile 2022-06-01 14:12:03 +02:00
Sandeep Somavarapu
86d085dbca - Save settings profile
- Switch settings profile
- Remove settings profile
- Status bar entry
2022-05-23 00:57:58 +02:00
Sandeep Somavarapu
0ccc294e64 move globalStorageHome to userDataProfileService 2022-05-22 09:22:48 +02:00
Sandeep Somavarapu
6ccc8509ac reduce roundtrps
- send policies data to workbench and shared process
2022-05-19 11:28:57 +02:00
Benjamin Pasero
ff3d5bb491 debt - adopt new options support in IPath
cc @rebornix
2022-04-22 08:54:40 +02:00
Peng Lyu
936ce0b267 re #147183. Support editor options in IDefaultEditor (#147816)
* re #147183. Support editor options in IDefaultEditor

* Add deprecation tag.

* Avoid type casing.

* 💄
2022-04-21 13:01:46 -07:00
Martin Aeschlimann
393c1e26e9 Finetune theme detection 2022-03-21 19:03:47 +01:00
Benjamin Pasero
dafc40bca5 tangle - extract platform/action (fix #141154) 2022-02-14 17:08:37 +01:00
Benjamin Pasero
a4a9571c92 debt - move more window things to window layer 2022-02-14 08:46:18 +01:00
Benjamin Pasero
ef70f99af7 tangle - extract common window (#141154) 2022-02-14 08:30:18 +01:00