Commit graph

3600 commits

Author SHA1 Message Date
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
cyberic99
85de70b29a Allow switch widgets to display "key: value" instead of the default "key" 2018-01-04 11:09:35 +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
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
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
d86fd1f3d0 package: get source-map from npm, don't include it in sources 2017-12-30 11:30:03 +01:00
jean-emmanuel
c086b82146 led: set inner shadow border radius to inherit 2017-12-28 13:47:50 +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
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
jean-emmanuel
f4b50b0486 plots: testing a glass effect to differentiate non-interactable widgets 2017-12-26 15:16:03 +01:00
jean-emmanuel
b0833b4ca5 inputs: reset size to 100% (was 108%) 2017-12-26 15:15:00 +01:00
jean-emmanuel
5bca3e3ceb leds: tweak css 2017-12-26 15:14:24 +01:00
jean-emmanuel
e1b0ff9b39 sidepanel: fix broken quicksave (regression) 2017-12-25 09:01:11 +01:00
jean-emmanuel
679f523682 sliders: fix regression introduced with range widget 2017-12-22 17:47:18 +01:00
jean-emmanuel
9ee38507fd sliders/pads: holding Ctrl now enables high precision dragging with the mouse and bypasses the snap option 2017-12-22 13:16:56 +01:00
jean-emmanuel
658a097fd5 mouse/drag: high precision (x8) dragging with ctrlKey pressed 2017-12-22 12:03:17 +01:00
jean-emmanuel
492b117f49 input: rename prop horizontal to vertical 2017-12-21 13:16:06 +01:00
jean-emmanuel
c772f6ad77 input: fix horizontal mode when focused 2017-12-21 12:57:01 +01:00
jean-emmanuel
322c98ce6e remote control: add /SET method (issue #56) 2017-12-21 12:38:45 +01:00
jean-emmanuel
9651b2871c remote control: make /GET reply to /GET (with widget address in args) (issue #56) 2017-12-21 07:36:34 +01:00
jean-emmanuel
279663d53f remote control: /GET: disable broadcasting if target in invalid 2017-12-21 07:11:41 +01:00
jean-emmanuel
e0bb727c0c remote control: add /EDIT/GET, and a nosync flag in server/osc/sending method to prevent broadcasting 2017-12-21 07:09:11 +01:00
jean-emmanuel
73b2d6b2c0 remote control: rename /EDIT_SOFT to /EDIT/MERGE 2017-12-21 06:43:19 +01:00
jean-emmanuel
7a81aa8e24 remote control: remove /EXEC 2017-12-21 06:39:55 +01:00
jean-emmanuel
9faf7023e2 osc: implementing /GET (issue #56) 2017-12-19 20:24:58 +01:00
jean-emmanuel
2e1f7b8627 client:osc: take all args for widget address+preArgs matching 2017-12-19 18:41:04 +01:00
jean-emmanuel
02ec1b29d2 editor: fix textareas scrollbar cursor 2017-12-19 13:35:44 +01:00
jean-emmanuel
97101f80fe image: add repeat option; add docs
text: fix default value (retreive value prop)
2017-12-19 09:56:47 +01:00
jean-emmanuel
c403d22fdf plots: add image widget (#64) 2017-12-18 21:38:42 +01:00