Commit Graph

137 Commits

Author SHA1 Message Date
a8084c9eac Update CMakeLists.txt
to make QtZeroConf installable and usable from other projects
2020-09-14 13:03:26 +02:00
d630284b10 Update README with CMake build instructions 2020-09-14 12:45:48 +02:00
fe3751ecdb Fix CMakeLists.txt
* Add `project`
* Remove hardcoded values for controlling the library type (i.e. shared
or static) in favour of using `BUILD_SHARED_LIBS` and letting CMake
manage the rest
* Fix linker error (at least on Windows w/ MinGW) that
'legacy_stdio_definitions.lib' couldn't be found
2020-09-14 12:45:48 +02:00
26521fb848 Fix build on azure 2020-09-14 12:45:48 +02:00
10f457f2bf Fix windows build 2020-09-14 12:45:48 +02:00
351a834af7 Fix windows build 2020-09-14 12:45:48 +02:00
a504ec17c7 Compile as static lib 2020-09-14 12:45:48 +02:00
ebb1958fff Build on android with cmake 2020-09-14 12:45:48 +02:00
88d2d9475c Build as a shared lib 2020-09-14 12:45:48 +02:00
0a69505312 Fix windows build 2020-09-14 12:45:48 +02:00
a09ffe6651 Fix cmake script 2020-09-14 12:45:48 +02:00
17f13cb80b bonjour-sdk: fix gcc compilation on windows 2020-08-29 15:04:23 +03:00
844e095e94 Revert "bonjour-sdk: fix gcc compilation on windows"
This reverts commit bd9ae98f7c.
2020-08-29 15:02:04 +03:00
bd9ae98f7c bonjour-sdk: fix gcc compilation on windows 2020-08-29 14:05:01 +03:00
9d7b114e6a Bonjour - change QSocketNotifier pointers to QSharedPointer 2020-07-08 18:59:09 -04:00
d346cd78a7 Bonjour - Fix memory leak and service rediscovery
The QSocketNotifiers for the resolver and address were not being deleted in
cleanUp().  This would cause a memory leak and also prevent a service from
being rediscovered after removed and added back on another device.  I
suspect the undeleted QSocketNotifier was holding a file descriptor open
which would break things.  Should fix

issue #27
Power-Cycling Bonjour Devices Can Cause Permanent Loss
https://github.com/jbagg/QtZeroConf/issues/27

and pull request #34
macOS: Fixed undetected service stop/start while the application is running
https://github.com/jbagg/QtZeroConf/pull/34
2020-07-06 22:05:29 -04:00
5c4bdf1a56 Fix clang compiler errors and warnings
Signed-off-by: Jonathan Bagg <drwho@infidigm.net>
2020-03-30 13:44:49 -04:00
ec8b3812e8 Update Bonjour sdk from 333 to 878.200.35 2020-03-28 14:51:08 -04:00
8625824b8b Bonjour - need to keep resolvers around for updates 2019-04-04 18:48:14 -04:00
c286fcd2c0 Change browser protocol options so it can only be IPv4 or IPv6, not both. 2019-03-05 21:26:41 -05:00
e92ba9936c switch from QExplicitlySharedDataPointer to QSharedPointer 2019-03-05 21:19:32 -05:00
800e66e4f3 qmake PREFIX. Install to Qt installation directory if no PREFIX specified. 2018-12-06 13:37:34 -05:00
31119114ce AvahiCore - add reference count for AvahiServer instance 2018-05-31 21:35:21 -04:00
c0bbc139aa Merge pull request #23 from mzanetti/fix-multiple-browsers-on-android
only create one avahi server instance
2018-05-31 21:16:20 -04:00
407e84dbfc only create one avahi server instance
On platforms which create their own avahi server (e.g. Android)
the previous code would assert as there can only be one server
instantiated but creating multiple QtZeroConf objects tried
to create multiple servers.
2018-06-01 01:51:03 +02:00
d91e9e5b81 updates from avahi project 2018-05-18 13:16:17 -04:00
f464b49e44 Finnish thread safe stuff 2018-04-15 12:33:50 -04:00
339b5c83eb AvahiClient - publish does not need to store name, type, domain and port anymore. 2018-04-11 13:22:43 -04:00
40ef144f14 Avahi Implementation: Fix double-free on errors in GROUP_UNCOMMITED stage 2018-04-11 10:56:52 +02:00
40cf6adf8e Merge pull request #19 from viktorgino/master
Check if work queue is empty on cleanup
2018-04-03 10:43:24 -04:00
0c4e94cff0 Check if work queue is empty on cleanup 2018-04-03 15:24:31 +01:00
cc16de7b9a QZeroConfService - isValid() no longer needed 2017-11-06 20:55:55 -05:00
87fd67c719 Bonjour - Simplify work queue 2017-11-06 20:54:34 -05:00
1750662292 additional files to ignore 2017-11-05 13:04:34 -05:00
5073d2d83d Make QZeroConfService's setter functions private 2017-11-05 13:00:19 -05:00
0c7f30b093 registered metatype for queued connections, qml integration;
Signed-off-by: Jonathan Bagg <drwho@infidigm.net>
2017-11-02 20:28:56 -04:00
6c9553bd5e Added debug operator<< to QZeroConfService
Signed-off-by: Jonathan Bagg <drwho@infidigm.net>
2017-11-02 19:36:02 -04:00
802572f50f Avahicore - switch to SharedData 2017-11-01 20:26:37 -04:00
0cb9616e2b Change to QExplicitlySharedDataPointer 2017-11-01 20:25:16 -04:00
00be205f0f Move Q_DECL_EXPORT / IMPORT into qzeroconfglobal.h 2017-10-31 20:30:42 -04:00
bf2f5b8742 fix indentations in QZeroConfService 2017-10-31 20:07:07 -04:00
1bb2c1dfac Merge pull request #17 from mattes-bru/shareddata
Shareddata
2017-10-25 13:23:03 -04:00
323d9494f5 Applied undo_some_whitespace_changes.patch 2017-10-23 20:12:00 +02:00
2d21502972 spaces to tabs 2017-10-19 20:51:49 +02:00
7f06953b6d Merge branch 'master' into shareddata 2017-10-19 20:43:00 +02:00
846069fb19 QZeroConfService became a Q_GADGET for easy usage in QML 2017-10-17 18:46:23 +02:00
de81832a86 Fixed isValid() checks 2017-10-17 13:52:15 +02:00
2ab99b3772 fixed the example after testing 2017-10-17 08:56:41 +02:00
2b8aaa2f27 Merge pull request #14 from mattes-bru/master
Added a parent to QZeroConf constructor
2017-10-16 14:00:25 -04:00
d32cd85183 Merge remote-tracking branch 'upstream/master' 2017-10-16 17:32:39 +02:00