Commit graph

154 commits

Author SHA1 Message Date
jean-emmanuel
d3b2264280 mananger: local var in for loop (otherwise breaks stuffs sometimes) 2016-12-08 12:16:23 +01:00
jean-emmanuel
668d082b1a editor: fix deep widget copy/paste with n+1 data incrementing 2016-12-08 11:32:34 +01:00
jean-emmanuel
0da676f03d manager: fix poorly written purge method 2016-12-08 10:55:55 +01:00
jean-emmanuel
17d8560c3b manager: rename store reset method, create a route purging method to call after removing widgets 2016-12-08 10:45:05 +01:00
jean-emmanuel
433307ebad remote-exec: fix dom widget access 2016-12-08 10:32:16 +01:00
jean-emmanuel
6ce99eb4bf manager: clean old hash creation 2016-12-08 10:20:54 +01:00
jean-emmanuel
ee1e91f577 manager: simplify route storing: use only one hash and store routes in arrays instead of objects 2016-12-08 10:19:50 +01:00
jean-emmanuel
4aa7804d6f manager: mising coma for local vars 2016-12-08 10:03:41 +01:00
jean-emmanuel
0fe1ce197f manager: double check widget's existence before returning a list and prune (since linkId/id/address can change, removing the widgets can leave old routes leading nowhere) 2016-12-08 09:56:19 +01:00
jean-emmanuel
7121c644db callback: clean unused requires 2016-12-08 09:28:26 +01:00
jean-emmanuel
954367c528 firefox: osc: dont use unsupported ...arguments, use fn.apply instead 2016-12-08 08:39:26 +01:00
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