poire-z
17656778b1
Book information: refactored and additional features
...
- Factored out duplicate code from filemanager.lua and filemanagerhistory.lua
to new filemanagerbookinfo.lua (and other common code to filemanagerutil.lua).
- Uses sidecar files' new doc_props and doc_pages settings, or fallback to
old 'stats' settings, or to opening document.
- Shows filename, filetype and directory.
- Shows description (Hold to see whole truncated text), keywords, and
cover image (tap to extract image from document and display it if available).
- Book information now available from reader menu, to display info about
the currently opened book.
- Convert possibly HTML description to plain text via added
util.htmlToPlainTextIfHtml() (for simple HTML conversion).
7 years ago
Frans de Jonge
ea9fa95a54
util.lua: fix lfs require in isEmptyDir()
...
Pointed out by @poire-z ed7937f65d (commitcomment-21956632)
8 years ago
Frans de Jonge
ed7937f65d
ReaderDictionary: add info message about installing dictionaries
...
Fixes #2816 .
8 years ago
Hzj_jie
999898fa69
Merge various information into systemstat ( #2764 )
...
* Merge various information to systemstat
8 years ago
Frans de Jonge
e9df73f6dc
Developer documentation improvements
...
* Fixed up all of util and added when absent
* Updated widget examples to new coding style
8 years ago
Robert
a3c4254809
Added util.fixUtf8 ( #2704 )
...
* Remove invalid UTF-8 chars from OPDS
* add unit tests
8 years ago
Robert
dccbf4cf96
Fix crash when downloading books with unknown characters in title ( #2628 )
8 years ago
Frans de Jonge
47a40eb414
util: add some LDoc descriptions
8 years ago
Hzj_jie
726b15ad01
More sorting orders in file manager ( #2535 )
8 years ago
Frans de Jonge
bec5f46245
Merge pull request #2524 from Hzj-jie/master2
...
Add characters in menu items to indicate sub menus
8 years ago
Hzj_jie
65e2d6630f
Use small triangle
8 years ago
Hzj_jie
18117584c0
Resolve review comments
8 years ago
Hzj_jie
f91ad679d9
swithItemTable -> switchItemTable
8 years ago
Hzj_jie
529d1b3d33
evernote: ReadHistory integration and text file output ( #2498 )
8 years ago
Robert
7bfbc9f06a
Sanitize filename for vfat, fix #2433 ( #2464 )
8 years ago
poire-z
359c1ae265
textboxwidget: enhanced CJK text wrapping
...
(changes only in util.isSplitable(), but used by textboxwidget)
Implemented line breaking rules from :
https://en.wikipedia.org/wiki/Line_breaking_rules_in_East_Asian_languages
8 years ago
poire-z
a8dd8c6f30
textboxwidget: even better text wrapping
...
util.isSplitable() accepts now also the previous char to help
decide if a space can be used to split a line.
TextBoxWidget:_splitCharWidthList() : simplified logic
8 years ago
Frans de Jonge
ba7377065e
Doc: miscellaneous improvements.
8 years ago
poire-z
5040bfe4c5
textboxwidget and scrolltextwidget enhancements ( #2393 )
...
util: made isSplitable() accept an optional next_char
for wiser decision
textboxwidget: speed up rendering, enhanced text wrapping,
allow selection of multiple words with Hold.
scrolltextwidget: allow scrolling with Tap.
Details in #2393
8 years ago
Hzj_jie
9efc723388
PR #2356 breaks CJK character splitting
8 years ago
robert00s
fc5ba9b862
Fix hyphenation words with unicode character in texboxwidget ( #2356 )
8 years ago
chrox
71bf9efc7c
split accient greek words with spacing character
...
This should fix #1705 .
8 years ago
Qingping Hou
301925e34a
textboxwidget(fix): handle onHoldWord event
8 years ago
union2find
a7f24b6eaf
fix function util.splitToChars in frontend/util.lua
8 years ago
union2find
f8943efdbf
fix indent sytle
9 years ago
union2find
3d89b27e59
remove debug output
9 years ago
union2find
d6fcc9adf9
add cursor functionality
9 years ago
Alex Pletnev
fbf98ed920
#1710 FR: Add support of statistics plugin for pdf
9 years ago
Qingping Hou
e2096ed8d9
doc: add documentation build infrastructure
9 years ago
Qingping Hou
5cca28fabc
feat(util): add array.Append helper
9 years ago
Qingping Hou
e19f73bdba
style(util): rename tablelength to tableSize
9 years ago
Qingping Hou
2dc5eb8586
minor: no need to override function arg with local
9 years ago
Qingping Hou
4759def09c
chore: fix static-check errors
9 years ago
Alex Pletnev
ce4e32e01c
#1723 Add time to read into the status bar
...
Add new statuses:
TB - book time to read
TC - chapter time to read
Fix backward compatible in statistics plugin
9 years ago
chrox
932df2a2f9
Refactor out string.gsplit to util.gsplit
10 years ago
chrox
07586cea71
strip punctuations around word before searching
...
This should fix #1337 .
10 years ago