Commit Graph

63 Commits

Author SHA1 Message Date
Michael Zanetti 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
Jonathan Bagg d91e9e5b81 updates from avahi project 2018-05-18 13:16:17 -04:00
Jonathan Bagg f464b49e44 Finnish thread safe stuff 2018-04-15 12:33:50 -04:00
Jonathan Bagg 339b5c83eb AvahiClient - publish does not need to store name, type, domain and port anymore. 2018-04-11 13:22:43 -04:00
JonathanS 40ef144f14 Avahi Implementation: Fix double-free on errors in GROUP_UNCOMMITED stage 2018-04-11 10:56:52 +02:00
jbagg 40cf6adf8e Merge pull request #19 from viktorgino/master
Check if work queue is empty on cleanup
2018-04-03 10:43:24 -04:00
Viktor Verebelyi 0c4e94cff0 Check if work queue is empty on cleanup 2018-04-03 15:24:31 +01:00
Jonathan Bagg cc16de7b9a QZeroConfService - isValid() no longer needed 2017-11-06 20:55:55 -05:00
Jonathan Bagg 87fd67c719 Bonjour - Simplify work queue 2017-11-06 20:54:34 -05:00
Jonathan Bagg 1750662292 additional files to ignore 2017-11-05 13:04:34 -05:00
Jonathan Bagg 5073d2d83d Make QZeroConfService's setter functions private 2017-11-05 13:00:19 -05:00
Matthias Kollmann 0c7f30b093 registered metatype for queued connections, qml integration;
Signed-off-by: Jonathan Bagg <drwho@infidigm.net>
2017-11-02 20:28:56 -04:00
Matthias Kollmann 6c9553bd5e Added debug operator<< to QZeroConfService
Signed-off-by: Jonathan Bagg <drwho@infidigm.net>
2017-11-02 19:36:02 -04:00
Jonathan Bagg 802572f50f Avahicore - switch to SharedData 2017-11-01 20:26:37 -04:00
Jonathan Bagg 0cb9616e2b Change to QExplicitlySharedDataPointer 2017-11-01 20:25:16 -04:00
Jonathan Bagg 00be205f0f Move Q_DECL_EXPORT / IMPORT into qzeroconfglobal.h 2017-10-31 20:30:42 -04:00
Jonathan Bagg bf2f5b8742 fix indentations in QZeroConfService 2017-10-31 20:07:07 -04:00
jbagg 1bb2c1dfac Merge pull request #17 from mattes-bru/shareddata
Shareddata
2017-10-25 13:23:03 -04:00
Matthias Kollmann 323d9494f5 Applied undo_some_whitespace_changes.patch 2017-10-23 20:12:00 +02:00
Matthias Kollmann 2d21502972 spaces to tabs 2017-10-19 20:51:49 +02:00
Matthias Kollmann 7f06953b6d Merge branch 'master' into shareddata 2017-10-19 20:43:00 +02:00
Matthias Kollmann 846069fb19 QZeroConfService became a Q_GADGET for easy usage in QML 2017-10-17 18:46:23 +02:00
Matthias Kollmann de81832a86 Fixed isValid() checks 2017-10-17 13:52:15 +02:00
Matthias Kollmann 2ab99b3772 fixed the example after testing 2017-10-17 08:56:41 +02:00
jbagg 2b8aaa2f27 Merge pull request #14 from mattes-bru/master
Added a parent to QZeroConf constructor
2017-10-16 14:00:25 -04:00
Matthias Kollmann d32cd85183 Merge remote-tracking branch 'upstream/master' 2017-10-16 17:32:39 +02:00
Matthias Kollmann e9ecf39c36 added parent to QZeroconf constructor 2017-10-16 17:12:09 +02:00
Matthias Kollmann 3ec3630048 made QZeroConfService compareable 2017-10-16 17:06:05 +02:00
Matthias Kollmann 96bf0884bd Merge branch 'shareddata' of https://github.com/mattes-bru/QtZeroConf into shareddata 2017-10-16 16:15:59 +02:00
Matthias Kollmann a77c8ccea5 modified sample for shareddata 2017-10-16 14:55:39 +02:00
Jonathan Bagg a8f3dac8b8 Example now stops and starts service publish and service discovery when
application is suspended (device sleeps) and becomes active (device wakes).
Important on iOS devices as device sleep kills browser and service
publisher.
2017-10-09 21:33:40 -04:00
Jonathan Bagg c130cb697d Example now stops and starts service publish and service discovery when
application is suspended (device sleeps) and becomes active (device wakes).
Important on iOS devices as device sleep kills browser and service
publisher.
2017-10-09 21:30:17 -04:00
Jonathan Bagg 8a9936a4a5 Add publishExists() and browserExists() api calls. 2017-10-09 21:25:58 -04:00
Jonathan Bagg 2622544691 Emit removeService() for all discovered services when browser is stopped. 2017-10-09 21:23:00 -04:00
Matthias Kollmann 3be8677b02 ajusted avahi implementation for shared data
updated the example for shared data
2017-10-06 17:17:19 +02:00
Matthias Kollmann 5895c408be redesigned QZeroConfService as shared data, wip compiles on mac 2017-10-06 15:55:46 +02:00
jbagg ab0fae957d Merge pull request #13 from mattes-bru/master
removed Qt keywords to provide broader compatibility
2017-10-05 09:54:09 -04:00
Matthias Kollmann bc68e2b157 removed Qt keywords to provide compability with ``CONFIG += no_keywords`` projects 2017-10-05 15:26:26 +02:00
Jonathan Bagg 639050b600 Avahi backends - keep resolvers around to get updates 2017-08-08 21:56:15 -04:00
Jonathan Bagg 4e2d636323 Defining a version make things angry on windows 2017-03-16 19:41:10 -04:00
Jonathan Bagg c9148b19dd Bump version to 1.1 2017-03-16 13:35:24 -04:00
Jonathan Bagg 5dcb57b15c bonjour discovered services were missing the host name 2017-03-16 13:35:09 -04:00
Jonathan Bagg 8019ef5e23 tweak readme 2017-03-15 20:57:50 -04:00
Jonathan Bagg 28abc449f1 Add more OS to example 2017-03-15 20:34:14 -04:00
Jonathan Bagg 195e740ceb Add txt records to discovered services 2017-03-15 20:32:28 -04:00
Jonathan Bagg 9a6235509c Q_DECL_IMPORT was being triggered when QZeroConf was build statically into another project 2017-03-14 13:21:34 -04:00
Jonathan Bagg 7e94a5f75a add service txt record info to README.md 2017-03-10 21:01:23 -05:00
Jonathan Bagg 0618ee0bce README.md formatting was still not ideal 2017-03-10 20:36:25 -05:00
Jonathan Bagg 04598659e2 fix README.md number formatting issue 2017-03-10 20:28:42 -05:00
Jonathan Bagg 496a51fa96 Spaces to tabs fix 2017-03-10 20:09:25 -05:00