Commit graph

225 commits

Author SHA1 Message Date
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
jean-emmanuel
baf338d1ec switch: unselect and set value to undefined when no value matches 2017-01-02 19:02:20 +01:00
jean-emmanuel
6ae9d03e86 widgets: use JSON object deepcopy in getValue() 2017-01-02 11:25:14 +01:00
jean-emmanuel
1509fb0066 switch: display choice value names when values are defined with an array 2017-01-02 11:24:24 +01:00
jean-emmanuel
3edc282ed3 buttons: use standard getvalue method 2017-01-02 11:23:53 +01:00
jean-emmanuel
68207c2f5b log: last changes 2017-01-02 11:21:31 +01:00
jean-emmanuel
a84ebbd668 fader: fix horizontal (pass container object to contructor to give it the "horizontal" class) 2016-12-25 12:28:42 +01:00
jean-emmanuel
9d4ebb1d1e :warning long commit:
rewrite all widget classes using ES6 class expressions, much cleaner
this sets firefox version requirement to 46 because of a bug in v45 with spread arguments
2016-12-17 15:26:58 +01:00
jean-emmanuel
80352844f0 osc: fix routing received osc messages with preArgs (typo) 2016-12-14 00:23:33 +01:00
jean-emmanuel
4a606b8109 debug: load the source map and print errors in the main process' stdout (add a source map file parser) 2016-12-13 22:37:26 +01:00
jean-emmanuel
c3804d640c misc: move /jquery to /libs 2016-12-13 22:23:13 +01:00
jean-emmanuel
346513dca1 canvas input: retreive font-size from css 2016-12-13 13:24:17 +01:00
jean-emmanuel
cf8130e589 editor: use a class on body to toggle the grid's visibility 2016-12-13 13:20:30 +01:00
jean-emmanuel
2437c07ff4 editor: fix firefox add-widget position from click coords (precompute them) 2016-12-13 12:52:40 +01:00
jean-emmanuel
a54175599e editor: use scope variable to avoid complicated closure pattern 2016-12-13 12:50:30 +01:00
jean-emmanuel
a45118e248 fullscreen: fix exit in chrome (state detection variable name error) 2016-12-13 08:51:30 +01:00
jean-emmanuel
b9a6459bac code: missing coma (declaring global by mistake) 2016-12-13 08:47:30 +01:00
jean-emmanuel
47a5813606 resize: fix teardown old usage 2016-12-13 08:15:38 +01:00
jean-emmanuel
53c1475e0f canvas widget: optimize css color vars get; fix multixy resize handler 2016-12-13 08:14:27 +01:00
jean-emmanuel
06b22245b1 canvas widget base: clean 2016-12-12 16:00:38 +01:00