Commit graph

143 commits

Author SHA1 Message Date
jean-emmanuel
fdbb8d673b parser: purge widget store when loading a session 2016-12-08 06:11:59 +01:00
jean-emmanuel
7eef10c5ce manager: add purge method (delete all) 2016-12-08 06:10:49 +01:00
jean-emmanuel
9422f0f9e3 manager: fix widget store init type 2016-12-08 06:10:34 +01:00
jean-emmanuel
2bb808c753 misc: rewrite tab/widget id iterator without using global variable 2016-12-08 06:05:49 +01:00
jean-emmanuel
9575550b42 osc: load remote-exec module in an init method (called in main browser script) 2016-12-08 05:30:34 +01:00
jean-emmanuel
4d544bdd9b editor: fix remote-exec module loading by passing it once to osc 2016-12-08 05:24:12 +01:00
jean-emmanuel
4e9b35ad0d editor: remove debug line 2016-12-08 05:24:09 +01:00
jean-emmanuel
f7c670c49c editor: tmp fix for failing require (unsolvable require chain at module load time) 2016-12-08 00:48:57 +01:00
jean-emmanuel
ed8405a315 widget mananger: declare the address/preargs separator only once, in the module
editor: fix incrementer not properly checking for existing widgets in store
2016-12-07 21:21:49 +01:00
jean-emmanuel
07529b9753 dev: hot reload only main css, (not fonts) 2016-12-07 21:09:34 +01:00
jean-emmanuel
a83ff2b246 clean: es6 destructuring require and remove old commented blocks 2016-12-07 21:03:44 +01:00
jean-emmanuel
2ed13538c0 ipc/callbacks: clean args passing (used to be more complex when both socket-io + electron.ipc where used) 2016-12-07 21:00:16 +01:00
jean-emmanuel
d6d25158a5 osc: use new module's receive method 2016-12-07 20:56:51 +01:00
jean-emmanuel
137658f3e9 widgetmanager: fix camelcase 2016-12-07 20:55:49 +01:00
jean-emmanuel
3c07ab2c70 clean: remove unnused globals 2016-12-07 20:51:29 +01:00
jean-emmanuel
f5e5360021 browser: remove useless app.js 2016-12-07 20:49:20 +01:00
jean-emmanuel
6e971a6f17 matrices: fix missing parser require() 2016-12-07 20:48:18 +01:00
jean-emmanuel
fbccf99600 osc: missing module export 2016-12-07 20:46:31 +01:00
jean-emmanuel
87d5aac477 ipc: modularize ipc manager 2016-12-07 20:42:45 +01:00
jean-emmanuel
8bf834750f osc: modularize osc manager 2016-12-07 20:41:26 +01:00
jean-emmanuel
f49bd6377e manager: safe widget removal (check for props before looking into stores) 2016-12-07 12:44:04 +01:00
jean-emmanuel
ea1abb9634 push: fix broken sendValue method in 74741eed4e 2016-12-07 00:51:56 +01:00
jean-emmanuel
3c2d0c1382 ⚠️ long commit:
widgets: modularize last remaining widgets (text & led)
global: new widget manager module to properly handle widgets registration, synchronization events, store purges, and bindings from the dom element to the abstract object
      : remove old setValue / getValue bindings in each widget and use direct access to the abstract objects everywhere
2016-12-07 00:50:22 +01:00
jean-emmanuel
d11b25df7b modal: remove scroll option (always true) & add address option to be controllable externally 2016-12-06 16:21:44 +01:00
jean-emmanuel
c2bff09c58 callbacks: make a method to create a new session 2016-12-06 09:40:18 +01:00
jean-emmanuel
c39f42f28f widgets: add new "modal" container 2016-12-05 20:00:18 +01:00
jean-emmanuel
74741eed4e buttons: modularize remaining widgets 2016-12-05 20:00:07 +01:00
jean-emmanuel
15d869a5f6 toggle: modularize code 2016-12-05 19:25:50 +01:00
jean-emmanuel
db2754fcde containers: clean 2016-12-05 15:11:59 +01:00
jean-emmanuel
f8857545f5 containers: modularize code 2016-12-05 15:09:35 +01:00
jean-emmanuel
768c1ea507 ui: clean scroll handler part (it's been handling only zoom for a long time already) 2016-11-30 18:35:04 +01:00
jean-emmanuel
57a6d4e61b canvas input: prevent resize handler from failing if it's triggered without size data 2016-11-29 22:31:52 +01:00
jean-emmanuel
6528fd076d dev: make clients reload css style automatically when source is updated + watched + rebuilded 2016-11-29 22:30:49 +01:00
jean-emmanuel
e7bf3987da sliders: fix spring when init value equals zero 2016-11-25 18:43:50 +01:00
jean-emmanuel
91b5db7e39 firefox: compatibility fixes 2016-11-25 11:22:32 +01:00
jean-emmanuel
c167bcc1ed multixy: add spring 2016-11-24 15:43:45 +01:00
jean-emmanuel
ca60de3465 sidepanel: open with f10 2016-11-24 15:43:28 +01:00
jean-emmanuel
5c62d7ed55 sliders/xy: add spring option that makes the widget jump back to its initial value when released 2016-11-24 13:52:34 +01:00
jean-emmanuel
93150f893b text: icons support 2016-11-24 01:00:34 +01:00
jean-emmanuel
0c922f8184 ui: simplify icon insertion in labels, using '^' as prefix 2016-11-24 00:57:39 +01:00
jean-emmanuel
6a47290a53 matrices: set split default to false 2016-11-23 23:39:27 +01:00
jean-emmanuel
39c3d58bfd matrices: fix inverted split behaviour 2016-11-23 23:38:27 +01:00
jean-emmanuel
fe3f97e0fb matrices: add split option (default to true) and pass preArgs to subwidgets 2016-11-23 23:35:04 +01:00
jean-emmanuel
0ccbe7484b keyboard: fix wrapper value storing and add split option 2016-11-23 23:32:15 +01:00
jean-emmanuel
16adcf2e32 keyboard: clean a bit, add start option and make it send midi note numbers 2016-11-23 23:08:10 +01:00
jean-emmanuel
73473c6b98 widgets: add keyboard 2016-11-23 22:53:51 +01:00
jean-emmanuel
32988a1f3b sliders: take precision into account when checking if value has changed before canceling oscsend if false 2016-11-23 21:01:48 +01:00
jean-emmanuel
4189e54399 led: remove incorrect precision lookup that breaks the widget when using floats 2016-11-23 14:41:16 +01:00
jean-emmanuel
3da297bf71 fader: fix compact gauge width (add 1px since the middle coordinate is rounded, we wanna be sure to fill the whole space) 2016-11-23 14:36:41 +01:00
jean-emmanuel
9413247809 knob: convert polar to cartesian instead of rotating the ctx 2016-11-22 22:02:36 +01:00