Lennart Poettering [Tue, 8 May 2007 22:12:10 +0000 (22:12 +0000)]
work around KDE misbehaviour. (Patch from Martin Putt; Closes #135)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1460
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 8 May 2007 22:01:57 +0000 (22:01 +0000)]
fix a small typo (patch from mezz; closes #138)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1459
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 8 May 2007 21:59:27 +0000 (21:59 +0000)]
Add a few new service types from Adobe programs to the database (Closes: #136)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1458
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 8 May 2007 21:57:32 +0000 (21:57 +0000)]
rename "zssh" to "bssh" and "zvnc" to "bvnc" to avoid a name collision with an already existing tool of the same name. (on request of the Debian people)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1457
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 8 May 2007 21:52:54 +0000 (21:52 +0000)]
Don't pick the first 256 and the last 256 IP addresses from the IPv4LL range, as required by section 2.1 of the ipv4ll spec. (Noticed by grinsbalu)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1456
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 21 Apr 2007 19:30:04 +0000 (19:30 +0000)]
add svn:ignore for avahi-ui-sharp
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1453
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 21 Apr 2007 18:51:49 +0000 (18:51 +0000)]
Add missing #ifdef to avoid build failure on system having neither sys/inotify.h
nor linux/inotify.h (Patch from Sven Wegener)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1452
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 21 Apr 2007 18:48:27 +0000 (18:48 +0000)]
Use nodist for scripts that are created at build time, else it may happen that
we bundle them and cause problems on the target systems. (Patch from Sven Wegener)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1451
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
James Willcox [Sat, 21 Apr 2007 02:26:14 +0000 (02:26 +0000)]
fix distcheck
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1450
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 20 Apr 2007 14:17:22 +0000 (14:17 +0000)]
adda note to avahi_service_resolver_new() to remind people to pass the correct interface/protocol args they received via avahi_service_browser_new()'s callback function
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1449
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 20 Apr 2007 13:17:49 +0000 (13:17 +0000)]
avahi-ui: fix segfault when browsing for services in non-existing domains or domains that don't have any services assigned.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1448
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 20 Apr 2007 10:26:05 +0000 (10:26 +0000)]
try to fix make distcheck
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1447
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
James Willcox [Thu, 19 Apr 2007 23:16:56 +0000 (23:16 +0000)]
add a 'connect' button :)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1446
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
James Willcox [Thu, 19 Apr 2007 23:12:35 +0000 (23:12 +0000)]
add a makefile rule for zssh.exe, and add a .pc file for avahi-ui-sharp
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1445
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
James Willcox [Thu, 19 Apr 2007 21:01:45 +0000 (21:01 +0000)]
add avahi-ui-sharp
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1444
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 19 Apr 2007 17:56:30 +0000 (17:56 +0000)]
kill avahi autoipd when dhclient enters RELEASE state. (following debian bug 419794)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1443
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 18 Apr 2007 20:49:02 +0000 (20:49 +0000)]
add gcc ssp note to NEWS
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1441
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 18 Apr 2007 20:39:57 +0000 (20:39 +0000)]
Yes, I suck. This commit contains two totally unrelated changes and I really
should commit them seperately, but I am ignoring my own rules, and do it in a
single commit. I suck. I really do. I am sorry. Please don't try this at home.
And please don't tell your children!
* Show properly that avahi-autoipd is not built if libdaemon is missing (Closes #133)
* Enable stack-smashing protection if available and wokring. Patch from tedp. (Closes #105)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1440
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 18 Apr 2007 20:29:34 +0000 (20:29 +0000)]
add missing header file
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1439
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 18 Apr 2007 20:22:27 +0000 (20:22 +0000)]
add a simple example how to properly let the IP stack choose a free port number
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1438
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 17 Apr 2007 11:49:54 +0000 (11:49 +0000)]
streamline esktop file names
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1437
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 17 Apr 2007 11:35:58 +0000 (11:35 +0000)]
no need to make the .desktop files executable
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1436
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 17 Apr 2007 11:35:15 +0000 (11:35 +0000)]
build fixes for .desktop files
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1435
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 17 Apr 2007 11:31:42 +0000 (11:31 +0000)]
add zssh and zvnc desktop files
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1434
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 17 Apr 2007 10:44:06 +0000 (10:44 +0000)]
prepare NEWS for 0.6.18
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1433
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 17 Apr 2007 10:30:34 +0000 (10:30 +0000)]
bump version number and libtool revision
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1432
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 17 Apr 2007 10:30:09 +0000 (10:30 +0000)]
fix an UI label
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1431
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Tue, 17 Apr 2007 10:29:49 +0000 (10:29 +0000)]
build doxygen docs for avahi-ui
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1430
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 15 Apr 2007 23:20:42 +0000 (23:20 +0000)]
HIGify avahi-ui, make the API more GTK conform
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1429
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 15 Apr 2007 13:04:30 +0000 (13:04 +0000)]
add missing header file inotify-nosys.h to build
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1428
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 15 Apr 2007 00:35:11 +0000 (00:35 +0000)]
Cleanup static services subsystem: properly notice when static hosts are removed or are added, other fixes
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1427
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 15 Apr 2007 00:34:30 +0000 (00:34 +0000)]
Add inotify support for /ect/avahi/services and /etc/avahi/hosts. Based on a patch from "behanw". (Closes #95, #33)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1426
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 14 Apr 2007 22:38:15 +0000 (22:38 +0000)]
Remove an invalid optimization in avahi_simple_poll_run(). (Closes #132)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1425
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 14 Apr 2007 22:19:52 +0000 (22:19 +0000)]
Fix error message when passing invalid command line arguments. I admit defeat, tedp wins, merging his patch. (Closes #88)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1424
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 13 Apr 2007 09:43:19 +0000 (09:43 +0000)]
check both !isatty() and $DISPLAY before assuming we ar running from an X11 session
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1423
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 13 Apr 2007 00:12:27 +0000 (00:12 +0000)]
exec ssh inside a terminal if not attached to a tty
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1422
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 12 Apr 2007 23:46:19 +0000 (23:46 +0000)]
increase netlink buffer size (hopefully closes #106)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1421
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 12 Apr 2007 23:40:57 +0000 (23:40 +0000)]
add a regression test for #84 contributed by tedp. (closes #84)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1420
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 12 Apr 2007 23:33:59 +0000 (23:33 +0000)]
fix a badly chosen log level. patch from tedp. closes #108
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1419
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 12 Apr 2007 23:26:46 +0000 (23:26 +0000)]
fix a typo in configure.ac. found by tedp. closes #109
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1418
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 12 Apr 2007 23:22:29 +0000 (23:22 +0000)]
fixup icon the same way we already fixed up the desktop file icon
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1417
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 12 Apr 2007 23:18:35 +0000 (23:18 +0000)]
use network-wired instead of gnome-nettool as an icon. Stealing icons sucks. network-wired is a Tango icon name, hence probably a better thing to use. Closes #111
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1416
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 12 Apr 2007 22:51:09 +0000 (22:51 +0000)]
fix a typo in configure.ac. Patch from ahanke. Closes #112
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1415
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 12 Apr 2007 22:14:40 +0000 (22:14 +0000)]
add the ability to dump the service type database to avahi-browse
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1414
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 12 Apr 2007 21:59:02 +0000 (21:59 +0000)]
fix fedora init script exit code (closes #115) patch from mbacovsk@redhat.com
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1413
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 12 Apr 2007 21:35:59 +0000 (21:35 +0000)]
rework service database, pacth from uws (closes #117)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1412
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 12 Apr 2007 21:28:59 +0000 (21:28 +0000)]
add gcc stack protector m4 to svn. unfortunately we cannot enable it (yet), because it breaks our build in avahi-glib, due to some unknonwn reason. tedp, help me! (re #105)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1411
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 12 Apr 2007 21:27:29 +0000 (21:27 +0000)]
always build with -fPIC to allow address space randomization
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1410
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 12 Apr 2007 21:04:32 +0000 (21:04 +0000)]
Improve compatibility with Bonjour's libdns_sd (Patch from Chris Rivera, closes #118)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1409
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 12 Apr 2007 20:59:37 +0000 (20:59 +0000)]
remove a deprecation warning (patch from DamjanGeorgievski) (closes #129)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1408
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 12 Apr 2007 20:53:56 +0000 (20:53 +0000)]
allow adding of generic DNS RRs properly. Patch from Sjoerd Simons again (closes #130)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1407
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 12 Apr 2007 20:48:28 +0000 (20:48 +0000)]
add apt to services types, pacth from "uws". (closes #116)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1406
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 12 Apr 2007 20:43:29 +0000 (20:43 +0000)]
Fix registration of really large records, like it is necessary for XEP-0174 (jabber+bonjour)
Based on an original patch by Sjoerd Simons, but heavily modified. (Closes #131)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1405
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 12 Apr 2007 19:14:34 +0000 (19:14 +0000)]
update EXTRA_DIST
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1404
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 12 Apr 2007 19:08:34 +0000 (19:08 +0000)]
hide avahi-autoipd.action
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1403
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 12 Apr 2007 18:57:31 +0000 (18:57 +0000)]
port avahi-autoipd to FreeBSD (original patch from Bruce M Simpson)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1402
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 12 Apr 2007 16:50:00 +0000 (16:50 +0000)]
avahi-pyhton build fix contributed by Stanislav Brabec
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1401
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Fri, 30 Mar 2007 19:20:29 +0000 (19:20 +0000)]
* avahi-core/entry.c: Correctly reset register_time_event when leaving the REGISTERING state, not just when calling _reset
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1400
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Sat, 24 Mar 2007 11:41:03 +0000 (11:41 +0000)]
* Revert fix from R1398
* avahi-core/iface.c#avahi_interface_monitor_get_hw_interface - Change assert to idx >= 0, this is the correct fix incase a platform has interface indexes starting from 0
* Fix incorrect AVAHI_PROTO_UNSPEC to AVAHI_IF_UNSPEC
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1399
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Sat, 24 Mar 2007 07:37:00 +0000 (07:37 +0000)]
* avahi-common/address.h#AVAHI_IF_INDEX check should be interface > 0, not interface >= 0, otherwise the rest of Avahi gets upset, and when the rest of Avahi gets upset... (Closes #119)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1398
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 8 Feb 2007 11:39:19 +0000 (11:39 +0000)]
hide avahi-ui.pc from svn
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1396
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 8 Feb 2007 11:38:20 +0000 (11:38 +0000)]
if no default service name is specified, just select the first one we find
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1395
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 8 Feb 2007 11:33:36 +0000 (11:33 +0000)]
Fix service type database building on Solaris (Patch from Padraig O'Briain)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1394
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 7 Feb 2007 13:17:52 +0000 (13:17 +0000)]
fix pkg-config file generation for avahi-ui
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1393
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 7 Feb 2007 13:14:52 +0000 (13:14 +0000)]
ship avahi-ui.pc.in
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1392
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 7 Feb 2007 11:54:54 +0000 (11:54 +0000)]
Drop "Remote Terminal on" prefix since it is usually superfluous
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1391
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 7 Feb 2007 11:43:43 +0000 (11:43 +0000)]
add GTK properties
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1390
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 7 Feb 2007 10:52:09 +0000 (10:52 +0000)]
overload zssh to zvnc
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1389
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Wed, 7 Feb 2007 10:32:54 +0000 (10:32 +0000)]
Commit first version of avahi-ui and zssh
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1388
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 5 Feb 2007 21:39:17 +0000 (21:39 +0000)]
macosx portability: use GLOB_xxx macros only if they are available
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1387
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 5 Feb 2007 13:45:44 +0000 (13:45 +0000)]
add sys/types.h for openbsd compat
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1386
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 4 Feb 2007 20:26:19 +0000 (20:26 +0000)]
prepare NEWS for 0.6.17
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1384
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 4 Feb 2007 17:12:18 +0000 (17:12 +0000)]
move assert check before access
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1383
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 4 Feb 2007 16:22:09 +0000 (16:22 +0000)]
minor cleanups it netlink handling code:
* fix warning message
* don't warn if netlink messages from other processes have been received
* don't access ucreds before checking cmsg validity
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1382
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 4 Feb 2007 15:01:41 +0000 (15:01 +0000)]
Use SCM_CREDENTIALS for authentication of netlink data from kernel
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1381
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 4 Feb 2007 11:39:06 +0000 (11:39 +0000)]
fix build of the service-type-database if srcdir != builddir (Closes #100)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1380
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 2 Feb 2007 14:11:07 +0000 (14:11 +0000)]
re #94: don't accept "localhost" as hostname; read distribution id from /etc/lsb_release.
This is not a complete fix for this issue, since it doesn't work in a chroot,
and it doesn't support /usr/bin/lsb_release.
Oh, and did I mention how much the idea of having /usr/bin/lsb_release sucks?
On Debian that is a Python script. i.e. on every Avahi startup we'd have to
load an entire python interpreter into memory! That takes ages! I am not quite
sure if we really should pursue this bug any further because of this problem.
First, Debian should replace lsb_release by a saner implementation. In effect,
I will now mark this bug as WONTFIX.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1379
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 2 Feb 2007 13:45:43 +0000 (13:45 +0000)]
Add CGI support to avahi-bookmarks. (Closes: #91) -- Thanks for the patch!
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1378
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Tue, 30 Jan 2007 06:38:07 +0000 (06:38 +0000)]
* Fix typo of failure, thanks to Michael Burns (Closes #98)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1377
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Trent Lloyd [Sun, 21 Jan 2007 10:28:59 +0000 (10:28 +0000)]
* Add OLPC Presence service to the service-type-database
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1376
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 6 Jan 2007 17:35:10 +0000 (17:35 +0000)]
refer to some wiki stories from the man pages
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1375
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 6 Jan 2007 16:51:42 +0000 (16:51 +0000)]
* handle NULL sdrefs gracefully.
* fix mutex locking order in DNSProcessResult
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1374
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 6 Jan 2007 16:45:34 +0000 (16:45 +0000)]
Pass AM_CFLAGS instead of CFLAGS when build the libdns_sd test tool
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1373
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 6 Jan 2007 16:16:41 +0000 (16:16 +0000)]
fix a bogus error condition
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1372
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 6 Jan 2007 16:10:47 +0000 (16:10 +0000)]
create unicast IPv4 socket oly if IPv4 is enabled, same for unicast IPv6
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1371
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sat, 6 Jan 2007 16:10:01 +0000 (16:10 +0000)]
* set IPV6_V6ONLY for unicast DNS sockets, too
* print a warning when FIONREAD returns an invalid size
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1370
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 5 Jan 2007 22:43:03 +0000 (22:43 +0000)]
debian init scripts: print a nice warning when not starting avahi due to settings in /etc/default
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1369
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 5 Jan 2007 22:36:12 +0000 (22:36 +0000)]
build avahi-discover only if either dbm or gdbm is available (patch from swegener/Gentoo)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1368
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 5 Jan 2007 22:19:52 +0000 (22:19 +0000)]
bump version number and SONAMES
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1367
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 5 Jan 2007 22:19:28 +0000 (22:19 +0000)]
add new config options "publish-aaaa-on-ipv4=" and "publish-a-on-ipv6="
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1366
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 5 Jan 2007 22:18:34 +0000 (22:18 +0000)]
* optionally, register A RR via IPv6, AAAA RR via IPv4 (Closes #62)
* add new API function avahi_server_get_config()
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1365
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Fri, 5 Jan 2007 00:21:19 +0000 (00:21 +0000)]
Rework DBus connection handling: use a private DBusConnection instead of a shared instance. (Closes #89)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1364
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Thu, 4 Jan 2007 23:53:39 +0000 (23:53 +0000)]
Some more ia64 fixes. (Closes #90)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1363
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Mon, 1 Jan 2007 11:30:33 +0000 (11:30 +0000)]
Modify C++ testing code to pass when CXXFLAGS contains -Werror. (Closes #75) (BTW, -Werror is a call for trouble anyway due to differring gcc versions)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1362
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 31 Dec 2006 17:33:57 +0000 (17:33 +0000)]
Ignore EAGAIN errors on recvmsg() (Closes #60)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1361
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 31 Dec 2006 17:19:30 +0000 (17:19 +0000)]
remove yet another occurence of dbus_message_iter_get_array_len() due to obsolescence (similar in style to r1357)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1360
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 31 Dec 2006 17:13:39 +0000 (17:13 +0000)]
Fix documentation of avahi_{entry_group|client}_new(): clarify that the specified callback function is called for the first time from withing the avahi_xxx_new() context. (Closes #65)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1359
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 31 Dec 2006 16:52:13 +0000 (16:52 +0000)]
Fix error message when passing an invalid command line option (Closes #88)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1358
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 31 Dec 2006 16:39:16 +0000 (16:39 +0000)]
Don't use dbus_message_iter_get_array_len() since it is obsolete
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1357
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe
Lennart Poettering [Sun, 31 Dec 2006 15:44:16 +0000 (15:44 +0000)]
Check for a working C++ compiler in configure.ac (Closes #75) Thanks, tedp!
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1356
941a03a8-eaeb-0310-b9a0-
b1bbd8fe43fe