diff --git a/arduino-ide-extension/package.json b/arduino-ide-extension/package.json index 2f68e6f9..28503d9d 100644 --- a/arduino-ide-extension/package.json +++ b/arduino-ide-extension/package.json @@ -1,6 +1,6 @@ { "name": "arduino-ide-extension", - "version": "2.0.0-beta.1", + "version": "2.0.0-beta.2", "description": "An extension for Theia building the Arduino IDE", "license": "MIT", "scripts": { @@ -123,7 +123,7 @@ ], "arduino": { "cli": { - "version": "20210212" + "version": "0.16.0" } } } diff --git a/arduino-ide-extension/src/node/cli-protocol/commands/core_pb.d.ts b/arduino-ide-extension/src/node/cli-protocol/commands/core_pb.d.ts index 5c5cdba0..3f815559 100644 --- a/arduino-ide-extension/src/node/cli-protocol/commands/core_pb.d.ts +++ b/arduino-ide-extension/src/node/cli-protocol/commands/core_pb.d.ts @@ -326,6 +326,9 @@ export class PlatformListReq extends jspb.Message { getUpdatableOnly(): boolean; setUpdatableOnly(value: boolean): PlatformListReq; + getAll(): boolean; + setAll(value: boolean): PlatformListReq; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): PlatformListReq.AsObject; @@ -341,6 +344,7 @@ export namespace PlatformListReq { export type AsObject = { instance?: commands_common_pb.Instance.AsObject, updatableOnly: boolean, + all: boolean, } } @@ -394,6 +398,9 @@ export class Platform extends jspb.Message { setBoardsList(value: Array): Platform; addBoards(value?: Board, index?: number): Board; + getManuallyinstalled(): boolean; + setManuallyinstalled(value: boolean): Platform; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Platform.AsObject; @@ -415,6 +422,7 @@ export namespace Platform { website: string, email: string, boardsList: Array, + manuallyinstalled: boolean, } } diff --git a/arduino-ide-extension/src/node/cli-protocol/commands/core_pb.js b/arduino-ide-extension/src/node/cli-protocol/commands/core_pb.js index 6c11725a..19a9db76 100644 --- a/arduino-ide-extension/src/node/cli-protocol/commands/core_pb.js +++ b/arduino-ide-extension/src/node/cli-protocol/commands/core_pb.js @@ -2398,7 +2398,8 @@ proto.cc.arduino.cli.commands.PlatformListReq.prototype.toObject = function(opt_ proto.cc.arduino.cli.commands.PlatformListReq.toObject = function(includeInstance, msg) { var f, obj = { instance: (f = msg.getInstance()) && commands_common_pb.Instance.toObject(includeInstance, f), - updatableOnly: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) + updatableOnly: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), + all: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -2444,6 +2445,10 @@ proto.cc.arduino.cli.commands.PlatformListReq.deserializeBinaryFromReader = func var value = /** @type {boolean} */ (reader.readBool()); msg.setUpdatableOnly(value); break; + case 3: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setAll(value); + break; default: reader.skipField(); break; @@ -2488,6 +2493,13 @@ proto.cc.arduino.cli.commands.PlatformListReq.serializeBinaryToWriter = function f ); } + f = message.getAll(); + if (f) { + writer.writeBool( + 3, + f + ); + } }; @@ -2546,6 +2558,24 @@ proto.cc.arduino.cli.commands.PlatformListReq.prototype.setUpdatableOnly = funct }; +/** + * optional bool all = 3; + * @return {boolean} + */ +proto.cc.arduino.cli.commands.PlatformListReq.prototype.getAll = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.cc.arduino.cli.commands.PlatformListReq} returns this + */ +proto.cc.arduino.cli.commands.PlatformListReq.prototype.setAll = function(value) { + return jspb.Message.setProto3BooleanField(this, 3, value); +}; + + /** * List of repeated fields within this message type. @@ -2753,7 +2783,8 @@ proto.cc.arduino.cli.commands.Platform.toObject = function(includeInstance, msg) website: jspb.Message.getFieldWithDefault(msg, 6, ""), email: jspb.Message.getFieldWithDefault(msg, 7, ""), boardsList: jspb.Message.toObjectList(msg.getBoardsList(), - proto.cc.arduino.cli.commands.Board.toObject, includeInstance) + proto.cc.arduino.cli.commands.Board.toObject, includeInstance), + manuallyinstalled: jspb.Message.getBooleanFieldWithDefault(msg, 9, false) }; if (includeInstance) { @@ -2823,6 +2854,10 @@ proto.cc.arduino.cli.commands.Platform.deserializeBinaryFromReader = function(ms reader.readMessage(value,proto.cc.arduino.cli.commands.Board.deserializeBinaryFromReader); msg.addBoards(value); break; + case 9: + var value = /** @type {boolean} */ (reader.readBool()); + msg.setManuallyinstalled(value); + break; default: reader.skipField(); break; @@ -2909,6 +2944,13 @@ proto.cc.arduino.cli.commands.Platform.serializeBinaryToWriter = function(messag proto.cc.arduino.cli.commands.Board.serializeBinaryToWriter ); } + f = message.getManuallyinstalled(); + if (f) { + writer.writeBool( + 9, + f + ); + } }; @@ -3076,6 +3118,24 @@ proto.cc.arduino.cli.commands.Platform.prototype.clearBoardsList = function() { }; +/** + * optional bool ManuallyInstalled = 9; + * @return {boolean} + */ +proto.cc.arduino.cli.commands.Platform.prototype.getManuallyinstalled = function() { + return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false)); +}; + + +/** + * @param {boolean} value + * @return {!proto.cc.arduino.cli.commands.Platform} returns this + */ +proto.cc.arduino.cli.commands.Platform.prototype.setManuallyinstalled = function(value) { + return jspb.Message.setProto3BooleanField(this, 9, value); +}; + + diff --git a/browser-app/package.json b/browser-app/package.json index fd88ef89..246cfede 100644 --- a/browser-app/package.json +++ b/browser-app/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "browser-app", - "version": "2.0.0-beta.1", + "version": "2.0.0-beta.2", "license": "MIT", "dependencies": { "@theia/core": "next", @@ -18,7 +18,7 @@ "@theia/process": "next", "@theia/terminal": "next", "@theia/workspace": "next", - "arduino-ide-extension": "2.0.0-beta.1" + "arduino-ide-extension": "2.0.0-beta.2" }, "devDependencies": { "@theia/cli": "next" diff --git a/electron-app/package.json b/electron-app/package.json index 7f1b12b9..40ec1fc4 100644 --- a/electron-app/package.json +++ b/electron-app/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "electron-app", - "version": "2.0.0-beta.1", + "version": "2.0.0-beta.2", "license": "MIT", "main": "src-gen/frontend/electron-main.js", "dependencies": { @@ -20,7 +20,7 @@ "@theia/process": "next", "@theia/terminal": "next", "@theia/workspace": "next", - "arduino-ide-extension": "2.0.0-beta.1" + "arduino-ide-extension": "2.0.0-beta.2" }, "devDependencies": { "@theia/cli": "next" diff --git a/package.json b/package.json index 703c27f6..bb243389 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "arduino-editor", - "version": "2.0.0-beta.1", + "version": "2.0.0-beta.2", "description": "Arduino IDE", "repository": "https://github.com/bcmi-labs/arduino-editor.git", "author": "Arduino SA",