Gunther Brunner
38d20eba9a
Revert "Revert "Fix canvas rotation being off on devices which are naturally landscape.""
...
Reverting the Revert because we found the reason for the blurry image.
This reverts commit 7afd816cf918ed94b2ebf7671f804ae0f769fcb9.
2014-09-12 15:59:13 +09:00
Simo Kinnunen
0b9c1e6c7f
Fix canvas size being off by one pixel due to C++ and JS not basing their calculations on same values.
2014-09-12 15:25:56 +09:00
Simo Kinnunen
1896d81bcf
Fix unchanging rotated canvas size.
2014-09-11 21:28:33 +09:00
Gunther Brunner
f73cac8b24
Revert "Fix canvas rotation being off on devices which are naturally landscape."
...
Regressions:
1) Flicker badly in Chrome
2) Image gets very blurry because the image is uploaded to the GPU and there are rounding errors
3) Resizing is not smooth again
This needs another way of fixing.
This reverts commit 9fc1a9c7939b9f464c87a2f99cb06000f5aedcbc.
2014-09-11 20:59:17 +09:00
Simo Kinnunen
ede65d518c
Fix canvas rotation being off on devices which are naturally landscape.
2014-09-05 12:00:27 +09:00
Gunther Brunner
ce604d8211
All JSHint trough webpack passes now.
2014-09-02 17:25:22 +09:00
Gunther Brunner
444a940fbb
JSHint fixes.
2014-07-17 18:29:08 +09:00
Gunther Brunner
f5fb0a1317
Space key was being recognized as a change charset key.
2014-07-17 18:21:30 +09:00
Gunther Brunner
a06782ffb8
Added TODO for IE9.
2014-07-16 23:17:11 +09:00
Gunther Brunner
da40f061b4
Implemented change charset with the native PC charset keys.
...
Hacking was needed:
- Textarea changed to Input type "password", so that Alphanumeric keyboard is forced all the time.
- All the key input events are heavily browser/platform/keyboard dependent.
2014-07-16 22:57:50 +09:00
Gunther Brunner
8d165bc7a3
Changed default screen timeout to 3 seconds.
2014-07-16 21:10:12 +09:00
Gunther Brunner
df5a5e2308
Finally updated to angular-borderlayout.
2014-07-03 19:04:45 +09:00
Simo Kinnunen
6bb07d7c34
Fix Galaxy S5's display information segfaulting by trying to use the public SDK methods first. SurfaceComposerClient's getDisplayInfo is practically unusable on Galaxy S5 due to weird memory corruption issues.
2014-06-18 15:51:54 +09:00
Gunther Brunner
f634357217
Changed Screen failure timeout to 2 secs.
...
Changed Device Icon view popover timeout to 0.
2014-06-03 14:36:49 +09:00
Gunther Brunner
8a7c18a3fa
Forcing retina ratio to 1.2
2014-05-29 18:58:09 +09:00
Gunther Brunner
0570ef2319
Small devices improvings.
2014-05-29 14:10:08 +09:00
Gunther Brunner
1e0a145490
Screen retina image made smaller.
2014-05-28 14:32:56 +09:00
Gunther Brunner
4d9b7d2d70
Rotation works for the host properly now.
2014-05-28 12:18:47 +09:00
Gunther Brunner
30ca92301a
Refactored landscape handling to a directive, needs scope fix.
2014-05-28 00:26:41 +09:00
Gunther Brunner
fe2ccdfc17
Added rotation support for guest.
2014-05-27 23:40:28 +09:00
Gunther Brunner
7adfa8c19f
Touch events mostly fixed.
2014-05-27 20:47:02 +09:00
Gunther Brunner
daa7677218
Added Copy functionality with CTRL-C. Still very rough.
2014-05-27 17:42:27 +09:00
Gunther Brunner
bde6d9f311
Added an elastic non-resizeable auto-fitting text area for the Clipboard.
2014-05-27 16:17:27 +09:00
Gunther Brunner
9e753551af
Added Timeout error message when the screen takes more than 1 second to load.
2014-05-21 12:12:19 +09:00
Gunther Brunner
c9cc28997c
Try to go to Home Screen in case of screen failure.
2014-05-20 19:34:48 +09:00
Gunther Brunner
282ceab17a
Screen error message improved.
2014-05-20 19:17:28 +09:00
Gunther Brunner
d933a65412
Device screen error improved.
2014-05-20 16:24:39 +09:00
Simo Kinnunen
70dab49188
Fix mixed up touch/mouse events.
2014-05-19 13:51:45 +09:00
Gunther Brunner
345b4506f1
Tree not needed for now.
2014-05-16 12:43:47 +09:00
Gunther Brunner
3173393a58
No window on there.
2014-05-15 18:27:34 +09:00
Gunther Brunner
d32001f32c
Start to add rotation listening.
2014-05-15 18:23:47 +09:00
Gunther Brunner
74a6682537
Added touch and retina support.
2014-05-15 17:50:08 +09:00
Gunther Brunner
d59c156297
Device screen now has the ability to hide and clear the canvas.
2014-05-14 18:12:22 +09:00
Simo Kinnunen
52ff750504
Make sure that we don't try to access the screen in the page becomes visible, but we don't actually own the device.
2014-05-13 19:08:50 +09:00
Simo Kinnunen
8c72d79f92
Turn screen updating off if page becomes inactive.
2014-05-13 18:57:52 +09:00
Simo Kinnunen
80cdf6f684
Send relative coords to the device. Allows multiple screens to be controlled at the same time, like it was before.
2014-05-13 15:25:43 +09:00
Simo Kinnunen
3058024d97
Implement screen rotation in the UI.
2014-05-09 18:18:37 +09:00
Simo Kinnunen
b9e4cfc10d
Fix touch control not working in Firefox.
2014-04-23 14:26:59 +09:00
Gunther Brunner
eb09b7ebcf
Fixing resize of the window.
2014-04-14 18:00:34 +09:00
Gunther Brunner
5124b77741
Cache image width and height.
2014-04-14 17:50:32 +09:00
Simo Kinnunen
c33f0eab09
Make sure touch events arrive in correct order.
2014-04-03 17:13:17 +09:00
Simo Kinnunen
09eb8c539d
Refactor InputAgent into STFService. Support copypasting (only pasting implemented in the UI right now though).
2014-04-01 11:50:16 +09:00
Simo Kinnunen
8b13a1c945
Fix various JSHint warnings in client-side code.
2014-03-26 16:06:49 +09:00
Simo Kinnunen
47ecd9d37e
Remove unused $rootScope dependecy from screen directive.
2014-03-20 12:32:36 +09:00
Simo Kinnunen
fc24cd087c
Replace device promise with a scope watcher.
2014-03-18 20:59:22 +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
Gunther Brunner
c021b3d153
FastImageRender working.
...
Still not Fast though.
2014-02-27 19:04:07 +09:00
Gunther Brunner
9eb5c74639
Add performance test for Canvas Render.
2014-02-21 19:28:45 +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
aa28801e87
Add Canvas Render.
2014-02-19 23:55:08 +09:00