summaryrefslogtreecommitdiff
path: root/src/print_ipv6_addr.c
AgeCommit message (Collapse)Author
2012-05-09Error handling: Never output null as full_text (JSON), prefix messages with ↵Michael Stapelberg
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 Stapelberg
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 Adriaanse
2012-04-08add yajl compat codeMichael Stapelberg
2012-03-25Properly output JSON with libyajlMichael Stapelberg
2012-02-16Implement the i3bar JSON protocolMichael Stapelberg
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 Stapelberg
(Thanks dothebart)
2010-04-06Little style fixes for the last commitMichael Stapelberg
2010-04-06ipv6: provide format strings for ipv6 up and ipv6 downChristian Dietrich
2010-01-04ipv6: cache the result of the DNS query only, the socket needs to be ↵Michael Stapelberg
re-created every time
2010-01-01ipv6: reuse the existing socket for further lookupsMichael Stapelberg
This reduces network overhead if you do not run a local caching nameserver.
2009-10-11Breaks configfiles! Major refactoring of i3status, see belowMichael Stapelberg
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.