]> git.meshlink.io Git - catta/log
catta
9 years agouse rand() because random() isn't available on windows
Sven M. Hallberg [Mon, 1 Sep 2014 22:45:28 +0000 (00:45 +0200)]
use rand() because random() isn't available on windows

9 years agosupport building a DLL (needs --disable-stack-protector right now)
Sven M. Hallberg [Mon, 1 Sep 2014 22:37:00 +0000 (00:37 +0200)]
support building a DLL (needs --disable-stack-protector right now)

9 years agoremove some C++ remnants
Sven M. Hallberg [Mon, 1 Sep 2014 22:35:51 +0000 (00:35 +0200)]
remove some C++ remnants

9 years agodon't call pthread_sigmask on windows (MingW defines it as a no-op anyway)
Sven M. Hallberg [Mon, 1 Sep 2014 21:53:00 +0000 (23:53 +0200)]
don't call pthread_sigmask on windows (MingW defines it as a no-op anyway)

9 years agoadd an alias for poll and implement pipe in terms of sockets
Sven M. Hallberg [Mon, 1 Sep 2014 21:21:27 +0000 (23:21 +0200)]
add an alias for poll and implement pipe in terms of sockets

9 years agowork around lack of fcntl on Windows
Sven M. Hallberg [Fri, 29 Aug 2014 18:31:44 +0000 (20:31 +0200)]
work around lack of fcntl on Windows

9 years agosilence "unused parameter" warning
Sven M. Hallberg [Fri, 29 Aug 2014 17:25:05 +0000 (19:25 +0200)]
silence "unused parameter" warning

9 years agoon Windows this argument is not marked const
Sven M. Hallberg [Fri, 29 Aug 2014 17:19:19 +0000 (19:19 +0200)]
on Windows this argument is not marked const

9 years agoavoid pointer type warnings from setsockopt
Sven M. Hallberg [Fri, 29 Aug 2014 17:17:11 +0000 (19:17 +0200)]
avoid pointer type warnings from setsockopt

9 years agoadd ioctl as a wrapper around ioctlsocket
Sven M. Hallberg [Fri, 29 Aug 2014 16:51:12 +0000 (18:51 +0200)]
add ioctl as a wrapper around ioctlsocket

9 years agosocket.c needs closesocket from internal.h
Sven M. Hallberg [Fri, 29 Aug 2014 12:25:00 +0000 (14:25 +0200)]
socket.c needs closesocket from internal.h

9 years agoset the include flag for windows compat headers in configure
Sven M. Hallberg [Fri, 29 Aug 2014 12:24:21 +0000 (14:24 +0200)]
set the include flag for windows compat headers in configure

9 years agoWindows does not support in_pktinfo.ipi_spec_dst
Sven M. Hallberg [Fri, 29 Aug 2014 11:46:41 +0000 (13:46 +0200)]
Windows does not support in_pktinfo.ipi_spec_dst

9 years agoadd (untested) implementation of sendmsg in terms of WSASendMsg
Sven M. Hallberg [Fri, 29 Aug 2014 11:24:17 +0000 (13:24 +0200)]
add (untested) implementation of sendmsg in terms of WSASendMsg

9 years agoadd (untested) implementation of recvmsg in terms of WSARecvMsg
Sven M. Hallberg [Thu, 28 Aug 2014 18:36:55 +0000 (20:36 +0200)]
add (untested) implementation of recvmsg in terms of WSARecvMsg

9 years agoaesthetics
Sven M. Hallberg [Thu, 28 Aug 2014 18:18:19 +0000 (20:18 +0200)]
aesthetics

9 years agolink the library with -lws2_32
Sven M. Hallberg [Wed, 27 Aug 2014 11:48:53 +0000 (13:48 +0200)]
link the library with -lws2_32

9 years agows2tcpip.h defines socklen_t
Sven M. Hallberg [Wed, 27 Aug 2014 10:28:57 +0000 (12:28 +0200)]
ws2tcpip.h defines socklen_t

9 years agouse closesocket() on windows
Sven M. Hallberg [Tue, 26 Aug 2014 19:39:24 +0000 (21:39 +0200)]
use closesocket() on windows

9 years agoignore .dirstamp
Sven M. Hallberg [Tue, 26 Aug 2014 19:38:16 +0000 (21:38 +0200)]
ignore .dirstamp

9 years agoMerge branch 'feature/windows' of github.com:everbase/catta into feature/windows
Sven M. Hallberg [Tue, 26 Aug 2014 19:14:55 +0000 (21:14 +0200)]
Merge branch 'feature/windows' of github.com:everbase/catta into feature/windows

9 years agooh, we need the machine field, not nodename. also some gitignores
Sven M. Hallberg [Tue, 26 Aug 2014 18:50:46 +0000 (20:50 +0200)]
oh, we need the machine field, not nodename. also some gitignores

9 years agosome gitignores
Sven M. Hallberg [Tue, 26 Aug 2014 18:50:46 +0000 (20:50 +0200)]
some gitignores

9 years agoadd uname and socklen_t to windows compat layer
Sven M. Hallberg [Tue, 26 Aug 2014 18:49:49 +0000 (20:49 +0200)]
add uname and socklen_t to windows compat layer

9 years agorename interface -> iface everywhere
Sven M. Hallberg [Tue, 26 Aug 2014 17:11:39 +0000 (19:11 +0200)]
rename interface -> iface everywhere

9 years agostart of a windows compatibility layer
Sven M. Hallberg [Tue, 26 Aug 2014 12:50:53 +0000 (14:50 +0200)]
start of a windows compatibility layer

9 years agofix pthread shared linking check for MingW32
Sven M. Hallberg [Mon, 25 Aug 2014 18:17:16 +0000 (20:17 +0200)]
fix pthread shared linking check for MingW32

9 years agoMerge pull request #1 from everbase/feature/stripdown
Niklas [Fri, 22 Aug 2014 08:24:06 +0000 (10:24 +0200)]
Merge pull request #1 from everbase/feature/stripdown

Stripdown

9 years agorename everything avahi to catta
Sven M. Hallberg [Wed, 20 Aug 2014 13:43:39 +0000 (15:43 +0200)]
rename everything avahi to catta

9 years agomove public headers into their own directory
Sven M. Hallberg [Wed, 20 Aug 2014 12:44:21 +0000 (14:44 +0200)]
move public headers into their own directory

9 years agoremove disused i18n stuff
Sven M. Hallberg [Wed, 20 Aug 2014 11:52:08 +0000 (13:52 +0200)]
remove disused i18n stuff

9 years agorename 'common' directory to 'm4' (because really, forget doxygen.mk)
Sven M. Hallberg [Wed, 20 Aug 2014 11:46:35 +0000 (13:46 +0200)]
rename 'common' directory to 'm4' (because really, forget doxygen.mk)

9 years agomove tests into their own directory
Sven M. Hallberg [Wed, 20 Aug 2014 11:43:56 +0000 (13:43 +0200)]
move tests into their own directory

9 years agoremove a left-over reference to boostrap.sh and autogen.sh
Sven M. Hallberg [Wed, 20 Aug 2014 11:23:52 +0000 (13:23 +0200)]
remove a left-over reference to boostrap.sh and autogen.sh

9 years agocombine avahi-core and avahi-common components into one library
Sven M. Hallberg [Wed, 20 Aug 2014 11:23:27 +0000 (13:23 +0200)]
combine avahi-core and avahi-common components into one library

9 years agoforgot to pull the publish_no_reverse change to the example.
Sven M. Hallberg [Tue, 19 Aug 2014 13:30:16 +0000 (15:30 +0200)]
forgot to pull the publish_no_reverse change to the example.

9 years agoremove some more unneeded checks
Sven M. Hallberg [Tue, 19 Aug 2014 13:22:05 +0000 (15:22 +0200)]
remove some more unneeded checks

9 years agoremove some unneeded tests
Sven M. Hallberg [Tue, 19 Aug 2014 13:15:03 +0000 (15:15 +0200)]
remove some unneeded tests

9 years agorequire C99
Sven M. Hallberg [Tue, 19 Aug 2014 12:53:38 +0000 (14:53 +0200)]
require C99

9 years agomove the rtnetlink.h/C99 check and always fail configure if it fails
Sven M. Hallberg [Tue, 19 Aug 2014 12:50:42 +0000 (14:50 +0200)]
move the rtnetlink.h/C99 check and always fail configure if it fails

9 years agoAC_HEADER_STDC is officially obsolescent
Sven M. Hallberg [Tue, 19 Aug 2014 12:43:08 +0000 (14:43 +0200)]
AC_HEADER_STDC is officially obsolescent

9 years agouse AC_LANG_SOURCE to silence warnings from autoconf
Sven M. Hallberg [Tue, 19 Aug 2014 12:37:04 +0000 (14:37 +0200)]
use AC_LANG_SOURCE to silence warnings from autoconf

9 years agowe don't need the C preprocessor on its own
Sven M. Hallberg [Tue, 19 Aug 2014 12:30:59 +0000 (14:30 +0200)]
we don't need the C preprocessor on its own

9 years agowe don't need the C++ compiler
Sven M. Hallberg [Tue, 19 Aug 2014 12:30:40 +0000 (14:30 +0200)]
we don't need the C++ compiler

9 years agoalways build core docs
Sven M. Hallberg [Tue, 19 Aug 2014 12:08:21 +0000 (14:08 +0200)]
always build core docs

9 years agoget rid of autogen.sh and bootstrap.sh
Sven M. Hallberg [Tue, 19 Aug 2014 12:02:41 +0000 (14:02 +0200)]
get rid of autogen.sh and bootstrap.sh

9 years agoenable config.publish_no_reverse in examples/core-publish-service to allow friendly...
Niklas Hofmann [Mon, 18 Aug 2014 19:01:38 +0000 (21:01 +0200)]
enable config.publish_no_reverse in examples/core-publish-service to allow friendly coexistence with a running avahi daemon

9 years agolet core-browse example look for the type used by core-publish example
Sven M. Hallberg [Mon, 18 Aug 2014 16:46:17 +0000 (18:46 +0200)]
let core-browse example look for the type used by core-publish example

9 years agocall ./configure from bootstrap.sh
Sven M. Hallberg [Mon, 18 Aug 2014 16:03:38 +0000 (18:03 +0200)]
call ./configure from bootstrap.sh

9 years agoput some useful info into the README
Sven M. Hallberg [Mon, 18 Aug 2014 15:53:28 +0000 (17:53 +0200)]
put some useful info into the README

9 years agoremove unneeded and per-user cruft from bootstrap.sh
Sven M. Hallberg [Mon, 18 Aug 2014 15:44:19 +0000 (17:44 +0200)]
remove unneeded and per-user cruft from bootstrap.sh

9 years agoadd some ignores
Sven M. Hallberg [Mon, 18 Aug 2014 15:19:13 +0000 (17:19 +0200)]
add some ignores

9 years agokill some more references to removed stuff
Sven M. Hallberg [Mon, 18 Aug 2014 15:15:03 +0000 (17:15 +0200)]
kill some more references to removed stuff

9 years ago./configure doesn't belong in autogen.sh
Sven M. Hallberg [Mon, 18 Aug 2014 15:00:56 +0000 (17:00 +0200)]
./configure doesn't belong in autogen.sh

9 years agoremove i18n from the build alltogether
Sven M. Hallberg [Mon, 18 Aug 2014 14:59:43 +0000 (16:59 +0200)]
remove i18n from the build alltogether

9 years agomake avahi_init_i18n a no-op when compiling without NLS
Sven M. Hallberg [Mon, 18 Aug 2014 14:52:19 +0000 (16:52 +0200)]
make avahi_init_i18n a no-op when compiling without NLS

9 years agodon't require GETTEXT_PACKAGE unless compiling with ENABLE_NLS
Sven M. Hallberg [Mon, 18 Aug 2014 14:51:16 +0000 (16:51 +0200)]
don't require GETTEXT_PACKAGE unless compiling with ENABLE_NLS

9 years agoremove references to removed components from po/POTFILES.in
Sven M. Hallberg [Mon, 18 Aug 2014 14:47:53 +0000 (16:47 +0200)]
remove references to removed components from po/POTFILES.in

9 years agoremove all but avahi-common and avahi-core and adjust build system accordingly
Sven M. Hallberg [Mon, 18 Aug 2014 13:02:55 +0000 (15:02 +0200)]
remove all but avahi-common and avahi-core and adjust build system accordingly

9 years agofix avahi_netlink_new to allow multiple netlinks per process
Niklas Hofmann [Fri, 8 Aug 2014 14:59:39 +0000 (16:59 +0200)]
fix avahi_netlink_new to allow multiple netlinks per process

9 years agopublish_no_reverse configuration flag added
Niklas Hofmann [Fri, 8 Aug 2014 08:20:31 +0000 (10:20 +0200)]
publish_no_reverse configuration flag added

9 years agoworkaround: disable PTR records for local interfaces to make it compatible with concu...
Niklas Hofmann [Thu, 7 Aug 2014 16:37:08 +0000 (18:37 +0200)]
workaround: disable PTR records for local interfaces to make it compatible with concurrently running mdns instances

11 years agoavahi-daemon: add option "host-name-from-machine-id="
David Zeuthen [Tue, 5 Mar 2013 19:52:38 +0000 (11:52 -0800)]
avahi-daemon: add option "host-name-from-machine-id="

Signed-off-by: David Zeuthen <zeuthen@chromium.org>
11 years agoavahi-common: typo fix
Lennart Poettering [Fri, 7 Sep 2012 14:17:43 +0000 (16:17 +0200)]
avahi-common: typo fix

11 years agobuild-sys: fix previous commit for recent automake
Marc-Antoine Perennou [Tue, 19 Jun 2012 13:50:35 +0000 (15:50 +0200)]
build-sys: fix previous commit for recent automake

11 years agobuild-sys: fix parallel install in avahi-utils
Diego Elio Pettenò [Sun, 17 Jun 2012 14:44:01 +0000 (07:44 -0700)]
build-sys: fix parallel install in avahi-utils

The moment install-exec-local is called, we might still not have
created ${DESTDIR}/${bindir} so we should make sure to create it
first, and then try to chdir into it.

11 years agobuild-sys: fix MKDIR_P for recent automake
Marc-Antoine Perennou [Thu, 7 Jun 2012 14:51:10 +0000 (16:51 +0200)]
build-sys: fix MKDIR_P for recent automake

12 years agocore: don't leak hinfo/workstation even if the configuration file doesn't exist
Lennart Poettering [Mon, 2 Apr 2012 19:20:34 +0000 (21:20 +0200)]
core: don't leak hinfo/workstation even if the configuration file doesn't exist

12 years agoavahi-daemon: don't leak host info by default
Lennart Poettering [Mon, 2 Apr 2012 19:17:36 +0000 (21:17 +0200)]
avahi-daemon: don't leak host info by default

12 years agoavahi-daemon: don't add 0pointer.de and zeroconf.org to default browse list
Lennart Poettering [Mon, 2 Apr 2012 19:17:19 +0000 (21:17 +0200)]
avahi-daemon: don't add 0pointer.de and zeroconf.org to default browse list

12 years agobuild-sys: actually, we need to place the service type database in lib64, not uncondi...
Lennart Poettering [Tue, 14 Feb 2012 22:24:31 +0000 (23:24 +0100)]
build-sys: actually, we need to place the service type database in lib64, not unconditionally in lib/

gdbm creates word width dependent files, hence this needs to be included
in the multi-arch logic.

12 years agoupdate NEWS
Lennart Poettering [Tue, 14 Feb 2012 22:04:19 +0000 (23:04 +0100)]
update NEWS

12 years agobuild-sys: prepare release
Lennart Poettering [Tue, 14 Feb 2012 21:44:37 +0000 (22:44 +0100)]
build-sys: prepare release

12 years agobuild-sys: compatibility with newer automake
Lennart Poettering [Tue, 14 Feb 2012 21:43:03 +0000 (22:43 +0100)]
build-sys: compatibility with newer automake

Place the service type database in $(prefix)/lib/avahi instead of
$(libdir)/avahi.

12 years agosystemd: syslog.target is not longer useful
Lennart Poettering [Thu, 1 Sep 2011 00:13:03 +0000 (02:13 +0200)]
systemd: syslog.target is not longer useful

12 years agodatabase: add Mumble to service type database
Ludwig Nussel [Fri, 6 May 2011 08:47:16 +0000 (10:47 +0200)]
database: add Mumble to service type database

http://mumble.sourceforge.net/

13 years agodoc,build-sys: prepare new release
Lennart Poettering [Sun, 3 Apr 2011 22:10:14 +0000 (00:10 +0200)]
doc,build-sys: prepare new release

13 years agosocket: minor beautification
Lennart Poettering [Sun, 3 Apr 2011 22:09:54 +0000 (00:09 +0200)]
socket: minor beautification

13 years agoiface: use interface values only when valid
Lennart Poettering [Sat, 2 Apr 2011 01:48:00 +0000 (03:48 +0200)]
iface: use interface values only when valid

https://bugzilla.redhat.com/show_bug.cgi?id=690416

13 years agoi18n: run make update-po
Lennart Poettering [Sat, 2 Apr 2011 01:24:15 +0000 (03:24 +0200)]
i18n: run make update-po

13 years agoMerge remote-tracking branch 'origin/master-tx'
Lennart Poettering [Sat, 2 Apr 2011 01:23:36 +0000 (03:23 +0200)]
Merge remote-tracking branch 'origin/master-tx'

13 years agoavahi-discover: Fix type being inserted into tree model (Bug #332)
Robert Ancell [Wed, 9 Mar 2011 04:27:09 +0000 (15:27 +1100)]
avahi-discover: Fix type being inserted into tree model (Bug #332)

13 years agoiface: look for both IFA_ADDRESS and IFA_LOCAL
Lennart Poettering [Sat, 2 Apr 2011 01:11:59 +0000 (03:11 +0200)]
iface: look for both IFA_ADDRESS and IFA_LOCAL

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617948
http://avahi.org/ticket/333

13 years agosystemd: fix sd_is_socket() invocation
Lennart Poettering [Sat, 2 Apr 2011 00:46:16 +0000 (02:46 +0200)]
systemd: fix sd_is_socket() invocation

13 years agogeneral: various smaller fixes
Lennart Poettering [Sat, 2 Apr 2011 00:46:01 +0000 (02:46 +0200)]
general: various smaller fixes

13 years agosystemd: drop ExecReload= line since avahi-dnsconfd -r is not actually a config reload
Lennart Poettering [Fri, 11 Mar 2011 01:11:28 +0000 (02:11 +0100)]
systemd: drop ExecReload= line since avahi-dnsconfd -r is not actually a config reload

13 years agoupdate README
Lennart Poettering [Tue, 8 Mar 2011 23:49:50 +0000 (00:49 +0100)]
update README

13 years agobuild-sys: update package version and soname
Lennart Poettering [Tue, 8 Mar 2011 23:28:04 +0000 (00:28 +0100)]
build-sys: update package version and soname

13 years agosystemd: update sd-daemon.[ch]
Lennart Poettering [Tue, 8 Mar 2011 23:26:08 +0000 (00:26 +0100)]
systemd: update sd-daemon.[ch]

13 years agol10n: Updated Finnish (fi) translation to 99%
Ville-Pekka Vainio [Sun, 31 Oct 2010 10:01:35 +0000 (10:01 +0000)]
l10n: Updated Finnish (fi) translation to 99%

New status: 164 messages complete with 1 fuzzy and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).

13 years agol10n: Updated Catalan (ca) translation to 100%
el_libre como el chaval [Sun, 17 Oct 2010 10:58:28 +0000 (10:58 +0000)]
l10n: Updated Catalan (ca) translation to 100%

New status: 165 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (www.transifex.net).

13 years agol10n: Updated Malay (ms) translation to 24%
sir_ade [Tue, 12 Oct 2010 14:24:44 +0000 (14:24 +0000)]
l10n: Updated Malay (ms) translation to 24%

New status: 40 messages complete with 68 fuzzies and 57 untranslated.

Transmitted-via: Transifex (www.transifex.net).

13 years agochroot: suppress error messages if the chroot pipe is closed
Lennart Poettering [Tue, 8 Mar 2011 22:57:50 +0000 (23:57 +0100)]
chroot: suppress error messages if the chroot pipe is closed

13 years agocore: avahi on Linux uses incorrect address for P-t-P interface
Matt Ginzton [Tue, 8 Mar 2011 22:55:56 +0000 (23:55 +0100)]
core: avahi on Linux uses incorrect address for P-t-P interface

Hi,

I sent a less knowledgeable question about avahi-daemon and
point-to-point links a few days ago,
http://lists.freedesktop.org/archives/avahi/2011-January/001969.html.
When I didn't get a response to this, I decided to build avahi from
source and step through it and see how it builds its list of interfaces
and their addresses.

This is in iface-linux.c, netlink_callback(). It looks for a RTM_NEWADDR
message, then extracts the payload of type IFA_ADDRESS.

Short story: I think it should be using the payload of type IFA_LOCAL,
not the payload of type IFA_ADDRESS.

In the VM where I was running these experiments, there are 3 interfaces
-- lo, eth0 and tun0. I printed out the IFA_ADDRESS and IFA_LOCAL for
all 3 of these; for lo and eth0 these are the same address; for tun0
(IFF_POINTOPOINT), IFA_ADDRESS is the remote end and IFA_LOCAL is the
local end.

I'm no expert on Linux rtnetlink or these IFA fields, but quoting
/usr/include/linux/if_addr.h:

/*
 * Important comment:
 * IFA_ADDRESS is prefix address, rather than local interface address.
 * It makes no difference for normally configured broadcast
 * interfaces,
 * but for point-to-point IFA_ADDRESS is DESTINATION address,
 * local address is supplied in IFA_LOCAL attribute.
 */

See also this stackoverflow question/answer:
http://stackoverflow.com/questions/4678637/what-is-difference-between-ifa-local-and-ifa-address-in-rtnetlink-linux

Does anyone know why avahi is looking for IFA_ADDRESS here, and whether
there's any reason not to use IFA_LOCAL instead?

Assuming there's not a specific reason to use IFA_ADDRESS here, I
propose the patch attached at the end of this message, which works for
me. (The bug this fixes is described in the earlier message linked above
-- avahi chooses the wrong address to associate with the P-t-P
interface, and if you enable avahi's reflector, avahi tries to call
sendmsg() using that as the source address and the kernel always,
correctly, fails the sendmsg() call with EINVAL.)

(And when/why this changed -- I was able to use avahi over P-t-P
interfaces on Linux several years ago; I don't know what avahi version I
was using at the time.)

thanks,

Matt

13 years agoreflector: cache entry link-local addresses filter
François-Xavier Bourlet [Tue, 21 Dec 2010 16:32:35 +0000 (17:32 +0100)]
reflector: cache entry link-local addresses filter

Do not reflect cache entry with ipv6 link-local addresses on query.

13 years agoinit: suse, avahi-dnsconfd status reports dead instead of unused
Vincent Untz [Wed, 13 Oct 2010 14:36:35 +0000 (16:36 +0200)]
init: suse, avahi-dnsconfd status reports dead instead of unused

13 years agoKeep emacs configuration in one configuration file.
Zbigniew Jędrzejewski-Szmek [Mon, 7 Mar 2011 18:23:04 +0000 (19:23 +0100)]
Keep emacs configuration in one configuration file.

On 07.03.2011 19:04, Lennart Poettering wrote:
>
> Oh, I had assumed that .vimrc trick would allow project-wide vim
> modelines without having to edit each and every single file.
>
> Currently, every file does contain an emacs modeline at the top. It
> would be fair I guess to add a vim modeline to all those files too, even
> though it's not necessarily pretty.
Hi,
maybe it makes sense to go in the opposite direction: add .dir-locals.el
in the top directory. The settings are actually identical in all .[ch]
files.

13 years agogobject: ga_service_browser_new() should accept const gchar*
Stef Walter [Thu, 27 Jan 2011 17:23:38 +0000 (11:23 -0600)]
gobject: ga_service_browser_new() should accept const gchar*

ga_service_browser_new() and ga_service_browser_new_full() should
accept const gchar*.

13 years agosetproctitle: use defined() around __linux__ in #elif
Paddy Smith [Wed, 2 Feb 2011 20:26:01 +0000 (20:26 +0000)]
setproctitle: use defined() around __linux__ in #elif

13 years agosocket: Still read corrupt packets from the sockets
Vincent Untz [Fri, 18 Feb 2011 22:37:00 +0000 (23:37 +0100)]
socket: Still read corrupt packets from the sockets

Else, we end up with an infinite loop with 100% CPU.

http://www.avahi.org/ticket/325
https://bugzilla.redhat.com/show_bug.cgi?id=667187