Commit graph

1475 commits

Author SHA1 Message Date
Martin Hermant
9e5e3999ec fix OSC bug where multiple props on the same widget cannot be updated if they share the same address 2018-10-19 10:50:31 +02:00
jean-emmanuel
dc3578e9cc resolve props: fix json heuristic (missing tab/new-line as valid 1st char) 2018-10-19 09:08:02 +02:00
jean-emmanuel
ad246264bf Merge branch 'master' into clone-refactor-2 2018-10-18 17:30:21 +02:00
jean-emmanuel
2d5643feaf editor: at last a fix that works to avoid data shifting on editor.undo 2018-10-18 17:01:02 +02:00
jean-emmanuel
e729509d25 clone: avoid resize check when not necessary 2018-10-18 15:13:55 +02:00
jean-emmanuel
60a304d949 clone refactor: typo 2018-10-18 13:28:50 +02:00
jean-emmanuel
01c90da246 clone refactor: use proper diff to define which properties need to be checked by inner clone 2018-10-18 13:21:59 +02:00
jean-emmanuel
f1294ff575 clone refactor: missing onremove unbind 2018-10-18 12:46:15 +02:00
jean-emmanuel
5cc5212b50 clone refactor: don't destroy clone on target's removal, let clone update itself on target update 2018-10-18 12:35:21 +02:00
jean-emmanuel
9a0c45bd15 updatewidget: rm unused "remote" option 2018-10-18 11:11:45 +02:00
jean-emmanuel
16bd7de23f editor: only save/restore scroll states at the very beginning and end of editing routines 2018-10-18 11:08:01 +02:00
jean-emmanuel
a9689d48f6 editor: don't save null scroll states 2018-10-18 10:59:09 +02:00
jean-emmanuel
41d4b2b635 widget: better regexp for @{} syntax 2018-10-18 10:41:11 +02:00
jean-emmanuel
0b41bd5532 resolve-props: better heuristic (take all possible 1st char into account) 2018-10-18 10:15:12 +02:00
jean-emmanuel
8395067565 resolve-props: avoid json parse using simple heuristic (big perf hit in widget init) 2018-10-18 10:02:43 +02:00
jean-emmanuel
d7be252b79 editor: fix broken mod+arrowDown by mistake 2018-10-18 08:56:12 +02:00
jean-emmanuel
9c9a71ac87 fader: missing meter removal 2018-10-18 00:36:12 +02:00
jean-emmanuel
58393a7765 editor: better diff patch/unpatch processing 2018-10-17 23:19:03 +02:00
jean-emmanuel
f3be43b925 editor: adapt sortable children list callback 2018-10-17 23:18:38 +02:00
jean-emmanuel
1dfcc18927 editor: mod+arrow: avoid mutatin widget children list 2018-10-17 22:51:13 +02:00
jean-emmanuel
854680f415 computed value help: pretty print value 2018-10-17 18:56:41 +02:00
jean-emmanuel
97add283d8 Merge commit 'refs/pull/388/head' of github.com:jean-emmanuel/open-stage-control into computed-value 2018-10-17 18:55:51 +02:00
jean-emmanuel
5acd6bf8cf editor: change diffing algo for one that does unpatch well 2018-10-17 18:18:27 +02:00
jean-emmanuel
16a05e156c editor: fix paste widget 2018-10-17 16:59:08 +02:00
Martin Hermant
7663b91fc2 Merge branch 'pure' into pr/show-computed-values-in-help 2018-10-17 16:51:37 +02:00
Martin Hermant
89efa186b5 show computed value in help 2018-10-17 16:48:26 +02:00
jean-emmanuel
c467cd593e editor: don't reuse if undo fails to find parent 2018-10-17 16:38:25 +02:00
jean-emmanuel
690a031c3d editor: error in sidepanel child remover 2018-10-17 15:51:21 +02:00
jean-emmanuel
3a35d5a0a1 editor: avoid data shifting, reset reused children props 2018-10-17 15:34:06 +02:00
jean-emmanuel
ee559241a9 editor: avoid mutating widget's children list twice 2018-10-17 14:53:57 +02:00
jean-emmanuel
4811b2c15b editor: fix sidepanl add/remove children action 2018-10-17 14:42:10 +02:00
jean-emmanuel
f9d5e4b93a editor: missing widget removal 2018-10-17 14:21:04 +02:00
jean-emmanuel
87926a2147 editor: don't try to retrieve props from parents when widget is root 2018-10-17 14:11:11 +02:00
jean-emmanuel
aace4d5111 editor: rm old code 2018-10-17 14:05:37 +02:00
jean-emmanuel
52a3665770 matrix: dynamic children update fix 2018-10-17 13:57:07 +02:00
jean-emmanuel
26099e5152 editor: prevent selecting 1st child when not editable 2018-10-17 13:56:41 +02:00
jean-emmanuel
e2d5938145 editor: fix state save at widget update when reuse is false 2018-10-17 13:56:34 +02:00
jean-emmanuel
4c87ff0237 multifader: reset default unit 2018-10-17 13:24:44 +02:00
jean-emmanuel
171544a3d2 editor: reuse children in almost every case 2018-10-17 13:14:24 +02:00
jean-emmanuel
4742303418 clone: fix memory leak 2018-10-17 13:13:26 +02:00
jean-emmanuel
da8a77e577 matrix: prevent "props" from overfeeding widget properties when it dosen't resolve 2018-10-17 13:06:32 +02:00
jean-emmanuel
bff8ab69ba editor: reuse children when possible 2018-10-16 20:39:01 +02:00
jean-emmanuel
85c5b85972 clone: fix regression not applying not-editable to all children 2018-10-16 16:23:35 +02:00
jean-emmanuel
20128b3327 formula: better regexp (no need to escape object closing brackets) 2018-10-16 12:35:03 +02:00
jean-emmanuel
2ca4ff2715 canvas: remove useless dom color request 2018-10-16 11:11:37 +02:00
jean-emmanuel
6da2d1e425 events: missing context passing 2018-10-16 10:53:34 +02:00
jean-emmanuel
ec34aed028 events: remove wildcard, use widget's hash as context only when adding/removing events 2018-10-16 10:50:26 +02:00
jean-emmanuel
4204682ca4 Merge pull request #383 from MartinHN/pr/clone_refactor
WIP : clone refactor
2018-10-16 09:52:16 +02:00
jean-emmanuel
4a352efa00 maths: add extend(x, y) for merging two objects (#387) 2018-10-15 22:50:19 +02:00
jean-emmanuel
51aefb7b94 doubleTap: make sure callback is called after draginit callbacks (fixes snap sliders doubleTap, #386) 2018-10-15 22:32:31 +02:00