]> git.lyx.org Git - features.git/commit
Detach Buffer preview and update preview in a new thread. Only for Qt4.4 users. This...
authorAbdelrazak Younes <younes@lyx.org>
Fri, 18 Dec 2009 22:51:06 +0000 (22:51 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 18 Dec 2009 22:51:06 +0000 (22:51 +0000)
commit4ed0169064b5fdb36382fdf831b696daf86f88c0
tree15511db5a6b5da589db11459824fb13594310dc1
parent5ad8d44ce237c93417cedb9c3eab1e87b2358197
Detach Buffer preview and update preview in a new thread. Only for Qt4.4 users. This new feature can be disabled by setting EXPORT_in_THREAD to 0 in GuiView.cpp.
Two things are missing (but are fixable):
- the lack of feedback of the background latex compilation
- the error list is not shown in case of compilation error.

* Buffer:
- create a "cloned buffer" type.
- Transfer LFUN_MASTER_BUFFER_UPDATE, LFUN_MASTER_BUFFER_VIEW, LFUN_BUFFER_UPDATE and LFUN_BUFFER_VIEW to GuiView. This is good itself as these LFUN are GUI oriented.

* GuiView: detach the above LFUNs to a new thread as was already done for autosave.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32584 a592a061-630c-0410-9148-cb99ea01b6c8
src/Buffer.cpp
src/Buffer.h
src/frontends/qt4/GuiView.cpp
src/frontends/qt4/GuiView.h