Commit Graph

55 Commits

Author SHA1 Message Date
Enrico Weigelt, metux ITS
0e682df529 renamed --enable-bluetooth to --enable-sdremote-bluetooth
The current configure option --enable-bluetooth is a bit misleading,
it doesn't really tell what it's actually for. Therefore renamed it,
so it's more clear that it's an sdremote backend using bluetooth.

Change-Id: Ia8b46ee001ea112b80521baa502dcab2bb7e83aa
Reviewed-on: https://gerrit.libreoffice.org/1086
Reviewed-by: Rene Engelhard <rene.engelhard.re@googlemail.com>
Tested-by: Rene Engelhard <rene.engelhard.re@googlemail.com>
2012-11-16 13:55:23 +00:00
Tor Lillqvist
ae4da42e5f WaE: unused parameter
Change-Id: I15bfeda7f9bf0fbeff9e4f3297f127941cadcf9b
2012-10-22 10:47:07 +03:00
Rene Engelhard
7c8c73dd5c fix sdremote related configure switches
sdremote itself apparently works also over IP (WLAN), so we don't need to
disable it when we just don't want/have bluetooth. And also dbus is also
needed in the bluez case

Change-Id: I55ba07cd715d1e9bd641ef28e2391e4fe85b85e0
2012-10-21 23:01:47 +02:00
Julien Nabet
72fe2e3003 Prefer prefix ++/-- operators for non-primitive types
+ replace "<" by "!=" for end iterator comparison with current it

Change-Id: I6e90caa8752c7057cca8c74fca12c0a050544dbb
2012-10-13 16:08:09 +02:00
Andrzej J.R. Hunt
e2e701b574 Add SAL_WARN/INFO to network server + remove static reference on exit.
Change-Id: I76e737f59aa36bf7982255fa9bb41ef9d6abfe8d
2012-09-20 12:03:01 +02:00
Stephan Bergmann
9cabd6afcb Fold ImpressSdRemote.xcs back into Impress.xcs
This effectively reverts 8c5cd96235 "config split
for sdremote" (what was the rationale for that, anyway? having the two little
additions in Impress.xcs always should not be a big deal),
63a73c119c "Hopefully fix the remote config access
to work with the new schema.", ee5403b98b
"officecfg: generate header for Impress-sdremote, handle "-" in xcs name", and
4cce7027a6 "Rename Impress-sdremote.xcs to
ImpressSdRemote.xcs + add to postprocess."

Change-Id: Iba6162a3c1d9e688960c794265bd04128f58cc0c
2012-09-19 12:15:38 +02:00
Andrzej J.R. Hunt
4cce7027a6 Rename Impress-sdremote.xcs to ImpressSdRemote.xcs + add to postprocess.
Change-Id: Iead72e5dca861a422507cf70d9b35366c701c84a
2012-09-19 11:14:31 +02:00
Michael Stahl
ee5403b98b officecfg: generate header for Impress-sdremote, handle "-" in xcs name
Change-Id: I3f965a293cb6cbd5cafe42e1a05565282f2e10c7
2012-09-18 20:44:51 +02:00
Andrzej J.R. Hunt
63a73c119c Hopefully fix the remote config access to work with the new schema.
Change-Id: I0f7e355c4a50ea51c386e9db02047e130b354a26
2012-09-18 20:15:16 +02:00
Andrzej J.R. Hunt
64d1fcb11f Switch bluetooth discoverability on when remote dialog shown (Linux).
Change-Id: Ie0e4f7a353d77f5312deea06f0a316d8e1b1ed47
2012-09-18 18:22:37 +02:00
Andrzej J.R. Hunt
9940361f61 Provide client with state of server on startup.
Change-Id: Ic516afd65025cf4a8c7d3539d9010ad30e05e429
2012-09-18 11:18:32 +02:00
Andrzej J.R. Hunt
d495c7d42d Add pin_validating message to protocol to allow for feedback in app.
Change-Id: Ia4cfd0b848408713cff4f476e6d6be069d1cb5a8
2012-09-17 17:21:26 +02:00
Julien Nabet
1e08849485 Prefer prefix ++/-- operators for non-primitive type
Change-Id: I0373b40ee404c74ca3c2bd479c5f7b18b7495548
2012-09-16 00:46:51 +02:00
Thorsten Behrens
2df0884339 On error, properly exit from Impress RemoteServer::getClients
Looks like the actual return was missing in front of the empty
vector.

Change-Id: I0ccf0be53ef54138a3ebffab7b09b93b8c629aa0
2012-09-11 03:26:03 +02:00
Andrzej J.R. Hunt
c4380fd9f2 Moved all internal details for ClientInfo out of the header.
Change-Id: I64102536f12875b9834ce99763925f1544a87e8f
2012-09-06 10:43:33 +02:00
Andrzej J.R. Hunt
f28e2820fc Restore correct saving of authorised servers.
Change-Id: Ibb1eaab3ceb4aba8a73594c87d9fd487169e0143
2012-09-04 11:50:00 +02:00
Andrzej J.R. Hunt
9ca3b53662 Saving of authorised remotes.
Change-Id: I4cf6542352ac4213e66e2bbd6cc54d4f9372de62
2012-08-28 22:21:14 +02:00
Andrzej J.R. Hunt
1db66c2a1a Bluetooth connection working (Linux).
Change-Id: Iac77c3ce0ab0ea7bda3105c58859888e55e64d2d
2012-08-22 20:23:07 +02:00
Andrzej J.R. Hunt
95ebf4e3b3 Bluetooth discovery and attempts at communication.
Change-Id: I88e261b7d0f830f67166d4eaf592298015b1c5ae
2012-08-20 11:21:13 +02:00
Andrzej J.R. Hunt
837a125ba6 Final fixes for pairing.
Change-Id: Ib66f227062f9c263dbc3dfefaf70525c73bdedc9
2012-08-13 21:41:52 +02:00
Andrzej J.R. Hunt
f4ab85cb44 Pairing implemented server side.
Change-Id: I542e563df68d38691f7c95cebf66aeb32071bd66
2012-08-10 18:43:44 +02:00
Andrzej J.R. Hunt
2a248dc15f Refactored remote communication to allow for pairing.
Change-Id: Ia31e33fca6dca47faa1fad1a5879c3902df05835
2012-08-10 17:21:27 +02:00
Andrzej J.R. Hunt
2d63c4689a Basic Impress Remote + linking of dialog and server.
Change-Id: Ifd69df9ccfb5b6a78044b002b6ec5bf1f12b6faa
2012-08-10 13:28:45 +02:00
Andrzej J.R. Hunt
7435558847 Basic framework for Remote Dialog.
Change-Id: Ie744c1a0db1661b9dd57976d6f27b12a6f0ba824
2012-08-07 18:04:10 +02:00
Andrzej J.R. Hunt
8adabe2ed6 Disable Remote unless in experimental mode.
Change-Id: I56263eeed7ce4376f6c4647efe699c2c6005f13d
2012-08-07 13:13:48 +02:00
Andrzej J.R. Hunt
67f688b97a Hopefully cleanly close Server Thread when necessary.
Change-Id: If5a850b2f4c813c5a277ed0d4bc5179dd4095b10
2012-08-07 09:33:35 +02:00
Andrzej J.R. Hunt
ef7b382efc Fixed segfault on client exit.
Change-Id: I802551094e0cae2a4e1709723f0fc1661ba32af5
2012-08-07 09:06:00 +02:00
Michael Stahl
4a6ced8f94 warning C4101: unreferenced local variable
Change-Id: I0eac170f7fafebb438b1516fa271cc4971a9704d
2012-08-06 15:05:26 +02:00
Andrzej J.R. Hunt
b2fd823017 Some minor fixes.
Change-Id: Id405b97440efc7160e76d535bddfd5580923fe24
2012-08-06 10:23:12 +01:00
Andrzej J.R. Hunt
1a6bcd5bcd Basic structure for Disovery Service.
Change-Id: Idaae84c46fa96b128ab32451853922c9eb11c6cc
2012-08-06 10:23:08 +01:00
Andrzej J.R. Hunt
4d14068cf7 Renamed Server to RemoteServer for obviousness.
Change-Id: Ia935a97fe57eb1259c3426f0414bec7362f2e8cf
2012-08-06 10:23:06 +01:00
Andrzej J.R. Hunt
8f08b8f456 Added automatic hiding of clockbar as necessary.
Change-Id: Id758f8e3f73e9d7d180e09b606ee44cbe5c48d6c
2012-08-06 10:23:04 +01:00
Andrzej J. R. Hunt
6794e94bfd Implemented Thumbnail activity.
Change-Id: I I6de8651f3ed36798ca1cc69765c448b821a819a2
2012-08-06 10:22:59 +01:00
Andrzej J. R. Hunt
0aa7aa85a4 Fixed a further bug in the Listener cycle. Refactored image storage.
Change-Id: I2b3f9e2c46dafde4bd488bc95675c04e8806c9a4
2012-08-06 10:22:59 +01:00
Andrzej J. R. Hunt
597924e78a Moved preview image preparation/transfer into separate class. Enabled.
Change-Id: I09b0c2d1521939af058526d1727d0c4d34ad0452
2012-08-06 10:22:59 +01:00
Andrzej J. R. Hunt
405416e0b3 Fixed Listener registration and destruction for all cases.
Change-Id: I I I8be3c67889969d714514ca073c48ab26248a30e1
2012-08-06 10:22:58 +01:00
Andrzej J. R. Hunt
4967e88b9a Fixed the Listener lifecycle, prevents crash on slideshow exit.
Change-Id: I918754dc7b99cd48bbc012d62b2a8cd0eb0e438e
2012-08-06 10:22:58 +01:00
Andrzej J. R. Hunt
61abbf7f6c Finally fixed the Transmitter bug.
Change-Id: Ia4c345b9ecb58a47219ceb0af14b66294ca3309e
2012-08-06 10:22:58 +01:00
Andrzej J. R. Hunt
ce221a54f1 Further minor improvements, attempt to fix the Transmitter bug.
Change-Id: I558b7aca1c592efb5b83b56df42da4a97a655e88
2012-08-06 10:22:58 +01:00
Andrzej J. R. Hunt
6d6b6ee275 Fixed segfault on use of transmitter, and transmitter lifecycle.
Change-Id: I3983b28443584f33a879ba9fab52f11a0ab7fad5
2012-08-06 10:22:58 +01:00
Andrzej J. R. Hunt
38b4c55546 Attempted fix for threading & memory bug with Transmitter.
Change-Id: I I I6e66d197a18d9707b85804e98a9f690f7dda5087
2012-08-06 10:22:57 +01:00
Andrzej J. R. Hunt
6368d371b0 Fixed constructor issue in Listener, fixed usage of Transmitter.
Change-Id: I875cb1fba51faadafd8f7f0e34ef6b56a818bb7a
2012-08-06 10:22:57 +01:00
Andrzej J. R. Hunt
d57230d338 Added registration of the slideshow listener.
Change-Id: I Icaf2fe03e5f5b8ee9de3138b8dd28d837c734e94
2012-08-06 10:22:57 +01:00
Andrzej J. R. Hunt
a1e8ed9831 Create listener when presentation is started.
Change-Id: I830bb6e20046ebc80c740ca77bb97dddca1e4c02
2012-08-06 10:22:56 +01:00
Andrzej J. R. Hunt
05e4f2ac05 Transmitter for queuing of messages (Client->Server), fixed protocol.
Change-Id: I Idcf6cf33b75dde2f921bec6c64e394e91994aba0
2012-08-06 10:22:56 +01:00
Andrzej J. R. Hunt
01234d6aa8 Pure text for Client->Server. Json removed. Namespace cleanup.
Change-Id: I60e5acac2d47aefec5dd195a5eca599eb1cb8586
2012-08-06 10:22:55 +01:00
Michael Meeks
df3b6372e9 some namespace cleanups and explict type for Anys
Change-Id: I213989f2272929143d1d896a3dd28a8eb61035be
2012-08-06 10:22:55 +01:00
Andrzej J. R. Hunt
988fdc01fb Intermediate commit for mmeeks.
Change-Id: I4e8e4322d670247bc87e1b1ac6dccaa0a79a1e4d
2012-08-06 10:22:55 +01:00
Andrzej J. R. Hunt
9d7d8eb7a8 Image export, encoding and decoding. Protocol improvements.
Change-Id: Ibbc7ac02c5946a49c1cd777abc2853fe7e158009
2012-08-06 10:22:54 +01:00
Andrzej J. R. Hunt
0bb13b5e61 Fixed remote control code to work correctly.
Change-Id: I Ia600ed456fba135056f7a00398030b7c9e873329
2012-08-06 10:22:54 +01:00