Commit graph

1225 commits

Author SHA1 Message Date
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
Matt Bierner b3f85e5f19 Add explicit any typings for this
Prep to compile build in strict mode
2018-10-03 17:26:47 -07:00
Matt Bierner f7456ebf90 Switch to use standard @types/node types instead of our customized version
Using a custom version of the node typings is causing a lot of pain while trying to upgrade our build to use `@types` instead of the `d.ts` files we have to maintain. I believe we primarily maintain our own version for two reason:

- Custom require function
- setTimeout and other timer functions return NodeJs.timer instead of a number

These can both be delt with, the first by using interface augmentation and the second by switching to use any types for timer. I believe that the pain of maintaining our own node `d.ts` outweighs the benefits here

This change switches us to use the standard @types/node package for our node typings
2018-10-03 14:18:36 -07:00
Matt Bierner 63e3162bc9 Switch to use @types for pump 2018-10-03 14:18:36 -07:00
Matt Bierner 38fbec9568 Converting some require imports to import from imports
This ensures we pick up the correct typings for these imports
2018-10-03 14:18:36 -07:00
Matt Bierner 7026335451 Switching to use @types where possible in build 2018-10-03 10:47:32 -07:00
Matt Bierner ac737307d7 Enable noImplicitAny in build 2018-10-03 10:47:32 -07:00
Matt Bierner fe45a7d21f Fix remaining strict null errors in build scripts 2018-10-03 10:47:32 -07:00
Matt Bierner 5862b41657 Fixing strict null rules in tslint 2018-10-03 10:47:32 -07:00
Matt Bierner 31e0752065 Fixing strict null checks in build util 2018-10-03 10:47:32 -07:00
Matt Bierner ddc5eeee01 Fixing more strict null errors in build 2018-10-03 10:47:32 -07:00
Matt Bierner 6b9ec57923 Fix bundle.ts for strict null checks 2018-10-03 10:47:32 -07:00
Matt Bierner 0434bd7915 Clean up type inclusion logic 2018-10-02 15:59:35 -07:00
Matt Bierner f5850c9510 Try using @types for typings instead of our custom versions in src/typings 2018-10-02 14:07:19 -07:00
Matt Bierner fb51020ae3 Switch to use node module resolution
This is the modern form of module resolution  recommend by typescript
2018-10-02 10:24:20 -07:00
Joao Moreno 13436602b1 Revert "build script: log dowload finished"
This reverts commit 3cfe173979.
2018-10-01 12:44:39 +02:00
Joao Moreno 707787c5b8 update yarn.lock files to use integrity 2018-09-30 16:34:43 +02:00
Martin Aeschlimann 3cfe173979 build script: log dowload finished 2018-09-29 20:54:20 +02:00
Joao Moreno ece59d53dc build: sequentialize extension packaging 2018-09-26 15:05:10 +02:00
Joao Moreno bd0e3aa0cc fix reporter 2018-09-26 14:55:38 +02:00
Joao Moreno 47bf9b65e8 build 2018-09-26 14:41:56 +02:00
Johannes Rieken f429984045 try-catch for build stats telemetry 2018-09-24 12:55:32 +02:00
Benjamin Pasero 33911f0634 fix #45749 2018-09-24 07:40:35 +02:00
Ramya Rao ae526292df
Upgrade appinsights (#58999)
* Upgrade appinsights

* Env, global updates before starting shared process

* Disable console logging from appinsights Fixes #55417

* Move workaround to helper
2018-09-22 23:09:48 -07:00
Joao Moreno 45200866c0 fixes #58589 2018-09-21 12:16:30 +02:00
Joao Moreno aa5bcf3565 💄 2018-09-21 08:04:02 +02:00
Johannes Rieken 6c12277bf8 better error printing when vsce fails 2018-09-20 12:06:55 +02:00
Benjamin Pasero df2af5cc51 add compilation leftover 2018-09-12 08:59:56 +02:00
kieferrm 3193ed3168 correcting GDPR annotations 2018-09-11 16:47:45 -07:00
Johannes Rieken b118d76826 bundle stats - include all extensions 2018-09-07 11:33:53 +02:00
Johannes Rieken f8e67cef5d bundle stats - include commit 2018-09-07 10:26:36 +02:00
Johannes Rieken 934593d7fd bundle stats: JSON stringify before sending data 2018-09-06 20:02:37 +02:00
Johannes Rieken 9c3d240c9b build stats - send one object with size and count properties 2018-09-06 18:41:31 +02:00
Johannes Rieken 94c4825153 bundle stats, rename event, tweak gdpr comment 2018-09-06 11:40:52 +02:00
Johannes Rieken 9536dde3b4 app insights challanges 2018-09-06 10:25:45 +02:00
Johannes Rieken 3885d4613e Merge branch 'master' into joh/vsce-next 2018-09-05 14:06:12 +02:00
Johannes Rieken cf94186168 tweak event name, add GDPR comment 2018-09-05 10:30:12 +02:00
Matt Bierner cb81c2c241
Build using ts 3.0 (#57906)
* Build VS Code using TS 3.0

Fixes #57151
2018-09-04 15:25:39 -07:00
Johannes Rieken 293b1a4eef stats - send telemetry event about bundle size and file count in extensions 2018-09-04 14:12:26 +02:00
Johannes Rieken ccec2c9543 use vsce packagedDependencies 2018-09-04 12:29:23 +02:00
Johannes Rieken 07141d4e6b print all stats at the end of the package task 2018-09-03 11:51:26 +02:00
Johannes Rieken 165bb1aa63 tweaks, add the stream to the bundle step 2018-08-31 13:28:24 +02:00
Johannes Rieken 14596e9475 add a statsStream that aggregates the number of files and bytes so that we can handle them 2018-08-31 11:21:09 +02:00
Johannes Rieken 370e90de7f webpack - even betterer logging 2018-08-29 19:06:27 +02:00
Johannes Rieken 13763de8e8 webpack - print extension name in context of potential failure 2018-08-29 17:53:57 +02:00
Johannes Rieken 73d8c449c5 webpack - let build fail when webpack generates an error or a warning 2018-08-29 15:20:40 +02:00
Martin Aeschlimann 91c7c6084c webpack: make sure to only modify package.json next to webpack.config 2018-08-27 14:40:46 +02:00
Martin Aeschlimann df77466bfa webpack json-language-features
json
2018-08-27 09:46:52 +02:00
Alex Dima bced36add0 Mark optional property 2018-08-21 12:43:51 +02:00
Alex Dima 92c776bc99 Move packaging extensions to lib/extensions.ts 2018-08-21 12:19:10 +02:00
Johannes Rieken a25b5cc805 enforce certain compile options 2018-08-16 10:55:49 +02:00
Johannes Rieken 4962417ffc Revert "ensure uploading source maps happens *after* they have been created"
This reverts commit c93fe0d58b.
2018-08-14 14:23:35 +02:00
Johannes Rieken c93fe0d58b ensure uploading source maps happens *after* they have been created 2018-08-14 10:53:59 +02:00
Johannes Rieken 06139b43d4 leave upload path as /dist/ 2018-08-13 20:40:22 +02:00
Johannes Rieken bb07163524 more tweaks 2018-08-13 18:52:12 +02:00
Johannes Rieken 0425b36c5d patch and save source maps so that they get uploaded 2018-08-13 18:23:46 +02:00
Johannes Rieken 4955f2131e Merge branch 'master' into joh/extpack 2018-08-13 15:38:49 +02:00
Alex Dima 933c8d4b06 Bring back nls bundles for the editor 2018-08-12 15:46:41 +02:00
Alex Dima 3c7b9a8c55 Create the ESM distribution from the tree shaken sources 2018-08-12 15:46:32 +02:00
Johannes Rieken b2c8ca553c tweak source mapping url 2018-08-10 16:15:34 +02:00
Johannes Rieken 6f55622a06 make sure to massage sourcemaps-url, make sure to upload sourcemaps from dist/folders 2018-08-10 15:36:44 +02:00
Benjamin Pasero cd1f0f2758 debt - remove nsfw from build dependencies 2018-08-10 14:58:42 +02:00
Johannes Rieken 776e491ba4 bundle into dist folder, copy ask-pass shell scripts into dist, some 💄 2018-08-09 15:31:31 +02:00
Johannes Rieken 32a051090f 💄 2018-08-08 17:43:07 +02:00
Johannes Rieken fdb7b4bcf4 invoke webpack when bundling extensions 2018-08-08 16:53:55 +02:00
Alex Dima 09ec2eb1e4 Use the new optimize-editor task 2018-07-20 11:26:32 +02:00
Alex Dima 5a52c24f11 Add an alternative optimize-editor task 2018-07-20 11:26:31 +02:00
Alex Dima d8e13dc717 Add a compile-editor-build task 2018-07-20 11:26:31 +02:00
Alex Dima 03103a4f66 Add extract-editor-src with treeshaking task 2018-07-20 11:26:31 +02:00
Rob Lourens 6fae52876b Fix #53445 - change build id generation to not depend on git tags 2018-07-08 15:16:19 -07:00
Erich Gamma afbf447ccd Fix for #53710 adopt TS support for checking JSON files 2018-07-06 15:13:44 +02:00
Benjamin Pasero 4d0b3d025e debt week code cleanup
- avoid public modifier
- use Disposable where applicable
- fix some event handler leaks
- clean up some TODO@ben
2018-07-02 10:55:26 +02:00
Dirk Baeumer b8b60dd487 Remove core language pack from build 2018-06-19 10:43:23 +02:00
Peng Lyu ad635f2b4c Merge remote-tracking branch 'upstream/master' into rmacfarlane/review 2018-06-04 11:14:31 -07:00
Alex Dima 3989e2d7f6 Fixes #48758: Do not import standalone editor modules 2018-05-31 11:25:37 +02:00
Joao Moreno b000f52c6e missing compilation 2018-05-30 16:53:19 +02:00
Joao Moreno 96cee4a6f0 add User-Id to marketplace build requests 2018-05-29 08:28:42 +02:00
Peng Lyu 9acfd66aa0 Merge remote-tracking branch 'upstream/master' into rebornix/review 2018-05-18 10:16:19 -07:00
Johannes Rieken 2fbc328d86 outline baby steps 2018-05-08 09:02:08 +02:00
Johannes Rieken 727774d6bc debt - make bulkEdit a service so that we can add create/delete/rename file to it 2018-04-30 12:30:24 +02:00
Peng Lyu cbee2c0ce5 Merge remote-tracking branch 'upstream/master' into rebornix/review 2018-04-24 08:23:32 -07:00
Joao Moreno 1891516706 fixes #48393 2018-04-23 15:58:32 +02:00
Joao Moreno d6b38359e6 proposed open url api 2018-04-20 13:43:08 +02:00
Dirk Baeumer f373a15de0 Committing new JS file 2018-04-17 09:57:28 +02:00
Peng Lyu c66b54a1ba translation reminder typo 2018-04-16 14:46:59 -07:00
Peng Lyu 8107cbff1c move comment widget out of editor 2018-04-16 14:45:34 -07:00
Joao Moreno 9d6f619140 error, missing compilation 2018-04-11 11:17:22 +02:00
Benjamin Pasero 5fca20a96c 💄 symbols upload 2018-04-10 09:58:18 +02:00
Matt Bierner f53158e709 Build vscode with TS 2.8.1
Fixes #47512
2018-04-09 11:28:34 -07:00
Johannes Rieken 1d27e33cd6
Merge pull request #47226 from Microsoft/joh/monaco-typecheck
add monaco-typecheck tasks
2018-04-09 11:43:47 +02:00
Rob Lourens c527da85be
Fail build when settings search build id generation fails (#47359)
* Ensure that settings search build id handling fail will cause the build to fail

* Move some settings search build ID computation to util.ts

* Bump version number for test

* Add unit tests for util.ts additions

* Revert version number change

* Make versionStringToNumber throw if it fails

* Add missing import
2018-04-06 14:10:51 -07:00
Sandeep Somavarapu dc97c9d819 Fix #29078 2018-04-05 17:02:40 +02:00
Johannes Rieken 03eb7931ae add monaco-typecheck tasks and add them to the compile/watch tasks 2018-04-05 10:00:50 +02:00
Dirk Baeumer dfec7a4789 Using correct newline 2018-03-28 14:58:33 +02:00
Dirk Baeumer 2d2741477b Fix newline issue on i18n import 2018-03-28 14:58:32 +02:00
Alex Dima d0eaa02c0a Better support for ESM workers 2018-03-15 14:44:36 +01:00
Alex Dima 66091601a5 Ship editor in ESM format 2018-03-15 14:44:15 +01:00
isidor f2584c364d Bail out from launch for unresolvable variables
fixes #44411
2018-03-07 22:44:41 +01:00
Joao Moreno 0dfe0c4c3e Merge branch 'master' into gitattributes 2018-03-07 08:56:26 +01:00
Joao Moreno 100e9fc4e7 fix line endings in monaco.d.ts 2018-03-06 18:00:34 +01:00
Matt Bierner 267f791f2c Move webview editor and input to own part 2018-03-05 14:07:17 -08:00
Joao Moreno 838f4024b3 fixes #43973 2018-02-27 15:41:46 +01:00
Joao Moreno 1217419309 missing build compilation 2018-02-26 17:25:09 +01:00
Benjamin Pasero a23edada50 debt - avoid deprecated Buffer ctors 2018-02-26 13:09:54 +01:00
Alex Dima 07b2c8015c Move extension points up to /workbench/ (#44281) 2018-02-23 17:38:23 +01:00
Benjamin Pasero 9ab2056393 notifications - remove old message service and adopt new one 2018-02-19 17:57:12 +01:00
Benjamin Pasero 8a2df5e021 notifications - extract choice/confirm service from message service 2018-02-19 08:11:32 +01:00
Alex Dima 5d0366e78e Exclude more than 100 duplicated __generator definitions in workbench.main.js 2018-02-15 12:58:45 +01:00
Joao Moreno c9fc911330 fix formatting 2018-02-12 12:40:53 +01:00
Joao Moreno ad9bf913c5 Merge branch 'master' into egamma/checkJs 2018-02-12 12:26:38 +01:00
Sandeep Somavarapu 191596365d Fix #42447 2018-02-05 16:34:15 +01:00
Erich Gamma 95982533bc more ts-ignore 2018-02-01 16:16:41 +01:00
Erich Gamma 5e41d2aafb enable checkJS 2018-02-01 14:39:12 +01:00
Martin Aeschlimann 1f6e3ffd26 [18n] Promise rejection for fetching translation. Fixes #42525 2018-01-31 11:38:12 +01:00
Martin Aeschlimann 5b8d3944de [i18n] extension resources missing on transifex 2018-01-30 09:58:02 +01:00
Joao Moreno d9bf02d19e builtin: dont delete when disabled 2018-01-30 09:23:11 +01:00
Joao Moreno 2ebd2a7dd2 builtin: manage extensions 2018-01-30 09:04:39 +01:00
Martin Aeschlimann 4028618753 [i18n] pseudo language support 2018-01-29 18:04:45 +01:00
Joao Moreno cfed82d6bd fix builtin 2018-01-29 17:15:22 +01:00
Martin Aeschlimann f00b4f102e [i18n] lang pack update script: add extensions list 2018-01-29 16:51:34 +01:00
Alex Dima f8d1683fcd Merge remote-tracking branch 'origin/master' into alex/asar 2018-01-29 15:34:35 +01:00
Joao Moreno b338f57e76 built in extensions control file 2018-01-29 12:23:43 +01:00
Alex Dima a87eb4894a Fix issue on Windows 2018-01-26 17:58:15 +01:00
Alex Dima 6225dcca12 Fix file permissions, fix rg launch path when using asar 2018-01-26 17:56:37 +01:00
Alex Dima 2970cf5517 Merge remote-tracking branch 'origin/master' into alex/asar 2018-01-26 17:37:23 +01:00
Martin Aeschlimann b7f5db9991 [i18n] fix paths for external extensions 2018-01-26 17:28:56 +01:00
Martin Aeschlimann 4abe874911 [i18n] fix paths for external extensions 2018-01-26 17:27:57 +01:00
Martin Aeschlimann f43d42499a [i18n] more checks for missing/obsolete resources 2018-01-26 17:27:57 +01:00
Alex Dima 85b8b04473 Pack the core node_modules to node_modules.asar as part of building 2018-01-26 16:22:15 +01:00
Martin Aeschlimann 8c6cc11f6a [18n] find obsolete resources & add externalExtensionsWithTranslations 2018-01-26 10:01:12 +01:00
Dirk Baeumer 04594c864b Add support for Language Packs 2018-01-25 21:14:34 +01:00
Alex Dima 5bdb90de36 scripts/code.sh picks up marketplace built-in extensions automatically 2018-01-23 16:40:52 +01:00
Martin Aeschlimann 0be4f4ec9d [i18n] push compiles js file 2018-01-22 11:26:40 +01:00
Martin Aeschlimann c1ec6c2ff5 add download limiter to build/i18n script 2018-01-22 10:46:11 +01:00
Alex Dima 198667a8f1 Add option to disable sourcemaps for those in a hurry 2017-12-15 16:07:15 +01:00
Alex Dima 17bda4b25c Do not write .d.ts files to disk, as they are not needed there 2017-12-15 15:58:58 +01:00
Alex Dima 52c252b8c9 Remove unused code 2017-12-15 06:12:41 -08:00
Sandeep Somavarapu 77697cc33e Log output
- Implement Buffered output channel and file output channel in output services
- Allow to register a file output channel
- Register log files output channels
2017-12-13 23:26:55 +01:00
Dirk Baeumer 5c927cf6ae Add check for empty key 2017-12-06 15:16:11 +01:00
Dirk Baeumer 20fc7885da Add better error message 2017-12-04 22:14:28 +01:00
Erich Gamma 59496c579a remove the gulp-tslint.d.ts 2017-11-27 16:54:43 +01:00
Erich Gamma 88b4dc9c8f Added typeings for gulp-tslint 2017-11-27 15:29:25 +01:00
Joao Moreno fdcecb53e6 remove package.json electronVersion 2017-11-16 14:43:41 +01:00
Joao Moreno 3c70e7e276 introduce build/lib/electron 2017-11-16 14:38:25 +01:00
Joao Moreno ff5561568c fix nsfw for gulp watch 2017-11-16 10:21:52 +01:00
Joao Moreno 5e5ebf5c1f Merge branch 'master' into yarn 2017-11-14 18:46:07 +01:00
Joao Moreno acfaf488c3 adopt latest vsce 2017-11-14 18:45:05 +01:00
Dirk Baeumer af52203ece Limit the line length of the minified code to 1024 to make the chrome dev tools work with workbench.main.js 2017-11-14 17:22:41 +01:00
Joao Moreno b6bc9ecd4d yarn: missing yarn.lock files 2017-11-13 23:07:17 +01:00
Joao Moreno 322bd6136a fix no-unexternalized-strings rule 2017-11-13 11:13:07 +01:00
Joao Moreno e4af77b2e2 missing compilation 2017-11-10 10:41:52 +01:00
Max Furman a0031de9d0 Compare with Clipboard (#37841)
* Compare the current buffer with clipboard

* Found a typo in linter error message

* Instantiate content provider on run
2017-11-10 07:54:29 +01:00
Erich Gamma 56111c9cc6 update to tslint5 2017-11-07 12:08:22 +01:00
Johannes Rieken f0d7a9f9df show generic tooltip on bubble, #37228 2017-11-02 14:12:52 +01:00
Sandeep Somavarapu f80adf8a85 Fix #35219 2017-10-20 22:08:53 +02:00
Benjamin Pasero 9c78e13b29 Gulp watch fails to trigger recompilation while TypeScript compiles (fixes #36214) 2017-10-13 12:15:52 +02:00
Joao aef7f7b1db remove allow-async tslint rule 2017-09-12 14:55:42 +02:00
Benjamin Pasero b64aa9b199 move parts/views into workbench core land (fixes #29921) 2017-09-06 18:40:20 +02:00
Joao a6fca8270d missing compilation 2017-09-04 11:02:50 +02:00
Matt Bierner 69afce7650 Build using TS 2.5 (#33705)
* Build using TS 2.5

Fixes #33704

* Remove explicit return type
2017-09-01 13:52:42 -07:00
Johannes Rieken b2aebcdbc5 lint - single-quoted-imports only 2017-08-21 16:50:24 +02:00
Alex Dima aabeedddea Move extension service code to vs/workbench/services/extensions 2017-08-14 16:57:53 +02:00
Johannes Rieken 30ce2998fd teach lint rules new dynamic import statements 2017-07-14 10:08:11 +02:00
Johannes Rieken a77718ff60 export define and require functions 2017-07-12 15:15:53 +02:00
Johannes Rieken f4173fe59d Merge branch 'master' into joh/snaps 2017-07-12 12:12:12 +02:00
Joao Moreno bb35b07c43 set exec bit in .sh
fixes #30437
2017-07-12 11:13:24 +02:00
Johannes Rieken 53285a0658 fix issue 2017-07-11 12:51:44 +02:00
Johannes Rieken 79503a0176 make arch a script argument 2017-07-11 12:33:22 +02:00
Johannes Rieken 1e21c702c8 proper loader path for win & linux 2017-07-11 11:36:39 +02:00
Johannes Rieken fe36969033 add snapshot as build step instead of gulp task 2017-07-11 10:52:12 +02:00
Joao Moreno bf410d4cc7 tfs: increase retry count when publishing to azure 2017-07-06 08:52:44 +02:00
Michel Kaporin 8b6ba66f49 Switched to HTTPS requests for Transifex. Added check for empty keys in .nls.json when preparing XLFs. 2017-06-30 11:42:52 +02:00
Benjamin Pasero 6d09da44cc better message for gulp watch failing with nsfw 2017-06-29 11:12:32 +02:00
Benjamin Pasero db88728d44 more output for failing nsfw watcher 2017-06-29 10:51:11 +02:00
Joao Moreno 11e3f1bfc4 failover nsfw to gulp-watch 2017-06-27 10:48:27 +02:00
Joao Moreno be68fdbd07 remove package-lock.json 2017-06-26 08:29:26 +02:00
Benjamin Pasero b4327aa772 Use nsfw for gulp watch (#29203) 2017-06-26 08:12:50 +02:00
Benjamin Pasero 043e24ada0 fix tslint warning 2017-06-26 08:01:27 +02:00
Daniel Ye 2382763f21 2017-06-23. Merged in translations from Transifex. 2017-06-23 23:09:48 -07:00
Ramya Achutha Rao 7be031a686 Fixing build break as per #29330 2017-06-23 11:29:01 -07:00
Johannes Rieken c75389b974 break loader plugins into build and runtime version to keep the size low 2017-06-23 16:31:32 +02:00
Joao Moreno 5667cc0e69 use vsce to determine what to package when bundling extensions
fixes #29054
2017-06-21 16:17:21 +02:00
Matt Bierner a460624f88 Fix more Compiler Errors for TS 2.4 in the VSCode codebase (#29055)
* Fix more Compiler Errors for TS 2.4 in the VSCode codebase

* Fix compile error for 2.3
2017-06-20 14:49:10 -07:00
Benjamin Pasero dabf32b1b7 tslint import warning: link to our wiki from warning 2017-06-20 16:08:02 +02:00
Joao Moreno 1cf93ab736 update to uglify-es 2017-06-20 11:45:37 +02:00
Alex Dima d467f0ce08 Fixes #29079: Move textMate service code to vs/workbench/services/ 2017-06-20 09:46:41 +02:00
Joao Moreno 8c7689c925 fixes #28650 2017-06-16 16:09:09 +02:00
Alex Dima f6e52ec293 Add support for old-style require statements in linters 2017-06-16 12:31:53 +02:00
Alex Dima 19dff43f67 Add the possibility for restrictions to be an OR array 2017-06-16 12:31:53 +02:00
Michel Kaporin e57d3958c4 Corrected spelling mistakes. 2017-06-15 16:46:24 +02:00
Martin Aeschlimann 05e6741ed0 Merge pull request #28569 from mbeatrizmagalhaes/correct-occurred-misspelled
Correct misspelled occurrences and occurred
2017-06-15 09:12:24 +02:00
Beatriz Magalhães e727ec5657 Undo changes to files that shouldn't be modified 2017-06-14 23:44:39 +01:00
Joao Moreno 40498b093e missing compilation 2017-06-13 11:15:28 +02:00
Beatriz Magalhães 3c52b5ae39 fixed misspelled occurrences and occurred 2017-06-12 23:05:57 +01:00
Michel Kaporin 54f46520d4 Added try/catch not to break on file not found error for 'resources to pull from Transifex' file. 2017-06-12 09:30:18 +02:00
Benjamin Pasero 11c9c5bd33 check in compiled js 2017-06-09 18:10:38 +02:00
Michel Kaporin 6bdcfaa5fd Added Hungarian and Turkish to Insiders. Resolves #28062 and #27608. 2017-06-09 16:15:52 +02:00
Michel Kaporin 6c0d720cdf Resolves #28336 2017-06-09 14:43:30 +02:00
Michel Kaporin 59c132912a Added missing workbench parts and services to pull from Transifex. 2017-06-07 12:35:34 +02:00
Michel Kaporin 45e33456d6 Fixed adding languages only to non-stable build. 2017-06-01 15:13:31 +02:00
Michel Kaporin 895deefdf2 Iterate over the language names, rather than objects. 2017-06-01 14:29:56 +02:00
Michel Kaporin fb4a49b000 Target only core languages for the stable build. Ref #27818 2017-06-01 12:54:18 +02:00
Michel Kaporin b126f6b69f Added 'pt-br' to supported languages. 2017-05-24 10:06:44 +02:00
Joao Moreno 74fab50d5d consolidate build package.json 2017-05-16 08:56:21 +02:00
Benjamin Pasero 69aaa885e2 fix build? 2017-05-05 18:30:16 +02:00
Johannes Rieken f8ea7320cf re-enable removal of duplicated helpers 2017-04-28 11:02:26 +02:00
Johannes Rieken f737b01757 update monaco.d.ts generation, recompile build-folder 2017-04-26 17:59:30 +02:00
Michel Kaporin b98e13ce7f Inlined js file with the latest i18n.ts changes. 2017-04-24 14:40:30 +02:00
Michel Kaporin 76e1d22783 Moved code resource under the correct project variable. 2017-04-24 14:39:25 +02:00
Alex Dima a634d0bee8 Do not remove duplicate TS boilerplate until we find a good way to handle TS updates 2017-04-14 15:18:46 +03:00
Michel Kaporin fd27a89df5 Reverted back to iconv-lite dependancy until discovery why iconv module breaks the build. 2017-04-13 19:58:13 +02:00
Michel Kaporin 1ac2a17bb6 Fixed gulp task termination before all translations were emitted. Fixed issue with incorrect encoding for pulled translations. 2017-04-13 18:24:11 +02:00
Michel Kaporin 19b127a6c9 Fixed language codes for build process. 2017-04-06 16:38:28 +02:00
Michel Kaporin 96bd2ed7dd Merge pull request #23281 from michelkaporin/i18n
Added ability for JSON/XLIFF conversion and Push/Pull from Transifex
2017-04-06 14:38:05 +02:00
Michel Kaporin ac301ba0dc Updated cultures list to match Transifex. Code tidy up. 2017-04-06 09:45:42 +02:00
Michel Kaporin 394e3d2cbe Separated Default.isl and messages.isl in two separate projects. Introduced language parameter for pulling XLFs. 2017-04-05 18:12:24 +02:00
Michel Kaporin aad3068815 Exported necessary members back. 2017-04-05 16:22:22 +02:00
Michel Kaporin d180307676 Separated pulling from XLF->JSON conversion for Translation Team PoliCheck process. 2017-04-05 15:58:07 +02:00
Michel Kaporin 60531dd2b7 Reverted typings folder refactoring. Made build pipeline to break on failures in parsing or in communication with Transifex. 2017-04-05 11:58:31 +02:00
Michel Kaporin 20fe186d31 Added package.json to 'build'. 2017-04-04 17:23:53 +02:00
Michel Kaporin 47e5d4353a Fixed pulled translations path problem. Code tidy up. 2017-03-31 15:24:26 +02:00
Joao Moreno b7e71acc87 💚 cmon build machine 2017-03-29 11:55:32 +02:00
Joao Moreno 0fb99b704c 💚 hopefully fix the linux tfs build 2017-03-29 10:47:51 +02:00
Joao Moreno f7195e0675 💚 possibly fix tfs linux build 2017-03-29 09:58:20 +02:00
Joao Moreno 646d0f9e0d 💚 fix linux build due to excessive output 2017-03-28 13:01:51 +02:00
Michel Kaporin b1c5464ea3 Resolved merge conflicts 2017-03-27 15:47:37 +02:00
Michel Kaporin f352caed0b Updated imports for i18n with typings. Removed 'request' module dependency. 2017-03-27 15:45:44 +02:00
Michel Kaporin 0741a67980 Synchronised pipe to prevent its ending before all of the API responses received. 2017-03-27 15:45:43 +02:00
Michel Kaporin 59c3ff8e85 Added i18n tests. 2017-03-27 15:45:43 +02:00
Michel Kaporin 9374658d1c Implemented transifex push and pull for translations together with json->xlf->json parsing. 2017-03-27 15:45:43 +02:00
Michel Kaporin 2af1e01b44 Implemented transifex push and pull for translations together with json->xlf->json parsing. 2017-03-27 15:45:43 +02:00
Joao Moreno d97b01e3b7 🐛 improve allow async node warning 2017-03-21 11:49:28 +01:00
Joao Moreno 49f0396761 👷 tslint: allow-async rule 2017-03-21 11:28:58 +01:00
Joao Moreno a85a6a22de 👷 update build files 2017-03-21 11:28:10 +01:00
Michel Kaporin 980ea6b2c2 Updated imports for i18n with typings. Removed 'request' module dependency. 2017-03-20 15:01:18 +01:00
Michel Kaporin bf008106c8 Synchronised pipe to prevent its ending before all of the API responses received. 2017-03-17 17:24:18 +01:00
Michel Kaporin d64ea296b5 Merged changes. 2017-03-17 15:34:47 +01:00
Michel Kaporin c47a8c3635 Added i18n tests. 2017-03-17 15:27:05 +01:00
Michel Kaporin 4fd13f7cc9 Implemented transifex push and pull for translations together with json->xlf->json parsing. 2017-03-17 11:34:41 +01:00
Michel Kaporin bb1e7117f1 Implemented transifex push and pull for translations together with json->xlf->json parsing. 2017-03-16 18:07:55 +01:00
Benjamin Pasero 61efd8fb23 build build/lib folder with latest 2017-03-06 16:32:23 +01:00
Alex Dima 1645d0d150 Fixes #21892: Do not read .d.ts files from disk when generating monaco.d.ts 2017-03-06 12:14:41 +01:00
Alex Dima a68c9d0102 Fix gulp watch 2017-03-01 10:01:48 +01:00
Alex Dima 9893aaf825 reload typescript node module only at build time 2017-03-01 09:24:47 +01:00
Alex Dima f9ccfe7cbc Try to free memory after TS compilation finishes 2017-02-28 16:44:51 +01:00
Joao Moreno f2c901c9d8 build: failsafe 2017-02-08 11:06:15 +01:00
Joao Moreno e593908aa3 build: dump log to .build/log 2017-02-08 11:05:55 +01:00
Matt Bierner 22fdff9baf Use @types for a few d.ts files in src (#20157) 2017-02-07 17:12:47 -08:00
Joao Moreno d766d564e6 oss 2017-01-26 15:43:15 +01:00
Benjamin Pasero a6175d0756 Fix build (#18492) 2017-01-13 07:15:26 +01:00
Matt Bierner 46e5dddeab Bump Monaco to TS 2.1.4 (#18413)
Fixes #18393
2017-01-12 12:14:07 -08:00
Joao Moreno 1c38df7823 fixes #18363 2017-01-11 11:55:58 +01:00
Erich Gamma 3625052492 update to tslint 4.0 2017-01-11 09:00:57 +01:00
Erich Gamma b381829341 Add fix to non-externalized string warning 2016-12-01 10:08:11 +01:00
Joao Moreno dae4c97de9 fix logging 2016-11-29 15:59:17 +01:00
Joao Moreno 6a07f2d94a add tslint duplicateImportsRule 2016-11-11 17:02:08 +01:00
Johannes Rieken 27d8b3127f tweak rule and config, #15293 2016-11-10 15:33:14 +01:00
Johannes Rieken fe219220de add rule for bad node_module imports, #15293 2016-11-10 15:22:45 +01:00
Johannes Rieken 44516ddfba recompile rule, #15293 2016-11-10 12:45:47 +01:00
Johannes Rieken d9a83a62f1 debt - add lint rule to check for layering violations, #15293 2016-11-10 12:40:25 +01:00
Alex Dima fcbe48844e Add monaco-editor-setup script 2016-10-21 09:16:06 +02:00
Alex Dima d7930ec63d Fix issue in util.setExecutableBit 2016-10-20 15:30:53 +02:00
Alex Dima 9f0f868c65 Extract client compilation code out of gulpfile.js 2016-10-20 15:00:05 +02:00
Alex Dima 3d726b59c1 Convert build/lib/reporter.js to TypeScript 2016-10-20 15:00:04 +02:00
Alex Dima abce9969fe Clean up types in build/lib/optimize.ts 2016-10-20 15:00:03 +02:00
Alex Dima d904442b42 Convert build/lib/util.js to TypeScript 2016-10-20 15:00:02 +02:00
Alex Dima d443f84674 Convert build/lib/git.js to TypeScript 2016-10-20 15:00:02 +02:00
Alex Dima a2477d9a60 Move /build/gulpfile.common to /build/lib/optimize.ts 2016-10-20 15:00:01 +02:00
Alex Dima 5ae54dd9d0 Reduce devDependencies 2016-10-20 15:00:00 +02:00
Joao Moreno 354738aa9f remove handleAzureJson 2016-10-20 09:52:20 +02:00
Martin Aeschlimann 1548a3f4da update-grammar script: include download functions 2016-10-10 17:20:27 +02:00
Joao Moreno 839edf04ab Revert "remove unused build script"
This reverts commit decfd25ac1.
2016-10-10 16:21:27 +02:00
Joao Moreno decfd25ac1 remove unused build script 2016-09-21 15:57:17 +02:00
Joao Moreno 98dde6a5f2 download extensions at build time 2016-09-21 15:57:17 +02:00
Alex Dima 72ef20b5b3 Improve monaco-editor-core bundling 2016-09-18 23:05:42 +03:00
Benjamin Pasero af877ffb53 fix gulp watch 2016-09-14 17:44:06 +02:00
Joao Moreno 94eb60a292 fix fsevents compatibility for build tools 2016-09-14 17:00:23 +02:00
Joao Moreno 9da8d35954 publish extension sourcemaps
fixes #10994
2016-09-13 09:42:11 +02:00
Alex Dima 9245f2c246 Generate original module ids for debugging purposes when bundling 2016-09-07 17:48:51 +02:00
Martin Aeschlimann c5fc19d474 grammar update script: Generalize as /build/npm/update-grammar 2016-08-03 12:13:18 +02:00
Martin Aeschlimann 893483c907 [typescript] grammar-update script 2016-08-02 12:13:28 +02:00
Joao Moreno 1db12a0c45 implement retry in rimraf 2016-07-19 15:10:11 +02:00
Joao Moreno e83b5b41da fix bad compile 2016-07-19 11:39:02 +02:00
Joao Moreno 4bd5ff8c7a reduce logging output during build 2016-07-19 11:38:00 +02:00
Joao Moreno 4afae7fda1 es6ify build scripts 2016-07-18 11:02:51 +02:00
Joao Moreno 2493556ca0 fixes #9269 2016-07-18 10:43:45 +02:00
Joao Moreno 1ef9a66db0 Revert "revert changes to gulp files"
This reverts commit 23afe96996.
2016-07-12 17:12:38 +02:00
Joao Moreno 23afe96996 revert changes to gulp files
Revert "oops"

This reverts commit 2be0f1d8cd.

Revert "cleanup top level gulpfile"

This reverts commit 849311713d.

Revert "use strict"

This reverts commit b6b7e82041.

Revert "forgot top level"

This reverts commit 1552828709.

Revert "remove VSCODE_BUILD_QUIET"

This reverts commit 8df5e70d12.
2016-07-12 11:47:48 +02:00
Joao Moreno 849311713d cleanup top level gulpfile 2016-07-12 11:12:50 +02:00
Joao Moreno b6b7e82041 use strict 2016-07-12 11:06:15 +02:00
Joao Moreno 8df5e70d12 remove VSCODE_BUILD_QUIET 2016-07-12 10:47:19 +02:00
Dirk Baeumer 4e2e9302d3 Fixing monaco.d.ts generation 2016-06-24 11:15:39 +02:00
Alex Dima 350dd1ed2f Bundle editorWorkerServer into workerServer and editorSimpleWorker into simpleWorker 2016-06-09 00:22:59 +02:00
Alex Dima b38055cdde Extract module ids and wrap around bundled code in a function to aid in minification 2016-06-08 20:35:10 +02:00
Alex Dima 27dae4d2b7 Bundler: generate bundleInfo, remove duplicated TS boilerplate 2016-06-08 20:35:08 +02:00
Alex Dima bb7358555b Inline small svg/png images when bundling editor 2016-06-07 18:46:56 +02:00
Alex Dima 7ec0f25030 Improve editor-distro gulp task 2016-05-31 16:31:35 +02:00
Alex Dima 561cd05099 Bring in monaco.d.ts into the /src/ folder such that editor API can be typechecked to be exported correctly 2016-05-31 16:31:35 +02:00
Joao Moreno b76da24dcd clean up pty.js on packaging
fixes #6963
2016-05-27 14:57:47 +02:00
Alex Dima 668a4ff8b1 Add completion API to the standalone editor 2016-05-26 23:28:14 +02:00
Alex Dima e7352f726f Address Joh's feedback for the standalone editor API 2016-05-26 16:19:08 +02:00
Alex Dima 355656c52f Add languages API to the standalone editor 2016-05-25 23:56:28 +02:00
Alex Dima e074dc1892 Regenerated standalone API 2016-05-25 15:38:02 +02:00
Alex Dima d6659f6dd3 Reduce standalone editor API through @internal markers 2016-05-25 15:31:31 +02:00
Alex Dima 875e28c7ce Remove IEditorRange, IEditorSelection 2016-05-22 14:24:18 +02:00
Alex Dima 9de85cbefa Remove IEditorPosition 2016-05-22 14:24:16 +02:00
Alex Dima b9b39fd2ae Auto-format the generated monaco-editor.d.ts 2016-05-21 11:29:43 +02:00
Alex Dima b693a851e4 Fully automated monaco-editor.d.ts 2016-05-21 11:29:42 +02:00
Alex Dima 8b9c16f71c One last manual update for future reference 2016-05-21 11:29:41 +02:00
Alex Dima c2f48a9116 format reference monaco-editor.d.ts 2016-05-21 11:29:40 +02:00
Alex Dima 0519a269ec First cut at monaco editor d.ts auto-generation 2016-05-20 17:45:42 +02:00
Dirk Baeumer a2399f4576 Fixes --locale switch incorrect for Simplified Chinese, should be zh-cn not zh-ch 2016-03-23 09:24:38 +01:00
Dirk Baeumer 42d8735042 Fixes #4520: Code will not start with locale='zh-cn' or locale='zh-tw' 2016-03-22 12:50:39 +01:00
Dirk Baeumer a942a04f58 Fixed casing for locale information 2016-03-15 12:59:49 +01:00
Dirk Baeumer e9c0d0acae Enable i18n logging 2016-03-14 17:10:47 +01:00
Dirk Baeumer 94a329299a Fix nls build 2016-03-13 15:31:02 +01:00
Dirk Baeumer e6fa8d974c Additional i18n files 2016-03-11 21:25:28 +01:00
Dirk Baeumer e3ddd0074e Merge branch 'dbaeumer/extensionLanguageCreation' 2016-03-09 10:02:21 +01:00
Dirk Baeumer 9f5da0577d Create language specific nls files for extensions 2016-03-08 23:20:35 +01:00
Alex Dima 11ea2b653e Show message when "auto" is detected 2016-03-08 21:46:52 +01:00
Dirk Baeumer 0ffd699ef5 Create nls files for vscode core 2016-03-08 11:26:24 +01:00
Joao Moreno d63380a375 move unexternalized strings rule 2016-03-07 12:56:32 +01:00
Joao Moreno b027a0c492 fix up lint errors, cleanup build folder 2016-03-07 12:56:32 +01:00
Joao Moreno f9564e666d remove leftover build file 2016-03-07 12:56:32 +01:00
Joao Moreno 9f8ee47b02 extract gulpfile rebase 2016-03-07 12:27:10 +01:00
João Moreno b61dd976f6 fixes #1948 2016-03-07 12:09:15 +01:00
Joao Moreno c6ae31a9ae make build fail on compile errors 2016-02-23 09:33:16 +01:00
Joao Moreno 90c1f7ab89 remove omnisharp
fixes #3167
2016-02-19 15:35:34 +01:00
Alex Dima e609a6f409 gulp win32 watcher -- filter as soon as possible fs events 2016-02-02 12:21:01 +01:00
Joao Moreno 9b5899187d gulp hygiene 2015-11-24 19:09:38 +01:00
Joao Moreno ff6c7a2306 validate BUILD_SOURCEVERSION 2015-11-24 11:23:03 +01:00
isidor 958bdd6ad2 copyrights: use nicer gulp globing
fixes #260
2015-11-23 20:27:54 +01:00
Joao Moreno 59c4f24c48 gulp: beware of es.merge and empty arrays
fixes the internal builds
2015-11-21 14:40:41 +01:00
Joao Moreno 2a29c3b6b5 ➡ gulpfiles into build
fixes #196
2015-11-19 15:47:33 +01:00
Alex Dima 8883fcd03b Leading whitespace fixes 2015-11-19 12:56:08 +01:00
Chris Dias 6f9e2ae390 Add reference to DefinitelyTyped, updated the TypeScript version, and generate a new thirdpartynotices.txt 2015-11-13 15:48:38 +01:00
Erich Gamma 8f35cc4768 Hello Code 2015-11-13 14:39:38 +01:00