]> git.lyx.org Git - features.git/commit
Implement a cache for BibTeX data. There was a cache of sorts already in InsetCitatio...
authorRichard Heck <rgheck@comcast.net>
Fri, 25 Apr 2008 20:03:03 +0000 (20:03 +0000)
committerRichard Heck <rgheck@comcast.net>
Fri, 25 Apr 2008 20:03:03 +0000 (20:03 +0000)
commit2193a506052002f66bd6c2929e208ba795549cf1
tree573a9be9d86521169b12aff207476693e405d75c
parent45eee3cbbbc4a2c05a99461c8583b2795a3fb672
Implement a cache for BibTeX data. There was a cache of sorts already in InsetCitation, but that was being used only to cache the labels. So that has been moved to Buffer, and everything else that needs access to BibTeX data should call either Buffer::localBibInfo(), which gives you the BiblioInfo for this Buffer, or Buffer::masterBibInfo(), which gives you the BiblioInfo for the Buffer's master, if it has one, or for it, otherwise. Normally, what you want is masterBibInfo().

Thanks to Andre for help with linking problems.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24505 a592a061-630c-0410-9148-cb99ea01b6c8
src/BiblioInfo.cpp
src/BiblioInfo.h
src/Buffer.cpp
src/Buffer.h
src/Makefile.am
src/frontends/qt4/GuiCitation.cpp
src/frontends/qt4/GuiCitation.h
src/insets/InsetBibitem.cpp
src/insets/InsetCitation.cpp
src/insets/InsetInclude.cpp