Commit Graph

46 Commits

Author SHA1 Message Date
Evgeny Kochetkov
e6ab08e297 chore(infra): format code with prettier
Just `yarn lint  --fix`
2018-03-05 17:59:03 +03:00
Evgeny Kochetkov
74122a49c3 fixup! doc(tutorial): tweak texts to match new labeling scheme for variadic nodes 2018-03-01 18:08:47 +03:00
Kirill Shumilov
714e3b2af1 refactor(xod-client-browser, xod-client-electron): replace title attr with data-label for functional tests to prevent mixing visible by user data with data only for tests 2018-02-20 16:05:47 +03:00
Kirill Shumilov
9bc688c163 fix(xod-client-electron): fix loading installed libs from user workspace on opening project 2018-02-09 16:16:45 +03:00
Evgeny Kochetkov
b4fb2f1e7a test(xod-client-electron): func tests about saving o xodball 2018-02-06 17:02:01 +03:00
Evgeny Kochetkov
a666fb32fb test(xod-client-electron): func test about saving a multi-file project to disk 2018-02-05 18:01:56 +03:00
Kirill Shumilov
e4f6913882 refactor(xod-client-electron): reduced code duplication 2018-02-05 15:55:39 +03:00
Kirill Shumilov
baa64152bc chore(xod-client-electron): fix test to wait for a message that appeared for a some time 2018-02-02 16:28:31 +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
Victor Nakoryakov
5a1f37a9b5 tweak(xod-client): make main menu items consistent, follow OS guidelines 2018-01-18 17:14:30 +03:00
Kirill Shumilov
8800d7156d style(xod-client): update and unify basic styles (font-sizes, colors) 2018-01-16 16:51:52 +03:00
Evgeny Kochetkov
f5376292b9 chore(xod-client-electron, xod-client-browser): test ui-related using puppeteer instead of spectron 2018-01-12 15:09:28 +03:00
Kirill Shumilov
40b29fd915 feat(xod-client): implement contextmenu in the Project Browser, add Add Library button to ProjectBrowser PanelToolbar, update tests to work properly with new contextmenu & replace title attributes in PatchGroupItems with data-id attributes 2017-12-14 11:52:07 +03:00
Evgeny Kochetkov
313c6ed145 test(xod-client-electron): remove unneeded assertion 2017-12-11 18:15:20 +03:00
Kirill Shumilov
dffefb92b7 test(xod-client-electron): add waitForExist to avoid failing test on installing library suite 2017-11-29 14:31:34 +03:00
Kirill Shumilov
a007d3917e test(xod-client-electron): add waiting for rendering of Editor component in electron functional tests to avoid failing of tests on slower machines (like Travis) 2017-11-29 13:25:53 +03:00
Evgeny Kochetkov
84f33c372f fix(xod-client): safer access to current tab properties
Closes #904
2017-11-29 11:22:52 +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
b381b62e72 test(xod-client-electron): add functional tests aboud saving project/libraries 2017-11-22 12:08:47 +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
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
Evgeny Kochetkov
bd26bb2618 chore(infra): update node, yarn, lerna; use yarn workspaces
Closes #805
2017-10-21 10:00:44 +03:00
Kirill Shumilov
50d56c999a test(xod-client-electron): tweak func test for deleting patch, that checks that tab is removed too 2017-10-19 19:10:18 +03:00
Kirill Shumilov
10921e6a34 test(xod-client-electron): add functional test for deleting patch 2017-10-19 19:10:18 +03:00
Evgeny Kochetkov
5a1872f4f0 test(xod-client-electron): remove redundant before 2017-10-19 15:41:36 +03:00
Evgeny Kochetkov
ed3def4832 chore(xod-client-electron): remove unused fixture 2017-10-11 16:16:53 +03:00
Evgeny Kochetkov
ff9d3c88a2 feat(xod-client, xod-arduino): implement defer-* nodes to allow feedback loops
Closes #733
2017-10-11 16:16:53 +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
Victor Nakoryakov
2f9fe3f94b fix(workspace,rt/c++): erradicate a repeating typo 2017-09-28 19:47:24 +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
Victor Nakoryakov
27b07451a5 test(rt/c++): update test fixtures 2017-08-31 18:47:28 +03:00
Kirill Shumilov
123702e3af test(xod-client-electron): fix functional test 2017-08-31 13:56:55 +03:00
Victor Nakoryakov
3c172e44ea fix(rt/c++): provide dtostrf function for all platforms 2017-08-30 23:10:35 +03:00
Victor Nakoryakov
981902fff6 optimize(xod-arduino): toposort nodes in-place 2017-08-30 01:00:52 +03:00
Victor Nakoryakov
7c2304a9ff test(xod-arduino): update test fixtures 2017-08-24 17:48:25 +03:00
Evgeny Kochetkov
50ec14137e feat(xod-client): switch from slots to grid
Closes #730
2017-08-23 19:45:48 +03:00
Evgeny Kochetkov
ddd67034da feat(xod-arduino): do not allow native nodes with more than 7 outputs 2017-08-02 23:38:21 +03:00
Victor Nakoryakov
bada494260 fix(rt/c++): missing entries of refactoring 6d20c35
Some Inputs::XXX and Outputs::YYY were not renamed to input_XXX and
output_YYY
2017-07-31 13:51:11 +03:00
Victor Nakoryakov
ca84690248 refactor(rt/c++): rename root namespace (_program → xod) 2017-07-28 12:18:31 +03:00
Victor Nakoryakov
675d87b3f1 test(xod-client-electron): update blink.cpp fixture 2017-07-28 12:18:31 +03:00
Victor Nakoryakov
54b138dc01 feat(rt/c++): hide State* arg of evaluate
The minority of nodes that deal with internal state now should call
`getState` to access their state. On other end all stateless nodes don’t
have to carry `state` argument in their `evaluate` signature.

Closes #565
2017-07-28 12:18:31 +03:00
Evgeny Kochetkov
8dff698b25 test(xod-client-electron): add functional test for creating blink patch
Closes #533
2017-07-25 12:48:01 +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
7500335f2b tweak(xod-client-electron): update classnames in functional tests 2017-06-13 12:01:26 +03:00
Victor Nakoryakov
627cf16377 test(xod-client-electron): setup functional test tools 2017-05-30 17:21:53 +03:00