Commit graph

2256 commits

Author SHA1 Message Date
jean-emmanuel
97cacd46ea editor: fix context menu regression 2018-01-12 14:57:47 +01:00
jean-emmanuel
3c83a35c37 events: fix tab-created (trigger parent directly) 2018-01-12 14:54:41 +01:00
jean-emmanuel
8c194be517 editor/widgets: centralize dom element to widget instance conversion (-> manager method) 2018-01-12 14:47:49 +01:00
jean-emmanuel
412866e417 events: restore "tab-created" usage 2018-01-12 13:14:06 +01:00
jean-emmanuel
a4266e2e76 events: handle "widget-created" event without dom, make widget auto register their children 2018-01-12 12:39:39 +01:00
jean-emmanuel
ae74946493 examples: fix keys (mathjs array zero-indexed) 2018-01-11 14:35:53 +01:00
jean-emmanuel
b96bf4f6f8 maths: don't import minified file as prod packaging doesn't work well with it 2018-01-11 14:19:19 +01:00
jean-emmanuel
25d4318e7f package: update deps 2018-01-11 14:07:36 +01:00
jean-emmanuel
c9354f3c78 canvas: objectify canvas queue and stop the rAF loop when idle 2018-01-11 13:57:13 +01:00
jean-emmanuel
c93db8b3c6 canvas: a bit smarter framerate handling + framerate url option 2018-01-11 10:15:09 +01:00
jean-emmanuel
77b3b6be85 canvas: redraw on resize one frame earlier 2018-01-10 23:57:49 +01:00
jean-emmanuel
aced94adfd events: missing widget "change" event migrations 2018-01-10 21:00:16 +01:00
jean-emmanuel
ead0d0f981 canvas: batch all canvas operations to optimize perfs 2018-01-10 20:07:23 +01:00
jean-emmanuel
80cf05b1d2 events: 🎆 migrate from jquery custom events to non-dom event emitter ("change" event ok) 2018-01-10 20:03:29 +01:00
jean-emmanuel
66ca153a34 docs: midi: typo 2018-01-10 14:20:35 +01:00
jean-emmanuel
eff2375a4b midi: define ipcSend before any possible use 2018-01-10 14:05:36 +01:00
jean-emmanuel
a6401b63e2 editor: use a shared tmp state to prevent a fresh "value" property value to be applied 2018-01-07 22:20:02 +01:00
jean-emmanuel
667c880745 property inheritance: on "value" update only send osc if there was a change event firing osc 2018-01-05 16:59:36 +01:00
jean-emmanuel
408945e399 parser: when applying "value" property, make widget emit "change" event 2018-01-05 16:58:36 +01:00
jean-emmanuel
e4fbb55d09 editor: handle "value" prop editing gracefully (just dont restore the widget's state, as the parser apply one already) 2018-01-05 16:57:19 +01:00
jean-emmanuel
17db9f5d77 doc: property inheritance 2018-01-05 16:49:18 +01:00
jean-emmanuel
370c73c7aa property inheritance: when updating "value", don't send osc if initial event is a widget sync-only "change" 2018-01-05 16:32:59 +01:00
jean-emmanuel
d86375f536 property inheritance: don't recreate the widget if only prop "value" has changed (call setValue)
-> this makes reverse inheritance work for a container's "value" property targetting its own children
2018-01-05 16:21:02 +01:00
jean-emmanuel
3cf45e9102 widgets: move widget instance dom reference storing to constructor 2018-01-05 16:19:49 +01:00
jean-emmanuel
dff4e252d3 editor: context menu: unfocus non-submenu item on mouseout 2018-01-04 22:56:23 +01:00
jean-emmanuel
ee7d167c53 editor: fix context menu regression (position correction) 2018-01-04 20:42:49 +01:00
jean-emmanuel
dda61f4641 editor: keep context menu items open when the mouse leaves 2018-01-04 20:12:46 +01:00
jean-emmanuel
69a4623dfd switch: log, doc and indentation fix 2018-01-04 14:56:36 +01:00
jean-emmanuel
c544a37434 switch: rename show_values to showValues and clean 2018-01-04 14:45:54 +01:00
jean-emmanuel
040c462ae8
Merge pull request #124 from cyberic99/master
Allow switch widgets to display "key: value" instead of the default "key"
2018-01-04 14:44:14 +01:00
cyberic99
f36664718d Allow switch widgets to display "key: value" instead of the default "key" 2018-01-04 11:09:35 +01:00
jean-emmanuel
532ba56635 log: prop inheritance 2018-01-04 09:20:26 +01:00
jean-emmanuel
d753646118 property inheritance: watch for widgetid creation event even if none found initially in case it gets created after 2018-01-04 09:16:28 +01:00
jean-emmanuel
e874cc7f96 property inheritance: trigger 'widget-created' after widget manager registration avoid ignoring widgets in resolveProp 2018-01-04 09:15:21 +01:00
jean-emmanuel
f9dc4f3d9d formula/mathjs: re-fix array to zero-based index instead of one-based index 2018-01-03 11:34:15 +01:00
jean-emmanuel
f2be501509 property inheritance: allow referring to a parent using its and fix infinite loop when editing (issue #122) 2018-01-03 10:24:35 +01:00
jean-emmanuel
aceb8e175d property inheritance: don't add eventlistener when not needed 2018-01-02 22:09:28 +01:00
jean-emmanuel
12d134d8a2 log: latest changes 2018-01-02 20:23:20 +01:00
jean-emmanuel
cfe0fe994f v8: fix some js optimization with the arguments object 2018-01-02 18:24:24 +01:00
jean-emmanuel
677d67f8e3 widgets: missing precision parameter in deepCopy 2018-01-02 15:16:26 +01:00
jean-emmanuel
f4cdf11c7f text: apply target's precision to value 2018-01-02 13:59:06 +01:00
jean-emmanuel
d2d3faf43d plots: emit change event to allow synchronization with other widgets 2018-01-02 13:55:02 +01:00
jean-emmanuel
43d6f2df0b property inheritance: fix geometry not applying the rules 2018-01-02 12:08:32 +01:00
jean-emmanuel
98e287b9e8 property inheritance: apply precision when retrieving a widget value, fix precision implementation mistake in getValue 2018-01-02 12:08:25 +01:00
jean-emmanuel
e6a6a38865 widgets: put input's deepCopyWithPrecision in widgets base class 2018-01-02 11:51:56 +01:00
jean-emmanuel
f6fb539e83 property inheritance: optimize and add support for special prop "_value" to get dynamic value (issue #122) 2018-01-02 11:50:09 +01:00
jean-emmanuel
dca301ae2e formula/keys: return arrays, not matrices 2017-12-31 14:56:10 +01:00
jean-emmanuel
840be72b2e example: add keys 2017-12-31 13:15:26 +01:00
jean-emmanuel
f25346015c keys: add missing dep 2017-12-31 12:59:53 +01:00
jean-emmanuel
ef2de79613 docs: fix wrong space char 2017-12-31 12:55:41 +01:00