Compare commits

...

9 Commits
0.1.0 ... 0.1.1

Author SHA1 Message Date
Akos Kitta
ec7df884ee Merge pull request #143 from bcmi-labs/0.1.1
0.1.1
2020-08-26 16:22:34 +02:00
Akos Kitta
24b6d84d27 Updated the CLI to 0.12.1.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-26 15:23:24 +02:00
Akos Kitta
4435696949 Updated the versions from 0.1.0 to 0.1.1.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-26 15:13:04 +02:00
Akos Kitta
6aa3ff8044 Merge pull request #141 from bcmi-labs/arduino/arduino-pro-ide#311
GH-311: Fixed FS path to URI conversion issue.
2020-08-25 18:10:10 +02:00
Akos Kitta
4b44113f2c GH-311: Fixed FS path to URI conversion issue.
Instead of passing the FS path (`string`) to the `LoadSketch` method,
we have to convert it into a proper URI string.

Closes arduino/arduino-pro-ide#311

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-25 16:03:49 +02:00
Akos Kitta
c6ad0f582a Merge pull request #139 from bcmi-labs/build-on-ubuntu
Added steps to build the app from source
2020-08-24 20:37:27 +02:00
Akos Kitta
4b8b468e53 Added steps to build the app from source
Verified on 18.04.4

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-24 18:52:25 +02:00
Akos Kitta
ba319b23d9 Merge pull request #133 from bcmi-labs/per1234/name-snapshot-archive-with-commit
Use short commit hash in "snapshot" build artifact archive filename
2020-08-24 16:43:27 +02:00
per1234
70278fed6f Use short commit hash in "snapshot" build artifact archive filename
When you have multiple snapshot builds on your computer for testing purposes, it's difficult to keep track of which is which. The commit hash is shown by the running application, but it's more convenient to have the installation also identified by its folder name.

Adding the short commit hash to the build archive filename (and thus the extracted folder name) provides a clear identifier for each build.

Before this change, the archive is named like:
arduino-pro-ide_snapshot_Linux_64bit.zip

after:
arduino-pro-ide_0.0.7-snapshot.1b8c510_Linux_64bit.zip
2020-08-24 05:12:10 -07:00
9 changed files with 46 additions and 13 deletions

View File

@@ -1,11 +1,11 @@
{
"name": "arduino-debugger-extension",
"version": "0.1.0",
"version": "0.1.1",
"description": "An extension for debugging Arduino programs",
"license": "MIT",
"dependencies": {
"@theia/debug": "next",
"arduino-ide-extension": "0.1.0",
"arduino-ide-extension": "0.1.1",
"cdt-gdb-adapter": "^0.0.14",
"vscode-debugadapter": "^1.26.0",
"vscode-debugprotocol": "^1.26.0"

View File

@@ -1,6 +1,6 @@
{
"name": "arduino-ide-extension",
"version": "0.1.0",
"version": "0.1.1",
"description": "An extension for Theia building the Arduino IDE",
"license": "MIT",
"scripts": {

View File

@@ -10,7 +10,7 @@
(() => {
const DEFAULT_VERSION = '0.12.0'; // require('moment')().format('YYYYMMDD');
const DEFAULT_VERSION = '0.12.1'; // require('moment')().format('YYYYMMDD');
const path = require('path');
const shell = require('shelljs');

View File

@@ -324,7 +324,7 @@ void loop() {
for (let i = 0; i < files.length; i++) {
if (files[i] === basename + '.ino') {
try {
await this.loadSketch(fsPath);
await this.loadSketch(FileUri.create(fsPath).toString());
return true;
} catch { }
}

View File

@@ -1,7 +1,7 @@
{
"private": true,
"name": "browser-app",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"dependencies": {
"@theia/core": "next",
@@ -19,8 +19,8 @@
"@theia/process": "next",
"@theia/terminal": "next",
"@theia/workspace": "next",
"arduino-ide-extension": "0.1.0",
"arduino-debugger-extension": "0.1.0"
"arduino-ide-extension": "0.1.1",
"arduino-debugger-extension": "0.1.1"
},
"devDependencies": {
"@theia/cli": "next"

33
docs/internal/Ubuntu.md Normal file
View File

@@ -0,0 +1,33 @@
### Building and start the app from the sources on Ubuntu Linux
Tested and verified on Ubuntu 18.04.4. The source will be checked out to `~/dev/git/arduino-editor`.
```
#!/bin/bash -i
sudo apt update \
&& sudo apt install --no-install-recommends --yes \
git \
gcc \
curl \
make \
python \
pkg-config \
libx11-dev \
libxkbfile-dev \
build-essential \
&& wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash \
&& source ~/.bashrc \
&& nvm install 12.14.1 \
&& nvm use 12.14.1 \
&& nvm alias default 12.14.1 \
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - \
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list \
&& sudo apt update && sudo apt install --no-install-recommends yarn \
&& mkdir -p ~/dev/git/ \
&& rm -rf ~/dev/git/arduino-editor \
&& git clone --depth 1 https://github.com/bcmi-labs/arduino-editor.git ~/dev/git/arduino-editor \
&& yarn --cwd ~/dev/git/arduino-editor \
&& yarn --cwd ~/dev/git/arduino-editor rebuild:electron \
&& yarn --cwd ~/dev/git/arduino-editor/electron-app start
```

View File

@@ -1,7 +1,7 @@
{
"private": true,
"name": "electron-app",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"main": "src-gen/frontend/electron-main.js",
"dependencies": {
@@ -21,8 +21,8 @@
"@theia/process": "next",
"@theia/terminal": "next",
"@theia/workspace": "next",
"arduino-ide-extension": "0.1.0",
"arduino-debugger-extension": "0.1.0"
"arduino-ide-extension": "0.1.1",
"arduino-debugger-extension": "0.1.1"
},
"devDependencies": {
"@theia/cli": "next"

View File

@@ -15,7 +15,7 @@ function artifactName() {
} else if (isNightly) {
return `nightly-${timestamp()}`
} else {
return 'snapshot';
return getVersion();
}
})();
const name = 'arduino-pro-ide';

View File

@@ -1,6 +1,6 @@
{
"name": "arduino-editor",
"version": "0.1.0",
"version": "0.1.1",
"description": "Arduino Pro IDE",
"repository": "https://github.com/bcmi-labs/arduino-editor.git",
"author": "Arduino SA",