aboutsummaryrefslogtreecommitdiff
path: root/src/print_ipv6_addr.c
AgeCommit message (Collapse)AuthorFilesLines
2015-03-16clang-format-3.5 -i **/*.[ch], update modelineMichael Stapelberg1-109/+109
From here on, we’ll use clang-format to automatically format the source. This has worked well in i3, so we are introducing it for i3status.
2014-03-12Unify use of string comparisonsMats1-1/+1
* strncmp(s1, s2, strlen(s2)) → BEGINS_WITH(s1, s2) * strncmp(s1, s2, strlen(s1)) → strcmp(s1, s2) * Prefer case-insensitive comparison for options
2013-02-23ipv6: properly handle colors for output_format == xmobarMichael Stapelberg1-3/+4
2012-09-29Save the DNS lookup for K.root-servers.net (Thanks barfoos)Michael Stapelberg1-4/+7
This avoids running into a timeout when there is no connectivity on i3status startup.
2012-07-10colorful ipv6 status messageLars Kumbier1-1/+4
2012-05-09Error handling: Never output null as full_text (JSON), prefix messages with ↵Michael Stapelberg1-1/+1
i3status (Thanks Artemis) The former made i3bar crash, the latter is helpful for debugging.
2012-05-07Use (void) instead of () for functions without args (Thanks fernandotcl)Michael Stapelberg1-1/+1
See also: http://article.gmane.org/gmane.linux.kernel/1268792 The C compiler will handle (void) as "no arguments" and () as "variadic function" (equivalent to (...)) which might lead to subtle errors.
2012-04-28Fix include order; fixes build on OpenBSD.Jasper Lievisse Adriaanse1-3/+5
2012-04-08add yajl compat codeMichael Stapelberg1-0/+1
2012-03-25Properly output JSON with libyajlMichael Stapelberg1-9/+7
2012-02-16Implement the i3bar JSON protocolMichael Stapelberg1-0/+8
This hardcodes all the JSON parts. Strings are not properly escaped currently. The best/easiest way to fix this is by actually using libyajl.
2011-01-03Cache the result of the DNS query also if there is no IPv6 connectivity ↵Michael Stapelberg1-1/+6
(Thanks dothebart)
2010-04-06Little style fixes for the last commitMichael Stapelberg1-15/+15
2010-04-06ipv6: provide format strings for ipv6 up and ipv6 downChristian Dietrich1-31/+32
2010-01-04ipv6: cache the result of the DNS query only, the socket needs to be ↵Michael Stapelberg1-29/+42
re-created every time
2010-01-01ipv6: reuse the existing socket for further lookupsMichael Stapelberg1-23/+35
This reduces network overhead if you do not run a local caching nameserver.
2009-10-11Breaks configfiles! Major refactoring of i3status, see belowMichael Stapelberg1-0/+99
We finally switched to libconfuse for a configuration file format which does not require much work for the programmer nor for the user. Plus, it avoids the Not-Invented-Here syndrome of yet another config file format. Furthermore, as a consequence of providing format strings for every "module" (ipv6, wireless, …), we directly print the output and thus we needed to drop support for wmii. This allowed us to get rid of quite some complexity. Documentation about the new configuration file and options will follow. This commit is the beginning of what will be i3status v2.0.