Commit Graph

2911 Commits

Author SHA1 Message Date
casey langen
f9f0cb16f8 Added missing libssl runtime dependency, and then sort both dev and runtime deps alphabetically. 2020-10-24 21:08:38 -07:00
casey langen
b821f6a293 Fixes a bug where if a nested child was focused, then the container lost
focus, then the user tabbed back to the nested layout it would not focus
the first/last subview correctly.
2020-10-24 17:20:29 -07:00
casey langen
b7ba7eb6bc More focus related fixes. 2020-10-24 16:49:20 -07:00
casey langen
11a3ac9c8e Pipe WebSocket message send errors back to the caller instead of
throwing an exception to kill the app.
2020-10-24 14:22:15 -07:00
casey langen
5332bb3526 Also check for _DEBUG 2020-10-24 14:05:46 -07:00
Casey Langen
2989870580 ASSERT_MAIN_THREAD() cleanups. 2020-10-24 13:14:42 -07:00
casey langen
47739cb322 Filled in Win32 assert stubs. 2020-10-24 12:58:02 -07:00
Casey Langen
46e3d5846a I think we have an edge case somewhere that we are updating the UI from
a non-UI thread. Added some asserts in debug mode to help track this
down. TODO: fill in Win32 stubs.
2020-10-24 12:39:42 -07:00
Casey Langen
c92744d102 Let's use std::atomic<> instead of volatile. 2020-10-24 12:15:53 -07:00
Casey Langen
fbf8844c91 Tweaked retry count logic to be weighted based on failure type; if the
server is overloaded let's allow for more retries with longer tries
between attempts.
2020-10-24 12:14:00 -07:00
Casey Langen
a302837f1a Backed out a previous attempt to fix multiple streams trying to cache
the same file simultaenously. This was later fixed in a more robust way
in LruCache using Player instanceIds, but the code removed in this
commit was left around to rot and cause issues.
2020-10-24 12:07:48 -07:00
Casey Langen
a50c2467dc GmeDecoder variable renames for clarity 2020-10-23 23:54:40 -07:00
casey langen
794aa9a56c Revert "Let's try to upgrade PDCurses again. Had some problems last go around"
This reverts commit 22a37f66de.
2020-10-23 22:03:48 -07:00
casey langen
f6c96b5860 Display server information in the remote management screen. 2020-10-23 12:16:39 -07:00
casey langen
ec17f3a2a5 Upgraded to Android 4.1 tooling, and upgraded third-party libraries for
musikdroid.
2020-10-23 11:36:51 -07:00
casey langen
001afe6e9a Don't crash on malformed input when configuring a remote library. 2020-10-23 11:01:54 -07:00
casey langen
c6f7faa3cb Minor bug fixes in HttpDataStream's LruCache and added the ability to
specify the maximum number of simultaneous transcoders in the server.
2020-10-22 22:39:46 -07:00
Casey Langen
66e06e1fc8 Ensure we prime the RemoteLibrarySettingsLayout during construction. 2020-10-22 18:22:48 -07:00
Casey Langen
556b09daa3 break out of decoder resolution 2020-10-22 18:15:39 -07:00
Casey Langen
fa694408c3 Fixed FfmpegDecoder read callback returning EOF incorrectly. 2020-10-22 18:15:13 -07:00
casey langen
e44c6be68d Ubuntu Groovy support 2020-10-22 17:15:38 -07:00
casey langen
60a206a2d6 Ensure remote library settings are always saved. 2020-10-22 17:03:47 -07:00
Casey Langen
ed4869298c Compiler compatibility fixes. 2020-10-22 00:28:33 -07:00
casey langen
ed4f2440a6 Use an atomic variable for tracking instanceIds in HttpDataStream 2020-10-22 00:06:42 -07:00
casey langen
b563d512d1 Variable naming updates for clarity 2020-10-22 00:01:58 -07:00
casey langen
08a547253f More HttpStream bugfixes around simultaenous Players with the same
endpoint.
2020-10-21 23:58:38 -07:00
casey langen
70579d097f Fixed bugs around trying to cache the same file multiple times
simultaneously. Also fixed a bug where the remote track "uri" type was
incorrect when the transcoder is enabled.
2020-10-21 23:01:29 -07:00
casey langen
a010a7b709 Fixed a couple compiler warnings. 2020-10-21 17:38:09 -07:00
casey langen
62cd360c3d Had read/connection timeout defaults swapped. 2020-10-21 17:15:17 -07:00
casey langen
2b4a8ab5ea HttpDataStream tweaks with customizable timeouts and automatic retries.
Also fixes a bug where failed requests would still report a successful
open, leading to weird buffering behavior in the UI.
2020-10-21 17:08:27 -07:00
casey langen
dceb6085ff Removed unnecessary locking in MasterLibrary that could cause a
deadlock.
2020-10-21 16:14:00 -07:00
casey langen
13d8b3b6c4 CategoryListView widgets can now requery themselves automatically using
visibility events, instead of relying on their parent. This fixes bugs
related to "JumpTo".
2020-10-21 11:36:21 -07:00
casey langen
14c73d9dee Even more betterer visibility handling in Window.cpp. 2020-10-21 11:35:34 -07:00
casey langen
a844b31819 Fixed on-demand transcoding. 2020-10-21 10:54:35 -07:00
casey langen
24e4680bde Minor bugfix for remote library configuration. 2020-10-21 00:40:21 -07:00
casey langen
ffc583da37 Wired up transcoder settings. 2020-10-21 00:33:21 -07:00
casey langen
1a94e1be80 Finished tls warning overlay functionality. 2020-10-20 23:11:58 -07:00
casey langen
4aa19c4f04 Only call up to base class if we don't process the message. 2020-10-20 22:49:48 -07:00
casey langen
3d58d6ade4 Minor code formatting cleanups. 2020-10-20 22:45:14 -07:00
casey langen
2424d2e534 Seems we no longer need to explicitly set an icon -- and with hi-dpi
displays it's doing more harm than good, causing the icon to render
blurry.
2020-10-20 22:44:22 -07:00
casey langen
7d1193b4d7 Fixed long standing issues with OnVisibilityChanged and
OnChildVisibilityChanged. Unfortunately the problem and solution were
discovered in the middle of some feature work, so a couple other tweaks
are bundled into this commit.
2020-10-20 22:30:56 -07:00
casey langen
22a37f66de Let's try to upgrade PDCurses again. Had some problems last go around
with weird behavior, but maybe it's better now.
2020-10-19 22:13:03 -07:00
casey langen
1b57214ab5 Fix ReplayGain on the client-side when using a RemoteLibrary. 2020-10-18 22:11:31 -07:00
casey langen
865880bf47 Fixed MessageQueue broadcast dispatching 2020-10-18 16:06:30 -07:00
casey langen
f2724261f1 fwrite() more aggressively in HttpDataStream so data is available
immediately to readers.
2020-10-18 14:50:03 -07:00
casey langen
6d460fe27a Fix LRU disk cache on Windows. Not sure how this was ever working on
Unix, so we need to check it again.
2020-10-18 13:40:23 -07:00
casey langen
b32d87de92 Upgrade to use 4 processes by default when building the rpi archive. 2020-10-18 06:24:29 +01:00
casey langen
be49a66717 Fixed timeout parameter passed through closure in WebSocketClient 2020-10-17 22:21:52 -07:00
casey langen
5c28cca2d8 Added missing ping implementation in WebSocketClient to ensure the
server (or any SSL terminating endpoints) don't aggressively hang up the
connection.
2020-10-17 22:05:12 -07:00
casey langen
ab48a55adf Added libssl1.1 as a runtime dependency for deb archives. 2020-10-17 20:34:21 -07:00