ezdiy
426f7b5ddc
Add API to set OS level file associations ( #6615 )
4 years ago
Frans de Jonge
c2aac0f71e
[fix] DocumentRegistry: only add provider once ( #5947 )
...
Fixes <https://github.com/koreader/koreader/issues/5946 >.
5 years ago
yparitcher
6c68df42ec
[feat] Open unsupported documents as text ( #5497 )
5 years ago
Frans de Jonge
a2dcfe9aec
[doc] Tag @todo, @fixme and @warning ( #5244 )
...
This commit standardizes the various todos around the code a bit in a manner recognized by LDoc.
Besides drawing more attention by being displayed in the developer docs, they're also extractable with LDoc on the command line:
```sh
ldoc --tags todo,fixme *.lua
```
However, whether that particular usage offers any advantage over other search tools is questionable at best.
* and some random beautification
5 years ago
Hzj_jie
9be82da449
Lower file suffix ( #4369 )
6 years ago
Qingping Hou
a72f8b6338
decouple UI from core document code
6 years ago
Robert
cd37535056
Replace remaining 'local gettext' with '_' ( #4160 )
6 years ago
Robert
e5a33ac6d9
Add "Open random document" to Plus menu ( #4103 )
6 years ago
Frans de Jonge
dc0dc7e962
[feat, UX] Add new OpenWithDialog based on RadioButton and RadioButtonTable ( #3678 )
...
Fixes #3659
7 years ago
Frans de Jonge
ced9e45d92
[fix] DocumentRegistry: don't create empty sdr and add hasProvider() ( #3675 )
...
As suggested by @poire-z https://github.com/koreader/koreader/pull/3653#issuecomment-364663156
7 years ago
Frans de Jonge
f6ca1c7c0a
[feat] Open with: choose which engine to use for file ( #3653 )
...
Fixes #3345
* Add SVG to MuPDF filetypes
7 years ago
Frans de Jonge
d714bd3aea
[feat] DocumentRegistry: add getProviders() and preferred by weight ( #3651 )
...
This is step one toward "open with".
References https://github.com/koreader/koreader/issues/3345
* Fix up some mimetypes
* Add XHTML to supported filetypes
* Add a few image files to MuPDF
* ".bmp",
* ".gif",
* ".hdp",
* ".j2k",
* ".jp2",
* ".jpeg",
* ".jpg",
* ".jpx",
* ".jxr",
* ".pam",
* ".pbm",
* ".pgm",
* ".png",
* ".pnm",
* ".ppm",
* ".tif",
* ".tiff",
* ".wdp",
7 years ago
poire-z
495accfec9
Reduce memory leaks when switching credocuments
...
CRE cache, hyphdict and fonts can be initialized only once
when first credocument is opened. Previously, they were
recreated for each document, and as previous instances were probably
not free'd, this caused memory leaks.
7 years ago
Frans de Jonge
c847d628e1
Docs: cosmetic updates and additions
...
* Content from wiki had some cosmetic leftover glitches
* Added/adapted some docs for other modules
7 years ago
Qingping Hou
f95ad00b9e
feat: add logger module & rewrite kobo suspend script in lua
8 years ago
Andrey Golovizin
86c53f94e1
Make the suffix lowercase before comparing.
10 years ago
Andrey Golovizin
a08ac46e80
Move credocument before pdfdocument in the registry.
10 years ago
Andrey Golovizin
4eda3f5a17
Add support for files with multiple extensions (like .fb2.zip).
10 years ago
chrox
2f2d9f1bf7
issue error directly when doc is malformated
...
This should popup a message saying "No reader engine for this file"
instead of a crash when document file is malformated.
This should fix #868 .
10 years ago
chrox
132adf8e1b
register opened document in documentregistry
...
so that when calling getCoverPageImage in screensaver mode
the document won't be opened again. This should avoid a lot of
problem such as messing up style and options described in #863 .
10 years ago
chrox
92219a1f1e
cleanup: expand tab to 4 spaces
11 years ago
HW
748a443cd5
Merge remote-tracking branch 'upstream/master'
...
resolved conflicts with refactored structure
11 years ago
HW
ef111b99c6
Refactored to use strictly locals
11 years ago