summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-10-05Merge pull request #237 from kousu/215-batteryMichael Stapelberg
Be more cautious about handling invalid battery measurements.
2017-10-05Fix CPU unit tests (#239)Emeric Planet
Support any amount of available cores on testing machine.
2017-09-18Makefile: make PKG_CONFIG overridable (patch by Helmut Grohne)Michael Stapelberg
2017-08-29Fix CPU unit tests (#239)Emeric Planet
Support any amount of available cores on testing machine.
2017-08-24Repair test case.kousu
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.kousu
2017-08-19Use local timezone for battery %emptytime (#236)Emeric Planet
2017-04-16Merge pull request #219 from flammi/masterIngo Bürk
Add check for virtual ethernet devices
2017-04-13Add battery capacity parsing (#216)Emeric Planet
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 Franzen
Added braces to the if-statement as requested.
2017-04-12Fix memory leak/Use BEGINS_WITH macroFabian Franzen
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 Franzen
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)eplanet
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ürk
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 Lyons
2017-03-08Merge pull request #208 from stapelberg/warningIngo Bürk
remove useless checks (we use char, not unsigned char)
2017-03-08Merge pull request #207 from stapelberg/disk_infoIngo Bürk
disk: sanitize trailing slashes
2017-03-08remove useless checks (we use char, not unsigned char)Michael Stapelberg
fixes compilation warnings
2017-03-08disk: sanitize trailing slashesMichael Stapelberg
fixes #200
2017-02-07Merge pull request #202 from jasperla/openbsd_fdleakIngo Bürk
Plug an fd leak in the OpenBSD-specific code for _first_
2017-02-07Merge pull request #201 from jasperla/openbsd_bat_infoIngo Bürk
Suppress printing :00 seconds of remaining battery lifetime
2017-02-07Plug an fd leak in the OpenBSD-specific code for _first_Jasper Lievisse Adriaanse
2017-02-07Suppress printing :00 seconds of remaining battery lifetime, as apm(4)'sJasper Lievisse Adriaanse
estimate only has a granularity of minutes. From tb@openbsd.org
2017-02-01Fix the deciKelvin to Celsius conversion on FreeBSD (#195)Baptiste Daroussin
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 Adriaanse
- 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 Adriaanse
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.112.11Michael Stapelberg
2017-01-21correctly write I3STATUS_VERSION on releaseMichael Stapelberg
2017-01-21Makefile: sort objects for deterministic linking orderMichael Stapelberg
Patch by Reiner Herrmann
2017-01-21man: fix spelling errorsMichael Stapelberg
2017-01-21man: switch link to directly go to githubMichael Stapelberg
2017-01-02Consolidate measure speed script (#188)Moritz Warning
* 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 Jianxin
Signed-off-by: Zhong Jianxin <azuwis@gmail.com>
2016-12-13Fix i3status to compile with -fno-common (#185)Samuel Holland
This avoids multiple declarations of the same global variable in different source files.
2016-11-19Adding documentation for PR #179 (#182)eplanet
2016-11-16Merge pull request #179 from mihaicmn/feature-threshold-formatMichael Stapelberg
Provide format_above_threshold/format_below_threshold options
2016-11-15Merge pull request #178 from eplanet/ut_cpu_tempMichael Stapelberg
Unit testing some new cases
2016-11-15Add unit tests for threshold formatMihai Coman
2016-11-15Add 'format_below_threshold' option for 'disk' moduleMihai Coman
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_watcheplanet
The valid test case assumes pid 1 exists, which should always be true on Unix environment.
2016-11-14Added unit test case for path_existseplanet
2016-11-14Added unit test case for CPU temperatureeplanet
2016-11-14Unit testing in Travis (#170)eplanet
2016-11-12Use blank padding for wireless quality (#166) (#167)Jon Bernard
2016-10-24Setting of custom locale in tztime configuration. (#168)Björn Lindström
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 Zhao
2016-09-14pulse device may be specified by name (#126) (#162)Watcom
2016-09-05Bugfix: re-add single quotes around I3STATUS_VERSIONMichael Stapelberg
related to https://github.com/i3/i3/issues/2437
2016-08-29Merge pull request #140 from tommie/multibattMichael Stapelberg
Implement aggregates in print_battery_info
2016-08-28Implement aggregates for batteries.Tommie Gannert
Using title number all, this enables aggregates. Note that FreeBSD and OpenBSD previously only reported aggregates, so this is bringing Linux and NetBSD that functionality. Changes the default battery reporting to the aggregate since most users probably don't care about individual batteries. For single-battery systems there should be no change. Fixes one obvious memory leak in NetBSD.