Akos Kitta
3efb5a4e08
Switched from execFile
to spawn
.
...
So that we can add guards against whitespaces in the path.
Also cleaned up the code a bit.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-10-25 11:48:33 +02:00
Akos Kitta
4353bfb5b9
Updated port discovery to support unknown boards
...
From now on, we do not retrieve the ports from the attached boards.
A board can be unknown but the port is still relevant.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-10-25 11:48:33 +02:00
Akos Kitta
2f84b5c6b7
Show the CLI version from the about dialog.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-10-25 11:48:33 +02:00
Akos Kitta
cebe15ef69
Removed duplicate log level from the log.
...
Print CLI version at start-up.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-10-25 11:48:33 +02:00
Akos Kitta
1dda5dd95b
Exposed version from the CLI.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-10-25 11:48:33 +02:00
Akos Kitta
fb6785c5d3
PROEDITOR-53: Changed the way we set the workspace
...
Got rid of the `sketch` search parameter from the URL.
Rules:
- Get the desired workspace location from the
- `Path` defined as the `window.location.hash` of the URL,
- most recent workspaces,
- most recent sketches from the default sketch folder.
- Validate the location.
- If no valid location was found, create a new sketch in the default sketch folder.
Note: when validating the location of the workspace root, the root must always exist. However, when in pro-mode, the desired workspace root must
not be a sketch directory with the `.ino` file, but can be any existing location.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-10-25 11:48:24 +02:00
Akos Kitta
6331b7ddfd
Merge pull request #65 from bcmi-labs/increase_maxBuffer
...
Increase maxBuffer for spawned daemon
2019-10-07 16:57:25 +02:00
Miro Spönemann
aa4f216544
Restart the language server when the board is changed
2019-10-02 13:16:10 +02:00
Akos Kitta
a96ed31a45
Fixed the daemon log.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-09-25 16:34:42 +02:00
Akos Kitta
55923be7fd
PROEDITOR-48: Open last sketch at start-up
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-09-24 14:23:16 +02:00
Martino Facchin
2ef0d1d0db
Increase maxBuffer for spawned daemon
...
When installed cores are A LOT, core listing needs a lot of space :)
2019-09-23 17:06:10 +02:00
Miro Spönemann
62eff29172
Configure cpp extension to use embedded clangd
2019-09-16 08:42:30 +02:00
Miro Spönemann
ec6b5ed3f3
Added command line argument for specifying cli path
2019-09-06 14:15:59 +02:00
Miro Spönemann
7d04c7efb8
Added language contribution for ino files
2019-09-06 14:14:35 +02:00
jbicker
dac9c6437e
Preserve baud rate and line ending; Use google protobuf Struct type now for setting configs
...
Signed-off-by: jbicker <jan.bicker@typefox.io>
2019-09-03 16:42:00 +02:00
jbicker
76d0f5a464
Implemented the Widget
...
Re-introduced bottom panel tabs
Signed-off-by: jbicker <jan.bicker@typefox.io>
2019-09-03 16:40:19 +02:00
Akos Kitta
e6e042c856
Moved System
declaration before its use-site.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-08-30 10:41:05 +02:00
Akos Kitta
9298a8cc55
Log clean-up.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-08-30 10:26:13 +02:00
Akos Kitta
98764b56aa
Switched to the JSON log format for the daemon.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-08-30 10:11:43 +02:00
Akos Kitta
9f7aec4091
Adapted to latest CLI.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-08-29 09:52:56 +02:00
Akos Kitta
9ae721292d
Fixed the FS path issue on Windows.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-08-27 18:27:12 +02:00
jbicker
41c603937c
Setting download dir to {dataDir}/staging; Create data and sketch folders if they don't exist.
...
Signed-off-by: jbicker <jan.bicker@typefox.io>
2019-08-26 16:53:59 +02:00
jbicker
d5589c435f
Get the default sketchbook path from backend
...
Signed-off-by: jbicker <jan.bicker@typefox.io>
2019-08-26 15:59:18 +02:00
Akos Kitta
f9641a3d76
Initial support of the default paths from the CLI.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-08-26 12:42:27 +02:00
Sven Efftinge
037efbaba2
Better output format
2019-08-15 11:50:50 +00:00
Akos Kitta
7c2a295631
Fixed bug when checking if a core is installed
...
`startsWith` was incorrect: `arduino:samd` Vs. `arduino:samd_beta`
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-08-12 11:40:39 +02:00
Akos Kitta
b6306c330f
Update/download the library_index.json
at start
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-08-05 19:42:24 +02:00
Akos Kitta
692c3f6e3f
Implemented serial-monitoring for the backend.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-08-05 19:42:24 +02:00
Akos Kitta
8d79bb3ffb
restored the the search limit for the lib manager.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-08-05 19:40:25 +02:00
Akos Kitta
ec50ea673c
do not await
for attached boards.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-08-05 19:40:25 +02:00
Akos Kitta
0dc45daf01
aligned list view styles.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-08-05 19:40:25 +02:00
Akos Kitta
3fcf5a6ac9
generalized the boards and the libraries views.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-08-05 19:40:25 +02:00
Luca Cipriani
2914379586
Merge pull request #46 from bcmi-labs/poll-boards
...
Implemented the board discovery with polling.
2019-08-02 17:08:08 +02:00
Akos Kitta
27dc6f9816
Updated the TS/JS API with the monitoring.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-07-30 10:57:23 +02:00
Akos Kitta
b78ddbeb64
Implemented the board discovery with polling.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-07-30 10:32:10 +02:00
Akos Kitta
d29ed24e49
Fixed the daemon process termination.
...
From now on, we spawn a detached process that
will periodically check whether the parent Theia
the process is alive, if no, terminates the daemon.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-07-25 16:11:40 +02:00
Akos Kitta
83e966d208
Merge pull request #40 from bcmi-labs/arduino-cli
...
Switched to the official `arduino-cli`.
2019-07-25 09:57:13 +02:00
Luca Cipriani
5cc75118cd
Merge pull request #30 from bcmi-labs/PROEDITOR-19
...
PROEDITOR-19: Open new sketches in new windows
2019-07-25 09:21:15 +02:00
Akos Kitta
19f058cb7f
Run the Board.List
requests sequentially.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-07-25 08:50:05 +02:00
Akos Kitta
7494beca33
Switched to the official arduino-cli
.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-07-25 07:58:00 +02:00
Akos Kitta
c0e279f3e8
[win] Open sketch.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-07-23 21:35:06 +02:00
jbicker
75f7d3ca7c
Fixed sketch service
2019-07-23 16:42:25 +02:00
Akos Kitta
c45e85eb89
PROEDITOR-19: Open new sketches in new windows
...
- From now on, each new sketch has its own window.
- Fixed the `Download (of)? X completed` logging during index update.
- Validate the file before opening the sketch in new window.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-07-23 08:25:49 +02:00
Akos Kitta
8d838fcce4
PROEDITOR-7: Cloned the Library Manager layout.
...
To match with the official Arduino editor's UI.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-07-22 15:52:08 +02:00
jbicker
769689ff6d
Added dialog implementation
...
Signed-off-by: jbicker <jan.bicker@typefox.io>
2019-07-08 11:58:59 +02:00
jbicker
92afa48c05
Implemented possibility to open sketches via file navigator.
...
Signed-off-by: jbicker <jan.bicker@typefox.io>
2019-06-19 11:30:26 +02:00
jbicker
9d3cbf2ea0
Use service to load sketches
...
Signed-off-by: jbicker <jan.bicker@typefox.io>
2019-06-19 09:48:28 +02:00
Christian Weichel
19d13df886
Fix sketch upload
2019-05-09 09:31:04 +02:00
Christian Weichel
c59a5a6910
Fixed default workspace and empty ws init
2019-05-09 09:15:51 +02:00
Christian Weichel
6722eb7089
Fixed arduino-cli ctag compile issue
2019-05-08 22:31:28 +02:00