Commit graph

459 commits

Author SHA1 Message Date
Nicolas Mailloux
0676431c35 inkbox.pro: Small fix 2022-08-06 21:36:13 -04:00
Nicolas Mailloux
27784ad4ec localLibrary, homePageWidget, bookOptionsDialog: Various improvements and bugfixes 2022-08-01 23:15:04 -04:00
Nicolas Mailloux
e92bd36a34
Merge pull request #31 from Szybet/master
Named pipe repair, minor improvements and other fixes
2022-08-01 18:30:22 -04:00
Nicolas Mailloux
c10b47d2e6 IPD: Small fixes 2022-08-01 18:29:20 -04:00
Szybet
ea5e45245a typo :) 2022-08-01 00:02:16 +02:00
Nicolas Mailloux
1fed76e5eb Small fixes 2022-07-29 20:27:10 -04:00
Nicolas Mailloux
ba2eefd2d1 Small fixes 2022-07-29 20:26:20 -04:00
Szybet
18e135ba3b simplest solution to a complicated problem 2022-07-30 00:12:12 +02:00
Szybet
4eaaeb33b8 pipe repair, minor improvments and fixes 2022-07-29 19:50:22 +02:00
Nicolas Mailloux
4463ced4c7 Fixes in homePageWidget; implement 'currentlyRunningUserApplication' 2022-07-26 23:09:12 -04:00
Nicolas Mailloux
dfd89c5531 ipd improvements 2022-07-26 21:08:25 -04:00
Nicolas Mailloux
3262c7945f Initial power daemon integration (credit: @Szybet) 2022-07-26 00:29:13 -04:00
Nicolas Mailloux
bf5f7325bd Organize source code filesystem structure 2022-07-25 16:43:37 -04:00
Nicolas Mailloux
79ed048c9a homePageWidget: Add some icons 2022-07-20 11:55:43 -04:00
Nicolas Mailloux
fa20895ad8 Local library: Fix special characters issue 2022-07-19 12:03:58 -04:00
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