Sebastien Estienne [Thu, 20 Oct 2005 17:43:06 +0000 (17:43 +0000)]
* preliminary ipv6 support for BSD
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@831
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Thu, 20 Oct 2005 15:51:29 +0000 (15:51 +0000)]
* bug fix in run_versioned
* bug fix in socket.c and cosmectic change
* use uname instead of MACHTYPE in bootstrap.sh
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@830
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Wed, 19 Oct 2005 22:12:28 +0000 (22:12 +0000)]
* replaced some ioctl by if_nametoindex and if_indextoname
* cosmetic fix in socket.c
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@829
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Wed, 19 Oct 2005 21:55:41 +0000 (21:55 +0000)]
* Move some of the man page checks around to catch more situations
* Fix the man dir harder
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@828
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Wed, 19 Oct 2005 21:38:28 +0000 (21:38 +0000)]
* Allow --disable-manpages, causing manpages not to be built or
installed
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@827
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Wed, 19 Oct 2005 20:31:51 +0000 (20:31 +0000)]
* remove some --disable in boostrap.sh for osx
* added a missing include in dus-protocol.h
* remove getinterface in a-d-s replaced by if_indextoname
* avahi-discover-standalone is now working on osx
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@826
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Wed, 19 Oct 2005 15:17:42 +0000 (15:17 +0000)]
* bootstrap for MacOsX tiger
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@825
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 19 Oct 2005 14:57:09 +0000 (14:57 +0000)]
fix check for strlcpy()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@824
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 19 Oct 2005 13:48:29 +0000 (13:48 +0000)]
use $LIBTOOLIZE in autogen.sh if defined
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@823
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 19 Oct 2005 13:40:05 +0000 (13:40 +0000)]
improve autgen.sh version check
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@822
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 19 Oct 2005 00:25:40 +0000 (00:25 +0000)]
actually drop avahi_strlcpy() from domain.h
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@821
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 19 Oct 2005 00:14:24 +0000 (00:14 +0000)]
* pass --enable-tests --enable-compat-howl --enable-compat-libdns_sd to configure in bootstrap.sh
* drop platform testing in configure.ac
* add some more function/header checks to configure.ac
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@820
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 19 Oct 2005 00:10:02 +0000 (00:10 +0000)]
* Compile tests only when --enable-tests was specified on the configure 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
Sebastien Estienne [Tue, 18 Oct 2005 23:23:47 +0000 (23:23 +0000)]
* fix a bug
* replace m->osdep.pfroute->poll_api by m->server->poll_api
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@818
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 18 Oct 2005 22:39:14 +0000 (22:39 +0000)]
in order to reduce our code/API size, drop support for reverse IPv6 name lookups ending in .in-addr.int. Use in-addr.arpa exclusively from now on.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@817
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 18 Oct 2005 22:37:50 +0000 (22:37 +0000)]
todo update
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@816
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 18 Oct 2005 22:25:26 +0000 (22:25 +0000)]
in order to reduce our API size, dropping 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
Lennart Poettering [Tue, 18 Oct 2005 20:04:08 +0000 (20:04 +0000)]
add config.h inclusion to glib integration example
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@814
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Tue, 18 Oct 2005 19:54:24 +0000 (19:54 +0000)]
* restore autogen.sh
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@813
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 18 Oct 2005 19:53:47 +0000 (19:53 +0000)]
update TODO
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@812
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 18 Oct 2005 19:52:03 +0000 (19:52 +0000)]
* remove AVAHI_PUBLISH_IS_PROXY, it was a bad idea
* 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
Sebastien Estienne [Tue, 18 Oct 2005 18:36:01 +0000 (18:36 +0000)]
* modified autogen.sh to better support bsd
* added some info for autogen.sh on bsd in the script
* cleaned some avahi_log
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@810
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Tue, 18 Oct 2005 16:34:06 +0000 (16:34 +0000)]
* some cleaning
* seems partially working on darwin (not fully tested yet)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@809
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Tue, 18 Oct 2005 15:59:38 +0000 (15:59 +0000)]
* handle cmsg_type IP_RECVTTL
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@808
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Tue, 18 Oct 2005 12:35:58 +0000 (12:35 +0000)]
* added some fixes mentioned by mezcalero
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@807
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Tue, 18 Oct 2005 02:19:31 +0000 (02:19 +0000)]
* some cleaning
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@806
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Tue, 18 Oct 2005 00:39:13 +0000 (00:39 +0000)]
* more portability work
* support for PF_ROUTE
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@805
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 17 Oct 2005 22:28:01 +0000 (22:28 +0000)]
rename server.h to internal.h
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@804
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 17 Oct 2005 22:23:16 +0000 (22:23 +0000)]
* move unicast DNS server registration/browsing routines to their own header dns-srv-rr.h
* remove some unused functions
* unexport some functions
* other cleanups
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@803
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Mon, 17 Oct 2005 20:41:59 +0000 (20:41 +0000)]
* autotools magic for PF_ROUTE (not the real thing yet).
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@802
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 17 Oct 2005 20:20:53 +0000 (20:20 +0000)]
* do no longer include timeval.h in watch.h by default
* fix some include lines from "" to <>
* drop dbus.h from doxygen, users of our libraries shouldn't care
* other cleanups
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@801
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Mon, 17 Oct 2005 20:07:43 +0000 (20:07 +0000)]
* Add custom user-specific configure flags to bootstrap.sh
* 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
Lennart Poettering [Mon, 17 Oct 2005 20:00:00 +0000 (20:00 +0000)]
drop some files from doxygen
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@799
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 17 Oct 2005 19:56:16 +0000 (19:56 +0000)]
drop avahi_server_add_txt() prototypes (and friends)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@798
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 17 Oct 2005 19:52:05 +0000 (19:52 +0000)]
remove or unexport avahi_server_add_txt_strlst(), avahi_server_add_txt_va(), avahi_server_add_txt(), avahi_server_add_ptr()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@797
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 17 Oct 2005 19:28:54 +0000 (19:28 +0000)]
split entry and entry-group management stuff off to its own file entry.c
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@796
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 17 Oct 2005 18:30:02 +0000 (18:30 +0000)]
update TODO
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@795
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 17 Oct 2005 18:28:18 +0000 (18:28 +0000)]
Rename "AvahiAnnouncement" to "AvahiAnnouncer" to match AvahiQuerier
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@794
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 17 Oct 2005 18:18:05 +0000 (18:18 +0000)]
slightly more comments
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@793
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 17 Oct 2005 02:08:09 +0000 (02:08 +0000)]
Update TODO
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@792
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 17 Oct 2005 02:07:26 +0000 (02:07 +0000)]
* split client.h into client.h, lookup.h and publish.h just like we did on 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
Lennart Poettering [Mon, 17 Oct 2005 00:20:33 +0000 (00:20 +0000)]
* implement record updating through the new flags AVAHI_PUBLISH_UPDATE
* add new helper function avahi_server_update_service_txt() to ease TXT record updating for services
* other minor cleanups
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@790
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 16 Oct 2005 18:41:26 +0000 (18:41 +0000)]
when warning about compat layer usage, link directly to a public CGI script I wrote which will show some information about the situation
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@789
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 16 Oct 2005 14:26:53 +0000 (14:26 +0000)]
* add a seperate mutex for salt_lock()/salt_unlock() so that it doesn't interfere with our internal locking
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@788
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 16 Oct 2005 01:04:07 +0000 (01:04 +0000)]
* fix compat-howl to work with nautilus
* make similar changes to compat-libdns_sd
* implement sw_salt_lock()/sw_salt_unlock() in compt-howl
* simple-watch: allows immediate rerunning of avahi_simple_poll_run()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@787
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 15 Oct 2005 23:38:54 +0000 (23:38 +0000)]
TODO update
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@786
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 15 Oct 2005 23:35:59 +0000 (23:35 +0000)]
compat-howl:
* handle client events
* implement sw_discovery_init_with_flags()
* implement sw_discovery_publish()
* small cleanups
compat-howl is now as complete as compat-libdns_sd and thus omplete enough for
most programs. The missing functions will be implemented on demand only.
compat-libdns_sd:
* set keywords attribute for funcs.txt
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@785
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 15 Oct 2005 23:30:48 +0000 (23:30 +0000)]
Minor cleanups
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@784
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 15 Oct 2005 19:22:16 +0000 (19:22 +0000)]
update funcs.txt
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@783
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 15 Oct 2005 19:16:47 +0000 (19:16 +0000)]
implement sw_discovery_browse_domains()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@782
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Sat, 15 Oct 2005 19:05:39 +0000 (19:05 +0000)]
* avahi-daemon: Only use multicast when looking up things in simple-protocol
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@781
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Sat, 15 Oct 2005 18:49:33 +0000 (18:49 +0000)]
* Fix avahi-utils to use new flags arguments
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@780
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 15 Oct 2005 18:34:52 +0000 (18:34 +0000)]
ignore some more files
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@779
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Sat, 15 Oct 2005 18:28:37 +0000 (18:28 +0000)]
* Include avahi-compat-howl/samples/Makefile.am
* 'Fix' avahi-howl-compat.pc to export the howl compatible version rather than avahi's version
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@778
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 15 Oct 2005 18:28:01 +0000 (18:28 +0000)]
fix a bad avahi_free() found by sebest
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@777
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Sat, 15 Oct 2005 17:45:39 +0000 (17:45 +0000)]
* More distcheck loving.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@776
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Sat, 15 Oct 2005 17:02:01 +0000 (17:02 +0000)]
* Some distcheck love.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@775
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Sat, 15 Oct 2005 16:48:08 +0000 (16:48 +0000)]
* Remove the right compat .pc files in clean
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@774
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 15 Oct 2005 15:55:57 +0000 (15:55 +0000)]
* add pkg-config file for compat-howl
* fix pkg-config file generation for compat-libdns_sd
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@773
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 15 Oct 2005 15:55:04 +0000 (15:55 +0000)]
Warn the user about a failed service resolving
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@772
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 15 Oct 2005 15:54:41 +0000 (15:54 +0000)]
* Properly install HOWL headers
* Minor makefile cleanup
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@771
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 15 Oct 2005 15:53:46 +0000 (15:53 +0000)]
reflect changes made in HOWL compat layer version of warn.[hc]
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@770
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 15 Oct 2005 15:52:49 +0000 (15:52 +0000)]
* Cleanup warn.c
* Export avahi_warn() and avahi_exe_name()
* Don't send \n to syslog
* Improve incompatibility and linkage warning message wording
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@769
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 15 Oct 2005 03:11:30 +0000 (03:11 +0000)]
* fix oid calculation
* really create a recursive mutex
* implement sw_discovery_resolve()
* initialize value data with NUL bytes in sw_text_record_iterator_next(), since HOWL seems to assume it
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@768
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 15 Oct 2005 03:07:20 +0000 (03:07 +0000)]
* Minor cleanups
* Really create a recursive mutex
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@767
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 15 Oct 2005 02:31:57 +0000 (02:31 +0000)]
fix build
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@766
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 15 Oct 2005 02:23:21 +0000 (02:23 +0000)]
* implement compat-howl core
* add HOWL examples to or build
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@765
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 15 Oct 2005 02:20:48 +0000 (02:20 +0000)]
improve incompatibility warnings
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@764
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 15 Oct 2005 02:20:29 +0000 (02:20 +0000)]
minor cleanups
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@763
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 15 Oct 2005 01:30:46 +0000 (01:30 +0000)]
* Some minor cleanups in netlink code
* add some comments to iface-linux.c, to ease porting for sebest
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@762
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Fri, 14 Oct 2005 23:31:40 +0000 (23:31 +0000)]
* missing include for freebsd
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@761
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
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