GUACAMOLE-1907: Merge remove the double line breaks.
This commit is contained in:
commit
2a1698b3a9
@ -289,7 +289,6 @@ resize_scrollback() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
# Get script name
|
||||
#
|
||||
|
||||
@ -643,7 +643,6 @@ then
|
||||
|
||||
fi
|
||||
|
||||
|
||||
#
|
||||
# FreeRDP 2 (libfreerdp2, libfreerdp-client2, and libwinpr2)
|
||||
#
|
||||
@ -778,7 +777,6 @@ then
|
||||
|
||||
fi
|
||||
|
||||
|
||||
# Glyph callback variants
|
||||
if test "x${have_freerdp2}" = "xyes"
|
||||
then
|
||||
|
||||
@ -212,7 +212,6 @@ int guac_common_ssh_verify_host_key(LIBSSH2_SESSION* session, guac_client* clien
|
||||
return known_hosts;
|
||||
}
|
||||
|
||||
|
||||
/* Check remote host key against known hosts */
|
||||
int kh_check = libssh2_knownhost_checkp(ssh_known_hosts, hostname, port,
|
||||
remote_hostkey, remote_hostkey_len,
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef GUAC_COMMON_CURSOR_H
|
||||
#define GUAC_COMMON_CURSOR_H
|
||||
|
||||
|
||||
@ -26,6 +26,5 @@
|
||||
*/
|
||||
#define GUAC_WOL_DEFAULT_BOOT_WAIT_TIME 0
|
||||
|
||||
|
||||
#endif /* GUAC_COMMON_DEFAULTS_H */
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GUAC_COMMON_DOT_CURSOR_H
|
||||
#define _GUAC_COMMON_DOT_CURSOR_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GUAC_COMMON_POINTER_CURSOR_H
|
||||
#define _GUAC_COMMON_POINTER_CURSOR_H
|
||||
|
||||
|
||||
@ -37,7 +37,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
/**
|
||||
* Allocates a cursor as well as an image buffer where the cursor is rendered.
|
||||
*
|
||||
|
||||
@ -280,7 +280,6 @@ static int __guac_common_surface_is_opaque(guac_common_surface* surface,
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether the given rectangle should be combined into the existing
|
||||
* dirty rectangle, to be eventually flushed as image data, or would be best
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __GUACD_LOG_H
|
||||
#define __GUACD_LOG_H
|
||||
|
||||
|
||||
@ -76,7 +76,6 @@ int guacd_recv_fd(int sock) {
|
||||
message.msg_iov = io_vector;
|
||||
message.msg_iovlen = 1;
|
||||
|
||||
|
||||
/* Assign ancillary data buffer */
|
||||
char buffer[CMSG_SPACE(sizeof(fd))];
|
||||
message.msg_control = buffer;
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GUACD_PROC_MAP_H
|
||||
#define _GUACD_PROC_MAP_H
|
||||
|
||||
|
||||
@ -85,7 +85,6 @@ static int guacenc_write_packet(guacenc_video* video, void* data, int size) {
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
if (ret != 0) {
|
||||
guacenc_log(GUAC_LOG_ERROR, "Unable to write frame "
|
||||
"#%" PRId64 ": %s", video->next_pts, strerror(errno));
|
||||
|
||||
@ -82,4 +82,3 @@ guac_timestamp guacenc_parse_timestamp(const char* str);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __GUAC_AUDIO_H
|
||||
#define __GUAC_AUDIO_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GUAC_ERROR_H
|
||||
#define _GUAC_ERROR_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GUAC_HASH_H
|
||||
#define _GUAC_HASH_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GUAC_PARSER_TYPES_H
|
||||
#define _GUAC_PARSER_TYPES_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GUAC_PARSER_H
|
||||
#define _GUAC_PARSER_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __GUACD_SOCKET_SSL_H
|
||||
#define __GUACD_SOCKET_SSL_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GUAC_UNICODE_H
|
||||
#define _GUAC_UNICODE_H
|
||||
|
||||
|
||||
@ -104,4 +104,3 @@ char* guac_generate_id(char prefix) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __GUAC_PALETTE_H
|
||||
#define __GUAC_PALETTE_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef GUAC_RAW_ENCODER_H
|
||||
#define GUAC_RAW_ENCODER_H
|
||||
|
||||
|
||||
@ -68,7 +68,6 @@ test_libguac_SOURCES = \
|
||||
unicode/strlen.c \
|
||||
unicode/write.c
|
||||
|
||||
|
||||
test_libguac_CFLAGS = \
|
||||
-Werror -Wall -pedantic \
|
||||
@LIBGUAC_INCLUDE@
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GUAC_USER_HANDLERS__H
|
||||
#define _GUAC_USER_HANDLERS__H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef GUAC_KUBERNETES_ARGV_H
|
||||
#define GUAC_KUBERNETES_ARGV_H
|
||||
|
||||
|
||||
@ -140,4 +140,3 @@ bool guac_kubernetes_write_pending_message(guac_client* client) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -83,7 +83,6 @@ typedef struct guac_kubernetes_message {
|
||||
|
||||
} guac_kubernetes_message;
|
||||
|
||||
|
||||
/**
|
||||
* Handles data received from Kubernetes over WebSocket, decoding the channel
|
||||
* index of the received data and forwarding that data accordingly.
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef GUAC_KUBERNETES_PIPE_H
|
||||
#define GUAC_KUBERNETES_PIPE_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef GUAC_RDP_ARGV_H
|
||||
#define GUAC_RDP_ARGV_H
|
||||
|
||||
|
||||
@ -684,7 +684,6 @@ int guac_rdp_clipboard_blob_handler(guac_user* user, guac_stream* stream,
|
||||
|
||||
}
|
||||
|
||||
|
||||
int guac_rdp_clipboard_end_handler(guac_user* user, guac_stream* stream) {
|
||||
|
||||
guac_client* client = user->client;
|
||||
|
||||
@ -42,7 +42,6 @@ void guac_rdp_pipe_svc_send_pipe(guac_socket* socket, guac_rdp_pipe_svc* pipe_sv
|
||||
|
||||
}
|
||||
|
||||
|
||||
void guac_rdp_pipe_svc_send_pipes(
|
||||
guac_client* client, guac_socket* socket) {
|
||||
|
||||
|
||||
@ -178,7 +178,6 @@ void guac_rdpdr_process_terminate(guac_rdp_common_svc* svc) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
void guac_rdpdr_load_plugin(rdpContext* context) {
|
||||
|
||||
guac_client* client = ((rdp_freerdp_context*) context)->client;
|
||||
|
||||
@ -395,4 +395,3 @@ BOOL guac_rdp_gdi_desktop_resize(rdpContext* context) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -84,12 +84,10 @@ map +altgr -shift 0x33 ~ ";"
|
||||
map +altgr -shift 0x34 ~ ">"
|
||||
map +altgr -shift 0x35 ~ "*"
|
||||
|
||||
|
||||
#
|
||||
# Keys requiring AltGr & Shift
|
||||
#
|
||||
|
||||
|
||||
#
|
||||
# Dead keys
|
||||
#
|
||||
@ -105,5 +103,4 @@ map +altgr -shift 0x0B ~ 0xFE59 # Dead doubleacute
|
||||
map +altgr -shift 0x0C ~ 0xFE57 # Dead diaeresis
|
||||
map +altgr -shift 0x0D ~ 0xFE5B # Dead cedilla
|
||||
|
||||
|
||||
# END
|
||||
|
||||
@ -61,7 +61,6 @@ map +altgr -shift 0x1F ~ "ß"
|
||||
|
||||
map +altgr -shift 0x56 ~ "|"
|
||||
|
||||
|
||||
#
|
||||
# Keys requiring AltGr and vary by Shift and Caps Lock
|
||||
#
|
||||
|
||||
@ -1234,7 +1234,6 @@ guac_rdp_settings* guac_rdp_parse_args(guac_user* user,
|
||||
settings->clipboard_crlf = 0;
|
||||
}
|
||||
|
||||
|
||||
/* Parse Wake-on-LAN (WoL) settings */
|
||||
settings->wol_send_packet =
|
||||
guac_user_parse_args_boolean(user, GUAC_RDP_CLIENT_ARGS, argv,
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef GUAC_SSH_ARGV_H
|
||||
#define GUAC_SSH_ARGV_H
|
||||
|
||||
|
||||
@ -37,7 +37,6 @@
|
||||
#include <guacamole/recording.h>
|
||||
#include <guacamole/socket.h>
|
||||
|
||||
|
||||
/**
|
||||
* A pending join handler implementation that will synchronize the connection
|
||||
* state for all pending users prior to them being promoted to full user.
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef GUAC_SSH_PIPE_H
|
||||
#define GUAC_SSH_PIPE_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _SSH_GUAC_SFTP_H
|
||||
#define _SSH_GUAC_SFTP_H
|
||||
|
||||
|
||||
@ -317,7 +317,6 @@ void* ssh_client_thread(void* data) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#ifdef ENABLE_SSH_AGENT
|
||||
/* Start SSH agent forwarding, if enabled */
|
||||
if (ssh_client->enable_agent) {
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GUAC_SSH_AGENT_H
|
||||
#define _GUAC_SSH_AGENT_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef GUAC_TELNET_ARGV_H
|
||||
#define GUAC_TELNET_ARGV_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef GUAC_TELNET_PIPE_H
|
||||
#define GUAC_TELNET_PIPE_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __GUAC_VNC_CLIENT_H
|
||||
#define __GUAC_VNC_CLIENT_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef GUAC_VNC_INPUT_H
|
||||
#define GUAC_VNC_INPUT_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __GUAC_VNC_SETTINGS_H
|
||||
#define __GUAC_VNC_SETTINGS_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef GUAC_PULSE_H
|
||||
#define GUAC_PULSE_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#include "terminal/buffer.h"
|
||||
#include "terminal/common.h"
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
const int vt100_map[] = {
|
||||
' ', '!', '"', '#', '$', '%', '&', '\'', '(', ')', '*', '+', ',', '-', '.', '/',
|
||||
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ':', ';', '<', '=', '>', '?',
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#include "terminal/color-scheme.h"
|
||||
#include "terminal/palette.h"
|
||||
#include "terminal/xparsecolor.h"
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#include "common/surface.h"
|
||||
#include "terminal/common.h"
|
||||
#include "terminal/display.h"
|
||||
@ -768,7 +767,6 @@ void __guac_terminal_display_flush_clear(guac_terminal_display* display) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
void __guac_terminal_display_flush_set(guac_terminal_display* display) {
|
||||
|
||||
guac_terminal_operation* current = display->operations;
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#include "common/clipboard.h"
|
||||
#include "terminal/buffer.h"
|
||||
#include "terminal/display.h"
|
||||
|
||||
@ -1242,7 +1242,6 @@ int guac_terminal_set_scrollback(guac_terminal* term, unsigned char c) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
int guac_terminal_window_title(guac_terminal* term, unsigned char c) {
|
||||
|
||||
static int position = 0;
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#include "common/clipboard.h"
|
||||
#include "common/cursor.h"
|
||||
#include "terminal/buffer.h"
|
||||
@ -1439,7 +1438,6 @@ int guac_terminal_resize(guac_terminal* terminal, int width, int height) {
|
||||
guac_terminal_scrollbar_set_bounds(terminal->scrollbar,
|
||||
-guac_terminal_get_available_scroll(terminal), 0);
|
||||
|
||||
|
||||
/* Release terminal */
|
||||
guac_terminal_unlock(terminal);
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GUAC_TERMINAL_BUFFER_H
|
||||
#define _GUAC_TERMINAL_BUFFER_H
|
||||
|
||||
@ -27,8 +26,6 @@
|
||||
* @file buffer.h
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#include "types.h"
|
||||
|
||||
/**
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GUAC_TERMINAL_CHAR_MAPPINGS_H
|
||||
#define _GUAC_TERMINAL_CHAR_MAPPINGS_H
|
||||
|
||||
@ -27,7 +26,6 @@
|
||||
* @file char-mappings.h
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* VT100 graphics mapping. Each entry is the corresponding Unicode codepoint
|
||||
* for the character N+32, where N is the index of the element in the array.
|
||||
|
||||
@ -26,7 +26,6 @@
|
||||
* @file color-scheme.h
|
||||
*/
|
||||
|
||||
|
||||
#include "palette.h"
|
||||
|
||||
#include <guacamole/client.h>
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GUAC_TERMINAL_COMMON_H
|
||||
#define _GUAC_TERMINAL_COMMON_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GUAC_TERMINAL_DISPLAY_H
|
||||
#define _GUAC_TERMINAL_DISPLAY_H
|
||||
|
||||
@ -27,7 +26,6 @@
|
||||
* @file display.h
|
||||
*/
|
||||
|
||||
|
||||
#include "common/surface.h"
|
||||
#include "palette.h"
|
||||
#include "types.h"
|
||||
|
||||
@ -26,7 +26,6 @@
|
||||
* @file palette.h
|
||||
*/
|
||||
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/**
|
||||
|
||||
@ -26,7 +26,6 @@
|
||||
* @file scrollbar.h
|
||||
*/
|
||||
|
||||
|
||||
#include <guacamole/client.h>
|
||||
#include <guacamole/layer.h>
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef GUAC_TERMINAL_SELECT_H
|
||||
#define GUAC_TERMINAL_SELECT_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GUAC_TERMINAL_HANDLERS
|
||||
#define _GUAC_TERMINAL_HANDLERS
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef GUAC_TERMINAL_PRIV_H
|
||||
#define GUAC_TERMINAL_PRIV_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GUAC_TERMINAL_H
|
||||
#define _GUAC_TERMINAL_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _GUAC_TERMINAL_TYPES_H
|
||||
#define _GUAC_TERMINAL_TYPES_H
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef GUAC_TERMINAL_TYPESCRIPT_H
|
||||
#define GUAC_TERMINAL_TYPESCRIPT_H
|
||||
|
||||
@ -28,7 +27,6 @@
|
||||
* @file typescript.h
|
||||
*/
|
||||
|
||||
|
||||
#include <guacamole/timestamp.h>
|
||||
|
||||
/**
|
||||
|
||||
@ -26,7 +26,6 @@
|
||||
* @file xparsecolor.h
|
||||
*/
|
||||
|
||||
|
||||
#include "palette.h"
|
||||
|
||||
/**
|
||||
|
||||
@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
|
||||
#include "terminal/named-colors.h"
|
||||
#include "terminal/palette.h"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user