Commit Graph

2646 Commits

Author SHA1 Message Date
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
43cfffc919 refactor(rt/c++): introduce Context ctx abstraction layer
Change standard signature of native nodes from

void evaluate(NodeId nid)

to

void evaluate(Context ctx)

Currently, this is a pure fiction. But it would allow to introduce
required abstraction layer for lists lifting in which case
Context ≠ NodeId.
2017-07-28 12:18:31 +03:00
Victor Nakoryakov
6d20c35beb fix(rt/c++): workaround pin names and global macros collision
Closes #650
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
7c5dd0e4d4 Merge pull request #694 from xodio/fix-692-bound-values-propagation
Propagate bound values to nested patches
2017-07-28 11:49:29 +03:00
Evgeny Kochetkov
a0283dc63b fix(xod-project): propagate bound values to nested patches 2017-07-27 21:06:09 +03:00
Evgeny Kochetkov
fcca255119 Merge pull request #683 from xodio/test-make-tests-independent-of-hmdef
Make tests not dependent on hm-def being turned on
2017-07-25 17:12:55 +03:00
Evgeny Kochetkov
0db61622f3 fix(xod-fs): make ‘resolveWorkspacePath’ behave correctly when hm-def is disabled 2017-07-25 14:22:34 +03:00
Evgeny Kochetkov
a192392622 fix(xod-func-tools): fix currying of ‘hasType’ 2017-07-25 14:22:34 +03:00
Evgeny Kochetkov
ca2c2e0b60 test(xod-project): throw away tests that depend on hm-def 2017-07-25 14:22:34 +03:00
Evgeny Kochetkov
b06ffeeff8 Merge pull request #684 from xodio/test-533-blink-functional-test-for-electron-ide
Blink functional test for Electron IDE
2017-07-25 13:15:06 +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
Evgeny Kochetkov
c033a66b55 tweak(xod-client): add some classes and attributes for functional testing 2017-07-25 11:56:43 +03:00
Evgeny Kochetkov
71fcd5292a feat(xod-client): show action buttons on selected ProjectBrowser items 2017-07-25 11:56:43 +03:00
Alexander Matsievsky
1dda98c867 Merge pull request #687 from xodio/feat-686-allow-orgmembers-to-publish-lib-versions
feat(xod-cli): allow orgmembers to publish lib versions
2017-07-25 11:11:55 +03:00
Alexander Matsievsky
1e7365963e feat(xod-cli): allow orgmembers to publish lib versions 2017-07-25 10:53:20 +03:00
Victor Nakoryakov
413d079095 Merge pull request #685 from xodio/release-0.11.0
Release 0.11.0
2017-07-24 19:49:27 +03:00
Victor Nakoryakov
3d98fedd04 chore(infra): release 0.11.0 v0.11.0 2017-07-24 18:49:28 +03:00
Victor Nakoryakov
ebe1be6e8b Merge pull request #681 from xodio/doc-update-changelog
Update changelog for upcoming v0.11.0
2017-07-24 16:31:40 +03:00
Victor Nakoryakov
679c484a7e doc(changelog): update for upcoming v0.11.0 2017-07-24 16:03:29 +03:00
Kirill Shumilov
7b41673aeb Merge pull request #682 from xodio/feat-528-enable-xod-client-electron-artifacts-auto-update
Add auto updater into electron version of IDE
2017-07-24 16:02:49 +03:00
Kirill Shumilov
6e59c665a0 feat(xod-client-browser, xod-client-electron): show current version in the Help menu (not clickable) 2017-07-24 15:17:34 +03:00
Alexander Matsievsky
89f234e684 feat(xod-client-electron): enable xod-client-electron artifacts auto-update 2017-07-24 15:17:34 +03:00
Kirill Shumilov
f5dda240c0 tweak(xod-client): make PopupAlert shows without button if its not closable and tweak styles to show white links inside Modals 2017-07-24 14:02:23 +03:00
Kirill Shumilov
f119a73f09 tweak(xod-client): make SnackBar messages closes after click on any button 2017-07-24 14:02:23 +03:00
Evgeny Kochetkov
78da236d33 Merge pull request #679 from xodio/feat-file-formats-compatibility
Allow optional fields and enable maintaining compatibility with old file formats
2017-07-24 12:17:46 +03:00
Evgeny Kochetkov
b6a092ccdd refactor(xod-func-tools): no need to check for two Either type ids anymore 2017-07-20 12:56:26 +03:00
Evgeny Kochetkov
01530e6c47 refactor(xod-project, xod-fs): use ‘validateSanctuaryType’ util for type validation 2017-07-20 12:51:02 +03:00
Evgeny Kochetkov
395f0ced24 feat(xod-func-tools): ‘validateSanctuaryType’ util that is easy to compose and returns a proper Either 2017-07-20 12:49:12 +03:00
Evgeny Kochetkov
83835220bd feat(xod-fs): optional fields for ‘project.xod’ files 2017-07-20 12:11:19 +03:00
Evgeny Kochetkov
ea8bbdbacf feat(xod-func-tools): add ‘eitherToPromise’ util 2017-07-20 12:11:19 +03:00
Evgeny Kochetkov
14cd8c6d53 chore(xod-project): cover optionalFieldsUtils with hm-def 2017-07-20 12:11:19 +03:00
Evgeny Kochetkov
e89ecf33ce refactor(xod-func-tools, xod-fs, xod-project): move ‘substractObject’ to xod-func-tools 2017-07-20 12:11:19 +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
Evgeny Kochetkov
bf4a53388a feat(xod-fs): validate patch contents when loading 2017-07-20 12:11:19 +03:00
Evgeny Kochetkov
a6219ff64b tweak(xod-func-tools): allow 'sanctuary-def/Either' to be accepted as Either 2017-07-20 12:11:18 +03:00
Evgeny Kochetkov
e547373ebd refactor(xod-fs): simplify loadProjectWithLibs 2017-07-20 12:11:18 +03:00
Evgeny Kochetkov
49c015a112 feat(xod-fs): omit default optional props when saving patches 2017-07-20 12:11:18 +03:00
Evgeny Kochetkov
482c1f5338 refactor(xod-client): use ‘xod-project’ functions for dealing with xodballs 2017-07-20 12:11:18 +03:00
Evgeny Kochetkov
eb402be314 feat(xod-project): move functions for converting Project to/from xodball to ‘xod-project’ 2017-07-20 12:11:18 +03:00
Evgeny Kochetkov
4c93400ae7 feat(xod-client): support adding/omitting optional xodball fields on import/export 2017-07-20 12:11:18 +03:00
Evgeny Kochetkov
9b8c08b26c feat(xod-project): add utils to add missing optional fields and omit empty optional fields 2017-07-20 12:11:18 +03:00
Evgeny Kochetkov
3292324b9b feat(xod-fs): allow some fields in ‘patch.xodp’ files to be optional 2017-07-20 12:11:18 +03:00
Evgeny Kochetkov
6e5dbda8b7 Merge pull request #680 from xodio/feat-buttons-in-snackbar-messages
feat(xod-client): allow snack bar messages have buttons and not hide on timeout
2017-07-20 12:01:39 +03:00
Evgeny Kochetkov
8b316b0b91 feat(xod-client): allow snack bar messages have buttons and not hide on timeout 2017-07-19 19:12:17 +03:00
Kirill Shumilov
87c3c7eb33 Merge pull request #678 from xodio/fix-675-default-bound-values
Fix extracting of default pin values into constant nodes
2017-07-17 21:08:05 +03:00
Kirill Shumilov
c56cb67a2b fix(xod-project): extract default values of pins into constant nodes 2017-07-17 19:24:40 +03:00
Alexander Matsievsky
4c2c9e8d47 Merge pull request #677 from xodio/chore-676-upgrade-project-to-node-v7101
chore(infra): upgrade project to node v7.10.1
2017-07-17 13:45:32 +03:00
Alexander Matsievsky
c5da2fb288 chore(infra): upgrade project to node v7.10.1 2017-07-17 13:26:44 +03:00