Lennart Poettering [Tue, 19 Jul 2005 18:36:14 +0000 (18:36 +0000)]
* Change timeval arithmetic functions to use 64bit integers. This fixes some problems with long lived queries
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@170
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 18 Jul 2005 11:06:18 +0000 (11:06 +0000)]
* disable use-iff-running by default
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@169
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 16 Jul 2005 23:48:35 +0000 (23:48 +0000)]
Fix cache managament
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@168
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 16 Jul 2005 20:14:34 +0000 (20:14 +0000)]
* hide some more files
* make sure not to run a time event twice in the same main loop iteration
* add new test timeeventq-test
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@167
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Wed, 6 Jul 2005 16:19:41 +0000 (16:19 +0000)]
renamed avahi to avahi-daemon
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@166
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Wed, 6 Jul 2005 15:46:31 +0000 (15:46 +0000)]
* cleaned configure.ac
* fix Avahi runtime dir
* use AM_CFLAGS instead of config.h.in to define paths (interfaces, socket, pid)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@165
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Wed, 6 Jul 2005 14:09:01 +0000 (14:09 +0000)]
* Patch by Ikke <ikke@eikke.com> to make distcheck pass.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@164
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Tue, 5 Jul 2005 15:13:15 +0000 (15:13 +0000)]
* Make the configure script just not install init scripts or dbus config if the distribution isn't supported (rather than error out)
* Import SUSE init script, still uses suse specific functions, we can change this later if we want
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@163
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Mon, 4 Jul 2005 20:36:12 +0000 (20:36 +0000)]
* Remove support for dbus 0.23.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@162
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Sun, 3 Jul 2005 21:51:33 +0000 (21:51 +0000)]
* initscript for avahi-dnsconfd
* INSTALL info to start it automatically on Debian
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@161
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 1 Jul 2005 23:15:56 +0000 (23:15 +0000)]
* add new option --check to daemons
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@160
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Fri, 1 Jul 2005 14:18:12 +0000 (14:18 +0000)]
* using AC_GNU_SOURCE instead of -D _GNU_SOURCE
* fixed a typo? in dbus-protocol ("% s" -> " %s")
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@159
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Thu, 30 Jun 2005 22:55:20 +0000 (22:55 +0000)]
* moved AVAHI_RUNTIME_DIR and AVAHI_SOCKET in configure.ac
* avahi-dnsconf and avahi use them for pid and socket file
* check that ${prefix} is fully expanded in config.h
* cosmetic changes in configure.ac
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@158
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Thu, 30 Jun 2005 11:46:55 +0000 (11:46 +0000)]
Fixed Makefile.am not installing headers file.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@157
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Thu, 30 Jun 2005 11:35:44 +0000 (11:35 +0000)]
renamed debian/gentoo initscript to remove .in, not needed anymore
install gentoo initscript in /etc/init.d
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@156
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Thu, 30 Jun 2005 11:27:33 +0000 (11:27 +0000)]
New gentoo initscript using libdaemon features
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@155
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 29 Jun 2005 23:59:26 +0000 (23:59 +0000)]
* update diagram
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@154
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Wed, 29 Jun 2005 03:34:45 +0000 (03:34 +0000)]
* Patch by Steev Klimaszewski for gentoo compilation
* Small dbus-protocol.c change
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@153
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 28 Jun 2005 23:25:50 +0000 (23:25 +0000)]
improve documentation
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@152
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 28 Jun 2005 22:09:17 +0000 (22:09 +0000)]
* recreate DNS query in simple protocol on host or domain name changes
* C++ compatibility
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@151
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 28 Jun 2005 20:33:36 +0000 (20:33 +0000)]
* cap query interval for continious queries to 1h
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@150
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 28 Jun 2005 20:18:45 +0000 (20:18 +0000)]
update diagram a bit
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@149
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 25 Jun 2005 11:47:30 +0000 (11:47 +0000)]
add overview diagram
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@148
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 25 Jun 2005 00:43:57 +0000 (00:43 +0000)]
* doxygen updates
* reply to probe queries immediately
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@147
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 24 Jun 2005 19:42:49 +0000 (19:42 +0000)]
s/avahi_server_add_text/avahi_server_add_txt/g
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@146
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 24 Jun 2005 19:38:29 +0000 (19:38 +0000)]
* update default TTL generation to match RFC
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@145
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 24 Jun 2005 19:02:51 +0000 (19:02 +0000)]
* implement new source address check mechanisms
* introduce new types AvahiIfIndex and AvahiProtocol to abstract underlying OS structures a bit
* document string list, address and other stuff
* implement qclass = ANY queries
* don't make use of UTF8 collation as RFC mandates
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@144
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 24 Jun 2005 01:00:13 +0000 (01:00 +0000)]
* update todo list
* add avvahi-dnsconfd
* implement AvahiDNSServerBrowser
* Update special browse/register RRs to match current RFC
* add support to avahi-daemon to publish name server information
* add support to avahi-daemon to publish /etc/resolv.conf DNS server information
* add new simple protocol command: "BROWSE-DNS-SERVERS"
* cleanup final configure message
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@143
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 22 Jun 2005 00:26:27 +0000 (00:26 +0000)]
ignore init script
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@142
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 21 Jun 2005 23:45:41 +0000 (23:45 +0000)]
* remove stale UNIX sockets before creating new ones
* make sure to flush outbound records after conflict detection
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@141
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Tue, 21 Jun 2005 19:24:20 +0000 (19:24 +0000)]
changed startup priority for avahi (15->75)
modified INSTALL for easier copy/paste of ./configure
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@140
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Tue, 21 Jun 2005 17:37:54 +0000 (17:37 +0000)]
update debian initscript to emulate lsb functions
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@139
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 21 Jun 2005 14:44:22 +0000 (14:44 +0000)]
* Improve error message when /etc/avahi/services is not available
* improve INSTALL file
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@138
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 21 Jun 2005 14:43:17 +0000 (14:43 +0000)]
fix build system for build without gtk and dbus
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@137
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 21 Jun 2005 12:58:06 +0000 (12:58 +0000)]
* Update configure.ac to check for the availabilty of more functions
* really return sensible error codes from avahi_server_add_xx()
* make all users of avahi_server_add_xxx() check for the validity
* check for local RR conflicts
* only suppress local queries by remote queries if they have an empty known answer suppresion list
* fix FIONREAD call
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@136
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Tue, 21 Jun 2005 11:14:03 +0000 (11:14 +0000)]
some basic INSTALL and README instructions
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@135
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Tue, 21 Jun 2005 10:31:28 +0000 (10:31 +0000)]
- updated Debian initscript to use libdeamon features (-k/-D/-r).
- fix a duplicate detection of dbus api version.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@134
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 21 Jun 2005 10:16:33 +0000 (10:16 +0000)]
* move socket and pid file to its own directory /var/run/avahi
* create /var/run/avahi securely
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@133
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 20 Jun 2005 22:40:59 +0000 (22:40 +0000)]
* Apply another patch by Sebastien Estienne for installing glade interface files
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@132
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 20 Jun 2005 22:27:45 +0000 (22:27 +0000)]
Add patches from Sebastien Estienne
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@131
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 19 Jun 2005 17:28:22 +0000 (17:28 +0000)]
* drop priviliges
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@130
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 19 Jun 2005 13:44:50 +0000 (13:44 +0000)]
* detect other running mDNS stacks
* replace more g_message()/g_warning() calls with avahi_log_xxx()
* fix configuration file paths
* only load configuration file when running daemon
* require uid == 0
* fix static service reloading
* add new command line option for reloading -r
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@129
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 18 Jun 2005 23:22:20 +0000 (23:22 +0000)]
* fix memory handling when reading configuration files
* implement signal handling in daemon
* correctly increase reference counter for main contexts when running g_main_context_default()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@128
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 18 Jun 2005 16:18:49 +0000 (16:18 +0000)]
* rename the configuration variables register_xxx and announce_xxx to publish_xxx
* implement command line parsing and configuration file parsing
* implement daemonizing support (partially)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@127
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Fri, 17 Jun 2005 18:44:39 +0000 (18:44 +0000)]
* make the daemon build with dbus on both 0.23 and 0.30+, it doesn't yet work properly on 0.30 but it builds and runs
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@126
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 17 Jun 2005 16:29:16 +0000 (16:29 +0000)]
* check for expat in configure
* some premature command line parsing stuff
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@125
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 17 Jun 2005 14:07:31 +0000 (14:07 +0000)]
* make sure to free some more time events
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@124
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 17 Jun 2005 14:04:15 +0000 (14:04 +0000)]
* free timeout event when destroying service resolver
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@123
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 17 Jun 2005 13:46:44 +0000 (13:46 +0000)]
fix label when services fails to resolve
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@122
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Fri, 17 Jun 2005 13:43:17 +0000 (13:43 +0000)]
* more dbus build fixes
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@121
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Fri, 17 Jun 2005 13:30:48 +0000 (13:30 +0000)]
* include dbus-protocol.h in dbus-protocol.c
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@120
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Fri, 17 Jun 2005 13:26:50 +0000 (13:26 +0000)]
* Move the definition of DBUS_SERVICE_AVAHI to the right spot, oops. :)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@119
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Fri, 17 Jun 2005 12:37:47 +0000 (12:37 +0000)]
* Split out the dbus stuff in the daemon to a separate file so it can be built conditionally
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@118
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 17 Jun 2005 12:34:16 +0000 (12:34 +0000)]
make the example a little bit more interesting
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@117
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 17 Jun 2005 12:30:39 +0000 (12:30 +0000)]
fix $Id$ in example.service
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@116
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 16 Jun 2005 22:12:26 +0000 (22:12 +0000)]
* add support for static service definitions for the daemon using XML fragments
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@115
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 16 Jun 2005 16:32:27 +0000 (16:32 +0000)]
* update avahi_address_parse() to work with AF_UNSPEC address family
* complete simple protocol
* defer scanning already cached RRs when browsing into its own main loop job
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@114
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 16 Jun 2005 12:51:20 +0000 (12:51 +0000)]
* add initial implmenentation of a "simple protocol" for usage with nss-mdns
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@113
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 11 Jun 2005 11:10:57 +0000 (11:10 +0000)]
* add logging API and make all code make use of it
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@112
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 10 Jun 2005 23:33:26 +0000 (23:33 +0000)]
svn:ignore
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@111
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 10 Jun 2005 23:32:03 +0000 (23:32 +0000)]
set svn:keywords
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@110
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 10 Jun 2005 23:28:36 +0000 (23:28 +0000)]
update svn:ignore
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@109
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 10 Jun 2005 23:26:48 +0000 (23:26 +0000)]
* build libavahi-common statically for debugging purposes
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@108
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Wed, 8 Jun 2005 18:55:06 +0000 (18:55 +0000)]
* Patch by Ross Burton to enable conditional use of dbus (--enable-dbus=no), disables daemon build
* Remove doxygen from EXTRA_DIST as its built by default now
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@107
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Tue, 7 Jun 2005 14:18:20 +0000 (14:18 +0000)]
* Patch by ross burton to allow make dist to pass (Closes: #3480)
* Move to doxygen in the default build, make --enable-doxygen=no to bypass, this also makes distcheck pass
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@106
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Mon, 6 Jun 2005 11:20:39 +0000 (11:20 +0000)]
* Patch by Ross Burton to allow disabling GTK (avahi-discover) with --enable-gtk=no (Fixes: #3476)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@105
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 6 Jun 2005 09:34:19 +0000 (09:34 +0000)]
move dns.[ch] back to avahi-core/
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@104
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 6 Jun 2005 09:15:01 +0000 (09:15 +0000)]
* fix build system
* some ore svn:ignore
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@103
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 6 Jun 2005 09:03:33 +0000 (09:03 +0000)]
update svn:ignor
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@102
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Sun, 5 Jun 2005 02:37:27 +0000 (02:37 +0000)]
* rename daemon to avahi-daemon
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@101
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Sat, 4 Jun 2005 19:32:26 +0000 (19:32 +0000)]
* Add some use documentation to the daemon
* Create the structure for avahi-client
* Start building avahi-client and daemon by default
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@100
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Sat, 4 Jun 2005 18:58:50 +0000 (18:58 +0000)]
* Modify skeleton daemon code to build with dbus 0.23
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@99
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Sat, 4 Jun 2005 18:56:52 +0000 (18:56 +0000)]
* Split out a fair bit of avahi-core into avahi-common for use by the client library
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@98
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 3 Jun 2005 20:46:38 +0000 (20:46 +0000)]
* fix avahi when connected to the same network via two NICs
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@97
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 3 Jun 2005 20:27:00 +0000 (20:27 +0000)]
* use FIONREAD to minimize allocated buffer size when reading incoming packets
* enforce a cache size limit
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@96
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 3 Jun 2005 19:38:37 +0000 (19:38 +0000)]
* make some functions return a gint, for signaling errors to the user
* some API documentation updates
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@95
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 3 Jun 2005 19:02:12 +0000 (19:02 +0000)]
* improve avahi-discover GUI
* if a new interface becomes available, reissue all queries
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@94
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 3 Jun 2005 16:11:07 +0000 (16:11 +0000)]
* add support for _workstation._tcp
* really fix #3455
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@93
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 3 Jun 2005 12:45:47 +0000 (12:45 +0000)]
* implement reflection (including legacy unicast reflection)
* implement a history in the probe scheduler
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@92
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 23 May 2005 16:39:01 +0000 (16:39 +0000)]
* add new tool avahi-discover
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@91
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 23 May 2005 16:15:12 +0000 (16:15 +0000)]
* add the first bits of a mDNS reflector
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@90
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 22 May 2005 21:33:28 +0000 (21:33 +0000)]
* fix pkgconfig file
* fix recursive resolving
* install header files
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@89
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 22 May 2005 16:53:59 +0000 (16:53 +0000)]
Impelement AvahiServiceResolver
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@88
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 22 May 2005 15:04:39 +0000 (15:04 +0000)]
* implement AvahiServiceBrowser
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@87
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 22 May 2005 14:41:13 +0000 (14:41 +0000)]
Add missing files browse-domain.c and browse-service-type.c
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@86
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 22 May 2005 14:40:39 +0000 (14:40 +0000)]
* add service type browser
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@85
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 22 May 2005 02:03:53 +0000 (02:03 +0000)]
rename resolve.[ch] to browse.[ch]
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@84
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 22 May 2005 02:00:31 +0000 (02:00 +0000)]
* Rework some Browsing/Resolving stuff
* Add AvahiDomainBrowser
* fix avahi_strlist_to_string() with empty lists
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@83
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 20 May 2005 23:22:54 +0000 (23:22 +0000)]
* add address resolver
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@82
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 20 May 2005 23:07:12 +0000 (23:07 +0000)]
* rename subscribe.[ch] to resolve.[ch]
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@81
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 20 May 2005 23:03:57 +0000 (23:03 +0000)]
* rename AvahiSubscription to AvahiRecordResolver
* implement AvahiHostNameResolver
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@80
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 20 May 2005 21:35:40 +0000 (21:35 +0000)]
* add new server state AVAHI_SERVER_SLEEPING to avoid conflicts by own responses
* Honour TC bit in incoming packets by responding immediately to packets
* publish browse domain
* Fix a structure size issue in iface.c revealed by running avahi on Linux 2.4
* Don't depend on IFF_RUNNING
* Require a global IP addresses to consider an interface relevant
* Linux 2.4 compatiblity
* fix parsing of TTL from recvmsg()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@79
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 20 May 2005 14:54:00 +0000 (14:54 +0000)]
Add support for server state change callbacks
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@78
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Fri, 20 May 2005 02:12:23 +0000 (02:12 +0000)]
Don't go into the daemon and build by default until I fix up the configure stuff to enable/disable it etc.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@77
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 19 May 2005 21:49:28 +0000 (21:49 +0000)]
add a new structure for configuration AvahiServerConfig
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@76
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Wed, 18 May 2005 10:34:44 +0000 (10:34 +0000)]
import basic dbus code into the daemon, with auto-fu magic, etc
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@75
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 17 May 2005 00:03:50 +0000 (00:03 +0000)]
* split packet scheduler into three seperate parts
* test against Aplle test suit, most tests pass now
* suppress auxiliary records by known answers
* handle very large records
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@74
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 16 May 2005 02:08:57 +0000 (02:08 +0000)]
fix unicast known answer suppresion
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@73
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 16 May 2005 01:01:43 +0000 (01:01 +0000)]
* case insensitive name comparisons
* corectly handle RRsets
* make addresses unique
* return to probe state on conflict
* a bunch of fixes detected while testing against the Apple Bonjour Conformance Test
* a fix in avahi_record_lexicographical_cmp() regarding TXT records
* API for choosing alternative host and service names
* remove a bunch of unused crap from cache.c and server.c
* flush cache when an interface becomes unavailable
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@72
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 13 May 2005 23:18:13 +0000 (23:18 +0000)]
* utf-8 collation of domain names
* case insensitive comparison of domain names
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@71
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe