Commit graph

2255 commits

Author SHA1 Message Date
jean-emmanuel
722b69eede events: fix tab-created (trigger parent directly) 2018-01-12 14:54:41 +01:00
jean-emmanuel
521f86b776 editor/widgets: centralize dom element to widget instance conversion (-> manager method) 2018-01-12 14:47:49 +01:00
jean-emmanuel
039872ef8c events: restore "tab-created" usage 2018-01-12 13:14:06 +01:00
jean-emmanuel
4eed47c198 events: handle "widget-created" event without dom, make widget auto register their children 2018-01-12 12:39:39 +01:00
jean-emmanuel
d63ff81d39 examples: fix keys (mathjs array zero-indexed) 2018-01-11 14:35:53 +01:00
jean-emmanuel
6e0af98ed6 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
499637e851 package: update deps 2018-01-11 14:07:36 +01:00
jean-emmanuel
4863958ffa canvas: objectify canvas queue and stop the rAF loop when idle 2018-01-11 13:57:13 +01:00
jean-emmanuel
565c6bfe41 canvas: a bit smarter framerate handling + framerate url option 2018-01-11 10:15:09 +01:00
jean-emmanuel
18ef775125 canvas: redraw on resize one frame earlier 2018-01-10 23:57:49 +01:00
jean-emmanuel
bc9cef5e9d events: missing widget "change" event migrations 2018-01-10 21:00:16 +01:00
jean-emmanuel
93d8391b5b canvas: batch all canvas operations to optimize perfs 2018-01-10 20:07:23 +01:00
jean-emmanuel
a0040ab488 events: 🎆 migrate from jquery custom events to non-dom event emitter ("change" event ok) 2018-01-10 20:03:29 +01:00
jean-emmanuel
50e6ae37c0 docs: midi: typo 2018-01-10 14:20:35 +01:00
jean-emmanuel
9abacf65c5 midi: define ipcSend before any possible use 2018-01-10 14:05:36 +01:00
jean-emmanuel
cb86370cb4 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
66d48a38fc 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
74f59a5c9e parser: when applying "value" property, make widget emit "change" event 2018-01-05 16:58:36 +01:00
jean-emmanuel
59506a6b82 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
5c1fdea704 doc: property inheritance 2018-01-05 16:49:18 +01:00
jean-emmanuel
344b39a2fb 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
23df2be2e7 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
f675e05d7e widgets: move widget instance dom reference storing to constructor 2018-01-05 16:19:49 +01:00
jean-emmanuel
7a544b862d editor: context menu: unfocus non-submenu item on mouseout 2018-01-04 22:56:23 +01:00
jean-emmanuel
841ea9e19c editor: fix context menu regression (position correction) 2018-01-04 20:42:49 +01:00
jean-emmanuel
ec3113501e editor: keep context menu items open when the mouse leaves 2018-01-04 20:12:46 +01:00
jean-emmanuel
85785709c8 switch: log, doc and indentation fix 2018-01-04 14:56:36 +01:00
jean-emmanuel
c0a01813d5 switch: rename show_values to showValues and clean 2018-01-04 14:45:54 +01:00
jean-emmanuel
10cc4b78f7 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
85de70b29a Allow switch widgets to display "key: value" instead of the default "key" 2018-01-04 11:09:35 +01:00
jean-emmanuel
aeecfec9cc log: prop inheritance 2018-01-04 09:20:26 +01:00
jean-emmanuel
55298d001a 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
0b01829a1c property inheritance: trigger 'widget-created' after widget manager registration avoid ignoring widgets in resolveProp 2018-01-04 09:15:21 +01:00
jean-emmanuel
80c3ab8aa0 formula/mathjs: re-fix array to zero-based index instead of one-based index 2018-01-03 11:34:15 +01:00
jean-emmanuel
6cd29dbdd8 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
b0d5a8e06b property inheritance: don't add eventlistener when not needed 2018-01-02 22:09:28 +01:00
jean-emmanuel
49dc77ec65 log: latest changes 2018-01-02 20:23:20 +01:00
jean-emmanuel
18af57168b v8: fix some js optimization with the arguments object 2018-01-02 18:24:24 +01:00
jean-emmanuel
ea5521840d widgets: missing precision parameter in deepCopy 2018-01-02 15:16:26 +01:00
jean-emmanuel
ef52135525 text: apply target's precision to value 2018-01-02 13:59:06 +01:00
jean-emmanuel
8fcf7e2cf0 plots: emit change event to allow synchronization with other widgets 2018-01-02 13:55:02 +01:00
jean-emmanuel
3bc928ebe9 property inheritance: fix geometry not applying the rules 2018-01-02 12:08:32 +01:00
jean-emmanuel
e1d43b0e31 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
25d6f30ed3 widgets: put input's deepCopyWithPrecision in widgets base class 2018-01-02 11:51:56 +01:00
jean-emmanuel
2eb6c7b998 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
59aa447ff2 formula/keys: return arrays, not matrices 2017-12-31 14:56:10 +01:00
jean-emmanuel
584e5ffdd9 example: add keys 2017-12-31 13:15:26 +01:00
jean-emmanuel
ab8f6b9cab keys: add missing dep 2017-12-31 12:59:53 +01:00
jean-emmanuel
60a4903623 docs: fix wrong space char 2017-12-31 12:55:41 +01:00
jean-emmanuel
e4996e1d53 docs: add keys docs 2017-12-31 12:53:53 +01:00