Commit graph

244 commits

Author SHA1 Message Date
jean-emmanuel
20805fdcd0 formula: better error log 2017-01-24 18:04:34 +01:00
jean-emmanuel
202bb6886a formula; use *mathjs* to parse (safer and handy) 2017-01-24 18:00:30 +01:00
jean-emmanuel
fd5fcce38b formula: finish renaming and fix value printing with precision 2017-01-24 16:47:40 +01:00
jean-emmanuel
dcc61236ac maths: rename math to formula 2017-01-24 09:23:43 +01:00
jean-emmanuel
27a0f31ff4 widgets: add math widget, the ultimate helper (not safe yet) 2017-01-24 09:11:37 +01:00
jean-emmanuel
2403ad2336 canvas input: add disabled option 2017-01-24 09:08:41 +01:00
jean-emmanuel
c10529d509 editor: fix new widget poitionning in scrolled areas 2017-01-24 07:40:53 +01:00
jean-emmanuel
c9daa7dc83 multixy: support labels for points and use them in osc addresses if split is true 2017-01-24 07:15:38 +01:00
jean-emmanuel
1d01b47efb pads: clean address splitting api 2017-01-24 06:48:22 +01:00
jean-emmanuel
c3cbf46249 sidepanel: remove F11 hint 2017-01-20 17:18:18 +01:00
jean-emmanuel
cad68324a8 multifader: add snap options 2017-01-19 11:50:52 +01:00
jean-emmanuel
c89846b208 knob: fix negative radius when knob size is too low (fixes #42) 2017-01-13 20:09:32 +01:00
jean-emmanuel
ea0c89b6da knob: style: add some light on the inner knob 2017-01-11 22:08:40 +01:00
jean-emmanuel
6439ceef35 multixy: traversing: mak all points follow the gesture, and make multipoint work 2017-01-11 12:20:02 +01:00
jean-emmanuel
381c4d39b1 multixy: fix traversing mode: only one point will follow 2017-01-11 12:15:13 +01:00
jean-emmanuel
afab9a08e3 multixy: disable in traversing mode (until a fix is found) 2017-01-11 12:02:20 +01:00
jean-emmanuel
6abc0a16c3 drag: prevent touchmove event that have no target 2017-01-11 11:58:44 +01:00
jean-emmanuel
ba10ec2d18 multixy: assign touch points to closest handles (snap and non-snap) , yeah ! 2017-01-11 11:32:25 +01:00
jean-emmanuel
fcdcad81e3 matrices: revert global setvalue feature (conflicts with switchers, makes it send osc twice) 2017-01-10 22:49:37 +01:00
jean-emmanuel
b84d6777ab main: monitor session changes and update clients that are using the same session file 2017-01-10 22:38:51 +01:00
jean-emmanuel
0c37619c01 drag: only preventdefault on touchstart in traversing mode (otherwise scroll happens) 2017-01-10 21:07:14 +01:00
jean-emmanuel
c3070b3684 matrices: allow setting all of a matrice values at once 2017-01-10 21:02:50 +01:00
jean-emmanuel
d53290984e misc: new line 2017-01-10 21:02:36 +01:00
jean-emmanuel
951979b5c8 multitouch: don't process undefined touch objects (attempt to fix error when 2 touch points merge into 1) 2017-01-10 21:01:22 +01:00
jean-emmanuel
650f5d7ed5 canvas-input: don't blur when emulated touch/mousedown is triggered 2017-01-10 21:00:38 +01:00
jean-emmanuel
9d6c70009c drag: don't preventdefault touchstart to let click event happen when traversing = true 2017-01-10 20:59:58 +01:00
jean-emmanuel
1de4e2253c rgb: style pimp 2017-01-10 16:07:04 +01:00
jean-emmanuel
b089f8e5cf fader: reduce inner margin 2017-01-10 14:12:15 +01:00
jean-emmanuel
e93509d1b4 editor: fix grid with input style 2017-01-10 11:44:49 +01:00
jean-emmanuel
94624cda0d push: fix options separators not hidden in editor 2017-01-10 11:09:28 +01:00
jean-emmanuel
782c43ffa8 editor: missing coma 2017-01-06 10:51:06 +01:00
jean-emmanuel
fc4a508232 tabs: fix detached sync handler (use scoped let variable assignement to actually bind each tab) 2017-01-06 08:50:14 +01:00
jean-emmanuel
b85893d872 code: remove useless semicolons and use 4-spaces instead of tabs 2017-01-06 08:39:54 +01:00
jean-emmanuel
688cdde501 widgets: fix detached sync event: cache valid $body object when document is ready 2017-01-04 22:45:37 +01:00
jean-emmanuel
7ff5ae801f plots/switchers: bind global sync handlers to the widgets instances and unbind them using the unique hash as reference 2017-01-04 22:32:16 +01:00
jean-emmanuel
62010b7c1b widgets: generate unique hash at widget instanciation to make it usable by the widgets 2017-01-04 22:31:39 +01:00
jean-emmanuel
9ad8f3320b widgets: use custom obj deepcopy instead of JSON serializing, much faster 2017-01-04 22:12:47 +01:00
jean-emmanuel
debcb99f21 crossfader: fix type name in default options 2017-01-03 21:17:41 +01:00
jean-emmanuel
b3f1d073b0 switchers: typo 2017-01-03 17:38:37 +01:00
jean-emmanuel
5a38a928bc switchers: switchers state can"t be send over osc as is, so we just send it for clients sync 2017-01-03 17:29:09 +01:00
jean-emmanuel
29f80ae2bd switchers: send state through osc 2017-01-03 17:16:20 +01:00
jean-emmanuel
543e78c29c events: sync event now bubbles to the body from detached tabs 2017-01-03 16:29:54 +01:00
jean-emmanuel
399c66fe1a crossfader: fix value parsing (correctly interpret incomming osc and value from the slider) 2017-01-03 15:55:06 +01:00
jean-emmanuel
4028d2050d crossfader: fix fader dragging boundaries handling 2017-01-03 15:24:25 +01:00
jean-emmanuel
01022d1631 switchers: only write data if the current state is valid (fix in case therere are multiple switchers synced with different possible values) 2017-01-03 13:04:31 +01:00
jean-emmanuel
5fcb9b6d39 crossfader: fix interpolating arrays 2017-01-03 13:02:25 +01:00
jean-emmanuel
4efb32f0e7 widgets: call an optionnal onRemove() callback method before deleting widgets from manager
=> and unbind event handlers attached to the documents root
2017-01-03 12:17:16 +01:00
jean-emmanuel
737af8de1a matrices: accept multiple colors (options.color is an array) 2017-01-03 08:44:23 +01:00
jean-emmanuel
9ac4a70fed switch: fix inconify 2017-01-02 19:13:03 +01:00
jean-emmanuel
177af78c4b widgets: (wip) add switchers widgets 2017-01-02 19:11:53 +01:00