From 2fd842cac65e09cdecb691ade89f36f74503f771 Mon Sep 17 00:00:00 2001 From: rajeev Date: Tue, 16 Jul 2024 19:13:29 +0530 Subject: [PATCH 1/4] Updating chnagelog and version number --- CHANGELOG.md | 13 ++++++++++++- package.json | 4 ++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d6d01d..a0a2ebf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,16 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how Security -- in case of vulnerabilities. --> +## [0.16.4] + +### Changed +- "TSP: Open Terminal" command has been renamed to "TSP: Connect" +- "Open Terminal" should just open the terminal, not just in the command palette (TSP-464) + +### Fixed + +- **tsp-toolkit-kic-cli:** Renamed update to upgrade for firmware upgrade in CLI arguments (TSP-741) + ## [0.16.1] ### Fixed @@ -113,7 +123,8 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how - Feature to retrieve TSP-Link network details -[Unreleased]: https://github.com/tektronix/tsp-toolkit/compare/v0.16.1...HEAD +[Unreleased]: https://github.com/tektronix/tsp-toolkit/compare/v0.16.4...HEAD +[0.16.4]: https://github.com/tektronix/tsp-toolkit/releases/tag/v0.16.4 [0.16.1]: https://github.com/tektronix/tsp-toolkit/releases/tag/v0.16.1 [0.15.3]: https://github.com/tektronix/tsp-toolkit/releases/tag/v0.15.3 [0.15.2]: https://github.com/tektronix/tsp-toolkit/releases/tag/v0.15.2 diff --git a/package.json b/package.json index 9143cee..0ffdd72 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "publisher": "Tektronix", "displayName": "[Beta] Keithley TSP Toolkit", "description": "VSCode extension for Keithley Instruments' Test Script Processor", - "version": "0.16.1", + "version": "0.16.4", "icon": "./resources/TSP_Toolkit_128x128.png", "galleryBanner": { "color": "#EEEEEE", @@ -325,7 +325,7 @@ }, "dependencies": { "@tektronix/keithley_instrument_libraries": "0.16.0", - "@tektronix/kic-cli": "0.16.1", + "@tektronix/kic-cli": "0.16.2-0", "@tektronix/web-help-documents": "0.15.3", "@types/cheerio": "^0.22.35", "cheerio": "^1.0.0-rc.12", From 6b51f10586160aca6591571ccf795e50d1280486 Mon Sep 17 00:00:00 2001 From: rajeev Date: Tue, 16 Jul 2024 19:32:32 +0530 Subject: [PATCH 2/4] Update package-lock.josn file --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8e7baf1..95fbe79 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,17 @@ { "name": "tsp-toolkit", - "version": "0.16.1", + "version": "0.16.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "tsp-toolkit", - "version": "0.16.1", + "version": "0.16.4", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { "@tektronix/keithley_instrument_libraries": "0.16.0", - "@tektronix/kic-cli": "0.16.1", + "@tektronix/kic-cli": "0.16.2-0", "@tektronix/web-help-documents": "0.15.3", "@types/cheerio": "^0.22.35", "cheerio": "^1.0.0-rc.12", @@ -1078,9 +1078,9 @@ "integrity": "sha512-Q9KBTHtLRTqLy5rzygqa722JmFm3dpY55X6UGml3U2Wo+cwcKycCtcT8C/2qtHLxldbT598h8tZ/8rsUhXgK8g==" }, "node_modules/@tektronix/kic-cli": { - "version": "0.16.1", - "resolved": "https://npm.pkg.github.com/download/@tektronix/kic-cli/0.16.1/59775da152130d049dfe4b381533133d4ff10a66", - "integrity": "sha512-S/PWGum6heH/+vRqTT+70tvhxZ1DUdUhjsG2oPxfR8TH8Oj8dt2Jhf7eqLjmnyQhGWBosjqf+EcJz0ty2EpfFw==", + "version": "0.16.2-0", + "resolved": "https://npm.pkg.github.com/download/@tektronix/kic-cli/0.16.2-0/da72054c6e89de08180e6b81d6fc9ddcbdd2e154", + "integrity": "sha512-/1hApBgQTOzvGm8hRl5GEbz/KatGu014o8oxIux1lDdNnhVo3yO/+r1k0Rn4tx9esoQuyhVubbkSHfbQEPARtw==", "bin": { "linux-kic": "bin/kic", "linux-kic-discover": "bin/kic-discover", From e07ac3b481d1b2e241baaa2807dbdcd84acdfeb1 Mon Sep 17 00:00:00 2001 From: rajeev Date: Wed, 17 Jul 2024 15:15:19 +0530 Subject: [PATCH 3/4] fixing issue TSP-598 --- src/communicationmanager.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/communicationmanager.ts b/src/communicationmanager.ts index 45eb40c..783c4d5 100644 --- a/src/communicationmanager.ts +++ b/src/communicationmanager.ts @@ -54,9 +54,8 @@ export class CommunicationManager { // Sends script to terminal private async sendScript(_e: unknown) { const uriObject = _e as vscode.Uri - const filePath = '"' + uriObject.fsPath + '"' - const text = ".script " + filePath - await this.handleSendTextToTerminal(text).then(() => { + const filePath = `.script "${uriObject.fsPath}"` + await this.handleSendTextToTerminal(filePath).then(() => { void vscode.window.showInformationMessage( "Sending script to terminal" ) @@ -70,7 +69,7 @@ export class CommunicationManager { */ private sendScriptToAllInstruments(_e: unknown) { const uriObject = _e as vscode.Uri - const filePath = `.script ${uriObject.fsPath}` + const filePath = `.script "${uriObject.fsPath}"` const kicTerminals = vscode.window.terminals.filter((t) => { const to = t.creationOptions as vscode.TerminalOptions return to?.shellPath?.toString() === EXECUTABLE From 98c8a2517725eb9109ca0b3e398df7a81d063267 Mon Sep 17 00:00:00 2001 From: rajeev Date: Wed, 17 Jul 2024 15:29:39 +0530 Subject: [PATCH 4/4] Updating chnagelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a0a2ebf..bd90d0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,7 +23,7 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how - "Open Terminal" should just open the terminal, not just in the command palette (TSP-464) ### Fixed - +- Send script to all terminals is failing(TSP-598) - **tsp-toolkit-kic-cli:** Renamed update to upgrade for firmware upgrade in CLI arguments (TSP-741) ## [0.16.1]