]> git.meshlink.io Git - catta/log
catta
17 years agoupdate NEWS file
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

17 years agorethink r1269 once again: instead of updating the entry group state in
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

17 years agoimplement DNSServiceUpdateRecord() for updating existing TXT records (closes #56)
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

17 years agoIf the client calls EntryGroup::Commit update the local state immediately and
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

17 years agofollow Bonjour's handling of subtypes when browsing/registering services (closes...
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

17 years agodo not alllow setting the host name to the one that is currently used anyway. return...
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

17 years agoadd new error code AVAHI_ERR_NO_CHANGE
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

17 years ago- allow access to the DBUS SetHostName method only to users in the group "netdev...
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

17 years agoadd man page for avahi-set-host-name
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

17 years agoadd new utility "avahi-set-host-name" for changing the mDNS host name during runtime
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

17 years agoremove unnecessary #include
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

17 years agoimplement avahi_client_set_host_name() as wrapper around the new DBUS function o...
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

17 years agoadd new D-Bus API function SetHostName to change the host name of the running avahi...
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

17 years agofix AVAHI_SERVER_REGISTERING handling
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

17 years agofix logic of AVAHI_SERVER_REGISTERING state handling. Many clients assumed that
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

17 years agodocumentation update
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

17 years agoregenerate wild carded service names when the host name changed
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

17 years agofix an evil typo which removed the glib example from doxygen
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

17 years agoa few documentation updates
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

17 years agobuild docs for avahi-core only if --enable-core-docs was passed to configure. Build...
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

17 years agodon't built any "include graphs" with doxygen
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

17 years agodon't define "docdir" which is being defined by autoconf internally
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

17 years agofollow Bonjour's hostname number incrementing algorithm for handling conflicts. On...
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

17 years agodon't remove static services from the avahi daemon on SIGHUP. Add static hosts proper...
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

17 years agoallow passing NULL as callback function in DNSServiceRegister() as documented by...
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

17 years agofix build if avahi is built without gtk but with python support (closes #54)
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

17 years agofix build when neither HAVE_GDBM nor HAVE_DBM is specified
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

17 years agoAllow storing the service type database as Solaris DBM file, alternatively to gdbm...
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

17 years agofix a few typos in doxygen comments
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

17 years agocorrect some things in the NEWS file
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

17 years agoupdate NEWS file for 2.6.12
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

17 years agobump package version and sonames
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

17 years agodisable time events after they have been dispatched
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

17 years ago * Fix avhai builds with newer (>= 0.62) dbus that deprecated
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

17 years ago* several glib adapter cleanups:
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

17 years agowork around a limitation in Gentoo's DBUS build (which is compiled with --disable...
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

17 years agoproperly finish getopt argument table with a NULL entry (see #50)
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

17 years agomake avahi-test run on Solaris (patch by Padraig O'Briain)
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

17 years agoflush stdout after every line, this makes avahi-browse more useful in shell scripts...
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

17 years ago* add two more service types to database (closes #47)
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

17 years agoupdate NEWS file for 0.6.11
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

17 years agoadd PulseAudio service types
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

17 years ago* bump version number
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

17 years agoP_RECVIF portability for Solaris
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

17 years agofix segfault when destructing multicast lookup objects
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

17 years agofix a mem leak
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

17 years agomerge solaris port of iface-pfroute.c (contributed by Padraig O'Briain)
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

17 years agoif RLIMIT_NPROC is not available but used in the config file, don't fail but warn
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

17 years agoMerge patch from Frederic Peters, fixing doxygen.m4 for newer autoconf versions ...
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

18 years ago* Fix pthread autoconf checks for Solaris (original patch from Sjoerd Simmons)
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

18 years agosunstudio cc compat (contributed by Padraig O'Briain)
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

18 years agobrown paperbag: actually reserve memory for our AvahiAddress before parsing data...
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

18 years ago* make the event loop background again
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

18 years agoadd a missing lock, and make the event processing thread non-background.
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

18 years agofix check for sysctl.h
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

18 years agocall _stop() instead of _quit() in _free(), to avoid hitting an assert()
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

18 years agoupdate NEWS file for avahi 0.6.10
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

18 years agobump sonames
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

18 years agoactually enforce that we never print more than 20 bytes from arbitrary records in...
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

18 years agobump version number to 0.6.10
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

18 years agofix sendmsg() calls on FreeBSD and AMD64 kernels with 32bit userspace. (Closes #35...
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

18 years agoPatch from Padraig O'Briain <Padraig.Obriain@sun.com> to build avahi on Solaris
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

18 years agoMerge patch "avahi-compat-error-return.patch" from Stanislav Brabec/JP Rosevear,...
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

18 years agoif validation of incoming traffic fails, give the user a clue that this might be...
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

18 years agoadd an extra validity check when parsing mDNS queries and records in packets
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

18 years agoadd an utf8 check when unescaping domains - essentially this means that all domain...
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

18 years agoadd utf8 validity check API (based on the glib's implementation and hence mostly...
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

18 years agofix compilation if chroot() is not available. (see #32)
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

18 years agomake the construction of the ancillary data for sendmsg() a bit more robust. (see...
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

18 years agoadd a note about the new DBUS reconnection behaviour of avahi-daemon
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

18 years agoreconnect if the DBUS daemon kicks avahi-daemon. Since the DBUS system bus socket...
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

18 years agofix bad memory access in simple-procotol.c's debug output
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

18 years agofilter out double DNS server entries
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

18 years agostrip characters that are not in the set [a-zA-Z0-9-] from the local host name before...
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

18 years ago* don't call dbus_connection_get_is_connected() for a NULL dbus connection (closes...
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

18 years agoMerge patch "avahi-compat-txt-buffer-size.patch" from Stanislav Brabec/JP Rosevear...
Lennart Poettering [Mon, 24 Apr 2006 00:04:17 +0000 (00:04 +0000)]
Merge patch "avahi-compat-txt-buffer-size.patch" from Stanislav Brabec/JP Rosevear, see #30

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1192 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years agorevert to 1189
Sebastien Estienne [Sun, 23 Apr 2006 17:03:52 +0000 (17:03 +0000)]
revert to 1189

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1191 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years ago adding --enable-foo=auto , only for qt3 / qt4 for review
Sebastien Estienne [Sun, 23 Apr 2006 15:41:50 +0000 (15:41 +0000)]
 adding --enable-foo=auto , only for qt3 / qt4 for review

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1190 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years agofix regular expressions for enumerating service types
Lennart Poettering [Sat, 22 Apr 2006 12:57:39 +0000 (12:57 +0000)]
fix regular expressions for enumerating service types

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1189 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years agoadd a missing lock
James Willcox [Tue, 18 Apr 2006 13:46:49 +0000 (13:46 +0000)]
add a missing lock

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1188 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years agofix on SuSe when avahi-dnsconfd is started before avahi-daemon closing bug #31
Sebastien Estienne [Tue, 11 Apr 2006 15:55:14 +0000 (15:55 +0000)]
fix on SuSe when avahi-dnsconfd is started before avahi-daemon closing bug #31

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1187 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years agoadd airport entry in service-type db closing #28
Sebastien Estienne [Tue, 11 Apr 2006 15:52:58 +0000 (15:52 +0000)]
add airport entry in service-type db closing #28

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1186 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years agowhen resolving a service, don't return host name that was assigned to the actual...
Lennart Poettering [Sat, 1 Apr 2006 00:48:55 +0000 (00:48 +0000)]
when resolving a service, don't return host name that was assigned to the actual A/AAAA record, but the one specified in the SRV RR. This broke vhost setups with CNAMEs. (This fixes Ubuntu bug 36642)

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1185 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years ago convert an error log into an info log
Sebastien Estienne [Fri, 24 Mar 2006 14:05:06 +0000 (14:05 +0000)]
 convert an error log into an info log

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1182 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years agolog end_msg for debian initscript
Sebastien Estienne [Fri, 24 Mar 2006 14:02:47 +0000 (14:02 +0000)]
log end_msg for debian initscript

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1181 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years ago * Provide a slightly better description of what mcs is (Closes: #22)
Trent Lloyd [Tue, 21 Mar 2006 22:39:24 +0000 (22:39 +0000)]
 * Provide a slightly better description of what mcs is (Closes: #22)

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1180 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years agoproposed patch to close Ticket #20
Sebastien Estienne [Fri, 17 Mar 2006 12:28:37 +0000 (12:28 +0000)]
proposed patch to close Ticket #20

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1179 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years agoPatch from sjoerd simons to close Ticket #19 (Doesn't work on 64 bit machines with...
Sebastien Estienne [Fri, 17 Mar 2006 11:38:36 +0000 (11:38 +0000)]
Patch from sjoerd simons to close Ticket #19 (Doesn't work on 64 bit machines with 32 bit userspace)

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1178 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years agoadd an 'Error' property to ClientStateArgs
James Willcox [Thu, 9 Mar 2006 20:27:47 +0000 (20:27 +0000)]
add an 'Error' property to ClientStateArgs

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1177 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years ago * The patch was undone in svn revision 1160, adding it again and closing ticket #4
Sebastien Estienne [Thu, 9 Mar 2006 16:47:33 +0000 (16:47 +0000)]
 * The patch was undone in svn revision 1160, adding it again and closing ticket #4

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1176 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years agoimprove avahi-discover desktop file (from Emmet Hikory over slomo
Lennart Poettering [Fri, 3 Mar 2006 19:18:11 +0000 (19:18 +0000)]
improve avahi-discover desktop file (from Emmet Hikory over slomo

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1175 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years agoupdate NEWS file for 0.6.9
Lennart Poettering [Thu, 2 Mar 2006 18:55:15 +0000 (18:55 +0000)]
update NEWS file for 0.6.9

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1173 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years agoadd new method items() to ServiceTypeDatabase
Lennart Poettering [Thu, 2 Mar 2006 18:22:46 +0000 (18:22 +0000)]
add new method items() to ServiceTypeDatabase

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1172 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years agogentoo init script update
Lennart Poettering [Thu, 2 Mar 2006 17:05:13 +0000 (17:05 +0000)]
gentoo init script update

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1171 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years agoprepare release 0.6.9
Lennart Poettering [Thu, 2 Mar 2006 01:32:37 +0000 (01:32 +0000)]
prepare release 0.6.9

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1170 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years agodon't allow registration of address records for invalid host names according to avahi...
Lennart Poettering [Thu, 2 Mar 2006 01:30:15 +0000 (01:30 +0000)]
don't allow registration of address records for invalid host names according to avahi_is_valid_fqdn(). (closes #16, #17)

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1169 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years agoadd new API function avahi_is_valid_fqdn()
Lennart Poettering [Thu, 2 Mar 2006 01:28:03 +0000 (01:28 +0000)]
add new API function avahi_is_valid_fqdn()

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1168 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years agouse term "static host names" instead of "static hosts" in error messages
Lennart Poettering [Thu, 2 Mar 2006 01:22:55 +0000 (01:22 +0000)]
use term "static host names" instead of "static hosts" in error messages

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1167 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years agoadd proper argument validity checking to address and hostname resolvers (closes #18)
Lennart Poettering [Thu, 2 Mar 2006 00:59:10 +0000 (00:59 +0000)]
add proper argument validity checking to address and hostname resolvers (closes #18)

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1166 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

18 years agofix compilation if DBUS is disabled (closes: #15)
Lennart Poettering [Wed, 1 Mar 2006 23:51:22 +0000 (23:51 +0000)]
fix compilation if DBUS is disabled (closes: #15)

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1165 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe