- Apr 09, 2019
-
-
handsome-feng authored
-
- Apr 08, 2019
-
-
handsome-feng authored
-
Yue-Lan authored
-
- Dec 28, 2018
-
-
Yue-Lan authored
-
Yue-Lan authored
在libreoffice打开的情况下,libreoffice --convert-to 子进程不会有返回,这会导致office预览失效。 采用unoconv -f 可以避免这一问题,所以优先使用unoconv。
-
https://github.com/ukui/peonyYue-Lan authored
-
Yue-Lan authored
-
liuyuanpeng authored
-
- Dec 27, 2018
-
-
Yue-Lan authored
-
- Dec 26, 2018
-
-
Yue-Lan authored
-
Yue-Lan authored
-
Yue Lan authored
extra preview: use 'libreoffice --convert' child prog for office translation, rather than 'unoconv -f'
-
liuyuanpeng authored
-
- Dec 25, 2018
- Dec 21, 2018
-
-
Yue-Lan authored
如果将正在运行的unoconv子进程杀死,虽然仍然能够进行格式转换和预览,但是libreoffice会出现异常,无法打开。 现在采用一种更加合理的处理方式: 如果正在进行格式转换,下一个预览文件将在此次格式转换完成后进行; 进行格式转换的文件从概念上看永远不多于两个,一个是doing中的文件,一个是todo的文件; 当doing文件处理完成以后,如果有todo文件,则它成为doing文件; 当有新的office文件需要预览时,它根据当时条件成为新的todo或doing文件。
-
- Dec 20, 2018
-
-
Yue-Lan authored
-
Yue-Lan authored
由于office预览使用的unoconv子进程占用了libreoffice的相关部分,此时不能正常打开文档,所以在加载的这一段过程中,禁用打开以避免出现libreoffice卡住的情况。
-
Yue-Lan authored
unoconv子进程可能会被新的unoconv子进程杀死,这会导致发送一个文件实际上不存在的pdf或html预览的回调。 增加一个检测文件是否存在的流程,避免显示一个不存在的文件导致预览界面报错。
-
Yue-Lan authored
-
Yue-Lan authored
extra preview: when preview office file, sleep a few times to ensure that if the selection has changed. if changed, do not sheduel the unoconv child progress, and return.
-
- Dec 19, 2018
- Dec 18, 2018
- Dec 17, 2018
-
-
Yue Lan authored
一些带图片的html在进行格式转换时会生成多个图片临时文件,这会导致直接清空目录失败
-
Yue Lan authored
-
Yue Lan authored
-
Yue Lan authored
-
Yue Lan authored
extra preview: abandon the global signaler, and use PeonyWindowInfo dealing with the preview signaler. global signaler 本身具有局限性,使用PeonyWindowInfo 可以消除这一局限性,这样对于多个窗口的预览就不会相互干扰了。
-
- Dec 14, 2018
- Dec 13, 2018
-
-
Yue Lan authored
-
-