Commit graph

587 commits

Author SHA1 Message Date
Nicolas Mailloux
80bdeb32ed localLibraryWidget: Implement book options dialog (WIP)
This dialog will open if user keeps touch input active on a button from `bookBtnArray` for >= 500 ms.
'Pin' and 'More info' operations are currently not implemented.
2022-07-06 14:24:23 -04:00
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
5c50911642 Home page: Implement QToolTipLabel and book titles 2022-06-29 13:11:11 -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
8bfc529498 GUI user applications: Design improvements 2022-06-24 09:35: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
Nicolas Mailloux
0dfcc20409 Merge branch 'userapps' into 'master' 2022-06-23 01:02:55 -04:00
Nicolas Mailloux
74f1d58f0b userapps.cpp: Write 'None' if no required feature found 2022-06-23 00:56:07 -04:00
Nicolas Mailloux
9e7edc8d53 apps.cpp: Change editUserAppsBtn icon while in 'Edit' mode 2022-06-23 00:40:54 -04:00
Nicolas Mailloux
e8010300c7 GUI user applications: Miscellanous fixes 2022-06-23 00:26:49 -04:00
Nicolas Mailloux
4ae4341819 apps.ui: Design fix 2022-06-21 08:50:59 -04:00
Nicolas Mailloux
7a0230d1ae Don't show JSON parsing error if no apps are installed 2022-06-20 18:31:59 -04:00
Nicolas Mailloux
525cfac383 GUI user applications: SupportedDevices is now an array
Main credit to @Szybet for this commit.
2022-06-20 18:12:20 -04:00
Nicolas Mailloux
9e5ac2102c GUI user applications: Fixes 2022-06-20 12:57:55 -04:00
Nicolas Mailloux
3c75c64cf4 Small UI fix 2022-06-19 00:28:56 -04:00
Nicolas Mailloux
99a145d5ee GUI user applications: More improvements 2022-06-19 00:14:42 -04:00
Nicolas Mailloux
c5ec3f3560 GUI user applications: small fixes 2022-06-18 10:05:03 -04:00
Nicolas Mailloux
0cf2bca0d3 GUI user applications: improvements 2022-06-18 09:26:52 -04:00
Nicolas Mailloux
763279f1f1 Half-working setup
Huge thanks to @Szybet for writing at least 95% of the code in this commit
2022-06-17 23:59:21 -04:00
Nicolas Mailloux
9558de32e1 koboxAppsDialog: Small fix in logger 2022-06-07 17:03:28 -04:00
Nicolas Mailloux
01bded7aa4 KT: Small fixes 2022-06-07 14:10:06 -04:00
Nicolas Mailloux
5a716d2561 KT: Make USBMS work 2022-05-23 15:24:21 -04:00
Nicolas Mailloux
04ef2d132c Kindle Touch (KT) support 2022-05-22 15:38:02 -04:00
Nicolas Mailloux
c328761bc5 Tiny fixes in OTA updater 2022-05-16 23:57:35 -04:00
Nicolas Mailloux
fe88cc43e9 testPing fix 2022-05-15 19:18:45 -04:00
Nicolas Mailloux
862ca379ef README.md: Wording change 2022-05-03 22:45:00 -04:00
Nicolas Mailloux
723fa5c8f6 Legal info: improve README.md 2022-04-20 21:01:26 -04:00
Nicolas Mailloux
396c844c59 Add legal information 2022-04-20 20:53:51 -04:00
Nicolas Mailloux
427169e9e5 Add 'No warranty provided' warning 2022-04-20 19:02:52 -04:00
Nicolas Mailloux
55a870b2a2 Nonsensical fix for nonsensical problem
Apparently log() makes the device hang forever on the "Sync in progress" screen. So no option but to remove those calls ...
2022-04-18 22:54:11 -04:00
Nicolas Mailloux
8ad06262e9 Fix Wi-Fi interface bug when no networks are found 2022-04-18 14:30:12 -04:00
Nicolas Mailloux
5838ff1833 Improve logging in KoBox and InkBox settings 2022-04-17 22:25:29 -04:00
Nicolas Mailloux
b6fb919c83 Improve logging; various fixes 2022-04-16 23:20:24 -04:00
Nicolas Mailloux
7d25c6bbcd Improve testPing; support landscape PDFs 2022-04-16 19:40:30 -04:00
Nicolas Mailloux
105b13cb86 Implement cinematic brightness between book and Home if local settings enabled 2022-04-15 22:28:25 -04:00
Nicolas Mailloux
239ac55bd7 Improve logging; timezone fix 2022-04-15 20:27:58 -04:00
Nicolas Mailloux
698ee57585 Update README.md 2022-04-10 21:42:26 -04:00
Nicolas Mailloux
dd69ec95b5 Improve logging; add 'Univers (u001)' font in Reader 2022-04-10 21:37:33 -04:00