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

86 Коммитов

Автор SHA1 Сообщение Дата
Garrett Campbell f5b805ed6d
update signing, update to node 20, @vscode/vsce (#647)
* update signing, update to node 20, @vscode/vsce

* fix signvsix and switch cp to copy

* update changelog

* fix typo
2024-09-11 13:16:33 -04:00
dependabot[bot] b477230b20
Bump webpack from 5.90.1 to 5.94.0 (#642)
Bumps [webpack](https://github.com/webpack/webpack) from 5.90.1 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.90.1...v5.94.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-09 12:57:02 -04:00
Garrett Campbell a7976a6333
update telemetry API to latest version. (#607) 2024-06-21 16:57:53 -04:00
Garrett Campbell 867d0f243e
add description (#602) 2024-06-21 16:14:41 -04:00
Garrett Campbell 8eb7758535
Remove dry-run popup, replace with configureOnOpen questions (#573)
* update default to null for configureOnOpen

* haven't tested, but pop-up code

* implement working UI

* add telemetry

* remove dry-run popup

* slight update string

* update question

* update questions to ask about intellisense

* remove TODO
2024-03-29 09:17:08 -04:00
Garrett Campbell 889d4fff56
update formatting (#564)
* update formatting

* add extensions.json
2024-03-05 12:56:31 -05:00
Garrett Campbell 2958813260
Update to sign files (#559)
* add signing

* fix node modules directory

* install nuget

* fix signing?

* fix pattern

* fix format again

* add parameters

* fix variable

* fix parens

* fix yml

* attempt fix

* switch to webpack

* fix webpacking, sign files before package and sign vsix

* fix webpacking, still investigating testing

* fix vscode ignore

* working on getting tests passing

* add tasks

* install dependencies

* switch first test to calling commands

* fix test

* remove async

* try without reset

* add setup timeout

* add the resetState call in the setup

* change when reset state is available

* fix when clauses to account for testing

* try adding a step in pipeline

* more fixes?

* fix

* fix test 1

* linux test 1, start on test 2

* remove direct caller from test 2

* uncomment and translate one more test

* more testing converting

* pass argument

* fix configuration

* add another test

* fix extension

* try all tests

* reset state of test

* make sure the extension log is set so that we can test

* uncomment other tests

* fix var expansion test

* update out file

* add back preparing build target to test getting commandline

* Add comment about in the future, improving test infrastructure

* combine into this PR, fixing this command visibility

* revert package.json version
2024-02-21 13:15:21 -05:00
Garrett Campbell b4b28db127
update test-electron to fix tests (#542) 2023-12-14 09:09:22 -05:00
Garrett Campbell 4e9fa48a83
Fix racy logic with script files (#536)
* fix scripts by shipping the parseCompilerArgs scripts and ensuring to create (and delete) unique prePostConfigure wrapper scripts

* remove test logging statement

* fix nit

* fix executable-ness

* fix order
2023-12-06 16:05:06 -05:00
Garrett Campbell 01305ea883
there was a bug where the first argument wasn't adding a space in front (#530)
* there was a bug where the first argument wasn't adding a space in front

* update changelog

* attempt testing fix

* another attempt
2023-11-20 15:19:00 -05:00
Andreea Isac 380a5e0b0d
Honor workspace trust in VSCode. Also warn about possible code being executed under --dry-run first time it is invoked. (#514)
* Honor workspace trust in VSCode. Also warn about possible code being executed under --dry-run first time it is invoked.

* Fix spacing and missed localize request.
2023-10-23 00:49:36 -07:00
Garrett Campbell 05d3731cd1
Add pre/post configure script arguments globally and per configuration (#495)
* initial code for pre/post-configure script arguments

* fix typo in troubleshooting.md

* add makefile.configurations[].preConfigureArgs and makefile.configurations[].postConfigureArgs

* fix typo

* only add a space after {scriptFile} if there are args

* fix

* slight rename
2023-10-04 07:20:50 -04:00
Garrett Campbell 7079887c5c
Implement a post configure script (sibling to pre-configure script) (#484)
* Implement initial infrastructure.

No testing has been done. This should add entry points, settings, and
stubs.

* initial implementation of calling postConfigureScript. Refactoring to share code coming

* refactor in order to share more code between pre and post configure scripts

* remove unused import

* fix typo

* add changelog update

* slight changelog update

* fix unused import and missing %

* fix typo

* add post-configure to tests
2023-07-25 09:34:48 -04:00
Andreea Isac 8c9d8e95fc
Dev/andris/makefile tools/fixes (#491)
* Various fixes, including avoid a quickPick be triggered for launchTargets during tests

* Update linux baselines

* Fix typo about openBuildLog File versus Setting

* Remove stale comment
2023-07-24 10:54:08 -07:00
Garrett Campbell 8bb660b779
Improve UI options (#462)
* save progress

* add ui controls

* update UI if we try to open the file and it's not open

* improve and set icons

* reveal the file in explorer view as well, and open workspace settings instead
2023-04-25 15:46:11 -04:00
Andreea Isac f8a6a68148
Version bump and changelog update for 0.7.0. (#458) 2023-04-18 11:23:05 -07:00
Andreea Isac 7b3cc9f1d0
Variable expansion - initial support (#457)
* Variable expansion - initial support

* Update baselines and more bug fixes.

* One more baseline update, forgot full path to personal machine enlistment

* More baseline updates for windows

* Fix persistance issue with launch configurations and also make sure we don't override settings in workspace with expanded values

* Fix more object/arrays persistance bugs. Implement possibility to escape varexp syntax.
2023-04-14 14:06:38 -07:00
Garrett Campbell 1a481eb839
fix xml2js issue (#454) 2023-04-11 10:40:55 -04:00
Garrett Campbell 5b4d318518
Ensure UI is able to display correct not found versus found status (#445)
* ensure that we can find exe's for the UI

* possible fix

* typing fix
2023-03-27 14:14:52 -04:00
Garrett Campbell 86d8846984
Dependabot fixes (#438)
* fix some dependabot issues and upgrade typescript

* update types/mocha

* revert tsconfig node_modules change

* switch to other
2023-03-21 12:51:20 -04:00
Andreea Isac 5a47164b4b
Report not found stuff in Makefile Tools UI (#432)
* Report not found stuff in Makefile Tools UI

* Fix some spacing and refactor some Makefile Tools UI tree nodes updates
2023-03-17 13:11:46 -07:00
Garrett Campbell 46e26ae9fa add support for c++23 2023-03-17 15:25:13 -04:00
Andreea Isac b541df3394
Release 0.6.0 (#355) 2022-08-26 08:59:00 -07:00
Bob Brown 73c008ed5f
Do not write to the user's workspace by default (#354)
* Do not write to the user's workspace by default

* keep the setting for the test
2022-08-25 11:11:06 -07:00
Sean McManus 8f412e6b75
Update telemetry and dependencies. (#338) 2022-06-28 13:17:51 -07:00
Andreea Isac 88e97e451f
Version bump and update changelog for release 0.5 (#314) 2022-04-28 16:29:09 -07:00
jdmchp eef3c42611
Proposed fix for microsoft/vscode-makefile-tools/issues/290 (#291)
* Proposed fix for microsoft/vscode-makefile-tools/issues/290

* Adding enablement for makefile.outline.setLaunchConfiguration. Enablement does not seem to work. Or I am doing something wrong

* Use the single property makefile.panel.visibility to cover all optional features.
Use OptionalFeatures to handle all optional features in a single place.
If optional feature is controlled via "enablement", then the featute can be
controlled via package.json changes and one change to the optionalFeatures object.
Avoid ѕetting the dirty flag for the configuration when a change of properties is detected.
Minimize operations when changing only flags that control run/debug local features

* Use an object (not an array) to represent optional features. Renamed makefile.panel.visibiluty to makefile.optionalFeatures

* Went back to makefile.panel.visibility. Adjusted types to match the name

* Fix linter issues, one rename, bug in settings change telemetry and bug related to restoring defaults for optional features.

Co-authored-by: Andreea Isac <andris@microsoft.com>
2022-04-25 13:35:23 -07:00
Andreea Isac 5278d9f351
Version and changelog updates for 0.4.0 (#296) 2022-03-30 10:01:40 -07:00
Colen Garoutte-Carson 8e97ba22ff
Fix issue with missing translations (#288) 2022-02-28 09:54:19 -08:00
Andreea Isac 275244a981
Fix prepublish script with production translations and correct id typo in package.json. (#287) 2022-02-24 14:05:35 -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 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 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
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
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
Sean McManus bc710c5fff
Update minimist. (#139) 2021-03-08 15:37:30 -08:00
Bob Brown 0617c0c823
update package version and readme (#112) 2021-02-17 09:29:33 -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