[-]
[+]
|
Changed |
libguac-client-rdp.changes
|
|
[-]
[+]
|
Changed |
libguac-client-rdp.spec
^
|
|
|
Deleted |
libguac-client-rdp-0.7.2.tar.bz2
^
|
[-]
[+]
|
Changed |
libguac-client-rdp-0.7.3.tar.bz2/AUTHORS
^
|
@@ -1,4 +1,4 @@
-Michael Jumper <zhangmaike@users.sourceforge.net>
+Michael Jumper <mike.jumper@guac-dev.org>
Matt Hortman <matt@FlintRiverSystems.com>
Jocelyn Delalande <j.delalande@ulteo.com>
-David Lechevalier <david@ulteo.com>
\ No newline at end of file
+David Lechevalier <david@ulteo.com>
|
[-]
[+]
|
Changed |
libguac-client-rdp-0.7.3.tar.bz2/ChangeLog
^
|
@@ -1,16 +1,20 @@
-2012-12-13 Michael Jumper <zhangmaike@users.sourceforge.net>
+2012-12-25 Michael Jumper <mike.jumper@guac-dev.org>
+
+ * Console arguments (fixes #227)
+
+2012-12-13 Michael Jumper <mike.jumper@guac-dev.org>
* Implement PATBLT fallback (fixes #238)
-2012-11-22 Michael Jumper <zhangmaike@users.sourceforge.net>
+2012-11-22 Michael Jumper <mike.jumper@guac-dev.org>
* Add disable-audio option (fixes #221)
-2012-11-02 Michael Jumper <zhangmaike@users.sourceforge.net>
+2012-11-02 Michael Jumper <mike.jumper@guac-dev.org>
* Added sound support (fixes #32)
-2012-10-22 Michael Jumper <zhangmaike@users.sourceforge.net>
+2012-10-22 Michael Jumper <mike.jumper@guac-dev.org>
* Use guac_client_info to choose optimal size if size not overridden
@@ -18,7 +22,7 @@
* Use configured color depth
-2012-08-11 Michael Jumper <zhangmaike@users.sourceforge.net>
+2012-08-11 Michael Jumper <mike.jumper@guac-dev.org>
* Fix m4/ autoreconf error
@@ -26,7 +30,7 @@
* Add SetNull and SetDefault handlers (fixes #148)
-2012-05-04 Michael Jumper <zhangmaike@users.sourceforge.net>
+2012-05-04 Michael Jumper <mike.jumper@guac-dev.org>
* Removed Alt-code fallback mode
* Added embedded default mouse pointer
@@ -35,7 +39,7 @@
* Unicode keyboard events
-2012-05-04 Michael Jumper <zhangmaike@users.sourceforge.net>
+2012-05-04 Michael Jumper <mike.jumper@guac-dev.org>
* Initial release
|
[-]
[+]
|
Changed |
libguac-client-rdp-0.7.3.tar.bz2/configure
^
|
@@ -2817,7 +2817,7 @@
# Define the identity of the package.
PACKAGE=libguac-client-rdp
- VERSION=0.7.1
+ VERSION=0.7.3
cat >>confdefs.h <<_ACEOF
|
[-]
[+]
|
Changed |
libguac-client-rdp-0.7.3.tar.bz2/configure.in
^
|
@@ -35,7 +35,7 @@
# ***** END LICENSE BLOCK *****
AC_INIT(src/client.c)
-AM_INIT_AUTOMAKE([libguac-client-rdp], 0.7.1)
+AM_INIT_AUTOMAKE([libguac-client-rdp], 0.7.3)
AC_CONFIG_MACRO_DIR([m4])
# Checks for programs.
|
[-]
[+]
|
Changed |
libguac-client-rdp-0.7.3.tar.bz2/src/client.c
^
|
@@ -92,6 +92,8 @@
"initial-program",
"color-depth",
"disable-audio",
+ "console",
+ "console-audio",
NULL
};
@@ -105,7 +107,11 @@
IDX_HEIGHT,
IDX_INITIAL_PROGRAM,
IDX_COLOR_DEPTH,
- IDX_DISABLE_AUDIO
+ IDX_DISABLE_AUDIO,
+ IDX_CONSOLE,
+ IDX_CONSOLE_AUDIO,
+
+ RDP_ARGS_COUNT
};
int __guac_receive_channel_data(freerdp* rdp_inst, int channelId, uint8* data, int size, int flags, int total_size) {
@@ -336,7 +342,7 @@
*/
const guac_rdp_keymap* chosen_keymap = &guac_rdp_keymap_en_us;
- if (argc < 9) {
+ if (argc < RDP_ARGS_COUNT) {
guac_protocol_send_error(client->socket,
"Wrong argument count received.");
@@ -373,6 +379,10 @@
/* Set settings */
settings = rdp_inst->settings;
+ /* Console */
+ settings->console_session = (strcmp(argv[IDX_CONSOLE], "true") == 0);
+ settings->console_audio = (strcmp(argv[IDX_CONSOLE_AUDIO], "true") == 0);
+
/* --no-auth */
settings->authentication = false;
@@ -397,6 +407,9 @@
argv[IDX_WIDTH], settings->width);
}
+ /* Round width up to nearest multiple of 4 */
+ settings->width = (settings->width + 3) & ~0x3;
+
/* Use optimal height unless overridden */
settings->height = client->info.optimal_height;
if (argv[IDX_HEIGHT][0] != '\0')
|