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

290 Коммитов

Автор SHA1 Сообщение Дата
Andreea Isac 92143cfaab
New settings: build before launch, save before debug, clear output channel (#91)
* New settings: build before launch, save before debug, clear output channel.

* Remove unused import

* PR feedback
2021-02-04 09:29:27 -08:00
Andreea Isac fbf27b7fbc
Fix path inconsistencies for MinGW. Fix backtick parser bug related to source file paths. (#86)
* Fix path inconsistencies for MinGW. Fix backtick parser bug related to source file paths.

* Bug fixes for MinGW, mostly path formatting related.

* Delete early draft docs added by mistake.

* Fix the new async-ness caused by using cygpath. Other fixes.

* Change scheduleAsyncTask util helper name
2021-02-03 04:32:11 -08:00
Andreea Isac 2a07be07d5
Changelog and version bump for 0.1.3 (#83) 2021-01-15 10:25:27 -08:00
Andreea Isac 69fda3f8c2
Show output channel at various important times as opposed to with every message. Compilation script changes. (#82) 2021-01-15 09:13:31 -08:00
Andreea Isac e49429baf9
Dev/andris/makefile tools/testing (#79)
* Various fixes wave 1.

* Recognize libtool output

* Fix preconfigure error reporting. Some dollar exclusions.

* More fixes regarding the launch targets.

* Tuning launch targets parsing for libtool

* Add setting to ignore directory/folder change commands

* Fix launch target binary parsing bug.

* Include ccache in the compilers/linkers list

* Makefile output channel is annoyingly shown during long and output creating operations even when one wants to look at other tabs

* One more wave of bug fixes.

* Parser fix for various quoting scenarios of defines.

* Fixes: activate on GNUMakefile. Change ignoreDirectory commands default. Fix wrong message text. Targets parsing bug.

* Revert adding -C automatically for -f. To be revisited.

* More fixes

* PR feedback
2021-01-15 03:21:04 -08:00
Andreea Isac 123c6b94d4
Compliance work (#77)
* Bug fixes for 0.1.2

* Compiler arguments regexp fixes regarding dash

* Don't send MF switch as compiler argument to CppTools

* Compliance

* Text corrections. New icons. More copyright headers in ts files.
2020-12-03 13:19:38 -08:00
Bob Brown 3e5173a7fa
Add 3rd party notices (#78) 2020-12-03 11:03:46 -08:00
Andreea Isac b8d81c958b
Update changelog for 0.1.2 (#76) 2020-11-20 09:28:18 -08:00
Andreea Isac 58abe11ee3
Fix squiggles caused by -MF switch and of comma separated sub-switches (#75)
* Fix squiggles caused by -MF switch and of comma separated sub-switches

* Fix more cases of unnecessary quotes removals
2020-11-20 08:37:02 -08:00
Andreea Isac d04162fe9e
Bug fixes for 0.1.2 (#72) 2020-11-18 15:48:11 -08:00
Bob Brown d75bc12fe8
Try another action change 2020-11-17 08:09:32 -08:00
Bob Brown 77220b556e
Update node step in the Build VSIX action 2020-11-17 08:01:21 -08:00
Andreea Isac ed83b47142
Support version and cross tools suffixes-prefixes for compiler names (#70)
* Support version and cross tools suffixes-prefixes for compiler names

* Workaround settings for compiler parsing bugs. Fix bugs regarding paths of files residing in output folder. Other fixes.

* Fix copy paste typo
2020-11-16 11:00:43 -08:00
Andreea Isac 5800313618
Add ability to list only phony makefile targets.
Add ability to list only phony makefile targets. Fix crash when running preconfigure script. Don't parse lines that contain dollar. (#69)
2020-11-16 04:29:38 -08:00
Bob Brown b80d35427e
Update README.md 2020-09-30 13:10:32 -07:00
Bob Brown 4093c4a878
Update README.md 2020-09-30 13:00:10 -07:00
Bob Brown (DEVDIV) 2c7a7de609 Merge branch 'master' of https://github.com/microsoft/vscode-makefile-tools 2020-09-29 15:21:57 -07:00
Bob Brown (DEVDIV) e497e2ea2b Update version and changelog 2020-09-29 15:21:50 -07:00
Andreea Isac 65a7a01428
Better logging and telemetry of configure subphases (#56) 2020-09-29 15:16:55 -07:00
Andreea Isac 3d67eb7894
Caching improvement. Partial coverage of work item 50 (#54)
* Caching improvement. Partial coverage of work item 50

* Fix bugs. Implement PR feedback. Improve build targets analysis.

* More loading from cache and various fixes

* Fix initial load from cache so that file configurations are available at the earliest

* More configuration caching fixes

* Dump various extension output files in a settable folder

* More bug fixes for extension output folder
2020-09-28 17:12:24 -07:00
Bob Brown 122fc847bf
Removing unneeded files and cleaning up the packaging recipe (#55) 2020-09-18 01:28:06 -07:00
Bob Brown 0ceb0ab133
Convert another case of new Promise to the async/await pattern (#48)
* Convert another case of new Promise to the async/await pattern

* More async patterns applied

* Define preprocess dryrun output return type explicitly

Co-authored-by: Andreea Isac <48239328+andreeis@users.noreply.github.com>
Co-authored-by: andris <andris@microsoft.com>
2020-09-16 03:05:00 -07:00
Bob Brown (DEVDIV) f981174826 Remove boilerplate from README 2020-09-11 15:27:40 -07:00
Andreea Isac 014448f9b0
Dev/andris/makefile tools/GitHub issues (#49)
* Fix GitHub 43 - dot dot dot in popups

* Fix for GitHub issue 44. Show the output channel.

* Fixes GitHub issues 45 and 46. Plus regex correction from a previous commit about entering directory quoting.

* Fix complicated regexp for multiple switches. Don't give focus to logger when messaging.

* Optimize the dryrun preprocess phase

* Minor bug in launch target arguments.

* Send compilerArgs to CppTools

* Fix one case of argument parsing.
2020-09-11 12:36:15 -07:00
Andreea Isac edc3bd1f01
Use --print-data-base only when parsing for targets. Other bug fixes. (#41)
* Use print-data-base only for targets parsing. Other fixes.

* Fix using of global state (instead of workspace state) by mistake.

* Removing line with $ causes some files to not be analyzed. Remove $( instead.

* Parsing for targets doesn't need --always-make, --keep-going and --print-directory.

* Use square brackets instead of paranthesis in regexp
2020-09-08 00:51:25 -07:00
Bob Brown 92a6651b89
fixing a few async patterns (#42) 2020-09-08 00:11:05 -07:00
Bob Brown b652691fd9
Fixing a few bugs encountered while testing (#39)
* Fixing a few bugs encountered while testing

* Fix the run button size
2020-09-04 01:41:32 -07:00
Bob Brown 7dddf7b885
Update main.yml 2020-09-03 16:33:30 -07:00
Bob Brown 45e9d79076
Update main.yml 2020-09-03 16:30:12 -07:00
Bob Brown c2fdef18bd
Create main.yml 2020-09-03 16:21:23 -07:00
Andreea Isac aeab2e24df
UI View and some bug fixes. (#38)
* UI View and some bug fixes.

* Added tree.ts missed by mistake from the previous commit

* Small followup.
2020-09-03 09:47:23 -07:00
Andreea Isac 36cfef01bc
Make parsing async. Cancel long operations. Other fixes (configure, telemetry). (#35)
* Fixes (configure, telemetry).

* Incomplete draft: bugs about cancelling configure during the parsing phases and not during make process

* More cancel work

* More chunks and async-ness for better cancel popup functionality

* Implement PR feedback

* Cleaner parser tasks scheduling. Extra bug fixes.
2020-09-03 09:35:09 -07:00
Bob Brown 7f2255f8fd
Fix colors for SVG files (#37)
* Fix colors for SVG files

* Move viewcontainer out of light/dark
2020-09-01 11:44:02 -07:00
Bob Brown 7ed9f38dd9
Adding resources (#36) 2020-08-30 22:33:05 -07:00
Andreea Isac c62e0ee29e
Initial refactoring around configuring IntelliSense, build/launch targets (#34)
* Initial refactoring around configuring IntelliSense, build/launch targets

* Warn about targets operations when the project is not configured or its configuration state is not up to date

* fix typo

* Fix various issues, mostly around waiting properly for process spawns.

* Various changes. Will update info later.

* Various fixes and implement cancel for build.

* Cancellable configuring and preconfiguring.

* PR feedback. More bug fixes found while testing. Small telemetry functionality.

* More telemetry (commands and debug). Various fixes regarding configuring workflows and some sync-->async changes.

* More telemetry and fixes for configure workflows.

* Fix issues from the previous commits.

* Implement PR feedback, more casing fixes for pre configure, removed unnecessary ignore settings changed

* More PR feedback and various small bug fixes.

* Apply environment after pre-configure

* Settings telemetry

* PR feedback. Added --print-directory useful switch for a more complete dry-run output. Log telemetry when a setting is undefined.

* Enable real telemetry and log about it only for Debug level
2020-08-17 09:29:14 -07:00
Bob Brown (DEVDIV) f23f3fd751 Icon for view container 2020-08-13 09:07:48 -07:00
Andreea Isac b6bce4826f
Upgrade CppTools dependency. More thorough deduction and validation for C/C++ standard and IntelliSense mode (#33)
* Upgrade to dependency CppTools 4.0.1. Match CMake Tools in deducing and validating c/c++ standard and IntelliSense mode.

* PR feedback. Fix CppTools integration broken by using file path instead of uri.
2020-07-29 00:31:13 -07:00
Andreea Isac 71d4a87064
Various changes (#18)
* Numerous renames. Move make_configurations.json into makefile.makefile_configurations settings.

* Missed the activation change from anywhere in the workspace folder to root only.

* Corrected some makefile.configurations namings

* Fix typos

* More bug fixes and renames.

* Missed two files in the previous commit

* One more round of code review feedback

* Add makefile.dryRunSwitches. More package.json polishing.

* Launch configuration refactoring. Move some settings to state. More debugger settings and logic.

* Debugger detection logic change for MacOS and few other tweaks.

* Add dryrun cache support. Add more watchers. Other fixes and improvements.

* Address code review feedback

* Configure support and edits.

* Preconfigure support

* More PR feedback: makefile configurations name validation, more renames, remove redundant file reads for various parsing operations, ...

* Support for clean builds and for special target ALL.
2020-07-23 09:58:22 -07:00
Andreea Isac 07258dab2f Change scope of local variable. 2020-07-23 09:57:26 -07:00
Andreea Isac 6bc7a7c067 Support for clean builds and for special target ALL. 2020-07-23 07:18:01 -07:00
Andreea Isac 292acaaec4 More PR feedback: makefile configurations name validation, more renames, remove redundant file reads for various parsing operations, ... 2020-07-23 06:10:13 -07:00
Andreea Isac 024890fb87 Preconfigure support 2020-07-17 09:33:30 -07:00
Andreea Isac dda1122df2 Configure support and edits. 2020-07-17 05:29:34 -07:00
Andreea Isac a4e0fa0b0c Address code review feedback 2020-07-17 01:58:13 -07:00
Andreea Isac caad7117d5 Add dryrun cache support. Add more watchers. Other fixes and improvements. 2020-07-16 10:01:09 -07:00
Andreea Isac ac5434a411 Debugger detection logic change for MacOS and few other tweaks. 2020-07-16 03:40:45 -07:00
Andreea Isac 5e2906358a Launch configuration refactoring. Move some settings to state. More debugger settings and logic. 2020-07-16 02:52:34 -07:00
Andreea Isac 6c0ca90f49 Add makefile.dryRunSwitches. More package.json polishing. 2020-07-14 09:01:15 -07:00
Andreea Isac 1f0bdb2b77
Merge branch 'master' into dev/andris/ConfigAndBuild1 2020-07-14 04:08:24 -07:00
Andreea Isac 9736ab43d2 One more round of code review feedback 2020-07-14 04:05:58 -07:00