556 Commits

Author SHA1 Message Date
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
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
0ddfa1cfdc Use the 0.12.0 CLI.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-24 11:36:07 +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
5f515f0597 fixup: made the Output view not closeable.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-21 17:15:28 +02:00
Akos Kitta
1078f6fa96 Updated the version from 0.0.7 to 0.1.0.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-21 11:51:03 +02:00
Akos Kitta
5ac7fe1446 Use 0.12.0-rc3 CLI.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-21 11:50:22 +02:00
Akos Kitta
4c4043b73c Updated to 0.12.0-rc2 CLI.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-20 14:45:32 +02:00
Akos Kitta
cb1c16fb26 made the linter happy: removed unused imports
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:52 +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
f605994d7d fixed duplicate preferences menu item.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:52 +02:00
Akos Kitta
e72e794266 aligned the bindings for windwos.
quit and close.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:52 +02:00
Akos Kitta
ee327eff18 patched to fix the window reloading on windows
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
17de5e1a35 ATL-312: Fixed output resize issue.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
2e729fc29e workaround for theia-ide/theia#7828
instead otf reloaading the current window, we open a new one
and close the current.

reloading the current window hangs on electron in Windows env.

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
aa2bed8d39 fixed sketch opening. This was the happy path.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
3806d56e94 queued the menu updates.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
f0015e3fb4 ignored out failing port is in use tests.
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
aadd403cdb refined label provide for unsaved sketches
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
6da702abd5 styled the sketch-control
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
4cad068e8d styled the sketch control.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
bb705620c0 made the editor focusing a bit more relaxed at startup.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
e36e42910c fixed delete -> cancel
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
a49ba05d5e wipe the entire sketch when deleting the main file
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
b87782ed05 re-enabled decorators in output.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
e4e6217153 finished the output styling.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
bcc715e11c [theme]: made the output stylable.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
7f0bdfd45e check if we need output adjustments.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
efd1be3e85 wipe original after sketch rename.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
eb2161cc6e changed the default ref behavior.
instead of opening the widget next to current, open it after the last.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
9ee5fc097c fixed closeable state.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
f375202c5d set focus on main sketch.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
fc09dc3613 aligned api visibility with theia.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
3d55aaa875 generalized which widgets are closeable.
instead of a whitelisting, we blacklist the files those belong to sketch

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
fc866464ad removed unused code.
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
111ba7fef3 allow multiple dots.
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
f503ef0fcf [revert]: skip the failing daemon test on win32.
it's with the latest CLI. Some error message must have changed.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
5aae800a4e when switching serial monitor on/off
open/dispose the monitor widget instead of toggling it.

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
06c3015158 updated to 1.14.0 theia.
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
528f4150d3 ATL-318: Fixed monitor reconnection after upload
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
696048b5d9 do not reveal the output for daemon messages
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2020-08-19 10:50:51 +02:00
Akos Kitta
722f8d7534 programmer was removed from compilereqSigned-off-by: Akos Kitta <kittaakos@typefox.io> 2020-08-19 10:50:51 +02:00