Commit graph

15 commits

Author SHA1 Message Date
Nicolas Mailloux
35fe0ae0e3 Various fixes; compress RecentBooks.db 2022-07-01 18:56:34 -04:00
Nicolas Mailloux
3be9608a10 Implement 'Generating database' toast; various improvements 2022-06-30 09:52:48 -04:00
Nicolas Mailloux
ebcfd349f2 Home screen: Implement two-row recent books 2022-06-29 11:42:05 -04:00
Nicolas Mailloux
7822f65e02 Basic home screen + other improvements 2022-06-29 02:15:13 -04:00
Nicolas Mailloux
8eea1d0df5 Local library: Bugfixes 2022-06-27 18:14:20 -04:00
Nicolas Mailloux
8708246065 Local library: Allow opening books which have spaces in filenames
This commit also fixes a segmentation fault that would be caused when deleting libraryWidget (Gutenberg) that first appeared in 4a104522f5.

TODO: Handle what happens when there are no books in the library
TODO: Re-generate database upon exiting USBMS session or books download (libraryWidget)
TODO: Adjust various icon width/height variables depending on the device
2022-06-27 02:40:34 -04:00
Nicolas Mailloux
9faa465cce Local library: Support PDFs and pictures listing 2022-06-26 21:30:54 -04:00
Nicolas Mailloux
2521834d06 Local library: Segfault bugfixes 2022-06-26 13:21:43 -04:00
Nicolas Mailloux
6192927b98 Local library: Switch to QVector for widget arrays; improvements
Thanks to @shermp for the help provided on QVectors, which I now use here instead of C-style arrays which could only have a fixed size.
2022-06-26 11:51:52 -04:00
Nicolas Mailloux
2014500317 Local library: Functional improvements 2022-06-25 23:22:38 -04:00
Nicolas Mailloux
4a104522f5 Local library: Basic setup working
A local books database is maintained at `/data/onboard/.inkbox/LocalLibrary.db`. It contains compressed JSON read by the GUI.

URGENT TODO: Fix `*** Error in '/mnt/onboard/.adds/inkbox/inkbox-bin': double free or corruption (out): 0x00648708 ***` error whenever we try to delete localLibraryWidget
2022-06-25 20:12:50 -04:00
Nicolas Mailloux
694466444e Local library: Improvements on QClickableLabel 2022-06-23 19:15:33 -04:00
Nicolas Mailloux
ccdc1a235c Delete unnecessary comment 2022-06-23 15:36:18 -04:00
Nicolas Mailloux
7c79bd4843 Local library: Basic list working 2022-06-23 15:34:40 -04:00
Nicolas Mailloux
97bc34530c Local library: First steps 2022-06-23 11:10:38 -04:00