Commit Graph

188 Commits

Author SHA1 Message Date
Joao Moreno 9914a95ddf buffer spdlog calls in main until singleton
fixes #41218
2018-01-09 15:55:10 +01:00
Benjamin Pasero ec31203310 cli - remove stdin argument properly 2017-12-28 11:04:45 +01:00
Benjamin Pasero 549cda29da 💄 2017-12-20 16:57:40 +01:00
Benjamin Pasero 894dcea691 Require to use "-" when reading from stdin (#40424)
* Require to use "-" when reading from stdin

* cli - better help message

* more narrow error handling

* better data listener
2017-12-18 14:56:06 +01:00
Benjamin Pasero 3d9d00ff46 save as admin - handle windows hidden files 2017-12-14 16:17:24 +01:00
Benjamin Pasero 4e9cd88e37 save as admin - handle case for readonly files 2017-12-14 15:50:21 +01:00
Benjamin Pasero 0ef13b6d54 Allow to save files that need user elevation (fixes #1614) (#40107) 2017-12-12 16:03:25 +01:00
Joao Moreno 4ecad4714f fixes #39806 2017-12-06 17:34:11 +01:00
Sandeep Somavarapu 6a95d97a55 #38609 Show cancelled message on cancel 2017-12-06 09:38:48 +01:00
Sandeep Somavarapu fd1c9a12cc #39659: Fallback to noop log service when spd log service is failed to create 2017-12-05 20:14:13 +01:00
Benjamin Pasero be788e2dc7 fix #39654 2017-12-05 14:43:14 +01:00
Joao Moreno 8fb1d172e1 allow log service in cli process 2017-12-04 18:28:50 +01:00
Dirk Baeumer dc98a60576 Windows work for #39262 2017-12-04 16:17:06 +01:00
Benjamin Pasero 3f9b66c2cd try to detect terminal encoding when reading from stdin (for #6161) 2017-12-04 12:00:25 +01:00
Benjamin Pasero 3eda4250b8 code-ps: rename renderer => window and change cli to "-s, --status" (for #39262) 2017-12-01 12:21:52 +01:00
Dirk Baeumer 6ce1f8e288 Add code-ps.ps1 2017-11-30 11:02:33 +01:00
Benjamin Pasero 307987fe38 Add code --ps (#39302)
* initial commit

* 💄

* get the machine id from the main process

* first cut formatting

* nicer output

* added support for Windows

* refactor to share common code

* simplify regexps

* always use the 'type' argument

* differentiate between node and electron_node

* some polish

* add render id to renderer

* add memory load (macOS, linux)

* 💄
2017-11-29 12:17:26 +01:00
Benjamin Pasero 785a04468a stdin - ignore if a file path is passed in to open 2017-11-28 07:38:56 +01:00
Benjamin Pasero 91b4159c0e stdin - ignore tmp files from recent history 2017-11-27 17:40:32 +01:00
Benjamin Pasero 6d22bb75ee Allow reading from stdin (fixes #6161) (#39177) 2017-11-27 11:46:48 +01:00
Benjamin Pasero e278c541f8 prevent sync access to install source on startup (for #39034) 2017-11-24 12:55:11 +01:00
Benjamin Pasero c0bc1ace7c CLI Process: missing machine identifier (fixes #39044) 2017-11-24 12:15:30 +01:00
Johannes Rieken 7cd6ace4ab remove PII and better filename when profiling a product build 2017-11-23 11:10:06 +01:00
Johannes Rieken 52c2843cc4 redo --prof-startup with the new protocol based profiler, also profile extension host startup 2017-11-23 10:55:02 +01:00
Benjamin Pasero 38311adcba add and use writeFileAndFlushSync 2017-11-23 10:53:02 +01:00
Benjamin Pasero 249a796a76 introduce and use getBaseLabel() 2017-11-20 11:24:24 +01:00
Joao Moreno 085e57ded2 Merge branch 'fix-33106' of https://github.com/fabiospampinato/vscode into fabiospampinato-fix-33106 2017-11-10 17:00:10 +01:00
Zanidd 06d659f33f Add platform info in code --version #37793 Done (#37824)
* Marked output code-line

* First Idea on where to get the platform

* Add platform info in code --version #37793 Done
2017-11-09 08:53:16 +01:00
Joao Moreno 63bfb446c4 Revert "dont read XDG_RUNTIME_DIR"
fixes #22593

This reverts commit 867e521341.
2017-10-30 15:13:52 +01:00
Sandeep Somavarapu 583e903669 Disable telemetry in smoke tests using an env arg 2017-10-04 12:41:36 +02:00
Ramya Achutha Rao f8023e7e1b Add sourceInfo when installing from welcomePage or cli 2017-09-22 16:23:11 -07:00
Joao Moreno 14699ba54e add --install-source to cli process 2017-09-21 11:09:06 +02:00
Johannes Rieken 7c7eb9bfc6 Fix #34699 2017-09-20 16:07:07 +02:00
Benjamin Pasero a97196e477 use more proper types for workspace on main side 2017-09-20 12:22:16 +02:00
Sandeep Somavarapu 3f3a737030 Fix #14412 2017-09-19 12:33:11 +02:00
Benjamin Pasero 0e7d3cbef8 fix hanging --wait processes 2017-09-14 12:11:13 +02:00
Fabio Spampinato 38589d4169 Formatted cliProcessMain 2017-09-12 23:45:00 +02:00
Fabio Spampinato 907a43dd24 Support for uninstalling extensions given paths to their .vsix files 2017-09-08 19:33:45 +02:00
Benjamin Pasero bef497ff82 avoid more implicit any and some 💄 2017-09-04 11:20:09 +02:00
Benjamin Pasero 9de3068a4d Revisit code-workspace format (#33097)
* drop workspace ID from workspace file

* make folders types an object instead of just string

* fix compile

* polish relauncher for id change

* migrate old workspace format to new on startup

* more migration from previous workspace id

* more migration code

* change folder format to be a path

* support for relative paths in workspace file

* fix of ctor call

* put root validation and filtering into workspace

* ensure we always have file resources

* fix tests

* add tests for workspace

* 💄

* linting
2017-08-25 16:22:30 +02:00
Christopher Leidigh f3bf53f6b8 Replace all instances off "Focussed" with "Focused" except ContextKey (#32904)
* Replace focussed with focused

* Replace Focussed with Focused
2017-08-22 11:13:07 +02:00
Benjamin Pasero a87dd9c7ad fix imports to single quote 2017-08-21 11:27:57 +02:00
Benjamin Pasero b106857fd1 multi root: allow target extension development window to be a workspace too 2017-07-20 16:49:15 +02:00
Benjamin Pasero c30266c690 make window finder fit for workspaces 2017-07-18 12:02:49 +02:00
Benjamin Pasero 7ba2ede2a7 merge findWindowOnFolder and findWindowOnWorkspace into one 2017-07-18 10:48:11 +02:00
Benjamin Pasero d4ff203d81 simplify closeExtensionHostWindow via broadcast 2017-07-18 10:42:08 +02:00
Benjamin Pasero 5589604823 enable EH debugging for multi root workspaces (workaround for #30698) 2017-07-14 13:52:37 +02:00
Benjamin Pasero 537c0746c2 💄 introduce type for single folder case 2017-07-13 16:14:03 +02:00
Benjamin Pasero a5f3583393 support workspace identifier in broadcasting API 2017-07-12 20:23:35 +02:00
Benjamin Pasero 48854cd439 IWorkspace => IWorkspaceIdentifier 2017-07-12 08:55:04 +02:00