Xinqi Bao's Git
projects
/
slstatus.git
/ history
summary
|
log
|
commit
|
diff
|
tree
first ⋅ prev ⋅
next
Refactor snprintf-usage in util.c
[slstatus.git]
/
slstatus.c
2018-05-22
Laslo Hunhold
Remove o-flag as it is redundant
blob
|
commitdiff
|
raw
2018-05-22
Laslo Hunhold
Check printf() for output errors
blob
|
commitdiff
|
raw
|
diff to current
2018-05-21
Aaron Marcher
Add option to output only once and exit
blob
|
commitdiff
|
raw
|
diff to current
2018-05-19
Laslo Hunhold
Implement esnprintf() and make formatted calls more...
blob
|
commitdiff
|
raw
|
diff to current
2018-05-18
Laslo Hunhold
Add warn() and die()
blob
|
commitdiff
|
raw
|
diff to current
2018-05-18
Laslo Hunhold
Audit slstatus.c
blob
|
commitdiff
|
raw
|
diff to current
2018-05-17
Laslo Hunhold
Properly handle *snprintf() errors
blob
|
commitdiff
|
raw
|
diff to current
2018-05-17
Aaron Marcher
Change done to int as it is the CPU's natural type
blob
|
commitdiff
|
raw
|
diff to current
2018-05-08
Josuah Demangeon
fflush(stdout) to print line by line if stdout is not...
blob
|
commitdiff
|
raw
|
diff to current
2018-05-07
Aaron Marcher
Only variable declarations at top of block
blob
|
commitdiff
|
raw
|
diff to current
2018-03-28
Aaron Marcher
Remove program name from error messages
blob
|
commitdiff
|
raw
|
diff to current
2018-03-28
Aaron Marcher
Remove unnecessary headers
blob
|
commitdiff
|
raw
|
diff to current
2018-02-17
Aaron Marcher
Merge pull request #43 from SiIky/unknown_str
blob
|
commitdiff
|
raw
|
diff to current
2018-02-17
SiIky
Print unknown_str in case of error
blob
|
commitdiff
|
raw
|
diff to current
2017-09-17
Laslo Hunhold
Properly declare buf as extern and fix all unused-warnings
blob
|
commitdiff
|
raw
|
diff to current
2017-09-17
Laslo Hunhold
Rewrite Makefile to accomodate file split
blob
|
commitdiff
|
raw
|
diff to current
2017-09-17
Aaron Marcher
Split into multiple files
blob
|
commitdiff
|
raw
|
diff to current
2017-09-16
Aaron Marcher
Add blank line after setlocale
blob
|
commitdiff
|
raw
|
diff to current
2017-09-16
Kurt Van Dijck
slstatus: set locale
blob
|
commitdiff
|
raw
|
diff to current
2017-09-16
Kurt Van Dijck
slstatus: add cpu_iowait
blob
|
commitdiff
|
raw
|
diff to current
2017-09-10
Kamil CholewiĆski
slstatus load_avg format string
blob
|
commitdiff
|
raw
|
diff to current
2017-08-14
Aaron Marcher
Added IPv6 address function
blob
|
commitdiff
|
raw
|
diff to current
2017-08-14
Laslo Hunhold
Fix a little logic error
blob
|
commitdiff
|
raw
|
diff to current
2017-08-14
Laslo Hunhold
Add pscanf()
blob
|
commitdiff
|
raw
|
diff to current
2017-08-13
Laslo Hunhold
Refactor main()
blob
|
commitdiff
|
raw
|
diff to current
2017-08-13
Laslo Hunhold
Simplify signal handling a bit
blob
|
commitdiff
|
raw
|
diff to current
2017-08-13
Laslo Hunhold
Remove unnecessary prototypes
blob
|
commitdiff
|
raw
|
diff to current
2017-08-13
Laslo Hunhold
Remove unnecessary blank lines after license-notice
blob
|
commitdiff
|
raw
|
diff to current
2017-08-12
Aaron Marcher
Removed #define for unknown_str
blob
|
commitdiff
|
raw
|
diff to current
2017-08-12
Aaron Marcher
Removed #define for update interval
blob
|
commitdiff
|
raw
|
diff to current
2017-08-12
Ali H. Fardan
keyboard_indicators: fix segfault when -s is specified
blob
|
commitdiff
|
raw
|
diff to current
2017-08-11
Aaron Marcher
Fixed possible NULL-deref and removed unnecessary XOpen...
blob
|
commitdiff
|
raw
|
diff to current
2017-08-11
Laslo Hunhold
Add and use LEN() macro
blob
|
commitdiff
|
raw
|
diff to current
2017-08-10
Laslo Hunhold
Refactor battery_state()
blob
|
commitdiff
|
raw
|
diff to current
2017-08-10
Laslo Hunhold
Print usage() when we are left with arguments
blob
|
commitdiff
|
raw
|
diff to current
2017-08-10
Laslo Hunhold
Reduce -o | -n to -s
blob
|
commitdiff
|
raw
|
diff to current
2017-08-10
Laslo Hunhold
Remove d- and v-flags
blob
|
commitdiff
|
raw
|
diff to current
2017-08-10
Laslo Hunhold
Convert slstatus.1 to mandoc, simplify it and remove -h
blob
|
commitdiff
|
raw
|
diff to current
2017-08-06
aaron marcher
add num_files() function for maildirs ;)
blob
|
commitdiff
|
raw
|
diff to current
2017-06-12
Aaron Marcher
check for fgets/fscanf return values
blob
|
commitdiff
|
raw
|
diff to current
2017-06-12
Aaron Marcher
use a static buffer instead of dynamic memory
blob
|
commitdiff
|
raw
|
diff to current
2017-06-12
Aaron Marcher
remove format characters from stat functions
blob
|
commitdiff
|
raw
|
diff to current
2017-06-12
Aaron Marcher
add cpu_freq function
blob
|
commitdiff
|
raw
|
diff to current
2017-06-12
Aaron Marcher
add battery_power function
blob
|
commitdiff
|
raw
|
diff to current
2017-05-11
Aaron Marcher
added option to output only once and exit afterwards
blob
|
commitdiff
|
raw
|
diff to current
2017-04-20
Aaron Marcher
simplified and improved vol_perc()
blob
|
commitdiff
|
raw
|
diff to current
2017-04-20
Aaron Marcher
fix overflow in run_command()
blob
|
commitdiff
|
raw
|
diff to current
2017-04-20
Aaron Marcher
username(): get rid of unneeded uid variable
blob
|
commitdiff
|
raw
|
diff to current
2017-04-20
Aaron Marcher
Merge pull request #39 from stoeckmann/fgets
blob
|
commitdiff
|
raw
|
diff to current
2017-04-04
Tobias Stoeckmann
On success, fgets always terminates the result.
blob
|
commitdiff
|
raw
|
diff to current
2017-04-02
Aaron Marcher
Merge pull request #38 from stoeckmann/terminating-nul
blob
|
commitdiff
|
raw
|
diff to current
2017-04-02
Tobias Stoeckmann
Fixed out of boundary write on long lines.
blob
|
commitdiff
|
raw
|
diff to current
2017-03-30
Aaron Marcher
loading thresholds state
blob
|
commitdiff
|
raw
|
diff to current
2017-01-23
Aaron Marcher
Fixed XCloseDisplay() which is not reached in keyboard_...
blob
|
commitdiff
|
raw
|
diff to current
2017-01-16
Aaron Marcher
Added keyboard_indicators (Fixes #31)
blob
|
commitdiff
|
raw
|
diff to current
2017-01-09
Aaron Marcher
Makefile fix and vol_perc fix for mute
blob
|
commitdiff
|
raw
|
diff to current
2017-01-07
Aaron Marcher
removed ./extern/
blob
|
commitdiff
|
raw
|
diff to current
2017-01-07
Aaron Marcher
removed strlcat dependency (was used only once)
blob
|
commitdiff
|
raw
|
diff to current
2017-01-07
Aaron Marcher
got rid of concat.h
blob
|
commitdiff
|
raw
|
diff to current
2017-01-07
Aaron Marcher
happy new year!
blob
|
commitdiff
|
raw
|
diff to current
2017-01-07
Aaron Marcher
run_command: strlen() will not function if string is...
blob
|
commitdiff
|
raw
|
diff to current
2016-12-30
Aaron Marcher
consistent coding style: usage() declaration, eval...
blob
|
commitdiff
|
raw
|
diff to current
2016-12-30
Aaron Marcher
Merge pull request #34 from parazyd/master
blob
|
commitdiff
|
raw
|
diff to current
2016-12-30
parazyd
Merge branch 'master' into master
blob
|
commitdiff
|
raw
|
diff to current
2016-12-30
parazyd
add vol_perc notes, add braces to singleline statements
blob
|
commitdiff
|
raw
|
diff to current
2016-12-29
Aaron Marcher
why releases for such a small project? useless and...
blob
|
commitdiff
|
raw
|
diff to current
2016-12-29
Aaron Marcher
#undef strlcpy not needed anymore
blob
|
commitdiff
|
raw
|
diff to current
2016-12-29
Aaron Marcher
Merge pull request #32 from R41z/master
blob
|
commitdiff
|
raw
|
diff to current
2016-12-29
Aaron Marcher
Merge branch 'master' into master
blob
|
commitdiff
|
raw
|
diff to current
2016-12-29
raiz
add braces to single statements so drkhsh doesn't be...
blob
|
commitdiff
|
raw
|
diff to current
2016-12-28
Aaron Marcher
kernel_release() coding style and position in code fix
blob
|
commitdiff
|
raw
|
diff to current
2016-12-27
parazyd
refactor vol_perc to not depend on alsa libraries
blob
|
commitdiff
|
raw
|
diff to current
2016-12-27
raiz
usage(): return success if -h is called && print more...
blob
|
commitdiff
|
raw
|
diff to current
2016-12-27
raiz
whhops, my bad
blob
|
commitdiff
|
raw
|
diff to current
2016-12-27
raiz
wifi_essid: add boundary check && prevent the use of...
blob
|
commitdiff
|
raw
|
diff to current
2016-12-27
raiz
don't allow the use of perc if uninitialized
blob
|
commitdiff
|
raw
|
diff to current
2016-12-27
raiz
remove misleading comment
blob
|
commitdiff
|
raw
|
diff to current
2016-12-27
raiz
get rid of set_status() since it's only used once
blob
|
commitdiff
|
raw
|
diff to current
2016-12-27
raiz
allow the use of %* symbols in UNKNOWN_STR
blob
|
commitdiff
|
raw
|
diff to current
2016-12-27
raiz
add extra error tests to swap_*() && fix bytes_read bug
blob
|
commitdiff
|
raw
|
diff to current
2016-12-27
raiz
swap_*(): add more error tests
blob
|
commitdiff
|
raw
|
diff to current
2016-12-27
raiz
fix delay in a cleaner way
blob
|
commitdiff
|
raw
|
diff to current
2016-12-27
raiz
remove newlines from warn() in swap_*(), those function...
blob
|
commitdiff
|
raw
|
diff to current
2016-12-27
raiz
inititalize run_command()'s buf to UNKNOWN_STR by default
blob
|
commitdiff
|
raw
|
diff to current
2016-12-27
raiz
remove newline character from run_command() output...
blob
|
commitdiff
|
raw
|
diff to current
2016-12-27
raiz
strtok() has no effect on buf && fgets() should have...
blob
|
commitdiff
|
raw
|
diff to current
2016-12-18
raiz
whhops
blob
|
commitdiff
|
raw
|
diff to current
2016-12-18
raiz
remove unused strlcpy() and reduce the size of output...
blob
|
commitdiff
|
raw
|
diff to current
2016-11-16
Aaron Marcher
Merge pull request #30 from TheMRod/master
blob
|
commitdiff
|
raw
|
diff to current
2016-11-16
Mike Coddington
Add "uname -r" functionality
blob
|
commitdiff
|
raw
|
diff to current
2016-10-28
Aaron Marcher
Merge pull request #25 from jodizzle/dev/swap
blob
|
commitdiff
|
raw
|
diff to current
2016-10-15
Jody Leonard
swap: Print UNKNOWN_STR if no swap is allocated
blob
|
commitdiff
|
raw
|
diff to current
2016-10-15
Jody Leonard
Add functions for measuring swap
blob
|
commitdiff
|
raw
|
diff to current
2016-10-13
Aaron Marcher
Merge pull request #24 from jodizzle/feat/mute
blob
|
commitdiff
|
raw
|
diff to current
2016-10-13
Jody Leonard
vol_perc: Return "mute" when mixer is muted
blob
|
commitdiff
|
raw
|
diff to current
2016-10-12
Aaron Marcher
Merge pull request #23 from R41z/master
blob
|
commitdiff
|
raw
|
diff to current
2016-10-12
Ali H. Fardan
get rid of unused variable (silly gcc did not report...
blob
|
commitdiff
|
raw
|
diff to current
2016-10-10
Aaron Marcher
add setlocale() (mostly for datetime function)
blob
|
commitdiff
|
raw
|
diff to current
2016-10-10
Aaron Marcher
check daemon() return value
blob
|
commitdiff
|
raw
|
diff to current
2016-10-10
Aaron Marcher
fixed run_command()
blob
|
commitdiff
|
raw
|
diff to current
next