Commit Graph

18 Commits

Author SHA1 Message Date
Stephan Bergmann
d69d640c96 Missing const
Change-Id: I5f85d7b995d933cb2839ee37a83770f4761b96f8
2015-03-28 21:24:03 +01:00
Stephan Bergmann
b2ba39927b Blind fix for non-standard send(2) signature on Windows
Change-Id: I0cff8d60aea0d9d0f41209ea04380259142ed607
2015-03-28 21:02:14 +01:00
Stephan Bergmann
51ec44fe04 Clean up C-style casts from pointers to void
Change-Id: I57277cd1356a99ee7c806d84a9446936d13a87c0
2015-03-28 19:09:25 +01:00
Markus Mohrhard
ed6b8a100c remove whitespaces
Change-Id: I9daea42a433b5032931a722878874917cf37f4d1
2014-06-25 05:41:09 +02:00
Andrzej Hunt
b15666fd75 fdo#74697 Add Bluez 5 support for impress remote.
This time we:
 - Don't break SAL_WARN with an fprintf like syntax.
 - Replace DBUS_TYPE_UNIX_FD with it's definition 'h' as we might
   be building on dbus-glib versions that do not support it (however
   presumably anyone running bluez 5 will have a dbus version that is
   new enough to support this, i.e. purely a build-time issue).
 - Remove various C++11'isms.

Change-Id: I736cad2122cd3789a5c7fb62c39e409d41fc1e32
Reviewed-on: https://gerrit.libreoffice.org/8924
Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com>
Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com>
2014-04-10 20:59:12 +00:00
Andrzej Hunt
351829b239 Revert "fdo#74697 Add Bluez 5 support for impress remote."
Stray printf conversion gone wrong (in addition to some dbus types
missing on older systems) reverting so that one clean
patch can be easily cherry-picked to the other relevant branches.

This reverts commit 664ceee384.

Change-Id: I2c4369288362e5fd56e5502e3ad37c42ea3787cf
2014-04-10 20:57:31 +01:00
Andrzej Hunt
664ceee384 fdo#74697 Add Bluez 5 support for impress remote.
Change-Id: I32f781e4cb662653a2993803cbdc0be90f8e3d0d
Reviewed-on: https://gerrit.libreoffice.org/8821
Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com>
Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com>
2014-04-10 19:28:39 +00:00
Michael Meeks
c8fcfb3c87 sdremote: add more verbose protocol debug.
Change-Id: I1b189824f2b0bb2cf4568378e7ab3efd5a677141
2013-03-22 11:39:24 +00:00
Tor Lillqvist
0d05957cf0 Avoid infinite recursion
Change-Id: I99d26f9601ceed98d0357d8722f8cf91cf007d29
2013-02-19 19:57:26 +02:00
Tor Lillqvist
49db90342f Surely we want closesocket() on Windows
Change-Id: I13d5715248612c9b1b50314d72f5eca202debd04
2013-02-19 18:25:22 +02:00
Thorsten Behrens
25f7288ff8 Fix crashes in sdremote after suspend/resume cycles.
Change-Id: I0f64820887919386f266290ae8b7c53f8a0a5458
2013-02-19 12:19:11 +01:00
Michael Meeks
c45e45c5c3 sdremote: listening to dynamic changes to adapters.
Allows LibreOffice to start with no bluetooth, and for it to
appear and disappear dynamically at run-time, cleaning up stale
bluetooth sockets, and re-binding successfully each time.

Change-Id: Ifa04c8cc1859c98adca94ac0e57c7ebd85f2f31f
2013-02-19 09:12:20 +00:00
Luboš Luňák
0ba0980b1c PCH for Library_sd 2012-12-13 21:49:58 +01:00
Tor Lillqvist
6737f12e0a Conversion from 'void*' to pointer to non-'void' requires an explicit cast
Change-Id: Ia7e0a436d462fc98b458f80f2abae409419c11c1
2012-08-23 11:18:09 +03:00
Tor Lillqvist
b1932b7a18 send()/recv() on sockets (instead of write()/read()) for Windows portability
Change-Id: Ifaa890d87021c7786c7392f52d4f29b0779a7668
2012-08-23 10:43:37 +03: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
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