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

1738 Коммитов

Автор SHA1 Сообщение Дата
Bob Brown f128330251
remove stale assets and exclude non-essential items from the vsix package (#758) 2019-09-24 21:50:39 -07:00
Colen Garoutte-Carson efe74345bb
Merge pull request #757 from microsoft/coleng/localization2 2019-09-24 10:55:38 -07:00
Colen Garoutte-Carson 9a4805af5e Correct loc key spelling 2019-09-24 10:38:31 -07:00
Colen Garoutte-Carson e4d536721b Address PR feedback 2019-09-24 10:30:16 -07:00
Colen Garoutte-Carson 147f6ddef1 Update translations_auto_pr.js with fixes from cpptools 2019-09-23 18:48:33 -07:00
Colen Garoutte-Carson 3f1de00276 Add i18n localized strings 2019-09-23 18:22:03 -07:00
Colen Garoutte-Carson 03bc1c4712 Merge branch 'develop' of https://github.com/microsoft/vscode-cmake-tools into coleng/localization2 2019-09-23 17:47:52 -07:00
Sean McManus f4865bedc6 Fix diff and marked dependencies. (#780) 2019-09-20 15:56:59 -07:00
Sean McManus 74e2e89f85 Add component governance. (#779) 2019-09-19 15:00:31 -07:00
Bob Brown 851248d4a1
Add references back to the 'getting started' page (#778) 2019-09-19 12:16:15 -07:00
xisui-MSFT 6a8126f14c Change rollbar to a logger, and add telemetries for configuring and building (#768)
* Changed rollbar to a logger, and added telemetry for configure and build

* Resolving comments
2019-09-19 12:14:35 -07:00
Sam Freed e440fc5414
Fix PoliCheck issue 2019-09-16 16:26:59 -07:00
Björn Sauer 55c4177e3c Adapt cpptools integration to API verison 3 (#777) 2019-09-16 11:04:05 -07:00
KoeMai 125718a0cf Refactor and extend CMS-server driver test (#776)
* Fix use of correct CMAKE bin

Some tests have used the OS installed version.
This may not be the expected CMake version.

* Add new tests and stabilize tests

- Add test to check correct behavior of configuration fail
- Add test to check throwing of not found cmake generator
- Fix behavior of  generator switch
  Now it is a more realistic test case. This test used the same
  driver methods like the pre-configured cmake build folder test.
  This makes it difficult to detect pre-configured build folders. The
  cmake-tool class(extension front-end) use a different way to
  switch the kits on a running cmake driver instance used.
- Fix some smaller problems in tests

* Fix throw  no generator exception

* Remove redundant path infomation in tests
2019-09-16 10:00:53 -07:00
Randy Eckman ac8d873a91 Fixed PATH clobbering by bad kit file env (#760) 2019-09-13 16:01:31 -07:00
KoeMai bf4d15c562 Improve stability of CMake generator selection (#747)
* Replaced pickGenerator by variable for generator

The cms client normally started a pick call in the UI.
This modification moves the questions infront of the start.
This removes the required callback from cms client.

* Move selection of prefered generator

The prefered generators are extracted by the cmake drive from configuration,
kit files or settings. This modification moves the aggregation of different
prefered generator out of the driver into the cmake tools.
This allows to defines exact preferred generators for testing (no hidden
dependency). The driver only checks the prefered generator list,
if there is more then one then the first existing generator is selected.

- Fix wrong preferred generator definition in test
- Extend debug information

* Fix problem with invalid preferred generator

* Fix missing destroying of driver on kit switch error

The error of invalid generators/kits is a parallel event based dead of
the backend driver (Cmake-server client).

This modification moves the generator selection and test from the
backend driver part to the UI accessable part of the driver.
This makes exception visible for Promise and exception handling.

* Stabilize tests and bugfix wrong setKit() behavior

- Replace driver creation by only update existing driver if it is present
- Clear active kit if it is broken
- Extend test for linux

* Change kitname storing only if it works successful

* Fix test and extend test reporting

* Fix spelling
2019-09-12 15:17:06 -07:00
Michelle Matias c4850b8924 add notice (#762) 2019-09-11 13:22:29 -07:00
Colen Garoutte-Carson 4a75a49de4 Address PR feedback 2019-09-06 17:50:07 -07:00
Colen Garoutte-Carson 00d977ee78 Address PR feedback 2019-09-06 10:33:34 -07:00
Colen Garoutte-Carson 923e3f82dc Add missing package.nls.json 2019-09-05 15:30:41 -07:00
Colen Garoutte-Carson f215e313b3 Trying to get CI build/tests to pass 2019-09-05 15:25:35 -07:00
Colen Garoutte-Carson 253475da92 Update .travis.yml to use newer version 2019-09-05 14:59:45 -07:00
Colen Garoutte-Carson 9cc53d4b61 Address issue with webpack and module-alias package 2019-09-05 14:53:33 -07:00
Colen Garoutte-Carson 8ce287bd32 Update package.json to point to webpack output 2019-09-05 13:55:55 -07:00
Colen Garoutte-Carson 880f830405 Add calls to localize 2019-09-05 13:48:23 -07:00
Colen Garoutte-Carson 8728b7e295 localization plumbing 2019-09-04 15:36:10 -07:00
Bob Brown 2670472e46
Fix kits to allow for multiple VS SKUs+Preview in Kits (#719) 2019-08-30 21:12:03 -07:00
Bob Brown e1987c61ac
configure standard by language (#730) 2019-08-30 16:48:49 -07:00
Fabiano Kovalski 566f7ed525 Only replace last 'gcc' with 'gdb' when searching for gdb executable. (#736) 2019-08-30 16:26:14 -07:00
KoeMai 6d04ebd7d1 Restructuring of the cmake driver (#707)
* Replace workspace path read from vscode to constructor variable

- The workspace is read from vscode, this makes it hard to refactor
  cms-driver to test compiler integration on a lower level.
  The workspace needed to be set by a higher level, to make low level driver
  independent of vscode ui and data structures.

- Make non public function protected.

* Replaced pickGenerator by variable for generator

The cms client normally started a pick call in the UI.
This modification moves the questions infront of the start.
This removes the required callback from cms client.

* Clean up CMake Build Start Problem UI interaction

The CMake Driver has many dependencies to UI. This
modification moves the dependencies from CMakeDriver into
cmake-tools. This allows to test the driver without UI interaction.

- Move quickstart and missing source dir warning
- Remove not required configuration setting `autoRestartBuild`
  I was not able to bring the driver into a state where two
  builds run in parallel. The `CMakePreconditionProblemSolver`
  never signals `busy` CMake.
- Change visability of some do methods in cms-driver.

* Fix working path getter

* Fix parallel clean and configure on driver level

The parallel execution of cmake configure is allowed by the driver. This modification will
forbid a parallel configuration.

* Move selection of prefered generator

The prefered generators are extracted by the cmake drive from configuration,
kit files or settings. This modification moves the aggregation of different
prefered generator out of the driver into the cmake tools.
This allows to defines exact preferred generators for testing (no hidden
dependency). The driver only checks the prefered generator list,
if there is more then one then the first existing generator is selected.

- Fix wrong preferred generator definition in test
- Extend debug information

* Remove toolset dependency in cms-client

The CMS Server client had a dependency to configuration reader to
read the toolset. For my this is a inconsistent information. Only
the toolset was from config file but not the platform.

* Add cms driver test for linux

* Fix problem with invalid preferred generator

* Add tests for reconfiguration and generator switch

* Harmonize cleanConfigure with configure in driver.

* Remove Workspace state dependency from driver

This modification reduces the dependency of the cmake driver layer to the  workspace context. This modification allows to setup low level CMake driver tests, so that the driver code could be tested with different cmake versions.
The UI parts can then tested with a driver mock, or by system tests.

- Replace DirectoryContext by ConfigurationReader
- Moved access to DirectoryContext state by setter funcions (setVarianOptions). This allows to set variant in a consistent way.
- Reduces fakes from tests

* Clean up and fix variant naming

* Extract cmake flags generation out of configure method for readability

* Stabilize tests and reformat code

* Set timeout for teardown of driver

* Fix some errors

* Restructure drivers

* Move cmake server client driver part

* Added tests and fix some review issues

- Rename typos and style issues
- Add test for no parallel build
- Add variable to monitor running build task in driver
- Add new precondion value to create message on already running task

* Fix missing break
2019-08-30 14:22:01 -07:00
Bob Brown e57858c660
Remove usage of deprecated API (#753) 2019-08-29 13:44:09 -07:00
Bob Brown b1c361a181
activate the extension if CMakeLists.txt exists in subfolders (#716) 2019-08-28 20:51:04 -07:00
Darrell 10cee0f780 Fix small typo in cmake.outputLogEncoding setting's description (#746) 2019-08-22 17:16:33 -07:00
Ed Chen 3ec645bcd7 Recalculate total for ctest for every run (#737)
Total for ctest shouldn't be based off total of tests parsed but rather how many tests are run as you can use ctest args to limit how many tests are fun. For example, if I have 100 tests, but I run my ctest for only one test, it shouldn't show the status as failing and that 1/100 tests passing.
2019-08-15 12:00:55 -07:00
Johan Ahlqvist 192a2ee538 CTest controller is updated on reconfig (related to issue #212). (#635)
src/cmake-tools.ts
==================
* CMakeTools.configure now executes CTestDriver.reloadTests
2019-08-09 22:17:21 -07:00
notskm ad633efee8 Add new commands, cmake.buildType and cmake.buildDirectory (#726)
* Add cmake.buildType and cmake.buildDirectory
2019-08-09 09:04:43 -07:00
Bob Brown 74810b297b
Merge pull request #715 from microsoft/bobbrow/readme
Updates to readme
2019-07-22 15:45:08 -07:00
Bob Brown 535ebba3e6
Merge branch 'develop' into bobbrow/readme 2019-07-22 15:09:29 -07:00
Bob Brown (DEVDIV) 2acbeb43b8 Updates to readme 2019-07-22 15:08:12 -07:00
Bob Brown f6c8c121e0
Merge pull request #714 from xisui-MSFT/dev/xisui/disable_kit_quickpick_in_tests
Disabled kit quickpick menu in tests and added command setKitByName
2019-07-19 15:53:21 -07:00
Bob Brown 28b7a9a19b
Merge branch 'develop' into dev/xisui/disable_kit_quickpick_in_tests 2019-07-19 15:18:03 -07:00
Xinyu Sui fc154011bf Disabled kit quickpick menu in tests and added command setKitByName 2019-07-19 13:34:30 -07:00
Bob Brown 5dadfdc5fc
Merge pull request #664 from Som1Lse/develop
Expand kit environment variables.
2019-07-18 17:46:01 -07:00
Bob Brown 4aa054576a
Merge branch 'develop' into develop 2019-07-18 15:48:44 -07:00
Bob Brown b3b6adf9f6
Merge pull request #636 from bjosa/feature/cpptools-crosscompile-support
Cross compile support for cpptools integration.
2019-07-18 13:21:56 -07:00
Bob Brown 13f882b861
Merge branch 'develop' into feature/cpptools-crosscompile-support 2019-07-18 12:48:41 -07:00
Sean McManus b7e258ea9d
Update dependencies from yarn audit. (#709) 2019-07-15 16:23:36 -07:00
Bob Brown cd01dce50c
Merge branch 'develop' into feature/cpptools-crosscompile-support 2019-07-15 15:44:11 -07:00
KoeMai 106c05ca54
Merge pull request #686 from andy-held/bugfix/install-target
conditionally add install target
2019-05-29 16:53:01 +02:00
Andreas Franek e7a132109b fixup: make CodeModelProject.hasInstallRule optional 2019-05-23 15:47:10 +02:00