1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 18:29:17 +02:00
Commit graph

210 commits

Author SHA1 Message Date
Simo Kinnunen
efbd2df083 Be more careful about preventing "text is busy" errors. 2014-03-17 11:14:24 +09:00
Simo Kinnunen
d349eabd67 Remove empty line. 2014-03-17 11:11:56 +09:00
Simo Kinnunen
07a06460bf Move support plugins to their own folder. 2014-03-17 11:03:20 +09:00
Simo Kinnunen
3d20b06f7f Separate device functionality into plugins. 2014-03-14 20:18:53 +09:00
Gunther Brunner
d61a70fda5 - Refactored out WebPack options. 2014-03-12 19:27:57 +09:00
Simo Kinnunen
d90d450400 Port to new adbkit. 2014-03-12 12:42:10 +09:00
Gunther Brunner
ca401d7b9c - Adding loaders for images/fonts.
- More styles working now.
2014-03-11 20:15:18 +09:00
Gunther Brunner
a3870f93e9 - Adding data folder for external data.
- Adding Layout Controller.
- Start adding STF 1 layout
- Refactored graphics to a common repository.
- Added all bower/npm dependencies needed for now.
2014-03-11 18:43:53 +09:00
Gunther Brunner
5bba97de78 Adding back more CSS. 2014-03-10 20:16:18 +09:00
Gunther Brunner
345f921fb9 - Renamed 'lib' to 'bower_components' because we need to easily differentiate npm/component/bower packages.
- Started to add CSS back.
2014-03-10 19:58:04 +09:00
Gunther Brunner
a22eb8e841 requestAnimationFrame was missing. 2014-03-07 19:19:06 +09:00
Gunther Brunner
defda72fc1 - Introducing requestAnimationFrame 2014-03-07 19:11:04 +09:00
Gunther Brunner
180bc42f38 - Removed PixiRender, it was too slow.
- Fixed bug not removing onLoad infinite loop.
2014-03-07 18:20:34 +09:00
Simo Kinnunen
667ba512ae Set a timeout on the APK version check. Old APK didn't support it which caused the check to stall. 2014-03-04 20:34:09 +09:00
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
Gunther Brunner
999e5113bf Added Pixi Render.
Added performance counters.
2014-02-27 21:01:56 +09:00
Gunther Brunner
c021b3d153 FastImageRender working.
Still not Fast though.
2014-02-27 19:04:07 +09:00
Gunther Brunner
f9af24e6bc Making render resize. 2014-02-27 18:50:17 +09:00
Simo Kinnunen
2a7ed2d436 Don't remove device from tracker list when it leaves. Just set it absent. 2014-02-27 15:56:55 +09:00
Simo Kinnunen
8f09af0180 Fix wrong variable name. 2014-02-27 15:48:48 +09:00
Simo Kinnunen
2692f71219 Only track devices when we need to. 2014-02-27 15:05:50 +09:00
Gunther Brunner
615088edcd Updated dependencies.
Using bluebird from npm instead of bower because it's easier.
2014-02-27 14:52:46 +09:00
Simo Kinnunen
08be119883 Remove old utility methods. 2014-02-26 20:48:35 +09:00
Simo Kinnunen
b9cec82941 Make sure we've invited the device when we go to the control page. Refuse to show the control page on failure. 2014-02-26 19:18:25 +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
Gunther Brunner
13361c5264 Add image loader 2014-02-24 19:44:50 +09:00
Gunther Brunner
1f9adc5e47 Merge branch 'develop' of http://ghe.amb.ca.local/stf/stf into develop 2014-02-21 19:28:58 +09:00
Gunther Brunner
9eb5c74639 Add performance test for Canvas Render. 2014-02-21 19:28:45 +09:00
Simo Kinnunen
d8bc09e020 Reorder MessageTypes. 2014-02-21 16:34:29 +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
Simo Kinnunen
84207e1f36 Reformat webpack.config.js, indents were all over the board. 2014-02-21 14:53:02 +09:00
Gunther Brunner
aa28801e87 Add Canvas Render. 2014-02-19 23:55:08 +09:00
Gunther Brunner
168590a1b7 Ready to show/hide screen, but still needs to create an isolated scope. 2014-02-19 23:26:06 +09:00
Gunther Brunner
4a9fcc6987 Start to add canView and showView 2014-02-19 23:21:29 +09:00
Gunther Brunner
7e9929d77f Refactored controller back to screen. 2014-02-19 22:57:51 +09:00
Gunther Brunner
eae8062252 Adding nothing to show.
Exporting webpack options.
2014-02-19 22:51:40 +09:00
Gunther Brunner
3cdb0c7c1a Cache image size. 2014-02-19 22:27:28 +09:00
Gunther Brunner
a2a00736b6 Added back new screen directive. 2014-02-19 21:40:37 +09:00
Gunther Brunner
86a42639a1 Already refactored. 2014-02-19 18:28:50 +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
808353a350 Adding ignores. 2014-02-19 18:10:57 +09:00