sjef
9aec572fa3
Improve comment description for the future
...
smooth and sm might not always be next to each other
11 years ago
sjef
a70273fb16
Fix indentation
11 years ago
sjef
00fb123323
Fix typos
11 years ago
sjef
d9a9fe5e36
Remove unused macro (PI)
11 years ago
sjef
11dac58f08
Use English instead of Norwegian in debug
11 years ago
sjef
c0dc9f24e7
Divide long code line into several short lines
11 years ago
sjef
c3810efdb4
Make comment-style more consistent
11 years ago
karlstav
da9be64f7d
improved fontfile for tty, 8 is now fullblock
11 years ago
karl
94102135d3
Merge pull request #28 from sjef/master
...
Fix typos
11 years ago
sjef
ccbe7d32b2
Fix typos
11 years ago
karl
7a5e18199e
improved filters
...
changed order of filters, fallof -> monstercat -> integral
11 years ago
karl
abf8859816
removed ncurses from todo-list
11 years ago
karlstav
ffbd04c728
first ncurses commit
11 years ago
karl
6f3251124d
Merge pull request #27 from CelestialWalrus/master
...
Small code readability fixes.
11 years ago
CelestialWalrus
1a32055275
Prepare for #24
11 years ago
CelestialWalrus
7dc8635fe4
Moved DEBUGs more to the right.
11 years ago
CelestialWalrus
219eca60ed
Fixed usage
11 years ago
CelestialWalrus
e8136bd469
More small changes
11 years ago
CelestialWalrus
f08ab5871b
Removed unnecessary gotod:
11 years ago
CelestialWalrus
7107d7b224
Improved code readability, commented some stuff
11 years ago
karl
e125f82cad
Merge pull request #26 from livibetter/fix-exit-no-cleanup
...
fix exit with no cleanup, change label "exit" to common "out", use EXIT_FAILURE
11 years ago
Yu-Jie Lin
533b9bfec8
fix exit with no cleanup, change label "exit" to common "out", use EXIT_FAILURE
11 years ago
karlstav
6a9b405801
Merge branch 'livibetter-key-controls'
...
Adds key controls +bug fixes
Now officially version 0.1.0
11 years ago
Yu-Jie Lin
8114d318af
fix misuse of SIGQUIT, better handling signals and user quitting
...
I minused SIGQUIT in 902c08bde0 , should be SIGTERM. The default action Core (also see signal(7)` actually would dump core [1].
SIGTERM is the right choice, however, the default action would exit with 143 instead of 0. I do not want to `exit(EXIT_SUCCESS)`, because if user `pkill cava` not by q key, it should exit with 143. Therefore, I made it `goto exit`.
The (default) signal handlers is used by `signal() [2]`, no need to store `old_action`.
References:
[1]: http://www.gnu.org/software/libc/manual/html_node/Termination-Signals.html#index-SIGQUIT
[2]: http://www.gnu.org/software/libc/manual/html_node/Termination-in-Handler.html#Termination-in-Handler
11 years ago
Yu-Jie Lin
aad1e793ac
fix max bars when starting with -S then toggle with s key, use <kbd/> to mark keys. ( #22 )
11 years ago
An Ko
87dd6cc157
Merge remote-tracking branch 'livibetter/key-controls'
11 years ago
karl
04f0d4d949
Merge pull request #19 from livibetter/fix-segfault-fail-open
...
fix Segmentation fault after failing to open stream
11 years ago
karl
7269f94eff
Merge pull request #18 from livibetter/print-version
...
add -v option for printing version (#17 ), fix -h option text and optstring
11 years ago
Yu-Jie Lin
902c08bde0
add key controls
...
Using termios to set MIN=0 for not blocking, also handling `stty -echo`.
11 years ago
Yu-Jie Lin
2a117968c9
fix Segmentation fault after failing to open stream
...
After printing out the error message music() doesn't exit, but continue, that leads to segfault.
11 years ago
Yu-Jie Lin
67bfef75b3
add -v option for printing version ( #17 ), fix -h option text and optstring
11 years ago
karl
ac5c5614c5
tweaking
11 years ago
karlstav
dae38fe1a7
put fifo values into buffer the correct way, fixes #15
11 years ago
karl
1c49b01d2f
Merge pull request #16 from CelestialWalrus/patch-1
...
"Scientific" mode switch
11 years ago
Alex Smith
ee6cf78009
"Scientific" mode switch
11 years ago
karl
db805718e2
cleaned up some comments
11 years ago
karl
a81fe634a7
Merge pull request #14 from livibetter/make-debug
...
make debug option
11 years ago
Yu-Jie Lin
ee8decefc9
make debug option
11 years ago
karl
a857acada7
Merge pull request #13 from livibetter/simplify-bar-char
...
simplify bar character printing
11 years ago
karl
0806d20429
new gif! + small edit
11 years ago
karl
31269fad13
new gif!
11 years ago
Yu-Jie Lin
20159637b0
simplify bar character printing
11 years ago
karl
46169ca14c
Merge pull request #12 from livibetter/readable-usage
...
make usage more coder-friendly
11 years ago
Yu-Jie Lin
bbaaf28961
make usage more coder-friendly
11 years ago
karlstav
f0b9d40fd8
non-blocking fifo read [issue 7]
11 years ago
karlstav
99cb8f4ec8
non-blocking fifo read [issue 7]
11 years ago
karl
4f08afd974
Merge pull request #11 from livibetter/c99
...
set -std=c99 -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L, fix warnings and errors
11 years ago
Yu-Jie Lin
41825f3462
set -std=c99 -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L, fix warnings and errors
...
* Change type of `rate` to `unsigned` to match, now use 0 for the waiting.
* `sig_no` and `thr_id` are tagged with GCC unused attribute to suppress the warnings.
* Switch to `nanosleep`.
11 years ago
karlstav
2921e98659
styled again with astyle
11 years ago
karlstav
d04c6ef2fb
styled with astyle
11 years ago