Get rid of err.h as it is not portable Replace warn() and warnx() with fprintf() and add <stdio.h> where necessary.
Aaron Marcher me@drkhsh.at
Wed, 28 Mar 2018 18:26:56 +0200
Remove unnecessary headers
Aaron Marcher me@drkhsh.at
Wed, 28 Mar 2018 18:14:08 +0200
Remove ALSA dependency from README ALSA is not a dependency anymore as we use /dev/mixer. The corresponding notice about PulseAudio is thus not necessary too.
Aaron Marcher me@drkhsh.at
Mon, 26 Mar 2018 18:09:30 +0200
More robust preprocessor switches Replace #ifdef with #if defined() and #elif with #elif defined() as it should only test if it is defined or not.
Aaron Marcher me@drkhsh.at
Wed, 21 Mar 2018 12:21:37 +0100
uptime: Port to OpenBSD. In OpenBSD uptime gets fetched using sysctl now.
Aaron Marcher me@drkhsh.at
Tue, 20 Mar 2018 00:48:10 +0100
battery_perc: Port to OpenBSD. In OpenBSD battery percentage gets fetched using apm now.
Aaron Marcher me@drkhsh.at
Mon, 19 Mar 2018 18:44:52 +0100
README: Add list of non-portable functions
Aaron Marcher me@drkhsh.at
Sun, 18 Mar 2018 23:30:54 +0100
Build Linux-only functions only on Linux
Aaron Marcher me@drkhsh.at
Sun, 18 Mar 2018 23:26:13 +0100
README: Add Todo
Aaron Marcher me@drkhsh.at
Sun, 18 Mar 2018 22:51:51 +0100
Merge pull request #43 from SiIky/unknown_str Print unknown_str in case of error
Aaron Marcher me+github@drkhsh.at
Sat, 17 Feb 2018 20:00:04 +0000
Update LICENSE year for myself.
Aaron Marcher me@drkhsh.at
Sat, 06 Jan 2018 23:40:05 +0100
Fix a bug in wifi_essid(). When an invalid interface name is passed to wifi_essid() it does not close opened sockets.
Aaron Marcher me@drkhsh.at
Sat, 06 Jan 2018 23:37:09 +0100
Small fixes in config.mk
Aaron Marcher me@drkhsh.at
Sun, 03 Dec 2017 01:40:38 +0100
Update LICENSE for parazyd
Aaron Marcher me@drkhsh.at
Tue, 24 Oct 2017 11:23:27 +0200
Return actual percentage for wifi_perc() Implement basic percentage calculation for wifi_perc. With this commit, the function returns correct percentage, since the max of what /proc/net/wireless returns is 70.
parazyd parazyd@dyne.org
Tue, 24 Oct 2017 11:03:17 +0200
Move components into dedicated subdirectory This brings us a lot more tidiness.
Laslo Hunhold dev@frign.de
Sun, 24 Sep 2017 15:33:01 +0200
Get rid of HDR variable The HDR variable is used for general purpose headers, which are not given in this project. arg.h and config.h are only needed for slstatus.c, not every component $(COM:=.c). This also fixes a problem introduced in e04a3853643df1c98a451969d515d8850f138bcc, where config.h is pulled into the tarball.
Laslo Hunhold dev@frign.de
Mon, 18 Sep 2017 08:53:19 +0200
Simplify Makefile
Laslo Hunhold dev@frign.de
Sun, 17 Sep 2017 23:48:11 +0200
Fix missing config.h in Makefile
Quentin Rameau quinq@fifth.space
Sun, 17 Sep 2017 22:31:26 +0200
Added LICENSE statements to all source files
Aaron Marcher me@drkhsh.at
Sun, 17 Sep 2017 17:45:03 +0200
Properly declare buf as extern and fix all unused-warnings
Laslo Hunhold dev@frign.de
Sun, 17 Sep 2017 17:21:54 +0200
Rewrite Makefile to accomodate file split
Laslo Hunhold dev@frign.de
Sun, 17 Sep 2017 17:12:44 +0200
Split into multiple files For multiple reasons the program is now split: - Make future porting to OpenBSD easier - Assign header includes to individiual functions - Make future program extensions easier - Recompile only changed parts
Aaron Marcher me@drkhsh.at
Sun, 17 Sep 2017 16:18:17 +0200
Add blank line after setlocale setlocale() has to be separated from the signal handling.
Aaron Marcher me@drkhsh.at
Sat, 16 Sep 2017 14:11:49 +0200
slstatus: set locale I want my date & time printed according my locale settings. This commit enables that Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Kurt Van Dijck dev.kurt@vandijck-laurijssen.be
Mon, 11 Sep 2017 20:05:21 +0200
Added CPU iowait to README
Aaron Marcher me@drkhsh.at
Sat, 16 Sep 2017 13:54:28 +0200
slstatus: add cpu_iowait This commit introduces the cpu_iowait item, this is the percentage of cpu time spent waiting on disks. High numbers typically indicate that your system is not responsive due to disk IO. This commit also avoid sleeping inside the cpu_perc and cpu_iowait functions: waiting in either one implies lost info for the other. Signed-off-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Kurt Van Dijck dev.kurt@vandijck-laurijssen.be
Thu, 14 Sep 2017 23:58:38 +0200
Deleted slstatus.png as it is unnecessary
Aaron Marcher me@drkhsh.at
Thu, 14 Sep 2017 22:20:44 +0200
slstatus load_avg format string
Kamil CholewiĆski harry666t@gmail.com
Fri, 08 Sep 2017 23:08:28 +0200
Added IPv6 address function - Renamed "ip" function to "ipv4" - Added "ipv6" function - Adjusted README and config.def.h accordingly
Aaron Marcher me@drkhsh.at
Mon, 14 Aug 2017 18:00:46 +0200
sexy config.def.h table
Aaron Marcher me@drkhsh.at
Mon, 14 Aug 2017 14:04:21 +0200
Fix a little logic error
Laslo Hunhold dev@frign.de
Mon, 14 Aug 2017 10:24:43 +0200
Add pscanf() This reduces a lot of equivalent code to one function call.
Laslo Hunhold dev@frign.de
Mon, 14 Aug 2017 00:34:00 +0200
Refactor main() We remove the hack with the sleep and global "delay"-variable and use a monotonic clock to derive the desired monotonic properties of the tool. Inside each function that demands a personal delay we can then just do a nanosleep() and be done with it. It's a shame that timespec is so ugly to work with, but there's really no way to make it more beautiful. However, at this cost though we finally can set the interval times in milliseconds and not only just seconds. We remove setlocale(), because nothing good ever came out of this function. Besides that we have some more code refactoring, especially in the argument loop which saves us a bit of complexity.
Laslo Hunhold dev@frign.de
Sun, 13 Aug 2017 23:21:23 +0200
Simplify signal handling a bit
Laslo Hunhold dev@frign.de
Sun, 13 Aug 2017 20:33:44 +0200
Remove unnecessary prototypes
Laslo Hunhold dev@frign.de
Sun, 13 Aug 2017 20:21:49 +0200
Remove unnecessary blank lines after license-notice
Laslo Hunhold dev@frign.de
Sun, 13 Aug 2017 20:21:04 +0200
Fix man page .Os field
Aaron Marcher me@drkhsh.at
Sun, 13 Aug 2017 23:25:44 +0200
Added Makefile target for distribution tarballs.
Aaron Marcher me@drkhsh.at
Sun, 13 Aug 2017 23:05:22 +0200
Fixed man page path According to the FHS, /usr/local/share/man is the correct man page path in this projects's case. Set this to default in config.mk.
Aaron Marcher me@drkhsh.at
Sun, 13 Aug 2017 22:56:14 +0200
slstatus != dmenu lol
Aaron Marcher me@drkhsh.at
Sat, 12 Aug 2017 13:37:12 +0200
Removed #define for unknown_str Debugging #define is very difficult. The performance overhead of static const char is negligible.
Aaron Marcher me@drkhsh.at
Sat, 12 Aug 2017 13:27:30 +0200
Removed #define for update interval Debugging #define, especially in mathematical constructs is very difficult. The performance overhead of static const int is negligible.
Aaron Marcher me@drkhsh.at
Sat, 12 Aug 2017 13:06:24 +0200
Updated LICENSE Extended Ali H. Fardan contribution dates
Aaron Marcher me@drkhsh.at
Sat, 12 Aug 2017 12:55:53 +0200
keyboard_indicators: fix segfault when -s is specified
Ali H. Fardan raiz@firemail.cc
Sat, 12 Aug 2017 07:01:13 +0300
Fixed possible NULL-deref and removed unnecessary XOpenDisplay() - Added a check for the return value of XOpenDisplay() in main(). This fixes a possible NULL-deref. - Removed unnsecessary XOpenDisplay and XCloseDisplay from keyboard_indicators(). The ones in main() are sufficent.
Aaron Marcher me@drkhsh.at
Fri, 11 Aug 2017 14:33:02 +0200
Add and use LEN() macro
Laslo Hunhold dev@frign.de
Fri, 11 Aug 2017 13:39:19 +0200
Refactor battery_state()
Laslo Hunhold dev@frign.de
Fri, 11 Aug 2017 00:17:49 +0200
Reformatted LICENSE to fit 75 character width
Aaron Marcher me@drkhsh.at
Thu, 10 Aug 2017 22:43:56 +0200
Print usage() when we are left with arguments
Laslo Hunhold dev@frign.de
Thu, 10 Aug 2017 22:23:55 +0200
Reduce -o | -n to -s What we really want is to either output to WM_NAME or stdout. If we want just one single line, we do slstatus | head -n 1.
Laslo Hunhold dev@frign.de
Thu, 10 Aug 2017 22:22:39 +0200
Remove d- and v-flags d-flag: There's no need for that, use the &-operator or fork+exec in a non-shell-context. In the latter case you get the PID for free. v-flag: If you want to find out which version of a package is installed, consult your package manager. That's his job.
Laslo Hunhold dev@frign.de
Thu, 10 Aug 2017 21:56:06 +0200
Convert slstatus.1 to mandoc, simplify it and remove -h We also change the semantics of -v to only return the version information. There is now no need for usage() to exit with anything other than 1.
Laslo Hunhold dev@frign.de
Thu, 10 Aug 2017 21:36:29 +0200
Refactor build system
Laslo Hunhold dev@frign.de
Thu, 10 Aug 2017 21:32:10 +0200
New README in plain text
Aaron Marcher me@drkhsh.at
Thu, 10 Aug 2017 21:49:37 +0200
Removed TODO.md
Aaron Marcher me@drkhsh.at
Thu, 10 Aug 2017 21:10:17 +0200
Removed CONTRIBUTING.md
Aaron Marcher me@drkhsh.at
Thu, 10 Aug 2017 21:08:53 +0200
Moved contributors to LICENSE
Aaron Marcher me@drkhsh.at
Thu, 10 Aug 2017 21:06:48 +0200
Copyright sign (C) is not required in LICENSE According to https://opensource.org/licenses/ISC
Aaron Marcher me@drkhsh.at
Thu, 10 Aug 2017 20:32:14 +0200
Removed .gitignore from repository A file outside the repository (.git/info/exclude) can replace this and suits better for this usecase.
Aaron Marcher me@drkhsh.at
Thu, 10 Aug 2017 20:30:52 +0200
new arg.h version by frign
Aaron Marcher me@drkhsh.at
Thu, 10 Aug 2017 11:31:57 +0200
add num_files() function for maildirs ;)
aaron marcher me@drkhsh.at
Sun, 06 Aug 2017 15:02:16 +0200
updated readme
Aaron Marcher info@nulltime.net
Tue, 13 Jun 2017 00:11:35 +0200
check for fgets/fscanf return values
Aaron Marcher info@nulltime.net
Tue, 13 Jun 2017 00:06:56 +0200
use a static buffer instead of dynamic memory
Aaron Marcher info@nulltime.net
Tue, 13 Jun 2017 00:06:04 +0200
remove format characters from stat functions
Aaron Marcher info@nulltime.net
Mon, 12 Jun 2017 23:59:21 +0200
add cpu_freq function
Aaron Marcher info@nulltime.net
Mon, 12 Jun 2017 23:56:21 +0200
add battery_power function
Aaron Marcher info@nulltime.net
Mon, 12 Jun 2017 23:55:27 +0200
added option to output only once and exit afterwards
Aaron Marcher info@nulltime.net
Thu, 11 May 2017 19:06:45 +0200
enable stack protector and compile to position independent executable
Aaron Marcher info@nulltime.net
Thu, 20 Apr 2017 22:33:10 +0200
simplified and improved vol_perc()
Aaron Marcher info@nulltime.net
Thu, 20 Apr 2017 22:30:04 +0200
fix overflow in run_command()
Aaron Marcher info@nulltime.net
Thu, 20 Apr 2017 22:20:19 +0200
username(): get rid of unneeded uid variable
Aaron Marcher info@nulltime.net
Thu, 20 Apr 2017 22:18:24 +0200
Merge pull request #39 from stoeckmann/fgets On success, fgets always terminates the result.
Aaron Marcher info@nulltime.net
Thu, 20 Apr 2017 22:14:56 +0200
Merge pull request #38 from stoeckmann/terminating-nul Fixed out of boundary write on long lines.
Aaron Marcher info@nulltime.net
Sun, 02 Apr 2017 15:27:09 +0200
loading thresholds state
Aaron Marcher info@nulltime.net
Thu, 30 Mar 2017 17:32:20 +0200
Fixed XCloseDisplay() which is not reached in keyboard_indicators()
Aaron Marcher info@nulltime.net
Mon, 23 Jan 2017 21:01:41 +0100
Added keyboard_indicators (Fixes #31)
Aaron Marcher info@nulltime.net
Mon, 16 Jan 2017 12:10:56 +0100
Makefile fix and vol_perc fix for mute
Aaron Marcher info@nulltime.net
Mon, 09 Jan 2017 12:05:29 +0100
simplified Makefile
Aaron Marcher info@nulltime.net
Mon, 09 Jan 2017 09:29:58 +0100
small Makefile tweak
Aaron Marcher info@nulltime.net
Mon, 09 Jan 2017 09:23:17 +0100
Makefile: Added back config.h handling in Makefile
Aaron Marcher info@nulltime.net
Mon, 09 Jan 2017 09:21:18 +0100
Makefile: Fixes #35
Aaron Marcher info@nulltime.net
Mon, 09 Jan 2017 08:24:26 +0100
todo
Aaron Marcher info@nulltime.net
Sat, 07 Jan 2017 22:34:45 +0100
removed ./extern/
Aaron Marcher info@nulltime.net
Sat, 07 Jan 2017 22:33:28 +0100
removed strlcat dependency (was used only once)
Aaron Marcher info@nulltime.net
Sat, 07 Jan 2017 22:31:46 +0100
got rid of concat.h
Aaron Marcher info@nulltime.net
Sat, 07 Jan 2017 22:01:49 +0100
saner makefile: cleaner, simpler, suckless
Aaron Marcher info@nulltime.net
Sat, 07 Jan 2017 21:49:10 +0100
happy new year!
Aaron Marcher info@nulltime.net
Sat, 07 Jan 2017 21:28:22 +0100
run_command: strlen() will not function if string is not null terminated
Aaron Marcher info@nulltime.net
Sat, 07 Jan 2017 21:19:40 +0100
consistent coding style: usage() declaration, eval is a constant
Aaron Marcher info@nulltime.net
Fri, 30 Dec 2016 23:13:21 +0100
Merge pull request #34 from parazyd/master refactor vol_perc to not depend on alsa libraries
Aaron Marcher info@nulltime.net
Fri, 30 Dec 2016 23:01:14 +0100
why releases for such a small project? useless and overhead!
Aaron Marcher info@nulltime.net
Thu, 29 Dec 2016 23:36:05 +0100
#undef strlcpy not needed anymore
Aaron Marcher info@nulltime.net
Thu, 29 Dec 2016 23:30:53 +0100
tested wifi
Aaron Marcher info@nulltime.net
Thu, 29 Dec 2016 23:30:17 +0100
Merge pull request #32 from R41z/master several bugfixes and general improvements, see commits below.
Aaron Marcher info@nulltime.net
Thu, 29 Dec 2016 23:27:57 +0100
kernel_release() coding style and position in code fix
Aaron Marcher info@nulltime.net
Wed, 28 Dec 2016 23:59:19 +0100
Merge pull request #30 from TheMRod/master Add a "uname -r" feature to see which kernel is running
Aaron Marcher info@nulltime.net
Wed, 16 Nov 2016 21:20:26 +0100
Merge pull request #25 from jodizzle/dev/swap Add functions for measuring swap
Aaron Marcher info@nulltime.net
Fri, 28 Oct 2016 16:27:19 +0200
Merge pull request #24 from jodizzle/feat/mute Restore "mute" message
Aaron Marcher info@nulltime.net
Thu, 13 Oct 2016 12:15:18 +0200
Merge pull request #23 from R41z/master get rid of unused variable (silly gcc did not report that error)
Aaron Marcher info@nulltime.net
Wed, 12 Oct 2016 22:01:46 +0200
added quinq to contributors
Aaron Marcher info@nulltime.net
Mon, 10 Oct 2016 20:05:33 +0200
add setlocale() (mostly for datetime function)
Aaron Marcher info@nulltime.net
Mon, 10 Oct 2016 18:58:06 +0200
check daemon() return value
Aaron Marcher info@nulltime.net
Mon, 10 Oct 2016 18:52:46 +0200
fixed run_command()
Aaron Marcher info@nulltime.net
Mon, 10 Oct 2016 09:19:44 +0200
fixed run_command()
Aaron Marcher info@nulltime.net
Mon, 10 Oct 2016 09:02:24 +0200
removed unnecessary fp, shorter return 0 and fixed compiler warning in vol_perc
Aaron Marcher info@nulltime.net
Sun, 09 Oct 2016 14:06:04 +0200
Merge pull request #20 from R41z/master fix division by zero in vol_perc, and hostname() rewrite
Aaron Marcher info@nulltime.net
Sun, 09 Oct 2016 13:50:02 +0200
added name to LICENSE
Aaron Marcher info@nulltime.net
Wed, 05 Oct 2016 22:56:25 +0200
better default config.h
Aaron Marcher info@nulltime.net
Wed, 05 Oct 2016 11:40:36 +0200
3.0
Aaron Marcher info@nulltime.net
Mon, 19 Sep 2016 11:17:51 +0200
braces for one line statements in smprintf()
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 22:01:44 +0200
shorter copyright notice and moved back VERSION and _GNU_SOURCE as the man page version number fails
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 22:00:50 +0200
Merge pull request #19 from R41z/master several changes
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 21:44:48 +0200
updated man page according to readme
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 21:08:21 +0200
added -v to manpage
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 21:07:02 +0200
lol, dwm != slstatus in manpage :D
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 21:06:28 +0200
README.md reloaded
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 17:51:25 +0200
suckless coding style -> added back function prototypes argument variable names
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 17:26:01 +0200
config.mk comment about -Wno-unused-functions
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 17:22:12 +0200
optimization
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 17:15:50 +0200
added -v command line option
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 17:03:53 +0200
simpler usage
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 16:57:55 +0200
do not exit on failed smprintf
Aaron Marcher info@nulltime.net
Sun, 18 Sep 2016 16:54:46 +0200
added man page
Aaron Marcher info@nulltime.net
Sat, 17 Sep 2016 22:51:59 +0200
added man page
Aaron Marcher info@nulltime.net
Sat, 17 Sep 2016 22:51:49 +0200
added optimization back (removed it for debugging some time ago)
Aaron Marcher info@nulltime.net
Sat, 17 Sep 2016 22:03:56 +0200
n/a for run_command()
Aaron Marcher info@nulltime.net
Sat, 17 Sep 2016 18:16:27 +0200
fuck newlines
Aaron Marcher info@nulltime.net
Sat, 17 Sep 2016 18:10:26 +0200
removed TODO.md
Aaron Marcher info@nulltime.net
Sat, 17 Sep 2016 18:08:31 +0200
moved headers to extern
Aaron Marcher info@nulltime.net
Sat, 17 Sep 2016 18:07:03 +0200
shorter names
Aaron Marcher info@nulltime.net
Sat, 17 Sep 2016 17:06:06 +0200
only open and close display if output type is dwm
Aaron Marcher info@nulltime.net
Sat, 17 Sep 2016 16:53:45 +0200
coding style fixes + better var names
Aaron Marcher info@nulltime.net
Sat, 17 Sep 2016 16:51:21 +0200
added daemonization, output possibility to console (for other programs) and moved the code to set WM_NAME to its own function as it is needed two times
Aaron Marcher info@nulltime.net
Fri, 16 Sep 2016 23:31:24 +0200
fixed run_command()
Aaron Marcher info@nulltime.net
Wed, 14 Sep 2016 18:42:51 +0200
Merge pull request #18 from R41z/master simplified run_command()
Aaron Marcher info@nulltime.net
Wed, 14 Sep 2016 16:47:28 +0200
Merge pull request #17 from R41z/master improved hostname()
Aaron Marcher info@nulltime.net
Wed, 14 Sep 2016 11:27:19 +0200
do not overwrite config.h if config.def.h changes
Aaron Marcher info@nulltime.net
Wed, 14 Sep 2016 11:08:37 +0200
hostname() null terminaiton subtraction *is* needed
Aaron Marcher info@nulltime.net
Wed, 14 Sep 2016 11:04:24 +0200
Merge pull request #16 from R41z/master several improvements && memory leak fix.
Aaron Marcher info@nulltime.net
Wed, 14 Sep 2016 10:58:14 +0200
battery_state() function added
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 22:03:36 +0200
fixed vol_perc() typo and added % sign again
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 21:11:11 +0200
simplified vol_perc() (and with that config.def.h is super clean)
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 21:08:44 +0200
lol, battery_perc() is even simpler, fuck this shit :D
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 21:05:49 +0200
simplified battery_perc() a lot and removed useless options from config.def.h
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 20:54:45 +0200
loop's not needed anymore
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 19:35:54 +0200
set old WM_NAME content before exiting
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 19:34:25 +0200
sighandle forgot const
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 19:21:54 +0200
signal handling to exit gracefully + small coding style fixes
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 19:09:01 +0200
simplify status_string clearing
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 18:57:56 +0200
Fixes issue #15. Forgot to close() a socket in wifi_essid()...
Aaron Marcher info@nulltime.net
Tue, 13 Sep 2016 18:54:15 +0200
coding style (global variables)
Aaron Marcher info@nulltime.net
Mon, 12 Sep 2016 12:12:11 +0200
Merge pull request #14 from R41z/master cpu_perc() workaround
Aaron Marcher info@nulltime.net
Mon, 12 Sep 2016 11:47:48 +0200
fixed wifi_perc() typo
Aaron Marcher info@nulltime.net
Mon, 12 Sep 2016 11:28:54 +0200
added my fancy icon
Aaron Marcher info@nulltime.net
Fri, 09 Sep 2016 21:12:13 +0200
brought back update interval
Aaron Marcher info@nulltime.net
Fri, 09 Sep 2016 19:26:06 +0200
removed more unneeded comments
Aaron Marcher info@nulltime.net
Fri, 09 Sep 2016 19:21:26 +0200
fixed username function (wtf happened here?)
Aaron Marcher info@nulltime.net
Fri, 09 Sep 2016 19:19:46 +0200
fixed run_command behaviour for emtpy command output (uninitialized)
Aaron Marcher info@nulltime.net
Fri, 09 Sep 2016 19:18:14 +0200
coding style fixes
Aaron Marcher info@nulltime.net
Fri, 09 Sep 2016 19:15:43 +0200
removed that status_reset (we will do that with signals) and loop.sh (we wont need it)
Aaron Marcher info@nulltime.net
Fri, 09 Sep 2016 19:12:08 +0200
Merge branch 'R41z-master'
Aaron Marcher info@nulltime.net
Fri, 09 Sep 2016 19:07:25 +0200
remove screenshot
Aaron Marcher info@nulltime.net
Thu, 18 Aug 2016 15:03:43 +0200
update sloc count in readme
Aaron Marcher info@nulltime.net
Thu, 18 Aug 2016 15:02:51 +0200
remove todo item
Aaron Marcher info@nulltime.net
Thu, 18 Aug 2016 15:01:19 +0200
suckless coding style fix -> remove slstatus.h
Aaron Marcher info@nulltime.net
Thu, 18 Aug 2016 14:55:05 +0200
added all functions to readme
Aaron Marcher info@nulltime.net
Thu, 18 Aug 2016 13:45:06 +0200
added uptime function
Aaron Marcher info@nulltime.net
Thu, 18 Aug 2016 13:43:18 +0200
load avg
Aaron Marcher info@nulltime.net
Thu, 18 Aug 2016 13:30:45 +0200
added configuration option for n/a text
Aaron Marcher info@nulltime.net
Thu, 18 Aug 2016 13:03:42 +0200
Added \n to all error messages.
Aaron Marcher info@nulltime.net
Tue, 16 Aug 2016 17:40:25 +0200
Removed the debug gcc flags
Aaron Marcher info@nulltime.net
Tue, 16 Aug 2016 17:34:50 +0200
Formatting commit :( I know formatting commits suck... And I try to avoid them. But this commit was absolutely necessary... The coding style in this program was not ok and not the same over the whole program. The commit is hard to read, but this is what I changed: - Tabs for indentation instead of spaces - Same style over the whole program (suckless style)
Aaron Marcher info@nulltime.net
Tue, 16 Aug 2016 11:41:43 +0200
simplified ram function
Aaron Marcher info@nulltime.net
Mon, 15 Aug 2016 16:40:56 +0200
simplified wifi_essid by removing one malloc()
Aaron Marcher info@nulltime.net
Mon, 15 Aug 2016 16:28:02 +0200
this project is now licensed under the ISC license
Aaron Marcher info@nulltime.net
Mon, 15 Aug 2016 16:10:42 +0200
added wifi essid
Aaron Marcher info@nulltime.net
Mon, 15 Aug 2016 14:43:29 +0200
fixed strcat null possibility in main()
Aaron Marcher info@nulltime.net
Mon, 15 Aug 2016 13:08:34 +0200
fixed strlen-bomb in run_command
Aaron Marcher info@nulltime.net
Mon, 15 Aug 2016 12:59:45 +0200
fixed memleak in datetime()
Aaron Marcher info@nulltime.net
Mon, 15 Aug 2016 12:43:43 +0200
void argument main()
Aaron Marcher info@nulltime.net
Mon, 15 Aug 2016 12:34:45 +0200
Fixed alsa function + datetime function
Aaron Marcher info@nulltime.net
Mon, 15 Aug 2016 12:26:00 +0200
Added shell command function
Aaron Marcher info@nulltime.net
Mon, 15 Aug 2016 12:23:35 +0200
revised readme
Aaron Marcher info@nulltime.net
Thu, 30 Jun 2016 18:36:24 +0200
revised readme
Aaron Marcher info@nulltime.net
Thu, 30 Jun 2016 18:29:11 +0200
README update (included information)
Aaron Marcher info@nulltime.net
Tue, 14 Jun 2016 19:19:25 +0200
added, username, gid, uid
Aaron Marcher info@nulltime.net
Mon, 13 Jun 2016 18:49:50 +0200
added disk functions for details
Aaron Marcher info@nulltime.net
Fri, 10 Jun 2016 19:13:13 +0200
added memory values ram functions
Aaron Marcher info@nulltime.net
Fri, 10 Jun 2016 18:46:47 +0200
fixed hostname function and added HOST_NAME_MAX limit
Aaron Marcher info@nulltime.net
Fri, 10 Jun 2016 18:22:05 +0200
hostname function
Aaron Marcher info@nulltime.net
Fri, 10 Jun 2016 15:53:07 +0200
added ip address function
Aaron Marcher info@nulltime.net
Wed, 08 Jun 2016 09:42:32 +0200
added entropy
Aaron Marcher info@nulltime.net
Fri, 03 Jun 2016 13:04:15 +0200
Added icon to TODO.md
Aaron Marcher info@nulltime.net
Sun, 20 Mar 2016 17:07:00 +0100
typo license != license.md :P
Aaron Marcher info@nulltime.net
Sun, 20 Mar 2016 14:20:22 +0100
Changes to documentation and new screenshot. - Better README.md - Headlines in all files - CONTRIBUTING.md - New screenshot
Aaron Marcher info@nulltime.net
Sun, 20 Mar 2016 14:18:05 +0100
Easier info function names All the info function names started with "get_", which I removed to make it easier for the user to configure the program to its needs. Additionally I renamed some functions (e.g. get_ram_usage) to better names, making it easier to extend the program with ram usage / total functions.
Aaron Marcher info@nulltime.net
Fri, 18 Mar 2016 16:15:05 +0100
Merge pull request #10 from sahne/master Fix some memory leaks
Aaron Marcher info@nulltime.net
Thu, 17 Mar 2016 19:15:17 +0100
added license info to slstatus.h
Aaron Marcher info@nulltime.net
Wed, 16 Mar 2016 09:01:07 +0100
header
Aaron Marcher info@nulltime.net
Wed, 16 Mar 2016 08:45:19 +0100
removed from todo
Aaron Marcher info@nulltime.net
Tue, 15 Mar 2016 11:28:14 +0100
added some todos
Aaron Marcher info@nulltime.net
Tue, 15 Mar 2016 11:21:36 +0100
disk usage in README.md
Aaron Marcher info@nulltime.net
Mon, 14 Mar 2016 20:25:56 +0100
completely new system: only values in config file get updated + cleaner code
Aaron Marcher info@nulltime.net
Mon, 14 Mar 2016 20:17:14 +0100
whitespace error
Aaron Marcher info@nulltime.net
Fri, 11 Mar 2016 13:15:17 +0100
removed todo
Aaron Marcher info@nulltime.net
Fri, 11 Mar 2016 13:12:08 +0100
fixed disk percent
Aaron Marcher info@nulltime.net
Fri, 11 Mar 2016 13:11:15 +0100
Merge pull request #9 from sahne/master Add diskusage support
Aaron Marcher info@nulltime.net
Fri, 11 Mar 2016 13:02:26 +0100
Update README.md
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 18:01:39 +0100
Create TODO.md
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 18:00:40 +0100
Merge pull request #8 from Vlaix/master Fixed locale defaulting to English
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 17:29:20 +0100
added update_interval check to config_check()
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 15:50:35 +0100
coding style notice in README.md
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 15:12:09 +0100
added sahne to contributors
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 15:01:28 +0100
fixed some small things (update_interval) interferes with get_cpu_usage() and reordered)
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 14:59:37 +0100
Merge pull request #6 from sahne/master minor cleanups and sanity checks
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 14:50:11 +0100
simplified config.def.h
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 11:11:39 +0100
Merge pull request #5 from Vlaix/master Fixed small buffer in get_datetime()
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 10:59:59 +0100
better screenshot
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 10:29:22 +0100
small changes (var names)
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 08:37:20 +0100
starting in README.md
Aaron Marcher info@nulltime.net
Thu, 10 Mar 2016 07:51:04 +0100
put everything in logical order
Aaron Marcher info@nulltime.net
Wed, 09 Mar 2016 16:30:52 +0100
Merge pull request #4 from Vlaix/ram Changed RAM calculation formula.
Aaron Marcher info@nulltime.net
Wed, 09 Mar 2016 13:08:55 +0100
contributors
Aaron Marcher info@nulltime.net
Wed, 09 Mar 2016 11:26:19 +0100
changed to easier variable names
Aaron Marcher info@nulltime.net
Wed, 09 Mar 2016 11:21:35 +0100
changed to 4 spaces indentation (2 are not enough)
Aaron Marcher info@nulltime.net
Wed, 09 Mar 2016 11:13:27 +0100
Merge pull request #3 from Vlaix/master Fixed broken wifi
Aaron Marcher info@nulltime.net
Wed, 09 Mar 2016 10:53:27 +0100
Merge pull request #2 from pfannkuchengesicht/master fixed some memory leaks
Aaron Marcher info@nulltime.net
Wed, 09 Mar 2016 07:45:51 +0100
fixed tabs xD
Aaron Marcher info@nulltime.net
Tue, 08 Mar 2016 18:39:18 +0100
fixed typo in README.md (jpg <-> png)
Aaron Marcher info@nulltime.net
Tue, 08 Mar 2016 18:18:47 +0100
added screenshot
Aaron Marcher info@nulltime.net
Tue, 08 Mar 2016 18:17:50 +0100
variable names
Aaron Marcher info@nulltime.net
Mon, 07 Mar 2016 10:08:04 +0100
commented and reordered
Aaron Marcher info@nulltime.net
Mon, 07 Mar 2016 10:00:02 +0100
revised everything
Aaron Marcher info@nulltime.net
Sat, 05 Mar 2016 14:07:02 +0100
added config.def.h handling and fixed typo
Aaron Marcher info@nulltime.net
Fri, 04 Mar 2016 18:36:47 +0100
initial commit
Aaron Marcher info@nulltime.net
Fri, 04 Mar 2016 18:07:42 +0100
Initial commit
Aaron Marcher info@nulltime.net
Fri, 04 Mar 2016 10:46:19 +0100
fixed some memory leaks
Roy Freytag rfreytag@hs-mittweida.de
Tue, 08 Mar 2016 20:55:07 +0100
Fixed broken wifi Fixed indentation Removed trailig white spaces
Vincent Loupmon vincentloupmon@gmail.com
Wed, 09 Mar 2016 10:19:10 +0100
Changed RAM calculation formula. Former : MemTotal - MemAvailable New : (MemTotal - MemFree) - (Buffers + Cached)
Vincent Loupmon vincentloupmon@gmail.com
Wed, 09 Mar 2016 12:38:22 +0100
Fixed small buffer in get_datetime() The buffer being hardcoded to 19 (the size expected from the default time format), strftime() would fail on any format returning a longer buffer. Changed it from 19 to 64 to accomodate longer formats.
Vincent Loupmon vincentloupmon@gmail.com
Thu, 10 Mar 2016 10:53:14 +0100
return n/a instead of exiting if a specific value cannot be read
Daniel Walter d.walter@0x90.at
Thu, 10 Mar 2016 13:09:24 +0100
add config checks on startup for better error handling
Daniel Walter d.walter@0x90.at
Thu, 10 Mar 2016 12:11:46 +0100
add update_interval add a short sleep to reduce load
Daniel Walter d.walter@0x90.at
Thu, 10 Mar 2016 11:55:42 +0100
make config.h target depending on config.def.h
Daniel Walter d.walter@0x90.at
Thu, 10 Mar 2016 11:55:12 +0100
simplify smprintf by using vasprintf
Daniel Walter d.walter@0x90.at
Thu, 10 Mar 2016 11:49:48 +0100
Fixed locale defaulting to English Changed get_datetime() a bit so it respects the user-configured locale (to use time formats with strings for days, months etc.) Same commit as last time, except it merges.
Vincent Loupmon vincentloupmon@gmail.com
Thu, 10 Mar 2016 16:50:32 +0100
Add diskusage support add support to show used disk for a given mountpoint
Daniel Walter d.walter@0x90.at
Fri, 11 Mar 2016 12:18:23 +0100
Fix some memory leaks
Daniel Walter dwalter@sigma-star.at
Thu, 17 Mar 2016 19:12:47 +0100
use warn[x]() instead of long fprintf()s
Ali H. Fardan raiz@firemail.cc
Thu, 08 Sep 2016 04:45:00 +0300
used ccat() from concat.h for string concatenation
Ali H. Fardan raiz@firemail.cc
Thu, 08 Sep 2016 04:31:49 +0300
fixed some mistakes
Ali H. Fardan raiz@firemail.cc
Mon, 05 Sep 2016 02:28:18 +0300
what kind of weed is that?
Ali H. Fardan raiz@firemail.cc
Mon, 05 Sep 2016 02:17:30 +0300
bringed back the old config.mk
Ali H. Fardan raiz@firemail.cc
Mon, 05 Sep 2016 01:40:47 +0300
bringed back the old config.mk
Ali H. Fardan raiz@firemail.cc
Mon, 05 Sep 2016 01:40:10 +0300
bringed back the loop
Ali H. Fardan raiz@firemail.cc
Mon, 05 Sep 2016 01:21:03 +0300
imported a new vol_perc() function, this should fix #12 (UNTESTED)
Ali H. Fardan raiz@firemail.cc
Mon, 05 Sep 2016 01:18:55 +0300
added a tool for resetting the status bar && worked around some issues && removed the makefile (we need a better one)
Ali H. Fardan raiz@firemail.cc
Mon, 05 Sep 2016 01:13:48 +0300
config.mk cleanup
Ali H. Fardan raiz@firemail.cc
Mon, 05 Sep 2016 00:56:22 +0300
added daemonization support
Ali H. Fardan raiz@firemail.cc
Sun, 04 Sep 2016 00:10:49 +0300
removed UPDATE_INTERVAL, it is neat to have it but removing it is a tradeoff worth making, because the clock would act weird if this used to work with cpu_perc().
Ali H. Fardan raiz@firemail.cc
Sat, 03 Sep 2016 21:43:05 +0300
removed setstatus() && simplified main()
Ali H. Fardan raiz@firemail.cc
Fri, 02 Sep 2016 22:13:58 +0300
NOTREACHED comment
Ali H. Fardan raiz@firemail.cc
Thu, 01 Sep 2016 21:54:00 +0300
simplified gid()
Ali H. Fardan raiz@firemail.cc
Thu, 01 Sep 2016 21:51:32 +0300
simplified uid() and fixed username()
Ali H. Fardan raiz@firemail.cc
Thu, 01 Sep 2016 21:35:32 +0300
removed unnecessary typecast and added more comments
Ali H. Fardan raiz@firemail.cc
Thu, 01 Sep 2016 21:15:40 +0300
removed unneeded headers
Ali H. Fardan raiz@firemail.cc
Thu, 01 Sep 2016 21:02:17 +0300
opened the file before the path concatenates, what an idiot
Ali H. Fardan raiz@firemail.cc
Wed, 31 Aug 2016 14:29:27 +0300
forgot to give entropy() some candy too
Ali H. Fardan raiz@firemail.cc
Wed, 31 Aug 2016 06:10:53 +0300
slow down boy! you opened the file too early!
Ali H. Fardan raiz@firemail.cc
Wed, 31 Aug 2016 06:00:14 +0300
removed vol function from the default config file
Ali H. Fardan raiz@firemail.cc
Wed, 31 Aug 2016 02:17:42 +0300
got rid of conditional assignments && improved the error messages to output more info && added bound checks for fscanf() in hostname() (a dirty hack) && fixed a bug or two && some tiny style corrections
Ali H. Fardan raiz@firemail.cc
Tue, 30 Aug 2016 21:50:40 +0300
used a different implementation of smprintf() imported from dwmstatus
Ali H. Fardan raiz@firemail.cc
Sun, 28 Aug 2016 19:27:01 +0300
worked around the buffer overrun in smprintf()
Ali H. Fardan raiz@firemail.cc
Sun, 28 Aug 2016 18:19:53 +0300
removed heap dependency in datetime() and simplified the function
Ali H. Fardan raiz@firemail.cc
Sun, 28 Aug 2016 16:39:04 +0300
FIXME: buffer overflow warning
Ali H. Fardan raiz@firemail.cc
Sun, 28 Aug 2016 16:30:12 +0300
removed a misplaced ';'
Ali H. Fardan raiz@firemail.cc
Sun, 28 Aug 2016 16:24:19 +0300
used constant string literals && remote initialization to in battery_perc() && trying to fix possible buffer overflow
Ali H. Fardan raiz@firemail.cc
Sun, 28 Aug 2016 16:20:50 +0300
grammar correction
Ali H. Fardan raiz@firemail.cc
Sun, 28 Aug 2016 15:33:31 +0300
removing typecasts for pcm_mixer cause more issues than before
Ali H. Fardan raiz@firemail.cc
Thu, 25 Aug 2016 23:26:17 +0300
typofix && another update
Ali H. Fardan raiz@firemail.cc
Tue, 23 Aug 2016 14:16:45 +0300
another update to README
Ali H. Fardan raiz@firemail.cc
Tue, 23 Aug 2016 14:13:23 +0300
README update
Ali H. Fardan raiz@firemail.cc
Tue, 23 Aug 2016 14:11:55 +0300
removed unnecessary typecasts (might be a reason for snd_mixer_selem_get_playback_volume_range bug
Ali H. Fardan raiz@firemail.cc
Tue, 23 Aug 2016 13:27:42 +0300
status_string can hold 4096 bytes now
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 16:00:34 +0300
fixed compiler warnings in a better way
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 15:43:57 +0300
corrected the time format
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 15:21:20 +0300
rm .config.h.swp
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 15:20:07 +0300
fixed the code, works now
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 15:19:45 +0300
Added myself to CONTRIBUTORS.md by drkh5h's request
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 12:04:01 +0300
(void)ed the prototypes
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 12:00:51 +0300
set local function as static
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 11:28:42 +0300
-Wextra
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 11:10:37 +0300
the code describes itself, there is no need to write stories in /* */
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 11:10:14 +0300
braces are unneeded for one-liner if()/while()
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 00:28:36 +0300
added bounds checking via secure strl*() routines
Ali H. Fardan raiz@firemail.cc
Sun, 21 Aug 2016 00:00:23 +0300
fixed (hopefully) the vol_perc() function
Ali H. Fardan raiz@firemail.cc
Sun, 11 Sep 2016 13:57:04 +0300
fixed cpu_perc() stupidity && added some useful comment for drkh5h
Ali H. Fardan raiz@firemail.cc
Sun, 11 Sep 2016 13:33:35 +0300
malloc sucks, you know?
Ali H. Fardan raiz@firemail.cc
Wed, 14 Sep 2016 03:35:53 +0300
* != **
Ali H. Fardan raiz@firemail.cc
Wed, 14 Sep 2016 03:35:09 +0300
minor improvements and memory leak fix
Ali H. Fardan raiz@firemail.cc
Wed, 14 Sep 2016 03:31:01 +0300
Merge branch 'master' of https://github.com/drkh5h/slstatus
Ali H. Fardan raiz@firemail.cc
Wed, 14 Sep 2016 03:24:53 +0300
subtraction is unneeded
Ali H. Fardan raiz@firemail.cc
Mon, 12 Sep 2016 13:51:43 +0300
improved hostname()
Ali H. Fardan raiz@firemail.cc
Wed, 14 Sep 2016 12:22:03 +0300
variable initialization is back
Ali H. Fardan raiz@firemail.cc
Wed, 14 Sep 2016 17:42:48 +0300
simplified run_command()
Ali H. Fardan raiz@firemail.cc
Wed, 14 Sep 2016 16:20:20 +0300
several changes
Ali H. Fardan raiz@firemail.cc
Sun, 18 Sep 2016 22:27:04 +0300
hostname: use POSIX routine to get hostname rather than reading from procfs
Ali H. Fardan raiz@firemail.cc
Sat, 08 Oct 2016 19:55:25 +0300
vol_perc: return zero if the value of max is set to zero
user user@1337
Sat, 08 Oct 2016 19:50:53 +0300
get rid of unused variable (silly gcc did not report that error)
Ali H. Fardan raiz@firemail.cc
Wed, 12 Oct 2016 20:54:45 +0300
vol_perc: Return "mute" when mixer is muted This feature was originally removed as part of 52d19f9.
Jody Leonard me@jodyleonard.com
Thu, 13 Oct 2016 03:20:36 -0400
swap: Print UNKNOWN_STR if no swap is allocated
Jody Leonard me@jodyleonard.com
Sat, 15 Oct 2016 19:50:02 -0400
Update README.md
Jody Leonard me@jodyleonard.com
Sat, 15 Oct 2016 06:49:33 -0400
Edit config.def.h function descriptions
Jody Leonard me@jodyleonard.com
Sat, 15 Oct 2016 06:36:21 -0400
Add functions for measuring swap
Jody Leonard me@jodyleonard.com
Fri, 14 Oct 2016 05:44:46 -0400
Add "uname -r" functionality
Mike Coddington mike@coddington.us
Thu, 03 Nov 2016 11:49:09 -0500
Merge branch 'master' into master
Aaron Marcher info@nulltime.net
Thu, 29 Dec 2016 23:27:44 +0100
fix TODO markdown syntax && update
raiz raiz@firemail.cc
Thu, 29 Dec 2016 15:37:17 +0300
add braces to single statements so drkhsh doesn't be upset
raiz raiz@firemail.cc
Thu, 29 Dec 2016 12:40:43 +0300
usage(): return success if -h is called && print more appropriate usage, opts can't be all called at the same time, that's why a separator is required
raiz raiz@firemail.cc
Tue, 27 Dec 2016 20:41:40 +0300
another TODO update
raiz raiz@firemail.cc
Tue, 27 Dec 2016 20:33:28 +0300
TODO update
raiz raiz@firemail.cc
Tue, 27 Dec 2016 20:32:22 +0300
homepage update
raiz raiz@firemail.cc
Tue, 27 Dec 2016 20:20:45 +0300
extern/concat.h: don't segfault if count == 0
raiz raiz@firemail.cc
Tue, 27 Dec 2016 20:18:33 +0300
whhops, my bad
raiz raiz@firemail.cc
Tue, 27 Dec 2016 20:18:09 +0300
wifi_essid: add boundary check && prevent the use of direct string literal as a format string in snprintf()
raiz raiz@firemail.cc
Tue, 27 Dec 2016 20:14:45 +0300
don't allow the use of perc if uninitialized
raiz raiz@firemail.cc
Tue, 27 Dec 2016 20:09:07 +0300
remove misleading comment
raiz raiz@firemail.cc
Tue, 27 Dec 2016 19:57:16 +0300
get rid of set_status() since it's only used once
raiz raiz@firemail.cc
Tue, 27 Dec 2016 19:56:11 +0300
allow the use of %* symbols in UNKNOWN_STR
raiz raiz@firemail.cc
Tue, 27 Dec 2016 19:53:46 +0300
add extra error tests to swap_*() && fix bytes_read bug
raiz raiz@firemail.cc
Tue, 27 Dec 2016 19:49:31 +0300
swap_*(): add more error tests
raiz raiz@firemail.cc
Tue, 27 Dec 2016 19:26:04 +0300
fix delay in a cleaner way
raiz raiz@firemail.cc
Tue, 27 Dec 2016 19:12:39 +0300
remove newlines from warn() in swap_*(), those functions already print a newline after printing string stderr
raiz raiz@firemail.cc
Tue, 27 Dec 2016 19:07:19 +0300
inititalize run_command()'s buf to UNKNOWN_STR by default
raiz raiz@firemail.cc
Tue, 27 Dec 2016 18:58:31 +0300
remove newline character from run_command() output accurately
raiz raiz@firemail.cc
Tue, 27 Dec 2016 18:57:27 +0300
strtok() has no effect on buf && fgets() should have the full buffer length
raiz raiz@firemail.cc
Tue, 27 Dec 2016 18:54:16 +0300
whhops
raiz raiz@firemail.cc
Sun, 18 Dec 2016 10:36:01 +0300
remove unused strlcpy() and reduce the size of output buffer
raiz raiz@firemail.cc
Sun, 18 Dec 2016 10:35:36 +0300
Merge branch 'master' into master
parazyd parazyd@users.noreply.github.com
Fri, 30 Dec 2016 14:21:19 +0100
add vol_perc notes, add braces to singleline statements
parazyd parazyd@dyne.org
Fri, 30 Dec 2016 12:16:07 +0100
refactor vol_perc to not depend on alsa libraries
parazyd parazyd@dyne.org
Wed, 28 Dec 2016 00:41:51 +0100
Fixed out of boundary write on long lines. The terminating nul character ('\0') could be written outside the boundary of the buffer which is used to read characters. If "sizeof(buffer)" characters are read, the resulting value must not be used as index, because that's an off by one. Read sizeof(buffer)-1 bytes instead. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Tobias Stoeckmann tobias@stoeckmann.org
Sun, 02 Apr 2017 13:12:03 +0200
On success, fgets always terminates the result. If fgets succeeds, then the resulting char array is always terminated by a '\0'. No need to keep extra space, therefore sizeof(buf) is the correct argument. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Tobias Stoeckmann tobias@stoeckmann.org
Tue, 04 Apr 2017 21:27:31 +0200
Print unknown_str in case of error func can return NULL in case of error, but no checking is done when printing, and unknown_str wasn't being used anywhere.
SiIky siiky@users.noreply.github.com
Sat, 17 Feb 2018 18:08:27 +0000