Commit Graph

2291 Commits

Author SHA1 Message Date
casey
17b56ddbab A couple minor changes to make screen updates more efficient. 2016-05-13 23:00:32 -07:00
casey
7016c2aac2 Added the ability for views to have real parent views. Added LayoutBase,
which is a subclass of Window, and now acts as a parent.
2016-05-13 21:52:30 -07:00
casey
d11c4fc425 Introduction of ListWindow, a special type of ScrollableWindow that
tracks a user selected row and has slightly different scrolling
behaviors.
2016-05-13 00:25:12 -07:00
casey
66c19c2123 More improvements to layouts and stuff. Need to figure out scroll focus
situation soon.
2016-05-12 02:31:44 -07:00
casey
2de2a21291 Much improved ScrollableWindow and Adapter interfaces which allow for
virtual lists with extremely large item counts.
2016-05-12 00:16:58 -07:00
casey
c179878e80 Boring, necessary refactors to support more dynamic lists of content. 2016-05-11 01:15:24 -07:00
casey
b718691553 Fixed a bug where ScrollableWindow wasn't properly notifying the adapter
of the display dimensions.
2016-05-10 21:25:16 -07:00
casey
c4111850fe - Consolidated LibraryBase, LocalLibrary. introduced ILibrary interface
- Added IIndexer interface for ILibrary
- Fixed and simplified LocalLibrary and Indexer startup behavior
- Added IQuery interface, fixed QueryBase
- Fixed LocalLibrary.enqueue() to work properly with new IQuery
  interface
- Introduced ILayout interface and MainLayout implementation
2016-05-10 20:47:30 -07:00
casey
adb0ed14b1 With a heavy heart, I've decided to retire most of the current
implementation of Library and QueryBase. There is just too much buggy
and difficult to follow synchronization logic built in.
2016-05-09 22:47:24 -07:00
casey
d96b44f236 - Created IWindow interface
- Renamed BorderedWindow -> Window
- Fixed more layout bugs in SimpleScrollAdapter -- I think it's stable
  now for reals.
2016-05-09 18:51:36 -07:00
casey
b5a9a22020 Fixed up some more output formatting. 2016-05-09 10:13:45 -07:00
casey
ac0176f057 Fixed an annoying off-by-1 error that was messing with scrollability. 2016-05-09 02:56:24 -07:00
casey
d776317e81 - Disabled file counting to speed up sync
- Added better focus and tab control
2016-05-09 02:42:25 -07:00
casey
32e5c2764e - Fixed the SimpleScrollAdapter to have a max size, and do so
efficiently without a speed trade-off.
- Fixed a couple color-related things
- Removed a bunch of additional dead code, headers, libraries, projects
2016-05-09 00:32:36 -07:00
casey
4d279004c7 - Added SystemInfo and ResourcesWindow for real-time resource usage monitoring
- Renamed GenericTrack -> InMemoryTrack
- A few other random cleanups
2016-05-08 21:18:08 -07:00
casey
0639b3f0c2 Small bugfix in CommandWindow's filename parser. 2016-05-08 10:04:53 -07:00
casey
2fe495cb2b Tab selection and some other minor bug fixes. 2016-05-08 02:56:05 -07:00
casey
e3af440479 Small bug fix to SimpleScrollAdapter (sometimes adding additional lines to the output), and a couple cleanups. 2016-05-08 00:47:55 -07:00
casey
55912dc0b4 - Updated utf8.h
- Fixed SimpleScrollAdapter to split lines in a UTF8-compatible way.
2016-05-07 23:51:41 -07:00
casey
8f972ad4d8 Fixed SimpleScrollAdapter to run in O(log_n) when refreshing the screen. Previously was O(n) 2016-05-07 19:45:30 -07:00
casey
2407547325 Preliminary work on ScrollableWindow. 2016-05-07 19:01:15 -07:00
casey
9126c6ca6a Rewrote the console app using some basic curses and crappy home-grown C++ wrappers. 2016-05-07 02:48:04 -07:00
casey
14096724a2 Added pdcurses to help with the command-line app. 2016-05-06 12:30:42 -07:00
casey
59a68e3a50 Deleted some old libraries, and moved debug.h/cpp up a level. 2016-05-06 12:19:44 -07:00
casey
2c7fc4613b More interface cleanup... IPlayer -> IBufferProvider 2016-05-06 02:48:26 -07:00
casey
1eee0ed459 The beginnings of a logging infrastructure and a few more bug fixes and
cleanups.
2016-05-06 02:22:06 -07:00
casey
e7fec08771 Backed out a half-baked change I made last night when it was late. 2016-05-06 00:08:52 -07:00
casey
0172fe489a A few interface cleanups, and completed the implementation of the CDDA
decoder with a custom IDataStreamFactory and IDataStream that uses win32
CreateFile and DeviceIoControl APIs. Most implementation was there, but
very broken.
2016-05-05 23:54:31 -07:00
casey
30f50c997c Checkpoint commit for Indexer logging, plus a few necessary file/class renames. 2016-05-05 01:55:38 -07:00
casey
a3a19aaf07 More various cleanup, epsecially to some nasty Indexer.cpp stuff. 2016-05-05 00:20:22 -07:00
casey
95a1803ba0 Second/final commit for correcting filename case issues. 2016-05-04 23:50:11 -07:00
casey
de1d21abe5 Intermediate commit to correct filename case. 2016-05-04 23:45:36 -07:00
casey
1dd67ccc41 More minor cleanup in the taglib metadata reader plugin. 2016-05-04 23:42:20 -07:00
casey
b81136fe58 Upgraded sqlite3, taglib to the latest versions. 2016-05-04 22:31:43 -07:00
casey
36e12d845d Upgraded libogg and libvorbis. Build from source. Release build works now! 2016-05-04 17:19:47 -07:00
casey
2eb4bb332d Removed some residual utf8/utf16 conversion logic in the core. 2016-05-04 17:11:16 -07:00
casey
d847d35a1a Character encoding fixes. 2016-05-04 17:06:29 -07:00
casey
a2286d5410 Cleaned up IndexerTrack and fixed some bugs along the way. 2016-05-04 16:15:28 -07:00
casey
5c919dca07 Updated compiling sub projects to also build in release mode. (oggdecoder not working at the moment) 2016-05-04 00:22:56 -07:00
casey
1adb65cf37 Cleaned up config.h usage, and moved core configuration into sdk/config.h (standard headers only!) 2016-05-04 00:11:45 -07:00
casey
7468b8d374 Moved remaining core files to their new homes. 2016-05-03 23:58:13 -07:00
casey
f3f4c23c59 Added updated project filters. Oops. 2016-05-03 23:18:41 -07:00
casey
c5e91cc167 Cleaned up DataStreamFactory and QueryFactory class names. 2016-05-03 23:15:27 -07:00
casey
0d013bf975 Second commit to fix library path. 2016-05-03 23:08:03 -07:00
casey
4d689bed46 Temporary commit to fix filename case of "Library" path (should be "library") 2016-05-03 23:07:37 -07:00
casey
0f333e82fb Re-pathed all queries and filestreams. 2016-05-03 23:07:10 -07:00
casey
4e32ee7255 Fixed up query class names and filenames. Next: repath with correct location and case. 2016-05-03 23:01:10 -07:00
casey
98beb6880d Massive removal of odd code. RIP lots of hard work:
- win32cpp
- cube
- Android app
- HTTP server, XML logic in audio engine

It's time for gut things and clean up.
2016-05-03 22:26:12 -07:00
casey
6c00a459d7 - Further MP3Decoder cleanup (need to rename file and fix case)
- Cleaned up and fixed GenericTrack, Track
- Fixed some bugs in the DB layer related to binding text
- Indexer fixes and cleanup -- we can index directories now from ConsoleUI!
2016-05-03 01:58:06 -07:00
casey
8cd06ea886 Working MP3 decoder! 2016-05-02 03:03:41 -07:00