Commit graph

594 commits

Author SHA1 Message Date
Nicolas Mailloux
7cf0f92698 Merge branch 'localLibraryWidget' into 'master' 2022-07-19 00:13:49 -04:00
Nicolas Mailloux
bced19c8e5 reader: Switch to icons for Previous/Options/Next buttons 2022-07-18 11:00:15 -04:00
Nicolas Mailloux
13b3bda215 Implement 'Pin books' function 2022-07-18 02:40:32 -04:00
Nicolas Mailloux
5a38ecdab3 reader: Fix PDF segmentation fault bug on page turn
This bug happened sometimes when the user would go to a specific page in the document or tried to continue reading a PDF from a certain page other than the first one. This commit fixes this that.
2022-07-16 14:45:01 -04:00
Nicolas Mailloux
54633f1dc9 bookID fix in bookOptionsDialog 2022-07-15 23:58:05 -04:00
Nicolas Mailloux
b98fee4458 Update .gitignore 2022-07-15 20:38:52 -04:00
Nicolas Mailloux
03c2732aff Implement local book info dialog 2022-07-12 12:34:36 -04:00
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