[13/19] guacamole-server git commit: GUACAMOLE-623: Generate Kubernetes API endpoint dynamically.
GUACAMOLE-623: Generate Kubernetes API endpoint dynamically. Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/ed560938 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/ed560938 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/ed560938 Branch: refs/heads/master Commit: ed560938886e92dbe656d610966585b8178c2d73 Parents: 34f8f8b Author: Michael Jumper Authored: Mon Sep 10 18:39:06 2018 -0700 Committer: Michael Jumper Committed: Tue Sep 25 21:30:51 2018 -0700 -- src/protocols/kubernetes/Makefile.am | 2 + src/protocols/kubernetes/kubernetes.c | 27 ++- src/protocols/kubernetes/settings.c | 53 ++-- src/protocols/kubernetes/settings.h | 24 ++ src/protocols/kubernetes/url.c| 126 + src/protocols/kubernetes/url.h| 87 6 files changed, 311 insertions(+), 8 deletions(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/ed560938/src/protocols/kubernetes/Makefile.am -- diff --git a/src/protocols/kubernetes/Makefile.am b/src/protocols/kubernetes/Makefile.am index d864967..9e50feb 100644 --- a/src/protocols/kubernetes/Makefile.am +++ b/src/protocols/kubernetes/Makefile.am @@ -29,6 +29,7 @@ libguac_client_kubernetes_la_SOURCES = \ pipe.c \ settings.c \ kubernetes.c \ +url.c \ user.c noinst_HEADERS = \ @@ -38,6 +39,7 @@ noinst_HEADERS = \ pipe.h \ settings.h \ kubernetes.h \ +url.h\ user.h libguac_client_kubernetes_la_CFLAGS = \ http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/ed560938/src/protocols/kubernetes/kubernetes.c -- diff --git a/src/protocols/kubernetes/kubernetes.c b/src/protocols/kubernetes/kubernetes.c index 53a8580..380d1d3 100644 --- a/src/protocols/kubernetes/kubernetes.c +++ b/src/protocols/kubernetes/kubernetes.c @@ -21,6 +21,7 @@ #include "common/recording.h" #include "kubernetes.h" #include "terminal/terminal.h" +#include "url.h" #include #include @@ -345,6 +346,28 @@ void* guac_kubernetes_client_thread(void* data) { guac_kubernetes_settings* settings = kubernetes_client->settings; pthread_t input_thread; +char endpoint_path[GUAC_KUBERNETES_MAX_ENDPOINT_LENGTH]; + +/* Verify that the pod name was specified (it's always required) */ +if (settings->kubernetes_pod == NULL) { +guac_client_abort(client, GUAC_PROTOCOL_STATUS_SERVER_ERROR, +"The name of the Kubernetes pod is a required parameter."); +goto fail; +} + +/* Generate endpoint for attachment URL */ +if (guac_kubernetes_endpoint_attach(endpoint_path, sizeof(endpoint_path), +settings->kubernetes_namespace, +settings->kubernetes_pod, +settings->kubernetes_container)) { +guac_client_abort(client, GUAC_PROTOCOL_STATUS_SERVER_ERROR, +"Unable to generate path for Kubernetes API endpoint: " +"Resulting path too long"); +goto fail; +} + +guac_client_log(client, GUAC_LOG_DEBUG, "The endpoint for attaching to " +"the requested Kubernetes pod is \"%s\".", endpoint_path); /* Set up screen recording, if requested */ if (settings->recording_path != NULL) { @@ -434,9 +457,9 @@ void* guac_kubernetes_client_thread(void* data) { goto fail; } -/* FIXME: Generate path dynamically */ +/* Generate path dynamically */ connection_info.context = kubernetes_client->context; -connection_info.path = "/api/v1/namespaces/default/pods/my-shell-68974bb7f7-rpjgr/attach?container=my-shell=true=true=true"; +connection_info.path = endpoint_path; /* Open WebSocket connection to Kubernetes */ kubernetes_client->wsi = lws_client_connect_via_info(_info); http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/ed560938/src/protocols/kubernetes/settings.c -- diff --git a/src/protocols/kubernetes/settings.c b/src/protocols/kubernetes/settings.c index 50daa6f..4f9f3f2 100644 --- a/src/protocols/kubernetes/settings.c +++ b/src/protocols/kubernetes/settings.c @@ -32,6 +32,9 @@ const char* GUAC_KUBERNETES_CLIENT_ARGS[] = { "hostname", "port", +"namespace", +"pod", +"container", "use-ssl", "client-cert-file", "client-key-file", @@ -68,6 +71,24 @@ enum KUBERNETES_ARGS_IDX { IDX_PORT, /** + * The name of the Kubernetes namespace
[15/19] guacamole-server git commit: GUACAMOLE-623: libwebsockets requires an integer port number.
GUACAMOLE-623: libwebsockets requires an integer port number. Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/5bae422b Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/5bae422b Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/5bae422b Branch: refs/heads/master Commit: 5bae422b29939c2e08aff13b33bdb8c2b9ab2ed9 Parents: b8bd0e4 Author: Michael Jumper Authored: Sun Sep 9 21:49:58 2018 -0700 Committer: Michael Jumper Committed: Tue Sep 25 21:30:51 2018 -0700 -- src/protocols/kubernetes/settings.c | 3 +-- src/protocols/kubernetes/settings.h | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/5bae422b/src/protocols/kubernetes/settings.c -- diff --git a/src/protocols/kubernetes/settings.c b/src/protocols/kubernetes/settings.c index 1f04b40..5ee6671 100644 --- a/src/protocols/kubernetes/settings.c +++ b/src/protocols/kubernetes/settings.c @@ -278,7 +278,7 @@ guac_kubernetes_settings* guac_kubernetes_parse_args(guac_user* user, /* Read port */ settings->port = -guac_user_parse_args_string(user, GUAC_KUBERNETES_CLIENT_ARGS, argv, +guac_user_parse_args_int(user, GUAC_KUBERNETES_CLIENT_ARGS, argv, IDX_PORT, GUAC_KUBERNETES_DEFAULT_PORT); /* Read typescript path */ @@ -340,7 +340,6 @@ void guac_kubernetes_settings_free(guac_kubernetes_settings* settings) { /* Free network connection information */ free(settings->hostname); -free(settings->port); /* Free SSL/TLS details */ free(settings->client_cert_file); http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/5bae422b/src/protocols/kubernetes/settings.h -- diff --git a/src/protocols/kubernetes/settings.h b/src/protocols/kubernetes/settings.h index 3e89ce5..fea6cf1 100644 --- a/src/protocols/kubernetes/settings.h +++ b/src/protocols/kubernetes/settings.h @@ -42,7 +42,7 @@ * The port to connect to when initiating any Kubernetes connection, if no * other port is specified. */ -#define GUAC_KUBERNETES_DEFAULT_PORT "8443" +#define GUAC_KUBERNETES_DEFAULT_PORT 8443 /** * The filename to use for the typescript, if not specified. @@ -74,7 +74,7 @@ typedef struct guac_kubernetes_settings { /** * The port of the Kubernetes server to connect to. */ -char* port; +int port; /** * Whether SSL/TLS should be used.
[1/2] guacamole-client git commit: GUACAMOLE-629: Add support for creating argument value streams using the "argv" instruction.
Repository: guacamole-client Updated Branches: refs/heads/master 8a5645e90 -> ef568fb9f GUACAMOLE-629: Add support for creating argument value streams using the "argv" instruction. Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/75805e4c Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/75805e4c Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/75805e4c Branch: refs/heads/master Commit: 75805e4cab5a56f61a9df588f1ab4f892285fe1e Parents: 0f93e7f Author: Michael Jumper Authored: Mon Sep 24 01:33:11 2018 -0700 Committer: Michael Jumper Committed: Tue Sep 25 13:01:15 2018 -0700 -- .../src/main/webapp/modules/Client.js | 25 1 file changed, 25 insertions(+) -- http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/75805e4c/guacamole-common-js/src/main/webapp/modules/Client.js -- diff --git a/guacamole-common-js/src/main/webapp/modules/Client.js b/guacamole-common-js/src/main/webapp/modules/Client.js index 85e9346..e947b70 100644 --- a/guacamole-common-js/src/main/webapp/modules/Client.js +++ b/guacamole-common-js/src/main/webapp/modules/Client.js @@ -448,6 +448,31 @@ Guacamole.Client = function(tunnel) { }; /** + * Opens a new argument value stream for writing, having the given + * parameter name and mimetype, requesting that the connection parameter + * with the given name be updated to the value described by the contents + * of the following stream. The instruction necessary to create this stream + * will automatically be sent. + * + * @param {String} mimetype + * The mimetype of the data being sent. + * + * @param {String} name + * The name of the connection parameter to attempt to update. + * + * @return {Guacamole.OutputStream} + * The created argument value stream. + */ +this.createArgumentValueStream = function createArgumentValueStream(mimetype, name) { + +// Allocate and associate stream with argument value metadata +var stream = guac_client.createOutputStream(); +tunnel.sendMessage("argv", stream.index, mimetype, name); +return stream; + +}; + +/** * Creates a new output stream associated with the given object and having * the given mimetype and name. The legality of a mimetype and name is * dictated by the object itself. The instruction necessary to create this
[2/2] guacamole-client git commit: GUACAMOLE-629: Merge support for argv instruction.
GUACAMOLE-629: Merge support for argv instruction. Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/ef568fb9 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/ef568fb9 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/ef568fb9 Branch: refs/heads/master Commit: ef568fb9f1cdac1fd5ebe452ecf5009ac7d39356 Parents: 8a5645e 75805e4 Author: Nick Couchman Authored: Wed Sep 26 08:40:48 2018 -0400 Committer: Nick Couchman Committed: Wed Sep 26 08:40:48 2018 -0400 -- .../src/main/webapp/modules/Client.js | 25 1 file changed, 25 insertions(+) --
[16/19] guacamole-server git commit: GUACAMOLE-623: Clean up logging (libwebsockets adds newline characters).
GUACAMOLE-623: Clean up logging (libwebsockets adds newline characters). Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/61df2956 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/61df2956 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/61df2956 Branch: refs/heads/master Commit: 61df2956b322a01a777c8169cbbd2b2a2877d696 Parents: 83a531b Author: Michael Jumper Authored: Tue Sep 11 03:17:00 2018 -0700 Committer: Michael Jumper Committed: Tue Sep 25 21:30:52 2018 -0700 -- src/protocols/kubernetes/client.c | 29 ++--- 1 file changed, 26 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/61df2956/src/protocols/kubernetes/client.c -- diff --git a/src/protocols/kubernetes/client.c b/src/protocols/kubernetes/client.c index 331e03d..1a1eb3a 100644 --- a/src/protocols/kubernetes/client.c +++ b/src/protocols/kubernetes/client.c @@ -48,9 +48,32 @@ guac_client* guac_kubernetes_lws_current_client = NULL; * The line of logging output to log. */ static void guac_kubernetes_log(int level, const char* line) { -if (guac_kubernetes_lws_current_client != NULL) -guac_client_log(guac_kubernetes_lws_current_client, GUAC_LOG_DEBUG, -"libwebsockets: %s", line); + +char buffer[1024]; + +/* Drop log message if there's nowhere to log yet */ +if (guac_kubernetes_lws_current_client == NULL) +return; + +/* Trim length of line to fit buffer (plus null terminator) */ +int length = strlen(line); +if (length > sizeof(buffer) - 1) +length = sizeof(buffer) - 1; + +/* Copy as much of the received line as will fit in the buffer */ +memcpy(buffer, line, length); + +/* If the line ends with a newline character, trim the character */ +if (length > 0 && buffer[length - 1] == '\n') +length--; + +/* Null-terminate the trimmed string */ +buffer[length] = '\0'; + +/* Log using guacd's own log facilities */ +guac_client_log(guac_kubernetes_lws_current_client, GUAC_LOG_DEBUG, +"libwebsockets: %s", buffer); + } int guac_client_init(guac_client* client) {
[2/2] guacamole-server git commit: GUACAMOLE-629: Merge add support for updating connection parameters of in-progress connections.
GUACAMOLE-629: Merge add support for updating connection parameters of in-progress connections. Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/760f7a64 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/760f7a64 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/760f7a64 Branch: refs/heads/master Commit: 760f7a649a40371f6f8ffe96842ab77ecee58b43 Parents: 2d6ce1a 8456c05 Author: Nick Couchman Authored: Wed Sep 26 08:47:32 2018 -0400 Committer: Nick Couchman Committed: Wed Sep 26 08:47:32 2018 -0400 -- src/libguac/guacamole/user-fntypes.h | 30 ++ src/libguac/guacamole/user.h | 21 + src/libguac/user-handlers.c | 25 + src/libguac/user-handlers.h | 7 +++ 4 files changed, 83 insertions(+) --
[2/2] guacamole-server git commit: GUACAMOLE-623: Merge include Kubernetes plugin in dist directories.
GUACAMOLE-623: Merge include Kubernetes plugin in dist directories. Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/af93cfb3 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/af93cfb3 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/af93cfb3 Branch: refs/heads/master Commit: af93cfb32af5c1f994853c0a675b8dc01cfa Parents: 760f7a6 acfc759 Author: Nick Couchman Authored: Wed Sep 26 12:56:45 2018 -0400 Committer: Nick Couchman Committed: Wed Sep 26 12:56:45 2018 -0400 -- Makefile.am | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) --
[1/2] guacamole-server git commit: GUACAMOLE-623: Include Kubernetes plugin in dist directories.
Repository: guacamole-server Updated Branches: refs/heads/master 760f7a649 -> af93cfb32 GUACAMOLE-623: Include Kubernetes plugin in dist directories. Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/acfc7595 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/acfc7595 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/acfc7595 Branch: refs/heads/master Commit: acfc759527713fcfb5d18f222aa424a8a60548de Parents: 760f7a6 Author: Michael Jumper Authored: Wed Sep 26 09:38:22 2018 -0700 Committer: Michael Jumper Committed: Wed Sep 26 09:40:50 2018 -0700 -- Makefile.am | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/acfc7595/Makefile.am -- diff --git a/Makefile.am b/Makefile.am index 91c8abe..63bd8e0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,19 +20,20 @@ ACLOCAL_AMFLAGS = -I m4 # Subprojects -DIST_SUBDIRS = \ -src/libguac \ -src/common \ -src/common-ssh \ -src/terminal \ -src/guacd\ -src/guacenc \ -src/guaclog \ -src/pulse\ -src/protocols/rdp\ -src/protocols/ssh\ -src/protocols/telnet \ -src/protocols/vnc\ +DIST_SUBDIRS = \ +src/libguac \ +src/common \ +src/common-ssh \ +src/terminal \ +src/guacd\ +src/guacenc \ +src/guaclog \ +src/pulse\ +src/protocols/kubernetes \ +src/protocols/rdp\ +src/protocols/ssh\ +src/protocols/telnet \ +src/protocols/vnc\ tests SUBDIRS =\
[5/6] guacamole-server git commit: GUACAMOLE-623: Kill connection if libwebsockets is destroying the underlying WebSocket.
GUACAMOLE-623: Kill connection if libwebsockets is destroying the underlying WebSocket. Older versions of libwebsockets will not necessarily invoke close events under all circumstances, and will instead sometimes summarily destroy the WebSocket. Thankfully there is another event for that, and newer versions of libwebsockets continue to define that event. We can hook into both to handle disconnect. Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/9c593bde Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/9c593bde Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/9c593bde Branch: refs/heads/master Commit: 9c593bde89891522324fe84034e4a9bd415aae2c Parents: 44d3433 Author: Michael Jumper Authored: Wed Sep 26 22:30:08 2018 -0700 Committer: Michael Jumper Committed: Wed Sep 26 22:31:25 2018 -0700 -- src/protocols/kubernetes/kubernetes.c | 1 + 1 file changed, 1 insertion(+) -- http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/9c593bde/src/protocols/kubernetes/kubernetes.c -- diff --git a/src/protocols/kubernetes/kubernetes.c b/src/protocols/kubernetes/kubernetes.c index 66fc27d..e115fc5 100644 --- a/src/protocols/kubernetes/kubernetes.c +++ b/src/protocols/kubernetes/kubernetes.c @@ -120,6 +120,7 @@ static int guac_kubernetes_lws_callback(struct lws* wsi, #endif /* Connection closed */ +case LWS_CALLBACK_WSI_DESTROY: case LWS_CALLBACK_CLOSED: guac_client_stop(client); guac_client_log(client, GUAC_LOG_DEBUG, "WebSocket connection to "
[2/6] guacamole-server git commit: GUACAMOLE-623: Use libwebsockets' dummy callback only if defined.
GUACAMOLE-623: Use libwebsockets' dummy callback only if defined. Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/b48a1b3a Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/b48a1b3a Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/b48a1b3a Branch: refs/heads/master Commit: b48a1b3a5d15e6c95fa64222342033eb584dc0a3 Parents: d8618b0 Author: Michael Jumper Authored: Wed Sep 26 21:51:07 2018 -0700 Committer: Michael Jumper Committed: Wed Sep 26 21:51:07 2018 -0700 -- configure.ac | 8 src/protocols/kubernetes/kubernetes.c | 11 ++- 2 files changed, 18 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/b48a1b3a/configure.ac -- diff --git a/configure.ac b/configure.ac index bb23f62..672d19e 100644 --- a/configure.ac +++ b/configure.ac @@ -1224,6 +1224,14 @@ then [Whether LCCSCF_USE_SSL is defined])],, [#include ]) +# Older versions of libwebsockets do not define a dummy callback which +# must be invoked after the main event callback is invoked; the main event +# callback must instead manually return zero +AC_CHECK_DECL([lws_callback_http_dummy], +[AC_DEFINE([HAVE_LWS_CALLBACK_HTTP_DUMMY],, + [Whether lws_callback_http_dummy() is defined])],, +[#include ]) + fi AM_CONDITIONAL([ENABLE_WEBSOCKETS], http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/b48a1b3a/src/protocols/kubernetes/kubernetes.c -- diff --git a/src/protocols/kubernetes/kubernetes.c b/src/protocols/kubernetes/kubernetes.c index 9cb0b13..fb38d68 100644 --- a/src/protocols/kubernetes/kubernetes.c +++ b/src/protocols/kubernetes/kubernetes.c @@ -66,8 +66,13 @@ static int guac_kubernetes_lws_callback(struct lws* wsi, guac_client* client = guac_kubernetes_lws_current_client; /* Do not handle any further events if connection is closing */ -if (client->state != GUAC_CLIENT_RUNNING) +if (client->state != GUAC_CLIENT_RUNNING) { +#ifdef HAVE_LWS_CALLBACK_HTTP_DUMMY return lws_callback_http_dummy(wsi, reason, user, in, length); +#else +return 0; +#endif +} switch (reason) { @@ -127,7 +132,11 @@ static int guac_kubernetes_lws_callback(struct lws* wsi, } +#ifdef HAVE_LWS_CALLBACK_HTTP_DUMMY return lws_callback_http_dummy(wsi, reason, user, in, length); +#else +return 0; +#endif }
[1/6] guacamole-server git commit: GUACAMOLE-623: Support older libwebsockets SSL initialization.
Repository: guacamole-server Updated Branches: refs/heads/master af93cfb32 -> b0be80803 GUACAMOLE-623: Support older libwebsockets SSL initialization. Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/d8618b06 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/d8618b06 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/d8618b06 Branch: refs/heads/master Commit: d8618b0682e69ca5c99f0608368f21188d16fce3 Parents: af93cfb Author: Michael Jumper Authored: Wed Sep 26 21:50:19 2018 -0700 Committer: Michael Jumper Committed: Wed Sep 26 21:50:19 2018 -0700 -- configure.ac | 22 -- src/protocols/kubernetes/kubernetes.c | 6 ++ 2 files changed, 26 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/d8618b06/configure.ac -- diff --git a/configure.ac b/configure.ac index d26db39..bb23f62 100644 --- a/configure.ac +++ b/configure.ac @@ -1198,14 +1198,32 @@ then have_libwebsockets=no]) fi -# Check for client-specific closed event, which must be used in favor of the -# generic closed event if libwebsockets is recent enough to provide this if test "x$with_websockets" != "xno" then + +# Check for client-specific closed event, which must be used in favor of +# the generic closed event if libwebsockets is recent enough to provide +# this AC_CHECK_DECL([LWS_CALLBACK_CLIENT_CLOSED], [AC_DEFINE([HAVE_LWS_CALLBACK_CLIENT_CLOSED],, [Whether LWS_CALLBACK_CLIENT_CLOSED is defined])],, [#include ]) + +# Older versions of libwebsockets may not define a flag for requesting +# global initialization of OpenSSL, instead performing that initialization +# by default +AC_CHECK_DECL([LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT], +[AC_DEFINE([HAVE_LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT],, + [Whether LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT is defined])],, +[#include ]) + +# Older versions of libwebsockets do not define special macros for SSL +# connection flags, instead relying on documented integer values +AC_CHECK_DECL([LCCSCF_USE_SSL], +[AC_DEFINE([HAVE_LCCSCF_USE_SSL],, + [Whether LCCSCF_USE_SSL is defined])],, +[#include ]) + fi AM_CONDITIONAL([ENABLE_WEBSOCKETS], http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/d8618b06/src/protocols/kubernetes/kubernetes.c -- diff --git a/src/protocols/kubernetes/kubernetes.c b/src/protocols/kubernetes/kubernetes.c index f314c59..9cb0b13 100644 --- a/src/protocols/kubernetes/kubernetes.c +++ b/src/protocols/kubernetes/kubernetes.c @@ -268,9 +268,15 @@ void* guac_kubernetes_client_thread(void* data) { * do our own validation - libwebsockets does not validate properly if * IP addresses are used. */ if (settings->use_ssl) { +#ifdef HAVE_LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT context_info.options = LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT; +#endif +#ifdef HAVE_LCCSCF_USE_SSL connection_info.ssl_connection = LCCSCF_USE_SSL | LCCSCF_SKIP_SERVER_CERT_HOSTNAME_CHECK; +#else +connection_info.ssl_connection = 2; /* SSL + no hostname check */ +#endif } /* Create libwebsockets context */
[4/6] guacamole-server git commit: GUACAMOLE-623: Explicitly bypass certificate checks if requested.
GUACAMOLE-623: Explicitly bypass certificate checks if requested. For older versions of libwebsockets, simply requesting that OpenSSL ignore the verification result is insufficient, as libwebsockets manually checks and confirms the verification result, producing an error in all but specific cases. Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/44d3433e Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/44d3433e Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/44d3433e Branch: refs/heads/master Commit: 44d3433ea92de6de7d127f93335c0a5be47c735c Parents: 7ee6248 Author: Michael Jumper Authored: Wed Sep 26 22:01:43 2018 -0700 Committer: Michael Jumper Committed: Wed Sep 26 22:01:46 2018 -0700 -- src/protocols/kubernetes/ssl.c | 28 ++-- 1 file changed, 26 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/44d3433e/src/protocols/kubernetes/ssl.c -- diff --git a/src/protocols/kubernetes/ssl.c b/src/protocols/kubernetes/ssl.c index 6ebafc6..520ce8c 100644 --- a/src/protocols/kubernetes/ssl.c +++ b/src/protocols/kubernetes/ssl.c @@ -110,6 +110,27 @@ static EVP_PKEY* guac_kubernetes_read_key(char* pem) { } +/** + * OpenSSL certificate verification callback which universally accepts all + * certificates without performing any verification at all. + * + * @param x509_ctx + * The current context of the certificate verification process. This + * parameter is ignored by this particular implementation of the callback. + * + * @param arg + * The arbitrary value passed to SSL_CTX_set_cert_verify_callback(). This + * parameter is ignored by this particular implementation of the callback. + * + * @return + * Strictly 0 if certificate verification fails, 1 if the certificate is + * verified. No other values are legal return values for this callback as + * documented by OpenSSL. + */ +static int guac_kubernetes_assume_cert_ok(X509_STORE_CTX* x509_ctx, void* arg) { +return 1; +} + void guac_kubernetes_init_ssl(guac_client* client, SSL_CTX* context) { guac_kubernetes_client* kubernetes_client = @@ -118,8 +139,11 @@ void guac_kubernetes_init_ssl(guac_client* client, SSL_CTX* context) { guac_kubernetes_settings* settings = kubernetes_client->settings; /* Bypass certificate checks if requested */ -if (settings->ignore_cert) -SSL_CTX_set_verify(context, SSL_VERIFY_NONE, NULL); +if (settings->ignore_cert) { +SSL_CTX_set_verify(context, SSL_VERIFY_PEER, NULL); +SSL_CTX_set_cert_verify_callback(context, +guac_kubernetes_assume_cert_ok, NULL); +} /* Otherwise use the given CA certificate to validate (if any) */ else if (settings->ca_cert != NULL) {
[3/6] guacamole-server git commit: GUACAMOLE-623: Remove unnecessary initialization of pwsi.
GUACAMOLE-623: Remove unnecessary initialization of pwsi. The pwsi member was previously used to ensure the lws structure was made available to invocations of the event callback early in the connection lifecycle such that the underlyin guac_client could always be retrieved. Since the migration to guac_kubernetes_lws_current_client, this is not necessary, and isn't supported in older versions of libwebsockets anyway. Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/7ee62484 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/7ee62484 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/7ee62484 Branch: refs/heads/master Commit: 7ee624844a2ef577bfd5af6c9559919e1ba77846 Parents: b48a1b3 Author: Michael Jumper Authored: Wed Sep 26 21:51:46 2018 -0700 Committer: Michael Jumper Committed: Wed Sep 26 21:52:53 2018 -0700 -- src/protocols/kubernetes/kubernetes.c | 1 - 1 file changed, 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/7ee62484/src/protocols/kubernetes/kubernetes.c -- diff --git a/src/protocols/kubernetes/kubernetes.c b/src/protocols/kubernetes/kubernetes.c index fb38d68..66fc27d 100644 --- a/src/protocols/kubernetes/kubernetes.c +++ b/src/protocols/kubernetes/kubernetes.c @@ -268,7 +268,6 @@ void* guac_kubernetes_client_thread(void* data) { .origin = settings->hostname, .port = settings->port, .protocol = GUAC_KUBERNETES_LWS_PROTOCOL, -.pwsi = _client->wsi, .userdata = client };
[08/10] guacamole-website git commit: Correct wording describing automatic connection behavior for admins.
Correct wording describing automatic connection behavior for admins. Project: http://git-wip-us.apache.org/repos/asf/guacamole-website/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-website/commit/7c7a9ac6 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-website/tree/7c7a9ac6 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-website/diff/7c7a9ac6 Branch: refs/heads/master Commit: 7c7a9ac6679809c00ed92c542587763e1814c11c Parents: 72a711c Author: Michael Jumper Authored: Fri Jan 4 14:52:01 2019 -0800 Committer: Michael Jumper Committed: Fri Jan 4 14:52:01 2019 -0800 -- _releases/1.0.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/7c7a9ac6/_releases/1.0.0.md -- diff --git a/_releases/1.0.0.md b/_releases/1.0.0.md index 9e871b3..17d5db0 100644 --- a/_releases/1.0.0.md +++ b/_releases/1.0.0.md @@ -134,7 +134,7 @@ Guacamole will automatically connect upon login for users that have access to only a single connection, skipping the home screen. This feature has been tweaked slightly so that it applies only to non-administrative users. Users with access to Guacamole's administrative interface will now see the home -screen and not automatically connected. +screen and will not be automatically connected. * [GUACAMOLE-508](https://issues.apache.org/jira/browse/GUACAMOLE-508) - Automatically connect only if user lacks access to settings
[05/10] guacamole-website git commit: Clarify wording of draft 1.0.0 release notes, fix typos.
Clarify wording of draft 1.0.0 release notes, fix typos. Project: http://git-wip-us.apache.org/repos/asf/guacamole-website/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-website/commit/6f785e12 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-website/tree/6f785e12 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-website/diff/6f785e12 Branch: refs/heads/master Commit: 6f785e121b845dc9482e67f6bc8e0d9894c4bccc Parents: b06f4f8 Author: Michael Jumper Authored: Wed Jan 2 01:02:50 2019 -0800 Committer: Michael Jumper Committed: Fri Jan 4 11:57:28 2019 -0800 -- _releases/1.0.0.md | 405 ++-- 1 file changed, 250 insertions(+), 155 deletions(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/6f785e12/_releases/1.0.0.md -- diff --git a/_releases/1.0.0.md b/_releases/1.0.0.md index b7c90f6..08f33cc 100644 --- a/_releases/1.0.0.md +++ b/_releases/1.0.0.md @@ -119,8 +119,8 @@ providing this ability is equivalent to granting your users those privileges. ### Improved keyboard handling / Support for dead keys -Multiple improvements have been made to handling keyboards, including bug fixes -for various clients and support for dead keys. +Multiple improvements have been made to keyboard handling, including bug fixes +for Mac and iOS and support for dead keys. * [GUACAMOLE-161](https://issues.apache.org/jira/browse/GUACAMOLE-161) - Handle CapsLock events properly on Mac OS * [GUACAMOLE-232](https://issues.apache.org/jira/browse/GUACAMOLE-232) - Stuck keys iPad/Bluetooth keyboard (Return/Backspace/Space) @@ -129,19 +129,19 @@ for various clients and support for dead keys. ### Automatic connection behavior -Guacamole has a feature that, if a user has access to only a single connection, -they will be automatically connected to it and skip the home screen. This feature -has been tweaked slightly so that users with elevated access to the Guacamole -Client (Administrative, ability to create connections) will be taken to the -home screen and not automatically taken to the connection. +Guacamole will automatically connect upon login for users that have access to +only a single connection, skipping the home screen. This feature has been +tweaked slightly so that it applies only to non-administrative users. Users +with access to Guacamole's administrative interface will now see the home +screen and not automatically connected. * [GUACAMOLE-508](https://issues.apache.org/jira/browse/GUACAMOLE-508) - Automatically connect only if user lacks access to settings ### Support for renaming RDP drive and printer -A handful of changes allow for changing how the RDP protocol handles naming -of the RDP client and redirected filesystem and printers passed through -via Guacmaole. +By default, the filesystem and printer made available within RDP connections +are named "Guacamole Filesystem" and "Guacamole Printer" respectively. Support +has been added to override these names. * [GUACAMOLE-445](https://issues.apache.org/jira/browse/GUACAMOLE-445) - Allow RDP printer name to be configured * [GUACAMOLE-446](https://issues.apache.org/jira/browse/GUACAMOLE-446) - Allow RDP drive name to be configured @@ -156,25 +156,36 @@ schemes by allowing for the individual colors of a scheme to be customized. ### Optional recording of input events -Guacamole has supported recording sessions for quite some time, but input -events were not recorded (mouse movement, mouse clicks, keyboard input, etc.). -Options are now present for capturing the input events during session -recording. These events are disabled by default, for security and privacy -reasons, but can be enabled if desired. +Guacamole has supported session recording for quite some time, but did not +record input events (mouse movement/clicks, keyboard input, etc.). This meant +that the mouse cursor could not be rendered in recording playback (as the mouse +position information from mouse events was not included) and session recording +could not be used for some auditing purposes that required logging of key +events. + +Options are now available for capturing input events during session +recording. For security and privacy reasons, only mouse events are captured +within session recordings by default. Capture of keyboard events can be +manually enabled, and capture of mouse events can be manually disabled. * [GUACAMOLE-313](https://issues.apache.org/jira/browse/GUACAMOLE-313) - Allow input events within session recording ### SSH host key verification SSH host key verification is now implemented and can be enabled and configured -within Guacamole. In the past, Guacamole has not done any host key checking, -and version 1.0.0 introduces that capability. It
[10/10] guacamole-website git commit: Merge add draft release notes for first RC of 1.0.0.
Merge add draft release notes for first RC of 1.0.0. Project: http://git-wip-us.apache.org/repos/asf/guacamole-website/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-website/commit/0e7f3de0 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-website/tree/0e7f3de0 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-website/diff/0e7f3de0 Branch: refs/heads/master Commit: 0e7f3de0224769a402778356e81e69cc9824a919 Parents: 572bafd d1b55c6 Author: Nick Couchman Authored: Fri Jan 4 22:05:28 2019 -0500 Committer: Nick Couchman Committed: Fri Jan 4 22:05:28 2019 -0500 -- _releases/1.0.0.md | 805 1 file changed, 805 insertions(+) --
[04/10] guacamole-website git commit: Add remaining descriptions of changes in 1.0.0.
Add remaining descriptions of changes in 1.0.0. Project: http://git-wip-us.apache.org/repos/asf/guacamole-website/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-website/commit/c165e3c2 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-website/tree/c165e3c2 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-website/diff/c165e3c2 Branch: refs/heads/master Commit: c165e3c23f2448f4897f1ad089ba742125df4c0a Parents: 26d79b0 Author: Michael Jumper Authored: Fri Jan 4 11:51:18 2019 -0800 Committer: Michael Jumper Committed: Fri Jan 4 11:57:28 2019 -0800 -- _releases/1.0.0.md | 103 +++- 1 file changed, 93 insertions(+), 10 deletions(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/c165e3c2/_releases/1.0.0.md -- diff --git a/_releases/1.0.0.md b/_releases/1.0.0.md index 111dc60..b469e0e 100644 --- a/_releases/1.0.0.md +++ b/_releases/1.0.0.md @@ -191,6 +191,14 @@ matches. ### Automatic detection of network issues +The Guacamole web application will now periodically check the responsiveness of +the network connection, displaying a warning if the network appears unstable. + +Downstream web applications which leverage the Guacamole API should handle the +`Guacamole.Tunnel.State.UNSTABLE` tunnel state in their tunnel's +[`onstatechange`](/doc/guacamole-common-js/Guacamole.Tunnel.html#event:onstatechange) +handler to provide similar behavior, if desired. + * [GUACAMOLE-567](https://issues.apache.org/jira/browse/GUACAMOLE-567) - Network connection problem acknowledgement/feedback ### Support for configuring Guacamole with environment variables @@ -320,6 +328,16 @@ issue causes the process to become unresponsive. ### Issues with database authentication behavior and SQL queries +The new SQL Server support introduced with 0.9.14 leveraged SQL syntax that was +not compatible with SQL Server 2008 and later, and contained a bug which +resulted in the login history query failing after several history entries +existed. These issues have been fixed. + +A usability issue where users with disabled accounts would be shown a home +screen (albeit entirely blank) has also been fixed, and handling of the +hostname/address logged for user and connection access history has been +updated to be consistent across both underlying tables. + * [GUACAMOLE-505](https://issues.apache.org/jira/browse/GUACAMOLE-505) - Individual user query fails after two or more login history entries exist * [GUACAMOLE-525](https://issues.apache.org/jira/browse/GUACAMOLE-525) - Creating user results in "Incorrect syntax near 'LIMIT'" * [GUACAMOLE-529](https://issues.apache.org/jira/browse/GUACAMOLE-529) - Despite the fact user account is disabled, user account can access to a welcome blank screen @@ -327,6 +345,17 @@ issue causes the process to become unresponsive. ### Incorrect status reported for sessions closed by RDP server +Guacamole would previously incorrectly report that an RDP server was +unavailable when the connection was actually closed by the RDP server due to +another user starting a conflicting desktop session. As the web application will +automatically attempt to reconnect if the RDP server is reported as +unavailable (under the assumption that the condition is transient and the +server may eventually become available), this could cause users to repeatedly +kick each other out. + +This has been fixed for 1.0.0. Disconnects due to conflicting RDP sessions +should now be handled correctly. + * [GUACAMOLE-484](https://issues.apache.org/jira/browse/GUACAMOLE-484) - UPSTREAM_UNAVAILABLE incorrectly reported for sessions closed by RDP server ### CAS authorization URI derived incorrectly @@ -650,7 +679,11 @@ original `UserContext`: ### Removal of deprecated `GuacamoleHome` and `GuacamoleProperties` classes -TODO +The `GuacamoleHome` and `GuacamoleProperties` classes have been deprecated +since 0.9.4, having been replaced by the [`Environment`](/doc/1.0.0/guacamole-ext/org/apache/guacamole/environment/Environment.html) +interface and its concrete [`LocalEnvironment`](/doc/1.0.0/guacamole-ext/org/apache/guacamole/environment/LocalEnvironment.html) +implementation. These classes are no longer part of the extension API. +Implementations should migrate to `LocalEnvironment`. ### Deprecation of `SimpleUserDirectory`, `SimpleConnectionDirectory`, and `SimpleConnectionGroupDirectory` classes @@ -664,36 +697,80 @@ warnings, and will be removed in a future release. ### Deprecation of `SimpleUser` convenience constructors -TODO +With the increasing number of permission sets available for both users and user +groups, the old convenience constructors which provided parameters for these +permission sets for the
[03/10] guacamole-website git commit: Add links to documentation where applicable.
Add links to documentation where applicable. Project: http://git-wip-us.apache.org/repos/asf/guacamole-website/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-website/commit/26d79b03 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-website/tree/26d79b03 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-website/diff/26d79b03 Branch: refs/heads/master Commit: 26d79b03a48b321079ae196d6de9a82413528b22 Parents: 6f785e1 Author: Michael Jumper Authored: Fri Jan 4 10:42:20 2019 -0800 Committer: Michael Jumper Committed: Fri Jan 4 11:57:28 2019 -0800 -- _releases/1.0.0.md | 134 +++- 1 file changed, 76 insertions(+), 58 deletions(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/26d79b03/_releases/1.0.0.md -- diff --git a/_releases/1.0.0.md b/_releases/1.0.0.md index 08f33cc..111dc60 100644 --- a/_releases/1.0.0.md +++ b/_releases/1.0.0.md @@ -196,10 +196,10 @@ matches. ### Support for configuring Guacamole with environment variables Support has been added for specifying any of the properties supported in the -`GUACAMOLE_HOME/guacamole.properties` file by setting environment variables -that correspond to those properties. The name of the environment variable for -any particular property is the name of the property in uppercase with all -dashes replaced with underscores. +[`GUACAMOLE_HOME/guacamole.properties`](/doc/1.0.0/gug/configuring-guacamole.html#initial-setup) +file by setting environment variables that correspond to those properties. The +name of the environment variable for any particular property is the name of the +property in uppercase with all dashes replaced with underscores. For security reasons, the `enable-environment-properties` property must be set to `true` for reading of properties from environment variables to be enabled. @@ -378,9 +378,9 @@ that method. ### Incorrect documentation for RDP `load-balance-info` parameter -The `load-balance-info` parameter was incorrectly documented as -`load-balancing-info`. The correct parameter name is indeed -`load-balance-info`. This has been fixed in the documentation. +The [`load-balance-info` parameter](/doc/1.0.0/gug/configuring-guacamole.html#rdp-connection-broker) +was incorrectly documented as `load-balancing-info`. The correct parameter name +is indeed `load-balance-info`. This has been fixed in the documentation. * [GUACAMOLE-427](https://issues.apache.org/jira/browse/GUACAMOLE-427) - RDP "load-balance-info" parameter incorrectly documented @@ -432,9 +432,11 @@ extensions easier and more consistent. The error status codes sent by the REST API are now derived from the exceptions thrown, allowing extensions to control the exact code sent. Dependency precedence has been updated so that extensions always see the classes they bundle, even if the web application bundles a -different version of the same class. Base implementations of `UserContext` and -`AuthenticationProvider` interfaces have been provided, removing the need to -fully implement these interfaces when writing an extension. +different version of the same class. Base implementations of the +[`UserContext`](/doc/1.0.0/guacamole-ext/org/apache/guacamole/net/auth/UserContext.html) +and [`AuthenticationProvider`](/doc/1.0.0/guacamole-ext/org/apache/guacamole/net/auth/AuthenticationProvider.html) +interfaces have been provided, removing the need to fully implement these +interfaces when writing an extension. * [GUACAMOLE-499](https://issues.apache.org/jira/browse/GUACAMOLE-499) - REST API Error Codes should come from GuacamoleStatus * [GUACAMOLE-541](https://issues.apache.org/jira/browse/GUACAMOLE-541) - Webapp dependencies take precedence over bundled extension dependencies @@ -491,8 +493,8 @@ required to support those within the database modules (including the Users of any of the database authentication modules will need to run the `upgrade-pre-1.0.0.sql` script specific to their chosen database as part of the move from earlier versions of Guacamole to 1.0.0. More thorough -instructions for this process can be found in the [`JDBC Authentication`] -(http://guacamole.apache.org/doc/gug/jdbc-auth.html) documentation. +instructions for this process can be found in the +[database authentication documentation](/doc/gug/jdbc-auth.html). Hostname logging within database @@ -543,18 +545,21 @@ Extension API changes ### Support for user groups As noted above, one of the major changes in this release is the addition of -support for user groups. These changes center around the new `UserGroup` +support for user groups. These changes center around the new
[09/10] guacamole-website git commit: SSH/SFTP host *key* checking, not "host checking".
SSH/SFTP host *key* checking, not "host checking". Project: http://git-wip-us.apache.org/repos/asf/guacamole-website/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-website/commit/d1b55c63 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-website/tree/d1b55c63 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-website/diff/d1b55c63 Branch: refs/heads/master Commit: d1b55c635d343033062398fa6ed5fe2e46ef5c35 Parents: 7c7a9ac Author: Michael Jumper Authored: Fri Jan 4 14:53:03 2019 -0800 Committer: Michael Jumper Committed: Fri Jan 4 14:53:12 2019 -0800 -- _releases/1.0.0.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/d1b55c63/_releases/1.0.0.md -- diff --git a/_releases/1.0.0.md b/_releases/1.0.0.md index 17d5db0..6af2a02 100644 --- a/_releases/1.0.0.md +++ b/_releases/1.0.0.md @@ -192,8 +192,8 @@ If host keys *are* provided (either in [an `ssh_known_hosts` file within the `GUACAMOLE_HOME` directory](/doc/1.0.0/gug/configuring-guacamole.html#ssh-host-verification) on the server running guacd, or by passing [the `host-key` parameter](/doc/1.0.0/gug/configuring-guacamole.html#ssh-network-parameters) to -the connection with the key of the specific server), host checking will be -strictly enforced and the connection will only succeed if the host matches. +the connection with the key of the specific server), host key checking will be +strictly enforced and the connection will only succeed if the host key matches. * [GUACAMOLE-527](https://issues.apache.org/jira/browse/GUACAMOLE-527) - Add parameter for specifying known SSH/SFTP server host key
[06/10] guacamole-website git commit: The "known_hosts" file is called "ssh_known_hosts" within GUACAMOLE_HOME.
The "known_hosts" file is called "ssh_known_hosts" within GUACAMOLE_HOME. Project: http://git-wip-us.apache.org/repos/asf/guacamole-website/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-website/commit/de832ea8 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-website/tree/de832ea8 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-website/diff/de832ea8 Branch: refs/heads/master Commit: de832ea8f8c28619b01ca3c2023f525d75be31b4 Parents: c165e3c Author: Michael Jumper Authored: Fri Jan 4 12:02:57 2019 -0800 Committer: Michael Jumper Committed: Fri Jan 4 12:02:57 2019 -0800 -- _releases/1.0.0.md | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/de832ea8/_releases/1.0.0.md -- diff --git a/_releases/1.0.0.md b/_releases/1.0.0.md index b469e0e..2ee818b 100644 --- a/_releases/1.0.0.md +++ b/_releases/1.0.0.md @@ -181,11 +181,12 @@ default. If known host keys are not provided, Guacamole will continue to behave as it has in the past and will allow the connection to succeed, though a warning will be logged. -If host keys *are* provided (either in a `known_hosts` file within the -`GUACAMOLE_HOME` directory on the server running guacd, or by passing in a -parameter to the connection with the key of the specific server), host checking -will be strictly enforced and the connection will only succeed if the host -matches. +If host keys *are* provided (either in [an `ssh_known_hosts` file within the +`GUACAMOLE_HOME` directory](/doc/1.0.0/gug/configuring-guacamole.html#ssh-host-verification) +on the server running guacd, or by passing [the `host-key` +parameter](/doc/1.0.0/gug/configuring-guacamole.html#ssh-network-parameters) to +the connection with the key of the specific server), host checking will be +strictly enforced and the connection will only succeed if the host matches. * [GUACAMOLE-527](https://issues.apache.org/jira/browse/GUACAMOLE-527) - Add parameter for specifying known SSH/SFTP server host key
[02/10] guacamole-website git commit: Update draft release notes for 1.0.0-RC1
Update draft release notes for 1.0.0-RC1 Project: http://git-wip-us.apache.org/repos/asf/guacamole-website/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-website/commit/b06f4f88 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-website/tree/b06f4f88 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-website/diff/b06f4f88 Branch: refs/heads/master Commit: b06f4f88ca18525a7d86057d1cf147f0a2d020f5 Parents: 0fc Author: Nick Couchman Authored: Tue Jan 1 14:32:33 2019 -0500 Committer: Michael Jumper Committed: Tue Jan 1 17:37:47 2019 -0800 -- _releases/1.0.0.md | 215 +--- 1 file changed, 203 insertions(+), 12 deletions(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/b06f4f88/_releases/1.0.0.md -- diff --git a/_releases/1.0.0.md b/_releases/1.0.0.md index f76da78..b7c90f6 100644 --- a/_releases/1.0.0.md +++ b/_releases/1.0.0.md @@ -119,6 +119,9 @@ providing this ability is equivalent to granting your users those privileges. ### Improved keyboard handling / Support for dead keys +Multiple improvements have been made to handling keyboards, including bug fixes +for various clients and support for dead keys. + * [GUACAMOLE-161](https://issues.apache.org/jira/browse/GUACAMOLE-161) - Handle CapsLock events properly on Mac OS * [GUACAMOLE-232](https://issues.apache.org/jira/browse/GUACAMOLE-232) - Stuck keys iPad/Bluetooth keyboard (Return/Backspace/Space) * [GUACAMOLE-352](https://issues.apache.org/jira/browse/GUACAMOLE-352) - Add support for dead keys @@ -126,9 +129,19 @@ providing this ability is equivalent to granting your users those privileges. ### Automatic connection behavior +Guacamole has a feature that, if a user has access to only a single connection, +they will be automatically connected to it and skip the home screen. This feature +has been tweaked slightly so that users with elevated access to the Guacamole +Client (Administrative, ability to create connections) will be taken to the +home screen and not automatically taken to the connection. + * [GUACAMOLE-508](https://issues.apache.org/jira/browse/GUACAMOLE-508) - Automatically connect only if user lacks access to settings -### Support for renaming RDP drive and printer +### Support for renaming RDP drive and printer + +A handful of changes allow for changing how the RDP protocol handles naming +of the RDP client and redirected filesystem and printers passed through +via Guacmaole. * [GUACAMOLE-445](https://issues.apache.org/jira/browse/GUACAMOLE-445) - Allow RDP printer name to be configured * [GUACAMOLE-446](https://issues.apache.org/jira/browse/GUACAMOLE-446) - Allow RDP drive name to be configured @@ -136,14 +149,33 @@ providing this ability is equivalent to granting your users those privileges. ### Configurable terminal color schemes +The Guacamole terminal now allows for finer control of terminal color +schemes by allowing for the individual colors of a scheme to be customized. + * [GUACAMOLE-470](https://issues.apache.org/jira/browse/GUACAMOLE-470) - Make individual terminal colors configurable through "color-scheme" parameter ### Optional recording of input events +Guacamole has supported recording sessions for quite some time, but input +events were not recorded (mouse movement, mouse clicks, keyboard input, etc.). +Options are now present for capturing the input events during session +recording. These events are disabled by default, for security and privacy +reasons, but can be enabled if desired. + * [GUACAMOLE-313](https://issues.apache.org/jira/browse/GUACAMOLE-313) - Allow input events within session recording ### SSH host key verification +SSH host key verification is now implemented and can be enabled and configured +within Guacamole. In the past, Guacamole has not done any host key checking, +and version 1.0.0 introduces that capability. It is important to note that +this functionality is still disabled by default - if known host keys are not +provided, Guacamole will continue to behave as it has in the past and will not +perform host key checking. If host keys are provided, however, either in a +known_hosts file within the GUACAMOLE_HOME directory on the server running +guacd, or by passing in a parameter to the connection with the key of the +specific server. + * [GUACAMOLE-527](https://issues.apache.org/jira/browse/GUACAMOLE-527) - Add parameter for specifying known SSH/SFTP server host key ### Automatic detection of network issues @@ -152,10 +184,22 @@ providing this ability is equivalent to granting your users those privileges. ### Support for configuring Guacamole with environment variables +Support has been added for specifying any of the properties
[07/10] guacamole-website git commit: Add additional links to documentation where relevant to 1.0.0 changes.
Add additional links to documentation where relevant to 1.0.0 changes. Project: http://git-wip-us.apache.org/repos/asf/guacamole-website/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-website/commit/72a711c9 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-website/tree/72a711c9 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-website/diff/72a711c9 Branch: refs/heads/master Commit: 72a711c945172ed118d0c908dcbd8a2e8504d021 Parents: de832ea Author: Michael Jumper Authored: Fri Jan 4 12:16:17 2019 -0800 Committer: Michael Jumper Committed: Fri Jan 4 12:16:17 2019 -0800 -- _releases/1.0.0.md | 24 1 file changed, 16 insertions(+), 8 deletions(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/72a711c9/_releases/1.0.0.md -- diff --git a/_releases/1.0.0.md b/_releases/1.0.0.md index 2ee818b..9e871b3 100644 --- a/_releases/1.0.0.md +++ b/_releases/1.0.0.md @@ -49,7 +49,8 @@ New features and improvements ### Support for user groups -Guacamole now supports granting permissions based on group membership. While +Guacamole now supports [granting permissions based on group +membership](/doc/1.0.0/gug/administration.html#user-group-management). While this has been supported to a degree for some time via LDAP and the `seeAlso` attribute, groups can now be defined and used within a database, with LDAP and a database combined, or within other extensions using Guacamole's extension @@ -141,7 +142,10 @@ screen and not automatically connected. By default, the filesystem and printer made available within RDP connections are named "Guacamole Filesystem" and "Guacamole Printer" respectively. Support -has been added to override these names. +has been added to override these names with [the `drive-name` and +`printer-name` +parameters](/doc/1.0.0/gug/configuring-guacamole.html#rdp-device-redirection) +respectively. * [GUACAMOLE-445](https://issues.apache.org/jira/browse/GUACAMOLE-445) - Allow RDP printer name to be configured * [GUACAMOLE-446](https://issues.apache.org/jira/browse/GUACAMOLE-446) - Allow RDP drive name to be configured @@ -150,7 +154,10 @@ has been added to override these names. ### Configurable terminal color schemes The Guacamole terminal now allows for finer control of terminal color -schemes by allowing for the individual colors of a scheme to be customized. +schemes by allowing for the individual colors of a scheme to be customized +through [the existing `color-scheme` +parameter](/doc/1.0.0/gug/configuring-guacamole.html#ssh-display-settings). The +behavior of this parameter is the same for both SSH and telnet. * [GUACAMOLE-470](https://issues.apache.org/jira/browse/GUACAMOLE-470) - Make individual terminal colors configurable through "color-scheme" parameter @@ -265,11 +272,12 @@ init scripts to systemd. ### Control of RDP bitmap and glyph caching -Parameters have been added to RDP connections that allow for controlling -how the RDP protocol behaves for caching bitmaps, glyphs, and other off-screen -data. The default behavior remains unchanged, with caching of all of these -items enabled, however these parameters are available to workaround issues if -your RDP server handles such caching incorrectly. +Parameters have been added to RDP connections that allow for [controlling how +the RDP protocol behaves for caching bitmaps, glyphs, and other off-screen +data](/doc/1.0.0/gug/configuring-guacamole.html#rdp-perf-flags). The default +behavior remains unchanged, with caching of all of these items enabled, however +these parameters are available to workaround issues if your RDP server handles +such caching incorrectly. * [GUACAMOLE-448](https://issues.apache.org/jira/browse/GUACAMOLE-448) - Add parameters for controlling RDP bitmap/glyph/off-screen caching
[01/10] guacamole-website git commit: Add draft release notes for first RC of 1.0.0.
Repository: guacamole-website Updated Branches: refs/heads/master 572bafdfa -> 0e7f3de02 Add draft release notes for first RC of 1.0.0. Project: http://git-wip-us.apache.org/repos/asf/guacamole-website/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-website/commit/0fc7 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-website/tree/0fc7 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-website/diff/0fc7 Branch: refs/heads/master Commit: 0fc74a5a7e661ca34caa88087eedb32e8717 Parents: 572bafd Author: Michael Jumper Authored: Sun Dec 9 23:08:05 2018 -0800 Committer: Michael Jumper Committed: Mon Dec 31 16:31:07 2018 -0800 -- _releases/1.0.0.md | 409 1 file changed, 409 insertions(+) -- http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/0fc7/_releases/1.0.0.md -- diff --git a/_releases/1.0.0.md b/_releases/1.0.0.md new file mode 100644 index 000..f76da78 --- /dev/null +++ b/_releases/1.0.0.md @@ -0,0 +1,409 @@ +--- + +released: false +title: 1.0.0 +date: 2018-12-20 22:00:00 -0800 +summary: > +User groups, improved clipboard integration, TOTP (Google Authenticator), +RADIUS, dead keys. + +artifact-root: "https://dist.apache.org/repos/dist/dev/; +checksum-root: "https://dist.apache.org/repos/dist/dev/; +download-path: "guacamole/1.0.0-RC1/" + +source-dist: +- "source/guacamole-client-1.0.0.tar.gz" +- "source/guacamole-server-1.0.0.tar.gz" + +binary-dist: +- "binary/guacamole-1.0.0.war" +- "binary/guacamole-auth-cas-1.0.0.tar.gz" +- "binary/guacamole-auth-duo-1.0.0.tar.gz" +- "binary/guacamole-auth-header-1.0.0.tar.gz" +- "binary/guacamole-auth-jdbc-1.0.0.tar.gz" +- "binary/guacamole-auth-ldap-1.0.0.tar.gz" +- "binary/guacamole-auth-openid-1.0.0.tar.gz" +- "binary/guacamole-auth-quickconnect-1.0.0.tar.gz" +- "binary/guacamole-auth-totp-1.0.0.tar.gz" + +documentation: +"Manual" : "/doc/1.0.0/gug" +"guacamole-common": "/doc/1.0.0/guacamole-common" +"guacamole-common-js" : "/doc/1.0.0/guacamole-common-js" +"guacamole-ext" : "/doc/1.0.0/guacamole-ext" +"libguac" : "/doc/1.0.0/libguac" + +--- + +The 1.0.0 release features support for user groups, improved clipboard +integration leveraging the Asynchronous Clipboard API, as well as support for +TOTP (Google Authenticator), RADIUS, and dead keys. + +**This release contains changes which break compatibility with past releases.** +Please see the [deprecation / compatibility +notes](#deprecation--compatibility-notes) section for more information. + + +New features and improvements +- + +### Support for user groups + +Guacamole now supports granting permissions based on group membership. While +this has been supported to a degree for some time via LDAP and the `seeAlso` +attribute, groups can now be defined and used within a database, with LDAP and +a database combined, or within other extensions using Guacamole's extension +API. + + * [GUACAMOLE-220](https://issues.apache.org/jira/browse/GUACAMOLE-220) - Implement user groups + +### Clipboard integration with the Asynchronous Clipboard API + +For browsers which implement the [Asynchronous Clipboard +API](https://www.w3.org/TR/clipboard-apis/#async-clipboard-api), Guacamole will +now automatically synchronize the local and remote clipboards. Users will be +prompted to grant clipboard access upon opening Guacamole, and Guacamole will +synchronize the clipboard if access is granted. + +This API [has been implemented in Google Chrome since version +66](https://developers.google.com/web/updates/2018/03/clipboardapi), and other +browsers will likely follow suit. The legacy synchronous clipboard API will +continue to be used as a fallback for browsers that support clipboard access +but lack support for the newer API (Internet Explorer). + + * [GUACAMOLE-559](https://issues.apache.org/jira/browse/GUACAMOLE-559) - Add support for the new Asynchronous Clipboard API + +### Multi-factor authentication with Google Authenticator / TOTP + +Guacamole now has support for TOTP as an additional authentication factor. +TOTP ([Time-based One-Time Password](https://en.wikipedia.org/wiki/Time-based_One-time_Password_algorithm)) +is a [standardized algorithm](https://tools.ietf.org/html/rfc6238) used for +multi-factor authentication. With this new support, Guacamole may be used with +any application or authentication device which supports the TOTP standard, +including the popular Google Authenticator. + + * [GUACAMOLE-96](https://issues.apache.org/jira/browse/GUACAMOLE-96) - Two factor authentication with Google Authenticator + +### Support for RADIUS authentication + +RADIUS support has
[2/7] guacamole-server git commit: GUACAMOLE-662: Add utility script for automatically generating CUnit test runners.
GUACAMOLE-662: Add utility script for automatically generating CUnit test runners. Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/d7118fda Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/d7118fda Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/d7118fda Branch: refs/heads/master Commit: d7118fda707cf888eede291d547aee5aa5e293c1 Parents: 2827af3 Author: Michael Jumper Authored: Tue Nov 13 13:24:23 2018 -0800 Committer: Michael Jumper Committed: Fri Nov 16 22:23:55 2018 -0800 -- Makefile.am | 19 ++--- util/generate-test-runner.pl | 146 ++ 2 files changed, 156 insertions(+), 9 deletions(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/d7118fda/Makefile.am -- diff --git a/Makefile.am b/Makefile.am index 6926474..cbfea85 100644 --- a/Makefile.am +++ b/Makefile.am @@ -91,13 +91,14 @@ if ENABLE_GUACLOG SUBDIRS += src/guaclog endif -EXTRA_DIST = \ -.dockerignore\ -CONTRIBUTING \ -Dockerfile \ -LICENSE \ -NOTICE \ -bin/guacctl \ -doc/Doxyfile.in \ -src/guacd-docker +EXTRA_DIST = \ +.dockerignore\ +CONTRIBUTING \ +Dockerfile \ +LICENSE \ +NOTICE \ +bin/guacctl \ +doc/Doxyfile.in \ +src/guacd-docker \ +util/generate-test-runner.pl http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/d7118fda/util/generate-test-runner.pl -- diff --git a/util/generate-test-runner.pl b/util/generate-test-runner.pl new file mode 100755 index 000..c32ec0c --- /dev/null +++ b/util/generate-test-runner.pl @@ -0,0 +1,146 @@ +#!/usr/bin/perl +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + +# +# generate-test-runner.pl +# +# Generates a test runner for the .c files given on the command line. Each .c +# file may declare any number of tests so long as each test uses CUnit and is +# declared with the following convention: +# +# void test_SUITENAME__TESTNAME() { +# ... +# } +# +# where TESTNAME is the arbitrary name of the test and SUITENAME is the +# arbitrary name of the test suite that this test belongs to. +# +# Absolutely all tests MUST follow the above convention if they are to be +# picked up by this script. Functions which are not tests MUST NOT follow +# the above convention. +# + +use strict; + +# Parse all test declarations from given file +my %test_suites = (); +while (<>) { +if ((my $suite_name, my $test_name) = m/^void\s+test_(\w+)__(\w+)/) { +$test_suites{$suite_name} //= (); +push @{$test_suites{$suite_name}}, $test_name; +} +} + +# +# Common test runner header +# + +print <<'END'; +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +#include +#include +END + +# +# Prototypes for all test functions +# + +while ((my $suite_name, my $test_names) = each (%test_suites)) { +print "\n/* Automatically-generated prototypes for the
[5/7] guacamole-server git commit: GUACAMOLE-662: Migrate tests to test runners generated by new convenience script. Remove unnecessary test runners.
http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/476b4310/tests/client/client_suite.h -- diff --git a/tests/client/client_suite.h b/tests/client/client_suite.h deleted file mode 100644 index da1bc22..000 --- a/tests/client/client_suite.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - - -#ifndef _GUAC_TEST_CLIENT_SUITE_H -#define _GUAC_TEST_CLIENT_SUITE_H - -#include "config.h" - -int register_client_suite(); - -void test_layer_pool(); -void test_buffer_pool(); - -#endif - http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/476b4310/tests/client/layer_pool.c -- diff --git a/tests/client/layer_pool.c b/tests/client/layer_pool.c deleted file mode 100644 index 8b61c86..000 --- a/tests/client/layer_pool.c +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#include "config.h" - -#include "client_suite.h" - -#include -#include -#include - -void test_layer_pool() { - -guac_client* client; - -int i; -int seen[GUAC_BUFFER_POOL_INITIAL_SIZE] = {0}; - -guac_layer* layer; - -/* Get client */ -client = guac_client_alloc(); -CU_ASSERT_PTR_NOT_NULL_FATAL(client); - -/* Fill pool */ -for (i=0; iindex > 0); -CU_ASSERT_FATAL(layer->index <= GUAC_BUFFER_POOL_INITIAL_SIZE); - -/* This should be a layer we have not seen yet */ -CU_ASSERT_FALSE(seen[layer->index - 1]); -seen[layer->index - 1] = 1; - -guac_client_free_layer(client, layer); - -} - -/* Now that pool is filled, we should get a previously seen layer */ -layer = guac_client_alloc_layer(client); - -CU_ASSERT_FATAL(layer->index > 0); -CU_ASSERT_FATAL(layer->index <= GUAC_BUFFER_POOL_INITIAL_SIZE); -CU_ASSERT_TRUE(seen[layer->index - 1]); - -/* Free client */ -guac_client_free(client); - -} - http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/476b4310/tests/common/common_suite.c -- diff --git a/tests/common/common_suite.c b/tests/common/common_suite.c deleted file mode 100644 index 58ca799..000 --- a/tests/common/common_suite.c +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -#include "config.h" - -#include "common_suite.h" - -#include - -int common_suite_init() { -return 0; -} - -int common_suite_cleanup() { -return 0; -} - -int register_common_suite() { - -/* Add common test suite */ -CU_pSuite suite =
[4/7] guacamole-server git commit: GUACAMOLE-662: Log test output in TAP format.
GUACAMOLE-662: Log test output in TAP format. Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/ca4009c9 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/ca4009c9 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/ca4009c9 Branch: refs/heads/master Commit: ca4009c9824b26af9c2785fc847dfe7f9f14bc1d Parents: d7118fd Author: Michael Jumper Authored: Tue Nov 13 19:55:06 2018 -0800 Committer: Michael Jumper Committed: Sat Nov 17 12:41:48 2018 -0800 -- util/generate-test-runner.pl | 56 --- 1 file changed, 52 insertions(+), 4 deletions(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/ca4009c9/util/generate-test-runner.pl -- diff --git a/util/generate-test-runner.pl b/util/generate-test-runner.pl index c32ec0c..a121a07 100755 --- a/util/generate-test-runner.pl +++ b/util/generate-test-runner.pl @@ -39,15 +39,23 @@ use strict; -# Parse all test declarations from given file +my $num_tests = 0; my %test_suites = (); + +# Parse all test declarations from given file while (<>) { if ((my $suite_name, my $test_name) = m/^void\s+test_(\w+)__(\w+)/) { +$num_tests++; $test_suites{$suite_name} //= (); push @{$test_suites{$suite_name}}, $test_name; } } +# Bail out if there's nothing to write +if ($num_tests == 0) { +die "No unit tests... :(\n"; +} + # # Common test runner header # @@ -73,7 +81,44 @@ print <<'END'; */ #include -#include +#include + +/** + * The current test number, as required by the TAP format. This value is + * automatically incremented by tap_log_test_completed() after each test is + * run. + */ +int tap_test_number = 1; + +/** + * Logs the status of a CUnit test which just completed. This implementation + * logs test completion in TAP format. + * + * @param test + * The CUnit test which just completed. + * + * @param suite + * The CUnit test suite associated with the test. + * + * @param failure + * The head element of the test failure list, or NULL if the test passed. + */ +static void tap_log_test_completed(const CU_pTest test, +const CU_pSuite suite, const CU_pFailureRecord failure) { + +/* Log success/failure in TAP format */ +if (failure == NULL) +printf("ok %i - [%s] %s: OK\n", +tap_test_number, suite->pName, test->pName); +else +printf("not ok %i - [%s] %s: Assertion failed on %s:%i: %s\n", +tap_test_number, suite->pName, test->pName, +failure->strFileName, failure->uiLineNumber, +failure->strCondition); + +tap_test_number++; + +} END # @@ -132,9 +177,12 @@ while ((my $suite_name, my $test_names) = each (%test_suites)) { print <<"END"; +/* Write TAP header */ +printf("1..$num_tests\\n"); + /* Run all tests in all suites */ -CU_basic_set_mode(CU_BRM_VERBOSE); -CU_basic_run_tests(); +CU_set_test_complete_handler(tap_log_test_completed); +CU_run_all_tests(); cleanup: /* Tests complete */
[guacamole-client] branch master updated (59b1ccc -> 9dcee8b)
This is an automated email from the ASF dual-hosted git repository. vnick pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/guacamole-client.git. from 59b1ccc GUACAMOLE-699: Merge add helper script for verifying translations add 57dfd58 GUACAMOLE-688: added LDAP_USER_SEARCH_FILTER to docker start script add 344b868 GUACAMOLE-688: corrected white spaces new 9dcee8b GUACAMOLE-688: Merge add LDAP_USER_SEARCH_FILTER to docker start script The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: guacamole-docker/bin/start.sh | 4 1 file changed, 4 insertions(+)
[guacamole-client] branch master updated (1e1d521 -> 7e7b6fd)
This is an automated email from the ASF dual-hosted git repository. vnick pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/guacamole-client.git. from 1e1d521 GUACAMOLE-704: Merge add ldap-follow-referrals setting for Docker containers new 4a1527b GUACAMOLE-524: Provide bridge implementations of both old and new versions of connect() for sake of compatibility. new b638387 GUACAMOLE-524: Provide distinct, documented, internal access to raw GuacamoleConfiguration within SimpleConnection. new 7e67dde GUACAMOLE-524: Leverage thread-local storage to allow overriding the deprecated connect() function to have the expected effect within subclasses of SimpleConnection. new 6be722e GUACAMOLE-524: Require usages of SimpleConnection to explicitly request automatic interpretation of parameter tokens. Do not enable by default. new 49cd4e5 GUACAMOLE-524: Clarify and document SimpleConnection implementation. new 9d74d99 GUACAMOLE-524: Correct JavaDoc references to previous iteration of API rework. new 05553ec GUACAMOLE-524: Internally replace Connectable with an ABI-compatible version. new a28b3c3 GUACAMOLE-524: Do not interpret tokens in SimpleUserContext if interpretTokens is false. new feecb63 GUACAMOLE-524: Declare deprecation of old connect() within guacamole-ext. new bcbac1f GUACAMOLE-524: Ensure all guacamole-ext classes implementing connect() use the old connect() as their basis. Overriding the old connect() will not have the expected effect otherwise. new 7e7b6fd GUACAMOLE-524: Merge update connect() API changes for backward compatibility with 1.0.0. The 4977 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../auth/quickconnect/QuickConnectDirectory.java | 2 +- .../org/apache/guacamole/net/auth/Connectable.java | 41 + .../guacamole/net/auth/DelegatingConnection.java | 38 - .../net/auth/DelegatingConnectionGroup.java| 39 - .../auth/simple/SimpleAuthenticationProvider.java | 2 +- .../net/auth/simple/SimpleConnection.java | 179 ++--- .../net/auth/simple/SimpleConnectionGroup.java | 11 +- .../net/auth/simple/SimpleUserContext.java | 34 +++- .../org/apache/guacamole/net/auth/Connectable.java | 109 + 9 files changed, 424 insertions(+), 31 deletions(-) create mode 100644 guacamole/src/main/java/org/apache/guacamole/net/auth/Connectable.java
[guacamole-website] branch master updated: Document vulnerability CVE-2018-1340, fixed in 1.0.0.
This is an automated email from the ASF dual-hosted git repository. vnick pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/guacamole-website.git The following commit(s) were added to refs/heads/master by this push: new 114e5e1 Document vulnerability CVE-2018-1340, fixed in 1.0.0. new c222748 Merge document vulnerability CVE-2018-1340, fixed in 1.0.0. 114e5e1 is described below commit 114e5e1f8536d1fd30dc21850ccb79edcf753c87 Author: Michael Jumper AuthorDate: Wed Jan 9 22:29:44 2019 -0800 Document vulnerability CVE-2018-1340, fixed in 1.0.0. --- _security/CVE-2018-1340.md | 13 + 1 file changed, 13 insertions(+) diff --git a/_security/CVE-2018-1340.md b/_security/CVE-2018-1340.md new file mode 100644 index 000..83abb74 --- /dev/null +++ b/_security/CVE-2018-1340.md @@ -0,0 +1,13 @@ +--- +title: Secure flag missing from session cookie +cve: CVE-2018-1340 +fixed: 1.0.0 +--- + +Prior to 1.0.0, Apache Guacamole used a cookie for client-side storage of the +user's session token. This cookie lacked the "secure" flag, which could allow +an attacker eavesdropping on the network to intercept the user's session token +if unencrypted HTTP requests are made to the same domain. + +Acknowledgements: We would like to thank Ross Golder for reporting this issue. +
[2/2] guacamole-client git commit: GUACAMOLE-674: Merge add variable for LDAP member attribute to Docker start script.
GUACAMOLE-674: Merge add variable for LDAP member attribute to Docker start script. Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/fd2198d6 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/fd2198d6 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/fd2198d6 Branch: refs/heads/master Commit: fd2198d62bd5181c6a193dbcedc401823e0fbabe Parents: a1e6db1 0f59f6e Author: Nick Couchman Authored: Fri Dec 7 04:49:54 2018 -0500 Committer: Nick Couchman Committed: Fri Dec 7 04:49:54 2018 -0500 -- guacamole-docker/bin/start.sh | 1 + 1 file changed, 1 insertion(+) --
[1/2] guacamole-client git commit: GUACAMOLE-674: added env variable for member attribute
Repository: guacamole-client Updated Branches: refs/heads/master a1e6db170 -> fd2198d62 GUACAMOLE-674: added env variable for member attribute Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/0f59f6ef Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/0f59f6ef Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/0f59f6ef Branch: refs/heads/master Commit: 0f59f6efc8d781be7ec3b268d42fba99ca2e6c97 Parents: a1e6db1 Author: Joern Lentes Authored: Fri Dec 7 10:08:51 2018 +0100 Committer: Joern Lentes Committed: Fri Dec 7 10:08:51 2018 +0100 -- guacamole-docker/bin/start.sh | 1 + 1 file changed, 1 insertion(+) -- http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/0f59f6ef/guacamole-docker/bin/start.sh -- diff --git a/guacamole-docker/bin/start.sh b/guacamole-docker/bin/start.sh index 9054a08..1fbcc85 100755 --- a/guacamole-docker/bin/start.sh +++ b/guacamole-docker/bin/start.sh @@ -305,6 +305,7 @@ END set_optional_property "ldap-encryption-method" "$LDAP_ENCRYPTION_METHOD" set_property "ldap-user-base-dn" "$LDAP_USER_BASE_DN" set_optional_property "ldap-username-attribute" "$LDAP_USERNAME_ATTRIBUTE" +set_optional_property "ldap-member-attribute" "$LDAP_MEMBER_ATTRIBUTE" set_optional_property "ldap-group-base-dn" "$LDAP_GROUP_BASE_DN" set_optional_property "ldap-config-base-dn" "$LDAP_CONFIG_BASE_DN"
[1/2] guacamole-client git commit: GUACAMOLE-598: Ignore if current user has no associated data. Authentication providers are not required to provide data for the users they authenticate.
Repository: guacamole-client Updated Branches: refs/heads/master caf07a92a -> a1e6db170 GUACAMOLE-598: Ignore if current user has no associated data. Authentication providers are not required to provide data for the users they authenticate. Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/ef0cb1ee Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/ef0cb1ee Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/ef0cb1ee Branch: refs/heads/master Commit: ef0cb1ee7a6e9295193193242f959e5b4ebe7b4d Parents: fc457c0 Author: Michael Jumper Authored: Tue Dec 4 13:22:13 2018 -0800 Committer: Michael Jumper Committed: Tue Dec 4 13:22:16 2018 -0800 -- .../src/main/webapp/app/navigation/directives/guacUserMenu.js | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/ef0cb1ee/guacamole/src/main/webapp/app/navigation/directives/guacUserMenu.js -- diff --git a/guacamole/src/main/webapp/app/navigation/directives/guacUserMenu.js b/guacamole/src/main/webapp/app/navigation/directives/guacUserMenu.js index 5c6ad74..c6630e7 100644 --- a/guacamole/src/main/webapp/app/navigation/directives/guacUserMenu.js +++ b/guacamole/src/main/webapp/app/navigation/directives/guacUserMenu.js @@ -95,13 +95,10 @@ angular.module('navigation').directive('guacUserMenu', [function guacUserMenu() */ $scope.role = null; -// Pull user data +// Display user profile attributes if available userService.getUser(authenticationService.getDataSource(), $scope.username) .then(function userRetrieved(user) { -// Store retrieved user object -$scope.user = user; - // Pull basic profile information $scope.fullName = user.attributes[User.Attributes.FULL_NAME]; $scope.organization = user.attributes[User.Attributes.ORGANIZATION]; @@ -111,7 +108,7 @@ angular.module('navigation').directive('guacUserMenu', [function guacUserMenu() var email = user.attributes[User.Attributes.EMAIL_ADDRESS]; $scope.userURL = email ? 'mailto:' + email : null; -}, requestService.DIE); +}, requestService.IGNORE); /** * The available main pages for the current user.
[2/2] guacamole-client git commit: GUACAMOLE-598: Merge ignore if current user has no associated data.
GUACAMOLE-598: Merge ignore if current user has no associated data. Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/a1e6db17 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/a1e6db17 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/a1e6db17 Branch: refs/heads/master Commit: a1e6db170f286882670957e1e127cae061096bb3 Parents: caf07a9 ef0cb1e Author: Nick Couchman Authored: Thu Dec 6 07:01:31 2018 -0500 Committer: Nick Couchman Committed: Thu Dec 6 07:01:31 2018 -0500 -- .../src/main/webapp/app/navigation/directives/guacUserMenu.js | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) --
[2/2] guacamole-server git commit: GUACAMOLE-638: Merge avcodec_register_all() should be used only if not deprecated.
GUACAMOLE-638: Merge avcodec_register_all() should be used only if not deprecated. Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/bbb6afaf Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/bbb6afaf Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/bbb6afaf Branch: refs/heads/master Commit: bbb6afaf462f6930a589f962302806c52f350c0b Parents: 0d435e2 867e63b Author: Nick Couchman Authored: Wed Nov 21 07:24:20 2018 -0500 Committer: Nick Couchman Committed: Wed Nov 21 07:24:20 2018 -0500 -- src/guacenc/guacenc.c | 2 ++ 1 file changed, 2 insertions(+) --
[1/2] guacamole-server git commit: GUACAMOLE-638: avcodec_register_all() should be used only if not deprecated.
Repository: guacamole-server Updated Branches: refs/heads/master 0d435e243 -> bbb6afaf4 GUACAMOLE-638: avcodec_register_all() should be used only if not deprecated. Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/867e63b5 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/867e63b5 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/867e63b5 Branch: refs/heads/master Commit: 867e63b52473d962183eac98240ea4831286ab90 Parents: 0d435e2 Author: Michael Jumper Authored: Fri Oct 19 12:43:08 2018 -0700 Committer: Michael Jumper Committed: Mon Nov 12 16:36:15 2018 -0800 -- src/guacenc/guacenc.c | 2 ++ 1 file changed, 2 insertions(+) -- http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/867e63b5/src/guacenc/guacenc.c -- diff --git a/src/guacenc/guacenc.c b/src/guacenc/guacenc.c index e8442fd..093623a 100644 --- a/src/guacenc/guacenc.c +++ b/src/guacenc/guacenc.c @@ -75,8 +75,10 @@ int main(int argc, char* argv[]) { guacenc_log(GUAC_LOG_INFO, "Guacamole video encoder (guacenc) " "version " VERSION); +#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58, 10, 100) /* Prepare libavcodec */ avcodec_register_all(); +#endif /* Track number of overall failures */ int total_files = argc - optind;
[1/3] guacamole-server git commit: GUACAMOLE-662: Correct handling of buffering within nested socket.
Repository: guacamole-server Updated Branches: refs/heads/master aba7b987d -> bb9560716 GUACAMOLE-662: Correct handling of buffering within nested socket. The nested socket implementation seems to have never been properly updated since guac_socket was changed to rely on implementation-specific buffering. This meant that absolutely every write resulted in a nest instruction being sent to the parent socket. Data should instead be built up within the internal buffer, with each flush writing as much of the internal buffer as possible within a nest instruction, leaving any partial UTF-8 characters at the end of the buffer for later completion with future writes. Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/cc4671d7 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/cc4671d7 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/cc4671d7 Branch: refs/heads/master Commit: cc4671d7a168cd7424282f9b4be7b59cc1ee36a2 Parents: 47ad6f4 Author: Michael Jumper Authored: Sun Jan 6 17:06:45 2019 -0800 Committer: Michael Jumper Committed: Sun Jan 6 17:09:35 2019 -0800 -- src/libguac/socket-nest.c | 292 ++--- 1 file changed, 241 insertions(+), 51 deletions(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/cc4671d7/src/libguac/socket-nest.c -- diff --git a/src/libguac/socket-nest.c b/src/libguac/socket-nest.c index 0c7d471..967c9d9 100644 --- a/src/libguac/socket-nest.c +++ b/src/libguac/socket-nest.c @@ -25,80 +25,237 @@ #include #include +#include #include -#define GUAC_SOCKET_NEST_BUFFER_SIZE 8192 +/** + * The maximum number of bytes to buffer before sending a "nest" instruction. + * As some of the 8 KB space available for each instruction will be taken up by + * the "nest" opcode and other parameters, and 1 KB will be more than enough + * space for that extra data, this space is reduced to an even 7 KB. + */ +#define GUAC_SOCKET_NEST_BUFFER_SIZE 7168 -typedef struct __guac_socket_nest_data { +/** + * Internal data associated with an open socket which writes via a series of + * "nest" instructions to some underlying, parent socket. + */ +typedef struct guac_socket_nest_data { +/** + * The underlying socket which should be used to write "nest" instructions. + */ guac_socket* parent; -char buffer[GUAC_SOCKET_NEST_BUFFER_SIZE]; + +/** + * The arbitrary index of the nested socket, assigned at time of + * allocation. + */ int index; -} __guac_socket_nest_data; +/** + * The number of bytes currently in the main write buffer. + */ +int written; -ssize_t __guac_socket_nest_write_handler(guac_socket* socket, -const void* buf, size_t count) { +/** + * The main write buffer. Bytes written go here before being flushed + * as nest instructions. Space is included for the null terminator + * required by guac_protocol_send_nest(). + */ +char buffer[GUAC_SOCKET_NEST_BUFFER_SIZE]; + +/** + * Lock which is acquired when an instruction is being written, and + * released when the instruction is finished being written. + */ +pthread_mutex_t socket_lock; + +/** + * Lock which protects access to the internal buffer of this socket, + * guaranteeing atomicity of writes and flushes. + */ +pthread_mutex_t buffer_lock; + +} guac_socket_nest_data; + +/** + * Flushes the contents of the output buffer of the given socket immediately, + * without first locking access to the output buffer. This function must ONLY + * be called if the buffer lock has already been acquired. + * + * @param socket + * The guac_socket to flush. + * + * @return + * Zero if the flush operation was successful, non-zero otherwise. + */ +static ssize_t guac_socket_nest_flush(guac_socket* socket) { + +guac_socket_nest_data* data = (guac_socket_nest_data*) socket->data; + +/* Flush remaining bytes in buffer */ +if (data->written > 0) { + +/* Determine length of buffer containing complete UTF-8 characters + * (buffer may end with a partial, multi-byte character) */ +int length = 0; +while (length < data->written) +length += guac_utf8_charsize(*(data->buffer + length)); -__guac_socket_nest_data* data = (__guac_socket_nest_data*) socket->data; -unsigned char* source = (unsigned char*) buf; +/* Add null terminator, preserving overwritten character for later + * restoration (guac_protocol_send_nest() requires null-terminated + * strings) */ +char overwritten = data->buffer[length]; +data->buffer[length] = '\0'; -/* Current location in
[1/2] guacamole-server git commit: GUACAMOLE-661: Mark "nest" instruction and socket as deprecated.
Repository: guacamole-server Updated Branches: refs/heads/master bb9560716 -> 768b2ba0f GUACAMOLE-661: Mark "nest" instruction and socket as deprecated. Project: http://git-wip-us.apache.org/repos/asf/guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-server/commit/d73b86b4 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-server/tree/d73b86b4 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-server/diff/d73b86b4 Branch: refs/heads/master Commit: d73b86b4b7c41fc7fa16423fc340d644c729b233 Parents: bb95607 Author: Michael Jumper Authored: Mon Jan 7 09:37:08 2019 -0800 Committer: Michael Jumper Committed: Mon Jan 7 09:37:08 2019 -0800 -- src/libguac/guacamole/protocol.h | 7 +++ src/libguac/guacamole/socket.h | 7 +++ 2 files changed, 14 insertions(+) -- http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/d73b86b4/src/libguac/guacamole/protocol.h -- diff --git a/src/libguac/guacamole/protocol.h b/src/libguac/guacamole/protocol.h index fd824af..d1a0420 100644 --- a/src/libguac/guacamole/protocol.h +++ b/src/libguac/guacamole/protocol.h @@ -214,6 +214,13 @@ int guac_protocol_send_mouse(guac_socket* socket, int x, int y, * If an error occurs sending the instruction, a non-zero value is * returned, and guac_error is set appropriately. * + * @deprecated + * The "nest" instruction and the corresponding guac_socket + * implementation are no longer necessary, having been replaced by + * the streaming instructions ("blob", "ack", "end"). Code using nested + * sockets or the "nest" instruction should instead write to a normal + * socket directly. + * * @param socket The guac_socket connection to use. * @param index The integer index of the stram to send the protocol * data over. http://git-wip-us.apache.org/repos/asf/guacamole-server/blob/d73b86b4/src/libguac/guacamole/socket.h -- diff --git a/src/libguac/guacamole/socket.h b/src/libguac/guacamole/socket.h index e83a4eb..2da697f 100644 --- a/src/libguac/guacamole/socket.h +++ b/src/libguac/guacamole/socket.h @@ -180,6 +180,13 @@ guac_socket* guac_socket_open(int fd); * If an error occurs while allocating the guac_socket object, NULL is returned, * and guac_error is set appropriately. * + * @deprecated + * The "nest" instruction and the corresponding guac_socket + * implementation are no longer necessary, having been replaced by + * the streaming instructions ("blob", "ack", "end"). Code using nested + * sockets or the "nest" instruction should instead write to a normal + * socket directly. + * * @param parent The guac_socket this new guac_socket should write nest * instructions to. * @param index The stream index to use for the written nest instructions.
[2/2] guacamole-manual git commit: GUACAMOLE-661: Merge document deprecation of "nest" instruction.
GUACAMOLE-661: Merge document deprecation of "nest" instruction. Project: http://git-wip-us.apache.org/repos/asf/guacamole-manual/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-manual/commit/fadba644 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-manual/tree/fadba644 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-manual/diff/fadba644 Branch: refs/heads/master Commit: fadba64463600e2e0840b117e3ac2e0d9ae385c2 Parents: 03c612c 206400f Author: Nick Couchman Authored: Mon Jan 7 12:51:15 2019 -0500 Committer: Nick Couchman Committed: Mon Jan 7 12:51:15 2019 -0500 -- src/references/instructions/server/stream/nest.xml | 14 ++ 1 file changed, 14 insertions(+) --
[1/2] guacamole-manual git commit: GUACAMOLE-661: Document deprecation of "nest" instruction.
Repository: guacamole-manual Updated Branches: refs/heads/master 03c612cc2 -> fadba6446 GUACAMOLE-661: Document deprecation of "nest" instruction. Project: http://git-wip-us.apache.org/repos/asf/guacamole-manual/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-manual/commit/206400f0 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-manual/tree/206400f0 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-manual/diff/206400f0 Branch: refs/heads/master Commit: 206400f063b7e04e6350fb368fa9506193601b57 Parents: 03c612c Author: Michael Jumper Authored: Mon Jan 7 09:47:14 2019 -0800 Committer: Michael Jumper Committed: Mon Jan 7 09:47:14 2019 -0800 -- src/references/instructions/server/stream/nest.xml | 14 ++ 1 file changed, 14 insertions(+) -- http://git-wip-us.apache.org/repos/asf/guacamole-manual/blob/206400f0/src/references/instructions/server/stream/nest.xml -- diff --git a/src/references/instructions/server/stream/nest.xml b/src/references/instructions/server/stream/nest.xml index 207d5c7..50119f9 100644 --- a/src/references/instructions/server/stream/nest.xml +++ b/src/references/instructions/server/stream/nest.xml @@ -6,6 +6,20 @@ nest + +The nest instruction has been +deprecated. +The nest instruction is no longer necessary, having been replaced +by other streaming instructions (such as http://www.w3.org/1999/xlink; linkend="blob-instruction" +>blob, http://www.w3.org/1999/xlink; linkend="ack-instruction" +>ack, and http://www.w3.org/1999/xlink; linkend="end-instruction" +>end). Code using the nest +instruction should instead write instructions directly without wrapping those +instructions within nest. + Encodes part of one or more instructions within a single instruction, associating that packet of data with a stream index. Future nest instructions with the same stream index will append their data to the
[4/4] guacamole-website git commit: Merge archive releases older than 1.0.0.
Merge archive releases older than 1.0.0. Project: http://git-wip-us.apache.org/repos/asf/guacamole-website/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-website/commit/77b45ba6 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-website/tree/77b45ba6 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-website/diff/77b45ba6 Branch: refs/heads/master Commit: 77b45ba644b26fa66af926aba1bc51668fc0eb3f Parents: deaf070 e86e41e Author: Nick Couchman Authored: Fri Jan 11 04:11:05 2019 -0500 Committer: Nick Couchman Committed: Fri Jan 11 04:11:05 2019 -0500 -- _layouts/legacy-release.html | 5 - _layouts/release.html | 10 ++ _releases/0.9.10-incubating.md | 1 + _releases/0.9.11-incubating.md | 1 + _releases/0.9.12-incubating.md | 1 + _releases/0.9.13-incubating.md | 5 +++-- _releases/0.9.14.md| 5 +++-- styles/main.css| 3 ++- 8 files changed, 25 insertions(+), 6 deletions(-) --
[2/4] guacamole-website git commit: Link to archive.apache.org for 0.9.13-incubating and 0.9.14 releases.
Link to archive.apache.org for 0.9.13-incubating and 0.9.14 releases. Project: http://git-wip-us.apache.org/repos/asf/guacamole-website/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-website/commit/c7ef9422 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-website/tree/c7ef9422 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-website/diff/c7ef9422 Branch: refs/heads/master Commit: c7ef9422fbad701ce6998bd02defd21503779310 Parents: 5d04c3e Author: Michael Jumper Authored: Wed Jan 9 22:07:46 2019 -0800 Committer: Michael Jumper Committed: Wed Jan 9 22:07:46 2019 -0800 -- _releases/0.9.13-incubating.md | 4 ++-- _releases/0.9.14.md| 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/c7ef9422/_releases/0.9.13-incubating.md -- diff --git a/_releases/0.9.13-incubating.md b/_releases/0.9.13-incubating.md index fbcc7a3..7fb025b 100644 --- a/_releases/0.9.13-incubating.md +++ b/_releases/0.9.13-incubating.md @@ -7,8 +7,8 @@ summary: > CAS single sign-on, fixes for VNC/RDP/SSH/telnet, in-browser playback of screen recordings, automatic connection failover, 256-color console codes. -artifact-root: "http://apache.org/dyn/closer.cgi?action=download=; -checksum-root: "https://www.apache.org/dist/; +artifact-root: "http://archive.apache.org/dist/; +checksum-root: "https://archive.apache.org/dist/; download-path: "guacamole/0.9.13-incubating/" checksum-suffixes: "MD5" : ".md5" http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/c7ef9422/_releases/0.9.14.md -- diff --git a/_releases/0.9.14.md b/_releases/0.9.14.md index ec3b98b..eaa8bd0 100644 --- a/_releases/0.9.14.md +++ b/_releases/0.9.14.md @@ -8,8 +8,8 @@ summary: > login/logout history, fixes and improvements for RDP, clipboard, file transfer, and terminal emulation. -artifact-root: "http://apache.org/dyn/closer.cgi?action=download=; -checksum-root: "https://www.apache.org/dist/; +artifact-root: "http://archive.apache.org/dist/; +checksum-root: "https://archive.apache.org/dist/; download-path: "guacamole/0.9.14/" checksum-suffixes: "MD5" : ".md5"
[3/4] guacamole-website git commit: Mark all archived releases as such.
Mark all archived releases as such. Project: http://git-wip-us.apache.org/repos/asf/guacamole-website/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-website/commit/e86e41eb Tree: http://git-wip-us.apache.org/repos/asf/guacamole-website/tree/e86e41eb Diff: http://git-wip-us.apache.org/repos/asf/guacamole-website/diff/e86e41eb Branch: refs/heads/master Commit: e86e41eb6bece825fb5f1761eec20796676c30b5 Parents: c7ef942 Author: Michael Jumper Authored: Wed Jan 9 22:08:35 2019 -0800 Committer: Michael Jumper Committed: Wed Jan 9 22:09:15 2019 -0800 -- _releases/0.9.11-incubating.md | 2 +- _releases/0.9.12-incubating.md | 1 + _releases/0.9.13-incubating.md | 1 + _releases/0.9.14.md| 1 + 4 files changed, 4 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/e86e41eb/_releases/0.9.11-incubating.md -- diff --git a/_releases/0.9.11-incubating.md b/_releases/0.9.11-incubating.md index eec7611..5de976e 100644 --- a/_releases/0.9.11-incubating.md +++ b/_releases/0.9.11-incubating.md @@ -1,7 +1,7 @@ --- released: true -archived: false +archived: true title: 0.9.11-incubating date: 2017-02-02 09:24:00 -0800 summary: > http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/e86e41eb/_releases/0.9.12-incubating.md -- diff --git a/_releases/0.9.12-incubating.md b/_releases/0.9.12-incubating.md index 447990e..5f63d34 100644 --- a/_releases/0.9.12-incubating.md +++ b/_releases/0.9.12-incubating.md @@ -1,6 +1,7 @@ --- released: true +archived: true title: 0.9.12-incubating date: 2017-04-01 10:40:00 -0700 summary: > http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/e86e41eb/_releases/0.9.13-incubating.md -- diff --git a/_releases/0.9.13-incubating.md b/_releases/0.9.13-incubating.md index 7fb025b..65528bc 100644 --- a/_releases/0.9.13-incubating.md +++ b/_releases/0.9.13-incubating.md @@ -1,6 +1,7 @@ --- released: true +archived: true title: 0.9.13-incubating date: 2017-07-30 22:06:00 -0700 summary: > http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/e86e41eb/_releases/0.9.14.md -- diff --git a/_releases/0.9.14.md b/_releases/0.9.14.md index eaa8bd0..5a1c638 100644 --- a/_releases/0.9.14.md +++ b/_releases/0.9.14.md @@ -1,6 +1,7 @@ --- released: true +archived: true title: 0.9.14 date: 2018-01-18 09:47:00 -0800 summary: >
[1/4] guacamole-website git commit: Note when a release is archived. Link to latest release in older release notes.
Repository: guacamole-website Updated Branches: refs/heads/master deaf0704c -> 77b45ba64 Note when a release is archived. Link to latest release in older release notes. Project: http://git-wip-us.apache.org/repos/asf/guacamole-website/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-website/commit/5d04c3e3 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-website/tree/5d04c3e3 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-website/diff/5d04c3e3 Branch: refs/heads/master Commit: 5d04c3e3ff09fc215e0f06380eeb99e1dc8f4708 Parents: deaf070 Author: Michael Jumper Authored: Thu Feb 16 14:43:50 2017 -0800 Committer: Michael Jumper Committed: Wed Jan 9 21:59:20 2019 -0800 -- _layouts/legacy-release.html | 5 - _layouts/release.html | 10 ++ _releases/0.9.10-incubating.md | 1 + _releases/0.9.11-incubating.md | 1 + styles/main.css| 3 ++- 5 files changed, 18 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/5d04c3e3/_layouts/legacy-release.html -- diff --git a/_layouts/legacy-release.html b/_layouts/legacy-release.html index 4899371..260d8ad 100644 --- a/_layouts/legacy-release.html +++ b/_layouts/legacy-release.html @@ -3,11 +3,14 @@ layout: default permalink: /release/release-notes-:title --- +{% assign latest = site.releases | where: 'released', 'true' | sort: 'date' | last %} The release below is from prior to Guacamole's acceptance into the Apache Incubator. It is not an Apache Software Foundation release, and is licensed under the https://opensource.org/licenses/MIT;>MIT license. + href="https://opensource.org/licenses/MIT;>MIT license. The latest + release of Apache Guacamole is {{ + latest.title }}. http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/5d04c3e3/_layouts/release.html -- diff --git a/_layouts/release.html b/_layouts/release.html index a2c880d..ccaa220 100644 --- a/_layouts/release.html +++ b/_layouts/release.html @@ -11,6 +11,16 @@ permalink: /release/release-notes-:title {% endunless %} +{% if page.archived %} +{% assign latest = site.releases | where: 'released', 'true' | sort: 'date' | last %} + +Apache Guacamole {{ page.title }} is an archived release, and was +originally released on {{ page.date | date: "%Y-%m-%d" }}. The +latest release of Apache Guacamole is {{ +latest.title }}. + +{% endif %} + Apache Guacamole {{ page.title }} http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/5d04c3e3/_releases/0.9.10-incubating.md -- diff --git a/_releases/0.9.10-incubating.md b/_releases/0.9.10-incubating.md index e6648a4..7af7193 100644 --- a/_releases/0.9.10-incubating.md +++ b/_releases/0.9.10-incubating.md @@ -1,6 +1,7 @@ --- released: true +archived: true title: 0.9.10-incubating date: 2016-12-29 19:52:00 -0800 summary: > http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/5d04c3e3/_releases/0.9.11-incubating.md -- diff --git a/_releases/0.9.11-incubating.md b/_releases/0.9.11-incubating.md index 37007bb..eec7611 100644 --- a/_releases/0.9.11-incubating.md +++ b/_releases/0.9.11-incubating.md @@ -1,6 +1,7 @@ --- released: true +archived: false title: 0.9.11-incubating date: 2017-02-02 09:24:00 -0800 summary: > http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/5d04c3e3/styles/main.css -- diff --git a/styles/main.css b/styles/main.css index 4ab8f7b..2397d92 100644 --- a/styles/main.css +++ b/styles/main.css @@ -555,7 +555,8 @@ table.releases td { } #content > .legacy-release-note, -#content > .draft-disclaimer { +#content > .draft-disclaimer, +#content > .archive-disclaimer { background: #FA; border: 1px solid rgba(0, 0, 0, 0.25); width: 8in;
[guacamole-client] 01/01: GUACAMOLE-699: Merge add helper script for verifying translations
This is an automated email from the ASF dual-hosted git repository. vnick pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/guacamole-client.git commit 59b1ccc732bef3980021f0dab6267f9d9aca32f1 Merge: fe6203a fe36014 Author: Virtually Nick AuthorDate: Sun Jan 13 16:20:09 2019 -0500 GUACAMOLE-699: Merge add helper script for verifying translations guacamole/util/check-translation.py | 309 1 file changed, 309 insertions(+)
[guacamole-client] branch master updated (fe6203a -> 59b1ccc)
This is an automated email from the ASF dual-hosted git repository. vnick pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/guacamole-client.git. from fe6203a GUACAMOLE-683: Merge Docker image support for OpenID authentication. add fe36014 GUACAMOLE-699: Add helper script for verifying translations. new 59b1ccc GUACAMOLE-699: Merge add helper script for verifying translations The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: guacamole/util/check-translation.py | 309 1 file changed, 309 insertions(+) create mode 100755 guacamole/util/check-translation.py
[02/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common/org/apache/guacamole/net/package-summary.html -- diff --git a/doc/1.0.0/guacamole-common/org/apache/guacamole/net/package-summary.html b/doc/1.0.0/guacamole-common/org/apache/guacamole/net/package-summary.html new file mode 100644 index 000..768e3c6 --- /dev/null +++ b/doc/1.0.0/guacamole-common/org/apache/guacamole/net/package-summary.html @@ -0,0 +1,209 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +org.apache.guacamole.net (guacamole-common 1.0.0 API) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevPackage +NextPackage + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Packageorg.apache.guacamole.net + +Classes which apply to network-specific concepts, such as low-level sockets + and tunnels. + +See:Description + + + + + +Interface Summary + +Interface +Description + + + +GuacamoleSocket + +Provides abstract socket-like access to a Guacamole connection. + + + +GuacamoleTunnel + +Provides a unique identifier and synchronized access to the GuacamoleReader + and GuacamoleWriter associated with a GuacamoleSocket. + + + + + + + +Class Summary + +Class +Description + + + +AbstractGuacamoleTunnel + +Base GuacamoleTunnel implementation which synchronizes access to the + underlying reader and writer with reentrant locks. + + + +DelegatingGuacamoleTunnel + +GuacamoleTunnel implementation which simply delegates all function calls to + an underlying GuacamoleTunnel. + + + +InetGuacamoleSocket + +Provides abstract socket-like access to a Guacamole connection over a given + hostname and port. + + + +SimpleGuacamoleTunnel + +GuacamoleTunnel implementation which uses a provided socket. + + + +SSLGuacamoleSocket + +Provides abstract socket-like access to a Guacamole connection over SSL to + a given hostname and port. + + + + + + + + + +Package org.apache.guacamole.net Description +Classes which apply to network-specific concepts, such as low-level sockets + and tunnels. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevPackage +NextPackage + + +Frames +NoFrames + + +AllClasses + + + + + + + + + +Copyright 2018. All rights reserved. + + http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common/org/apache/guacamole/net/package-tree.html -- diff --git a/doc/1.0.0/guacamole-common/org/apache/guacamole/net/package-tree.html b/doc/1.0.0/guacamole-common/org/apache/guacamole/net/package-tree.html new file mode 100644 index 000..e43bf7d --- /dev/null +++ b/doc/1.0.0/guacamole-common/org/apache/guacamole/net/package-tree.html @@ -0,0 +1,151 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +org.apache.guacamole.net Class Hierarchy (guacamole-common 1.0.0 API) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Hierarchy For Package org.apache.guacamole.net +Package Hierarchies: + +All Packages + + + +Class Hierarchy + +java.lang.http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object + +org.apache.guacamole.net.AbstractGuacamoleTunnel (implements org.apache.guacamole.net.GuacamoleTunnel) + +org.apache.guacamole.net.SimpleGuacamoleTunnel + + +org.apache.guacamole.net.DelegatingGuacamoleTunnel (implements org.apache.guacamole.net.GuacamoleTunnel) +org.apache.guacamole.net.InetGuacamoleSocket
[51/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
Add documentation for 1.0.0. Project: http://git-wip-us.apache.org/repos/asf/guacamole-website/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-website/commit/044692cf Tree: http://git-wip-us.apache.org/repos/asf/guacamole-website/tree/044692cf Diff: http://git-wip-us.apache.org/repos/asf/guacamole-website/diff/044692cf Branch: refs/heads/master Commit: 044692cfe4a81b68c2dbe29c5c5e08b1da0645f2 Parents: 66eb08c Author: Michael Jumper Authored: Fri Dec 21 13:49:53 2018 -0800 Committer: Michael Jumper Committed: Fri Dec 21 13:51:37 2018 -0800 -- .../ArrayBufferReader.js.html | 126 + .../ArrayBufferWriter.js.html | 174 + .../AudioContextFactory.js.html | 130 + .../guacamole-common-js/AudioPlayer.js.html | 556 ++ .../guacamole-common-js/AudioRecorder.js.html | 622 ++ .../guacamole-common-js/BlobReader.js.html | 178 + .../guacamole-common-js/BlobWriter.js.html | 296 + doc/1.0.0/guacamole-common-js/Client.js.html| 1681 .../guacamole-common-js/DataURIReader.js.html | 134 + doc/1.0.0/guacamole-common-js/Display.js.html | 1533 +++ .../Guacamole.ArrayBufferReader.html| 446 + .../Guacamole.ArrayBufferWriter.html| 748 ++ .../Guacamole.AudioContextFactory.html | 331 + .../Guacamole.AudioPlayer.html | 724 ++ .../Guacamole.AudioRecorder.html| 818 ++ .../Guacamole.BlobReader.html | 690 ++ .../Guacamole.BlobWriter.html | 1063 ++ .../Guacamole.ChainedTunnel.html| 1517 +++ .../guacamole-common-js/Guacamole.Client.html | 4818 ++ .../Guacamole.DataURIReader.html| 425 + .../Guacamole.Display.VisibleLayer.html | 6590 + .../guacamole-common-js/Guacamole.Display.html | 9056 ++ .../Guacamole.HTTPTunnel.html | 1599 .../Guacamole.InputSink.html| 370 + .../Guacamole.InputStream.html | 706 ++ .../Guacamole.IntegerPool.html | 494 + .../Guacamole.JSONReader.html | 668 ++ .../Guacamole.Keyboard.ModifierState.html | 695 ++ .../guacamole-common-js/Guacamole.Keyboard.html | 1656 .../Guacamole.Layer.Pixel.html | 544 ++ .../guacamole-common-js/Guacamole.Layer.html| 5706 +++ .../Guacamole.Mouse.State.html | 1059 ++ .../Guacamole.Mouse.Touchpad.html | 904 ++ .../Guacamole.Mouse.Touchscreen.html| 970 ++ .../guacamole-common-js/Guacamole.Mouse.html| 1276 +++ .../guacamole-common-js/Guacamole.Object.html | 1110 +++ .../Guacamole.OnScreenKeyboard.Key.html | 646 ++ .../Guacamole.OnScreenKeyboard.Layout.html | 677 ++ .../Guacamole.OnScreenKeyboard.html | 976 ++ .../Guacamole.OutputStream.html | 682 ++ .../guacamole-common-js/Guacamole.Parser.html | 474 + .../Guacamole.RawAudioFormat.html | 611 ++ .../Guacamole.RawAudioPlayer.html | 628 ++ .../Guacamole.RawAudioRecorder.html | 804 ++ .../Guacamole.SessionRecording.html | 1705 .../Guacamole.StaticHTTPTunnel.html | 1601 .../guacamole-common-js/Guacamole.Status.html | 596 ++ .../Guacamole.StringReader.html | 446 + .../Guacamole.StringWriter.html | 585 ++ .../guacamole-common-js/Guacamole.Tunnel.html | 1535 +++ .../Guacamole.VideoPlayer.html | 746 ++ .../Guacamole.WebSocketTunnel.html | 1501 +++ doc/1.0.0/guacamole-common-js/Guacamole.html| 322 + doc/1.0.0/guacamole-common-js/InputSink.js.html | 179 + .../guacamole-common-js/InputStream.js.html | 121 + .../guacamole-common-js/IntegerPool.js.html | 127 + .../guacamole-common-js/JSONReader.js.html | 165 + doc/1.0.0/guacamole-common-js/Keyboard.js.html | 1564 +++ doc/1.0.0/guacamole-common-js/Layer.js.html | 1029 ++ doc/1.0.0/guacamole-common-js/Mouse.js.html | 1138 +++ doc/1.0.0/guacamole-common-js/Namespace.js.html | 77 + doc/1.0.0/guacamole-common-js/Object.js.html| 261 + .../OnScreenKeyboard.js.html| 994 ++ .../guacamole-common-js/OutputStream.js.html| 119 + doc/1.0.0/guacamole-common-js/Parser.js.html| 207 + .../guacamole-common-js/RawAudioFormat.js.html | 197 + .../SessionRecording.js.html| 870 ++ doc/1.0.0/guacamole-common-js/Status.js.html| 369 + .../guacamole-common-js/StringReader.js.html| 217 + .../guacamole-common-js/StringWriter.js.html| 242 + doc/1.0.0/guacamole-common-js/Tunnel.js.html| 1435 +++ doc/1.0.0/guacamole-common-js/Version.js.html | 81 + .../guacamole-common-js/VideoPlayer.js.html | 159 +
[32/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/Layer.js.html -- diff --git a/doc/1.0.0/guacamole-common-js/Layer.js.html b/doc/1.0.0/guacamole-common-js/Layer.js.html new file mode 100644 index 000..cde09d4 --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/Layer.js.html @@ -0,0 +1,1029 @@ + + + + +JSDoc: Source: Layer.js + + + + + + + + + + + + +Source: Layer.js + + + + + + + + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +var Guacamole = Guacamole || {}; + +/** + * Abstract ordered drawing surface. Each Layer contains a canvas element and + * provides simple drawing instructions for drawing to that canvas element, + * however unlike the canvas element itself, drawing operations on a Layer are + * guaranteed to run in order, even if such an operation must wait for an image + * to load before completing. + * + * @constructor + * + * @param {Number} width The width of the Layer, in pixels. The canvas element + * backing this Layer will be given this width. + * + * @param {Number} height The height of the Layer, in pixels. The canvas element + *backing this Layer will be given this height. + */ +Guacamole.Layer = function(width, height) { + +/** + * Reference to this Layer. + * @private + */ +var layer = this; + +/** + * The number of pixels the width or height of a layer must change before + * the underlying canvas is resized. The underlying canvas will be kept at + * dimensions which are integer multiples of this factor. + * + * @private + * @constant + * @type Number + */ +var CANVAS_SIZE_FACTOR = 64; + +/** + * The canvas element backing this Layer. + * @private + */ +var canvas = document.createElement("canvas"); + +/** + * The 2D display context of the canvas element backing this Layer. + * @private + */ +var context = canvas.getContext("2d"); +context.save(); + +/** + * Whether the layer has not yet been drawn to. Once any draw operation + * which affects the underlying canvas is invoked, this flag will be set to + * false. + * + * @private + * @type Boolean + */ +var empty = true; + +/** + * Whether a new path should be started with the next path drawing + * operations. + * @private + */ +var pathClosed = true; + +/** + * The number of states on the state stack. + * + * Note that there will ALWAYS be one element on the stack, but that + * element is not exposed. It is only used to reset the layer to its + * initial state. + * + * @private + */ +var stackSize = 0; + +/** + * Map of all Guacamole channel masks to HTML5 canvas composite operation + * names. Not all channel mask combinations are currently implemented. + * @private + */ +var compositeOperation = { + /* 0x0 NOT IMPLEMENTED */ +0x1: "destination-in", +0x2: "destination-out", + /* 0x3 NOT IMPLEMENTED */ +0x4: "source-in", + /* 0x5 NOT IMPLEMENTED */ +0x6: "source-atop", + /* 0x7 NOT IMPLEMENTED */ +0x8: "source-out", +0x9: "destination-atop", +0xA: "xor", +0xB: "destination-over", +0xC: "copy", + /* 0xD NOT IMPLEMENTED */ +0xE: "source-over", +0xF: "lighter" +}; + +/** + * Resizes the canvas element backing this Layer. This function should only + * be used internally. + * + * @private + * @param {Number} [newWidth=0] + * The new width to assign to this Layer. + * + * @param {Number} [newHeight=0] + * The new height to assign to this Layer. + */ +var resize = function resize(newWidth, newHeight) { + +// Default size to zero +newWidth = newWidth || 0; +newHeight = newHeight || 0; + +// Calculate new dimensions of internal canvas +var canvasWidth = Math.ceil(newWidth /
[42/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/Guacamole.HTTPTunnel.html -- diff --git a/doc/1.0.0/guacamole-common-js/Guacamole.HTTPTunnel.html b/doc/1.0.0/guacamole-common-js/Guacamole.HTTPTunnel.html new file mode 100644 index 000..9caf823 --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/Guacamole.HTTPTunnel.html @@ -0,0 +1,1599 @@ + + + + +JSDoc: Class: HTTPTunnel + + + + + + + + + + + + +Class: HTTPTunnel + + + + + + + + + + + +Guacamole.HTTPTunnel(tunnelURL, crossDomainopt, extraTunnelHeadersopt) + + + + + + + + + + + + +new HTTPTunnel(tunnelURL, crossDomainopt, extraTunnelHeadersopt) + + + + + + + +Guacamole Tunnel implemented over HTTP via XMLHttpRequest. + + + + + + + + + + +Parameters: + + + + + + +Name + + +Type + + +Attributes + + + +Default + + +Description + + + + + + + + +tunnelURL + + + + + +String + + + + + + + + + + + + + + + + + + + + + +The URL of the HTTP tunneling service. + + + + + + +crossDomain + + + + + +Boolean + + + + + + + + +optional> + + + + + + + + + + + +false + + + + +Whether tunnel requests will be cross-domain, and thus must use CORS +mechanisms and headers. By default, it is assumed that tunnel requests +will be made to the same domain. + + + + + + +extraTunnelHeaders + + + + + +Object + + + + + + + + +optional> + + + + + + + + + + + +{} + + + + +Key value pairs containing the header names and values of any additional +headers to be sent in tunnel requests. By default, no extra headers will +be added. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +Tunnel.js, line 222 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Extends + + + + + +Guacamole.Tunnel + + + + + + + + + + + + + + + + +Members + + + +receiveTimeout :Number + + + + + +The maximum amount of time to wait for data to be received, in +milliseconds. If data is not received within this amount of time, +the tunnel is closed with an error. The default value is 15000. + + + + +Type: + + + +Number + + + + + + + + + + + + + + + + +Inherited From: + +Guacamole.Tunnel#receiveTimeout + + + + + + + + + + + + + + + + + + + + + + +Source: + +Tunnel.js, line 101 + + + + + + + + + + + + + + + + + +state :Number + + + + + +The current state of this tunnel. + + + + +Type: + + + +Number + + + + + + + + + + + + + + + + +Inherited From: + +Guacamole.Tunnel#state + + + + + + + + + + + + + + + + + + + + + + +Source: + +Tunnel.js, line 92 + + + + + + + + + + + + + + + + + +unstableThreshold :Number + + + + + +The amount of time to wait for data to be received before considering +the connection to be unstable, in milliseconds. If data is not received +within this amount of time, the tunnel status is updated to warn that +the connection appears unresponsive and may close. The default value is +1500. + + + + +Type: + + + +Number + + + + + + + + + + + + + + + + +Inherited From: + +Guacamole.Tunnel#unstableThreshold + + + + + +
[15/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common/index-all.html -- diff --git a/doc/1.0.0/guacamole-common/index-all.html b/doc/1.0.0/guacamole-common/index-all.html new file mode 100644 index 000..bb951b1 --- /dev/null +++ b/doc/1.0.0/guacamole-common/index-all.html @@ -0,0 +1,1339 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Index (guacamole-common 1.0.0 API) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + +ACDFGHINORSTUVW + + +A + +AbstractGuacamoleTunnel - Class in org.apache.guacamole.net + +Base GuacamoleTunnel implementation which synchronizes access to the + underlying reader and writer with reentrant locks. + +AbstractGuacamoleTunnel() - Constructor for class org.apache.guacamole.net.AbstractGuacamoleTunnel + +Creates a new GuacamoleTunnel which synchronizes access to the + Guacamole instruction stream associated with the underlying + GuacamoleSocket. + +acquireReader() - Method in class org.apache.guacamole.net.AbstractGuacamoleTunnel + +Acquires exclusive read access to the Guacamole instruction stream + and returns a GuacamoleReader for reading from that stream. + +acquireReader() - Method in class org.apache.guacamole.net.DelegatingGuacamoleTunnel + +acquireReader() - Method in interface org.apache.guacamole.net.GuacamoleTunnel + +Acquires exclusive read access to the Guacamole instruction stream + and returns a GuacamoleReader for reading from that stream. + +acquireWriter() - Method in class org.apache.guacamole.net.AbstractGuacamoleTunnel + +Acquires exclusive write access to the Guacamole instruction stream + and returns a GuacamoleWriter for writing to that stream. + +acquireWriter() - Method in class org.apache.guacamole.net.DelegatingGuacamoleTunnel + +acquireWriter() - Method in interface org.apache.guacamole.net.GuacamoleTunnel + +Acquires exclusive write access to the Guacamole instruction stream + and returns a GuacamoleWriter for writing to that stream. + +append(char[], int, int) - Method in class org.apache.guacamole.protocol.GuacamoleParser + +Appends data from the given buffer to the current instruction. + +append(char[]) - Method in class org.apache.guacamole.protocol.GuacamoleParser + +Appends data from the given buffer to the current instruction. + +available() - Method in interface org.apache.guacamole.io.GuacamoleReader + +Returns whether instruction data is available for reading. + +available() - Method in class org.apache.guacamole.io.ReaderGuacamoleReader + +available() - Method in class org.apache.guacamole.protocol.FilteredGuacamoleReader + + + + + +C + +close() - Method in class org.apache.guacamole.net.AbstractGuacamoleTunnel + +close() - Method in class org.apache.guacamole.net.DelegatingGuacamoleTunnel + +close() - Method in interface org.apache.guacamole.net.GuacamoleSocket + +Releases all resources in use by the connection represented by this + GuacamoleSocket. + +close() - Method in interface org.apache.guacamole.net.GuacamoleTunnel + +Release all resources allocated to this GuacamoleTunnel. + +close() - Method in class org.apache.guacamole.net.InetGuacamoleSocket + +close() - Method in class org.apache.guacamole.net.SSLGuacamoleSocket + +close() - Method in class org.apache.guacamole.protocol.ConfiguredGuacamoleSocket + +close() - Method in class org.apache.guacamole.protocol.FailoverGuacamoleSocket + +close() - Method in class org.apache.guacamole.protocol.FilteredGuacamoleSocket + +ConfiguredGuacamoleSocket - Class in org.apache.guacamole.protocol + +A GuacamoleSocket which pre-configures the connection based on a given + GuacamoleConfiguration, completing the initial protocol handshake before + accepting data for read or write. + +ConfiguredGuacamoleSocket(GuacamoleSocket, GuacamoleConfiguration) - Constructor for class org.apache.guacamole.protocol.ConfiguredGuacamoleSocket + +Creates a new ConfiguredGuacamoleSocket which uses the given + GuacamoleConfiguration to complete the initial protocol handshake over + the given GuacamoleSocket. + +ConfiguredGuacamoleSocket(GuacamoleSocket, GuacamoleConfiguration, GuacamoleClientInformation) - Constructor for class org.apache.guacamole.protocol.ConfiguredGuacamoleSocket + +Creates a new ConfiguredGuacamoleSocket which uses the given + GuacamoleConfiguration
[10/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleSessionTimeoutException.html -- diff --git a/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleSessionTimeoutException.html b/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleSessionTimeoutException.html new file mode 100644 index 000..1d0f459 --- /dev/null +++ b/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleSessionTimeoutException.html @@ -0,0 +1,379 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +GuacamoleSessionTimeoutException (guacamole-common 1.0.0 API) + + + + + + +var methods = {"i0":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.guacamole +Class GuacamoleSessionTimeoutException + + + +http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">java.lang.Throwable + + +http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true; title="class or interface in java.lang">java.lang.Exception + + +org.apache.guacamole.GuacamoleException + + +org.apache.guacamole.GuacamoleUpstreamException + + +org.apache.guacamole.GuacamoleSessionTimeoutException + + + + + + + + + + + + + + + +All Implemented Interfaces: +http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true; title="class or interface in java.io">Serializable + + + +public class GuacamoleSessionTimeoutException +extends GuacamoleUpstreamException +An exception which indicates that a session within an upstream server (such + as the remote desktop) has ended because it appeared to be inactive. + +See Also: +Serialized Form + + + + + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +GuacamoleSessionTimeoutException(http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmessage) +Creates a new GuacamoleSessionTimeoutException with the given message. + + + +GuacamoleSessionTimeoutException(http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmessage, +http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">Throwablecause) +Creates a new GuacamoleSessionTimeoutException with the given message + and cause. + + + +GuacamoleSessionTimeoutException(http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">Throwablecause) +Creates a new GuacamoleSessionTimeoutException with the given cause. + + + + + + + + + + +Method Summary + +All MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +GuacamoleStatus +getStatus() +Returns the Guacamole status associated with this exception. + + + + + + + +Methods inherited from classorg.apache.guacamole.GuacamoleException +getHttpStatusCode, getWebSocketCode + + + + + +Methods inherited from classjava.lang.http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">Throwable +http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#addSuppressed-java.lang.Throwable-; title="class or interface in java.lang">addSuppressed, http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace--; title="class or interface in java.lang">fillInStackTrace, http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getCause--; title="class or interface in java.lang">getCause,
[13/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleClientTimeoutException.html -- diff --git a/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleClientTimeoutException.html b/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleClientTimeoutException.html new file mode 100644 index 000..078b320 --- /dev/null +++ b/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleClientTimeoutException.html @@ -0,0 +1,378 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +GuacamoleClientTimeoutException (guacamole-common 1.0.0 API) + + + + + + +var methods = {"i0":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.guacamole +Class GuacamoleClientTimeoutException + + + +http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">java.lang.Throwable + + +http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true; title="class or interface in java.lang">java.lang.Exception + + +org.apache.guacamole.GuacamoleException + + +org.apache.guacamole.GuacamoleClientException + + +org.apache.guacamole.GuacamoleClientTimeoutException + + + + + + + + + + + + + + + +All Implemented Interfaces: +http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true; title="class or interface in java.io">Serializable + + + +public class GuacamoleClientTimeoutException +extends GuacamoleClientException +An exception which is thrown when the client is taking too long to respond. + +See Also: +Serialized Form + + + + + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +GuacamoleClientTimeoutException(http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmessage) +Creates a new GuacamoleClientTimeoutException with the given message. + + + +GuacamoleClientTimeoutException(http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmessage, + http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">Throwablecause) +Creates a new GuacamoleClientTimeoutException with the given message and cause. + + + +GuacamoleClientTimeoutException(http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">Throwablecause) +Creates a new GuacamoleClientTimeoutException with the given cause. + + + + + + + + + + +Method Summary + +All MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +GuacamoleStatus +getStatus() +Returns the Guacamole status associated with this exception. + + + + + + + +Methods inherited from classorg.apache.guacamole.GuacamoleException +getHttpStatusCode, getWebSocketCode + + + + + +Methods inherited from classjava.lang.http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">Throwable +http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#addSuppressed-java.lang.Throwable-; title="class or interface in java.lang">addSuppressed, http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace--; title="class or interface in java.lang">fillInStackTrace, http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getCause--; title="class or interface in java.lang">getCause, http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage--; title="class or interface in java.lang">getLocalizedMessage,
[19/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/fonts/OpenSans-LightItalic-webfont.svg -- diff --git a/doc/1.0.0/guacamole-common-js/fonts/OpenSans-LightItalic-webfont.svg b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-LightItalic-webfont.svg new file mode 100644 index 000..431d7e3 --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-LightItalic-webfont.svg @@ -0,0 +1,1835 @@ + +http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd; > +http://www.w3.org/2000/svg;> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<
[47/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/Guacamole.ArrayBufferWriter.html -- diff --git a/doc/1.0.0/guacamole-common-js/Guacamole.ArrayBufferWriter.html b/doc/1.0.0/guacamole-common-js/Guacamole.ArrayBufferWriter.html new file mode 100644 index 000..67e43bc --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/Guacamole.ArrayBufferWriter.html @@ -0,0 +1,748 @@ + + + + +JSDoc: Class: ArrayBufferWriter + + + + + + + + + + + + +Class: ArrayBufferWriter + + + + + + + + + + + +Guacamole.ArrayBufferWriter(stream) + + + + + + + + + + + + +new ArrayBufferWriter(stream) + + + + + + + +A writer which automatically writes to the given output stream with arbitrary +binary data, supplied as ArrayBuffers. + + + + + + + + + + +Parameters: + + + + + + +Name + + +Type + + + + + +Description + + + + + + + + +stream + + + + + +Guacamole.OutputStream + + + + + + + + + +The stream that data will be written + to. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +ArrayBufferWriter.js, line 30 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Members + + + +(static, constant) DEFAULT_BLOB_LENGTH :Number + + + + + +The default maximum blob length for new Guacamole.ArrayBufferWriter +instances. + + + + +Type: + + + +Number + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +ArrayBufferWriter.js, line 123 + + + + + + + + + + + + + + + + + +blobLength :Number + + + + + +The maximum length of any blob sent by this Guacamole.ArrayBufferWriter, +in bytes. Data sent via +sendData() which exceeds +this length will be split into multiple blobs. As the Guacamole protocol +limits the maximum size of any instruction or instruction element to +8192 bytes, and the contents of blobs will be base64-encoded, this value +should only be increased with extreme caution. + + + + +Type: + + + +Number + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Default Value: + +Guacamole.ArrayBufferWriter.DEFAULT_BLOB_LENGTH + + + + +Source: + +ArrayBufferWriter.js, line 76 + + + + + + + + + + + + + + + + + + + +Methods + + + + + + + +sendData(data) + + + + + + + +Sends the given data. + + + + + + + + + + +Parameters: + + + + + + +Name + + +Type + + + + + +Description + + + + + + + + +data + + + + + +ArrayBuffer +| + +TypedArray + + + + + + + + + +The data to send. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +ArrayBufferWriter.js, line 83 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +sendEnd() + + + + + + + +Signals that no further text will be sent, effectively closing the +stream. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +ArrayBufferWriter.js, line 103 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Events + + + + + + + +onack + + + + + + + +Fired for received data, if acknowledged by the server. + + + + + + + + + + +Parameters: + + + + + + +Name + + +Type + + + + + +Description + + + + + + + + +status + + + + + +Guacamole.Status + + + + + + + + + +The status of the operation. + +
[34/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/Guacamole.html -- diff --git a/doc/1.0.0/guacamole-common-js/Guacamole.html b/doc/1.0.0/guacamole-common-js/Guacamole.html new file mode 100644 index 000..0dbd2d4 --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/Guacamole.html @@ -0,0 +1,322 @@ + + + + +JSDoc: Namespace: Guacamole + + + + + + + + + + + + +Namespace: Guacamole + + + + + + + + + + +Guacamole + + + + + + + + +The namespace used by the Guacamole JavaScript API. Absolutely all classes +defined by the Guacamole JavaScript API will be within this namespace. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +Namespace.js, line 26 + + + + + + + + + + + + + + + + + + + + +Classes + + +ArrayBufferReader + + +ArrayBufferWriter + + +AudioPlayer + + +AudioRecorder + + +BlobReader + + +BlobWriter + + +ChainedTunnel + + +Client + + +DataURIReader + + +Display + + +HTTPTunnel + + +InputSink + + +InputStream + + +IntegerPool + + +JSONReader + + +Keyboard + + +Layer + + +Mouse + + +Object + + +OnScreenKeyboard + + +OutputStream + + +Parser + + +RawAudioFormat + + +RawAudioPlayer + + +RawAudioRecorder + + +SessionRecording + + +StaticHTTPTunnel + + +Status + + +StringReader + + +StringWriter + + +Tunnel + + +VideoPlayer + + +WebSocketTunnel + + + + + + + + + +Namespaces + + +AudioContextFactory + + + + + +Members + + + +(static) API_VERSION :String + + + + + +The unique ID of this version of the Guacamole JavaScript API. This ID will +be the version string of the guacamole-common-js Maven project, and can be +used in downstream applications as a sanity check that the proper version +of the APIs is being used (in case an older version is cached, for example). + + + + +Type: + + + +String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +Version.js, line 30 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +HomeClassesArrayBufferReaderArrayBufferWriterAudioPlayerAudioRecorderBlobReaderBlobWriterChainedTunnelClientDataURIReaderDisplayVisibleLayerHTTPTunnelInputSinkInputStreamIntegerPoolJSONReaderKeyboardModifierStateLayerPixelMouseStateTouchpadTouchscreenObjectOnScreenKeyboardKeyLayoutOutputStreamParserRawAudioFormatRawAudioPlayerRawAudioRecorderSessionRecordingStaticHTTPTunnelStatusStringReaderStringWriterTunnelVideoPlayerWebSocketTunnelEventsondataonendonackoncloseonerroronendonprogressonackoncompleteonerroronprogressonerroroninstructiononstatechangeonaudioonclipboardonerroronfileonfilesys temonnameonpipeonstatechangeonsynconvideoonendoncursoronresizeonerroroninstructiononstatechangeonblobonendonendonprogressonkeydownonkeyuponmousedownonmousemoveonmouseuponmousedownonmousemoveonmouseuponmousedownonmousemoveonmouseoutonmouseuponbodyonundefineonkeydownonkeyuponackoninstructiononcloseonerroronerroroninstructiononstatechangeonpauseonplayonprogressonseekonerroroninstructiononstatechangeonendontextonackonerroroninstructiononstatechangeonerroroninstructiononstatechangeNamespacesGuacamoleAudioContextFactory + + + + + +Documentation generated by https://github.com/jsdoc3/jsdoc;>JSDoc 3.5.5 on Fri Dec 21 2018 13:47:10 GMT-0800 (PST) + + + prettyPrint(); + + + \ No newline at end of file
[06/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common/org/apache/guacamole/io/ReaderGuacamoleReader.html -- diff --git a/doc/1.0.0/guacamole-common/org/apache/guacamole/io/ReaderGuacamoleReader.html b/doc/1.0.0/guacamole-common/org/apache/guacamole/io/ReaderGuacamoleReader.html new file mode 100644 index 000..8d16cfd --- /dev/null +++ b/doc/1.0.0/guacamole-common/org/apache/guacamole/io/ReaderGuacamoleReader.html @@ -0,0 +1,371 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +ReaderGuacamoleReader (guacamole-common 1.0.0 API) + + + + + + +var methods = {"i0":10,"i1":10,"i2":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.guacamole.io +Class ReaderGuacamoleReader + + + +http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +org.apache.guacamole.io.ReaderGuacamoleReader + + + + + + + +All Implemented Interfaces: +GuacamoleReader + + + +public class ReaderGuacamoleReader +extends http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +implements GuacamoleReader +A GuacamoleReader which wraps a standard Java Reader, using that Reader as + the Guacamole instruction stream. + + + + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +ReaderGuacamoleReader(http://docs.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true; title="class or interface in java.io">Readerinput) +Creates a new ReaderGuacamoleReader which will use the given Reader as + the Guacamole instruction stream. + + + + + + + + + + +Method Summary + +All MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +boolean +available() +Returns whether instruction data is available for reading. + + + +char[] +read() +Reads at least one complete Guacamole instruction, returning a buffer + containing one or more complete Guacamole instructions and no + incomplete Guacamole instructions. + + + +GuacamoleInstruction +readInstruction() +Reads exactly one complete Guacamole instruction and returns the fully + parsed instruction. + + + + + + + +Methods inherited from classjava.lang.http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--; title="class or interface in java.lang">clone, http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-; title="class or interface in java.lang">equals, http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--; title="class or interface in java.lang">finalize, http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--; title="class or interface in java.lang">getClass, http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--; title="class or interface in java.lang">hashCode, http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--; title="class or interface in java.lang">notify, http://docs.oracle.com/javase/6/docs/api/java/lang /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll, http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--; title="class or interface in java.lang">toString, http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--; title="class or interface in java.lang">wait, http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-; title="class or interface in java.lang">wait, http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-; title="class or interface in java.lang">wait + + + + + + +
[14/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common/index.html -- diff --git a/doc/1.0.0/guacamole-common/index.html b/doc/1.0.0/guacamole-common/index.html new file mode 100644 index 000..9013285 --- /dev/null +++ b/doc/1.0.0/guacamole-common/index.html @@ -0,0 +1,76 @@ +http://www.w3.org/TR/html4/frameset.dtd;> + + + + + +guacamole-common 1.0.0 API + +tmpTargetPage = "" + window.location.search; +if (tmpTargetPage != "" && tmpTargetPage != "undefined") +tmpTargetPage = tmpTargetPage.substring(1); +if (tmpTargetPage.indexOf(":") != -1 || (tmpTargetPage != "" && !validURL(tmpTargetPage))) +tmpTargetPage = "undefined"; +targetPage = tmpTargetPage; +function validURL(url) { +try { +url = decodeURIComponent(url); +} +catch (error) { +return false; +} +var pos = url.indexOf(".html"); +if (pos == -1 || pos != url.length - 5) +return false; +var allowNumber = false; +var allowSep = false; +var seenDot = false; +for (var i = 0; i < url.length - 5; i++) { +var ch = url.charAt(i); +if ('a' <= ch && ch <= 'z' || +'A' <= ch && ch <= 'Z' || +ch == '$' || +ch == '_' || +ch.charCodeAt(0) > 127) { +allowNumber = true; +allowSep = true; +} else if ('0' <= ch && ch <= '9' +|| ch == '-') { +if (!allowNumber) + return false; +} else if (ch == '/' || ch == '.') { +if (!allowSep) +return false; +allowNumber = false; +allowSep = false; +if (ch == '.') + seenDot = true; +if (ch == '/' && seenDot) + return false; +} else { +return false; +} +} +return true; +} +function loadFrames() { +if (targetPage != "" && targetPage != "undefined") + top.classFrame.location = top.targetPage; +} + + + + + + + + + + +JavaScript is disabled on your browser. + +Frame Alert +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to Non-frame version. + + + http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleClientBadTypeException.html -- diff --git a/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleClientBadTypeException.html b/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleClientBadTypeException.html new file mode 100644 index 000..a71ce86 --- /dev/null +++ b/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleClientBadTypeException.html @@ -0,0 +1,379 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +GuacamoleClientBadTypeException (guacamole-common 1.0.0 API) + + + + + + +var methods = {"i0":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.guacamole +Class GuacamoleClientBadTypeException + + + +http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">java.lang.Throwable + + +http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true; title="class or interface in java.lang">java.lang.Exception + + +org.apache.guacamole.GuacamoleException + + +org.apache.guacamole.GuacamoleClientException + + +org.apache.guacamole.GuacamoleClientBadTypeException + + + + + + + + + + + + + + + +All Implemented Interfaces:
[36/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/Guacamole.SessionRecording.html -- diff --git a/doc/1.0.0/guacamole-common-js/Guacamole.SessionRecording.html b/doc/1.0.0/guacamole-common-js/Guacamole.SessionRecording.html new file mode 100644 index 000..45e088c --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/Guacamole.SessionRecording.html @@ -0,0 +1,1705 @@ + + + + +JSDoc: Class: SessionRecording + + + + + + + + + + + + +Class: SessionRecording + + + + + + + + + + + +Guacamole.SessionRecording(tunnel) + + + + + + + + + + + + +new SessionRecording(tunnel) + + + + + + + +A recording of a Guacamole session. Given a Guacamole.Tunnel, the +Guacamole.SessionRecording automatically handles incoming Guacamole +instructions, storing them for playback. Playback of the recording may be +controlled through function calls to the Guacamole.SessionRecording, even +while the recording has not yet finished being created or downloaded. + + + + + + + + + + +Parameters: + + + + + + +Name + + +Type + + + + + +Description + + + + + + + + +tunnel + + + + + +Guacamole.Tunnel + + + + + + + + + +The Guacamole.Tunnel from which the instructions of the recording should +be read. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +SessionRecording.js, line 34 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Methods + + + + + + + +connect(data) + + + + + + + +Connects the underlying tunnel, beginning download of the Guacamole +session. Playback of the Guacamole session cannot occur until at least +one frame worth of instructions has been downloaded. + + + + + + + + + + +Parameters: + + + + + + +Name + + +Type + + + + + +Description + + + + + + + + +data + + + + + +String + + + + + + + + + +The data to send to the tunnel when connecting. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +SessionRecording.js, line 480 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +disconnect() + + + + + + + +Disconnects the underlying tunnel, stopping further download of the +Guacamole session. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +SessionRecording.js, line 488 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +getDisplay() {Guacamole.Display} + + + + + + + +Returns the underlying display of the Guacamole.Client used by this +Guacamole.SessionRecording for playback. The display contains an Element +which can be added to the DOM, causing the display (and thus playback of +the recording) to become visible. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +SessionRecording.js, line 502 + + + + + + + + + + + + + + + + + + + + + + +Returns: + + + +The underlying display of the Guacamole.Client used by this +Guacamole.SessionRecording for playback. + + + + + + +Type + + + +Guacamole.Display + + + + + + + + + + + + + + + + + +getDuration() {Number} + + + + + + + +Returns the duration of this recording, in milliseconds. If the +recording is still being downloaded, this value will gradually increase. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +SessionRecording.js, line 542 + + + + + + + + + + + + + + + + + + + + + + +Returns: + + + +The duration of this recording, in milliseconds. + + + + + + +Type + + + +Number + + + + + + + + + + + + + + + + + +
[21/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/fonts/OpenSans-Light-webfont.svg -- diff --git a/doc/1.0.0/guacamole-common-js/fonts/OpenSans-Light-webfont.svg b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-Light-webfont.svg new file mode 100644 index 000..11a472c --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-Light-webfont.svg @@ -0,0 +1,1831 @@ + +http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd; > +http://www.w3.org/2000/svg;> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/fonts/OpenSans-Light-webfont.woff -- diff --git a/doc/1.0.0/guacamole-common-js/fonts/OpenSans-Light-webfont.woff b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-Light-webfont.woff new file mode 100644 index 000..e786074 Binary files /dev/null and b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-Light-webfont.woff differ
[04/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common/org/apache/guacamole/net/GuacamoleSocket.html -- diff --git a/doc/1.0.0/guacamole-common/org/apache/guacamole/net/GuacamoleSocket.html b/doc/1.0.0/guacamole-common/org/apache/guacamole/net/GuacamoleSocket.html new file mode 100644 index 000..ff9b98b --- /dev/null +++ b/doc/1.0.0/guacamole-common/org/apache/guacamole/net/GuacamoleSocket.html @@ -0,0 +1,310 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +GuacamoleSocket (guacamole-common 1.0.0 API) + + + + + + +var methods = {"i0":6,"i1":6,"i2":6,"i3":6}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.guacamole.net +Interface GuacamoleSocket + + + + + + +All Known Implementing Classes: +ConfiguredGuacamoleSocket, FailoverGuacamoleSocket, FilteredGuacamoleSocket, InetGuacamoleSocket, SSLGuacamoleSocket + + + +public interface GuacamoleSocket +Provides abstract socket-like access to a Guacamole connection. + + + + + + + + + + + +Method Summary + +All MethodsInstance MethodsAbstract Methods + +Modifier and Type +Method and Description + + +void +close() +Releases all resources in use by the connection represented by this + GuacamoleSocket. + + + +GuacamoleReader +getReader() +Returns a GuacamoleReader which can be used to read from the + Guacamole instruction stream associated with the connection + represented by this GuacamoleSocket. + + + +GuacamoleWriter +getWriter() +Returns a GuacamoleWriter which can be used to write to the + Guacamole instruction stream associated with the connection + represented by this GuacamoleSocket. + + + +boolean +isOpen() +Returns whether this GuacamoleSocket is open and can be used for reading + and writing. + + + + + + + + + + + + + + + + +Method Detail + + + + + +getReader +GuacamoleReadergetReader() +Returns a GuacamoleReader which can be used to read from the + Guacamole instruction stream associated with the connection + represented by this GuacamoleSocket. + +Returns: +A GuacamoleReader which can be used to read from the + Guacamole instruction stream. + + + + + + + + +getWriter +GuacamoleWritergetWriter() +Returns a GuacamoleWriter which can be used to write to the + Guacamole instruction stream associated with the connection + represented by this GuacamoleSocket. + +Returns: +A GuacamoleWriter which can be used to write to the + Guacamole instruction stream. + + + + + + + + +close +voidclose() +throws GuacamoleException +Releases all resources in use by the connection represented by this + GuacamoleSocket. + +Throws: +GuacamoleException - If an error occurs while releasing resources. + + + + + + + + +isOpen +booleanisOpen() +Returns whether this GuacamoleSocket is open and can be used for reading + and writing. + +Returns: +true if this GuacamoleSocket is open, false otherwise. + + + + + + + + + + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + +Copyright 2018. All rights reserved. + + http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common/org/apache/guacamole/net/GuacamoleTunnel.html -- diff --git a/doc/1.0.0/guacamole-common/org/apache/guacamole/net/GuacamoleTunnel.html b/doc/1.0.0/guacamole-common/org/apache/guacamole/net/GuacamoleTunnel.html new file mode 100644 index 000..2b3a3c1 --- /dev/null +++ b/doc/1.0.0/guacamole-common/org/apache/guacamole/net/GuacamoleTunnel.html @@ -0,0 +1,479 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + +
[28/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/Version.js.html -- diff --git a/doc/1.0.0/guacamole-common-js/Version.js.html b/doc/1.0.0/guacamole-common-js/Version.js.html new file mode 100644 index 000..7eca778 --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/Version.js.html @@ -0,0 +1,81 @@ + + + + +JSDoc: Source: Version.js + + + + + + + + + + + + +Source: Version.js + + + + + + + + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +var Guacamole = Guacamole || {}; + +/** + * The unique ID of this version of the Guacamole JavaScript API. This ID will + * be the version string of the guacamole-common-js Maven project, and can be + * used in downstream applications as a sanity check that the proper version + * of the APIs is being used (in case an older version is cached, for example). + * + * @type {String} + */ +Guacamole.API_VERSION = "1.0.0"; + + + + + + + + + + +HomeClassesArrayBufferReaderArrayBufferWriterAudioPlayerAudioRecorderBlobReaderBlobWriterChainedTunnelClientDataURIReaderDisplayVisibleLayerHTTPTunnelInputSinkInputStreamIntegerPoolJSONReaderKeyboardModifierStateLayerPixelMouseStateTouchpadTouchscreenObjectOnScreenKeyboardKeyLayoutOutputStreamParserRawAudioFormatRawAudioPlayerRawAudioRecorderSessionRecordingStaticHTTPTunnelStatusStringReaderStringWriterTunnelVideoPlayerWebSocketTunnelEventsondataonendonackoncloseonerroronendonprogressonackoncompleteonerroronprogressonerroroninstructiononstatechangeonaudioonclipboardonerroronfileonfilesys temonnameonpipeonstatechangeonsynconvideoonendoncursoronresizeonerroroninstructiononstatechangeonblobonendonendonprogressonkeydownonkeyuponmousedownonmousemoveonmouseuponmousedownonmousemoveonmouseuponmousedownonmousemoveonmouseoutonmouseuponbodyonundefineonkeydownonkeyuponackoninstructiononcloseonerroronerroroninstructiononstatechangeonpauseonplayonprogressonseekonerroroninstructiononstatechangeonendontextonackonerroroninstructiononstatechangeonerroroninstructiononstatechangeNamespacesGuacamoleAudioContextFactory + + + + + +Documentation generated by https://github.com/jsdoc3/jsdoc;>JSDoc 3.5.5 on Fri Dec 21 2018 13:47:10 GMT-0800 (PST) + + + prettyPrint(); + + + http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/VideoPlayer.js.html -- diff --git a/doc/1.0.0/guacamole-common-js/VideoPlayer.js.html b/doc/1.0.0/guacamole-common-js/VideoPlayer.js.html new file mode 100644 index 000..8b1b4e3 --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/VideoPlayer.js.html @@ -0,0 +1,159 @@ + + + + +JSDoc: Source: VideoPlayer.js + + + + + + + + + + + + +Source: VideoPlayer.js + + + + + + + + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +var Guacamole = Guacamole || {}; + +/** + * Abstract video player which accepts, queues and plays back arbitrary video + * data. It is up to implementations of this class to provide some means of + * handling a provided Guacamole.InputStream and rendering the received data to + * the provided Guacamole.Display.VisibleLayer. Data received along the + * provided stream is to be played back immediately. + * + *
[08/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common/org/apache/guacamole/class-use/GuacamoleClientTimeoutException.html -- diff --git a/doc/1.0.0/guacamole-common/org/apache/guacamole/class-use/GuacamoleClientTimeoutException.html b/doc/1.0.0/guacamole-common/org/apache/guacamole/class-use/GuacamoleClientTimeoutException.html new file mode 100644 index 000..6d66d95 --- /dev/null +++ b/doc/1.0.0/guacamole-common/org/apache/guacamole/class-use/GuacamoleClientTimeoutException.html @@ -0,0 +1,126 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Class org.apache.guacamole.GuacamoleClientTimeoutException (guacamole-common 1.0.0 API) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Uses of Classorg.apache.guacamole.GuacamoleClientTimeoutException + +No usage of org.apache.guacamole.GuacamoleClientTimeoutException + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + +Copyright 2018. All rights reserved. + + http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common/org/apache/guacamole/class-use/GuacamoleClientTooManyException.html -- diff --git a/doc/1.0.0/guacamole-common/org/apache/guacamole/class-use/GuacamoleClientTooManyException.html b/doc/1.0.0/guacamole-common/org/apache/guacamole/class-use/GuacamoleClientTooManyException.html new file mode 100644 index 000..5e23983 --- /dev/null +++ b/doc/1.0.0/guacamole-common/org/apache/guacamole/class-use/GuacamoleClientTooManyException.html @@ -0,0 +1,126 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Class org.apache.guacamole.GuacamoleClientTooManyException (guacamole-common 1.0.0 API) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Uses of Classorg.apache.guacamole.GuacamoleClientTooManyException + +No usage of org.apache.guacamole.GuacamoleClientTooManyException + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + +Copyright 2018. All rights reserved. + + http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common/org/apache/guacamole/class-use/GuacamoleConnectionClosedException.html -- diff --git a/doc/1.0.0/guacamole-common/org/apache/guacamole/class-use/GuacamoleConnectionClosedException.html b/doc/1.0.0/guacamole-common/org/apache/guacamole/class-use/GuacamoleConnectionClosedException.html new file mode 100644 index 000..ed74f8e --- /dev/null +++ b/doc/1.0.0/guacamole-common/org/apache/guacamole/class-use/GuacamoleConnectionClosedException.html @@ -0,0 +1,126 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Class org.apache.guacamole.GuacamoleConnectionClosedException (guacamole-common 1.0.0 API) + + + + + + +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.guacamole.protocol +Class ConfiguredGuacamoleSocket + + + +http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +org.apache.guacamole.protocol.ConfiguredGuacamoleSocket + + + + + + + +All Implemented Interfaces: +GuacamoleSocket + + + +public class ConfiguredGuacamoleSocket +extends http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +implements GuacamoleSocket +A GuacamoleSocket which pre-configures the connection based on a given + GuacamoleConfiguration, completing the initial protocol handshake before + accepting data for read or write. + + This is useful for forcing a connection to the Guacamole proxy server with + a specific configuration while disallowing the client that will be using + this GuacamoleSocket from manually controlling the initial protocol + handshake. + + + + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +ConfiguredGuacamoleSocket(GuacamoleSocketsocket, + GuacamoleConfigurationconfig) +Creates a new ConfiguredGuacamoleSocket which uses the given + GuacamoleConfiguration to complete the initial protocol handshake over + the given GuacamoleSocket. + + + +ConfiguredGuacamoleSocket(GuacamoleSocketsocket, + GuacamoleConfigurationconfig, + GuacamoleClientInformationinfo) +Creates a new ConfiguredGuacamoleSocket which uses the given + GuacamoleConfiguration and GuacamoleClientInformation to complete the + initial protocol handshake over the given GuacamoleSocket. + + + + + + + + + + +Method Summary + +All MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +void +close() +Releases all resources in use by the connection represented by this + GuacamoleSocket. + + + +GuacamoleConfiguration +getConfiguration() +Returns the GuacamoleConfiguration used to configure this + ConfiguredGuacamoleSocket. + + + +http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +getConnectionID() +Returns the unique ID associated with the Guacamole connection + negotiated by this ConfiguredGuacamoleSocket. + + + +GuacamoleReader +getReader() +Returns a GuacamoleReader which can be used to read from the + Guacamole instruction stream associated with the connection + represented by this GuacamoleSocket. + + + +GuacamoleWriter +getWriter() +Returns a GuacamoleWriter which can be used to write to the + Guacamole instruction stream associated with the connection + represented by this GuacamoleSocket. + + + +boolean +isOpen() +Returns whether this GuacamoleSocket is open and can be used for reading + and writing. + + + + + + + +Methods inherited from classjava.lang.http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--; title="class or
[18/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/fonts/OpenSans-LightItalic-webfont.woff -- diff --git a/doc/1.0.0/guacamole-common-js/fonts/OpenSans-LightItalic-webfont.woff b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-LightItalic-webfont.woff new file mode 100644 index 000..43e8b9e Binary files /dev/null and b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-LightItalic-webfont.woff differ http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/fonts/OpenSans-Regular-webfont.eot -- diff --git a/doc/1.0.0/guacamole-common-js/fonts/OpenSans-Regular-webfont.eot b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-Regular-webfont.eot new file mode 100644 index 000..6bbc3cf Binary files /dev/null and b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-Regular-webfont.eot differ
[52/52] [abbrv] guacamole-website git commit: Merge add documentation for 1.0.0
Merge add documentation for 1.0.0 Project: http://git-wip-us.apache.org/repos/asf/guacamole-website/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-website/commit/572bafdf Tree: http://git-wip-us.apache.org/repos/asf/guacamole-website/tree/572bafdf Diff: http://git-wip-us.apache.org/repos/asf/guacamole-website/diff/572bafdf Branch: refs/heads/master Commit: 572bafdfa68dcd086038866e81f57d6980a2dc17 Parents: 66eb08c a5693fd Author: Nick Couchman Authored: Sun Dec 30 15:20:51 2018 -0500 Committer: Nick Couchman Committed: Sun Dec 30 15:20:51 2018 -0500 -- .../ArrayBufferReader.js.html | 136 + .../ArrayBufferWriter.js.html | 184 + .../AudioContextFactory.js.html | 140 + .../guacamole-common-js/AudioPlayer.js.html | 566 ++ .../guacamole-common-js/AudioRecorder.js.html | 632 ++ .../guacamole-common-js/BlobReader.js.html | 188 + .../guacamole-common-js/BlobWriter.js.html | 306 + doc/1.0.0/guacamole-common-js/Client.js.html| 1691 .../guacamole-common-js/DataURIReader.js.html | 144 + doc/1.0.0/guacamole-common-js/Display.js.html | 1543 +++ .../Guacamole.ArrayBufferReader.html| 456 + .../Guacamole.ArrayBufferWriter.html| 758 ++ .../Guacamole.AudioContextFactory.html | 341 + .../Guacamole.AudioPlayer.html | 734 ++ .../Guacamole.AudioRecorder.html| 828 ++ .../Guacamole.BlobReader.html | 700 ++ .../Guacamole.BlobWriter.html | 1073 +++ .../Guacamole.ChainedTunnel.html| 1527 +++ .../guacamole-common-js/Guacamole.Client.html | 4828 ++ .../Guacamole.DataURIReader.html| 435 + .../Guacamole.Display.VisibleLayer.html | 6600 + .../guacamole-common-js/Guacamole.Display.html | 9066 ++ .../Guacamole.HTTPTunnel.html | 1609 .../Guacamole.InputSink.html| 380 + .../Guacamole.InputStream.html | 716 ++ .../Guacamole.IntegerPool.html | 504 + .../Guacamole.JSONReader.html | 678 ++ .../Guacamole.Keyboard.ModifierState.html | 705 ++ .../guacamole-common-js/Guacamole.Keyboard.html | 1666 .../Guacamole.Layer.Pixel.html | 554 ++ .../guacamole-common-js/Guacamole.Layer.html| 5716 +++ .../Guacamole.Mouse.State.html | 1069 +++ .../Guacamole.Mouse.Touchpad.html | 914 ++ .../Guacamole.Mouse.Touchscreen.html| 980 ++ .../guacamole-common-js/Guacamole.Mouse.html| 1286 +++ .../guacamole-common-js/Guacamole.Object.html | 1120 +++ .../Guacamole.OnScreenKeyboard.Key.html | 656 ++ .../Guacamole.OnScreenKeyboard.Layout.html | 687 ++ .../Guacamole.OnScreenKeyboard.html | 986 ++ .../Guacamole.OutputStream.html | 692 ++ .../guacamole-common-js/Guacamole.Parser.html | 484 + .../Guacamole.RawAudioFormat.html | 621 ++ .../Guacamole.RawAudioPlayer.html | 638 ++ .../Guacamole.RawAudioRecorder.html | 814 ++ .../Guacamole.SessionRecording.html | 1715 .../Guacamole.StaticHTTPTunnel.html | 1611 .../guacamole-common-js/Guacamole.Status.html | 606 ++ .../Guacamole.StringReader.html | 456 + .../Guacamole.StringWriter.html | 595 ++ .../guacamole-common-js/Guacamole.Tunnel.html | 1545 +++ .../Guacamole.VideoPlayer.html | 756 ++ .../Guacamole.WebSocketTunnel.html | 1511 +++ doc/1.0.0/guacamole-common-js/Guacamole.html| 332 + doc/1.0.0/guacamole-common-js/InputSink.js.html | 189 + .../guacamole-common-js/InputStream.js.html | 131 + .../guacamole-common-js/IntegerPool.js.html | 137 + .../guacamole-common-js/JSONReader.js.html | 175 + doc/1.0.0/guacamole-common-js/Keyboard.js.html | 1574 +++ doc/1.0.0/guacamole-common-js/Layer.js.html | 1039 ++ doc/1.0.0/guacamole-common-js/Mouse.js.html | 1148 +++ doc/1.0.0/guacamole-common-js/Namespace.js.html | 87 + doc/1.0.0/guacamole-common-js/Object.js.html| 271 + .../OnScreenKeyboard.js.html| 1004 ++ .../guacamole-common-js/OutputStream.js.html| 129 + doc/1.0.0/guacamole-common-js/Parser.js.html| 217 + .../guacamole-common-js/RawAudioFormat.js.html | 207 + .../SessionRecording.js.html| 880 ++ doc/1.0.0/guacamole-common-js/Status.js.html| 379 + .../guacamole-common-js/StringReader.js.html| 227 + .../guacamole-common-js/StringWriter.js.html| 252 + doc/1.0.0/guacamole-common-js/Tunnel.js.html| 1445 +++ doc/1.0.0/guacamole-common-js/Version.js.html | 91 + .../guacamole-common-js/VideoPlayer.js.html | 169 +
[49/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/BlobWriter.js.html -- diff --git a/doc/1.0.0/guacamole-common-js/BlobWriter.js.html b/doc/1.0.0/guacamole-common-js/BlobWriter.js.html new file mode 100644 index 000..c9afe33 --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/BlobWriter.js.html @@ -0,0 +1,296 @@ + + + + +JSDoc: Source: BlobWriter.js + + + + + + + + + + + + +Source: BlobWriter.js + + + + + + + + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +var Guacamole = Guacamole || {}; + +/** + * A writer which automatically writes to the given output stream with the + * contents of provided Blob objects. + * + * @constructor + * @param {Guacamole.OutputStream} stream + * The stream that data will be written to. + */ +Guacamole.BlobWriter = function BlobWriter(stream) { + +/** + * Reference to this Guacamole.BlobWriter. + * + * @private + * @type {Guacamole.BlobWriter} + */ +var guacWriter = this; + +/** + * Wrapped Guacamole.ArrayBufferWriter which will be used to send any + * provided file data. + * + * @private + * @type {Guacamole.ArrayBufferWriter} + */ +var arrayBufferWriter = new Guacamole.ArrayBufferWriter(stream); + +// Initially, simply call onack for acknowledgements +arrayBufferWriter.onack = function(status) { +if (guacWriter.onack) +guacWriter.onack(status); +}; + +/** + * Browser-independent implementation of Blob.slice() which uses an end + * offset to determine the span of the resulting slice, rather than a + * length. + * + * @private + * @param {Blob} blob + * The Blob to slice. + * + * @param {Number} start + * The starting offset of the slice, in bytes, inclusive. + * + * @param {Number} end + * The ending offset of the slice, in bytes, exclusive. + * + * @returns {Blob} + * A Blob containing the data within the given Blob starting at + * code>start/code> and ending at code>end - 1/code>. + */ +var slice = function slice(blob, start, end) { + +// Use prefixed implementations if necessary +var sliceImplementation = ( +blob.slice + || blob.webkitSlice + || blob.mozSlice +).bind(blob); + +var length = end - start; + +// The old Blob.slice() was length-based (not end-based). Try the +// length version first, if the two calls are not equivalent. +if (length !== end) { + +// If the result of the slice() call matches the expected length, +// trust that result. It must be correct. +var sliceResult = sliceImplementation(start, length); +if (sliceResult.size === length) +return sliceResult; + +} + +// Otherwise, use the most-recent standard: end-based slice() +return sliceImplementation(start, end); + +}; + +/** + * Sends the contents of the given blob over the underlying stream. + * + * @param {Blob} blob + * The blob to send. + */ +this.sendBlob = function sendBlob(blob) { + +var offset = 0; +var reader = new FileReader(); + +/** + * Reads the next chunk of the blob provided to + * [sendBlob()]{@link Guacamole.BlobWriter#sendBlob}. The chunk itself + * is read asynchronously, and will not be available until + * reader.onload fires. + * + * @private + */ +var readNextChunk = function readNextChunk() { + +// If no further chunks remain, inform of completion and stop +if (offset >= blob.size) { + +// Fire completion event for completed blob +if (guacWriter.oncomplete) +guacWriter.oncomplete(blob); + +// No further chunks to read +return; + +} + +// Obtain reference to next chunk as a new blob +var chunk =
[46/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/Guacamole.BlobWriter.html -- diff --git a/doc/1.0.0/guacamole-common-js/Guacamole.BlobWriter.html b/doc/1.0.0/guacamole-common-js/Guacamole.BlobWriter.html new file mode 100644 index 000..f211be2 --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/Guacamole.BlobWriter.html @@ -0,0 +1,1063 @@ + + + + +JSDoc: Class: BlobWriter + + + + + + + + + + + + +Class: BlobWriter + + + + + + + + + + + +Guacamole.BlobWriter(stream) + + + + + + + + + + + + +new BlobWriter(stream) + + + + + + + +A writer which automatically writes to the given output stream with the +contents of provided Blob objects. + + + + + + + + + + +Parameters: + + + + + + +Name + + +Type + + + + + +Description + + + + + + + + +stream + + + + + +Guacamole.OutputStream + + + + + + + + + +The stream that data will be written to. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +BlobWriter.js, line 30 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Methods + + + + + + + +sendBlob(blob) + + + + + + + +Sends the contents of the given blob over the underlying stream. + + + + + + + + + + +Parameters: + + + + + + +Name + + +Type + + + + + +Description + + + + + + + + +blob + + + + + +Blob + + + + + + + + + +The blob to send. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +BlobWriter.js, line 108 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +sendEnd() + + + + + + + +Signals that no further text will be sent, effectively closing the +stream. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +BlobWriter.js, line 191 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Events + + + + + + + +onack + + + + + + + +Fired for received data, if acknowledged by the server. + + + + + + + + + + +Parameters: + + + + + + +Name + + +Type + + + + + +Description + + + + + + + + +status + + + + + +Guacamole.Status + + + + + + + + + +The status of the operation. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +BlobWriter.js, line 202 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +oncomplete + + + + + + + +Fired when a blob passed to +sendBlob() has finished being +sent. + + + + + + + + + + +Parameters: + + + + + + +Name + + +Type + + + + + +Description + + + + + + + + +blob + + + + + +Blob + + + + + + + + + +The blob that was sent. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +BlobWriter.js, line 243 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +onerror + + + + + + + +Fired when an error occurs reading a blob passed to +sendBlob(). The transfer for the +the given blob will cease, but the stream will remain open. + + + + + + + + + + +Parameters: + + + + + + +Name + + +Type + + + + + +Description +
[38/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/Guacamole.Object.html -- diff --git a/doc/1.0.0/guacamole-common-js/Guacamole.Object.html b/doc/1.0.0/guacamole-common-js/Guacamole.Object.html new file mode 100644 index 000..e03de36 --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/Guacamole.Object.html @@ -0,0 +1,1110 @@ + + + + +JSDoc: Class: Object + + + + + + + + + + + + +Class: Object + + + + + + + + + + + +Guacamole.Object(client, index) + + + + + + + + + + + + +new Object(client, index) + + + + + + + +An object used by the Guacamole client to house arbitrarily-many named +input and output streams. + + + + + + + + + + +Parameters: + + + + + + +Name + + +Type + + + + + +Description + + + + + + + + +client + + + + + +Guacamole.Client + + + + + + + + + +The client owning this object. + + + + + + +index + + + + + +Number + + + + + + + + + +The index of this object. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +Object.js, line 33 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Members + + + +(static, constant) ROOT_STREAM :String + + + + + +The reserved name denoting the root stream of any object. The contents of +the root stream MUST be a JSON map of stream name to mimetype. + + + + +Type: + + + +String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +Object.js, line 200 + + + + + + + + + + + + + + + + + +(static, constant) STREAM_INDEX_MIMETYPE :String + + + + + +The mimetype of a stream containing JSON which maps available stream names +to their corresponding mimetype. The root stream of a Guacamole.Object MUST +have this mimetype. + + + + +Type: + + + +String + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +Object.js, line 210 + + + + + + + + + + + + + + + + + +index :Number + + + + + +The index of this object. + + + + +Type: + + + +Number + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +Object.js, line 112 + + + + + + + + + + + + + + + + + + + +Methods + + + + + + + +createOutputStream(mimetype, name) {Guacamole.OutputStream} + + + + + + + +Creates a new output stream associated with this object and having the +given mimetype and name. The legality of a mimetype and name is dictated +by the object itself. + + + + + + + + + + +Parameters: + + + + + + +Name + + +Type + + + + + +Description + + + + + + + + +mimetype + + + + + +String + + + + + + + + + +The mimetype of the data which will be sent to the output stream. + + + + + + +name + + + + + +String + + + + + + + + + +The defined name of an output stream within this object. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +Object.js, line 187 + + + + + + + + + + + + + + + + + + + + + + +Returns: + + + +An output stream which will write blobs to the named output stream +of this object. + + + + + + +Type + + + +Guacamole.OutputStream + + + + + + + + + + + + + + + + + +requestInputStream(name, bodyCallbackopt) + + + + + + + +Requests read access to the input
[09/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleUpstreamNotFoundException.html -- diff --git a/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleUpstreamNotFoundException.html b/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleUpstreamNotFoundException.html new file mode 100644 index 000..7f7a59e --- /dev/null +++ b/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleUpstreamNotFoundException.html @@ -0,0 +1,379 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +GuacamoleUpstreamNotFoundException (guacamole-common 1.0.0 API) + + + + + + +var methods = {"i0":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.guacamole +Class GuacamoleUpstreamNotFoundException + + + +http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">java.lang.Throwable + + +http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true; title="class or interface in java.lang">java.lang.Exception + + +org.apache.guacamole.GuacamoleException + + +org.apache.guacamole.GuacamoleUpstreamException + + +org.apache.guacamole.GuacamoleUpstreamNotFoundException + + + + + + + + + + + + + + + +All Implemented Interfaces: +http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true; title="class or interface in java.io">Serializable + + + +public class GuacamoleUpstreamNotFoundException +extends GuacamoleUpstreamException +An exception which indicates that an upstream server (such as the remote + desktop) does not appear to exist. + +See Also: +Serialized Form + + + + + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +GuacamoleUpstreamNotFoundException(http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmessage) +Creates a new GuacamoleUpstreamNotFoundException with the given message. + + + +GuacamoleUpstreamNotFoundException(http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmessage, + http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">Throwablecause) +Creates a new GuacamoleUpstreamNotFoundException with the given message + and cause. + + + +GuacamoleUpstreamNotFoundException(http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">Throwablecause) +Creates a new GuacamoleUpstreamNotFoundException with the given cause. + + + + + + + + + + +Method Summary + +All MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +GuacamoleStatus +getStatus() +Returns the Guacamole status associated with this exception. + + + + + + + +Methods inherited from classorg.apache.guacamole.GuacamoleException +getHttpStatusCode, getWebSocketCode + + + + + +Methods inherited from classjava.lang.http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">Throwable +http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#addSuppressed-java.lang.Throwable-; title="class or interface in java.lang">addSuppressed, http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace--; title="class or interface in java.lang">fillInStackTrace, http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getCause--; title="class or interface in java.lang">getCause,
[12/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleResourceClosedException.html -- diff --git a/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleResourceClosedException.html b/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleResourceClosedException.html new file mode 100644 index 000..c722d7d --- /dev/null +++ b/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleResourceClosedException.html @@ -0,0 +1,379 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +GuacamoleResourceClosedException (guacamole-common 1.0.0 API) + + + + + + +var methods = {"i0":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.guacamole +Class GuacamoleResourceClosedException + + + +http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">java.lang.Throwable + + +http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true; title="class or interface in java.lang">java.lang.Exception + + +org.apache.guacamole.GuacamoleException + + +org.apache.guacamole.GuacamoleClientException + + +org.apache.guacamole.GuacamoleResourceClosedException + + + + + + + + + + + + + + + +All Implemented Interfaces: +http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true; title="class or interface in java.io">Serializable + + + +public class GuacamoleResourceClosedException +extends GuacamoleClientException +An exception which is thrown when a resource is no longer available because + it is closed. + +See Also: +Serialized Form + + + + + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +GuacamoleResourceClosedException(http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmessage) +Creates a new GuacamoleResourceClosedException with the given message. + + + +GuacamoleResourceClosedException(http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmessage, +http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">Throwablecause) +Creates a new GuacamoleResourceClosedException with the given message + and cause. + + + +GuacamoleResourceClosedException(http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">Throwablecause) +Creates a new GuacamoleResourceClosedException with the given cause. + + + + + + + + + + +Method Summary + +All MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +GuacamoleStatus +getStatus() +Returns the Guacamole status associated with this exception. + + + + + + + +Methods inherited from classorg.apache.guacamole.GuacamoleException +getHttpStatusCode, getWebSocketCode + + + + + +Methods inherited from classjava.lang.http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">Throwable +http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#addSuppressed-java.lang.Throwable-; title="class or interface in java.lang">addSuppressed, http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace--; title="class or interface in java.lang">fillInStackTrace, http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getCause--; title="class or interface in java.lang">getCause, http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage--; title="class or interface in
[24/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/fonts/OpenSans-BoldItalic-webfont.woff -- diff --git a/doc/1.0.0/guacamole-common-js/fonts/OpenSans-BoldItalic-webfont.woff b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-BoldItalic-webfont.woff new file mode 100644 index 000..ed760c0 Binary files /dev/null and b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-BoldItalic-webfont.woff differ http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/fonts/OpenSans-Italic-webfont.eot -- diff --git a/doc/1.0.0/guacamole-common-js/fonts/OpenSans-Italic-webfont.eot b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-Italic-webfont.eot new file mode 100644 index 000..0c8a0ae Binary files /dev/null and b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-Italic-webfont.eot differ
[31/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/Namespace.js.html -- diff --git a/doc/1.0.0/guacamole-common-js/Namespace.js.html b/doc/1.0.0/guacamole-common-js/Namespace.js.html new file mode 100644 index 000..0e7ced1 --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/Namespace.js.html @@ -0,0 +1,77 @@ + + + + +JSDoc: Source: Namespace.js + + + + + + + + + + + + +Source: Namespace.js + + + + + + + + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +/** + * The namespace used by the Guacamole JavaScript API. Absolutely all classes + * defined by the Guacamole JavaScript API will be within this namespace. + * + * @namespace + */ +var Guacamole = Guacamole || {}; + + + + + + + + + + +HomeClassesArrayBufferReaderArrayBufferWriterAudioPlayerAudioRecorderBlobReaderBlobWriterChainedTunnelClientDataURIReaderDisplayVisibleLayerHTTPTunnelInputSinkInputStreamIntegerPoolJSONReaderKeyboardModifierStateLayerPixelMouseStateTouchpadTouchscreenObjectOnScreenKeyboardKeyLayoutOutputStreamParserRawAudioFormatRawAudioPlayerRawAudioRecorderSessionRecordingStaticHTTPTunnelStatusStringReaderStringWriterTunnelVideoPlayerWebSocketTunnelEventsondataonendonackoncloseonerroronendonprogressonackoncompleteonerroronprogressonerroroninstructiononstatechangeonaudioonclipboardonerroronfileonfilesys temonnameonpipeonstatechangeonsynconvideoonendoncursoronresizeonerroroninstructiononstatechangeonblobonendonendonprogressonkeydownonkeyuponmousedownonmousemoveonmouseuponmousedownonmousemoveonmouseuponmousedownonmousemoveonmouseoutonmouseuponbodyonundefineonkeydownonkeyuponackoninstructiononcloseonerroronerroroninstructiononstatechangeonpauseonplayonprogressonseekonerroroninstructiononstatechangeonendontextonackonerroroninstructiononstatechangeonerroroninstructiononstatechangeNamespacesGuacamoleAudioContextFactory + + + + + +Documentation generated by https://github.com/jsdoc3/jsdoc;>JSDoc 3.5.5 on Fri Dec 21 2018 13:47:10 GMT-0800 (PST) + + + prettyPrint(); + + + http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/Object.js.html -- diff --git a/doc/1.0.0/guacamole-common-js/Object.js.html b/doc/1.0.0/guacamole-common-js/Object.js.html new file mode 100644 index 000..711ff89 --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/Object.js.html @@ -0,0 +1,261 @@ + + + + +JSDoc: Source: Object.js + + + + + + + + + + + + +Source: Object.js + + + + + + + + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +var Guacamole = Guacamole || {}; + +/** + * An object used by the Guacamole client to house arbitrarily-many named + * input and output streams. + * + * @constructor + * @param {Guacamole.Client} client + * The client owning this object. + * + * @param {Number} index + * The index of this object. + */ +Guacamole.Object = function guacamoleObject(client, index) { + +/** + * Reference to this Guacamole.Object. + * + * @private + * @type {Guacamole.Object} + */ +var guacObject = this; + +/** + * Map of stream name to corresponding queue of callbacks. The queue of + * callbacks is
[05/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common/org/apache/guacamole/io/package-summary.html -- diff --git a/doc/1.0.0/guacamole-common/org/apache/guacamole/io/package-summary.html b/doc/1.0.0/guacamole-common/org/apache/guacamole/io/package-summary.html new file mode 100644 index 000..83fd4a0 --- /dev/null +++ b/doc/1.0.0/guacamole-common/org/apache/guacamole/io/package-summary.html @@ -0,0 +1,188 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +org.apache.guacamole.io (guacamole-common 1.0.0 API) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevPackage +NextPackage + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Packageorg.apache.guacamole.io + +All classes relating directly to data input or output. + +See:Description + + + + + +Interface Summary + +Interface +Description + + + +GuacamoleReader + +Provides abstract and raw character read access to a stream of Guacamole + instructions. + + + +GuacamoleWriter + +Provides abstract and raw character write access to a stream of Guacamole + instructions. + + + + + + + +Class Summary + +Class +Description + + + +ReaderGuacamoleReader + +A GuacamoleReader which wraps a standard Java Reader, using that Reader as + the Guacamole instruction stream. + + + +WriterGuacamoleWriter + +A GuacamoleWriter which wraps a standard Java Writer, using that Writer as + the Guacamole instruction stream. + + + + + + + + + +Package org.apache.guacamole.io Description +All classes relating directly to data input or output. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevPackage +NextPackage + + +Frames +NoFrames + + +AllClasses + + + + + + + + + +Copyright 2018. All rights reserved. + + http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common/org/apache/guacamole/io/package-tree.html -- diff --git a/doc/1.0.0/guacamole-common/org/apache/guacamole/io/package-tree.html b/doc/1.0.0/guacamole-common/org/apache/guacamole/io/package-tree.html new file mode 100644 index 000..010a3b9 --- /dev/null +++ b/doc/1.0.0/guacamole-common/org/apache/guacamole/io/package-tree.html @@ -0,0 +1,145 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +org.apache.guacamole.io Class Hierarchy (guacamole-common 1.0.0 API) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Hierarchy For Package org.apache.guacamole.io +Package Hierarchies: + +All Packages + + + +Class Hierarchy + +java.lang.http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object + +org.apache.guacamole.io.ReaderGuacamoleReader (implements org.apache.guacamole.io.GuacamoleReader) +org.apache.guacamole.io.WriterGuacamoleWriter (implements org.apache.guacamole.io.GuacamoleWriter) + + + +Interface Hierarchy + +org.apache.guacamole.io.GuacamoleReader +org.apache.guacamole.io.GuacamoleWriter + + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + +Copyright 2018. All rights reserved. + +
[26/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/fonts/OpenSans-BoldItalic-webfont.eot -- diff --git a/doc/1.0.0/guacamole-common-js/fonts/OpenSans-BoldItalic-webfont.eot b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-BoldItalic-webfont.eot new file mode 100644 index 000..1f639a1 Binary files /dev/null and b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-BoldItalic-webfont.eot differ
[11/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleServerBusyException.html -- diff --git a/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleServerBusyException.html b/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleServerBusyException.html new file mode 100644 index 000..85c6a68 --- /dev/null +++ b/doc/1.0.0/guacamole-common/org/apache/guacamole/GuacamoleServerBusyException.html @@ -0,0 +1,379 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +GuacamoleServerBusyException (guacamole-common 1.0.0 API) + + + + + + +var methods = {"i0":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.guacamole +Class GuacamoleServerBusyException + + + +http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">java.lang.Throwable + + +http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true; title="class or interface in java.lang">java.lang.Exception + + +org.apache.guacamole.GuacamoleException + + +org.apache.guacamole.GuacamoleServerException + + +org.apache.guacamole.GuacamoleServerBusyException + + + + + + + + + + + + + + + +All Implemented Interfaces: +http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true; title="class or interface in java.io">Serializable + + + +public class GuacamoleServerBusyException +extends GuacamoleServerException +An exception which is thrown when the server is too busy to service the + request. + +See Also: +Serialized Form + + + + + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +GuacamoleServerBusyException(http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmessage) +Creates a new GuacamoleServerBusyException with the given message. + + + +GuacamoleServerBusyException(http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmessage, +http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">Throwablecause) +Creates a new GuacamoleServerBusyException with the given message and cause. + + + +GuacamoleServerBusyException(http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">Throwablecause) +Creates a new GuacamoleServerBusyException with the given cause. + + + + + + + + + + +Method Summary + +All MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +GuacamoleStatus +getStatus() +Returns the Guacamole status associated with this exception. + + + + + + + +Methods inherited from classorg.apache.guacamole.GuacamoleException +getHttpStatusCode, getWebSocketCode + + + + + +Methods inherited from classjava.lang.http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">Throwable +http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#addSuppressed-java.lang.Throwable-; title="class or interface in java.lang">addSuppressed, http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace--; title="class or interface in java.lang">fillInStackTrace, http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getCause--; title="class or interface in java.lang">getCause, http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage--; title="class or interface in java.lang">getLocalizedMessage,
[25/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/fonts/OpenSans-BoldItalic-webfont.svg -- diff --git a/doc/1.0.0/guacamole-common-js/fonts/OpenSans-BoldItalic-webfont.svg b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-BoldItalic-webfont.svg new file mode 100644 index 000..6a2607b --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-BoldItalic-webfont.svg @@ -0,0 +1,1830 @@ + +http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd; > +http://www.w3.org/2000/svg;> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
[33/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/Keyboard.js.html -- diff --git a/doc/1.0.0/guacamole-common-js/Keyboard.js.html b/doc/1.0.0/guacamole-common-js/Keyboard.js.html new file mode 100644 index 000..937897e --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/Keyboard.js.html @@ -0,0 +1,1564 @@ + + + + +JSDoc: Source: Keyboard.js + + + + + + + + + + + + +Source: Keyboard.js + + + + + + + + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +var Guacamole = Guacamole || {}; + +/** + * Provides cross-browser and cross-keyboard keyboard for a specific element. + * Browser and keyboard layout variation is abstracted away, providing events + * which represent keys as their corresponding X11 keysym. + * + * @constructor + * @param {Element|Document} [element] + *The Element to use to provide keyboard events. If omitted, at least one + *Element must be manually provided through the listenTo() function for + *the Guacamole.Keyboard instance to have any effect. + */ +Guacamole.Keyboard = function Keyboard(element) { + +/** + * Reference to this Guacamole.Keyboard. + * @private + */ +var guac_keyboard = this; + +/** + * An integer value which uniquely identifies this Guacamole.Keyboard + * instance with respect to other Guacamole.Keyboard instances. + * + * @private + * @type {Number} + */ +var guacKeyboardID = Guacamole.Keyboard._nextID++; + +/** + * The name of the property which is added to event objects via markEvent() + * to note that they have already been handled by this Guacamole.Keyboard. + * + * @private + * @constant + * @type {String} + */ +var EVENT_MARKER = '_GUAC_KEYBOARD_HANDLED_BY_' + guacKeyboardID; + +/** + * Fired whenever the user presses a key with the element associated + * with this Guacamole.Keyboard in focus. + * + * @event + * @param {Number} keysym The keysym of the key being pressed. + * @return {Boolean} true if the key event should be allowed through to the + * browser, false otherwise. + */ +this.onkeydown = null; + +/** + * Fired whenever the user releases a key with the element associated + * with this Guacamole.Keyboard in focus. + * + * @event + * @param {Number} keysym The keysym of the key being released. + */ +this.onkeyup = null; + +/** + * Set of known platform-specific or browser-specific quirks which must be + * accounted for to properly interpret key events, even if the only way to + * reliably detect that quirk is to platform/browser-sniff. + * + * @private + * @type {Object.String, Boolean>} + */ +var quirks = { + +/** + * Whether keyup events are universally unreliable. + * + * @type {Boolean} + */ +keyupUnreliable: false, + +/** + * Whether the Alt key is actually a modifier for typable keys and is + * thus never used for keyboard shortcuts. + * + * @type {Boolean} + */ +altIsTypableOnly: false, + +/** + * Whether we can rely on receiving a keyup event for the Caps Lock + * key. + * + * @type {Boolean} + */ +capsLockKeyupUnreliable: false + +}; + +// Set quirk flags depending on platform/browser, if such information is +// available +if (navigator navigator.platform) { + +// All keyup events are unreliable on iOS (sadly) +if (navigator.platform.match(/ipad|iphone|ipod/i)) +quirks.keyupUnreliable = true; + +// The Alt key on Mac is never used for keyboard shortcuts, and the +// Caps Lock key never dispatches keyup events +else if (navigator.platform.match(/^mac/i)) { +quirks.altIsTypableOnly = true; +quirks.capsLockKeyupUnreliable = true; +} + +} + +/** + * A key event having a corresponding timestamp. This event is
[40/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/Guacamole.Layer.html -- diff --git a/doc/1.0.0/guacamole-common-js/Guacamole.Layer.html b/doc/1.0.0/guacamole-common-js/Guacamole.Layer.html new file mode 100644 index 000..5568d3e --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/Guacamole.Layer.html @@ -0,0 +1,5706 @@ + + + + +JSDoc: Class: Layer + + + + + + + + + + + + +Class: Layer + + + + + + + + + + + +Guacamole.Layer(width, height) + + + + + + + + + + + + +new Layer(width, height) + + + + + + + +Abstract ordered drawing surface. Each Layer contains a canvas element and +provides simple drawing instructions for drawing to that canvas element, +however unlike the canvas element itself, drawing operations on a Layer are +guaranteed to run in order, even if such an operation must wait for an image +to load before completing. + + + + + + + + + + +Parameters: + + + + + + +Name + + +Type + + + + + +Description + + + + + + + + +width + + + + + +Number + + + + + + + + + +The width of the Layer, in pixels. The canvas element + backing this Layer will be given this width. + + + + + + +height + + + + + +Number + + + + + + + + + +The height of the Layer, in pixels. The canvas element + backing this Layer will be given this height. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +Layer.js, line 37 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Classes + + +Pixel + + + + + + + + + + + +Members + + + +(static) ATOP + + + + + +Channel mask for the composite operation "atop". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +Layer.js, line 879 + + + + + + + + + + + + + + + + + +(static) IN + + + + + +Channel mask for the composite operation "in". +Beware that WebKit-based browsers may leave the contents of the destionation +layer where the source layer is transparent, despite the definition of this +operation. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +Layer.js, line 915 + + + + + + + + + + + + + + + + + +(static) OUT + + + + + +Channel mask for the composite operation "out". +Beware that WebKit-based browsers may leave the contents of the destionation +layer where the source layer is transparent, despite the definition of this +operation. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +Layer.js, line 923 + + + + + + + + + + + + + + + + + +(static) OVER + + + + + +Channel mask for the composite operation "over". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +Layer.js, line 894 + + + + + + + + + + + + + + + + + +(static) PLUS + + + + + +Channel mask for the composite operation "plus". + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +Layer.js, line 899 + + + + + + + + + + + + + + + + + +(static) RATOP + + + + + +Channel mask for the composite operation "ratop". +Beware that WebKit-based browsers may leave the contents of the destionation +layer where the source layer is transparent, despite the definition of this +operation. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +Layer.js, line 931 + + + + + + + + + + + + + + + + + +(static) RIN + + + + + +Channel mask for the composite operation "rin". +Beware that WebKit-based browsers may leave the contents of the destionation +layer where the source layer
[35/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/Guacamole.StringWriter.html -- diff --git a/doc/1.0.0/guacamole-common-js/Guacamole.StringWriter.html b/doc/1.0.0/guacamole-common-js/Guacamole.StringWriter.html new file mode 100644 index 000..6e7e699 --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/Guacamole.StringWriter.html @@ -0,0 +1,585 @@ + + + + +JSDoc: Class: StringWriter + + + + + + + + + + + + +Class: StringWriter + + + + + + + + + + + +Guacamole.StringWriter(stream) + + + + + + + + + + + + +new StringWriter(stream) + + + + + + + +A writer which automatically writes to the given output stream with text +data. + + + + + + + + + + +Parameters: + + + + + + +Name + + +Type + + + + + +Description + + + + + + + + +stream + + + + + +Guacamole.OutputStream + + + + + + + + + +The stream that data will be written + to. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +StringWriter.js, line 30 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Methods + + + + + + + +sendEnd() + + + + + + + +Signals that no further text will be sent, effectively closing the +stream. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +StringWriter.js, line 181 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +sendText(text) + + + + + + + +Sends the given text. + + + + + + + + + + +Parameters: + + + + + + +Name + + +Type + + + + + +Description + + + + + + + + +text + + + + + +String + + + + + + + + + +The text to send. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +StringWriter.js, line 172 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Events + + + + + + + +onack + + + + + + + +Fired for received data, if acknowledged by the server. + + + + + + + + + + +Parameters: + + + + + + +Name + + +Type + + + + + +Description + + + + + + + + +status + + + + + +Guacamole.Status + + + + + + + + + +The status of the operation. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +StringWriter.js, line 190 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +HomeClassesArrayBufferReaderArrayBufferWriterAudioPlayerAudioRecorderBlobReaderBlobWriterChainedTunnelClientDataURIReaderDisplayVisibleLayerHTTPTunnelInputSinkInputStreamIntegerPoolJSONReaderKeyboardModifierStateLayerPixelMouseStateTouchpadTouchscreenObjectOnScreenKeyboardKeyLayoutOutputStreamParserRawAudioFormatRawAudioPlayerRawAudioRecorderSessionRecordingStaticHTTPTunnelStatusStringReaderStringWriterTunnelVideoPlayerWebSocketTunnelEventsondataonendonackoncloseonerroronendonprogressonackoncompleteonerroronprogressonerroroninstructiononstatechangeonaudioonclipboardonerroronfileonfilesys temonnameonpipeonstatechangeonsynconvideoonendoncursoronresizeonerroroninstructiononstatechangeonblobonendonendonprogressonkeydownonkeyuponmousedownonmousemoveonmouseuponmousedownonmousemoveonmouseuponmousedownonmousemoveonmouseoutonmouseuponbodyonundefineonkeydownonkeyuponackoninstructiononcloseonerroronerroroninstructiononstatechangeonpauseonplayonprogressonseekonerroroninstructiononstatechangeonendontextonackonerroroninstructiononstatechangeonerroroninstructiononstatechangeNamespacesGuacamoleAudioContextFactory + + + + + +Documentation generated by
[20/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/fonts/OpenSans-LightItalic-webfont.eot -- diff --git a/doc/1.0.0/guacamole-common-js/fonts/OpenSans-LightItalic-webfont.eot b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-LightItalic-webfont.eot new file mode 100644 index 000..8f44592 Binary files /dev/null and b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-LightItalic-webfont.eot differ
[16/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/fonts/OpenSans-Regular-webfont.woff -- diff --git a/doc/1.0.0/guacamole-common-js/fonts/OpenSans-Regular-webfont.woff b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-Regular-webfont.woff new file mode 100644 index 000..e231183 Binary files /dev/null and b/doc/1.0.0/guacamole-common-js/fonts/OpenSans-Regular-webfont.woff differ http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/index.html -- diff --git a/doc/1.0.0/guacamole-common-js/index.html b/doc/1.0.0/guacamole-common-js/index.html new file mode 100644 index 000..3cd140f --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/index.html @@ -0,0 +1,65 @@ + + + + +JSDoc: Home + + + + + + + + + + + + +Home + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +HomeClassesArrayBufferReaderArrayBufferWriterAudioPlayerAudioRecorderBlobReaderBlobWriterChainedTunnelClientDataURIReaderDisplayVisibleLayerHTTPTunnelInputSinkInputStreamIntegerPoolJSONReaderKeyboardModifierStateLayerPixelMouseStateTouchpadTouchscreenObjectOnScreenKeyboardKeyLayoutOutputStreamParserRawAudioFormatRawAudioPlayerRawAudioRecorderSessionRecordingStaticHTTPTunnelStatusStringReaderStringWriterTunnelVideoPlayerWebSocketTunnelEventsondataonendonackoncloseonerroronendonprogressonackoncompleteonerroronprogressonerroroninstructiononstatechangeonaudioonclipboardonerroronfileonfilesys temonnameonpipeonstatechangeonsynconvideoonendoncursoronresizeonerroroninstructiononstatechangeonblobonendonendonprogressonkeydownonkeyuponmousedownonmousemoveonmouseuponmousedownonmousemoveonmouseuponmousedownonmousemoveonmouseoutonmouseuponbodyonundefineonkeydownonkeyuponackoninstructiononcloseonerroronerroroninstructiononstatechangeonpauseonplayonprogressonseekonerroroninstructiononstatechangeonendontextonackonerroroninstructiononstatechangeonerroroninstructiononstatechangeNamespacesGuacamoleAudioContextFactory + + + + + +Documentation generated by https://github.com/jsdoc3/jsdoc;>JSDoc 3.5.5 on Fri Dec 21 2018 13:47:10 GMT-0800 (PST) + + + prettyPrint(); + + + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/scripts/linenumber.js -- diff --git a/doc/1.0.0/guacamole-common-js/scripts/linenumber.js b/doc/1.0.0/guacamole-common-js/scripts/linenumber.js new file mode 100644 index 000..8d52f7e --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/scripts/linenumber.js @@ -0,0 +1,25 @@ +/*global document */ +(function() { +var source = document.getElementsByClassName('prettyprint source linenums'); +var i = 0; +var lineNumber = 0; +var lineId; +var lines; +var totalLines; +var anchorHash; + +if (source && source[0]) { +anchorHash = document.location.hash.substring(1); +lines = source[0].getElementsByTagName('li'); +totalLines = lines.length; + +for (; i < totalLines; i++) { +lineNumber++; +lineId = 'line' + lineNumber; +lines[i].id = lineId; +if (lineId === anchorHash) { +lines[i].className += ' selected'; +} +} +} +})(); http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/scripts/prettify/Apache-License-2.0.txt -- diff --git a/doc/1.0.0/guacamole-common-js/scripts/prettify/Apache-License-2.0.txt b/doc/1.0.0/guacamole-common-js/scripts/prettify/Apache-License-2.0.txt new file mode 100644 index 000..d645695 --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/scripts/prettify/Apache-License-2.0.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 +http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty
[37/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/Guacamole.OutputStream.html -- diff --git a/doc/1.0.0/guacamole-common-js/Guacamole.OutputStream.html b/doc/1.0.0/guacamole-common-js/Guacamole.OutputStream.html new file mode 100644 index 000..067acef --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/Guacamole.OutputStream.html @@ -0,0 +1,682 @@ + + + + +JSDoc: Class: OutputStream + + + + + + + + + + + + +Class: OutputStream + + + + + + + + + + + +Guacamole.OutputStream(client, index) + + + + + + + + + + + + +new OutputStream(client, index) + + + + + + + +Abstract stream which can receive data. + + + + + + + + + + +Parameters: + + + + + + +Name + + +Type + + + + + +Description + + + + + + + + +client + + + + + +Guacamole.Client + + + + + + + + + +The client owning this stream. + + + + + + +index + + + + + +Number + + + + + + + + + +The index of this stream. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +OutputStream.js, line 29 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Members + + + +index :Number + + + + + +The index of this stream. + + + + +Type: + + + +Number + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +OutputStream.js, line 41 + + + + + + + + + + + + + + + + + + + +Methods + + + + + + + +sendBlob(data) + + + + + + + +Writes the given base64-encoded data to this stream as a blob. + + + + + + + + + + +Parameters: + + + + + + +Name + + +Type + + + + + +Description + + + + + + + + +data + + + + + +String + + + + + + + + + +The base64-encoded data to send. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +OutputStream.js, line 57 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +sendEnd() + + + + + + + +Closes this stream. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +OutputStream.js, line 64 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Events + + + + + + + +onack + + + + + + + +Fired whenever an acknowledgement is received from the server, indicating +that a stream operation has completed, or an error has occurred. + + + + + + + + + + +Parameters: + + + + + + +Name + + +Type + + + + + +Description + + + + + + + + +status + + + + + +Guacamole.Status + + + + + + + + + +The status of the operation. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +OutputStream.js, line 50 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
[43/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/Guacamole.Display.html -- diff --git a/doc/1.0.0/guacamole-common-js/Guacamole.Display.html b/doc/1.0.0/guacamole-common-js/Guacamole.Display.html new file mode 100644 index 000..3b4bdc8 --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/Guacamole.Display.html @@ -0,0 +1,9056 @@ + + + + +JSDoc: Class: Display + + + + + + + + + + + + +Class: Display + + + + + + + + + + + +Guacamole.Display() + + + + + + + + + + + + +new Display() + + + + + + + +The Guacamole display. The display does not deal with the Guacamole +protocol, and instead implements a set of graphical operations which +embody the set of operations present in the protocol. The order operations +are executed is guaranteed to be in the same order as their corresponding +functions are called. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +Display.js, line 31 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Classes + + +VisibleLayer + + + + + + + + + + + +Members + + + +cursorHotspotX :Number + + + + + +The X coordinate of the hotspot of the mouse cursor. The hotspot is +the relative location within the image of the mouse cursor at which +each click occurs. + + + + +Type: + + + +Number + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +Display.js, line 84 + + + + + + + + + + + + + + + + + +cursorHotspotY :Number + + + + + +The Y coordinate of the hotspot of the mouse cursor. The hotspot is +the relative location within the image of the mouse cursor at which +each click occurs. + + + + +Type: + + + +Number + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +Display.js, line 93 + + + + + + + + + + + + + + + + + +cursorX :Number + + + + + +The current X coordinate of the local mouse cursor. This is not +necessarily the location of the actual mouse - it refers only to +the location of the cursor image within the Guacamole display, as +last set by moveCursor(). + + + + +Type: + + + +Number + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +Display.js, line 103 + + + + + + + + + + + + + + + + + +cursorY :Number + + + + + +The current X coordinate of the local mouse cursor. This is not +necessarily the location of the actual mouse - it refers only to +the location of the cursor image within the Guacamole display, as +last set by moveCursor(). + + + + +Type: + + + +Number + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Source: + +Display.js, line 113 + + + + + + + + + + + + + + + + + + + +Methods + + + + + + + +arc(layer, x, y, radius, startAngle, endAngle, negative) + + + + + + + +Add the specified arc to the current path. + + + + + + + + + + +Parameters: + + + + + + +Name + + +Type + + + + + +Description + + + + + + + + +layer + + + + + +Guacamole.Layer + + + + + + + + + +The layer to draw upon. + + + + + + +x + + + + + +Number + + + + + + + + + +The X coordinate of the center of the circle which + will contain the arc. + + + + + + +y + + + + + +Number + + + + + + + + + +The Y coordinate of the center of the circle which + will contain the arc. + + + + + + +radius + + + + +
[03/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common/org/apache/guacamole/net/SimpleGuacamoleTunnel.html -- diff --git a/doc/1.0.0/guacamole-common/org/apache/guacamole/net/SimpleGuacamoleTunnel.html b/doc/1.0.0/guacamole-common/org/apache/guacamole/net/SimpleGuacamoleTunnel.html new file mode 100644 index 000..18e1302 --- /dev/null +++ b/doc/1.0.0/guacamole-common/org/apache/guacamole/net/SimpleGuacamoleTunnel.html @@ -0,0 +1,346 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +SimpleGuacamoleTunnel (guacamole-common 1.0.0 API) + + + + + + +var methods = {"i0":10,"i1":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Field| +Constr| +Method + + +Detail: +Field| +Constr| +Method + + + + + + + + +org.apache.guacamole.net +Class SimpleGuacamoleTunnel + + + +http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +org.apache.guacamole.net.AbstractGuacamoleTunnel + + +org.apache.guacamole.net.SimpleGuacamoleTunnel + + + + + + + + + +All Implemented Interfaces: +GuacamoleTunnel + + + +public class SimpleGuacamoleTunnel +extends AbstractGuacamoleTunnel +GuacamoleTunnel implementation which uses a provided socket. The UUID of + the tunnel will be randomly generated. + + + + + + + + + + + +Field Summary + + + + +Fields inherited from interfaceorg.apache.guacamole.net.GuacamoleTunnel +INTERNAL_DATA_OPCODE + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +SimpleGuacamoleTunnel(GuacamoleSocketsocket) +Creates a new GuacamoleTunnel which synchronizes access to the + Guacamole instruction stream associated with the given GuacamoleSocket. + + + + + + + + + + +Method Summary + +All MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +GuacamoleSocket +getSocket() +Returns the GuacamoleSocket used by this GuacamoleTunnel for reading + and writing. + + + +http://docs.oracle.com/javase/6/docs/api/java/util/UUID.html?is-external=true; title="class or interface in java.util">UUID +getUUID() +Returns the unique identifier associated with this GuacamoleTunnel. + + + + + + + +Methods inherited from classorg.apache.guacamole.net.AbstractGuacamoleTunnel +acquireReader, acquireWriter, close, hasQueuedReaderThreads, hasQueuedWriterThreads, isOpen, releaseReader, releaseWriter + + + + + +Methods inherited from classjava.lang.http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--; title="class or interface in java.lang">clone, http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-; title="class or interface in java.lang">equals, http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--; title="class or interface in java.lang">finalize, http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--; title="class or interface in java.lang">getClass, http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--; title="class or interface in java.lang">hashCode, http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--; title="class or interface in java.lang">notify, http://docs.oracle.com/javase/6/docs/api/java/lang /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll, http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--; title="class or interface in java.lang">toString, http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--; title="class or interface in java.lang">wait, http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-; title="class or interface in java.lang">wait,
[50/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/AudioContextFactory.js.html -- diff --git a/doc/1.0.0/guacamole-common-js/AudioContextFactory.js.html b/doc/1.0.0/guacamole-common-js/AudioContextFactory.js.html new file mode 100644 index 000..126a7fd --- /dev/null +++ b/doc/1.0.0/guacamole-common-js/AudioContextFactory.js.html @@ -0,0 +1,130 @@ + + + + +JSDoc: Source: AudioContextFactory.js + + + + + + + + + + + + +Source: AudioContextFactory.js + + + + + + + + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +var Guacamole = Guacamole || {}; + +/** + * Maintains a singleton instance of the Web Audio API AudioContext class, + * instantiating the AudioContext only in response to the first call to + * getAudioContext(), and only if no existing AudioContext instance has been + * provided via the singleton property. Subsequent calls to getAudioContext() + * will return the same instance. + * + * @namespace + */ +Guacamole.AudioContextFactory = { + +/** + * A singleton instance of a Web Audio API AudioContext object, or null if + * no instance has yes been created. This property may be manually set if + * you wish to supply your own AudioContext instance, but care must be + * taken to do so as early as possible. Assignments to this property will + * not retroactively affect the value returned by previous calls to + * getAudioContext(). + * + * @type {AudioContext} + */ +'singleton' : null, + +/** + * Returns a singleton instance of a Web Audio API AudioContext object. + * + * @return {AudioContext} + * A singleton instance of a Web Audio API AudioContext object, or null + * if the Web Audio API is not supported. + */ +'getAudioContext' : function getAudioContext() { + +// Fallback to Webkit-specific AudioContext implementation +var AudioContext = window.AudioContext || window.webkitAudioContext; + +// Get new AudioContext instance if Web Audio API is supported +if (AudioContext) { +try { + +// Create new instance if none yet exists +if (!Guacamole.AudioContextFactory.singleton) +Guacamole.AudioContextFactory.singleton = new AudioContext(); + +// Return singleton instance +return Guacamole.AudioContextFactory.singleton; + +} +catch (e) { +// Do not use Web Audio API if not allowed by browser +} +} + +// Web Audio API not supported +return null; + +} + +}; + + + + + + + + + + +HomeClassesArrayBufferReaderArrayBufferWriterAudioPlayerAudioRecorderBlobReaderBlobWriterChainedTunnelClientDataURIReaderDisplayVisibleLayerHTTPTunnelInputSinkInputStreamIntegerPoolJSONReaderKeyboardModifierStateLayerPixelMouseStateTouchpadTouchscreenObjectOnScreenKeyboardKeyLayoutOutputStreamParserRawAudioFormatRawAudioPlayerRawAudioRecorderSessionRecordingStaticHTTPTunnelStatusStringReaderStringWriterTunnelVideoPlayerWebSocketTunnelEventsondataonendonackoncloseonerroronendonprogressonackoncompleteonerroronprogressonerroroninstructiononstatechangeonaudioonclipboardonerroronfileonfilesys temonnameonpipeonstatechangeonsynconvideoonendoncursoronresizeonerroroninstructiononstatechangeonblobonendonendonprogressonkeydownonkeyuponmousedownonmousemoveonmouseuponmousedownonmousemoveonmouseuponmousedownonmousemoveonmouseoutonmouseuponbodyonundefineonkeydownonkeyuponackoninstructiononcloseonerroronerroroninstructiononstatechangeonpauseonplayonprogressonseekonerroroninstructiononstatechangeonendontextonackonerroroninstructiononstatechangeonerroroninstructiononstatechangeNamespacesGuacamoleAudioContextFactory + + + + + +Documentation generated by https://github.com/jsdoc3/jsdoc;>JSDoc 3.5.5 on Fri Dec 21 2018 13:47:10 GMT-0800 (PST) + + + prettyPrint(); + + + http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common-js/AudioPlayer.js.html
[07/52] [abbrv] [partial] guacamole-website git commit: Add documentation for 1.0.0.
http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common/org/apache/guacamole/class-use/GuacamoleServerException.html -- diff --git a/doc/1.0.0/guacamole-common/org/apache/guacamole/class-use/GuacamoleServerException.html b/doc/1.0.0/guacamole-common/org/apache/guacamole/class-use/GuacamoleServerException.html new file mode 100644 index 000..b68a235 --- /dev/null +++ b/doc/1.0.0/guacamole-common/org/apache/guacamole/class-use/GuacamoleServerException.html @@ -0,0 +1,187 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Class org.apache.guacamole.GuacamoleServerException (guacamole-common 1.0.0 API) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Uses of Classorg.apache.guacamole.GuacamoleServerException + + + + + +Packages that use GuacamoleServerException + +Package +Description + + + +org.apache.guacamole + +All classes which apply generally across the Guacamole web application + and all other web applications which use the API provided by the + Guacamole project. + + + + + + + + + + +Uses of GuacamoleServerException in org.apache.guacamole + +Subclasses of GuacamoleServerException in org.apache.guacamole + +Modifier and Type +Class and Description + + + +class +GuacamoleConnectionClosedException +An exception which is thrown when an operation cannot be performed because + its corresponding connection is closed. + + + +class +GuacamoleServerBusyException +An exception which is thrown when the server is too busy to service the + request. + + + +class +GuacamoleUnsupportedException +An exception which is thrown when the requested operation is unsupported + or unimplemented. + + + + + + + + + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + +Copyright 2018. All rights reserved. + + http://git-wip-us.apache.org/repos/asf/guacamole-website/blob/044692cf/doc/1.0.0/guacamole-common/org/apache/guacamole/class-use/GuacamoleSessionClosedException.html -- diff --git a/doc/1.0.0/guacamole-common/org/apache/guacamole/class-use/GuacamoleSessionClosedException.html b/doc/1.0.0/guacamole-common/org/apache/guacamole/class-use/GuacamoleSessionClosedException.html new file mode 100644 index 000..e186aaf --- /dev/null +++ b/doc/1.0.0/guacamole-common/org/apache/guacamole/class-use/GuacamoleSessionClosedException.html @@ -0,0 +1,126 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Class org.apache.guacamole.GuacamoleSessionClosedException (guacamole-common 1.0.0 API) + + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Uses of Classorg.apache.guacamole.GuacamoleSessionClosedException + +No usage of org.apache.guacamole.GuacamoleSessionClosedException + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + +Copyright 2018. All rights reserved. + +
[1/2] guacamole-client git commit: GUACAMOLE-622: Increase size of instruction queue within FailoverGuacamoleSocket. Allow limit to be overridden.
Repository: guacamole-client Updated Branches: refs/heads/master d37100dc1 -> 0f93e7ff4 GUACAMOLE-622: Increase size of instruction queue within FailoverGuacamoleSocket. Allow limit to be overridden. Some protocols, in particular SSH and telnet, may send a decent amount of data before the connection status is known. Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/e77ca735 Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/e77ca735 Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/e77ca735 Branch: refs/heads/master Commit: e77ca735a07e851641067cbacf0ba61798511238 Parents: a34bbcf Author: Michael Jumper Authored: Sat Sep 1 14:35:01 2018 -0700 Committer: Michael Jumper Committed: Tue Sep 11 14:49:46 2018 -0700 -- .../protocol/FailoverGuacamoleSocket.java | 50 1 file changed, 42 insertions(+), 8 deletions(-) -- http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/e77ca735/guacamole-common/src/main/java/org/apache/guacamole/protocol/FailoverGuacamoleSocket.java -- diff --git a/guacamole-common/src/main/java/org/apache/guacamole/protocol/FailoverGuacamoleSocket.java b/guacamole-common/src/main/java/org/apache/guacamole/protocol/FailoverGuacamoleSocket.java index 627c9fb..3c64c51 100644 --- a/guacamole-common/src/main/java/org/apache/guacamole/protocol/FailoverGuacamoleSocket.java +++ b/guacamole-common/src/main/java/org/apache/guacamole/protocol/FailoverGuacamoleSocket.java @@ -49,11 +49,10 @@ public class FailoverGuacamoleSocket implements GuacamoleSocket { LoggerFactory.getLogger(FailoverGuacamoleSocket.class); /** - * The maximum number of characters of Guacamole instruction data to store - * within the instruction queue while searching for errors. Once this limit - * is exceeded, the connection is assumed to be successful. + * The default maximum number of characters of Guacamole instruction data + * to store if no explicit limit is provided. */ -private static final int INSTRUCTION_QUEUE_LIMIT = 2048; +private static final int DEFAULT_INSTRUCTION_QUEUE_LIMIT = 131072; /** * The wrapped socket being used. @@ -131,9 +130,11 @@ public class FailoverGuacamoleSocket implements GuacamoleSocket { /** * Creates a new FailoverGuacamoleSocket which reads Guacamole instructions * from the given socket, searching for errors from the upstream remote - * desktop. If an upstream error is encountered, it is thrown as a + * desktop until the given instruction queue limit is reached. If an + * upstream error is encountered, it is thrown as a * GuacamoleUpstreamException. This constructor will block until an error - * is encountered, or until the connection appears to have been successful. + * is encountered, until insufficient space remains in the instruction + * queue, or until the connection appears to have been successful. * Once the FailoverGuacamoleSocket has been created, all reads, writes, * etc. will be delegated to the provided socket. * @@ -141,6 +142,11 @@ public class FailoverGuacamoleSocket implements GuacamoleSocket { * The GuacamoleSocket of the Guacamole connection this * FailoverGuacamoleSocket should handle. * + * @param instructionQueueLimit + * The maximum number of characters of Guacamole instruction data to + * store within the instruction queue while searching for errors. Once + * this limit is exceeded, the connection is assumed to be successful. + * * @throws GuacamoleException * If an error occurs while reading data from the provided socket. * @@ -148,7 +154,8 @@ public class FailoverGuacamoleSocket implements GuacamoleSocket { * If the connection to guacd succeeded, but an error occurred while * connecting to the remote desktop. */ -public FailoverGuacamoleSocket(GuacamoleSocket socket) +public FailoverGuacamoleSocket(GuacamoleSocket socket, +final int instructionQueueLimit) throws GuacamoleException, GuacamoleUpstreamException { int totalQueueSize = 0; @@ -177,7 +184,7 @@ public class FailoverGuacamoleSocket implements GuacamoleSocket { // Otherwise, track total data parsed, and assume connection is // successful if no error encountered within reasonable space totalQueueSize += instruction.toString().length(); -if (totalQueueSize >= INSTRUCTION_QUEUE_LIMIT) +if (totalQueueSize >= instructionQueueLimit) break; } @@ -187,6 +194,33 @@ public class
[guacamole-manual] branch master updated: GUACAMOLE-593: Add documentation for ldap-member-attribute to Guacamole manual
This is an automated email from the ASF dual-hosted git repository. vnick pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/guacamole-manual.git The following commit(s) were added to refs/heads/master by this push: new f1315a4 GUACAMOLE-593: Add documentation for ldap-member-attribute to Guacamole manual new 68b3fb9 GUACAMOLE-593: Merge add documentation for ldap-member-attribute f1315a4 is described below commit f1315a424baa1791f7bcf2b1ef9df30fc9ed0714 Author: Joel Best AuthorDate: Thu Jan 24 17:01:55 2019 -0500 GUACAMOLE-593: Add documentation for ldap-member-attribute to Guacamole manual --- src/chapters/ldap-auth.xml | 10 ++ 1 file changed, 10 insertions(+) diff --git a/src/chapters/ldap-auth.xml b/src/chapters/ldap-auth.xml index 3c47567..0ffe1fe 100644 --- a/src/chapters/ldap-auth.xml +++ b/src/chapters/ldap-auth.xml @@ -360,6 +360,16 @@ dn: cn={4}guacConfigGroup,cn=schema,cn=config +ldap-member-attribute + + The attribute which contains the members within all group objects in the + LDAP directory. Usually, and by default, this will simply be + "member". If your LDAP directory contains groups + whose members are dictated by a different attribute, it can be specified + here. + + + ldap-user-attributes The attribute or attributes to retrieve from the LDAP directory for
[guacamole-manual] branch master updated: GUACAMOLE-693: Update copyright year in NOTICE to 2019.
This is an automated email from the ASF dual-hosted git repository. vnick pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/guacamole-manual.git The following commit(s) were added to refs/heads/master by this push: new 5aeb315 GUACAMOLE-693: Update copyright year in NOTICE to 2019. new 232d99f GUACAMOLE-693: Merge update copyright year in NOTICE to 2019. 5aeb315 is described below commit 5aeb315a12746fb5886383f56627aab01773e1f9 Author: Michael Jumper AuthorDate: Thu Jan 24 16:48:11 2019 -0800 GUACAMOLE-693: Update copyright year in NOTICE to 2019. --- NOTICE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NOTICE b/NOTICE index 97e6130..39de3ec 100644 --- a/NOTICE +++ b/NOTICE @@ -1,5 +1,5 @@ Apache Guacamole -Copyright 2018 The Apache Software Foundation +Copyright 2019 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/).
[guacamole-client] branch master updated (957d45d -> a276688)
This is an automated email from the ASF dual-hosted git repository. vnick pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/guacamole-client.git. from 957d45d GUACAMOLE-716: Merge add all LDAP properties to Docker start script new a1870bc Merge pull request #1 from apache/master new 989d7c9 GUACAMOLE-713: Add support for changing Logback verbosity to Docker start script new a276688 GUACAMOLE-713: Merge add support for changing Logback verbosity to Docker start script The 4986 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: guacamole-docker/bin/start.sh | 6 ++ 1 file changed, 6 insertions(+)
[guacamole-client] branch master updated (50b4bec -> f170b7e)
This is an automated email from the ASF dual-hosted git repository. vnick pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/guacamole-client.git. from 50b4bec GUACAMOLE-678: Merge new URI implementation of GuacamoleProperty. new 2d0bc70 GUACAMOLE-723: Avoid DOM reflow when switching connections. new f92bf9c GUACAMOLE-723: Move getClientIdentifier() to GroupListItem for convenience of other uses of the guacGroupList directive. new 57cdd2b GUACAMOLE-723: Allow connections to be selected within the Guacamole menu. new e7eb46b GUACAMOLE-723: Display connection thumbnails for all non-current active connections within the client interface. new aa633c2 GUACAMOLE-723: Organize other active connections within collapsible panel. new e0dcd67 GUACAMOLE-723: Update size of attached client when a different client is attached. new 53bb198 GUACAMOLE-723: Persist client panel state across navigation. new 07a967b GUACAMOLE-723: Ensure client panel renders above status notifications. new dc012e4 GUACAMOLE-723: Hide scrollbar and thumbnails when client panel is hidden. new bd474e9 GUACAMOLE-723: Allow mouse interaction with the contents of a menu without closing the menu. new 7fddb26 GUACAMOLE-723: Limit size of connections in menu to 10 items. Restore padding around list and pager. new 19da6e3 GUACAMOLE-723: Allow connections in Guacamole menu dropdown to be filtered. new 378cae5 GUACAMOLE-723: Sort connections in panel by last use. new d7dfd08 GUACAMOLE-723: Display warning icon when background connection disconnects due to an error. new cbd357c GUACAMOLE-723: Allow connections to be closed/removed directly from the panel. new b5bfc68 GUACAMOLE-723: Size panel thumbnails vertically, not horizontally. new 319c40c GUACAMOLE-723: Ensure thumbnail is always confined within designated space. new f170b7e GUACAMOLE-723: Add interface for switching between multiple active connections. The 5052 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../app/client/controllers/clientController.js | 78 +++- .../webapp/app/client/directives/guacClient.js | 3 + .../app/client/directives/guacClientPanel.js | 170 + .../main/webapp/app/client/styles/guac-menu.css| 23 +++ .../src/main/webapp/app/client/styles/keyboard.css | 7 + .../webapp/app/client/styles/other-connections.css | 206 + .../main/webapp/app/client/styles/text-input.css | 7 +- .../main/webapp/app/client/templates/client.html | 31 +++- .../webapp/app/client/templates/connection.html| 4 + .../app/client/templates/connectionGroup.html | 4 + .../app/client/templates/guacClientPanel.html | 32 .../main/webapp/app/client/types/ManagedClient.js | 10 + .../main/webapp/app/groupList/groupListModule.js | 6 +- .../webapp/app/groupList/types/GroupListItem.js| 46 - .../webapp/app/home/controllers/homeController.js | 46 - .../main/webapp/app/home/templates/connection.html | 2 +- .../webapp/app/home/templates/connectionGroup.html | 2 +- .../src/main/webapp/app/home/templates/home.html | 1 - .../webapp/app/navigation/directives/guacMenu.js | 13 ++ guacamole/src/main/webapp/images/arrows/left.png | Bin 0 -> 246 bytes guacamole/src/main/webapp/images/warning-white.png | Bin 0 -> 4506 bytes guacamole/src/main/webapp/translations/de.json | 2 + guacamole/src/main/webapp/translations/en.json | 2 + guacamole/src/main/webapp/translations/es.json | 2 + guacamole/src/main/webapp/translations/fr.json | 2 + guacamole/src/main/webapp/translations/it.json | 2 + guacamole/src/main/webapp/translations/nl.json | 2 + guacamole/src/main/webapp/translations/no.json | 2 + guacamole/src/main/webapp/translations/ru.json | 2 + guacamole/src/main/webapp/translations/zh.json | 2 + 30 files changed, 640 insertions(+), 69 deletions(-) create mode 100644 guacamole/src/main/webapp/app/client/directives/guacClientPanel.js create mode 100644 guacamole/src/main/webapp/app/client/styles/other-connections.css copy doc/guacamole-example/src/main/webapp/guacamole.css => guacamole/src/main/webapp/app/client/styles/text-input.css (89%) create mode 100644 guacamole/src/main/webapp/app/client/templates/connection.html create mode 100644 guacamole/src/main/webapp/app/client/templates/connectionGroup.html create mode 100644 guacamole/src/main/webapp/app/client/templates/guacClientPanel.html create mode 100644 guacamole/src/main/webapp/images/arrows/left.png create mode 100644 guacamole/src/main/webapp/images/warning-white.png