Commit Graph

47 Commits

Author SHA1 Message Date
Kirill Shumilov
cbd7a164d2 feat(xod-client, xod-client-electron): derive project name from filename 2019-11-12 12:46:18 +03:00
Evgeny Kochetkov
b2c5b63887 refactor(xod-deploy, xod-client-electron): remove obsolete parts of xod-deploy related to cloud compilation 2019-04-15 19:48:08 +03:00
Evgeny Kochetkov
ae85e65ae4 feat(xod-client, xod-client-electron): Add ability to send text lines via serial
Closes #1622
2019-02-05 19:09:32 +03:00
Kirill Shumilov
71c2f1f6d8 feat(xod-client, xod-arduino, xod-cloud-tabtest): make possible to compile simulation wasm and run it 2019-01-31 20:24:18 +03:00
Kirill Shumilov
266619b1d3 fix(xod-client-electron): make "update available" message persistent 2018-12-28 17:05:33 +03:00
Sergey Korolev
5eb8e89629 chore(xod-client-electron): use xod-deploy-bin 2018-11-19 13:11:55 +03:00
Kirill Shumilov
5fb951fd5e feat(xod-client-electron, xod-client): make possible to update arduino packages in the IDE 2018-10-15 17:04:28 +03:00
Kirill Shumilov
0416e0a22c feat(xod-client-electron): make possible upload on boards with options 2018-10-12 18:09:30 +03:00
Kirill Shumilov
3961257828 feat(xod-client-electron): make possible to update package indexes with extra.txt and click on the button in the IDE 2018-10-10 13:12:28 +03:00
Kirill Shumilov
ffcfbc9851 feat(xod-client-electron): replace xod-arduino-deploy with arduino-cli 2018-10-10 13:12:28 +03:00
Kirill Shumilov
de09cd493b feat(xod-arduino-deploy, xod-client, xod-client-electron): make possible to check and install arduino library dependencies from client 2018-08-30 18:33:09 +03:00
Evgeny Kochetkov
33418a842f feat(xod-client, xod-client-electron): optimize and split deployment logs
Closes #1359
2018-08-17 13:11:42 +03:00
Kirill Shumilov
a8f32dd05f tweak(xod-client, xod-client-electron): do not stop debug session on changes, but show warning message 2018-07-20 13:08:40 +03:00
Victor Nakoryakov
d0d8b800bb tweak(xod-client): more consistent snackbar messages 2018-07-06 11:35:14 +03:00
Kirill Shumilov
bf2d9ff152 tweak(xod-client, xod-client-electron): make snack bar messages persistent by default 2018-06-14 17:27:41 +03:00
Victor Nakoryakov
e6f3515552 fix(xod-client-electron): proper unhandled errors formatting 2018-05-11 17:15:35 +03:00
Evgeny Kochetkov
e6ab08e297 chore(infra): format code with prettier
Just `yarn lint  --fix`
2018-03-05 17:59:03 +03:00
Kirill Shumilov
bc6d1e3f0d refactor(xod-client-electron): replace hard-coded event names with states with call of function with constants (${EVENTS.SAVE_ALL}:complete -> getEventNameWithState(EVENT.SAVE_ALL, STATES.COMPLETE)) 2018-02-07 16:13:15 +03:00
Evgeny Kochetkov
eac057078e fix(xod-client-electron): streamline the order of excution when confirming unsaved changes 2018-02-07 14:26:42 +03:00
Evgeny Kochetkov
a0d3839eca feat(xod-client-electron): unified welcome patch, ask no questions on IDE start
Closes #1036
2018-02-01 13:34:33 +03:00
Kirill Shumilov
21b726460f feat, refactor(xod-project, xod-fs, xod-client, xod-client-electron, xod-client-browser): unify save/load UX 2018-01-30 19:28:26 +03:00
Evgeny Kochetkov
80a985c045 feat(xod-client, xod-client-browser, xod-client-electron): add ability to trigger some actions by special xod:// links, “Open Tutorial Project” action and menu items 2018-01-29 13:38:28 +03:00
Kirill Shumilov
d2027e79b3 chore(xod): update Webpack to v3 (bundle reduced x2), update Ramda versions, prepare it for further updates
Squashed commits:
[af77987] refactor(xod-client, xod-client-browser, xod-client-electron): move common webpack config into xod-client, and extend it with specific options in other endpoint clients (browser/electron)
[ddae62d] chore(xod): update `hm-def` to latest `0.2.1` version (that uses the same Ramda version)
[5d80680] chore(xod): prepare all Ramda imports and some functions to migrate to 0.25.1 to be optimized better by tree-shaker (0.25.0 already has a features for better tree shaking, but it has a lot of bugs and perfomance regressions, so we’ll stay at 0.24.1 for a while)
[9c05d6c] chore(xod-client-browser, xod-client-electron): enable UglifyJS webpack plugin to eliminate dead code and minify bundle (7.8MB -> 3.8MB)
[cafbfcf] chore(xod, xod-client-browser, xod-client-electron): update webpack to version 3, update loaders,
2017-12-29 13:31:32 +03:00
Kirill Shumilov
0606a58a9c feat(xod-client): implement new configurable sidebar system, store user settings in localStorage (both for browser & electron versions), implement new Quick help panel (issue #933). 2017-12-19 15:29:01 +03:00
Kirill Shumilov
12ee4657cb refactor(xod-client, xod-client-electron): restyle SnackBar messages, replace string messages with objects (created by function), that contains title, note and button 2017-12-13 14:28:38 +03:00
Kirill Shumilov
55c6a454a7 feat(xod-client-electron, xod-client): make installing of libraries with dependencies in electron client saves all installed libs on FS, rename INSTALL_LIBRARY into INSTAL_LIBRARIES 2017-11-28 18:03:40 +03:00
Kirill Shumilov
0e4c345921 refactor(xod-client, xod-client-electron): rename menu item Save Project into Save all, rename all constants SAVE_PROJECT, PROJECT_SAVE into SAVE_ALL, all actions, subscribing functions, handlers and etc from something like onSaveProject into onSaveAll and etc 2017-11-22 12:08:48 +03:00
Kirill Shumilov
e9b2eb15a1 feat(xod-client, xod-client-browser, xod-client-electron, xod-fs): add feature to install libraries from cloud in the IDE, integrate in both clients, add saving on FS for desktop client 2017-11-15 10:49:10 +03:00
Kirill Shumilov
04e5a9b915 feat(xod-client, xod-client-electron, xod-client-browser): add split pane component and integrate it into Sidebar and both of clients (save height of pane for next sessions) 2017-11-02 18:44:30 +03:00
Evgeny Kochetkov
3c8ffce9e6 feat(xod-client, xod-client-browser, xod-client-electon): warn user about unsaved changes
Closes #830
2017-10-30 13:21:24 +03:00
Kirill Shumilov
44577c03a4 feat(xod-arduino-deploy, xod-deploy, xod-client, xod-client-electron): add interactive debug session with watch nodes, optimized log and etc (+31 squashed commits)
Squashed commits:
[ca50efb] refactor(xod-client, xod-arduino-deploy, xod-client-electron): handle lost connection (unplug device), make some small fixes
[8c9fbce] tweak(xod-client-electron): add retries to find device after upload (3 times with 300ms delay)
[8c77fce] fix(xod-client-electron): fix adding an error message into debugger log
[c0668c1] refactor(xod-client, xod-client-electron): add throttling to send data readed from serial port and updating log by list of messages instead of appending each message
[9528c6e] refactor(xod-arduino, xod-client, xod-client-electron): make fixes in accordance with comments to PR
[117996b] refactor(xod-client): simplified selecting renderer by message type in the Log container
[512b74f] refactor(xod-arduino): revert XOD_TRACE functions to use only for debug runtime, watch-node uses DEBUG_SERIAL, updated fixtures and etc
[7b92c98] chore(xod-client): remove dispatching no longer existing action (setMode)
[cb38db1] refactor(xod-arduino): split transpiling into two functions: transformProject and transpile, add function to get nodeIdsMap from transformed project, use last one instead of pushing it through a long pipes of calls
[01c3f2e] tweak(xod-client): show xod message delimiter in the log
[360f216] chore(xod-client): change caption of button "Stop debug session" -> "Stop debug"
[531c280] style(xod-client): change colors of watch nodes, remove ellipsis from watch node values, change color of error and success message borders
[bb3c5df] fix(xod-client): fix panning mode to show nodeValues in debug session interactively
[7fac400] tweak(xod-client): sync offsets of patches between tabs (if user pans debug tab -> patch tab panned too, and vice versa)
[086d863] tweak(xod-client): stop debug session when debugger tab was closed
[eccc14a] tweak(xod-client): pass offsets between patchTab and debuggerTab, reopen original patch on debugger tab close
[83c3090] test(xod-client-electron): fix functional test and remove fixture (take it from workspace)
[f87fb2d] tweak(xod-client): tweak closing tab to prevent switching to another tab if closed another one
[c17cc0f] refactor(xod-client): remove editor modes from redux store, make modes depends on tab type
[92ce1df] refactor(xod-client): add tab types, add debug tab type and styles, handle opening and closing this tab on debug start/stop
[09af9af] refactor(xod-client): refactored tabs to contain an unique id and patchPath, instead of storing two entities in one property
[31991f7] refactor(xod-client): optimize rendering logs, add Debugger into storybook, fix one possible bug in the reducer
[7355928] refactor(xod-client): move log of Debugger into a separate container
[30d36c5] refactor(xod-client): optimize debugger selectors
[9615450] feat(xod-client): pass values of watch nodes into view
[34b40d0] refactor(xod-client): move rendering of node bodies and some parts into small components, add WidgetNodeBody component
[18f4e75] feat(xod-client): add new editor mode: debugging
[6c6d9bd] feat(xod-arduino, xod-client): store map of nodeIds to topologically sorted index of nodes in the redux state
[492caea] feat(xod-arduino, xod-project): remove debug nodes on transpilation without debug mode, update fixtures and tests
[63a8083] refactor(xod-arduino, xod-clients): update debug flags in runtime, allow to switch flags in the transpiler (using options object) and integrate it into clients
[01cfd83] feat(xod-arduino, workspace): implement watch node and change debug flags in the runtime and configuration template
2017-10-03 14:26:28 +03:00
Kirill Shumilov
9eb9f9053a feat(xod-client, xod-client-electron): add "debug session" feature and debugger pane 2017-09-21 20:35:19 +03:00
Kirill Shumilov
0e8b213d62 feat(xod-deploy, xod-client-electron): add cloud compilation feature into electron client 2017-09-15 11:25:03 +03:00
Kirill Shumilov
2693eed0ca refactor(xod-client-electron): integrate new xod-arduino-deploy into desktop client 2017-08-04 18:07:06 +03:00
Alexander Matsievsky
89f234e684 feat(xod-client-electron): enable xod-client-electron artifacts auto-update 2017-07-24 15:17:34 +03:00
Evgeny Kochetkov
92471ecde8 feat(xod-client-electron): display error when opening a project fails because of an invalid file 2017-07-20 12:11:19 +03:00
Kirill Shumilov
7ce5fa77f4 tweak(xod-client-electron): make UNKNOWN_ERROR more readable (err.message || JSON.stringify(err)) 2017-07-03 16:39:06 +03:00
Kirill Shumilov
b310a7ad79 tweak(xod-client-electron): add logging arduino/workspace action errors in the console 2017-07-03 15:55:31 +03:00
Kirill Shumilov
2febbb78f8 chore(xod-client-electron): update error data and error message for IDE_NOT_FOUND errorCode 2017-06-27 20:11:09 +03:00
Kirill Shumilov
5bf43e8b65 feat(xod-client-electron): make config popup with selecting board model and port, saving selected board into settings and refactor upload, also removed espruino from menu 2017-06-14 12:04:17 +03:00
Kirill Shumilov
1518d10734 feat,refactor(xod-client-electron): add bundled arduino packages index and functions to get list of boards from it, also refactor sortByVersion function to sort strange arduino versions (E.G. "1.6.4+1.19") properly 2017-06-14 12:04:17 +03:00
Kirill Shumilov
11e3aebcaa refactor(xod-fs,xod-client-electron): move all functions and error codes that relate to creating/copying files of workspace from xod-client-electron into xod-fs 2017-05-19 21:28:32 +03:00
Kirill Shumilov
5cca11ebd6 fix,tweak(xod-client-electron): fix saving project on create and added confirmation of saving created project, updated tests 2017-05-17 16:04:05 +03:00
Kirill Shumilov
9aaa16a4b3 refactor(xod-arduino-builder,xod-client-electron,xod-func-tools): make error messages more informative 2017-05-17 14:26:46 +03:00
Kirill Shumilov
bacf8737fb refactor(xod-client-electron): simplify code, use new getLocalProjects from xod-fs, make some names more clear, begin to use chai-as-promised in the tests 2017-05-16 14:00:38 +03:00
Kirill Shumilov
b962995a0d feat,refactor(xod-client-electron, xod-client): make IPC between renderer and main processes, refactor popups, add new popups 2017-05-16 13:48:07 +03:00
Kirill Shumilov
a9559a9e36 refactor(xod-client-electron): reorganize shared constants 2017-05-16 13:48:07 +03:00