Casey Langen
5a290aa6d5
A couple database optimizations that should make the indexing process faster.
2016-07-28 19:29:11 -07:00
casey
5d9c58fd16
Allow tab / shift+tab to defocus command window.
2016-07-28 19:26:39 -07:00
casey
7dc629b4db
Allow "KEY_ENTER" to exit command mode. Makes it a bit easier in some contexts.
2016-07-28 19:15:28 -07:00
casey langen
52843d1b82
Update README.md
2016-07-22 23:04:30 -07:00
casey langen
00d7fdb0b2
Update README.md
2016-07-22 23:00:39 -07:00
Casey Langen
791562fc93
Removed ResourcesWindow, SystemInfo. Fixed update mechanism in ConsoleLayout/LogWindow.
2016-07-20 00:04:15 -07:00
casey
a8cb57b6a9
Fixed VS2015 compile.
2016-07-19 17:54:32 -07:00
Casey Langen
99f0293903
- Created PreferenceKeys.h/cpp for both box and core.
...
- Added the ability to easily disable custom colors in settings
2016-07-19 17:08:10 -07:00
casey
1f94e4a8b4
One more min-size adjustment.
2016-07-18 01:54:13 -07:00
casey
d92db51cb7
Tweaked minimum size to be smaller.
2016-07-18 01:46:23 -07:00
casey
c1b10a8d7c
Disable window drawing if the terminal is resized too small.
2016-07-18 01:34:06 -07:00
Casey Langen
e7a7df22c3
Fixed "UP" arrow to defocus shortcuts bar if it is focused.
2016-07-18 01:05:30 -07:00
casey
149f168471
Added a new darkRed color and updated the statusbar focus style.
2016-07-18 00:51:06 -07:00
casey
8f539da0c3
Reduced the 'white' color's intensity a bit.
2016-07-18 00:43:53 -07:00
casey
979f4bb358
Fixed a small edge case in TransportWindow title line ellipsizing.
2016-07-17 20:47:03 -07:00
casey
fd637ba199
Added COLOR_CUSTOM_WHITE for more consistent colors across platforms.
2016-07-17 20:29:22 -07:00
casey
c1e21abad5
Added support for focusable shortcuts bar, aka "dedicated command mode"
...
- Added ITopLevelLayout, implemented by ConsoleLayout, LibraryLayout,
SettingsLayout
- Removed individual ShortcutsWindows from all layouts, use a single one
in MainLayout
- Fixed a super old bug where ConsoleLayout was continuing to update even
when invisible.
- Added a call to set_escdelay() to reduce latency in Linux/OS X when
pressing ESC.
- Fixed up botched key handling in App.cpp
- Added IsFocused(), IsVisible() to IWindow
- Added a new blue color in Colors.cpp (currently unused)
Fixed a bug where the search field may get refocused even if the shortcuts bar is active.
2016-07-17 17:14:38 -07:00
Casey Langen
7f4fc66fb7
Added some more configurable hotkeys: browse by artist/album/genre, refresh current view, and jump to playing.
2016-07-14 22:16:45 -07:00
Casey Langen
9a39215ee0
Merge branch 'clangen/transport'
2016-07-14 21:59:03 -07:00
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