summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-05-01piano: Remove old blowfish keysLars-Dominik Braun2-436/+0
2012-05-01Don’t hardcode passwordsLars-Dominik Braun9-33/+97
It’s a bad idea to hardcode these, although playback does not work with non-android login yet.
2012-05-01piano: Split piano.c into request.c and response.cLars-Dominik Braun5-1099/+1169
2012-05-01piano: Move to JSON API (v5)Lars-Dominik Braun11-2549/+755
In random order: Thanks to Chris Eby for his work on pithos, to an anonymous coward for sending me his Android client, to Alex Howard for sending me the webOS client, to ZigZagJoe for providing a temporary fix and thanks to everyone who sent Pandora a message. Although there are a few rough edges here and there this fixes #236.
2012-04-24Back to -devLars-Dominik Braun1-1/+1
2012-04-24Prepare for release 2012.04.242012.04.24Lars-Dominik Braun1-1/+1
2012-04-20Don’t unlock mutex that is not lockedLars-Dominik Braun1-1/+3
Strict pthread implementations (like OpenBSD’s rthreads with PTHREAD_MUTEX_TYPE_STRICT_NP set) don’t allow unlocking a mutex that is not locked, resulting in abort() being called. Always aquiring the lock before unlocking it while skipping to the next song fixes this. Thanks to David Coppa.
2012-04-14Add force_tls settingLars-Dominik Braun3-3/+8
Use TLS for all actions when requested. Closes #234
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-27Initialize fd correctly with -1Lars-Dominik Braun1-1/+4
Thanks to Perette Barella.
2012-03-17Auto-select last remaining item of filtered listLars-Dominik Braun6-21/+42
See #231.
2012-02-24Don’t use custom format output as format stringLars-Dominik Braun1-3/+3
It may contain %’s and crashes. Closes #225.
2012-02-22Minor player cleanupLars-Dominik Braun2-28/+35
Move player buffer to heap, a few const’s here and there, increase header buffer size, fix comments.
2012-01-20piano: DAILY_SKIP_LIMIT_REACHED addedLars-Dominik Braun3-0/+7
See #214
2012-01-20piano: Make sync response parser NUL-byte awareLars-Dominik Braun4-20/+26
Fixes #207
2012-01-13piano: New error EXCESSIVE_ACTIVITYLars-Dominik Braun3-0/+7
See #208
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
2012-01-10Back to -devLars-Dominik Braun1-1/+1
2012-01-10Prepare for release 2012.01.102012.01.10Lars-Dominik Braun1-1/+1
2012-01-10HTTP/1.1 compliant CONNECTLars-Dominik Braun1-1/+4
Host: is mandatory.
2012-01-10getFragment does not support TLS any moreLars-Dominik Braun3-0/+8
You can’t handle the load? Closes #202
2011-12-24Avoid struct padding where possibleLars-Dominik Braun4-58/+64
Pointed out by -Wpadding. Does not decrease memory usage/binary size though.
2011-12-24Fix warnings found by -Wwrite-stringsLars-Dominik Braun2-5/+6
Can’t fix all of them; ezxml is a mess :(
2011-12-23Fix warnings found by -Wcast-qualLars-Dominik Braun3-10/+10
2011-12-23Fix warnings found by -WshadowLars-Dominik Braun2-15/+12
2011-12-23Fix warnings found by -Wmissing-declarationsLars-Dominik Braun7-21/+27
2011-12-18Fix genre selection segfaultLars-Dominik Braun1-19/+26
Closes #193 and #194
2011-12-11Back to -devLars-Dominik Braun1-1/+1
2011-12-11Prepare for release 2011.12.112011.12.11Lars-Dominik Braun1-1/+1
Clean up the mess caused by release 2011.11.11.
2011-12-08piano: Fix memsetLars-Dominik Braun1-1/+1
See #192
2011-12-03Simplify readlineLars-Dominik Braun1-38/+18
Inspired by pianobar-windows
2011-11-21piano: Update authenticateListener parametersLars-Dominik Braun1-0/+8
There are a few more parameters which I did not notice, since Pandora uses a strange JSON API (which returns XML!) for authentication now. See issue #187.
2011-11-19Dymanic station management questionLars-Dominik Braun1-4/+46
Enable/disable delete options depending on availability.
2011-11-15waitress: Remove http fetch testLars-Dominik Braun1-11/+0
This was not meant to go public.
2011-11-13waitress: Check return code for proxy CONNECT writesLars-Dominik Braun1-3/+3
2011-11-13waitress: Move READ/WRITE_RET to the topLars-Dominik Braun1-13/+11
2011-11-13waitress: Fix ssize_t/size_t confusionLars-Dominik Braun2-8/+8
2011-11-13waitress: Use HTTP parser for proxy response parsingLars-Dominik Braun1-19/+39
2011-11-13waitress: Don’t use OrdinaryRead/Write directlyLars-Dominik Braun1-7/+8
2011-11-12waitress: Fix compiler warningsLars-Dominik Braun2-21/+35
2011-11-12waitress: Add proxy authorization support againMichał Cichoń1-2/+12
Original patch slightly adjusted.
2011-11-11waitress: Support GnuTLS <= 2.10.0Lars-Dominik Braun1-17/+10
Both, 1.x and 2.x are now supported. See issue #182.
2011-11-11waitress: Fingerprint checkLars-Dominik Braun5-51/+30
Reduces memory usage, protects against 0wned CA's and avoids ca-bundle confusion. Closes #175
2011-11-11Back to -devLars-Dominik Braun1-1/+1
2011-11-11Prepare for release 2011.11.112011.11.11Lars-Dominik Braun1-1/+1
This release it dedicated to the brave pandora engineers who fight for love, peace and transport layer encrypted plaintext password logins. To achieve their goals they climbed the highest mountain, dived the deepest ocean and explained Diffie-Hellman to their management. But they also had to make terrible sacrifices to succeed: pianobar, a tiny but useful tool did not survive the fight without serious injuries. `git log` will never forget your efforts to create a brighter future. For all of us. Expect this release to be not as stable as previous releases as it contains experimental code that was not meant to be released at this point.
2011-11-10waitress: Don't send full url to serverLars-Dominik Braun1-1/+1
We CONNECT to server through proxy and can use paths here. Closes #179
2011-11-10waitress: Use WAITRESS_HTTP_VERSIONLars-Dominik Braun1-2/+3
2011-11-10waitress: Remove unused return codeLars-Dominik Braun1-4/+0
2011-11-10Die if trust file load failsLars-Dominik Braun3-8/+29