platform/upstream/avahi.git
19 years ago * autotools magic for PF_ROUTE (not the real thing yet).
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

19 years ago* do no longer include timeval.h in watch.h by default
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

19 years ago * Add custom user-specific configure flags to bootstrap.sh
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

19 years agodrop some files from doxygen
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

19 years agodrop avahi_server_add_txt() prototypes (and friends)
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

19 years agoremove or unexport avahi_server_add_txt_strlst(), avahi_server_add_txt_va(), avahi_se...
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

19 years agosplit entry and entry-group management stuff off to its own file entry.c
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

19 years agoupdate TODO
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

19 years agoRename "AvahiAnnouncement" to "AvahiAnnouncer" to match AvahiQuerier
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

19 years agoslightly more comments
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

19 years agoUpdate TODO
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

19 years ago* split client.h into client.h, lookup.h and publish.h just like we did on the server...
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

19 years ago* implement record updating through the new flags AVAHI_PUBLISH_UPDATE
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

19 years agowhen warning about compat layer usage, link directly to a public CGI script I wrote...
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

19 years ago* add a seperate mutex for salt_lock()/salt_unlock() so that it doesn't interfere...
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

19 years ago* fix compat-howl to work with nautilus
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

19 years agoTODO update
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

19 years agocompat-howl:
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

19 years agoMinor cleanups
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

19 years agoupdate funcs.txt
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

19 years agoimplement sw_discovery_browse_domains()
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

19 years ago * avahi-daemon: Only use multicast when looking up things in simple-protocol
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

19 years ago * Fix avahi-utils to use new flags arguments
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

19 years agoignore some more files
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

19 years ago * Include avahi-compat-howl/samples/Makefile.am
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

19 years agofix a bad avahi_free() found by sebest
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

19 years ago * More distcheck loving.
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

19 years ago * Some distcheck love.
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

19 years ago * Remove the right compat .pc files in clean
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

19 years ago* add pkg-config file for compat-howl
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

19 years agoWarn the user about a failed service resolving
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

19 years ago* Properly install HOWL headers
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

19 years agoreflect changes made in HOWL compat layer version of warn.[hc]
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

19 years ago* Cleanup warn.c
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

19 years ago* fix oid calculation
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

19 years ago* Minor cleanups
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

19 years agofix build
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

19 years ago* implement compat-howl core
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

19 years agoimprove incompatibility warnings
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

19 years agominor cleanups
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

19 years ago* Some minor cleanups in netlink code
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

19 years ago * missing include for freebsd
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

19 years ago * more portability work on socket.c
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

19 years agoMerge portability patch from Philipp Zabel
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

19 years agocleanup of adresss parsing on the client side
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

19 years agoDo not fail if address cannot be parsed - it is probably AVAHI_LOOKUP_NO_ADDRESS...
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

19 years agoComplete AVAHI_LOOKUP_NO_ADDRESS fix
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

19 years ago* handle AVAHI_LOOKUP_NO_ADDRESS over DBUS correctly
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

19 years ago* implement HOWL TXT functions
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

19 years agoimplement address related functions
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

19 years agoadd AVAHI_WARN_UNSUPPORTED_ABORT
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

19 years agoAdd stubs for all exported functions
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

19 years ago* integrate avahi-compat-howl into build system
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

19 years ago * add autoconf support for checking ip_mreqn
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

19 years ago * portability function for IP_PKTINFO
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

19 years agoadd howl headers
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

19 years agoremove some more compiler warnings
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

19 years agoremove macosx compiler warning
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

19 years agoremove macosx compiler warning
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

19 years agoadd a (struct sockaddr*) cast to getsockname
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

19 years agominor fixes to the conformance testing tool
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

19 years agosmall fix to allow creating server instances without passing a configuration structure
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

19 years agoremove a trailing comma in an enum definition
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

19 years agoadd a real check for linux/netlink.h
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

19 years agowarn if not netlink replacement is found when building
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

19 years agoupdate C++ tests, and compile them only when HAVE_NETLINK is set
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

19 years ago * added a portability fix for IPV6_ADD/DROP_MEMBERSHIP
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

19 years agominor Makefile.am cleanup
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

19 years ago * added support in autoconf for multiple architecture
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

19 years agoupdate TODO
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

19 years ago* drop AVAHI_RESOLVER_TIMEOUT, AVAHI_RESOLVER_NOT_FOUND and AVAHI_BROWSER_NOT_FOUND...
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

19 years ago * include config.h was missing in rrlist.c and added stdlib.h for NULL
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

19 years ago * replaced SOL_IP by IPPROTO_IP as it seems more portable
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

19 years agoremove uneeded asm/types.h inclusion
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

19 years agoclean up iface.h a bit
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

19 years agoTODO update
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

19 years agoSplit off linux specific parts of iface.[ch] into iface-linux.[ch]. This should
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

19 years agoupdate TODO once again
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

19 years agoupdate TODO
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

19 years agoadd subtype support to compat-libdns_sd
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

19 years agoadd an example for subtype usage
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

19 years agoadd client side wrapping of EntryGroup.AddServiceSubtype
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

19 years agowrap avahi_server_add_service_subtype() for DBUS
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

19 years agolimit allowed flags to avahi_server_add_service_subtype()
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

19 years ago### BACKPORT ###
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

19 years agoupdate TODO
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

19 years ago* rename avahi_is_valid_service_type() to avahi_is_valid_service_type_generic()
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

19 years agoremove some superfluous commas from enum definitions
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

19 years agoadd support for service subtypes: avahi_server_add_service_subtype()
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

19 years agoupdate TODO
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

19 years agodon't send goodbye packets for records that are referenced from two local entries
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

19 years agoadd a new line to configure summary to show whether avahi-compat-libdns_sd is built...
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

19 years ago* build compat-libdns_sd only when HAVE_DBUS is set (i.e. only when avahi-client...
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

19 years agoupdate TODO
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

19 years ago* rename avahi_service_name_snprint() to avahi_service_name_join()
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

19 years agoadd more AVAHI_WARN_UNSUPPORTED lines
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

19 years agobrowse in .local unconditionally in compat-libdns_sd
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

19 years agofix linking to pthreads library
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

19 years agoadd trailing dots to various domain names and service types returned by the libdns_sd...
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

19 years agodefine AVAHI_DOMAIN_NAME_MAX
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