Samuel Mannehed
4cb91c4269
Update browser requirements in README
2016-11-22 00:29:21 +01:00
Samuel Mannehed
0f725a3061
Update description in README
2016-11-22 00:03:28 +01:00
Samuel Mannehed
1983baf5bf
Fix link tagname
2016-11-21 13:43:02 +01:00
Pierre Ossman
79b05f9f19
Update Swedish translation
2016-11-19 13:23:00 +01:00
Pierre Ossman
edffd9e2f8
Also translate HTML elements
2016-11-19 13:23:00 +01:00
Samuel Mannehed
32ec8f32f4
Add Pierre Ossman as contributor for UI and Icons
2016-11-18 11:15:02 +01:00
Samuel Mannehed
9964ab0e8e
Add a space in logging of RFB._fail()
2016-11-18 10:30:40 +01:00
Pierre Ossman
3cdc603aa4
Use gettext .po files for translations
...
This allows the same workflow as most other projects for translations.
2016-11-17 20:42:08 +01:00
Pierre Ossman
45729def6d
Restore translations for some strings
...
We lost the translation calls for a couple of strings in one of
the clenaups.
2016-11-17 19:58:10 +01:00
Pierre Ossman
f28e248d3f
Use _() as shorthand for translations
...
Used commonly when gettext is used for translations. Avoids cluttering
the code.
2016-11-17 19:58:10 +01:00
Samuel Mannehed
e1f853e5ae
Merge pull request #713 from kanaka/properdisconnections
...
Better error handling
2016-11-14 14:41:54 +01:00
Samuel Mannehed
67cd2072ab
Allow specifying details when calling RFB._fail()
...
RFB's _fail function logs the error, disconnects the session and sets
disconnect_reason. The disconnect_reason is upon disconnection sent to
the user interface. It is thus not suitable for including error details
that aren't user friendly. The idea is that you will look in the
browser console for a full log with details of the error.
2016-11-10 15:17:37 +01:00
Samuel Mannehed
9f909d9b46
Don't wait for websocket closes on failure
...
RFB._fail() can be called at any time in any state, it is not certain
that we will get a close event on the socket since the socket might not
be open. This caused us to hit the disconnect timeout in such cases.
Fixes issue #678
2016-11-10 15:17:37 +01:00
Samuel Mannehed
b2e961d48d
Ensure proper connection state transitions
...
Makes the state machine more rubust and clear.
2016-11-10 15:17:31 +01:00
Samuel Mannehed
b45905ab86
Handle server-side disconnections
...
Don't handle socket-close events when connected as errors. You could
for example, in the VNC session run 'vncconfig -disconnect'.
2016-11-10 14:33:29 +01:00
Samuel Mannehed
e48d1b254e
Separate state actions from connection actions
2016-11-10 14:33:29 +01:00
Samuel Mannehed
c4b274ebb8
Move disconnect actions to a separate funciton
...
Done in order to be consistent with connect() and to separate state
actions from connection actions.
2016-11-10 14:33:29 +01:00
Samuel Mannehed
376864d6d1
Handle errors while opening a Websocket
...
For example, previously if the user typed in illegal characters in the
port field, no error would be displayed in the interface and the page
would stop at "connecting".
2016-11-10 14:33:29 +01:00
Samuel Mannehed
d24de750b1
Add fallback handling for uncought errors
2016-11-10 14:33:23 +01:00
Samuel Mannehed
b2cf3b68b3
requestDesktopSize() should always return a value
2016-11-10 14:33:23 +01:00
Samuel Mannehed
80b7dde665
Comment out skipped test
...
Forgot to comment out the code in commit
331ae15317
2016-11-10 14:28:40 +01:00
Samuel Mannehed
331ae15317
Skip keysyms.fromUnicode UCS-4 test
...
The browser requirements are too high for codePointAt at the moment
2016-11-10 14:02:22 +01:00
Samuel Mannehed
e9ddbec5b1
Fix keysyms.fromUnicode() tests
...
Node.js doesn't handle characters high up in the unicode range
properly with charCodeAt(). Adding a new test for UCS-4 codepoints
using codePointAt() to cover this.
2016-11-10 11:57:45 +01:00
Samuel Mannehed
a0ab4d4b34
Upgrade to latest npm package versions
2016-11-10 11:57:25 +01:00
Samuel Mannehed
b85a13de69
Merge pull request #689 from ossman/keysym
...
Don't send Unicode as keysym
2016-11-10 09:36:43 +01:00
Samuel Mannehed
6f258f13c7
Bump up node.js version for travis
2016-11-10 09:26:00 +01:00
Samuel Mannehed
f3d25df048
Merge pull request #711 from CendioOssman/spinners
...
Blocking transition screen when connecting/disconnecting
2016-11-10 08:47:23 +01:00
Pierre Ossman
8d710e8b18
Blocking transition screen when connecting/disconnecting
2016-11-08 14:54:48 +01:00
Samuel Mannehed
37ebc5c14e
Merge pull request #697 from CendioOssman/keyboard
...
Better method to keep focus on virtual keyboard
2016-11-08 12:28:23 +01:00
Samuel Mannehed
ef887cdb12
Merge pull request #704 from kosmasgiannis/locale-el
...
Added Greek translation
2016-10-29 04:11:07 +02:00
Giannis Kosmas
b98b2f813d
Added Greek translation
2016-10-28 21:22:25 +03:00
Samuel Mannehed
9e26112d1a
Ensure translations variable is set before use
2016-10-28 18:40:56 +02:00
Samuel Mannehed
a4fc1fa586
Add Swedish translation
2016-10-28 15:41:08 +02:00
Samuel Mannehed
fdb02f8570
Always translate literals instead of variables
...
Makes it much easier to find what needs to be translated.
2016-10-28 15:41:08 +02:00
Samuel Mannehed
da88c28714
Remove unnecessary whitespace
2016-10-28 15:41:08 +02:00
Samuel Mannehed
733d5009b6
Add translation support for strings in vnc_auto
2016-10-28 15:41:08 +02:00
Samuel Mannehed
91e41150f0
Don't translate unexpected errors
2016-10-28 15:41:00 +02:00
Samuel Mannehed
e848790194
Replace tab with spaces
2016-10-28 15:23:51 +02:00
Samuel Mannehed
f55e041908
Add newlines at the end of the translation files
2016-10-28 14:37:40 +02:00
Samuel Mannehed
a93cda3a36
Move app-specific location of language files
...
The core directory should only contain core API code that isn't
specific to an application.
2016-10-28 14:30:14 +02:00
Samuel Mannehed
e3ded092e2
Merge pull request #701 from LoekJanssen/master
...
Localization support added for messages
2016-10-28 13:41:48 +02:00
Loek Janssen
5af39a878a
Added localization to statusbar
2016-10-28 12:40:28 +02:00
Samuel Mannehed
b1358a1f2e
Always disable forced touch gestures
...
Don't only disable these for the canvas, disable for the entire page.
There were issues where the control bar handle couldn't be moved on
IE and Edge on Microsoft Surface devices due to these "touch-actions".
2016-10-26 15:43:43 +02:00
Pierre Ossman
7632c576f0
Don't grab input when running performance tests
2016-10-25 16:17:07 +02:00
Pierre Ossman
f9e26cdb32
Fix performance tests to follow new state API
2016-10-24 17:41:20 +02:00
Samuel Mannehed
ab251ad9ea
Merge branch 'CendioOssman-delay' into master
...
Closes #668
2016-10-24 14:43:28 +02:00
Pierre Ossman
d9ca5e5b6b
Don't allow more than one pending update
2016-10-24 14:42:45 +02:00
Pierre Ossman
bb6965f2e6
Wait for proper image load event
...
There is a specific event for when an image has finished loading,
so trigger on that rather than polling. The polling interval of
requestAnimationFrame() can also be very large.
2016-10-24 14:42:13 +02:00
Pierre Ossman
1578fa68ac
Hide image handling in display object
...
The callers don't need to concern themselves with how images are
rendered, so hide the details behind the API. This also avoids
exposing the render queue.
2016-10-24 14:42:13 +02:00
Pierre Ossman
9535539bb2
Process entire WebSocket message at once
...
setTimeout() causes too much delay to be useful. Also, we
already handle all rects in a message at once, so this shouldn't
be too much of a change.
2016-10-24 14:42:08 +02:00