Commit graph

1028 commits

Author SHA1 Message Date
jean-emmanuel
6840dc00d0 widgets: add linkId option where missing, ⚠️ remove plot/input widgetId option 2018-02-13 09:51:45 +01:00
jean-emmanuel
85d255d5a4 plot: add dots option 2018-02-12 17:31:32 +01:00
jean-emmanuel
5c4852e1af linkId: can be an array 2018-02-12 17:29:14 +01:00
jean-emmanuel
d5f3856985 knob: typo 2018-02-12 17:16:40 +01:00
jean-emmanuel
4875712965 knob: safe gradient color 2018-02-12 17:03:49 +01:00
jean-emmanuel
c59d7f12d4 prop maths: allow escaping brackets in math expressions 2018-02-12 15:40:51 +01:00
jean-emmanuel
4423ecd3e9 css: support for @keyframes 'to' and 'from' 2018-02-12 15:40:16 +01:00
jean-emmanuel
76759568cc parser: parse css @media queries and @keyframes properly (issue #150) 2018-02-12 13:42:14 +01:00
jean-emmanuel
8722357350 prop inheritance: fix typo breaking multiple @{} references in a single prop definition 2018-02-12 09:44:02 +01:00
jean-emmanuel
03d5da9339 plot: prevent crash when there is only one point in array (issue #148) 2018-02-12 00:01:47 +01:00
jean-emmanuel
e2be66f597 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
dd4f644b5c editor: remove bad bad eval 2018-02-10 18:07:09 +01:00
jean-emmanuel
d22e67a971 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
0248017183 formula: don't throw errors when parsing fail (issue #145) 2018-02-09 19:22:29 +01:00
jean-emmanuel
b2ba508854 ipc: clean and use same method to check connection state on both sides 2018-02-09 11:00:43 +01:00
jean-emmanuel
fad164ed48 editor: modernize selected widget's border 2018-02-09 10:01:12 +01:00
jean-emmanuel
a3d0075f12 remote control: adapt /EDIT* to new ipc 2018-02-09 00:14:47 +01:00
jean-emmanuel
73bc2e4187 ipc: remove socket.io, rewrite ultra slim ipc 2018-02-08 23:22:33 +01:00
jean-emmanuel
874d6f04f9 switcher: missing color prop update callback 2018-02-07 17:18:46 +01:00
jean-emmanuel
66af44a2ce props: fix dynamic preArgs and address 2018-02-07 16:48:55 +01:00
jean-emmanuel
99e1413162 matrices: fix preArgs, address and color to dynamic (use prop math magic) 2018-02-07 16:09:03 +01:00
jean-emmanuel
ba8d2b476d dynamic props: handle undeclared children case for color prop update 2018-02-07 15:52:19 +01:00
jean-emmanuel
453f2b6f0f props: dynamic color fixes 2018-02-07 14:42:28 +01:00
jean-emmanuel
85a381ec3e range: fix spring not taking range min/max into account 2018-02-07 13:21:52 +01:00
jean-emmanuel
c6207cacd2 xy: fix doubleTap not setting value correctly (issue #143) 2018-02-07 13:21:46 +01:00
jean-emmanuel
8c24f5e1a6 slider: code style fix 2018-02-07 13:17:29 +01:00
jean-emmanuel
d32a8a3105 dropdown: make values dynamic, drop unreleased support for sendKey and receiving key (issue #140) 2018-02-07 09:50:21 +01:00
jean-emmanuel
b6449c5a8f widget props: css: remove new lines to allow multiline anywhere in css 2018-02-06 22:26:58 +01:00
jean-emmanuel
0d1180dc25 math props: handle resultsets 2018-02-06 22:26:33 +01:00
jean-emmanuel
4099dea1cf props: make panels/tab's color dynamic (trigger upper nav update and inner canvas style cache) 2018-02-06 15:09:50 +01:00
jean-emmanuel
c383f588bc props: just return undefined in case of circular loop 2018-02-06 14:40:04 +01:00
jean-emmanuel
7e9db4eec3 props inheritance: tracable error when circular reference 2018-02-06 14:30:54 +01:00
jean-emmanuel
89801c7f1a js: fix dynamic props static override 2018-02-06 14:27:22 +01:00
jean-emmanuel
f5a8cabe99 js: rename ugly base class names/files 2018-02-06 14:14:43 +01:00
jean-emmanuel
eec1901372 props: store dynamic props as static variables 2018-02-06 14:08:23 +01:00
jean-emmanuel
6b5cba80e1 push: fix osc sendValue compat with /GET 2018-02-06 14:07:02 +01:00
jean-emmanuel
fa0713f079 prop inheritance: let widget register to their parent's prop updates since these can be dynamic 2018-02-06 13:39:38 +01:00
jean-emmanuel
c3dc2e21f1 dropdown: long text overflow fix 2018-02-06 12:14:08 +01:00
jean-emmanuel
074c65a306 property inheritance: fix ambigous event name triggers, avoid lock in case of circular widget recreation loop 2018-02-06 12:06:56 +01:00
jean-emmanuel
058dfd4676 props inheritance: default @{widgetId} to @{widgetId._value} 2018-02-05 15:45:13 +01:00
jean-emmanuel
b14263d5c3 math props: always stringify to keep object intact and add unpack() function for formatting arrays 2018-02-05 15:09:39 +01:00
jean-emmanuel
1166922f8e editor: draggable helper zindex fix 2018-02-05 12:23:19 +01:00
jean-emmanuel
96f8ffc129 state: always trigger "changed" when restoring state to avoid some edge cases fails 2018-02-05 12:17:57 +01:00
jean-emmanuel
c99633a0bb props inheritance: allow this/parent references for dynamic props 2018-02-05 11:22:31 +01:00
jean-emmanuel
67e554c494 widgets: implement some dynamic props 2018-02-05 09:45:25 +01:00
jean-emmanuel
5c5adebabb widgets: osc: allow changing server-side cached osc props without sending all of them 2018-02-04 23:41:42 +01:00
jean-emmanuel
d00eedc5f8 widget base: props: add a list of dynamic props that don't need any action when changed to take effect 2018-02-04 23:25:42 +01:00
jean-emmanuel
1e7d13c279 widgets: props: add experimental #{} syntax for anywhere mathjs expression 2018-02-04 23:19:53 +01:00
jean-emmanuel
53b3dddade property inheritance: always check 'value' prop first if it's potentially chanched (to apply it asap) 2018-02-04 17:25:58 +01:00
jean-emmanuel
9c04c778e5 property inheritance: handle prop changing in a way that can be overrided (e.g. in case reCreateWidget is not needed) 2018-02-04 16:16:29 +01:00