Commit Graph

109 Commits

Author SHA1 Message Date
Gunther Brunner
e0ab10adbd Merge branch 'develop' of ghe.amb.ca.local:stf/stf into develop 2014-03-04 19:53:40 +09:00
Simo Kinnunen
e7a887ae45 Rename vital checkers. 2014-03-04 19:19:11 +09:00
Simo Kinnunen
a25df0b293 Wake up and unlock device when it's being used. A bit messy, pending refactor. 2014-03-04 18:00:31 +09:00
Gunther Brunner
d381d90446 - Added benchmark comparing JPEG, PNG, WEBP, DDS DXT1, and CRN DXT1 formats.
- Pixi Canvas and WebGL render was added for quick benchmarking but it's going away soon, because WebGL is even slower than Canvas for big textures. The browsers nowadays use OpenGL in the backend for rendering Canvas.
- There is 3 different WebGL Renders but they need adjusting so they work with Non Power Of Two textures.
- For now the winner is JPEG+Canvas, however CRN+WebGL will be better almost for sure if server side supports it.
2014-02-28 16:41:49 +09:00
Simo Kinnunen
2692f71219 Only track devices when we need to. 2014-02-27 15:05:50 +09:00
Simo Kinnunen
be9d1c9579 Invite/kick now uses transactions so that you can know whether the device actually joined or not. It's a bit messy right now, should introduce some sugar to make it cleaner. 2014-02-26 19:03:11 +09:00
Simo Kinnunen
b177d198b3 Don't try to be clever with cleanup. It's too tricky to get it right. 2014-02-25 21:01:21 +09:00
Simo Kinnunen
4896ca406e Reap dead devices using timeouts. Previously, if a provider died without being able to clean up properly, the device would stay as a ghost. 2014-02-25 20:45:29 +09:00
Simo Kinnunen
f24e777961 Move webpack-config.js to the middleware folder. 2014-02-25 14:13:20 +09:00
Simo Kinnunen
4381a5ddfe Remove remnants of console and old tx implementation. 2014-02-21 16:31:22 +09:00
Simo Kinnunen
df3a29d94c Use promises for socket client for better reliability. 2014-02-21 15:59:30 +09:00
Simo Kinnunen
3b54213e97 Leave transaction channel when it's done. Could be made cleaner if more code was moved to the app side. 2014-02-21 15:58:54 +09:00
Simo Kinnunen
8769b8040c Initial version of transactions. Shell command implemented as an example. Still needs channel cleanup on app side, handling a device dying in the middle of a transaction, and getting device list back to normal. 2014-02-21 15:55:23 +09:00
Gunther Brunner
eae8062252 Adding nothing to show.
Exporting webpack options.
2014-02-19 22:51:40 +09:00
Gunther Brunner
a2a00736b6 Added back new screen directive. 2014-02-19 21:40:37 +09:00
Gunther Brunner
c319945d37 Merge branch 'develop' of http://ghe.amb.ca.local/stf/stf into develop
Conflicts:
	res/app/components/stf/screen/screen.jade
	res/app/device-control/device-control.css
	res/app/scripts/controllers/DeviceScreenCtrl.js
	res/app/scripts/services/ControlService.js
2014-02-19 18:24:12 +09:00
Gunther Brunner
6186c1cc87 Improved layout. 2014-02-19 16:52:26 +09:00
Gunther Brunner
347d9e9a55 Added stf namespace. 2014-02-18 20:32:45 +09:00
Gunther Brunner
a1b0d136be Updated oboe loader. 2014-02-18 20:13:01 +09:00
Gunther Brunner
c306a537b7 Remove angular dependency. 2014-02-18 19:49:17 +09:00
Gunther Brunner
80d0bb7ad2 Refactoring to use Google Angular Best Practices. 2014-02-18 19:26:30 +09:00
Gunther Brunner
6df8ed7184 Refactored settings. 2014-02-18 17:07:56 +09:00
Gunther Brunner
8e674928ea Fast rebuilds. 2014-02-18 14:48:34 +09:00
Gunther Brunner
a771952339 First package works. 2014-02-17 22:13:55 +09:00
Simo Kinnunen
e6a9c646e3 Provider better provider debug output and make fix killProcsByComm hanging on Xperia Z1. 2014-02-17 20:14:56 +09:00
Simo Kinnunen
bc9d356d7f Use InputAgent for the keyboard. 2014-02-17 19:27:45 +09:00
Gunther Brunner
61a7b9ded6 In the middle of a big refactoring. 2014-02-14 20:17:23 +09:00
Gunther Brunner
1de3621b18 Now angular works. 2014-02-13 23:14:51 +09:00
Gunther Brunner
7a0472abc9 Starting to add WebPack support. 2014-02-12 20:14:13 +09:00
Simo Kinnunen
277c9b401a Make GroupService keep the list of members up to date. 2014-02-07 11:56:19 +09:00
Simo Kinnunen
6ae7c310e0 Send logcat messages to group. 2014-02-07 01:15:39 +09:00
Simo Kinnunen
a8fe5f6613 Add LogcatApplyFiltersMessage. 2014-02-07 00:58:39 +09:00
Simo Kinnunen
e4c76e1793 Fix provider not seeing device type changes. ADB doesn't keep the object up to date by itself. 2014-02-07 00:26:16 +09:00
Simo Kinnunen
d17e86bc57 Implement device screen. 2014-02-06 22:45:19 +09:00
Simo Kinnunen
0e0783b649 Initial device control implementation. Works with touches and NUMERIC keycodes. 2014-02-06 11:54:19 +09:00
Simo Kinnunen
ad0651a3b6 Properly delete retired workers from worker list, or graceful exit gets confused. 2014-02-05 23:13:31 +09:00
Simo Kinnunen
91097dc569 Don't rely on lucky timings when sending messages from the provider. 2014-02-05 15:37:28 +09:00
Simo Kinnunen
36d0af71b5 Attempting to make it easier to work with a single device. Still not bound to the new controlService. 2014-02-05 11:08:37 +09:00
Simo Kinnunen
37303c5d92 Add owners to groups. 2014-02-04 20:33:53 +09:00
Simo Kinnunen
3e7d91cb91 If device gets unplugged after a service fails (happens easily because the socket dies), don't log a provider error. 2014-02-04 16:07:56 +09:00
Simo Kinnunen
adaf3da228 New rewrite of provider. By moving to promises we should no longer have issues with double-quits. 2014-02-04 15:42:52 +09:00
Simo Kinnunen
8a23b37deb Formatting. 2014-02-04 00:44:42 +09:00
Simo Kinnunen
b50ec6b4b0 Expose input services. 2014-02-03 21:10:15 +09:00
Simo Kinnunen
eb332ff36a Merge DeviceIdentityMessage on the app side. 2014-02-03 19:56:01 +09:00
Simo Kinnunen
2086d7d439 Better device present/absent handling by separating it from the status event. 2014-02-03 19:42:20 +09:00
Simo Kinnunen
f432dc9fb9 Give priority to static files. They don't need cookies, auth or validation. 2014-02-03 14:26:41 +09:00
Simo Kinnunen
59178ee837 Ensure that each request has a corresponding user in the database. 2014-02-03 14:23:05 +09:00
Simo Kinnunen
b84968c08c Ensure that device is saved before probing it. 2014-02-03 11:09:40 +09:00
Simo Kinnunen
55bdd4aecb Formatting. 2014-02-03 02:48:56 +09:00
Simo Kinnunen
6a7e10882f Allow only a single group per device. 2014-02-03 02:28:58 +09:00