Akos Kitta
a96449f557
ATL-658: IDE can use any pinned version of CLI.
...
- Pinned the CLI to the `20201104` nightly.
- Updated the TS/JS API generator to fall back to forks if configured.
- Updated the CLI JSON schema.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-11-06 10:20:52 +01:00
Akos Kitta
30136b0ef2
Capture and swallow unhandled SIGPIPE signal.
...
To be able to work around the backend process crash and offline status.
Ref: eclipse-theia/theia#8660
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-10-23 09:05:11 +02:00
Akos Kitta
e755a1cd7e
Aligned the electron app to the latest Theia APIs.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-10-12 16:28:07 +02:00
Akos Kitta
5f5193932f
ATL-374: Refactored the Output services.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-10-12 16:28:07 +02:00
Akos Kitta
f26dae185b
ATL-222: Moved the language feature to a VS Code extension.
...
Updated to next Theia: 1.6.0-next.b43a1623.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-10-12 16:28:07 +02:00
Akos Kitta
524fbbdf40
arduino/arduino-pro-ide#336 : Fixed 'Save As...'
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-09-07 13:42:11 +02:00
Akos Kitta
7a37aa2e2f
ATL-78: Implemented include library.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-09-07 13:42:11 +02:00
Akos Kitta
56ff86629c
ATL-73: Added library examples to the app.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-09-07 13:42:11 +02:00
Akos Kitta
1c9fcd0cdf
ATL-302: Added built-in examples to the app.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-09-07 13:42:11 +02:00
Akos Kitta
b5d7c3b45d
ATL-61: Implemented burn bootloader.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-09-07 13:42:11 +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
d13a43668e
Made the port optional for upload using programmer
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-24 10:27:36 +02:00
Akos Kitta
d07763a854
Updated to 0.12.0-rc1 CLI.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:52 +02:00
Akos Kitta
960d8dba2e
removed that uses a more recent version of the CLI from the PATH
...
from now on, we always use the one from the IDE. Documented how to replace it on demand.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
bc4c3e04f5
fixed issue when checking if a sketch is temp
...
convert all windows drive letters to lower case. [ATL-380]
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
650230a571
refined open logic when sketch name is invalid
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
ada0f4c7ed
aligned rename with the java IDE.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
1f7e06f990
aligned new file creation to the java ide.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
a2b3d9b314
zen mode for the output
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
8ab70f48f8
fixed save-as. added sketchload
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
4a9a975dca
ATL-301: Made port optional when using programmer
...
When uploading using a programmer, the port is ignored by the CLI.
Also removed `programmer` from compile request [arduino/arduino-cli#861 ]
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
a54c860dbb
dispose the tool ouput when the window closes.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
f4097b5b24
upload with programmer when it's explicitly asked
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-22 13:16:43 +02:00
Akos Kitta
e1f74d94a7
fixed hoisting. updated to next Theia.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-22 11:54:04 +02:00
Akos Kitta
8aa08cbf6e
fixed fuzzy. added proper boost.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-22 11:33:28 +02:00
Akos Kitta
fdc5814e66
make sure the sketch file has the focus after the ws open.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-21 20:44:37 +02:00
Akos Kitta
87b383f57e
use programmer id for upload/verify
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-21 20:12:51 +02:00
Akos Kitta
cc76f2bbc8
clear the output before upload/verify
...
use the same channel for stdout and and stderr
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-21 19:52:59 +02:00
Akos Kitta
e77c9721cd
init: programmers
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-21 17:39:22 +02:00
Akos Kitta
79a5d2272f
fixed grpc client issue with the CLI config.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-20 15:38:49 +02:00
Akos Kitta
0ee9d16b40
fuzzy board search.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-20 11:29:05 +02:00
Akos Kitta
cfde197198
Use CLI 0.11.0.
...
- LS does not work,
- Cannot reconnect to the daemon on browser refresh.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-17 16:23:45 +02:00
Akos Kitta
b6df6b57a1
Aligned the IDE with gRPC server startup message.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-17 10:21:40 +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
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
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
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
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
2d9fa5615b
Removed some unused stuff
2020-02-24 15:50:46 +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
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
Miro Spönemann
1aa944b25e
More robust workspace initialization: guard against errors creating sketch dir
2020-01-20 16:48:24 +01:00