Lennart Poettering [Thu, 31 Aug 2006 17:26:29 +0000 (17:26 +0000)]
fix a few more s/DBUS/D-Bus/
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1298
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 17:22:29 +0000 (17:22 +0000)]
bump D-Bus API revision (forgotten in 0.6.13)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1297
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 17:20:30 +0000 (17:20 +0000)]
Some more s/D-BUS/D-Bus/g
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1296
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 17:17:18 +0000 (17:17 +0000)]
autoconf love:
* use autoconf to check whether dbus_connection_close() is available and use it
if it is, don't do those checks based on the D-Bus version.
* Make use of dbus_bus_get_private() if it is available.
* Since D-Bus agreeed on a cononical way to write their name, use that way in
configure.ac.
* Add configure options to define the UNIX user/group for avahi-autoipd
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1295
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 15:48:34 +0000 (15:48 +0000)]
add service file fragment for _sftp-ssh._tcp (closes #58)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1294
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 15:14:22 +0000 (15:14 +0000)]
fix service type database creation on solaris
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1293
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 01:56:55 +0000 (01:56 +0000)]
add new option --force-bind
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1292
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 01:26:11 +0000 (01:26 +0000)]
set the interface to IFF_UP before using it. handle POLLERR on the packet socket properly by recreating our socket.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1291
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 31 Aug 2006 00:16:27 +0000 (00:16 +0000)]
implement command line parsing, signal handling, daemonization
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1290
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 30 Aug 2006 21:20:53 +0000 (21:20 +0000)]
a few fixes in netlink handling
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1289
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 30 Aug 2006 21:18:14 +0000 (21:18 +0000)]
document iface.h to ease porting
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1288
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 30 Aug 2006 19:51:54 +0000 (19:51 +0000)]
add netlink support
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1287
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 30 Aug 2006 16:07:26 +0000 (16:07 +0000)]
add initial version of a RFC3927/IPv4LL implementation
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1286
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 30 Aug 2006 15:31:54 +0000 (15:31 +0000)]
fix a few invalid calls to avahi_s_entry_group_xxx()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1285
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 30 Aug 2006 14:05:14 +0000 (14:05 +0000)]
fix random seed initialization
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1284
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 25 Aug 2006 19:38:38 +0000 (19:38 +0000)]
update "homepage" target to install the tarball on the web site
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1282
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 25 Aug 2006 19:25:29 +0000 (19:25 +0000)]
add findstatic.pl script from Andrew Tridgell to SVN. It's useful for finding
symbols that are exported but shouldn't. It's not intended for shipping in the
tarballs. However it needed a safe place to live, since I use it regularly
during Avahi development.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1281
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 25 Aug 2006 19:22:57 +0000 (19:22 +0000)]
add some Avahi artwork to SVN. (This is not shipped in the tarball, just needed a safe place)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1280
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 25 Aug 2006 19:20:54 +0000 (19:20 +0000)]
update NEWS file
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1279
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 25 Aug 2006 19:17:08 +0000 (19:17 +0000)]
fix python bindings for the service type database when GDBM is used
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1278
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 25 Aug 2006 18:55:50 +0000 (18:55 +0000)]
fix build on MacOSX (patch from Sjoerd Simmons, closes #51)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1277
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 25 Aug 2006 18:46:16 +0000 (18:46 +0000)]
update NEWS file
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1276
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 25 Aug 2006 18:45:36 +0000 (18:45 +0000)]
fix a gcc warning
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1275
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 25 Aug 2006 18:45:17 +0000 (18:45 +0000)]
update to newer dns_sd.h copy from Apple
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1274
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 24 Aug 2006 23:27:05 +0000 (23:27 +0000)]
bump sonames
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1273
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 24 Aug 2006 23:24:28 +0000 (23:24 +0000)]
update NEWS file
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1272
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 24 Aug 2006 21:37:18 +0000 (21:37 +0000)]
rethink r1269 once again: instead of updating the entry group state in
EntryGroup::Commit() immediately (which would cause the state change callback
function to be called from the current stack frame which might be roblem for
some programs), do it asynchronously again, like in pre-r1269. However, modify
GetState() to always return the real state by asking the server if we have
doubt that our locally cached state is out-of-date.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1271
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 24 Aug 2006 21:04:24 +0000 (21:04 +0000)]
implement DNSServiceUpdateRecord() for updating existing TXT records (closes #56)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1270
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 24 Aug 2006 21:02:46 +0000 (21:02 +0000)]
If the client calls EntryGroup::Commit update the local state immediately and
do not delay this until the server informed us about the state change
asynchronously. The reason for this change is that otherwise all functions that
access the entry group depend on the out-of-date state for their validity
checks, which is obviously a bad idea.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1269
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 24 Aug 2006 17:58:02 +0000 (17:58 +0000)]
follow Bonjour's handling of subtypes when browsing/registering services (closes #41)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1268
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 23 Aug 2006 23:36:28 +0000 (23:36 +0000)]
do not alllow setting the host name to the one that is currently used anyway. return AVAHI_ERR_NO_CHANGE in that case
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1267
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 23 Aug 2006 23:35:46 +0000 (23:35 +0000)]
add new error code AVAHI_ERR_NO_CHANGE
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1266
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 23 Aug 2006 23:04:46 +0000 (23:04 +0000)]
- allow access to the DBUS SetHostName method only to users in the group "netdev" (and make that group name configurable on ./configure
- bump version number
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1265
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 22 Aug 2006 02:28:46 +0000 (02:28 +0000)]
add man page for avahi-set-host-name
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1264
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 22 Aug 2006 02:27:14 +0000 (02:27 +0000)]
add new utility "avahi-set-host-name" for changing the mDNS host name during runtime
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1263
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 22 Aug 2006 02:26:11 +0000 (02:26 +0000)]
remove unnecessary #include
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1262
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 22 Aug 2006 02:15:27 +0000 (02:15 +0000)]
implement avahi_client_set_host_name() as wrapper around the new DBUS function o.fd.A.S.SetHostName
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1261
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 22 Aug 2006 01:49:25 +0000 (01:49 +0000)]
add new D-Bus API function SetHostName to change the host name of the running avahi daemon
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1260
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 22 Aug 2006 01:48:48 +0000 (01:48 +0000)]
fix AVAHI_SERVER_REGISTERING handling
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1259
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 22 Aug 2006 01:48:13 +0000 (01:48 +0000)]
fix logic of AVAHI_SERVER_REGISTERING state handling. Many clients assumed that
this state would follow only on a AVAHI_SERVER_COLLISION state. However, this
is not true, hence we need to handle this state transition, too. Mostly the
same as we already handle AVAHI_SERVER_COLLISION.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1258
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 22 Aug 2006 01:44:27 +0000 (01:44 +0000)]
documentation update
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1257
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 22 Aug 2006 01:43:51 +0000 (01:43 +0000)]
regenerate wild carded service names when the host name changed
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1256
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 22 Aug 2006 00:02:24 +0000 (00:02 +0000)]
fix an evil typo which removed the glib example from doxygen
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1255
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 22 Aug 2006 00:01:42 +0000 (00:01 +0000)]
a few documentation updates
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1254
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 21 Aug 2006 23:34:46 +0000 (23:34 +0000)]
build docs for avahi-core only if --enable-core-docs was passed to configure. Build GLIb docs only when glib is enabled, same for qt3/qt4
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1253
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 21 Aug 2006 23:32:27 +0000 (23:32 +0000)]
don't built any "include graphs" with doxygen
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1252
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 21 Aug 2006 23:31:59 +0000 (23:31 +0000)]
don't define "docdir" which is being defined by autoconf internally
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1251
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 21 Aug 2006 20:53:24 +0000 (20:53 +0000)]
follow Bonjour's hostname number incrementing algorithm for handling conflicts. On collision the name "foobar" will now become "foobar-2" and not "foobar2". (closes #40)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1250
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 21 Aug 2006 20:02:00 +0000 (20:02 +0000)]
don't remove static services from the avahi daemon on SIGHUP. Add static hosts properly to avahi daemon on SIGHUP. (closes #52)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1249
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 21 Aug 2006 16:43:44 +0000 (16:43 +0000)]
allow passing NULL as callback function in DNSServiceRegister() as documented by Apple. (closes #57)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1248
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 21 Aug 2006 14:43:05 +0000 (14:43 +0000)]
fix build if avahi is built without gtk but with python support (closes #54)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1247
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 20 Aug 2006 01:16:06 +0000 (01:16 +0000)]
fix build when neither HAVE_GDBM nor HAVE_DBM is specified
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1246
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 6 Aug 2006 11:54:31 +0000 (11:54 +0000)]
Allow storing the service type database as Solaris DBM file, alternatively to gdbm. The latter is still recommended. (Patch from Padraig O'Briain)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1245
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 6 Aug 2006 11:53:01 +0000 (11:53 +0000)]
fix a few typos in doxygen comments
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1244
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 22 Jul 2006 12:57:42 +0000 (12:57 +0000)]
correct some things in the NEWS file
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1242
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 22 Jul 2006 12:40:09 +0000 (12:40 +0000)]
update NEWS file for 2.6.12
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1241
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 22 Jul 2006 12:39:40 +0000 (12:39 +0000)]
bump package version and sonames
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1240
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 22 Jul 2006 00:52:50 +0000 (00:52 +0000)]
disable time events after they have been dispatched
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1239
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Tue, 18 Jul 2006 22:25:22 +0000 (22:25 +0000)]
* Fix avhai builds with newer (>= 0.62) dbus that deprecated
dbus_connection_disconnect
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1238
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 18 Jul 2006 19:36:31 +0000 (19:36 +0000)]
* several glib adapter cleanups:
- always translate glib io events into avahi io events and back
- fix io event destruction
- disallow recursive dispatching
- always set *timeout in the GSource check_func
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1237
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 15 Jul 2006 20:15:30 +0000 (20:15 +0000)]
work around a limitation in Gentoo's DBUS build (which is compiled with --disable-checks): never try to unregister non-existing object paths from DBUS. (closes #50 - this time for sure)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1235
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 15 Jul 2006 11:48:31 +0000 (11:48 +0000)]
properly finish getopt argument table with a NULL entry (see #50)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1234
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 9 Jul 2006 21:33:56 +0000 (21:33 +0000)]
make avahi-test run on Solaris (patch by Padraig O'Briain)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1233
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 9 Jul 2006 13:49:58 +0000 (13:49 +0000)]
flush stdout after every line, this makes avahi-browse more useful in shell scripts where pipes are involved (closes #48)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1232
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 6 Jul 2006 02:02:47 +0000 (02:02 +0000)]
* add two more service types to database (closes #47)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1231
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 25 Jun 2006 13:34:43 +0000 (13:34 +0000)]
update NEWS file for 0.6.11
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1229
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 25 Jun 2006 13:34:15 +0000 (13:34 +0000)]
add PulseAudio service types
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1228
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 25 Jun 2006 13:33:44 +0000 (13:33 +0000)]
* bump version number
* bump sonames
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1227
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 22 Jun 2006 10:16:09 +0000 (10:16 +0000)]
P_RECVIF portability for Solaris
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1226
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 21 Jun 2006 23:30:47 +0000 (23:30 +0000)]
fix segfault when destructing multicast lookup objects
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1225
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 21 Jun 2006 22:38:58 +0000 (22:38 +0000)]
fix a mem leak
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1224
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 21 Jun 2006 21:34:59 +0000 (21:34 +0000)]
merge solaris port of iface-pfroute.c (contributed by Padraig O'Briain)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1223
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 21 Jun 2006 21:29:37 +0000 (21:29 +0000)]
if RLIMIT_NPROC is not available but used in the config file, don't fail but warn
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1222
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 24 May 2006 18:50:58 +0000 (18:50 +0000)]
Merge patch from Frederic Peters, fixing doxygen.m4 for newer autoconf versions (closes #42)
Thanks, Frederic!
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1221
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 19 May 2006 10:53:11 +0000 (10:53 +0000)]
* Fix pthread autoconf checks for Solaris (original patch from Sjoerd Simmons)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1220
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 15 May 2006 15:17:03 +0000 (15:17 +0000)]
sunstudio cc compat (contributed by Padraig O'Briain)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1219
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 14 May 2006 23:39:42 +0000 (23:39 +0000)]
brown paperbag: actually reserve memory for our AvahiAddress before parsing data into it. (Reported by Padraig O'Briain)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1217
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
James Willcox [Mon, 8 May 2006 02:27:25 +0000 (02:27 +0000)]
* make the event loop background again
* ensure the event loop is finished before freeing the poll object
* set Client.Handle to null immediately after freeing it
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1216
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
James Willcox [Sun, 7 May 2006 18:51:06 +0000 (18:51 +0000)]
add a missing lock, and make the event processing thread non-background.
fixes some crashes with Dispose()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1215
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 5 May 2006 14:06:06 +0000 (14:06 +0000)]
fix check for sysctl.h
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1213
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 5 May 2006 13:43:26 +0000 (13:43 +0000)]
call _stop() instead of _quit() in _free(), to avoid hitting an assert()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1212
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 4 May 2006 23:57:10 +0000 (23:57 +0000)]
update NEWS file for avahi 0.6.10
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1211
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 4 May 2006 22:59:31 +0000 (22:59 +0000)]
bump sonames
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1210
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 4 May 2006 21:50:44 +0000 (21:50 +0000)]
actually enforce that we never print more than 20 bytes from arbitrary records in avahi_record_to_string()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1209
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 4 May 2006 20:23:40 +0000 (20:23 +0000)]
bump version number to 0.6.10
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1208
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 4 May 2006 20:22:23 +0000 (20:22 +0000)]
fix sendmsg() calls on FreeBSD and AMD64 kernels with 32bit userspace. (Closes #35 and #19)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1207
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Sebastien Estienne [Tue, 2 May 2006 15:10:31 +0000 (15:10 +0000)]
Patch from Padraig O'Briain <Padraig.Obriain@sun.com> to build avahi on Solaris
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1206
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 26 Apr 2006 21:14:22 +0000 (21:14 +0000)]
Merge patch "avahi-compat-error-return.patch" from Stanislav Brabec/JP Rosevear, see #30
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1205
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 24 Apr 2006 21:54:09 +0000 (21:54 +0000)]
if validation of incoming traffic fails, give the user a clue that this might be related to an UTF8 problem
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1204
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 24 Apr 2006 21:53:18 +0000 (21:53 +0000)]
add an extra validity check when parsing mDNS queries and records in packets
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1203
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 24 Apr 2006 21:52:34 +0000 (21:52 +0000)]
add an utf8 check when unescaping domains - essentially this means that all domain related functions will now consider strings with invalid utf8 as invalid (see #21)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1202
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 24 Apr 2006 21:51:00 +0000 (21:51 +0000)]
add utf8 validity check API (based on the glib's implementation and hence mostly identical to DBUS's implementation)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1201
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 24 Apr 2006 21:47:27 +0000 (21:47 +0000)]
fix compilation if chroot() is not available. (see #32)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1200
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 24 Apr 2006 13:39:50 +0000 (13:39 +0000)]
make the construction of the ancillary data for sendmsg() a bit more robust. (see #32)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1199
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 24 Apr 2006 01:53:41 +0000 (01:53 +0000)]
add a note about the new DBUS reconnection behaviour of avahi-daemon
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1198
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 24 Apr 2006 01:48:56 +0000 (01:48 +0000)]
reconnect if the DBUS daemon kicks avahi-daemon. Since the DBUS system bus socket resides outside the chroot() environment this will definitely fail if you enable chroot(). In short: this is probably not what most people want to use. (closes #25)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1197
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 24 Apr 2006 00:56:14 +0000 (00:56 +0000)]
fix bad memory access in simple-procotol.c's debug output
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1196
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 24 Apr 2006 00:48:36 +0000 (00:48 +0000)]
filter out double DNS server entries
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1195
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 24 Apr 2006 00:32:27 +0000 (00:32 +0000)]
strip characters that are not in the set [a-zA-Z0-9-] from the local host name before using it in mDNS. (see #21)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1194
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 24 Apr 2006 00:18:41 +0000 (00:18 +0000)]
* don't call dbus_connection_get_is_connected() for a NULL dbus connection (closes #26)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1193
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe