Nikolai Vavilov
aaa778b5e2
Use 'r+' with truncation when saving existing files on Windows ( #42899 )
...
* Use 'r+' with truncation when saving existing files on Windows
Opening a file with 'w' flag removes its alternate data streams. To
prevent this, extend the logic used for hidden files to all existing
files.
Fixes: https://github.com/Microsoft/vscode/issues/6363
* adopt truncate for saving as admin
2018-08-20 18:55:12 +02:00
Benjamin Pasero
18b5d32140
fix #52583
2018-07-17 12:14:06 +02:00
Joao Moreno
ba7b1cb0d5
cleanup more promises
...
related to #53442
2018-07-02 16:49:11 +02:00
Peng Lyu
6729e2b7df
--max-memory and fix test failture.
2018-02-13 15:12:07 -08:00
Peng Lyu
50a1deb9f6
Fix #42839 . avoid ui freeze when file is larger than heap size limit.
2018-02-13 14:07:01 -08:00
Ramya Achutha Rao
b8b726b4a9
Remove unused net declaration
2018-02-01 16:03:07 -08:00
Matt Bierner
1872949236
Use args based confirmation for log upload instead of using stdin
2018-02-01 15:31:56 -08:00
Matt Bierner
d233df9a12
Use named pipe for stdio in upload logs
...
Fixes #42635
2018-02-01 14:22:28 -08:00
Matt Bierner
279c4d048a
Forward stdin for loguploader
...
Fixes #42055
2018-01-26 00:08:15 -08:00
Joao Moreno
93d7d51eb7
fixes #42115
2018-01-25 16:40:44 +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
Benjamin Pasero
be788e2dc7
fix #39654
2017-12-05 14:43:14 +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
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
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
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
14699ba54e
add --install-source to cli process
2017-09-21 11:09:06 +02:00
Benjamin Pasero
0e7d3cbef8
fix hanging --wait processes
2017-09-14 12:11:13 +02:00
Benjamin Pasero
5c6a7d6e16
code --wait should return control when closing window ( fixes #18199 )
2017-07-03 16:30:10 +02:00
Joao Moreno
c5df2b09b3
update electron.d.ts to 1.4.6
2017-03-03 10:50:31 +01:00
João Moreno
7de005132b
fix windows cli output when exiting
...
fixes #17343
2017-01-25 16:33:15 +01:00
Joao Moreno
8ddcdbfa95
fix layer breakers with product and package
...
related to #15558
2016-12-12 12:02:51 +01:00
Joao Moreno
5d949f10fa
lint: fix ParsedArgs layer breakage
...
#15293
2016-11-10 16:48:36 +01:00
Johannes Rieken
6681a2a7d6
tsfmt - src
2016-10-08 09:53:13 +02:00
Benjamin Pasero
5874111ef2
--verbose tweaks
2016-09-23 12:15:23 +02:00
Joao Moreno
f26cf83dd8
print commit in new line
2016-09-14 10:09:00 +02:00
Benjamin Pasero
6fa85223ef
Electron Update 1.x ( #11157 )
...
* use electron 1.3.4
* ATOM_SHELL_INTERNAL_RUN_AS_NODE => ELECTRON_RUN_AS_NODE
* OSS input
* update electron.d.ts
* workaround for #8708
* bump oniguruma and chokidar with custom fsevents
* build with appveyor config from master
* oops, still use ELECTRON_RUN_AS_NODE
* use electron 1.3.5
* optional fsevents
* add cat.exe to workaround output issues
* use cat for tests
* remove some now obsolete ELECTRON_NO_ATTACH_CONSOLE
* also pipe output to cat for code.sh on windows
* unset ELECTRON_RUN_AS_NODE for appveyor
* fix tfs builds?
* fix build
* fix build?
* use cat only when running tests locally
2016-09-14 07:29:20 +02:00
Benjamin Pasero
8dcd3e67d7
move argv to platform
2016-09-05 17:19:47 +02:00
Joao Moreno
06241839f3
improved code --help localization
...
fixes #11218
2016-08-31 15:41:27 +02:00
Joao Moreno
039bba1ed0
show commit when --version
2016-08-30 15:53:09 +02:00
Joao Moreno
c2da84de3a
cleaner args validation
...
fixes #10764
2016-08-22 11:56:08 +02:00
Benjamin Pasero
0525466708
back to ATOM_SHELL_INTERNAL_RUN_AS_NODE
2016-07-08 16:12:10 +02:00
Daniel Imms
e3fcbe6b6d
Fix argv tests
2016-07-07 09:52:54 -07:00
Daniel Imms
6676207fb3
Improve CLI --help formatting
...
Fixes #7220
2016-07-06 19:51:21 -07:00
Benjamin Pasero
5d1affed4b
ATOM_SHELL_INTERNAL_RUN_AS_NODE => ELECTRON_RUN_AS_NODE
2016-07-02 08:39:01 +02:00
Daniel Imms
9c4c58251f
Fix typo in cli breaking launch
...
Fixes #6902
2016-05-25 17:08:17 -07:00
Daniel Imms
4dd53510e2
Have --verbose work on the bin command
...
Fixes #6556
2016-05-20 12:28:38 -07:00
Joao Moreno
ac7a5c5d9e
--uninstall-extension #691
2016-05-04 17:38:18 +02:00
Joao Moreno
6043ff88dc
--install-extension #691
2016-05-04 17:38:12 +02:00