summaryrefslogtreecommitdiff
path: root/src/main.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-05Avoid player mode race conditionLars-Dominik Braun1-16/+13
Always run cleanup, ensure thread is joined and player struct is reset. See #250.
2012-05-01Don’t hardcode passwordsLars-Dominik Braun1-1/+3
It’s a bad idea to hardcode these, although playback does not work with non-android login yet.
2012-03-31Warn if ctl is not a fifoLars-Dominik Braun1-3/+13
Ordinary files are not supported and cause problems, so close the fd and print a warning instead. Thanks to Sergey Bronnikov for the initial patch.
2012-03-17Auto-select last remaining item of filtered listLars-Dominik Braun1-1/+2
See #231.
2012-01-12Eliminate concurrent use of (un-)buffered I/OLars-Dominik Braun1-1/+2
Closes #201
2012-01-11TLS is enabled per-request nowLars-Dominik Braun1-1/+0
2011-11-11waitress: Fingerprint checkLars-Dominik Braun1-14/+3
Reduces memory usage, protects against 0wned CA's and avoids ca-bundle confusion. Closes #175
2011-11-10Die if trust file load failsLars-Dominik Braun1-4/+16
2011-11-09TLS is not optional any moreLars-Dominik Braun1-11/+1
2011-11-09Added TLS settingsLars-Dominik Braun1-4/+8
2011-11-09Free Waitress handleLars-Dominik Braun1-0/+1
2011-11-09waitress: move credentials init to WaitressInitLars-Dominik Braun1-2/+2
Reusable.
2011-11-09waitress: Initial TLS implementation (using gnutls)Lars-Dominik Braun1-1/+9
2011-10-22Support seed stationsLars-Dominik Braun1-1/+1
Fixes #165
2011-08-23Configureable fifo pathLars-Dominik Braun1-4/+2
See #149.
2011-07-29Ask for email address instead of usernameOliver Graff1-1/+1
Fixes #144
2011-07-25Added toggle to quickmix menuLars-Dominik Braun1-1/+1
Closes #141
2011-07-14Defined _DARWIN_C_SOURCELars-Dominik Braun1-0/+1
Required to expose non-standard functions. Closes #138
2011-07-11Disable feature test macros on FreeBSDEitan Adler1-0/+2
Closes #136
2011-06-13waitress: Rewrite split urlLars-Dominik Braun1-17/+5
Accepts user and password in urls now. Tests added.
2011-05-18Configureable format stringsLars-Dominik Braun1-16/+20
Closes #88
2011-02-26Always add song to historyLars-Dominik Braun1-35/+3
2011-02-26Rewrite input processingLars-Dominik Braun1-23/+4
2011-02-07Add eventcmd events for login/fetch stationsLars-Dominik Braun1-9/+11
See issue #83
2011-02-02BarReadline rewriteLars-Dominik Braun1-53/+30
Doesn't use c streams any more, allows multiplexing of fifo/stdin in all situations.
2011-02-02Allow keyboard shortcuts to be disabledLars-Dominik Braun1-5/+10
Something like act_foobar = disabled disables the command foobar completely now. Useful if you don't use software volume control. See issue #78.
2011-01-15Send station list to eventcmdMatthew Beckler1-4/+5
See issue #76
2010-12-27Fix high cpu usage if stdin is /dev/nullLars-Dominik Braun1-0/+4
See issue #71.
2010-12-27Change my email addressLars-Dominik Braun1-1/+1
Again. And hopefully the last time.
2010-12-27Use PATH_MAX from limits.hLars-Dominik Braun1-2/+2
2010-12-27Software volume controlLars-Dominik Braun1-1/+3
2010-12-14Refactored main()castlec1-263/+345
No functional changes.
2010-11-21Show custom rating icon in upcoming/history song listLars-Dominik Braun1-1/+2
Closes issue #54
2010-10-25Use BarApp_t in BarUiPianoCallLars-Dominik Braun1-6/+6
Required for automatic reauthentication
2010-10-18Initialize main fd arrayLars-Dominik Braun1-2/+2
Cherry-picked from Josh Elsasser's unixsocket patch.
2010-08-21Preparing for release 2010.08.21Lars-Dominik Braun1-1/+2
2010-08-09Make something useful with misc.sync responseLars-Dominik Braun1-0/+1
Calculcate offset to time() and use that offset to avoid out of sync errors.
2010-07-31Replaced long argument list of ui callback functionsLars-Dominik Braun1-111/+105
Structure BarApp_t contains most important data now.
2010-07-30Use static const for large read-only arraysLars-Dominik Braun1-1/+1
2010-07-30Feature: Custom station sortingLars-Dominik Braun1-1/+2
Sort stations by name and/or isquickmix.
2010-07-30Control proxy overrides global proxyLars-Dominik Braun1-5/+5
Now the control proxy setting overrides $http_proxy environment variable and proxy config setting.
2010-05-09HTTP proxy supportLars-Dominik Braun1-2/+20
control_proxy pipes xmlrpc data through the proxy, this one is for the music too.
2010-04-20Show small hint about keybinding help at startupLars-Dominik Braun1-2/+3
See bug #23
2010-04-06Use new libpiano apiLars-Dominik Braun1-21/+47
Adds error messages to libwaitress, too. Eventcmd implementation is quick&dirty, needs to be rewritten.
2010-03-16Replace player return value magicLars-Dominik Braun1-1/+1
2010-03-16Fix player race conditionLars-Dominik Braun1-0/+3
Pressing any key before the player thread set mode to PLAYER_INITIALIZED lead to a song skip and spawning of another player thread. The two player threads were operating on the same variables/memory area, resulting in a crash. Adding a new player state (PLAYER_STARTING) and setting it _before_ invoking pthread_start should resolve this, 'cause the "if PLAYER_FREED-branch" is not taken any more, ergo no second player thread is started.
2010-03-06Added song length and rating to eventcmd, new songfinish eventLars-Dominik Braun1-2/+4
2010-03-06wardrobe: Removed internal last.fm scrobbling libraryLars-Dominik Braun1-39/+0
2010-02-14New feature: Bookmark song/artist (keybinding 'b')Lars-Dominik Braun1-1/+1
2010-02-05Use select instead of pollJordan Lewis1-16/+22
Fixes issue #8 (poll does not work with stdin on mac os x).