Граф коммитов

290 Коммитов

Автор SHA1 Сообщение Дата
Andreea Isac 1d22d7cca4
Don't ignore node_modules (#272) 2022-01-31 12:30:05 -08:00
Andreea Isac f33b902b65
Ignore only tests sources, not the whole out folder (#270) 2022-01-31 11:46:19 -08:00
Andreea Isac 9e1f4d7a73
Initial localization support (#258)
* Localization support end to end plus a few instances of strings. More strings to be reviewed and localized later.

* Temporary add 'localization' branch besides 'main' in translation script, hoping to help with running the pipeline on the 'localization' branch.

* Add missing quote

* Add missing package.nls.json

* Address first round of PR feedback.

* More PR feedback

* Change suggested by crsuzuki for loc work item 541630

* Avoid adding a new line ourselves for each chunk of text coming into stdout/stderr

* More localization in package.json and add one dependency reported by the locBuild pipeline.

* Quick baseline update

* More dependencies requested by locBuild pipeline

* Try one more small baseline update

* Avoid appending even an empty string when in test mode.

* One more baseline update required by the latest change

* One more baseline update required by the latest change

* Update windows baseline as well since latest change doesn't impact only linux

* Localize settings description strings. Move various punctuation inside the substitution strings.

* Remove localization branch reference from script since we're merging all localization functionality into main
2022-01-26 12:57:02 -08:00
Bob Brown 06376f154d
Improve the configuration title (#262) 2022-01-11 09:04:07 -08:00
Andreea Isac d5a3df71b4
Various quick fixes (#256)
* Various quick fixes

* Update baseline for unreliable test that has script reporting output unpredictibly, sometimes with end of line sometimes without

* Try again the same baseline update.

* Implement 'msvc' problem matcher based on 'msCompile' but handling relative paths to the workspace folder.

* Add command for make CWD, fix baselines.
2022-01-11 09:03:28 -08:00
Andreea Isac 66ce250e8a
Version and changelog update for 0.3.1 (#251) 2021-12-09 16:24:38 -08:00
Andreea Isac 363d0faa29
Fix for GitHub issues for 0.3.1 release (#247)
* Fix for GitHub issues 233 and 245

* Postpone quoting any process name or args until the execution time.

* Fix activation for makefiles below the root. Add test for real make invocation that covers command construction and quoting. Also update quoting for baselines and fix some bugs or inconsistencies in logging.

* We don't want the tests to really find make. Point to non-existing one. We only want the preparation for spawning the make process.

* Fix linux baseline for new real make test

* Another test baseline fix for windows.
2021-12-09 16:24:12 -08:00
Andreea Isac c9a2877828
Redo PR 241: parsing complex scenarios of quoting and escaping. (#243)
* Redo PR 241: parsing complex scenarios of quoting and escaping.

* add temporary logging to see how much of the new test is executing

* Break up the new windows test in two to compare smaller baseline/output strings.

* Try cl instead of gcc so that the CI machines don't find the tool in their path and report full (machine dependent) path for compiler path.

* Undo previous mistake, we need gcc not cl but ensure preconfigure adds a path to these compilers inside our repository

* Cover more interesting scenarios for compiler path while also ensuring uniformity between systems

* Fix linux test baseline according to latest changes in the dryrun
2021-12-02 15:56:57 -08:00
Andreea Isac ef33b871d9
Changelog updates for 0.3.0 (#244) 2021-12-02 15:56:43 -08:00
Andreea Isac 0a06260ac1
Fix some typescript squiggles on windows and pass environment to build task, otherwise preConfigure has no effect on build. (#239) 2021-12-02 09:33:09 -08:00
Andreea Isac 50aa122d23
Include stderr in the dryrun output that is processed for everything (#238)
Co-authored-by: andris <andris@srf-pic.hai-hui.org>
2021-12-02 09:32:20 -08:00
Andreea Isac 6365cf5788
Paths processing for non win tools run on win (#234)
* Handle non win paths on win system when in pure windows environment

* Path processing for non win tools run on win

* Move IF condition from the call site into the path helper function.
2021-12-02 09:28:26 -08:00
Andreea Isac cc38a54946
Add sha to vsix version (#232) 2021-11-16 11:07:29 -08:00
Bob Brown bb07ae733f
Fix an issue with mismatched quotes (#204) 2021-11-16 10:06:06 -08:00
Andreea Isac 1ec3b7a45c
Version update (#231)
* Version update

* Fix version typo

* Try something
2021-11-15 12:30:22 -08:00
Andreea Isac d405d105a9 Fix vsix name typo in package.json 2021-11-15 11:27:55 -08:00
Andreea Isac c62c0cc984 Add package script to package.json. 2021-11-15 11:23:50 -08:00
Andreea Isac e707a0e2c6
Update main.yml 2021-11-15 11:16:39 -08:00
Andreea Isac 1c04af867a
Update main.yml 2021-11-15 10:39:01 -08:00
Andreea Isac d0403c9814
Try older vsce version to unblock the vsix action. (#230) 2021-11-15 10:31:17 -08:00
Andreea Isac a43c31a88b
Small 0.3 bug fixes (c/c++ standard defaults and output channel) (#227)
* Don't hardcode any c/c++ standard defaults and let CppTools query the compiler.

* Don't show output channel when project is loaded.

* Don't show output channel when source file has no IntelliSense configuration.

* Fix baseline related to c/c++ standard default change

* No defaults of standard/intellisense for CppTools v5+

* Fix windows baseline

* Revert last baseline update. In test mode, there is no CppTools
2021-11-15 10:23:38 -08:00
Andreea Isac 96f0693a83
Initial support for problem matchers (#221)
* Initial support for problem matchers

* Use ShellQuoting and also separate command from args when constructing the build task.
2021-11-15 03:19:23 -08:00
Andreea Isac 01b505ea24
Hide makefile commands from palette and c/c++ tab from the left side panel for non makefile projects (#223) 2021-11-08 06:21:18 -08:00
dependabot[bot] 9a69094d25
Bump path-parse from 1.0.6 to 1.0.7 (#200)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-23 13:48:08 -07:00
Andreea Isac 76df6cd083
Small set of regression tests (win, linux) (#187)
* Windows test updates and bug fixes.

* Line endings tuning for windows.

* Don't save launch configurations adds into the fake suite settings.json.

* Win32 test baseline update.

* Win32 test clrf baseline update.

* Forgot to replace extension repo root with variable that is to be expanded.

* Linux tests and baselines updates. More bug fixes.

* Update win baseline after fixes on linux

* Create ci-linux.yml

* Create ci-windows.yml

* Update ci-linux.yml

* Update ci-windows.yml

* Run yarn install before typescript compilation.

* Temporary change to trigger test failures. Will undo.

* Change asserts into expect. Include bad baseline to trigger CI failures.

* Add MAKEFILE_TOOLS_TESTING to the test environment specification.

* Add main entrypoint in tests runner. Revert to good baselines.

* Disable workspace trust for tests. Fix test repo root folder.

* Disable extensions from installing to ensure more output determinism in various conditions. Fix path for test repro.

* Fake winsdk. Update baseline with \n.

* Some final guards against \r\n on baseline and runtime log side.

* Small CI refactoring.

Co-authored-by: Bob Brown <bobbrow@users.noreply.github.com>
2021-06-30 16:14:13 -07:00
Andreea Isac d1697e0e4c
Dev/andris/makefile tools/pr107 compile commands (#177)
* Add compile_commands.json generator

* Move compile commands parsing into parseCustomConfigProvider

* Support a non clean configuration

* Save the compilation database in the cache

* Remove redundant setting and change slightly where compile_commands is calculated.

* Implement PR feedback.

Co-authored-by: Giulio Girardi <giulio.girardi@protechgroup.it>
2021-06-09 01:06:25 -07:00
Andreea Isac 2df46a4a15
Dev/andris/makefile tools/release0.2.2 (#172)
* Release 0.2.2

* Fix typo
2021-05-12 13:41:36 -07:00
Avraham Shukron 5c51b5b377
Fix #170 (#171)
Wrongfully-positioned single quote broke the pre-configure script on Linux.
Put the single quote back where it should be.
2021-05-12 12:15:43 -07:00
Andreea Isac 43e6291186
Hide comma and equal separators when running the script on windows and restore them once we have the output. (#167) 2021-05-11 11:26:26 -07:00
Andreea Isac 8b126b500c
CHANGELOG 0.2.1 (#163)
* CHANGELOG 0.2.1

* Typo.
2021-05-05 16:25:28 -07:00
Andreea Isac ea19f38090
Add new makeDirectory setting, improve makefile detection logic and fix words in docs. (#161) 2021-05-05 13:10:41 -07:00
Andreea Isac 13320c8df4
Launch targets/config bug fixes. Invoke make separately for clean. (#158)
* Launch targets/config bug fixes. Invoke make separately for clean.

* PR feedback.
2021-05-04 11:55:35 -07:00
Andreea Isac 4453266b74
Force english when running executables or scripts that need to parse english words from the execution output. (#159) 2021-05-04 11:04:14 -07:00
Andreea Isac 3cbcf7dbdd
More quoting. Telemetry and defaults. Exe extension for make on windows. (#154) 2021-04-28 15:59:47 -07:00
Andreea Isac a157d1aae0
Various small fixes for 0.2.1 (#150)
* Various small fixes for 0.2.1

* Some tuning of showing/hiding output channel.
2021-04-28 11:01:46 -07:00
Andreea Isac 4a02fb0df3
compilerArgs entries fix (#143)
* Send different compilerArgs entries for bundled switches or pairs of switch-value if separated by space as a shell would see them

* Use a shell script to parse compiler arguments that are sent to CppTools.

* Fix running script with space in path. Use vscode.workspace.workspaceFolders instead of vscode.workspace.rootPath
2021-04-28 01:17:29 -07:00
Sean McManus bc710c5fff
Update minimist. (#139) 2021-03-08 15:37:30 -08:00
Bob Brown 5914a18ae5
update string used for telemetry (#137) 2021-03-02 08:12:37 -08:00
Andreea Isac aba2e22e6d
Update readme. Add settings doc. (#113)
* Update readme. Add settings doc.

* Simplify the settings doc

* Remove mention of variable substitution until we finalize our plans for that
2021-02-17 13:09:22 -08:00
Bob Brown 0617c0c823
update package version and readme (#112) 2021-02-17 09:29:33 -08:00
Julia Reid 72ecf0422b
Merge pull request #109 from microsoft/docs
Add additional documentation to the repo
2021-02-16 23:20:28 -08:00
Julia Reid da34c05c6c updating troubleshooting doc 2021-02-16 23:18:45 -08:00
Julia Reid 27ce5a8861 fixing table 2021-02-16 23:14:20 -08:00
Julia Reid 232e8145f0 fixing merge conflict 2021-02-16 23:11:31 -08:00
Julia Reid 3a0dd188ab updated markdown table 2021-02-16 23:05:59 -08:00
Andreea Isac 66197e93c7
Activate on launch commands. (#108) 2021-02-12 13:31:43 -08:00
Andreea Isac f896d963b5
Version bump and changelog updates for release 0.1.4 (#103)
* Release 0.1.4

* Fix type in name of new launch commands
2021-02-10 20:17:49 -08:00
Andreea Isac 69fe916cd0
Launch commands renaming and ability to trigger build from launch.json (#102)
* Launch commands renaming and ability to trigger build from launch.json

* Fix spelling

* Don't use commands in the temporary launch.json
2021-02-10 20:17:21 -08:00
Julia Reid 2c3b2177a4
Update repositories.md 2021-02-10 13:04:05 -08:00
Julia Reid 0a89b8a551 adding documentation 2021-02-10 12:59:39 -08:00