Commit graph

2339 commits

Author SHA1 Message Date
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
jean-emmanuel
184f8d203a keys; default repeat to true 2017-12-31 12:53:36 +01:00
jean-emmanuel
3e4899668d inputs: add keys widget (wip) (issue #57) 2017-12-31 12:41:41 +01:00
jean-emmanuel
179f48e1e1 formula: fix multiline expression parsing 2017-12-31 12:40:37 +01:00
jean-emmanuel
3de696f97f package: update some deps 2017-12-31 12:40:19 +01:00
jean-emmanuel
d86fd1f3d0 package: get source-map from npm, don't include it in sources 2017-12-30 11:30:03 +01:00
jean-emmanuel
097999650b travis: remove arm64 build until electron stable provides it 2017-12-28 14:38:43 +01:00
jean-emmanuel
61531aa365 package: O.22.0 2017-12-28 14:12:43 +01:00
jean-emmanuel
16d3915da8 log: typo 2017-12-28 14:12:09 +01:00
jean-emmanuel
c086b82146 led: set inner shadow border radius to inherit 2017-12-28 13:47:50 +01:00
jean-emmanuel
e88a0d937b server/osc: allow overriding all osc props, fix /GET for widgets without address/target (issue #120) 2017-12-28 10:22:54 +01:00
jean-emmanuel
c97d29acb5 range: fix relative dragging error outside of range boundaries 2017-12-27 21:51:53 +01:00
jean-emmanuel
8953c74ef2 range: set init value to range min/max 2017-12-27 20:28:09 +01:00
jean-emmanuel
41057a32c9 examples: add a more complete widget showcase 2017-12-27 16:48:56 +01:00
jean-emmanuel
862b583904 docs: add a note concerning https 2017-12-27 10:31:11 +01:00
jean-emmanuel
73617beb9b remote control: /EDIT/GET add support for address/preArgs widget targetting (issue #56) 2017-12-26 15:31:43 +01:00
jean-emmanuel
0378196f8c push: slightly fade label when active 2017-12-26 15:16:56 +01:00