summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-13configure.ac: exclude build without running git (#364)HEADmasterValérian Rousset
2020-10-09Merge pull request #433 from cherti/initializationOrestis Floros
Initialize fields with zero bytes in wireless module
2020-10-09Initialize fields with zero bytes in wireless moduleJonas Große Sundrup
Previously, the fields in the wireless module were declared but not explicitly initialized upon declaration. As nothing else would do so afterwards, this could introduce random characters left over in the memory segment into the fields. This was explicitly observed in the essid-field, but likely a possibility for other fields as well. Hence, this commit adds explicit initialization with zero bytes to all fields to ensure proper termination of all fields. Fixes #432
2020-10-08Fix crash in print_memory (#427)Jordan Galby
Fixes a stack-overflow when memory is, for example, "1020.17 TiB". This fix limits the max number of memory decimals to 4. The crash was probably introduced in 066e813331 .
2020-08-31Allow selective pango-markup in tztime-module (#430)Jonas Große Sundrup
Closes #421
2020-07-09README: use make -j$(nproc)Bhaskar Chowdhury
Co-authored-by: Orestis Floros <orestisflo@gmail.com>
2020-06-15Add support for batteries outputting Time to empty on linux (#378)Michael Nolan
* Add support for batteries outputting Time to empty on linux The battery in the pinebook pro does not output the remaining charge in Wh or mAh, so i3 cannot calculate the time remaining. However, it does directly output the number of minutes remaining on in POWER_SUPPLY_TIME_TO_EMPTY. This adds support for reading this field and converting it to seconds_remaining. * Add testcase for POWER_SUPPLY_TIME_TO_EMTY_NOW
2020-06-15Use the PulseAudio port name rather than the sink name (#419)Mikel Ward
This generates much friendlier names on all my systems, e.g. "HDMI / DisplayPort 5" rather than "Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] Digital Stereo (HDMI 5)"
2020-05-05configure: Add switch to disable manual pages (#413)Orestis Floros
Code copied from i3 Fixes #377
2020-05-01Merge pull request #418 from orestisfl/warningsIngo Bürk
Fix fall-through warnings
2020-05-01contrib/net-speed: extend interface list filter (#376)Ivan
1) Names incorporating Firmware/BIOS provided index numbers for on-board devices (example: eno1) 2) Names incorporating Firmware/BIOS provided PCI Express hotplug slot index numbers (example: ens1) 3) Names incorporating physical/geographical location of the connector of the hardware (example: enp2s0) 4) Names incorporating the interfaces's MAC address (example: enx78e7d1ea46da) 5) Classic, unpredictable kernel-native ethX naming (example: eth0) I've used usb/eth dongle with name enx..., and need only this one name, but extend filter to include other ones as well. Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Co-authored-by: Orestis Floros <orestisflo@gmail.com>
2020-05-01Fix fall-through warningsOrestis Floros
2020-05-01Merge pull request #416 from orestisfl/memleakOrestis Floros
Fix various memory leaks
2020-05-01travis: Re-enable sanitizersOrestis Floros
2020-05-01Fix various memory leaksOrestis Floros
Fixes #362
2020-05-01Merge pull request #415 from orestisfl/resolve-tildeIngo Bürk
Resolve tilde
2020-05-01Merge pull request #414 from orestisfl/travisIngo Bürk
Travis
2020-05-01print_file_contents: Resolve tildeOrestis Floros
Fixes #350
2020-05-01Move general functions scalloc, sstrdup out of i3status.cOrestis Floros
2020-05-01travis: update dist, add custom matrixOrestis Floros
New matrix for 5 jobs in total. Updates our checks to bionic & xenial. Trusty could also be included but it is a bit outdated at this point. I use bionic to pull a more recent clang-format and use a dedicated job just to check formatting. An alternative would be to conditionally run the formatting script only on bionic. I don't think that there is a better way to expand a `dist` x `compiler` matrix (except using docker).
2020-05-01travis: Fix warningsOrestis Floros
- sudo is deprecated - No explicit os throws warning
2020-05-01Merge pull request #409 from Stunkymonkey/format_placeholder-volumeIngo Bürk
Format placeholder volume
2020-05-01Merge pull request #412 from orestisfl/warningsIngo Bürk
Fix various warnings
2020-05-01Fix various warningsOrestis Floros
- unused variable ‘walk’ [-Wunused-variable] - implicit declaration of built-in function ‘free’ [-Wimplicit-function-declaration] - initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] - variable 'ram_used' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]. This is actually easily reproducible by specifying `memory_used_method = "XXX"`. - comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare] (for `exponent`)
2020-04-26[volume] fix memory leakFelix Buehler
mend
2020-04-21Merge pull request #408 from TimonAlex/freebsd-wifi-bitrateMichael Stapelberg
Fix rendering wireless bitrate and support bitrate on FreeBSD
2020-04-11wireless: Fix rendering bitrateAleksandr Matveev
2020-04-11wireless: support connection bitrate on FreeBSDAleksandr Matveev
2020-04-08use statvfs f_frsize for file system block size (#405)tripledonkey
* use statvfs f_frsize for file system block size
2020-04-08Merge pull request #407 from Stunkymonkey/format_placeholder-testsIngo Bürk
format_placeholder percent tests
2020-04-08Merge pull request #402 from Stunkymonkey/format_placeholder-wireless_infoIngo Bürk
use format_placeholder for wireless_info
2020-04-07format_placeholder percent testsFelix Buehler
2020-04-07use format_placeholder for volumeFelix Buehler
2020-04-07Merge pull request #404 from Stunkymonkey/format_placeholder-file_contentIngo Bürk
use format_placeholder for file_content
2020-04-03use format_placeholder for file_contentFelix Buehler
2020-04-03remove goto-labels from wireless_infoFelix Buehler
2020-04-03Merge pull request #401 from Stunkymonkey/format_placeholder-timeIngo Bürk
use format_placeholder for time
2020-04-03Merge pull request #400 from Stunkymonkey/format_placeholder-run_watchIngo Bürk
use format_placeholder for run_watch
2020-04-03Merge pull request #399 from Stunkymonkey/format_placeholder-path_existsIngo Bürk
use format_placeholder for path_exists
2020-04-03Merge pull request #403 from YaguraStation/patch-1Ingo Bürk
Update net-speed.sh
2020-04-01Update net-speed.shreuben honigwachs
Added the common prefix `enx` as possible string for interface detection. See https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
2020-03-31use format_placeholder for wireless_infoFelix Buehler
2020-03-31use format_placeholder for timeFelix Buehler
2020-03-31use format_placeholder for run_watchFelix Buehler
2020-03-31use format_placeholder for path_existsFelix Buehler
2020-03-31Merge pull request #398 from Stunkymonkey/format_placeholder-memIngo Bürk
use format_placeholder for mem
2020-03-31use format_placeholder for memFelix Buehler
2020-03-31Merge pull request #396 from Stunkymonkey/format_placeholder-ipv6_addrIngo Bürk
use format_placeholder for ipv6_addr
2020-03-31Merge pull request #397 from Stunkymonkey/format_placeholder-loadIngo Bürk
use format_placeholder for load
2020-03-31use format_placeholder for ipv6_addrFelix Buehler