290 Commits

Author SHA1 Message Date
Akos Kitta
f392ce752d Make sure the files from the sketch folder are opened at startup.
Previously, we opened the files only in classic mode.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-15 16:26:56 +02:00
Akos Kitta
2bd9eef146 Aligned the New and Save As... with the Java IDE.
From now on, sketches are created in the temp folder,
and will be moved to the `directories.user` location
when the user performs a manual `Save`.

A new sketch can be created with the `CtrlCmd+N` binding.

Closes: arduino/arduino-pro-ide#260
Closes: arduino/arduino-pro-ide#261

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-15 16:26:42 +02:00
Akos Kitta
0942ef6450 Switched from grpc to @grpc/grpc-js.
This change is required to be able to support ARM arch
in the future.

 - Fixed the download links for armv7l Linux.
 - Checked in the generated code. [grpc/grpc-node#1497]
 - Made the code generation a manual step.
 - Made the `grpc-tools` dependency optional.
 - From now on, the serial port regex is case-insensitive.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-13 13:30:06 +02:00
Akos Kitta
6bb852c613 Build on GH Actions. Set up nightly.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-03 14:26:17 +02:00
Akos Kitta
ecce237c6c Updated to Theia 1.4.0-next.a62011a5.
- Aligned the daemon test to latest `js-yaml`.
 - Aligned the TS version with Theia.
 - Resolved a dependency-cycle with `next` Theia.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-06-29 13:58:32 +02:00
Akos Kitta
ae6aec27db Updated the CLI to 0.11.0.
- Adjusted to gRPC API change, and
 - Log the CLI commit only once when generating from protoc.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-06-29 13:19:43 +02:00
Akos Kitta
02d1f349ad Updated to 0.0.7 after the release.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-05-07 09:20:34 +02:00
Akos Kitta
d8a742e440 GH-240: Warn if not connected to the Internet.
Make sure the gRPC client initialization is rejected.

Closes #240.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-04-27 14:41:57 +02:00
Akos Kitta
6ce4143d49 [ci]: Made various changes for the electron app:
- Support for multiple electron targe per platform.
 - Removed packager CLI. Changed the logic we calculate the app name.
 - Fixed various OS-specific tests: stubbed `os`.
 - Restructured the final ZIP formats for Windows and Linux.
 - Added packager tests.
 - Switched from `@grpc/grpc-js` to native `grpc`.
 - Updated the version from 0.0.5 to 0.0.6.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-04-09 08:55:43 +02:00
Akos Kitta
d54a69935e [experimental]: Introduced the Boards Control.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-04-09 08:55:43 +02:00
Akos Kitta
12f2aa35ff Added support for 3rd party core settings.
Closes arduino/arduino-pro-ide#10.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-04-09 08:55:43 +02:00
Akos Kitta
5c16f8d6c9 From now on, monitor widget does not expect EOL.
Otherwise, if client code does not contain `Serial.write('\n')`,
the widget does not show any output.

Closes arduino/arduino-pro-ide#201

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-04-09 08:55:43 +02:00
Akos Kitta
807b2ad424 Support of the CLI config.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-04-09 08:55:38 +02:00
Miro Spönemann
b2d53b1a35 #192: Fixed Open... dialog 2020-03-26 09:39:18 +01:00
Akos Kitta
2a2238bb82 Wait when opening all files from a sketch folder.
This commit is a temporary workaround for eclipse-theia/theia#6298.

Closes arduino/arduino-pro-ide#212.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-03-12 14:57:38 +01:00
Miro Spönemann
8cf019bc07 Updated CLI to v0.9.0 2020-02-26 18:17:37 +01:00
Miro Spönemann
ad4928957e Increased version number to 0.0.5 2020-02-26 17:32:30 +01:00
Miro Spönemann
d56962251e Fixed: Commands that are registered to toolbar did not show up in Electron menu 2020-02-26 10:55:03 +01:00
Miro Spönemann
69c7383da8 Update Electron main menu when a toggle button is switched 2020-02-26 09:43:32 +01:00
Miro Spönemann
2d9fa5615b Removed some unused stuff 2020-02-24 15:50:46 +01:00
Miro Spönemann
24bd23b669 arduino/arduino-pro-ide#188: Open Boards and Library manager on first start 2020-02-24 15:27:20 +01:00
Miro Spönemann
1bc996d8d8 Updated to CLI version 0.9.0-rc2 2020-02-24 15:26:35 +01:00
Miro Spönemann
a72533b208 Added basic support for global and static variables 2020-02-24 14:33:51 +01:00
Miro Spönemann
acf7b6a8da Removed workaround 2020-02-24 10:37:17 +01:00
Miro Spönemann
0445700088 Added 'optimize for debug' option 2020-02-24 10:35:36 +01:00
jbicker
4c63af572e Added debug button to toolbar.
Signed-off-by: jbicker <jan.bicker@typefox.io>
2020-02-13 10:15:12 +01:00
Miro Spönemann
8c3fab824f [debugger] Resolve URIs through FileSystem 2020-02-13 10:15:12 +01:00
Miro Spönemann
0f35821d14 Reuse spawnCommand util for more robust command execution 2020-02-13 10:15:12 +01:00
Miro Spönemann
8a78e09c6d Improved error message when spawning commands fails with stderr output 2020-02-13 10:15:12 +01:00
Christian Weichel
68ff6acb6a [electron] Added debugger to Electron build 2020-02-13 10:15:12 +01:00
Christian Weichel
8aa356bd6e Automated debug config setup 2020-02-13 10:15:12 +01:00
Akos Kitta
ef74b04b0b
Merge pull request #98 from bcmi-labs/theme-update-vol2
Theme update vol2
2020-01-30 14:24:41 +01:00
Akos Kitta
4b859c2db9 Added a workaround for a memory leak.
eclipse-theia/theia#7008

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-01-30 11:31:38 +01:00
Akos Kitta
403fdbfdc0 Removed a few custom colors and derived them from existing ones.
Fixed the color for the:
 - selected items in the Explorer,
 - warning `input`s,
 - set custom dialog background for the Arduino theme,
 - the query term matches in the command palette, and
 - react-select.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-01-30 11:31:32 +01:00
Jan Bicker
cbe603a99f Updated Arduino App to new theming system
Signed-off-by: Jan Bicker <jan.bicker@typefox.io>
2020-01-29 11:08:53 +01:00
Miro Spönemann
1aa944b25e More robust workspace initialization: guard against errors creating sketch dir 2020-01-20 16:48:24 +01:00
Miro Spönemann
b220ce4c5f Removed fs-extra dependency again, updated electron build resolution 2020-01-16 16:06:01 +01:00
Miro Spönemann
15c66442cc Use direct dependency instead of dep resolution for fs-extra 2020-01-16 15:31:30 +01:00
Miro Spönemann
cea62e315a Added unit test for getExecPath 2020-01-16 11:10:13 +01:00
Miro Spönemann
6618816330 Align language server spawning with arduino-cli 2020-01-16 09:39:43 +01:00
Miro Spönemann
2577451c15 Use latest version of fs-extra due to stack overflow bugs in earlier versions 2020-01-15 17:10:59 +01:00
Miro Spönemann
8dbcb8bbb6 Fallback rendering in case a BoardPackage with no name or author is found (arduino/arduino-pro-ide#21) 2020-01-14 15:35:44 +01:00
pirropirro
1be76aa264
Merge pull request #93 from bcmi-labs/clangd_linux
Include clangd for Linux
2020-01-14 10:56:32 +01:00
Miro Spönemann
bef9185c6c arduino/arduino-pro-ide#31: Include clangd for linux with 'bin' and 'lib' folders 2020-01-10 11:02:23 +01:00
Miro Spönemann
b8bd444def Updated keybindings (arduino/arduino-pro-ide#17), restore Output view on Verify / Upload 2020-01-09 16:22:03 +01:00
Miro Spönemann
7a89a8048f Use fixed version 0.7.1 of the cli to avoid future breakage 2020-01-07 10:49:36 +01:00
pirropirro
84be804df0 Update CLI config parsing (v0.7.0) 2020-01-07 10:44:54 +01:00
Miro Spönemann
f07441a7fc Updated clangd to version 9.0.0 2020-01-06 16:25:00 +01:00
Miro Spönemann
08f127711f bcmi-labs/arduino-language-server#17 (workaround for eclipse-theia/theia#6308) 2019-12-17 11:40:33 +01:00
Akos Kitta
d1ae15a838 Updated to the latest CLI config format.
See: arduino/arduino-cli@f2df284
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-12-12 15:11:02 +01:00