]> git.lyx.org Git - features.git/commit
Try yet again try to fix bug #9158.
authorRichard Kimberly Heck <rikiheck@lyx.org>
Sat, 1 Sep 2018 19:16:01 +0000 (15:16 -0400)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Sun, 2 Sep 2018 03:13:00 +0000 (23:13 -0400)
commit7b29d4e7aae2d9edfb990a871e2f754ff625597e
tree8b6e8160a9226501c5c2920228c55cff0fd3ac91
parentbc644d131c7628e43ffa2b2fe00ee38f74737b37
Try yet again try to fix bug #9158.

The problem with the previous attempt was that, every time through
updateBuffer, we looked up the file location using kpsewhich, which
took too long on Windows. The new solution is to cache that info, and
to look it up only when we need it.

Previously, this info would have been re-read whenever we parsed the
bibfiles. So we re-read it now whenever the bibinfo cache is invalid,
which is less often, but should be good enough. We can add more such
re-reads if need be.
src/Buffer.cpp
src/Buffer.h
src/insets/InsetBibtex.cpp
src/insets/InsetBibtex.h
src/support/FileNameList.h