summaryrefslogtreecommitdiff
path: root/src/print_ipv6_addr.c
AgeCommit message (Collapse)Author
2019-01-23Switch to autotools (#316)Michael Stapelberg
2018-07-13able to print percentageFelix Buehler
its now possible to have percentage before and after a variable. except for the date. But percentage with dates does not make much sense to me, so i skipped it.
2015-03-16clang-format-3.5 -i **/*.[ch], update modelineMichael Stapelberg
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 comparisonsMats
* 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 Stapelberg
2012-09-29Save the DNS lookup for K.root-servers.net (Thanks barfoos)Michael Stapelberg
This avoids running into a timeout when there is no connectivity on i3status startup.
2012-07-10colorful ipv6 status messageLars Kumbier
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.