309 Commits

Author SHA1 Message Date
Akos Kitta
540a6215e4 implemented a few more edit contributions.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-18 15:43:55 +02:00
Akos Kitta
c0cadf2b9b comment/uncomment line
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-18 14:57:25 +02:00
Akos Kitta
939a905a6b go to line.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-18 14:43:46 +02:00
Akos Kitta
33af9b6005 implemented copy to forum.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-18 14:22:54 +02:00
Akos Kitta
e0d4634f32 cleaned up save group.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-18 13:59:52 +02:00
Akos Kitta
83e074e895 aligned module names.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-18 13:35:50 +02:00
Akos Kitta
7873e492d4 fixed close sketch
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-18 13:34:36 +02:00
Akos Kitta
e8c3abd2ec Resrtuctured browser code.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-18 12:51:07 +02:00
Akos Kitta
3a6b2f2bc8 More refactoring. Splitting up code.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-17 18:04:38 +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
20f44fe072 more refactoring.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-17 16:10:02 +02:00
Akos Kitta
5abfc2c1aa chopped up the FE contribution
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-17 15:00:49 +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
218aaf64c7 updated to latest Theia, CLI, electron and node 12
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-17 09:41:02 +02:00
Akos Kitta
a0bbfe0b5c init
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-16 16:33:49 +02:00
Akos Kitta
d29141aff6 Made the CLI config closeable in classic mode.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-15 16:30:14 +02:00
Akos Kitta
55ce04fe3f From now on the user can toggle the bottom panel.
It was disabled in classic mode.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-15 16:29:40 +02:00
Akos Kitta
2eab9a0792 Do not automatically reveal the Output view.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-15 16:28:37 +02:00
Akos Kitta
88dcaba3ae From now on, the Output toolbar is visible in classic mode.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-07-15 16:27:52 +02:00
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