Commit Graph

24 Commits

Author SHA1 Message Date
Victor Nakoryakov
27b07451a5 test(rt/c++): update test fixtures 2017-08-31 18:47:28 +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
d371809bff chore(workspace): update main standard projects for new layout 2017-08-24 11:54:32 +03:00
Evgeny Kochetkov
267af7c719 fix(xod-arduino): do not mark pulses as dirty on boot
Fixes #699
2017-08-02 19:10:02 +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
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
d77321cded chore(workspace): update default projects 2017-07-12 14:41:17 +03:00
Evgeny Kochetkov
1e643ea741 feat(xod-project): support binding input pulses to ‘ON_BOOT’ and ‘CONTINUOUSLY’ 2017-07-12 10:59:41 +03:00
Evgeny Kochetkov
95148b468a refactor(xod-arduino): mark all nodes as dirty on start 2017-07-11 20:05:41 +03:00
Evgeny Kochetkov
5dddb5a917 chore(workspace): update fixtures for included projects 2017-07-07 15:55:17 +03:00
Evgeny Kochetkov
668d7da469 chore(workspace): adapt included projects to pulse pins removal 2017-07-07 15:53:29 +03:00
Evgeny Kochetkov
9d4f347af0 refactor(stdlib): remove UPD pin from ‘xod/core/digital-output’ patch 2017-07-07 12:46:53 +03:00
Evgeny Kochetkov
136e4b3dc4 refactor(stdlib): remove RDY pin from ‘xod/core/digital-input’ patch 2017-07-06 20:34:00 +03:00
Alexander Matsievsky
c9d8c7d9d0 feat(xod-cli): implement xodc install/publish for pm.xod.io (#577)
Closes #575.
2017-06-15 13:09:13 +03:00
Victor Nakoryakov
5e20d63206 refactor(workspace): unify order of pins in stdlib 2017-06-09 16:33:18 +03:00
Victor Nakoryakov
ae9090d956 test(xod-arduino): update transpiler test fixtures 2017-06-09 16:33:18 +03:00
Victor Nakoryakov
89d880482c test(workspace): update test fixtures for arduino 2017-06-06 12:27:11 +03:00
Victor Nakoryakov
5955fb8489 test(xod-arduino): add few integration tests 2017-06-01 18:11:28 +03:00
Victor Nakoryakov
4f993b06d2 feat(workspace): add two-button-switch example 2017-05-30 12:09:53 +03:00