Commit graph

3555 commits

Author SHA1 Message Date
jean-emmanuel
58fbf274b8 matrices: fix wrong children preArgs 2018-02-15 09:46:08 +01:00
jean-emmanuel
8c479f3921 props: fix cache update > callback order logic 2018-02-15 09:42:17 +01:00
jean-emmanuel
42bc283bb2 editor: edit dynamic props faster 2018-02-15 09:32:11 +01:00
jean-emmanuel
7db0ae87b3 props: don't update cached props if not dynamic (the old value can be used in old-fashion remove callback) 2018-02-15 09:30:55 +01:00
jean-emmanuel
7dd7fcceca ipc: safe flush 2018-02-15 09:24:11 +01:00
jean-emmanuel
1a626c1f7e remote-edit: let widgets handle prop changing 2018-02-15 09:12:44 +01:00
jean-emmanuel
7f9b0a6427 strip: don't remove sendValue method as it can be used for remote control 2018-02-15 08:41:59 +01:00
jean-emmanuel
4e6c6bb8cd props: make css prop change call color prop change trigger properly 2018-02-14 21:47:03 +01:00
jean-emmanuel
ea8b69b944 tab/modal: force resize handlers to avoid blank canvas cached styles 2018-02-14 21:19:27 +01:00
jean-emmanuel
97ccf3dc38 widget: fix asyn module require regression 2018-02-14 20:50:05 +01:00
jean-emmanuel
2999aa7d25 canvas: style caching regression (always do it on resize) 2018-02-14 20:37:33 +01:00
jean-emmanuel
3898e0926e props: css & color fixes 2018-02-14 20:13:43 +01:00
jean-emmanuel
a5fbe2efe8 revert 1b8938ed76, it has nasty side effects, @{this} should be used anyway 2018-02-14 19:47:21 +01:00
jean-emmanuel
192a65acb5 widget: move container creation to base class to make related props dynamic 2018-02-14 19:43:26 +01:00
jean-emmanuel
1b8938ed76 prop inheritance: when id == this.id, interpret as this, do not look for another widget 2018-02-14 19:42:13 +01:00
jean-emmanuel
2a95bbf88d prop maths: espace multiline strings 2018-02-14 10:02:04 +01:00
jean-emmanuel
6b51dcf113 editor: mark dynamic props 2018-02-13 17:21:40 +01:00
jean-emmanuel
f216db4530 dropdown: keep selected value when updating values list (issue #140) 2018-02-13 15:16:57 +01:00
jean-emmanuel
686023ad01 plots: safe object check and add json parse to eq 2018-02-13 13:16:53 +01:00
jean-emmanuel
b0c020405a plot: prevent json parse attempt to throw 2018-02-13 13:14:37 +01:00
jean-emmanuel
52ca9ad7e6 plots: backward compat fix 2018-02-13 12:51:47 +01:00
jean-emmanuel
501bec6135 mathjs: update to v4rc 2018-02-13 12:36:31 +01:00
jean-emmanuel
9badda730f svg: change path percents support to use unambiguous notation: %x and %y 2018-02-13 10:59:54 +01:00
jean-emmanuel
aacf3ea22b svg: secure input 2018-02-13 10:43:27 +01:00
jean-emmanuel
4128548379 svg: remove noborder option and add minimal doc 2018-02-13 10:31:25 +01:00
jean-emmanuel
3296647790 svg: add svg widget file 2018-02-13 10:04:04 +01:00
jean-emmanuel
4450c7ef72 plots: add svg widget draft 2018-02-13 10:02:41 +01:00
jean-emmanuel
3981f93d75 widgets: add linkId option where missing, ⚠️ remove plot/input widgetId option 2018-02-13 09:51:45 +01:00
jean-emmanuel
bb35dbee98 plot: add dots option 2018-02-12 17:31:32 +01:00
jean-emmanuel
74bf5bc85d linkId: can be an array 2018-02-12 17:29:14 +01:00
jean-emmanuel
4cecfd879f knob: typo 2018-02-12 17:16:40 +01:00
jean-emmanuel
bbcb620a51 knob: safe gradient color 2018-02-12 17:03:49 +01:00
jean-emmanuel
946e144ddf prop maths: allow escaping brackets in math expressions 2018-02-12 15:40:51 +01:00
jean-emmanuel
36cc729f5f css: support for @keyframes 'to' and 'from' 2018-02-12 15:40:16 +01:00
jean-emmanuel
762f5ab61d parser: parse css @media queries and @keyframes properly (issue #150) 2018-02-12 13:42:14 +01:00
jean-emmanuel
08351ca290 prop inheritance: fix typo breaking multiple @{} references in a single prop definition 2018-02-12 09:44:02 +01:00
jean-emmanuel
36301515c9 plot: prevent crash when there is only one point in array (issue #148) 2018-02-12 00:01:47 +01:00
jean-emmanuel
fee7385dec props maths: cache compiled expressions and feed them with changing vars to improve resolve speed 2018-02-11 15:20:08 +01:00
jean-emmanuel
44cdd913c1 editor: remove bad bad eval 2018-02-10 18:07:09 +01:00
jean-emmanuel
cc3dc5712b errors: make widget hold prop errors and show them in the editor instead of throwing 2018-02-09 20:15:23 +01:00
jean-emmanuel
1d36b3b7ff formula: don't throw errors when parsing fail (issue #145) 2018-02-09 19:22:29 +01:00
jean-emmanuel
a24f8c53a7 ipc: clean and use same method to check connection state on both sides 2018-02-09 11:00:43 +01:00
jean-emmanuel
470804e695 editor: modernize selected widget's border 2018-02-09 10:01:12 +01:00
jean-emmanuel
7e8bfc5dbd remote control: adapt /EDIT* to new ipc 2018-02-09 00:14:47 +01:00
jean-emmanuel
a582bb2040 ipc: remove socket.io, rewrite ultra slim ipc 2018-02-08 23:22:33 +01:00
jean-emmanuel
ef51702c05 switcher: missing color prop update callback 2018-02-07 17:18:46 +01:00
jean-emmanuel
2a4d515564 props: fix dynamic preArgs and address 2018-02-07 16:48:55 +01:00
jean-emmanuel
dbf6b7f0ba matrices: fix preArgs, address and color to dynamic (use prop math magic) 2018-02-07 16:09:03 +01:00
jean-emmanuel
cb6b91a4e7 dynamic props: handle undeclared children case for color prop update 2018-02-07 15:52:19 +01:00
jean-emmanuel
ac300a1978 props: dynamic color fixes 2018-02-07 14:42:28 +01:00