Sebastien Estienne [Fri, 14 Oct 2005 20:30:27 +0000 (20:30 +0000)]
* more portability work on socket.c
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@760
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 14 Oct 2005 19:46:01 +0000 (19:46 +0000)]
Merge portability patch from Philipp Zabel
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@759
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 13 Oct 2005 15:08:31 +0000 (15:08 +0000)]
cleanup of adresss parsing on the client side
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@758
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Jakub Stachowski [Thu, 13 Oct 2005 14:53:07 +0000 (14:53 +0000)]
Do not fail if address cannot be parsed - it is probably AVAHI_LOOKUP_NO_ADDRESS case
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@757
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Jakub Stachowski [Thu, 13 Oct 2005 14:42:00 +0000 (14:42 +0000)]
Complete AVAHI_LOOKUP_NO_ADDRESS fix
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@756
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 13 Oct 2005 14:29:13 +0000 (14:29 +0000)]
* handle AVAHI_LOOKUP_NO_ADDRESS over DBUS correctly
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@755
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 13 Oct 2005 02:34:19 +0000 (02:34 +0000)]
* implement HOWL TXT functions
* return SW_E_NO_IMPL instead of SW_DISCOVERY_E_NOT_SUPPORTED in unsupported HOWL functions
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@754
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 13 Oct 2005 01:26:32 +0000 (01:26 +0000)]
implement address related functions
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@753
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 13 Oct 2005 01:26:06 +0000 (01:26 +0000)]
add AVAHI_WARN_UNSUPPORTED_ABORT
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@752
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 13 Oct 2005 00:14:19 +0000 (00:14 +0000)]
Add stubs for all exported functions
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@751
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 12 Oct 2005 23:05:50 +0000 (23:05 +0000)]
* integrate avahi-compat-howl into build system
* compat-libdns_sd: warn to syslog in addition to STDERR
* compat-howl: make use of compat-libdns_sd warning functions
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@750
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Wed, 12 Oct 2005 22:52:51 +0000 (22:52 +0000)]
* add autoconf support for checking ip_mreqn
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@749
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Wed, 12 Oct 2005 22:41:44 +0000 (22:41 +0000)]
* portability function for IP_PKTINFO
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@748
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 12 Oct 2005 22:37:25 +0000 (22:37 +0000)]
add howl headers
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@747
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 12 Oct 2005 21:15:34 +0000 (21:15 +0000)]
remove some more compiler warnings
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@746
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 12 Oct 2005 21:13:57 +0000 (21:13 +0000)]
remove macosx compiler warning
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@745
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 12 Oct 2005 21:12:34 +0000 (21:12 +0000)]
remove macosx compiler warning
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@744
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 12 Oct 2005 20:37:12 +0000 (20:37 +0000)]
add a (struct sockaddr*) cast to getsockname
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@743
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 12 Oct 2005 20:27:51 +0000 (20:27 +0000)]
minor fixes to the conformance testing tool
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@742
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 12 Oct 2005 20:26:34 +0000 (20:26 +0000)]
small fix to allow creating server instances without passing a configuration structure
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@741
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 12 Oct 2005 20:25:37 +0000 (20:25 +0000)]
remove a trailing comma in an enum definition
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@740
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 12 Oct 2005 14:46:28 +0000 (14:46 +0000)]
add a real check for linux/netlink.h
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@739
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 12 Oct 2005 14:46:06 +0000 (14:46 +0000)]
warn if not netlink replacement is found when building
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@738
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 12 Oct 2005 14:38:07 +0000 (14:38 +0000)]
update C++ tests, and compile them only when HAVE_NETLINK is set
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@737
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Wed, 12 Oct 2005 14:05:09 +0000 (14:05 +0000)]
* added a portability fix for IPV6_ADD/DROP_MEMBERSHIP
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@736
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 12 Oct 2005 13:39:48 +0000 (13:39 +0000)]
minor Makefile.am cleanup
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@735
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Wed, 12 Oct 2005 13:27:08 +0000 (13:27 +0000)]
* added support in autoconf for multiple architecture
* only compile netlink support on linux
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@734
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 12 Oct 2005 02:38:48 +0000 (02:38 +0000)]
update TODO
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@733
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 12 Oct 2005 02:37:08 +0000 (02:37 +0000)]
* drop AVAHI_RESOLVER_TIMEOUT, AVAHI_RESOLVER_NOT_FOUND and AVAHI_BROWSER_NOT_FOUND, use AVAHI_xxx_FAILURE instead
* set the client/server errno variable when AVAHI_xxx_FAILURE happens
* update DBUS interface accordingly, pass errno value with Failure events
* Pass DNS return codes to the app by wrapping them in avahi error codes
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@732
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Tue, 11 Oct 2005 23:32:59 +0000 (23:32 +0000)]
* include config.h was missing in rrlist.c and added stdlib.h for NULL
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@731
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Tue, 11 Oct 2005 22:43:47 +0000 (22:43 +0000)]
* replaced SOL_IP by IPPROTO_IP as it seems more portable
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@730
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 11 Oct 2005 20:29:33 +0000 (20:29 +0000)]
remove uneeded asm/types.h inclusion
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@729
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 11 Oct 2005 19:56:34 +0000 (19:56 +0000)]
clean up iface.h a bit
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@728
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 11 Oct 2005 19:55:06 +0000 (19:55 +0000)]
TODO update
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@727
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 11 Oct 2005 19:52:38 +0000 (19:52 +0000)]
Split off linux specific parts of iface.[ch] into iface-linux.[ch]. This should
ease porting to other platforms. Sebest, Lathiat this is for you! It Should
simplify your porting work to *BSD/MacOSX/Solaris.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@726
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 11 Oct 2005 01:34:29 +0000 (01:34 +0000)]
update TODO once again
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@725
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 11 Oct 2005 01:32:12 +0000 (01:32 +0000)]
update TODO
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@724
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 11 Oct 2005 01:30:57 +0000 (01:30 +0000)]
add subtype support to compat-libdns_sd
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@723
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 11 Oct 2005 01:24:53 +0000 (01:24 +0000)]
add an example for subtype usage
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@722
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 11 Oct 2005 01:24:04 +0000 (01:24 +0000)]
add client side wrapping of EntryGroup.AddServiceSubtype
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@721
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 11 Oct 2005 01:22:48 +0000 (01:22 +0000)]
wrap avahi_server_add_service_subtype() for DBUS
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@720
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 11 Oct 2005 01:21:51 +0000 (01:21 +0000)]
limit allowed flags to avahi_server_add_service_subtype()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@719
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 11 Oct 2005 01:15:39 +0000 (01:15 +0000)]
### BACKPORT ###
fix uninitialized memory access
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@718
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 11 Oct 2005 00:59:00 +0000 (00:59 +0000)]
update TODO
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@717
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 11 Oct 2005 00:58:04 +0000 (00:58 +0000)]
* rename avahi_is_valid_service_type() to avahi_is_valid_service_type_generic()
* add avahi_is_valid_service_type_strict() which doesn't allow subtypes and other strange things to pass
* fix protocol validity checks in server.c
* add new API function avahi_get_type_from_subtype()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@716
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 11 Oct 2005 00:48:03 +0000 (00:48 +0000)]
remove some superfluous commas from enum definitions
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@715
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 11 Oct 2005 00:18:57 +0000 (00:18 +0000)]
add support for service subtypes: avahi_server_add_service_subtype()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@714
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 10 Oct 2005 22:59:32 +0000 (22:59 +0000)]
update TODO
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@713
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 10 Oct 2005 22:59:08 +0000 (22:59 +0000)]
don't send goodbye packets for records that are referenced from two local entries
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@712
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 10 Oct 2005 22:41:18 +0000 (22:41 +0000)]
add a new line to configure summary to show whether avahi-compat-libdns_sd is built or not
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@711
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 10 Oct 2005 22:40:32 +0000 (22:40 +0000)]
* build compat-libdns_sd only when HAVE_DBUS is set (i.e. only when avahi-client is built, too)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@710
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 10 Oct 2005 22:34:27 +0000 (22:34 +0000)]
update TODO
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@709
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 10 Oct 2005 22:34:06 +0000 (22:34 +0000)]
* rename avahi_service_name_snprint() to avahi_service_name_join()
* add avahi_service_name_split() and make everything use it
* change avahi_normalize_name() to work on a supplied buffer instead of malloc'ed memory.
* add avahi_normalize_name_strdup() that retains the old behaviour avahi_normalize_name()
* same thing for avahi_get_host_name()/avahi_get_host_name_strdup()
* Rewrite domain name escaping and validity checking code
* Remove superfluous memory allocationsfrom various browsers and do some other major cleanups
* add new global macro AVAHI_CHECK_VALIDITY_RETURN_NULL() and modify many things to make use of it
* add AVAHI_LABEL_MAX
* patch everything to make use of AVAHI_LABEL_MAX and AVAHI_DOMAIN_NAME_MAX
* add pretty printing for NS records
* add partial pretty printing for SOA records
* add many more validity checks to various user API functions
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@708
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 6 Oct 2005 14:08:26 +0000 (14:08 +0000)]
add more AVAHI_WARN_UNSUPPORTED lines
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@703
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 5 Oct 2005 19:36:06 +0000 (19:36 +0000)]
browse in .local unconditionally in compat-libdns_sd
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@702
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 5 Oct 2005 19:31:13 +0000 (19:31 +0000)]
fix linking to pthreads library
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@701
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 4 Oct 2005 22:18:27 +0000 (22:18 +0000)]
add trailing dots to various domain names and service types returned by the libdns_sd compatibility layer
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@700
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 4 Oct 2005 22:17:40 +0000 (22:17 +0000)]
define AVAHI_DOMAIN_NAME_MAX
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@699
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 4 Oct 2005 19:22:29 +0000 (19:22 +0000)]
final rename
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@698
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 4 Oct 2005 19:21:14 +0000 (19:21 +0000)]
remove compat-bonjour
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@697
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 4 Oct 2005 19:20:47 +0000 (19:20 +0000)]
rename compat-bonjour to compat-libdns_sd part II
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@696
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 4 Oct 2005 19:10:08 +0000 (19:10 +0000)]
Rename compat-bonjour to compat-libdns_sd to make sure that Apple cannot sue use about their "Bonjour" trademark
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@695
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 4 Oct 2005 18:57:32 +0000 (18:57 +0000)]
* Implement proper reference containg for DNSServiceRef to make sure that once can free it inside the callback
* Install client callbacks for all DNSServiceRef types and report daemon disconnections back to the user
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@694
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 4 Oct 2005 02:10:16 +0000 (02:10 +0000)]
* Implement DNSServiceRegister()
* All other Bonjour functions will only be implementedi on-demand
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@693
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 3 Oct 2005 23:38:00 +0000 (23:38 +0000)]
* Implement DNSServiceEnumerateDomains()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@692
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 3 Oct 2005 23:37:13 +0000 (23:37 +0000)]
### BACKPORT ###
Yet another one of those useless-assert bugs:
Actually allow browsing for registration domains
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@691
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 3 Oct 2005 23:35:45 +0000 (23:35 +0000)]
remove empty line. YEAH!
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@690
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 3 Oct 2005 23:35:26 +0000 (23:35 +0000)]
### BACKPORT ###
* remove some compiler warnings sebest found
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@689
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 3 Oct 2005 23:01:57 +0000 (23:01 +0000)]
* Implement DNSServiceConstructFullName()
* fix DNSServiceResolve to return the full service name correctly
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@687
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 3 Oct 2005 23:00:09 +0000 (23:00 +0000)]
### BACKPORT ###
hide some monodoc files from SVN
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@686
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 3 Oct 2005 22:59:18 +0000 (22:59 +0000)]
* First check server version, after that request server state in avahi_client_new()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@685
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 3 Oct 2005 22:57:57 +0000 (22:57 +0000)]
### BACKPORT ### (only second point)
* Make use of avahi_service_name_snprint() wherever it applies
* Fix some potential memory leaks when avahi_server_add() fails
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@684
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 3 Oct 2005 22:56:14 +0000 (22:56 +0000)]
Add avahi_service_name_snprint()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@683
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 3 Oct 2005 22:55:40 +0000 (22:55 +0000)]
### BACKPORT ###
* Fix a hard to trigger bug where events are dispatched that didn't happen in the first place.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@682
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 3 Oct 2005 20:48:33 +0000 (20:48 +0000)]
Mark Bonjour functions we already provide with an "x"
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@681
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 3 Oct 2005 20:46:05 +0000 (20:46 +0000)]
* Use a recursive mutex for locking DNSServiceRef
* Implement TXT* function
* Implement txt-test.c
* Print a warning to STDERR once when the compat layer is used
* Print a warning to STDERR when a non-implemented function is called
* Add Makefile support to compile Apple's dns-sd.c with our compat library (but don't include that file )
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@680
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 3 Oct 2005 20:40:40 +0000 (20:40 +0000)]
### BACKPORT ###
* small docs typo fix
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@679
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Mon, 3 Oct 2005 14:33:15 +0000 (14:33 +0000)]
* Merge working-0.5.x/docs/NEWS into trunk
* Tag 0.5.2 release from branches/working-0.5.x
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@678
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 2 Oct 2005 13:37:15 +0000 (13:37 +0000)]
Add pkgconfig file for bonjour compat layer
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@674
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 2 Oct 2005 13:36:33 +0000 (13:36 +0000)]
bump soname of libavahi-compat-bonjour to match Apple's implementation
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@673
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 2 Oct 2005 02:18:11 +0000 (02:18 +0000)]
* add pthreads autoconf scripts
* add bonjour compatiblity layer (only browsing, resolving for now. the complicated stuff is done, missing parts will follow soon)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@672
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 2 Oct 2005 02:16:02 +0000 (02:16 +0000)]
* Split up avahi_simple_poll_iterate() into avahi_simple_poll_prepare(),avahi_simple_poll_run() and avahi_simple_poll_dispatch()
* Export wakeup function()
* add a userdata argument to poll() function
* add avahi_simple_poll_loop()
* minimize number of system calls
* threading compat improvements
* request pollfd rebuild in avahi_simple_poll_new()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@671
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 2 Oct 2005 02:11:42 +0000 (02:11 +0000)]
drop superfluous version info
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@670
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Jakub Stachowski [Sat, 1 Oct 2005 20:34:56 +0000 (20:34 +0000)]
Better fix for negative timeout problem.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@669
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 1 Oct 2005 12:56:19 +0000 (12:56 +0000)]
small doc fix
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@668
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Jakub Stachowski [Fri, 30 Sep 2005 21:53:04 +0000 (21:53 +0000)]
Adapt to undocumented hack (passing 0:0 in tv to mean "now") that probably got introduced in dbus update.
This fix is critical for service browsing in all qt apps.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@667
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 29 Sep 2005 23:37:07 +0000 (23:37 +0000)]
s/--disable-mono-docs/--disable-monodoc/
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@665
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Thu, 29 Sep 2005 23:15:22 +0000 (23:15 +0000)]
* Merge 662:663 (0.5.1 NEWS update) from branches/working-0.5.x to trunk
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@664
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 29 Sep 2005 22:52:52 +0000 (22:52 +0000)]
* add bonjour compatibility header (no implementation yet)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@660
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 29 Sep 2005 22:37:27 +0000 (22:37 +0000)]
Add new flag AVAHI_PUBLISH_IS_PROXY and activate it for static services with a host name set
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@658
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 29 Sep 2005 22:36:15 +0000 (22:36 +0000)]
handle wide areas responses with ANCOUNT = 0 like NXDOMAIN
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@657
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 29 Sep 2005 22:34:55 +0000 (22:34 +0000)]
* deal correctly with browsing mDNS services pointing to unicast DNS host names
* fix service resolving for both IPv4 and IPv6 where one of the two addresses doesn't exist
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@656
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 29 Sep 2005 22:31:36 +0000 (22:31 +0000)]
fix switch fall through error
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@655
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 29 Sep 2005 18:41:25 +0000 (18:41 +0000)]
comment RSS types for now
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@653
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 29 Sep 2005 16:32:41 +0000 (16:32 +0000)]
change default value of "disallow-other-stacks" to "no" to make Marc happy. (i.e. enable SO_REUSEADDR by default)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@652
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 29 Sep 2005 16:25:44 +0000 (16:25 +0000)]
reset the the commit throttling counter for entry groups 5s afer they have been established successfully
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@651
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 29 Sep 2005 16:19:12 +0000 (16:19 +0000)]
TODO update
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@650
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 29 Sep 2005 01:53:35 +0000 (01:53 +0000)]
update TODO
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@649
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 29 Sep 2005 01:51:53 +0000 (01:51 +0000)]
* make all flags parameters UINT32 when marshalling for DBUS
* rename AvahiEntryFlags to AvahiPublishFlags
* add flags parameter to add_service() and friends
* validity checking of flags, interface and protocol parameters of add_service() and friends
* make AVAHI_VALID_FLAGS a global macro
* add new flag AVAHI_PUBLISH_NO_REVERSE, if set address records will no be created with matching reverse lookup PTR RRs
* add new flag AVAHI_PUBLISH_NO_COOKIE, for not implicitly adding the service cookie to TXT records
* minor cleanups
Yes, this will break the mono bindings. More breakages to come.
NO_REVERSE and NO_COOKIE needs testing.
Lathiat, I guess the new flag NO_REVERSE makes the immediate need to add a client side API to add arbitrary RRs obsolete for now. You might consider moving it in the TODO list to "later".
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@648
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 28 Sep 2005 23:55:21 +0000 (23:55 +0000)]
remove even more bad newlines in log messages
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@647
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe