karlstav
|
74c1569b19
|
added more cleanups in the optargs
|
11 years ago |
karlstav
|
4824e0ff4b
|
added handle for tiny terminal width fixing #32
|
11 years ago |
karlstav
|
19937a6c0b
|
moved signal and terminal preperation to before getopts, fixing terminal screwup when specifying invalid prams
|
11 years ago |
karl
|
da51509e62
|
ncurses install instructions on arch
|
11 years ago |
karl
|
7e9bdb0212
|
Merge pull request #35 from anko/master
Merge ncurses-rendering to master
|
11 years ago |
An Ko
|
4bedd48aee
|
Merge remote-tracking branch 'origin/ncurses'
Fixes karlstav/cava#4.
|
11 years ago |
karl
|
10cde13df2
|
Merge pull request #33 from anko/ncurses-portable-build
Portable ncurses build
|
11 years ago |
An Ko
|
1aabc2116a
|
Portable ncurses build
Fixes karlstav/cava#4.
|
11 years ago |
karlstav
|
b3c4d3bd54
|
fix fps = 1 after sleep bug
|
11 years ago |
karlstav
|
fda69d46ea
|
fix framerate handling, better center adjustment, cleaning
|
11 years ago |
karl
|
d819bc463d
|
simplifed ALSA loopback setup
|
11 years ago |
karl
|
09fe5bd50f
|
Merge pull request #29 from sjef/master
General improvements to code readability
|
11 years ago |
sjef
|
1d5bd3cab9
|
Fix typos
|
11 years ago |
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 |