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
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