| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
correct interface/protocol args they received via avahi_service_browser_new()'s callback function
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1449 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
| |
obsolescence (similar in style to r1357)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1360 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
| |
specified callback function is called for the first time from withing the avahi_xxx_new() context. (Closes #65)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1359 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* use autoconf to check whether dbus_connection_close() is available and use it
if it is, don't do those checks based on the D-Bus version.
* Make use of dbus_bus_get_private() if it is available.
* Since D-Bus agreeed on a cononical way to write their name, use that way in
configure.ac.
* Add configure options to define the UNIX user/group for avahi-autoipd
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1295 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
|
|
| |
EntryGroup::Commit() immediately (which would cause the state change callback
function to be called from the current stack frame which might be roblem for
some programs), do it asynchronously again, like in pre-r1269. However, modify
GetState() to always return the real state by asking the server if we have
doubt that our locally cached state is out-of-date.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1271 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
|
| |
do not delay this until the server informed us about the state change
asynchronously. The reason for this change is that otherwise all functions that
access the entry group depend on the out-of-date state for their validity
checks, which is obviously a bad idea.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1269 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
| |
function o.fd.A.S.SetHostName
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1261 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
| |
configure. Build GLIb docs only when glib is enabled, same for qt3/qt4
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1253 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
| |
dbus_connection_disconnect
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1238 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1219 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
| |
data into it. (Reported by Padraig O'Briain)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1217 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
| |
(closes #26)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1193 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1151 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1144 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1119 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1115 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1110 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1093 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
| |
* add new DBUS method Server.IsNSSSupportAvailable()
* add support for IsNSSSupportAvailabke() to avahi-bookmarks
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1092 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
| |
simply terminate the DBUS connection before freeing local objects. This way the number of server calls is decreased. The server will clean up the client objects anyway if the connection is closed, hence there is no need to do that manually from the client side.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1090 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1039 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
| |
the sources directly where it is needed
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1028 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1027 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1026 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
| |
domains when the user asked for registration domains
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1022 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@986 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
| |
* Fix memory leak in avahi-client
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@984 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Scheduler tweaks:
* Add some more comments
* Remove scheduled queries from the query queue if the querier which issued
them dies. This reduces traffic immensly when many short lived queries are
made, e.g. during host name lookups.
* Don't free a querier object immediately when it is no longer referenced.
Instead keep it and try to recycle it in case someone else wants to do the
same query later on. Free it at the latest moment possible: just before the
next query is scheduled to be made. This reduces traffic immensly when many
short lived queries are made.
With these two changes we can minimize the traffic to zero or near zero for
many simple lookups.
* When responding records with the FLUSH_CACHE bit set, reply immediately only
when all response record have this bit set. Prior to this change we replied
imediately as soon as one record hat this bit set. This change should make us
pass *all* Bonjour mDNS conformance tests without any exceptions.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@954 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
|
| |
* introduce flags AVAHI_CLIENT_NO_FAIL and AVAHI_CLIENT_IGNORE_USER_CONFIG
* beef up avahi-browse to show how AVAHI_CLIENT_NO_FAIL may be used: add a new
parameter "-f" which tells avahi-browse to stay running when the daemon
disconnects from DBUS and reconnect when it reappears. For now dbus-daemon
restarts are not handled and result in an AVAHI_CLIENT_FAIL event.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@937 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
| |
* Remove client state AVAHI_CLIENT_DISCONNECTED and replace it with AVAHI_CLIENT_FAILURE with error code set to AVAHI_ERR_DISCONNECTED
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@935 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@931 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
|
| |
"disable-user-service-publishing"
* add two new errors: NOT_PERMITTED and NOT_SUPPORTED
* add two new publishing flags: AVAHI_PUBLISH_USE_MULTICAST, AVAHI_PUBLISH_USE_WIDE_AREA
* return NOT_SUPPORTED when user tries to add RRs in wide area domains - for now
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@930 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
| |
side
* the same for the XDG config file ~/.config/avah/browse-domains
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@928 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
| |
browser domains from
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@927 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@898 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@897 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
| |
* avahi-client: Wrap AddRecord, add simple test to client-test
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@890 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@887 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@884 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
|
| |
* remove -Wunused from GCC command line and use "unused" attribute instead
* remove AVAHI_CLIENT_S_FAILURE and AVAHI_CLIENT_S_INVALID since these event's are never forwarded to the client anyway
* make use of AVAHI_GCC_NORETURN
* really send eror code with StateChange DBUS signals
* ignore EINTR in avahi_simple_poll_loop()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@879 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
| |
macro expansion instead
* split of exotic functions from avahi-core/rr.h to avahi-core/rr-util.h
* update doxygen docs
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@872 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
| |
* remove some functions from the public API in avahi-common/{domain,address}.[ch] and move them into avahi-core/{domain-util,add-util}.[ch]
* properly generate CNAME responses
* add some more comments to server.c
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@871 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
|
|
| |
* pass error code alongside entry gorup state changes over DBUS
* add new server state AVAHI_SERVER_FAILURE
* pass error code alongside server state changes over DBUS
* fix client-publish-service
* rename error code AVAHI_ERR_LOCAL_COLLISION to AVAHI_ERR_COLLISION
* update TODO
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@854 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
command line
* Build compat layers only when --enable-compat-{howl,libdns_sd} was passed to configure
* drop avahi_strlcpy() to reduce our code/API size
* replace getifname() with if_indextoname in avahi-dnsconfd
* declare environ if needed in avahi-dnsconfd
* drop some useless definitions like AVAHI_PUBLISH_NULL = 0
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@819 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
| |
avahi_entry_group_add_service_va(), avahi_entry_group_update_service_txt_va(), avahi_server_add_service_va(, avahi_server_update_service_txt_va()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@815 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
|
| |
* drop avahi_service_is_service_local(), avahi_client_is_service_local()
* add new lookup result flags AVAHI_LOOKUP_RESULT_OUR_OWN and AVAHI_LOOKUP_RESULT_LOCAL
* remove avahi_address_resolver_new() and replace it by avahi_address_resolver_new_a()
* avahi-client: save query data in browse/resolve objects so that we can return it on failure
* other cleanups
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@811 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add new constant AVAHI_ADDRESS_STR_MAX for use with
avahi_address_snprint arr
ays
* Update all our code to use AVAHI_ADDRESS_STR_MAX
* Add avahi_client_add_address to avahi-client
* Add avahi_client_add_address test to avahi-client
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@800 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
|
|
|
|
|
|
| |
the server side
* Wrap avahi_server_update_txt() as DBUS function UpdateServiceTxt
* Add client side API avahi_entry_group_update_service_txt() and friends
* handle AVAHI_PUBLISH_UPDATE semantics in DBUS protocol
* minor cleanups
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@791 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
| |
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@758 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|
|
|
|
|
|
| |
AVAHI_LOOKUP_NO_ADDRESS case
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@757 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|