Commit graph

132 commits

Author SHA1 Message Date
Nicolas Mailloux
13b3bda215 Implement 'Pin books' function 2022-07-18 02:40:32 -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
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
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
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
01bded7aa4 KT: Small fixes 2022-06-07 14:10:06 -04:00
Nicolas Mailloux
04ef2d132c Kindle Touch (KT) support 2022-05-22 15:38:02 -04:00
Nicolas Mailloux
fe88cc43e9 testPing fix 2022-05-15 19:18:45 -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
dd69ec95b5 Improve logging; add 'Univers (u001)' font in Reader 2022-04-10 21:37:33 -04:00
Nicolas Mailloux
8589ee36eb Give something to say to logger; implement local settings brightness 2022-04-06 23:24:16 -04:00
Nicolas Mailloux
f652dbddf0 Implement logger; design language fixes 2022-04-05 00:47:15 -04:00
Nicolas Mailloux
6874b729c3 Design improvements 2022-04-03 23:26:15 -04:00
Nicolas Mailloux
522f09df63 Stylesheet improvements; Typo fix 2022-04-03 22:44:46 -04:00
Nicolas Mailloux
8dfc7e3251 Author quotes: improvements; Empty eink.qss 2022-04-03 20:23:49 -04:00
Nicolas Mailloux
f683d70f1c Speed optimization with deviceID; various fixes/improvements 2022-04-02 16:49:18 -04:00
Nicolas Mailloux
4a4b4bb3ad Various fixes and improvements; add special characters to virtual keyboard 2022-04-02 14:30:07 -04:00
Nicolas Mailloux
dc93feed17 Wi-Fi connect dialog: Remove Wi-Fi modules if 'Cancel' button clicked 2022-04-02 12:30:03 -04:00
Nicolas Mailloux
e4a21f5c85 Wi-Fi icon improvements
Don't update it if it isn't necessary.
2022-04-02 10:27:44 -04:00
Nicolas Mailloux
6cc6737d8d Gutenberg: Fix #20
Gutenberg-related services (e.g., 'Online library') will now show an error message if they can't connect to the Internet and refuse to launch.
2022-03-23 23:41:14 -04:00
Nicolas Mailloux
c12d8c0017 Improve Update dialog design 2022-03-23 23:11:19 -04:00
Nicolas Mailloux
1aca2ba615 Wi-Fi: Auto-connect on wake-up things 2022-03-11 20:44:26 -05:00
Nicolas Mailloux
1671f78e5b Small bugfixes 2022-03-03 22:52:29 -05:00
Nicolas Mailloux
a9929fc87f Improve Univers/U001 font integration; generalDialog fixes 2022-03-03 22:03:20 -05:00
Nicolas Mailloux
0756004db6 New UI/UX font: U001/Univers
Inter is still there in a lot of areas and blends quite well with this new font.
2022-03-03 00:40:11 -05:00
Nicolas Mailloux
b4c9abb8a2 Fixes for version control info 2022-02-21 23:38:09 -05:00
Nicolas Mailloux
4fb815d4e6 Write Git info to tmpfs 2022-02-21 23:32:32 -05:00
Nicolas Mailloux
035ab14e5f Kobo Nia (N306) support 2022-02-19 19:21:09 -05:00
Nicolas Mailloux
bd40cd22c6 OTA update improvements 2022-02-18 11:06:09 -05:00
Nicolas Mailloux
1614e51e88 Gutenberg: Improvements 2022-02-17 20:13:08 -05:00
Nicolas Mailloux
2853ad70c3 USB charging fixes 2022-02-15 22:47:10 -05:00
Nicolas Mailloux
76327f4958 Improve USBMS handling
Finally applying @NiLuJe's suggestion!
2022-02-12 23:54:46 -05:00
Nicolas Mailloux
30c71a954a N437: Wi-Fi improvements + Increase virtual keyboard size 2022-02-12 18:17:56 -05:00
Nicolas Mailloux
056d67e5a6 N437 support 2022-02-06 22:49:06 -05:00
Nicolas Mailloux
a8a418b5a7 MainWindow: Set correct value for resetFullWindowException for homeBtn
See commit https://github.com/Kobo-InkBox/inkbox/commit/
6155e9344e for details.
2022-01-28 00:47:56 -05:00
Nicolas Mailloux
6155e9344e Fix MainWindow tabSwitcher bug
When an user would click another button-tab (e.g. Settings or Apps)
after launching libraryWidget, InkBox would reset the window entirely
and get back to the Home widget. The user would then have had to re-
click on the button-tab he wanted to pick to get the appropriate
content.

This commit fixes this issue by requiring a resetFullWindowException
boolean variable to be set to false (meaning that the user didn't click
on any button-tab before leaving libraryWidget) for the
resetWindow(true) function to occur as described in resetFullWindow(),
when libraryWidget is destroyed.
2022-01-28 00:44:23 -05:00
Nicolas Mailloux
a6110cf7ac Fix critical bug that made InkBox segfault on certain devices 2022-01-27 15:40:45 -05:00
Nicolas Mailloux
48f97fa5e6 N236 support 2022-01-27 15:16:48 -05:00
Nicolas Mailloux
8e29140fac Set truncate treshold for "Recent books" buttons
Fixes https://github.com/Kobo-InkBox/inkbox/issues/11
2022-01-16 19:31:04 -05:00
Nicolas Mailloux
a24b84acf4 Implement auto-sync if user searchs in Online Library 2022-01-11 14:17:14 -05:00
Nicolas Mailloux
bbc5c3b927 Gutenberg: improvements 2022-01-04 19:06:47 -05:00
Nicolas Mailloux
57f99c0fe2 encfs: Open dialog if files present in dropbox 2021-12-31 15:50:59 -05:00
Nicolas Mailloux
e310dd14b3 Delete/Hide libraryButton if device is not WiFi-able 2021-12-30 20:37:39 -05:00
Nicolas Mailloux
33aba576de Book retrieval from bookInfoDialog working 2021-12-29 23:09:51 -05:00
Nicolas Mailloux
fa1e05af99 Working on libraryWidget 2021-12-26 13:28:43 -05:00