aboutsummaryrefslogtreecommitdiff
path: root/nncmpp.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't depend on a standalone C preprocessorPřemysl Eric Janouch2022-09-131-3/+2
| | | | And get rid of the sed insanity.
* Put connecting/disconnected messages in status barPřemysl Eric Janouch2022-09-031-18/+12
| | | | | | | Those are general status messages, and seem to belong to the bottom. Partially motivated by the status bar being empty when disconnected. And add a missing window invalidation.
* Fix Clang buildPřemysl Eric Janouch2022-09-031-19/+20
|
* X11: render partially visible list itemsPřemysl Eric Janouch2022-09-031-6/+10
|
* X11: make the scrollbar span the full heightPřemysl Eric Janouch2022-09-031-9/+13
|
* Bind Tab and S-Tab to tab switchingPřemysl Eric Janouch2022-08-271-0/+3
|
* X11: fix Ctrl+SpacePřemysl Eric Janouch2022-08-271-2/+8
|
* Add debugging facilities for input eventsPřemysl Eric Janouch2022-08-271-16/+20
|
* Adjust the "action unavailable" messagePřemysl Eric Janouch2022-08-251-2/+4
|
* Add an action to describe itemsPřemysl Eric Janouch2022-08-251-34/+77
| | | | And improve the display of messages, separating any prefix out.
* X11: support copying text to CLIPBOARDPřemysl Eric Janouch2022-08-251-50/+167
| | | | Use the right mouse button.
* Enable configuring spectrum analyzer FPSPřemysl Eric Janouch2022-08-251-5/+11
|
* X11: mildly optimize drawingPřemysl Eric Janouch2022-08-251-12/+33
| | | | There is no real performance impact on modern systems.
* X11: handle Shift+clicks in the listPřemysl Eric Janouch2022-08-251-0/+7
|
* Rework mouse event processingPřemysl Eric Janouch2022-08-251-34/+51
| | | | X11's triple-click bug is gone, and we may pass modifier state.
* Try to stuff more things in the status barPřemysl Eric Janouch2022-08-241-23/+32
|
* X11: ring the bell as well, when appropriatePřemysl Eric Janouch2022-08-241-36/+42
|
* Improve help tab item choice error messagesPřemysl Eric Janouch2022-08-241-3/+6
|
* Hide messages when interacting with the editorPřemysl Eric Janouch2022-08-241-3/+19
|
* Implement mouse drags on the gauge and scrollbarPřemysl Eric Janouch2022-08-241-2/+35
|
* Click to close messagesPřemysl Eric Janouch2022-08-241-5/+17
| | | | While not ideal, it is at least some way to discard them.
* Notify when actions can't be takenPřemysl Eric Janouch2022-08-241-0/+2
|
* Always show messages to the userPřemysl Eric Janouch2022-08-241-13/+16
|
* X11: remark that triple clicks are mishandledPřemysl Eric Janouch2022-08-231-0/+1
|
* X11: improve rendering of denormalized textPřemysl Eric Janouch2022-08-231-4/+14
| | | | Xft is dumb.
* X11: clean up after Xft on exitPřemysl Eric Janouch2022-08-231-0/+7
|
* X11: use input methods, abandon xkbcommonPřemysl Eric Janouch2022-08-231-17/+74
| | | | And fix a redundant XCreatePixmap() call leaking resources.
* Add an X11 user interfacePřemysl Eric Janouch2022-08-231-580/+1948
| | | | | | | | | This is meant to exactly mimic the terminal UI, just without the restriction to ugly monospace fonts. The Curses implementation has been reworked, and may have become more computationally expensive. In general, though, the codebase has been significantly cleaned up.
* Fix event processing with PulseAudio integrationPřemysl Eric Janouch2022-08-191-0/+1
|
* Mark an invalid assumptionPřemysl Eric Janouch2022-08-181-0/+1
|
* Add and bind an action to center the cursorPřemysl Eric Janouch2021-12-231-2/+17
| | | | "z" stands for VIM's "zz".
* Fix up coding style inconsistencyPřemysl Eric Janouch2021-12-211-1/+1
|
* Make incremental search more usefulPřemysl Eric Janouch2021-12-211-6/+11
| | | | Make it unanchored, as well as case-insensitive.
* Indicate that a stream download is in progressPřemysl Eric Janouch2021-12-081-0/+2
|
* Do not run cURL fully synchronouslyPřemysl Eric Janouch2021-12-081-42/+54
| | | | The improvement is very minor in character.
* Add rudimentary incremental search facilityPřemysl Eric Janouch2021-12-081-2/+52
|
* Clean up mpd_process_info() betterPřemysl Eric Janouch2021-12-071-9/+9
|
* Do not jump to beginning after unqueueingPřemysl Eric Janouch2021-12-071-0/+13
| | | | | Instead, assume that the whole previously selected range has been removed, and try to go after or before it accordingly.
* Clean up unreadable codePřemysl Eric Janouch2021-12-071-12/+11
|
* Do not show both volumes if unnecessaryPřemysl Eric Janouch2021-11-161-18/+32
| | | | Also, make it apparent which value comes from where.
* Fix the comment for settings.pulseaudioPřemysl Eric Janouch2021-11-081-1/+1
|
* Generate actions from a text filePřemysl Eric Janouch2021-11-081-111/+5
| | | | | | | Mostly because I wanted to nest preprocessing. This makes the build more complex and slightly less portable, but the code itself is much cleaner.
* Add ability to control PulseAudio volumePřemysl Eric Janouch2021-11-071-69/+456
| | | | | | | | I know, son, it might be hard to accept, but you're imported. Your true parents are wmstatus and paswitch, from the desktop-tools family. Also, fix unnecessary linking of optional dependencies.
* Add a comment about the music directoryPřemysl Eric Janouch2021-11-071-0/+1
|
* Do not beep on focus changesPřemysl Eric Janouch2021-11-041-3/+5
|
* CMakeLists.txt: fix macOS buildPřemysl Eric Janouch2021-11-021-2/+0
|
* Add clang-format configurationPřemysl Eric Janouch2021-10-301-1/+1
|
* Fix the line editor/spectrum analyser interactionPřemysl Eric Janouch2021-10-211-0/+6
| | | | The updater assumed the terminal cursor was invisible.
* Add program arguments to MPD's current playlistPřemysl Eric Janouch2021-09-071-10/+79
| | | | | | | | I was tired of using `mpv --no-video`, this is a bit better. It's all rather quirky, but very little code is involved. I've added a few related TODO entries.
* Clean up connection initialisationPřemysl Eric Janouch2021-09-061-10/+10
| | | | | | | Also, do not set up the spectrum visualiser before a password is sent. It would look a bit weird to have it run but display "Disconnected", even though technically, it would probably work.