16 Commits

Author SHA1 Message Date
b4222365c3 Bump version 2022-09-03 15:13:07 +02:00
b5e48c29f9 Put connecting/disconnected messages in status bar
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.
2022-09-03 15:04:30 +02:00
eaa19be1c8 Fix Clang build 2022-09-03 14:39:47 +02:00
dad95ef444 X11: render partially visible list items 2022-09-03 13:23:07 +02:00
7e74d1a80a X11: make the scrollbar span the full height 2022-09-03 13:02:47 +02:00
8529f24a46 Bind Tab and S-Tab to tab switching 2022-08-27 17:35:17 +02:00
190e813d49 X11: fix Ctrl+Space 2022-08-27 17:32:12 +02:00
9af74259d2 Add debugging facilities for input events 2022-08-27 17:20:06 +02:00
9a996c8440 Adjust the "action unavailable" message 2022-08-25 07:45:49 +02:00
a9d4f86493 Add an action to describe items
And improve the display of messages, separating any prefix out.
2022-08-25 07:42:10 +02:00
172ceffa9e X11: support copying text to CLIPBOARD
Use the right mouse button.
2022-08-25 06:14:08 +02:00
6dad74f3c9 Enable configuring spectrum analyzer FPS 2022-08-25 02:31:32 +02:00
b196ef4f08 X11: mildly optimize drawing
There is no real performance impact on modern systems.
2022-08-25 02:16:36 +02:00
d82be07807 X11: handle Shift+clicks in the list 2022-08-25 00:25:03 +02:00
2d219f1a4b Rework mouse event processing
X11's triple-click bug is gone, and we may pass modifier state.
2022-08-25 00:10:17 +02:00
a77d872e7f Try to stuff more things in the status bar 2022-08-24 23:21:16 +02:00
4 changed files with 471 additions and 224 deletions

View File

@@ -1,5 +1,5 @@
cmake_minimum_required (VERSION 3.0)
project (nncmpp VERSION 1.2.0 LANGUAGES C)
project (nncmpp VERSION 2.0.0 LANGUAGES C)
# Moar warnings
if ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUCC)

10
NEWS
View File

@@ -1,11 +1,19 @@
Unreleased
2.0.0 (2022-09-03)
* Added an optional X11 user interface
* Implemented mouse drags on the elapsed time gauge and the scrollbar
* Added Tab and S-Tab bindings to iterate tabs
* Added a "z" binding to center the view on the selected item
* Added a "?" binding to describe items in various tabs
* Made it possible to adjust the spectrum analyzer's FPS limit
* Moved "Disconnected" and "Connecting..." messages to the status bar
* Fixed possibility of connection timeouts with PulseAudio integration

View File

@@ -36,6 +36,7 @@ PULSE_MUTE, Toggle PulseAudio sink mute
CHOOSE, Choose item
DELETE, Delete item
DESCRIBE, Describe item
UP, Go up a level
MULTISELECT, Toggle multiselect
INCREMENTAL_SEARCH, Incremental search

682
nncmpp.c

File diff suppressed because it is too large Load Diff