Commit Graph

2821 Commits

Author SHA1 Message Date
casey langen
3d0b2de319 Fix re-focus behavior to ensure SOMETHING always gets focused when
switching screens.
2020-10-12 10:56:03 -07:00
Casey Langen
bba8c7091a Removed unnecessary includes. 2020-10-12 01:00:00 -07:00
casey langen
360d6a22e0 HttpDataStream/LruDiskCache fixes. 2020-10-12 00:51:06 -07:00
casey langen
1b8cd6bb7f Stumbled upon a super old bug -- if the command bar is focused and then
you click to focus a widget, the command bar stays in a psuedo-focused
state where it still accepts inputs but draws as unfocused. This change
should fix this, but I have concerns about what types of weird edge
cases this may present.
2020-10-11 22:26:58 -07:00
Casey Langen
66ee389ee6 At some point we'll get this banner color bug fixed. Yikes. 2020-10-11 12:27:16 -07:00
Casey Langen
f6ce730a4f Tighten up RemoteLibrarySettingsLayout 2020-10-11 12:26:14 -07:00
Casey Langen
cbbb6072a8 Small string update. 2020-10-11 12:26:14 -07:00
casey langen
0f7a89dc74 Fixed banner style and themes. 2020-10-11 12:24:23 -07:00
casey langen
3ac4c5627d less flashy top banner 2020-10-11 03:06:41 -07:00
Casey Langen
a9627e2e9b layout fixes 2020-10-11 02:46:26 -07:00
casey langen
8cdebc44f6 Fix LruDiskCache to actually prune entries. 2020-10-11 01:46:46 -07:00
casey langen
206c756c0c Fixed nested focus issues for direct focus (i.e. mouse click) instead of
incremental (i.e. tab)
2020-10-11 00:29:47 -07:00
Casey Langen
f7dbb0deb6 Need to return a value here. 2020-10-10 23:50:37 -07:00
casey langen
74a920ec68 More subtle focus-related bug fixes. 2020-10-10 23:46:56 -07:00
casey langen
691dc7e8b1 Updated FfmpegDecoder::SetPosition() to be seemingly more reliable
across platforms.
2020-10-10 22:53:16 -07:00
casey langen
ccc4040213 Fixed a race condition in GaplessTransport where the recently created
player may get destroyed before the playback bootstrap finishes, leading
to a crash.

Also fixed a bug in LruDiskCache entry parsing that could result in
playback failing.
2020-10-10 22:05:30 -07:00
casey langen
346affb027 Fixed a bug in ListWindow's key handling propagation 2020-10-10 21:35:11 -07:00
Casey Langen
e966b36b24 Fixed a couple long-dormant bugs in HttpDataStream 2020-10-10 21:02:56 -07:00
casey langen
0d11e3da12 Fixed filename extension bug in LruDiskCache 2020-10-10 19:15:22 -07:00
casey langen
56dccf0f5f More bug fixes around missing tracks and custom indexer data streams. 2020-10-10 18:52:39 -07:00
casey langen
5490030447 Fix key press event bubbling for nested layouts. 2020-10-10 17:25:06 -07:00
casey langen
9a0b828c51 Fix bugs playing tracks with custom indexer sources (mods, chiptunes) 2020-10-10 16:34:39 -07:00
casey langen
b3c73e5edc Fixed default TextInput focused content color for non-inline-styled
controls
2020-10-10 14:35:37 -07:00
casey langen
f620d51590 Show retrying text when attempting to reconnect to remote library. 2020-10-10 14:32:53 -07:00
casey langen
f92714f8cd Settings bug fixes. 2020-10-10 14:00:57 -07:00
casey langen
48c04fa7d1 Remote library loading and saving correctly from settings. Phew. 2020-10-10 13:29:10 -07:00
Casey Langen
d8a31e9f6d Most remaining busy work to save/load remote library settings. 2020-10-10 13:08:56 -07:00
Casey Langen
6cb63c1a6f Fixed RemoteLibrary to load server settings from preferences and updated
RemoteLibrarySettingsLayout. Next up: read/write values from settings.
2020-10-10 12:43:00 -07:00
Casey Langen
cf522a5bb9 RemoteLibrarySettingsLayout has been blocked out, but is not functional. 2020-10-10 12:24:30 -07:00
Casey Langen
20f2b08a67 Bootstrapped RemoteLibrarySettingsLayout and dynamically switching
between it and LocalLibrarySettingsLayout based on selected library.
2020-10-10 11:08:21 -07:00
Casey Langen
13a21c005e Fixed strings 2020-10-10 03:16:00 -07:00
casey langen
2b75dd6c9d Removed some weird old, undocumented focus logic in OverlayBase that
seems to be causing issues after correcting nested focus issues.
2020-10-10 02:03:22 -07:00
casey langen
6fde5a7d0d Fixed Linux compile 2020-10-10 01:56:07 -07:00
casey langen
beef38501a Switch between library types without restarting the app via
MasterLibrary pimpl-style implementation.
2020-10-10 01:50:37 -07:00
casey langen
3ae8aed29a Added MasterLibrary in the same vein as MasterTransport to easily
support dynamically switching between underlying implementations.
2020-10-10 01:36:31 -07:00
casey langen
5f0bb39a49 Update console app's CMakeLists.txt 2020-10-09 23:29:58 -07:00
casey langen
173fef5e62 More annoying boilerplate for library selection. 2020-10-09 23:27:07 -07:00
casey langen
87acc20506 Started breaking settings layout apart and found we have nested layout focus issues. This should address that, but we'll see if any edge cases pop up during testing. 2020-10-09 22:48:11 -07:00
Casey Langen
baff147674 Fixed test code. 2020-10-09 17:11:18 -07:00
casey langen
1d69bb4455 Added the ability for TrackList to make batch queries asynchronously
with built-in debounce. Disabled by default for now because it flickers;
this will be useful in situations where there's high latency.
2020-10-09 17:05:59 -07:00
casey langen
710f237b04 Stop playback on library disconnect. 2020-10-09 14:05:39 -07:00
casey langen
6e55abb2d6 Save state between remote disconnect/reconnect. 2020-10-09 14:03:38 -07:00
casey langen
0bbc637f09 UI tweaks for remote library connection state. 2020-10-09 13:26:47 -07:00
casey langen
e7b1b24a36 Added missing query to CMakeLists.txt 2020-10-09 02:39:00 -07:00
casey langen
43c92d2c6f Fix clang compile 2020-10-09 02:35:45 -07:00
casey langen
befd243c6b Fleshed out some more LibraryNotConnectedLayout. 2020-10-08 23:34:40 -07:00
casey langen
189931fbcc Show LibraryNotConnectedLayout when disconnected from a remote
library, and automatically switch back to `LibraryLayout` when
reconnected.
2020-10-08 23:04:58 -07:00
casey langen
c7b466919f Added stubbed LibraryNotConnectedLayout 2020-10-08 23:03:44 -07:00
casey langen
2e6b588092 Don't raise a changed event unless something actually changed. 2020-10-08 23:03:05 -07:00
casey langen
02046d3a3c Added the concept of library connection state. For local libraries this
doesn't apply, but will be used by remote libraries to communicate to
the UI when they are available (or not).
2020-10-08 22:06:14 -07:00