aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-11-20Add network test cases (#246)Emeric Planet4-0/+22
2017-10-05Merge pull request #237 from kousu/215-batteryMichael Stapelberg1-7/+26
Be more cautious about handling invalid battery measurements.
2017-10-05Fix CPU unit tests (#239)Emeric Planet12-12/+112
Support any amount of available cores on testing machine.
2017-09-18Makefile: make PKG_CONFIG overridable (patch by Helmut Grohne)Michael Stapelberg1-2/+3
2017-08-29Fix CPU unit tests (#239)Emeric Planet13-13/+113
Support any amount of available cores on testing machine.
2017-08-24Repair test case.kousu1-1/+1
This was introduced in #236. It looks like Travis never ran on that PR? Anyway it's blocking me submitting this now so I'm fixing it.
2017-08-24Be more cautious about handling invalid battery measurements.kousu1-7/+26
2017-08-19Use local timezone for battery %emptytime (#236)Emeric Planet1-0/+1
2017-04-16Merge pull request #219 from flammi/masterIngo Bürk1-0/+19
Add check for virtual ethernet devices
2017-04-13Add battery capacity parsing (#216)Emeric Planet7-0/+49
The Linux power supply class defines three entries to provide battery status. One of them wasn't used: POWER_SUPPLY_CAPACITY. https://www.kernel.org/doc/Documentation/power/power_supply_class.txt
2017-04-13Added bracesFabian Franzen1-1/+2
Added braces to the if-statement as requested.
2017-04-12Fix memory leak/Use BEGINS_WITH macroFabian Franzen1-5/+5
The orignal proposed code had a memory leak when returning true. Furthermore I included the handy BEGINS_WITH macro of i3 which makes the code (IMHO) a lot more readable.
2017-04-12Add check for virtual ethernet devicesFabian Franzen1-0/+18
The _first_ option for ethernet devices now uses the link in sysfs to determine if it's a real device or just a virtual one (i.e veth** devices created by docker).
2017-03-26Multiple CPU support for cpu_usage (#209)eplanet16-27/+148
This change addresses the issue #199 asking for multiple CPU support. It takes an arbitrary CPU number and outputs its usage using the same arithmetics as for CPU aggregation. It currently doesn't support FreeBSD.
2017-03-16Merge pull request #211 from ixjlyons/issue210Ingo Bürk1-1/+1
disk: don't remove trailing slash if path is a single character
2017-03-10disk: don't remove trailing slash if path is a single characterKenneth Lyons1-1/+1
2017-03-08Merge pull request #208 from stapelberg/warningIngo Bürk1-4/+3
remove useless checks (we use char, not unsigned char)
2017-03-08Merge pull request #207 from stapelberg/disk_infoIngo Bürk1-1/+5
disk: sanitize trailing slashes
2017-03-08remove useless checks (we use char, not unsigned char)Michael Stapelberg1-4/+3
fixes compilation warnings
2017-03-08disk: sanitize trailing slashesMichael Stapelberg1-1/+5
fixes #200
2017-02-07Merge pull request #202 from jasperla/openbsd_fdleakIngo Bürk1-5/+8
Plug an fd leak in the OpenBSD-specific code for _first_
2017-02-07Merge pull request #201 from jasperla/openbsd_bat_infoIngo Bürk1-1/+1
Suppress printing :00 seconds of remaining battery lifetime
2017-02-07Plug an fd leak in the OpenBSD-specific code for _first_Jasper Lievisse Adriaanse1-5/+8
2017-02-07Suppress printing :00 seconds of remaining battery lifetime, as apm(4)'sJasper Lievisse Adriaanse1-1/+1
estimate only has a granularity of minutes. From tb@openbsd.org
2017-02-01Fix the deciKelvin to Celsius conversion on FreeBSD (#195)Baptiste Daroussin1-1/+1
Change from ceiled value to floored value to be consistent with the FreeBSD kernel https://svnweb.freebsd.org/base?view=revision&revision=300421
2017-01-31Make first_eth_interface() work on OpenBSD: (#197)Jasper Lievisse Adriaanse1-1/+63
- use a define for loopback interface device - use an approach similar to ifconfig(8) for determining device type
2017-01-31Include sys/select.h on OpenBSD (#198)Jasper Lievisse Adriaanse1-0/+1
Fixes a compilation error: /usr/include/net80211/ieee80211_ioctl.h:339: warning: implicit declaration of function 'howmany' /usr/include/net80211/ieee80211_ioctl.h:339: error: 'NBBY' undeclared here (not in a function) /usr/include/net80211/ieee80211_ioctl.h:339: error: variably modified 'nr_rxmcs' at file scope
2017-01-21release v2.11Michael Stapelberg4-3/+32
2017-01-21correctly write I3STATUS_VERSION on releaseMichael Stapelberg1-1/+1
2017-01-21Makefile: sort objects for deterministic linking orderMichael Stapelberg1-1/+1
Patch by Reiner Herrmann
2017-01-21man: fix spelling errorsMichael Stapelberg1-2/+2
2017-01-21man: switch link to directly go to githubMichael Stapelberg1-1/+1
2017-01-02Consolidate measure speed script (#188)Moritz Warning4-202/+79
* remove old net speed scripts * add reworked net-speed script * add space between rate and speed suffix it is easier to parse visually * only use intervals greater zero * add ifaces examples * catch negativ byte count happens when the counter resets
2016-12-25Re-license contrib/netspeed to the same as i3status (#189)Zhong Jianxin1-19/+4
Signed-off-by: Zhong Jianxin <azuwis@gmail.com>
2016-12-13Fix i3status to compile with -fno-common (#185)Samuel Holland2-9/+20
This avoids multiple declarations of the same global variable in different source files.
2016-11-19Adding documentation for PR #179 (#182)eplanet3-5/+24
2016-11-16Merge pull request #179 from mihaicmn/feature-threshold-formatMichael Stapelberg17-231/+301
Provide format_above_threshold/format_below_threshold options
2016-11-15Merge pull request #178 from eplanet/ut_cpu_tempMichael Stapelberg8-0/+43
Unit testing some new cases
2016-11-15Add unit tests for threshold formatMihai Coman11-0/+59
2016-11-15Add 'format_below_threshold' option for 'disk' moduleMihai Coman6-231/+242
Add 'format_above_threshold' option for 'cpu_temperature' module Add 'format_above_threshold' option for 'cpu_usage' module Add 'format_above_threshold' option for 'load' module
2016-11-14Added test case for run_watcheplanet3-0/+16
The valid test case assumes pid 1 exists, which should always be true on Unix environment.
2016-11-14Added unit test case for path_existseplanet2-0/+15
2016-11-14Added unit test case for CPU temperatureeplanet3-0/+12
2016-11-14Unit testing in Travis (#170)eplanet6-12/+86
2016-11-12Use blank padding for wireless quality (#166) (#167)Jon Bernard1-3/+3
2016-10-24Setting of custom locale in tztime configuration. (#168)Björn Lindström4-4/+17
To be able to show my birth country's time zone in that country's locale, and my local time in my current locale.
2016-10-23Detect batteries using glob (#163)Stu Zhao3-32/+33
2016-09-14pulse device may be specified by name (#126) (#162)Watcom4-31/+75
2016-09-05Bugfix: re-add single quotes around I3STATUS_VERSIONMichael Stapelberg1-1/+1
related to https://github.com/i3/i3/issues/2437
2016-08-29Merge pull request #140 from tommie/multibattMichael Stapelberg5-50/+206
Implement aggregates in print_battery_info