hius07
c47d3b3177
Menu widget: cleanup ( #11759 )
2024-05-07 09:34:30 +03:00
hius07
d82815952e
Annotations, part 1 ( #11563 )
...
New format to handle annotations (page bookmarks, highlights, notes) and store them in the book metadata files.
2024-05-03 09:08:57 +03:00
hius07
6b0d97bf22
Multiple collections ( #11693 )
2024-05-01 09:01:59 +03:00
hius07
c8c4e0301a
covermenu: fix file dialog ( #11576 )
2024-03-20 11:02:01 +02:00
hius07
66afeebe85
CoverBrowser: show cached cover of deleted file in history ( #11523 )
2024-03-09 17:02:31 +02:00
hius07
5d4747c593
FileManager: less lfs calls ( #11452 )
...
Use item info provided by FileChooser.
Also fix showing PathChooser with invalid path,
and fix issue when opening non-supported files.
2024-02-17 01:17:59 +01:00
hius07
50fcc04725
CoverBrowser: do not call lfs on every item ( #11449 )
2024-02-08 07:57:19 +02:00
hius07
b8090c641c
Minimize DocSettings:open() calls ( #11437 )
2024-02-07 10:35:52 +02:00
hius07
d94b819eb1
CoverBrowser: use bookinfo cache in Classic mode ( #11404 )
...
Getting bookinfo from the cache db is much faster than opening a book, let's use it in Classic mode too.
With fallback if no metadata available.
2024-01-26 22:01:45 +01:00
hius07
b832d43d98
CoverBrowser: fix classic mode update cache ( #11398 )
2024-01-23 08:17:47 +01:00
NiLuJe
90ae4acca6
Chore: Review FrameContainer constructors for shared dimen objects
...
Nothing else seems problematic, this is mostly just cosmetic sanitization
around Geom objects.
2024-01-19 00:08:10 +01:00
NiLuJe
65e22ceafc
Widgets: Fix a bunch of regressions after the FrameContainer change in #11364
...
FrameContainer now preserves its self.dimen, which means it cannot be
shared with another widget or container that might also modify it during
painting ;).
Fix #11370
Fix https://github.com/koreader/koreader/pull/11364#issuecomment-1894454657
Fix #11379
2024-01-19 00:08:10 +01:00
hius07
e0ed04a1a1
CoverBrowser: fix cover cache check #2 ( #11380 )
2024-01-17 18:05:09 +02:00
hius07
43831236ce
CoverBrowser: doc_settings cache improvement ( #11360 )
2024-01-17 09:58:21 +02:00
hius07
234a68d80b
CoverBrowser: fix cover cache check ( #11356 )
2024-01-14 17:44:59 +01:00
hius07
ea9ef6781c
CoverBrowser: adjustable mosaic grid ( #11232 )
2024-01-12 08:13:50 +02:00
hius07
e577c79d95
File search, FileChooser and others ( #10994 )
2023-10-12 08:58:52 +03:00
hius07
0ac258fcb7
Coverbrowser: event for cache refreshing ( #10956 )
2023-10-03 09:24:29 +03:00
Benoit Pierre
08555ad68b
coverbrowser: make showing some metadata fields optional
2023-10-02 12:46:33 +02:00
Benoit Pierre
e8bc28db33
coverbrowser: minor simplification
...
Add a `toggleSetting` helper.
2023-10-02 12:46:33 +02:00
Benoit Pierre
7d3456edc1
[plugin] CoverBrowser: improve title & authors layout ( #10942 )
...
- handle possible height overflow
- now that labels don't overflow, increase the minimum font size
2023-09-29 10:05:03 +02:00
hius07
108d87742a
Custom metadata: fixes ( #10889 )
2023-09-12 07:54:38 +03:00
hius07
e4ba8c7909
Custom metadata: event ( #10869 )
2023-09-06 09:41:10 +03:00
hius07
ed2ea6803f
Custom metadata ( #10861 )
2023-09-01 08:07:29 +03:00
hius07
1ef7821b66
getProps: centralize 2 ( #10837 )
...
Centralize and optimize handling document properties.
2023-08-30 07:53:59 +03:00
poire-z
626864f856
[chore] replace utf8 bytes with Unicode escape sequence
2023-08-02 01:28:24 +02:00
hius07
01e6593dd4
File popup dialog buttons ( #10537 )
2023-06-08 08:27:52 +03:00
hius07
4f23a6fafa
Custom book covers ( #10329 )
2023-05-03 15:43:05 +03:00
hius07
fd8cb14c00
CoverBrowser: fix getting cached info ( #10346 )
2023-04-26 10:19:01 +03:00
hius07
b7c4e1c21b
ListMenu: show mark for books with highlights ( #10276 )
2023-04-02 16:58:51 +03:00
hius07
4d26650ad6
Filesearcher: add search in book metadata ( #10198 )
2023-03-28 16:16:53 +03:00
hius07
aedb713f82
Menu widget: cleanup ( #10241 )
2023-03-25 09:48:30 +02:00
hius07
cc3e48fa3a
Coverbrowser: unify display modes ( #10188 )
2023-03-13 09:53:09 +02:00
hius07
a3d42ac344
Classic display mode: add popup file dialog buttons ( #10185 )
2023-03-07 22:24:42 +02:00
Frans de Jonge
26dc43553b
[fix] CoverBrowser: fix calling upvalue crash in MosaicMenu ( #10164 )
...
Regression introduced in #10140 .
2023-02-26 22:55:56 +01:00
hius07
5cf72b6eea
MosaicMenu: correct access to doc settings ( #10140 )
2023-02-20 08:16:44 +02:00
hius07
15605291c2
DocSettings: add support of centralized sdr storage ( #10132 )
2023-02-17 23:06:55 +02:00
melyux
e55b60175b
CoverBrowser Mosaic: improve book status, floating progress bar ( #9939 )
...
- New dogear icons in Mosaic cover view to indicate each
possible book status: 'Reading', 'On hold', 'Finished'
- Progress bar redesigned to be floating, taller, thicker
bordered in Mosaic cover view
- Don't show progress bar if book is finished
- FakeCover bottom text (filename) adjusted to not overlap
with progress bar and dogear if they exist
- Mosaic book shortcut letter moved from bottom left to
top left
2023-02-17 21:29:53 +01:00
hius07
da841f3d87
ListMenu: correct access to doc settings ( #10119 )
2023-02-15 08:30:12 +02:00
Melik
bc92ad923e
Move cache update logic into CoverMenu:updateCache
2023-02-11 21:49:23 +01:00
Melik
7d6da81233
Compact covermenu addn. to for loop, fix collections bug, further gimp genStatusButton to use upvalues
2023-02-11 21:49:23 +01:00
Melik
d9b0785a96
Reset button gen to util, collections current file check
...
- filemanagerutil.resetDocumentSettings()'s doc_settings:close() -> doc_settings:flush()
- Remove current_status from filemanagerutil.getStatusButtonsRow() args, get it inside from file
- Move genStatusButton() inside filemanagerutil.getStatusButtonsRow()
- Move "Reset settings" button generation to filemanagerutil
- Rename "Reset settings" button to "Reset" and update popup box text
- Disable "Reset settings" for file if it's currently open in Collections (same as History)
2023-02-11 21:49:23 +01:00
Melik
fb7ec830c6
Create getStatusButtonsRow() for status buttons, hide row if history item deleted
2023-02-11 21:49:23 +01:00
Melik
502bb0ccbf
Create genStatusButton() for buttons, use item.dim for deleted in history
2023-02-11 21:49:23 +01:00
Melik
1b2adfd201
Return to callback fudging, fix book info callback replacement
2023-02-11 21:49:23 +01:00
Melik
a9313dda1a
Add buttons to collections
2023-02-11 21:49:23 +01:00
Melik
57849b3f7c
Add buttons to history, use id for button-getting
2023-02-11 21:49:23 +01:00
Melik
086d4622e6
Add buttons to file manager, lay groundwork
2023-02-11 21:49:23 +01:00
NiLuJe
7863a7ad70
Misc: Natural sorting refactor ( #10023 )
...
* Move natural sorting algo to a dedicated sort module to avoid code duplication
* Use a slightly more accurate algorithm, and speed it up by caching intermediary strings
* Calibre: Use natural sorting in metadata search (fix #10009 )
2023-01-16 19:36:22 +01:00
NiLuJe
b523c2e8b9
InputContainer: Fall cleanup ;).
...
Get rid of the doc & seqtext fields, as they are not actually used (nor
are they particularly useful, the event handler's name should be pretty
self-explanatory).
Also, tweak the key_events documentation to highlight the quirks of the
API, especially as far as array nesting is involved...
Random drive-by cleanup of the declarations of key_events & ges_events
to re-use the existing instance object (now that we know they're sane
;p) for tables with a single member (less GC pressure).
2022-10-29 22:55:20 +02:00