Skip to content

Commit ddc1f90

Browse files
authored
Merge pull request #2721 from Microsoft/seanmcm/0_20_0_release
Seanmcm/0 20 0 release
2 parents 963ee02 + 9ca27af commit ddc1f90

File tree

17 files changed

+3220
-742
lines changed

17 files changed

+3220
-742
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

Documentation/LanguageServer/c_cpp_properties.json.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@
6868
A list of files that should be included before any other characters in the source file are processed. Files are included in the order listed.
6969

7070
* #### `compilerPath` (optional)
71-
The absolute path to the compiler you use to build your project. The extension will query the compiler to determine the system include paths and default defines to use for IntelliSense. Args can be added to modify the includes/defines used, e.g. `-nostdinc++`, `-m32`, etc., but paths with spaces must be surrounded by double quotes (`"`) if args are used.
71+
The absolute path to the compiler you use to build your project. The extension will query the compiler to determine the system include paths and default defines to use for IntelliSense.
72+
73+
Args can be added to modify the includes/defines used, e.g. `-nostdinc++`, `-m32`, `-fno-ms-extensions`, etc., but paths with spaces must be surrounded by double quotes (`"`) if args are used.
74+
75+
If you want to disable automatic querying of system include paths and defines, set this value to the emptry string `""`. This is generally not recommended, but there are some cases where automatic querying of system includes and defines is undesirable.
7276

7377
* #### `cStandard`
7478
The C standard revision to use for IntelliSense in your project.

Extension/CHANGELOG.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# C/C++ for Visual Studio Code Change Log
22

3+
## Version 0.20.0: October 29, 2018
4+
* Add IntegratedTerminal suport for Linux and Windows. [#35](https://github.com/microsoft/vscode-cpptools/issues/35)
5+
* Unify Visual Studio Code debug protocol parsing by using a shared library with Visual Studio.
6+
* Fix IntelliSense-based `Go to Definition` on overloads (in the same TU). [#1071](https://github.com/Microsoft/vscode-cpptools/issues/1071)
7+
* Fix inactive regions not being disabled when falling back to the Tag Parser. [#2181](https://github.com/Microsoft/vscode-cpptools/issues/2181)
8+
* Fix `#include` completion not working with `compile_commands.json` or custom configuration providers. [#2242](https://github.com/Microsoft/vscode-cpptools/issues/2242)
9+
* Fix IntelliSense failing if recursive includes removes all paths. [#2442](https://github.com/Microsoft/vscode-cpptools/issues/2442)
10+
* 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)
11+
* Fix error squiggles sometimes not updating after typing. [#2448](https://github.com/Microsoft/vscode-cpptools/issues/2448)
12+
* Add support for Mac framework paths in `compile_commands.json`. [#2508](https://github.com/Microsoft/vscode-cpptools/issues/2508)
13+
* 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), [#2677](https://github.com/Microsoft/vscode-cpptools/issues/2677)
14+
* Fix IntelliSense-based `Go to Definition` on the identifier of a definition with no declaration. [#2573](https://github.com/Microsoft/vscode-cpptools/issues/2573)
15+
* Fix IntelliSense-based `Go to Definition` not falling back to the declaration (in certain cases). [#2574](https://github.com/Microsoft/vscode-cpptools/issues/2574)
16+
* Fix IntelliSense-based `Go to Definition` going to the wrong location after edits are made. [#2579](https://github.com/Microsoft/vscode-cpptools/issues/2579)
17+
* Fix `Go to Definition` when the `intelliSenseEngineFallback` is `Disabled` and `#include`s are missing. [#2583](https://github.com/Microsoft/vscode-cpptools/issues/2583)
18+
* Fix empty `C_Cpp.default.*` settings not being used. [#2584](https://github.com/Microsoft/vscode-cpptools/issues/2584)
19+
* Fix quoting around `ssh`'s command (for the debugger). [#2585](https://github.com/Microsoft/vscode-cpptools/issues/2585)
20+
* Fix crash on hover (and `Go to Definition`) when using the `Tag Parser`. [#2586](https://github.com/Microsoft/vscode-cpptools/issues/2586)
21+
* 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)
22+
* Fix `-isystem` without a space after getting ignored in `compile_comamands.json`. [#2629](https://github.com/Microsoft/vscode-cpptools/issues/2629)
23+
* Fix Insiders update channel installation bugs. [#2636](https://github.com/Microsoft/vscode-cpptools/issues/2636), [#2685](https://github.com/Microsoft/vscode-cpptools/issues/2685)
24+
* 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)
25+
* Fix the `Disabled` `intelliSenseEngine` setting not working with custom configuration providers. [#2656](https://github.com/Microsoft/vscode-cpptools/issues/2656)
26+
327
## Version 0.19.0: September 27, 2018
428
* Change the symbol database to update without needing to save. [#202](https://github.com/Microsoft/vscode-cpptools/issues/202)
529
* Enable IntelliSense-based `Go to Definition` for the current translation unit, including local variables and overloaded operators. [#255](https://github.com/Microsoft/vscode-cpptools/issues/255), [#979](https://github.com/Microsoft/vscode-cpptools/issues/979)
@@ -497,7 +521,7 @@
497521
* Switch between header and source.
498522
* Control which files are processed under include path.
499523

500-
## Version 0.6.1: June 03, 2016
524+
## Version 0.6.1: June 3, 2016
501525
* Bug fixes.
502526

503527
## Version 0.6.0: May 24, 2016

Extension/ThirdPartyNotices.txt

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1-
2-
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
1+

2+
THIRD PARTY SOFTWARE NOTICES AND INFORMATION
33
Do Not Translate or Localize
44

5-
Microsoft C/C++ Extension for Visual Studio Code incorporates components from the projects listed below. Microsoft licenses these components under the Microsoft C/C++ Extension for Visual Studio Code license terms, except as noted. The original copyright notices and the licenses under which Microsoft received such components are set forth below for informational purposes. Microsoft reserves all rights not expressly granted herein, whether by implication, estoppel or otherwise.
5+
This Microsoft product may utilize material made available by third parties under the following license terms. Any source code that Microsoft is required to make available can be found at http://3rdpartysource.microsoft.com. You may also obtain a copy of any such source code (during the period provided by the license) by sending a check or money order for US $5.00 to:
6+
7+
Source Code Compliance Team
8+
Microsoft Corporation
9+
One Microsoft Way
10+
Redmond, WA 98052 USA
11+
12+
Please write “Source for [OSS PROJECT NAME]” in the memo line of your payment.
13+
614

715
1. agent-base (https://github.com/TooTallNate/node-agent-base)
816
2. ANTLR (http://www.antlr2.org/)

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)