]> git.meshlink.io Git - catta/log
catta
9 years agoMerge branch 'develop' of github.com:catta-x/catta into develop
HiveError [Mon, 31 Aug 2015 15:36:35 +0000 (17:36 +0200)]
Merge branch 'develop' of github.com:catta-x/catta into develop

9 years agodisable to send src_address with windows ipv6 as it somehow causes WSASendMsg to...
everHannes [Mon, 31 Aug 2015 15:33:56 +0000 (17:33 +0200)]
disable to send src_address with windows ipv6 as it somehow causes WSASendMsg to fail with an Invalid Argument error 10022 #3

9 years agoadd wsa error code to errnostrsocket for easier error lookup
everHannes [Mon, 31 Aug 2015 15:07:17 +0000 (17:07 +0200)]
add wsa error code to errnostrsocket for easier error lookup

9 years agoAdd support for net/route.h on iOS.
Aaron Krebs [Wed, 26 Aug 2015 13:29:11 +0000 (15:29 +0200)]
Add support for net/route.h on iOS.

net/route.h is included in on OSX and the iPhoneSimulator SDK, but
not the iPhoneOS SDK. As a workaround, include /usr/include/net/route.h from
OSX 10.10 ourselves.

9 years agomoved back windows compat headers and fixed catta headers to stop clutter dependent...
everHannes [Mon, 24 Aug 2015 18:36:08 +0000 (20:36 +0200)]
moved back windows compat headers and fixed catta headers to stop clutter dependent projects with wincompat.h redefines
also fixed WINVER to be a project property set in src/Makefile.am instead of undef/define override in wincompat.h

9 years agofix backend #705
jan [Thu, 20 Aug 2015 13:58:37 +0000 (15:58 +0200)]
fix backend #705

Avoiding a state change callback while still constructing catta server, so
the callback can expect to have a readily constructed catta server
available. This changes the behaviour and catta will only change into
running state when at least one network interface is found and used.

9 years agomove wincompat headers to include path and add to make install
everHannes [Thu, 20 Aug 2015 11:51:12 +0000 (13:51 +0200)]
move wincompat headers to include path and add to make install

9 years agocleaned some compiler warning flags
everHannes [Sun, 16 Aug 2015 11:24:19 +0000 (13:24 +0200)]
cleaned some compiler warning flags
-Wdeclaration-after-statement -> stop confusing c90 warning, compilers by now should support c99 or above
-Wformat -> defined by -Wall
-Wendif-labels -> enabled by default
-Wpointer-arith -> defined by -pedantic
-Wno-cast-qual -> -Wcast-qual, have it or remove it

refer
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
https://gcc.gnu.org/onlinedocs/cpp/Invocation.html

9 years agofix gcc mingw compile (gcc 5.1 x86_64)
everHannes [Sun, 16 Aug 2015 09:24:43 +0000 (11:24 +0200)]
fix gcc mingw compile (gcc 5.1 x86_64)

9 years agoclean incomplete mingw32 4.8.1 wincompat.h defines
Hannes [Tue, 23 Jun 2015 13:14:45 +0000 (15:14 +0200)]
clean incomplete mingw32 4.8.1 wincompat.h defines

9 years agofix headers to be used with Visual Studio 2015 RC
Hannes [Tue, 23 Jun 2015 13:08:39 +0000 (15:08 +0200)]
fix headers to be used with Visual Studio 2015 RC

9 years agogenerate .def file to be used for porting the mingw compiled library to windows visua...
Hannes [Tue, 23 Jun 2015 13:06:02 +0000 (15:06 +0200)]
generate .def file to be used for porting the mingw compiled library to windows visual studio

10 years agofix mingw c compiler casting
Hannes [Sat, 22 Nov 2014 18:36:25 +0000 (19:36 +0100)]
fix mingw c compiler casting

10 years agoavoid implicit conversion from void* to char*
Niklas Hofmann [Thu, 20 Nov 2014 23:22:49 +0000 (00:22 +0100)]
avoid implicit conversion from void* to char*

10 years agoapple compatibility
Niklas Hofmann [Mon, 27 Oct 2014 05:45:59 +0000 (06:45 +0100)]
apple compatibility

10 years agoMerge tag '0.0.1' into develop
Niklas Hofmann [Mon, 20 Oct 2014 12:18:02 +0000 (14:18 +0200)]
Merge tag '0.0.1' into develop

0.0.1

10 years agoMerge branch 'release/0.0.1'
Niklas Hofmann [Mon, 20 Oct 2014 12:17:48 +0000 (14:17 +0200)]
Merge branch 'release/0.0.1'

10 years agoMerge pull request #2 from everbase/feature/windows
Niklas [Mon, 20 Oct 2014 12:08:11 +0000 (14:08 +0200)]
Merge pull request #2 from everbase/feature/windows

Port the library to Windows

10 years agoremove network traffic debug output
Sven M. Hallberg [Thu, 16 Oct 2014 15:44:17 +0000 (17:44 +0200)]
remove network traffic debug output

10 years agoremove simple-watch debug output
Sven M. Hallberg [Thu, 16 Oct 2014 15:41:43 +0000 (17:41 +0200)]
remove simple-watch debug output

10 years agomake ioctl() work for setting values
Sven M. Hallberg [Thu, 16 Oct 2014 15:36:58 +0000 (17:36 +0200)]
make ioctl() work for setting values

10 years agocheck for failure of catta_set_nonblock in simple-watch and iface-windows
Sven M. Hallberg [Thu, 16 Oct 2014 15:36:14 +0000 (17:36 +0200)]
check for failure of catta_set_nonblock in simple-watch and iface-windows

10 years agoadd some debug output to simple-watch poll implementation
Sven M. Hallberg [Thu, 16 Oct 2014 15:29:03 +0000 (17:29 +0200)]
add some debug output to simple-watch poll implementation

10 years agonetwork traffic debug output, including source address on recvmsg
Sven M. Hallberg [Wed, 15 Oct 2014 15:39:31 +0000 (17:39 +0200)]
network traffic debug output, including source address on recvmsg

10 years agochange some printf format specifiers in tests that are unrecognized by MingW
Sven M. Hallberg [Wed, 15 Oct 2014 10:10:46 +0000 (12:10 +0200)]
change some printf format specifiers in tests that are unrecognized by MingW

10 years agodon't set -Wmissing-noreturn on Windows because libtool
Sven M. Hallberg [Wed, 15 Oct 2014 09:53:06 +0000 (11:53 +0200)]
don't set -Wmissing-noreturn on Windows because libtool

10 years agopublish example: exit cleanly on SIGINT, SIGTERM
Sven M. Hallberg [Tue, 14 Oct 2014 13:27:45 +0000 (15:27 +0200)]
publish example: exit cleanly on SIGINT, SIGTERM

10 years agoexplicitly ignore return value when writing to pipe
Sven M. Hallberg [Wed, 17 Sep 2014 10:32:46 +0000 (12:32 +0200)]
explicitly ignore return value when writing to pipe

10 years agoremove debug output on interface changes
Sven M. Hallberg [Thu, 11 Sep 2014 20:00:48 +0000 (22:00 +0200)]
remove debug output on interface changes

10 years agoremove debug output on initial interface enumeration
Sven M. Hallberg [Thu, 11 Sep 2014 19:59:31 +0000 (21:59 +0200)]
remove debug output on initial interface enumeration

10 years agoremove debug output on network traffic
Sven M. Hallberg [Thu, 11 Sep 2014 19:56:02 +0000 (21:56 +0200)]
remove debug output on network traffic

10 years agoprocess change events in the order they are received
Sven M. Hallberg [Thu, 11 Sep 2014 19:53:02 +0000 (21:53 +0200)]
process change events in the order they are received

10 years agohandle address change events
Sven M. Hallberg [Thu, 11 Sep 2014 18:55:17 +0000 (20:55 +0200)]
handle address change events

10 years agohandle interface change events
Sven M. Hallberg [Thu, 11 Sep 2014 15:45:55 +0000 (17:45 +0200)]
handle interface change events

10 years agoskeleton implementation of interface change event handling
Sven M. Hallberg [Wed, 10 Sep 2014 17:58:38 +0000 (19:58 +0200)]
skeleton implementation of interface change event handling

10 years agoreadpipe/writepite/closepipe for fake pipes on Windows
Sven M. Hallberg [Wed, 10 Sep 2014 17:56:26 +0000 (19:56 +0200)]
readpipe/writepite/closepipe for fake pipes on Windows

10 years agochange some int declarations that should have said CattaIfIndex
Sven M. Hallberg [Mon, 8 Sep 2014 20:09:42 +0000 (22:09 +0200)]
change some int declarations that should have said CattaIfIndex

10 years agocomment about IP_ADAPTER_ADDRESS_DNS_ELIGIBLE (should we use it?)
Sven M. Hallberg [Mon, 8 Sep 2014 20:01:58 +0000 (22:01 +0200)]
comment about IP_ADAPTER_ADDRESS_DNS_ELIGIBLE (should we use it?)

10 years agoskip transient ("cluster") addresses on Windows, as per MSDN
Sven M. Hallberg [Mon, 8 Sep 2014 20:01:40 +0000 (22:01 +0200)]
skip transient ("cluster") addresses on Windows, as per MSDN

10 years agoinclude address flags in debug output
Sven M. Hallberg [Mon, 8 Sep 2014 20:01:03 +0000 (22:01 +0200)]
include address flags in debug output

10 years agoset IPv4 source address correctly on Windows
Sven M. Hallberg [Mon, 8 Sep 2014 19:03:48 +0000 (21:03 +0200)]
set IPv4 source address correctly on Windows

10 years agofor posterity: some debug output in sendmsg/recvmsg
Sven M. Hallberg [Mon, 8 Sep 2014 19:03:06 +0000 (21:03 +0200)]
for posterity: some debug output in sendmsg/recvmsg

10 years agodo use the interface index provided by Windows
Sven M. Hallberg [Mon, 8 Sep 2014 17:10:06 +0000 (19:10 +0200)]
do use the interface index provided by Windows

10 years agobe more specific in an error message when receiving packets
Sven M. Hallberg [Mon, 8 Sep 2014 16:21:39 +0000 (18:21 +0200)]
be more specific in an error message when receiving packets

10 years agofix an error message for IPv6
Sven M. Hallberg [Mon, 8 Sep 2014 15:06:23 +0000 (17:06 +0200)]
fix an error message for IPv6

10 years agouse WSAGetlastError/FormatMessage in place of strerror(errno) on Windows
Sven M. Hallberg [Mon, 8 Sep 2014 14:37:32 +0000 (16:37 +0200)]
use WSAGetlastError/FormatMessage in place of strerror(errno) on Windows

10 years agoenumerate network adapter addresses
Sven M. Hallberg [Mon, 8 Sep 2014 13:22:52 +0000 (15:22 +0200)]
enumerate network adapter addresses

10 years agomight as well make the debugging code a bit pretty
Sven M. Hallberg [Fri, 5 Sep 2014 19:00:47 +0000 (21:00 +0200)]
might as well make the debugging code a bit pretty

10 years agofix flags_ok computation (IfType and OperStatus are ordinals, not flags)
Sven M. Hallberg [Fri, 5 Sep 2014 18:52:33 +0000 (20:52 +0200)]
fix flags_ok computation (IfType and OperStatus are ordinals, not flags)

10 years agocoding style consistency
Sven M. Hallberg [Fri, 5 Sep 2014 18:34:46 +0000 (20:34 +0200)]
coding style consistency

10 years agoget human-readable interface names
Sven M. Hallberg [Fri, 5 Sep 2014 18:33:16 +0000 (20:33 +0200)]
get human-readable interface names

10 years agostart of windows interface detection
Sven M. Hallberg [Fri, 5 Sep 2014 18:19:49 +0000 (20:19 +0200)]
start of windows interface detection

10 years agodo not build dns-spin-test on Windows (for the time being)
Sven M. Hallberg [Thu, 4 Sep 2014 18:46:21 +0000 (20:46 +0200)]
do not build dns-spin-test on Windows (for the time being)

10 years agocheck for both EAGAIN and EWOULDBLOCK from sendmsg
Sven M. Hallberg [Thu, 4 Sep 2014 18:39:52 +0000 (20:39 +0200)]
check for both EAGAIN and EWOULDBLOCK from sendmsg

10 years agowrap lifetimes of CattaServer and CattaSimplePoll in WSAStartup/WSACleanup
Sven M. Hallberg [Wed, 3 Sep 2014 14:36:30 +0000 (16:36 +0200)]
wrap lifetimes of CattaServer and CattaSimplePoll in WSAStartup/WSACleanup

10 years agowork around picky SO_REUSEADDR semantics on Windows
Sven M. Hallberg [Wed, 3 Sep 2014 12:50:44 +0000 (14:50 +0200)]
work around picky SO_REUSEADDR semantics on Windows

10 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

10 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)

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

10 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)

10 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

10 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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

10 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

10 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

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

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

10 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

10 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

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

10 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

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

10 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

10 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

10 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

10 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

10 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

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

10 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)

10 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

10 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

10 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

10 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.

10 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

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

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

10 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

10 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

10 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

10 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

10 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