summaryrefslogtreecommitdiff
path: root/src/ui.h
AgeCommit message (Collapse)AuthorFilesLines
2018-03-15Properly protect player struct with mutexLars-Dominik Braun1-2/+2
The volatile keyword neither guarantees atomic access nor memory visibility[1]. Although this is usually not a problem on x86, it is incorrect to rely on this. Use mutex locks to protect all shared player variables and enforce memory visibility. [1] https://wiki.sei.cmu.edu/confluence/display/c/CON02-C.+Do+not+use+volatile+as+a+synchronization+primitive
2017-10-02Show station in song listsLars-Dominik Braun1-3/+4
Iff song’s station is not the current station. This is only the case for the song history right now. Closes #638
2017-03-25Switch to #pragma onceLars-Dominik Braun1-3/+1
2015-10-23Interruptible requestsLars-Dominik Braun1-1/+1
^C now works as expected: It interrupts API requests, input prompts and audio streaming. Timeouts have been removed.
2015-04-06Switch back to libcurlLars-Dominik Braun1-3/+2
Drops libwaitress. Adds the new dependency libcurl and drops gnutls. I wouldn’t say writing my own HTTP library was a mistake – it was not and the experience gained was worth it. Instead I have to acknowledge that libcurl is just better than my own implementation. Sure, it does a lot more than HTTP – one could call that bloat. Yet if you just want to get the job done™ reusing code is the way to go. See #512 and #513.
2014-07-21Refactor audio player, add retry timeoutLars-Dominik Braun1-1/+1
Fixes #442.
2014-04-22Fix include guardsLars-Dominik Braun1-3/+3
Macros starting with _ are reserved (see http://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html). Fixes #440.
2014-03-13Add an attribute to start checking format stringsCody P Schafer1-1/+1
2013-03-27Add missing events to genre station selectionLars-Dominik Braun1-1/+0
Two new events: stationfetchgenre, stationaddgenre
2012-05-02Really delete seed suggestionsLars-Dominik Braun1-1/+1
There does not seem to be an API call for that.
2012-03-17Auto-select last remaining item of filtered listLars-Dominik Braun1-1/+3
See #231.
2011-10-22Support seed stationsLars-Dominik Braun1-1/+2
Fixes #165
2011-09-22piano: Protocol version bump (v32)Lars-Dominik Braun1-1/+1
Keys stay the same. Quickmix and seed suggestion API calls changed. Listener id is not part of the url any more. Bookmark API calls seem to be deprecated.
2011-07-25Added toggle to quickmix menuLars-Dominik Braun1-1/+3
Closes #141
2011-05-18Configureable format stringsLars-Dominik Braun1-9/+5
Closes #88
2011-05-05Replace generic "search for artist/title" messageLars-Dominik Braun1-1/+1
Closes #115
2011-03-26Filter-/searchable song listLars-Dominik Braun1-1/+1
2011-02-26Always add song to historyLars-Dominik Braun1-0/+1
2011-02-02BarReadline rewriteLars-Dominik Braun1-6/+8
Doesn't use c streams any more, allows multiplexing of fifo/stdin in all situations.
2011-01-15Send station list to eventcmdMatthew Beckler1-1/+1
See issue #76
2010-12-27Change my email addressLars-Dominik Braun1-1/+1
Again. And hopefully the last time.
2010-11-21Show custom rating icon in upcoming/history song listLars-Dominik Braun1-2/+4
Closes issue #54
2010-10-25Use BarApp_t in BarUiPianoCallLars-Dominik Braun1-3/+4
Required for automatic reauthentication
2010-07-30Feature: Custom station sortingLars-Dominik Braun1-2/+2
Sort stations by name and/or isquickmix.
2010-04-06Use new libpiano apiLars-Dominik Braun1-4/+7
Adds error messages to libwaitress, too. Eventcmd implementation is quick&dirty, needs to be rewritten.
2010-03-06Added song length and rating to eventcmd, new songfinish eventLars-Dominik Braun1-3/+4
2010-01-21It's 2010 now.Lars-Dominik Braun1-1/+1
2009-09-08C99 conformanceLars-Dominik Braun1-4/+4
2009-08-07New feature: Seed suggestionsLars-Dominik Braun1-1/+1
2009-05-03Switch to libwaitressLars-Dominik Braun1-1/+1
2009-04-13More events addedLars-Dominik Braun1-1/+2
2009-04-11Read data from fifoLars-Dominik Braun1-5/+6
You may change your current station or add shared stations via fifo now
2009-04-07Initial eventcmd workLars-Dominik Braun1-0/+4
More useful events should be added...
2009-03-04Ui improvementsLars-Dominik Braun1-1/+6
printf wrapper introduced, hopefully cleaned up ui
2009-01-20It's 2009 nowLars-Dominik Braun1-1/+2
Update copyright notices, add my email address, but don't change libwardrobe (I'm not maintaining it anymore)
2008-08-19Allow key shortcut configuration via config fileLars-Dominik Braun1-0/+36
Some code restructuring was made, too: - Move UI functions to ui.c and ui_act.c - Change default keys for loving and banning to + and -