Skip to content

Commit 5bac8b8

Browse files
authored
Merge pull request #2697 from Microsoft/seanmcm/0_19_1_insiders3_merge
Seanmcm/0 19 1 insiders3 merge
2 parents 51a22d0 + a25bf47 commit 5bac8b8

File tree

10 files changed

+3026
-643
lines changed

10 files changed

+3026
-643
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ script:
3535
- npm run tslint
3636
# pr-check needs to run before test. test modifies package.json.
3737
- npm run pr-check
38-
- npm run test
38+
- npm run unitTests
39+
# TODO: Merge tests into one group due to Gulp 4.0
40+
- npm run integrationTests
3941
# Dump integrationTest.log output
4042
- find ~ -name "integrationTests.log" -type f -exec cat {} \;
4143

Extension/CHANGELOG.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
# C/C++ for Visual Studio Code Change Log
22

3+
## Version 0.19.1-insiders3: October 19, 2018
4+
* Fix `#include` completion not working with `compile_commands.json` or custom configuration providers. [#2242](https://github.com/Microsoft/vscode-cpptools/issues/2242)
5+
* Fix `-isystem` without a space after getting ignored in `compile_comamands.json`. [#2629](https://github.com/Microsoft/vscode-cpptools/issues/2629)
6+
* Fix the `Disabled` `intelliSenseEngine` setting not working with custom configuration providers. [#2656](https://github.com/Microsoft/vscode-cpptools/issues/2656)
7+
* Fix IntelliSense-based `Go to Definition` returning results with non-matching signatures. [#2677](https://github.com/Microsoft/vscode-cpptools/issues/2677)
8+
* Fix Insiders update channel not working for `0.19.1-insiders`. [#2685](https://github.com/Microsoft/vscode-cpptools/issues/2685)
9+
310
## Version 0.19.1-insiders2: October 16, 2018
411
* Add IntegratedTerminal support for Linux and Windows. [#35](https://github.com/microsoft/vscode-cpptools/issues/35)
512
* Unify Visual Studio Code debug protocol parsing by using a shared library with Visual Studio.
613
* Fix Intellisense-based `Go to Definition` falling back to the Tag Parser for definitions not in the TU. [#2536](https://github.com/Microsoft/vscode-cpptools/issues/2536)
7-
* Fix `-isystem` without a space after getting ignored in `compile_comamands.json`. [#2629](https://github.com/Microsoft/vscode-cpptools/issues/2629)
814
* Fix Insiders update channel installation failure on Windows/Mac. [#2636](https://github.com/Microsoft/vscode-cpptools/issues/2636)
915
* Fix IntelliSense-based `Go to Declaration` falling back to the Tag Parser if the definition is also in the TU. [#2642](https://github.com/Microsoft/vscode-cpptools/issues/2642)
1016

1117
## Version 0.19.1-insiders: October 9, 2018
12-
* Fix IntelliSense-based `Go to Definition` on overloads. [#1071](https://github.com/Microsoft/vscode-cpptools/issues/1071)
18+
* Fix IntelliSense-based `Go to Definition` on overloads (in the same TU). [#1071](https://github.com/Microsoft/vscode-cpptools/issues/1071)
1319
* Fix IntelliSense failing if recursive includes removes all paths. [#2442](https://github.com/Microsoft/vscode-cpptools/issues/2442)
1420
* Fix incorrect IntelliSense errors with MinGW (stop using `-fms-extensions` by default). [#2443](https://github.com/Microsoft/vscode-cpptools/issues/2443), [#2623](https://github.com/Microsoft/vscode-cpptools/issues/2623)
1521
* Fix error squiggles sometimes not updating after typing. [#2448](https://github.com/Microsoft/vscode-cpptools/issues/2448)
@@ -20,7 +26,7 @@
2026
* Fix empty `C_Cpp.default.*` settings not being used. [#2584](https://github.com/Microsoft/vscode-cpptools/issues/2584)
2127
* Fix quoting around `ssh`'s command (for the debugger). [#2585](https://github.com/Microsoft/vscode-cpptools/issues/2585)
2228
* Fix crash on hover (and `Go to Definition`) when using the `Tag Parser`. [#2586](https://github.com/Microsoft/vscode-cpptools/issues/2586)
23-
* Fix errors when a workspace folder isn't open. [#2613](https://github.com/Microsoft/vscode-cpptools/issues/2613)
29+
* Fix errors when a workspace folder isn't open. [#2613](https://github.com/Microsoft/vscode-cpptools/issues/2613), [#2691](https://github.com/Microsoft/vscode-cpptools/issues/2691)
2430

2531
## Version 0.19.0: September 27, 2018
2632
* Change the symbol database to update without needing to save. [#202](https://github.com/Microsoft/vscode-cpptools/issues/202)

Extension/gulpfile.js

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,31 +12,41 @@ const mocha = require('gulp-mocha');
1212
const fs = require('fs');
1313
const optionsSchemaGenerator = require('./out/tools/GenerateOptionsSchema');
1414

15-
gulp.task('unitTests', () => {
15+
gulp.task('unitTests', (done) => {
1616
env.set({
1717
CODE_TESTS_PATH: "./out/test/unitTests",
1818
});
1919

20-
gulp.src('./test/runVsCodeTestsWithAbsolutePaths.js', {read: false})
20+
return gulp.src('./test/runVsCodeTestsWithAbsolutePaths.js', {read: false})
2121
.pipe(mocha({ ui: "tdd" }))
22-
.once('error', err => process.exit(1))
23-
.once('end', () => process.exit())
22+
.once('error', err => {
23+
done();
24+
process.exit(1);
25+
})
26+
.once('end', () => {
27+
done();
28+
process.exit();
29+
});
2430
});
2531

26-
gulp.task('integrationTests', () => {
32+
gulp.task('integrationTests', (done) => {
2733
env.set({
2834
CODE_TESTS_PATH: "./out/test/integrationTests",
2935
CODE_TESTS_WORKSPACE: "./test/integrationTests/testAssets/SimpleCppProject"
3036
});
3137

32-
gulp.src('./test/runVsCodeTestsWithAbsolutePaths.js', {read: false})
38+
return gulp.src('./test/runVsCodeTestsWithAbsolutePaths.js', {read: false})
3339
.pipe(mocha({ ui: "tdd" }))
34-
.once('error', err => process.exit(1))
35-
.once('end', () => process.exit())
40+
.once('error', err => {
41+
done();
42+
process.exit(1);
43+
})
44+
.once('end', () => {
45+
done();
46+
process.exit();
47+
});
3648
});
3749

38-
gulp.task('allTests', ['unitTests', 'integrationTests']);
39-
4050
/// Misc Tasks
4151
const allTypeScript = [
4252
'src/**/*.ts',
@@ -55,7 +65,7 @@ const lintReporter = (output, file, options) => {
5565
};
5666

5767
gulp.task('tslint', () => {
58-
gulp.src(allTypeScript)
68+
return gulp.src(allTypeScript)
5969
.pipe(tslint({
6070
program: require('tslint').Linter.createProgram("./tsconfig.json"),
6171
configuration: "./tslint.json"
@@ -66,14 +76,19 @@ gulp.task('tslint', () => {
6676
}))
6777
});
6878

69-
gulp.task('pr-check', () => {
79+
gulp.task('pr-check', (done) => {
7080
const packageJson = JSON.parse(fs.readFileSync('./package.json').toString());
7181
if (packageJson.activationEvents.length !== 1 && packageJson.activationEvents[0] !== '*') {
7282
console.log('Please make sure to not check in package.json that has been rewritten by the extension activation. If you intended to have changes in package.json, please only check-in your changes. If you did not, please run `git checkout -- package.json`.');
83+
done();
7384
process.exit(1);
7485
}
86+
87+
done();
7588
});
7689

77-
gulp.task('generateOptionsSchema', () => {
90+
gulp.task('generateOptionsSchema', (done) => {
7891
optionsSchemaGenerator.generateOptionsSchema();
92+
93+
done();
7994
});

0 commit comments

Comments
 (0)