summaryrefslogtreecommitdiff
path: root/sd/source/ui/remotecontrol
AgeCommit message (Collapse)AuthorFilesLines
2015-04-28Fix tdf#90911 wrong parameter size on getsocknameJuergen Funk1-1/+1
This was crashing on selected versions for Windows. Change-Id: I7e9dd39db06f6ed93d2ae0d49275387e53983a89 Reviewed-on: https://gerrit.libreoffice.org/15559 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> (cherry picked from commit 84c73c983577e33dda266bbfcdd89b9e1202906b) Reviewed-on: https://gerrit.libreoffice.org/15560 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2014-11-14Silence winsock deprecation warningStephan Bergmann1-0/+6
Change-Id: Ib0fe869e79ceea77b4dfe00a6ad387ce9c4149cc
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini2-2/+2
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-06Revert "use the new OUString::fromUtf8 method"Stephan Bergmann2-3/+4
This reverts commit 05050cdb23de586870bf479a9df5ced06828d498, not all places that use e.g. OStringToOUString to convert potential UTF-8 are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and some places like e.g. in codemaker are happy with the best-effort effect of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
2014-11-06use the new OUString::fromUtf8 methodNoel Grandin2-4/+3
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
2014-11-04remotecontrol: required version for MacOSX is 10.8Riccardo Magliocchetti1-1/+1
Change-Id: I11b64b79de90d776fd117aa687c971ed80172b76 Reviewed-on: https://gerrit.libreoffice.org/12245 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin2-2/+0
It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-07Disable sdremote by default, and improve flow control.Michael Meeks1-1/+5
It was intended to disable sdremote by default when it exited experimental mode. This reverts commit 576943b9bf7506829de97d2194c4bee35a485436. Change-Id: I2c1b5443e334021bd9574316167f48b1af6200e5
2014-10-06Missing includeStephan Bergmann1-0/+1
Change-Id: I47ddb95018109e5e771324b699dfdc10f529dfc4
2014-10-06use comphelper::rng::uniform_*_distribution everywhereCaolán McNamara1-2/+3
and automatically seed from time on first use coverity#1242393 Don't call rand coverity#1242404 Don't call rand coverity#1242410 Don't call rand and additionally allow 0xFF as a value coverity#1242409 Don't call rand coverity#1242399 Don't call rand coverity#1242372 Don't call rand coverity#1242377 Don't call rand coverity#1242378 Don't call rand coverity#1242379 Don't call rand coverity#1242382 Don't call rand coverity#1242383 Don't call rand coverity#1242402 Don't call rand coverity#1242397 Don't call rand coverity#1242390 Don't call rand coverity#1242389 Don't call rand coverity#1242388 Don't call rand coverity#1242386 Don't call rand coverity#1242384 Don't call rand coverity#1242394 Don't call rand Change-Id: I241feab9cb370e091fd6ccaba2af941eb95bc7cf
2014-09-01Partially revert: fixincludeguards.sh: sdThomas Arnhold1-5/+5
Doesn't look this sane... commit 3b58ababc566adef48d8ab600489e554c4585b1d Author: Thomas Arnhold <thomas@arnhold.org> Date: Wed Oct 23 22:38:46 2013 +0200 fixincludeguards.sh: sd Change-Id: Ia6836deaa1982febf71cd8abd89e93ea0a844721
2014-08-25set names on a bunch more threads...Michael Stahl1-0/+2
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
2014-08-19error C2296: '<<' : illegal, left operand has type 'const char [28]'Miklos Vajna1-0/+1
Change-Id: Ibc25771002bd8ac9b4a2aca9f3c2965b8da9014e
2014-08-13warning C4189 local variable initialized but not referencedMichael Stahl1-0/+3
Change-Id: I6047e0fc10bb6de0009da40855a97df89904cb0c
2014-08-07cppcheck: va_list 'args' was opened but not closed by va_end()Julien Nabet1-0/+1
Change-Id: Id7602dd19ac142dbe2680ddf7eab308a087e971a
2014-08-05fdo#81552 Fail nicely if avahi doesn't let libreoffice publish itemsBryan Quigley1-9/+17
Change-Id: Ie264a032a71bda336158e18bd2b14c569f23f42d Reviewed-on: https://gerrit.libreoffice.org/10735 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-07-06error: could not convert from 'void' to 'bool'Miklos Vajna1-49/+47
coverity#1202762 fix probably wanted to handle the result of dbus_message_iter_init(), not the result of dbus_message_iter_init_append() Change-Id: I31de559b729421bace92b0a768cb218b072d7b4c
2014-07-06coverity#982182: Unchecked return valueNorbert Thiebaud1-12/+19
Change-Id: I5a1820339ea598a606c46a1e03cd296fe81ef22f
2014-07-06coverity#1202762: Unchecked return valueNorbert Thiebaud1-12/+17
Change-Id: Ic69a6507df5444175b6aba4de01ca94d9a28be09
2014-07-06coverity#1202763: Unchecked return valueNorbert Thiebaud1-1/+1
Change-Id: I82d098f269bae2f4deb7e997b03e4267e6a86bea
2014-07-01New loplugin:stringconcatStephan Bergmann1-1/+1
Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
2014-06-30-WaE: nested template problems.Andrzej Hunt1-1/+1
warning: ">>" operator will be treated as two right angle brackets in C++0x error: ">>" should be "> >" within a nested template argument list and Change-Id: Id3f555d606887fb60db016ab14fb0541ccfd0d7a error: "<::" cannot begin a template-argument list note: "<:" is an alternate spelling for "[". Insert whitespace between "<" and "::"
2014-06-30Allow removal of remotes even if Server not running.Andrzej Hunt1-10/+8
This is purely config manipulation so shouldn't rely on having the Server actually running (e.g. if disabled, and/or if network setup failed). Change-Id: Ifc6e5639ba6842a18eb0be99387a5f8dd871da06
2014-06-30Impress Remote: allow removal of authorised remotes.Andrzej Hunt1-4/+51
Previously authorising a device meant that it would have access forever -- we now list previously authorised remotes in the remote dialog, along with controls to allow removal of such remotes. Change-Id: I4179739f3a2ba0a8fe19c2a0cd0cbbece9cb4352
2014-06-30Move ClientInfo to shared_ptrs.Andrzej Hunt1-5/+7
I don't think these ever get deleted anywhere? This changes will also help in the management of existing clients (separate commit). Change-Id: I339916439f6b798524fac33e91688f81c03a3ca5
2014-06-25remove whitespacesMarkus Mohrhard9-12/+2
Change-Id: I9daea42a433b5032931a722878874917cf37f4d1
2014-05-17Correct common misspellings, and remove some ASCII art along the way.Chris Laplante2-3/+3
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c Reviewed-on: https://gerrit.libreoffice.org/9356 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2014-05-13elated fdo#60338: #error on umask(3) calls in currently unused codeStephan Bergmann1-0/+1
(as dnssd_clientstub.c is only used on Windows), should we ever want to use it. Change-Id: I5d9082ae69c505e4d60bbe8e60fdeaaf963a4614
2014-04-24sd: sal_Bool->boolNoel Grandin1-1/+1
Change-Id: I3172a42f6b6abe434ffe0475d1201ff50b6c06ea
2014-04-22Kill unneeded include.Andrzej Hunt1-1/+0
Added in b042a78d9847753d95560749dab2159d9cfbd7ae , but doesn't actually appear to be used for anything (possibly an accidental debug-output leftover?). Change-Id: If062c40da7164284a8d6538fc8cf8cb0e4719436
2014-04-17remove executable bitAndras Timar13-0/+0
Change-Id: I91f6e861f6d0dbea1b57ac73857e0c706b27f681
2014-04-17coverity#1202882 Dereference before null checkCaolán McNamara1-3/+2
Change-Id: Ie61df08c11b687c0b4a3ae212b3f9a6c95171396
2014-04-14Clean up function declarations and some unused functionsStephan Bergmann1-117/+0
Change-Id: I7a2b5970fd0ab2059b5f5b0100a049e04ba54ee3
2014-04-14typo: paramter -> parameterThomas Arnhold1-1/+1
2014-04-10fdo#74697 Add Bluez 5 support for impress remote.Andrzej Hunt3-72/+605
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-10Revert "fdo#74697 Add Bluez 5 support for impress remote."Andrzej Hunt3-602/+72
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 664ceee384c07884cdb4fd8dbc80971bcadaa9a2. Change-Id: I2c4369288362e5fd56e5502e3ad37c42ea3787cf
2014-04-10fdo#74697 Add Bluez 5 support for impress remote.Andrzej Hunt3-72/+602
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-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann7-7/+7
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-03-29coverity#1194941 Uninitialized scalar fieldCaolán McNamara1-6/+10
Change-Id: Ieedd977bc45136f087639b8d785fd75335b49087
2014-03-27SAL_OVERRIDE, Mac OS X sd reduxStephan Bergmann2-4/+4
Change-Id: I9b2959bf77fc79bba2f4abb09681872f6d3a4300
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann9-23/+23
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-18fdo#75328 Do DiscoveryService socket setup off the main thread.Andrzej Hunt2-13/+26
Change-Id: I795f365981d8e7983c9f32531c9ec2ae4793c8f4
2014-03-17sd: prefer passing OUString by referenceNoel Grandin2-6/+7
Change-Id: Ide21e1f51284fb2d4c7aaaa358417c6080b2fdde
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann2-22/+22
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26Fixup whitespace changes, remove commented code.Thorsten Behrens1-16/+0
This is a light touchup of 2ef9df8aee696993d9eb235fd36caa4cbcfd3624 Change-Id: Icfaf6fb0111c85b5f78010b16bdda0e237419323
2014-02-26Remove visual noise from sdAlexander Wilms7-325/+210
Change-Id: I0957cabd66ddc4e25c7e6ff54ec2a555eda0792c Reviewed-on: https://gerrit.libreoffice.org/8306 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-06coverity#736093 Argument cannot be negativeCaolán McNamara1-0/+5
Change-Id: I54f703c1ce5af70c24ef0ad9d6fa6c717d0ecd37
2014-01-28bool improvementsStephan Bergmann1-1/+1
Change-Id: Icac34936bdb551ad517170fd497212513719d2aa
2014-01-21Use SAL_WARN instead of printing to stderrTor Lillqvist1-16/+16
Change-Id: I83f2b1d7fbe940917ef2c0b7be225c722fe9df05
2014-01-21Use SAL_INFO consistently, bin a random printfTor Lillqvist1-3/+3
Change-Id: I2c7a0d4c3c2714bd1e2773c0749edd20ee38628f