Commit Graph

1636 Commits

Author SHA1 Message Date
Matt Bierner
f28c02195a Revert two bad loop conversions in build 2019-01-03 19:35:20 -08:00
Matt Bierner
b4964bcf35 Replace some common index based for loops with for-of loops
Replaces many loops of the form:

```js
for (let i = 0; i < elements.length; ++i) {
    const i = elements[i];
   ...
}
```

with:

```js
for (const element of elements) {
    ...
}
```

Mix of a horrible regex based find/replace and manual touch ups
2019-01-03 19:11:18 -08:00
Rob Lourens
ef2547d547 replace void 0 with undefined 2019-01-03 11:20:19 -08:00
Alex Dima
e4b1db51cc Fixes #65040 2018-12-17 15:43:09 +01:00
Alex Dima
8c09d4f476 Add error handlers to watchers 2018-12-17 15:23:07 +01:00
Dirk Bäumer
8b86554f3a Support updating localization extensions from files on disk 2018-11-22 23:36:35 +01:00
isidor
085f4656ed add some commit hashes and versions to cgmanifest.json 2018-11-20 16:31:08 +01:00
isidor
9edd984da8 delete OSSREADME.json 2018-11-20 12:54:22 +01:00
Alex Dima
976cfe3aa7 Merge branch 'master' into isidorn/cgmanifest 2018-11-16 17:52:27 +01:00
Christof Marti
f00cf99102 Can be undefined (#63033) 2018-11-16 09:04:02 +01:00
Rob Lourens
3c6b6e614d Fix #63033 2018-11-14 15:11:20 -08:00
isidor
347fb6347b add all cgmanifests. Still no commitHash 2018-11-14 18:18:25 +01:00
Alex Dima
d4bfba4653 Execute extension webpacking in sequence 2018-11-13 16:09:56 +01:00
Alex Dima
6e465986a7 Fix editor publishing scripts (on Windows) 2018-11-13 15:31:28 +01:00
Alex Dima
88bb48278d Authority exploration 2018-11-08 21:59:56 +01:00
Joao Moreno
e4f9cae949 Merge remote-tracking branch 'origin/master' into snap 2018-11-08 15:21:27 +00:00
Alex Dima
b60903d3c2 Remove no longer necessary 'use strict' 2018-11-07 19:55:44 +01:00
Alex Dima
ffba25fc25 Add compilation output 2018-11-07 17:40:54 +01:00
Alex Dima
c2a09ed400 Minor tweaks 2018-11-07 17:35:55 +01:00
Joao Moreno
b8e7442f5d set exec bit 2018-11-07 13:58:14 +00:00
Konrad Borowski
0ea372371e Fix accidental fallthrough in snapshot loader 2018-10-31 16:46:37 +01:00
Rob Lourens
02275f047b Add tslint rule banning new Buffer 2018-10-25 10:05:34 -07:00
Matt Bierner
9375a38648 Fixing editor-distro compile error
Fixes #61741
2018-10-24 22:53:33 -07:00
Alex Dima
072eef20ac Show monaco.d.ts output only when something has changed 2018-10-24 16:11:48 +02:00
Alex Dima
9deb8d4a42 Read monaco.d.ts.recipe files as needed (don't prepare them up front) 2018-10-24 16:11:48 +02:00
Alex Dima
7e8384ba86 Execute just once after N changes 2018-10-24 16:11:48 +02:00
Alex Dima
baf8b88b1d Add versioning to monaco.d.ts generation 2018-10-24 16:11:48 +02:00
Dirk Baeumer
d426ebf764 Add linter rule to check for valid localize keys 2018-10-23 21:43:12 +02:00
Johannes Rieken
ac643e170c show progress when activating an extension via onCommand:Foo, #59645 2018-10-23 12:04:56 +02:00
Alex Dima
67eacaa4a8 Use const enums (and generate non-const ones for standalone editor) 2018-10-22 09:59:30 +02:00
Alex Dima
4b8f928808 Faster monaco.d.ts generation 2018-10-17 23:19:20 +02:00
Alex Dima
4f09f1aa4a Cache TS source files between runs of generator 2018-10-17 16:54:45 +02:00
Alex Dima
238440b738 Change how monaco.d.ts is generated:
- do not use the .d.ts files coming in from gulp-tsb
- remove the generation of .d.ts files
- run before compilation starts
- install file watchers directly
2018-10-17 16:54:45 +02:00
Johannes Rieken
e3062841eb fix incremental compiler 2018-10-15 11:54:47 +02:00
Benjamin Pasero
05e1c11111 Merge pull request #60875 from Microsoft/ben/sqlite
Introduce SQLite (in-memory) for localStorage
2018-10-15 09:10:24 +02:00
Joao Moreno
0f71aebcb5 fix build 2018-10-14 23:33:55 +02:00
Benjamin Pasero
e7c47cdf9c sqlite - fix compile 2018-10-14 10:44:59 +02:00
Benjamin Pasero
e7ddb88e1e sqlite - fix compilation 2018-10-14 08:35:31 +02:00
Benjamin Pasero
32f401fb93 sqlite - storage => legacy storage 2018-10-13 17:45:43 +02:00
Matt Bierner
3fcb671444 Use es2017 as target for build scripts (#60707)
Upgrades our build scripts to target ES2017 since they are run on modern versions of node

This allows us to remove shims for es6 features such as `Object.assign`, and also remove a few extra typings packages
2018-10-12 11:24:15 -07:00
Benjamin Pasero
db6ebe93f8 remove now obsolete code 2018-10-11 12:56:54 +02:00
Matt Bierner
104275cb9f Add tsconfig.strictNullChecks.json
Part of #60565

Adds a new `tsconfig.strictNullChecks.json` project that does not emit anything and is only used for enabling strict null checks on a subset of the vscode codebase.

Opt `iterator.ts` into strict null checking.

Fix our build scripts to properly handle `extends`
2018-10-10 14:55:06 -07:00
Alex Dima
d729e50521 Fix standalone editor gulp scripts.
Tree Shaking:
- do not proceed with tree shaking when there are compilation errors
- load .d.ts files in the language service
- adopt TS 3.1.1 in symbol resolution
- use the real tsconfig.json / with "node" resolution

Bundling:
- fix issue where files were being looked for in out-build instead of out-editor-build
2018-10-10 11:09:29 +02:00
Johannes Rieken
ba0448d8bf add missing compile 2018-10-05 11:48:42 +02:00
Matt Bierner
4b2aed7bb2 let -> const 2018-10-04 19:01:34 -07:00
Matt Bierner
8ecebfb761 var -> let 2018-10-04 19:01:34 -07:00
Matt Bierner
e8475ad59f Enable noUnusedParameters in build scripts 2018-10-03 17:26:47 -07:00
Matt Bierner
5de9c9bf8b Compile build in strict mode 2018-10-03 17:26:47 -07:00
Matt Bierner
494395f62f Adding correct typings for event-stream this values 2018-10-03 17:26:47 -07:00
Matt Bierner
86fbc62cf1 Remove some unused types and variables 2018-10-03 17:26:47 -07:00