mirror of
https://github.com/xodio/xod.git
synced 2026-03-18 22:56:51 +01:00
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
xod-cli
This package is a part of the XOD project.
The package contains implemetation of xodc command line utility.
Basically it’s a collection of thin wrappers around NodeJS API’s available via
other packages. The responsibility of xod-cli is to parse command line
arguments, call API, and format the result on stdout/stderr properly.
xodc uses subcommands like git does to perform various functions.
The subcommands handling could be found in src/xodc-*.js.
Usage
xodc pack <projectDir> <output>
xodc unpack <xodball> <workspace>
xodc transpile [--output=<filename>] [--target=<target>] <input> <path>
xodc publish --swagger=<swagger> --author=<author> [--orgname=<orgname>] [<projectDir>]
xodc install --swagger=<swagger> <libUri> [<path>]
xodc ab set-executable <path>
xodc ab set-packages <path>
xodc ab list-index
xodc ab list-pavs
xodc ab list-ports
xodc ab list-boards <package> <architecture> <version>
xodc ab install-pav <package> <architecture> <version>
xodc ab compile <package> <architecture> <board> <file>
xodc ab upload <package> <architecture> <board> <port> <file>