Commit graph

879 commits

Author SHA1 Message Date
jean-emmanuel
f1febf53fb event: drag: add remove routine 2018-01-16 10:34:20 +01:00
jean-emmanuel
6fbf9f87a4 events: make some touchstart listeners passive to remove chromium warnings 2018-01-16 10:11:11 +01:00
jean-emmanuel
b7a866634c mathjs: load min file 2018-01-15 21:40:33 +01:00
jean-emmanuel
6283726360 events; drag: listen for touchcancel too 2018-01-15 13:58:14 +01:00
jean-emmanuel
9d919c7ea7 events: fake-click without jquery 2018-01-14 23:41:27 +01:00
jean-emmanuel
c896b38b43 event: rewrite drag handling without jquery 🎆 2018-01-14 23:29:51 +01:00
jean-emmanuel
ed2f35d649 property inheritance: don't try to check widgetManager's props (topmost parent) (issue #129) 2018-01-14 10:55:37 +01:00
jean-emmanuel
2fa0f165de editor: missing change in widget base class breaking property inheritance (issue #128) 2018-01-14 10:45:33 +01:00
jean-emmanuel
4b8e6edec9 editor: typo 2018-01-12 19:57:20 +01:00
jean-emmanuel
b4d78d87f4 editor: rename updateDom to updateWidget 2018-01-12 15:33:29 +01:00
jean-emmanuel
6e4a3af441 widgets: getwidgetbyelement: without jquery 2018-01-12 15:07:22 +01:00
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
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
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
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
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
cyberic99
f36664718d Allow switch widgets to display "key: value" instead of the default "key" 2018-01-04 11:09:35 +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
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