Commit Graph

929 Commits

Author SHA1 Message Date
casey
d73113f068 A couple small tweaks to the ellipsizing algorithm in TransportWindow. 2016-07-14 09:36:35 -07:00
casey
1a7ba93e0a Just experimenting with transport metadata -- added the artist name. 2016-07-14 01:28:30 -07:00
casey langen
f19ae80fea Dropped minimum required boost version to 1.55. 2016-07-13 22:36:33 -07:00
casey
0346667c43 Added a missing colon in ConsoleLayout. 2016-07-13 21:03:10 -07:00
Casey Langen
26591f61bf Make sure to write hotkeys.json after loading to ensure the file is on the user's filesystem and available for easy editing. 2016-07-13 20:48:10 -07:00
casey
5465b072ee Fixed input parsing issue in ConsoleLayout. This must have been a bug
since forever.
2016-07-13 01:28:22 -07:00
casey
f700b8055f Fixed a TextInput buffer length error that was causing focus issues. 2016-07-13 01:25:01 -07:00
Casey Langen
f4c484b751 generalized left/right/up/down handling. it actually seems to work well! 2016-07-13 00:52:08 -07:00
casey
05e35be074 Don't kill application if JSON Preferences JSON parse fails! 2016-07-12 23:59:54 -07:00
Casey Langen
c42c13b64a Fixed compile on *nix. 2016-07-12 23:55:08 -07:00
casey
64435e9057 Updated musikbox/CMakeLists.txt with Hotkeys.cpp 2016-07-12 23:47:39 -07:00
casey
3fdbd9f07d More Hotkey implementation. Nearly done, most keys can be configured
now.
2016-07-12 23:42:58 -07:00
casey
b9139f8fd0 Initial implementation of Hotkeys.h/cpp for custom hotkeys. Still some
more work to do, but playback and indexer keys are working properly.
2016-07-12 23:11:49 -07:00
Casey Langen
abb305ea92 - Added a "InputRaw" mode to IInput interface
- Updated App to send keys directly to focused IInputs in raw mode
- Addded a new hotkey tester (TextInput in IndexerLayout) for hotkey testing
2016-07-12 22:01:30 -07:00
Casey Langen
6f93f602db One more small fix to CoreAudioOut buffer notification code. 2016-07-12 16:30:45 -07:00
Casey Langen
31e28d2f53 One of those "how did this ever work?" bugs. Fixed CoreAudioOut buffer notification logic. 2016-07-12 10:25:57 -07:00
casey
d25f2a1633 Fixed ESC behavior in Library mode to only show the play queue when in
browse mode -- otherwise show browse.
2016-07-11 21:39:27 -07:00
casey
279b7996e5 Removed static/screenshots. These will be stored in the musikcube-static
git repo.
2016-07-11 21:34:36 -07:00
casey langen
1f3ec92f09 Update README.md 2016-07-11 21:34:16 -07:00
Casey Langen
3999a85306 A bit more App.h cleanup to improve encapsulation. 2016-07-11 21:24:56 -07:00
casey
bd6936a13e - One more PDCurses update
- Moved a few lines of musikbox-specific code from App.cpp to Main.cpp
- Cleaned up a few comments
2016-07-11 18:33:57 -07:00
casey
a5876ef050 Fixed a top-level Layout selection bug. 2016-07-11 01:38:38 -07:00
Casey Langen
aec0fda140 Fixed *nix compile 2016-07-11 01:34:10 -07:00
casey
2a9bc70037 - One more version of the pdcurses binaries
- Extracted most Main.cpp logic into App.cpp, which can be reused
2016-07-11 01:30:29 -07:00
casey langen
923362d3b7 Update README.md 2016-07-10 22:36:30 -07:00
casey
8c784eb087 Updated PDCurses to allow for a default window size. 2016-07-10 17:24:28 -07:00
casey
c097261301 Combined a couple WIN32 ifndefs in Main.cpp 2016-07-10 14:21:50 -07:00
Casey Langen
007822b1d2 - Hopefully fixed auto-window resizing in OSX and Linux by handling SIGWINCH manually
- Moved some key parsing logic into Cursespp::Text
2016-07-10 14:11:05 -07:00
casey
e88dd2b312 Invalidate the screen after a resize before doing layout. 2016-07-10 02:59:31 -07:00
casey
d9ae481668 Just standardize on using "M-x" and "^X" across all platforms for hotkeys. 2016-07-09 21:58:57 -07:00
Casey Langen
0b2c090f16 Added a couple more color pairs in Colors.h, and allow customization of ShortcutWindow styles. 2016-07-09 21:54:17 -07:00
Casey Langen
7940e15c61 Updated ShortcutsWindow to display hotkeys in different formats depending on OS. 2016-07-09 14:05:35 -07:00
clangen
ab21965f91 Update README.md 2016-07-09 01:40:31 -07:00
casey
7b479d620b Updated static screenshots again. TODO: probably move these to a new
repo.
2016-07-09 00:58:44 -07:00
casey
edf9dfd257 Added a simple key normalization layer in Text.cpp, used in Main.cpp in
the main read loop.
2016-07-08 22:08:52 -07:00
casey
65dfb59be6 Tweaked ConsoleLayout's shortcut window ordering. 2016-07-08 21:04:37 -07:00
Casey Langen
a3c7a76b75 Updated ShortcutsWindow to properly ellipsize contents. 2016-07-08 20:39:13 -07:00
casey
65203c8fbc Added a correct implementation of multi-threaded indexing using a thread
pool and a semaphore.

Fixed a couple more hotkey issues.
2016-07-08 16:41:10 -07:00
Casey Langen
92d0a3f7d7 Updated .gitignore. 2016-07-08 16:40:20 -07:00
casey
a4bf6d2ad9 Disabled multi-threaded indexing for the time being, until we have a
better implementation.
2016-07-07 22:25:14 -07:00
casey
fe5c91f24a Fixed KEY_DOWN behavior in search layouts to not focus the input view. 2016-07-07 21:58:17 -07:00
Casey Langen
f134f725fe Fixed bug that may result in the Cursor drawing incorrecty for a frame. 2016-07-07 20:44:23 -07:00
Casey Langen
ec32b70e15 Fixed TextInput left/right insert/delete functionality for UTF8 and multi-width characters. 2016-07-07 00:49:50 -07:00
casey
f44c3c08c0 Properly handle arrow keys, home, end, and delete in TextInput. 2016-07-07 00:01:29 -07:00
clangen
47fa6eb8e7 Fixed ALT+BACKSPACE in TextInput on Linux. 2016-07-06 22:59:11 -07:00
casey
6535eeaa48 More arrow key fixes: allow the UP and DOWN keys to propagate to
controllers if the user is already at the beginning or end of the list.

Changed search views to focus the input area if a list is selected,
scrolled to the top, and the user presses UP.
2016-07-06 22:50:35 -07:00
casey
e20d13d334 - Removed IMessageTarget::IsAcceptingMessages()
- Fixed up some more hotkeys to improve app behavior
2016-07-06 21:57:05 -07:00
casey
e3281d5506 Reduce number of UI updates when running indexer at startup. 2016-07-05 00:11:23 -07:00
casey
7aa27a231c Allow category list width to grow dynamically up to 40 columns. 2016-07-04 22:48:06 -07:00
casey
e31bbb9b56 Added a free, portable version of wcswidth for Windows. 2016-07-04 22:35:34 -07:00