Commit Graph

2154 Commits

Author SHA1 Message Date
Evgeny Kochetkov
b28bee6c2f tweak(xod-fs): add test to check welcome-to-xod project 2017-05-18 14:01:00 +03:00
Evgeny Kochetkov
fb59dab8b9 tweak(xod-fs): types for project.xod and patch.xodp contents 2017-05-18 14:01:00 +03:00
Evgeny Kochetkov
4a4346e3c2 fix(xod-fs): store nodes and links as arrays 2017-05-18 14:01:00 +03:00
Evgeny Kochetkov
70315a0f31 Merge pull request #507 from xodio/tweak-add-explicit-casting-rules
add explicit casting rules to xod-project
2017-05-18 13:32:18 +03:00
Evgeny Kochetkov
d0d493bcf7 tweak(xod-project): add HM signature to canCastTypes util 2017-05-18 12:37:34 +03:00
Evgeny Kochetkov
fba5233f29 tweak(xod-project): express some conceptual constrains about type casting as tests 2017-05-18 12:37:34 +03:00
Evgeny Kochetkov
e3a4893fff tweak(xod-client): use rules from xod-projects when detecting pins linkability 2017-05-18 12:37:34 +03:00
Evgeny Kochetkov
4c8fedb5d1 tweak(xod-project): add a lookup table for type casting rules 2017-05-18 12:37:34 +03:00
Kirill Shumilov
36b1bf13f5 Merge pull request #502 from xodio/feat-467-workspace
Coherent workspace management
2017-05-17 19:14:23 +03:00
Kirill Shumilov
a9bc0caa76 chore(xod-client-electron): update test descriptions 2017-05-17 18:24:40 +03:00
Kirill Shumilov
9bcf455cf1 test(xod-fs): add test for getLocalProjects 2017-05-17 16:09:33 +03:00
Kirill Shumilov
f3f97ac2cb refactor(xod-fs): make tests smaller and fix test descriptions 2017-05-17 16:09:19 +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
e1d3bd965b refactor(xod-client-electron): replace constants in tests with strings 2017-05-17 14:57:15 +03:00
Kirill Shumilov
e70510e7d5 fix(xod-client-electron): fix bug on creating&saving project 2017-05-17 14:57:01 +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
5be3fbe0be fix(xod-client-electron): fix bug with creating workspace without question on IDE launch, fix naming of imported functions in tests 2017-05-17 12:42:01 +03:00
Kirill Shumilov
48ac0f21ab refactor(xod-fs,xod-client-electron,xod-client): rename action SHOW_CODE_REQUESTED, rename doesDirectory/FileExist 2017-05-16 21:27:16 +03:00
Kirill Shumilov
b918259594 refactor(xod-client-electron): move yarn copy-workspace into build script 2017-05-16 20:58:36 +03:00
Kirill Shumilov
5f393c66fb infra(xod): remove dist_xod/ from .gitignore 2017-05-16 20:58:02 +03:00
Kirill Shumilov
e74ca5d9d9 refactor(xod-fs,xod-client-electron,workspace): fix merging conflicts, update some hunks of code to work properly with eradicated v1 of xod-project 2017-05-16 18:07:06 +03:00
Kirill Shumilov
435decd025 infra(xod): update yarn.lock 2017-05-16 14:03:50 +03:00
Kirill Shumilov
6a2277ea15 fix(xod-client,xod-client-browser,xod-client-electron): fixed showCode action and update consumers to show code properly 2017-05-16 14:03:50 +03:00
Kirill Shumilov
4a02c5af38 infra(xod): update yarn.lock 2017-05-16 14:03:50 +03:00
Kirill Shumilov
77d2ff55e6 refactor(xod-client,xod-client-electron): make popups show/hide on actual actionType, not an abstract commands like “SHOW_POPUP” 2017-05-16 14:03:24 +03:00
Kirill Shumilov
7319fb8f99 refactor(xod-client-electron): make function doesWorkspaceDirExist simplier 2017-05-16 14:01:06 +03:00
Kirill Shumilov
52c59e276f fix(travis): fix travis before_script 2017-05-16 14:01:06 +03:00
Kirill Shumilov
3c9e10d1c8 fix(travis): fix travis before_script 2017-05-16 14:01:06 +03:00
Kirill Shumilov
0adbd95c4a infra(xod): add dist_xod into .gitignore 2017-05-16 14:01:06 +03:00
Kirill Shumilov
5532db4ed7 fix(travis): fix travis before_script 2017-05-16 14:01:06 +03:00
Kirill Shumilov
596375c893 refactor(xod-client-electron): rename isModal to isDisposable and fix cancelable -> cancellable 2017-05-16 14:01:06 +03:00
Kirill Shumilov
9e33535605 tweak(xod-client-electron): make console.error message more detailed 2017-05-16 14:00:38 +03:00
Kirill Shumilov
5233aa0433 fix(xod-client-electron): replace old function name to new (subscribeSaveProject -> subscribeToSaveProject) 2017-05-16 14:00:38 +03:00
Kirill Shumilov
009f2fec30 refactor(xod-client-electron): remove redundant function filterLocalProjects and make tests more clean 2017-05-16 14:00:38 +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
1690ce5ba4 refactor,feat(xod-fs): add getLocalProjects function, tweak tests, remove fs-promise (fs-extra already promised) 2017-05-16 14:00:38 +03:00
Kirill Shumilov
872cd61623 fix(xod-client-electron): fix bug caused by renaming arguments path into workspacePath 2017-05-16 13:56:03 +03:00
Kirill Shumilov
c725d16475 chore(xod-client-electron): rename subscribe* -> subscribeTo* functions and FS -> fs, P -> path 2017-05-16 13:56:03 +03:00
Kirill Shumilov
c7036a283d chore(xod-client-electron): remove trash comments 2017-05-16 13:56:03 +03:00
Kirill Shumilov
c1132ec8d2 chore(travis): remove repetition from before_script, that runs xvfb on linux 2017-05-16 13:56:03 +03:00
Kirill Shumilov
0a865f0f3c refactor(xod-client-electron): make constant PATH_TO_DEFAULT_WORKSPACE depends on __dirname 2017-05-16 13:56:03 +03:00
Kirill Shumilov
c6e5f630ee refactor(xod-fs,xod-client-electron): remove last ’s’ from function names isDirectoryExists and isFileExists 2017-05-16 13:56:03 +03:00
Kirill Shumilov
e5c2379d8a fix(travis): add conditions into before_script to run xvfb only on linux OS 2017-05-16 13:50:18 +03:00
Kirill Shumilov
b1a93f9dca fix(travis): add before_script to .travis.yml to properly run electron-mocha tests 2017-05-16 13:50:18 +03:00
Kirill Shumilov
4d9b62fbaf feat(xod-client-electron): make SwitchWorkspace popup could be modal and CreateWorkspace always modal 2017-05-16 13:50:18 +03:00
Kirill Shumilov
dfeda2b48a refactor(xod-client-electron): get rid of obsolete reducers, actions, selectors 2017-05-16 13:50:18 +03:00
Kirill Shumilov
2abbaa65c9 fix(xod-client-electron): revert workspace libs to old working ones 2017-05-16 13:48:07 +03:00
Kirill Shumilov
8d99c23f16 fix(xod-client-electron): revert disabling of opened tab on IDE launch (there is a lot of work) 2017-05-16 13:48:07 +03:00
Kirill Shumilov
7da27ced81 chore(xod-client-electron): fix merging mistakes 2017-05-16 13:48:07 +03:00
Kirill Shumilov
3eeba9b0fb fix(xod-client): fix dumb mistake (accidentally write React instead of ComponentName) 2017-05-16 13:48:07 +03:00