lyx_mirror/src/insets
Jürgen Spitzmüller 1bed69439f Much better performance when using natbib (bug 2460):
* src/BufferView_pimpl.C
	(bool BufferView::Pimpl::dispatch): update bibfiles cache after adding or
	deleting a bib database
* src/buffer.C
	(bool Buffer::readDocument): update bibfiles cache after the document 
	was read
* src/buffer.[Ch]
	(void Buffer::updateBibfilesCache): new method to build or update a cached
	vector with all used bibtex databases. 
	(void Buffer::getBibfilesCache): new method that returns the actual cache.
	(Buffer * Buffer::getMasterBuffer): new (non-const) method to get the buffer 
	of the master document

* src/insets/insetbibtex.C
	(void InsetBibtex::doDispatch): update the bibfiles cache after the inset has
	been modified.
* src/insets/insetinclude.C.
	(void Insetinclude::doDispatch): update the bibfiles cache after the inset 
	has Been modified.
* src/insets/insetinclude.[Ch]:
	(void Insetinclude::updateBibfilesCache): new method to build or update 
	a cached vector with all used bibtex databases. 
	(void Insetinclude::getBibfilesCache): new method that returns the actual 
	cache.
* src/insets/insetcite.C
	(string const getNatbibLabel): store a map of timestamps for all used bibtex 
	files (buffer's bibfiles cache) and rebuild the list of keys only if the timestamps
	or the list of files have changed. This is the actual performance boost. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13681 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-15 11:46:17 +00:00
..
ChangeLog fix coordinate miscalculation in tabular (bug 2006) 2006-03-11 16:09:41 +00:00
ExternalSupport.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
ExternalSupport.h Whitespace cleanup. 2006-04-05 23:56:29 +00:00
ExternalTemplate.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
ExternalTemplate.h Whitespace cleanup. 2006-04-05 23:56:29 +00:00
ExternalTransforms.C the convert patch 2005-01-27 21:05:44 +00:00
ExternalTransforms.h Asger's exchanging of the class and struct keywords. 2005-01-19 15:03:31 +00:00
inset.C send UpdatableInset down the way of the Dodo 2005-07-15 22:10:25 +00:00
inset.h send UpdatableInset down the way of the Dodo 2005-07-15 22:10:25 +00:00
insetbase.C Whitespace cleanup. 2006-04-05 23:56:29 +00:00
insetbase.h Whitespace cleanup. 2006-04-05 23:56:29 +00:00
insetbibitem.C * output_latex.h: 2006-03-23 20:11:06 +00:00
insetbibitem.h Add the bibitemWidest declaration to insetbibitem.h. 2005-01-23 16:36:36 +00:00
insetbibtex.C Much better performance when using natbib (bug 2460): 2006-04-15 11:46:17 +00:00
insetbibtex.h InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insetbox.C A more general way of setting paragraphs in an inset to standard 2006-03-30 12:43:32 +00:00
insetbox.h Fix bugs 2136, 2123 2005-12-05 15:03:38 +00:00
insetbranch.C Partial fix bug 2092: branches not propagated to child documents 2005-11-02 13:54:33 +00:00
insetbranch.h bug 2092: branches not propagated to child documents 2005-10-25 15:21:49 +00:00
insetcaption.C implement missing doClone methods 2005-02-23 12:01:50 +00:00
insetcaption.h implement missing doClone methods 2005-02-23 12:01:50 +00:00
insetcharstyle.C Whitespace cleanup. 2006-04-05 23:56:29 +00:00
insetcharstyle.h Fix the bug reported by Markus Mayer, that paragraph styles like 2006-03-25 16:23:06 +00:00
insetcite.C Much better performance when using natbib (bug 2460): 2006-04-15 11:46:17 +00:00
insetcite.h fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insetcollapsable.C Whitespace cleanup. 2006-04-05 23:56:29 +00:00
insetcollapsable.h Changes to the within-inset row rendering caching code. 2006-03-17 19:45:28 +00:00
insetcommand.C Whitespace cleanup. 2006-04-05 23:56:29 +00:00
insetcommand.h Whitespace cleanup. 2006-04-05 23:56:29 +00:00
insetcommandparams.C fix out of range access to string 2005-05-06 14:15:31 +00:00
insetcommandparams.h support for second \cite option. 2004-03-05 14:49:10 +00:00
insetenv.C clone NVI, other small stuff 2004-11-23 23:04:52 +00:00
insetenv.h Whitespace cleanup. 2006-04-05 23:56:29 +00:00
insetert.C A more general way of setting paragraphs in an inset to standard 2006-03-30 12:43:32 +00:00
insetert.h fix bug 2316 2006-02-27 12:22:36 +00:00
insetexternal.C Update on view-source feature (r13610), from Bo Peng (ben.bob@gmail.com) 2006-04-10 16:27:59 +00:00
insetexternal.h implement missing getStatus methods 2005-04-22 08:57:22 +00:00
insetfloat.C Do not use localized strings internally (bug 1870) 2005-07-27 15:22:08 +00:00
insetfloat.h implement missing getStatus methods 2005-04-22 08:57:22 +00:00
insetfloatlist.C InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insetfloatlist.h InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insetfoot.C clone NVI, other small stuff 2004-11-23 23:04:52 +00:00
insetfoot.h InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insetfootlike.C Fix defaultFont problems (bug 2308) 2006-02-22 15:44:57 +00:00
insetfootlike.h Fix font inside inset (bugs 1766, 1809) 2005-04-10 14:07:33 +00:00
insetgraphics.C view-source feature, from Bo Peng <ben.bob@gmail.com> 2006-04-09 02:48:54 +00:00
insetgraphics.h implement missing getStatus methods 2005-04-22 08:57:22 +00:00
insetgraphicsParams.C Protect '#warning ...' with '#ifdef WITH_WARNINGS' guard. 2005-01-31 10:20:29 +00:00
insetgraphicsParams.h Asger's exchanging of the class and struct keywords. 2005-01-19 15:03:31 +00:00
insethfill.C clone NVI, other small stuff 2004-11-23 23:04:52 +00:00
insethfill.h InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insetinclude.C Much better performance when using natbib (bug 2460): 2006-04-15 11:46:17 +00:00
insetinclude.h Much better performance when using natbib (bug 2460): 2006-04-15 11:46:17 +00:00
insetindex.C InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insetindex.h Asger's exchanging of the class and struct keywords. 2005-01-19 15:03:31 +00:00
insetlabel.C probably fixed bug 1561 2005-07-17 23:03:01 +00:00
insetlabel.h InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insetlatexaccent.C fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insetlatexaccent.h fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insetline.C add include that was missing by accident from the previous patch 2005-09-09 12:49:21 +00:00
insetline.h InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insetmarginal.C Docbook fixes from Andreas 2005-02-28 13:14:48 +00:00
insetmarginal.h Docbook fixes from Andreas 2005-02-28 13:14:48 +00:00
insetnewline.C Remove space at end of line, when superfluous. 2004-08-16 11:27:51 +00:00
insetnewline.h InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insetnote.C Whitespace cleanup. 2006-04-05 23:56:29 +00:00
insetnote.h implement missing getStatus methods 2005-04-22 08:57:22 +00:00
insetoptarg.C fix crash with insetoparg (bug 1890) 2005-06-02 15:01:16 +00:00
insetoptarg.h implement and use virtual bool neverIndent() (thereby fixing bug 2003) 2005-09-10 06:51:58 +00:00
insetpagebreak.C Remove space at end of line, when superfluous. 2004-08-16 11:27:51 +00:00
insetpagebreak.h InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insetquotes.C fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insetquotes.h fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insetref.C fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insetref.h fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insetspace.C fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insetspace.h fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insetspecialchar.C fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insetspecialchar.h fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insettabular.C * src/insets/insettabular (doDispatch): use insertAsciiString in 2006-04-13 14:19:12 +00:00
insettabular.h Whitespace cleanup. 2006-04-05 23:56:29 +00:00
insettext.C Whitespace cleanup. 2006-04-05 23:56:29 +00:00
insettext.h A more general way of setting paragraphs in an inset to standard 2006-03-30 12:43:32 +00:00
insettheorem.C clone NVI, other small stuff 2004-11-23 23:04:52 +00:00
insettheorem.h clone NVI, other small stuff 2004-11-23 23:04:52 +00:00
insettoc.C InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
insettoc.h InsetOld -> InsetBase renaming 2004-11-25 19:13:07 +00:00
inseturl.C fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
inseturl.h fix bug 2089: Touching Navigate menu crashes Lyx when a TOC inset is in a section layout 2005-11-25 14:40:34 +00:00
insetvspace.C Whitespace cleanup. 2006-04-05 23:56:29 +00:00
insetvspace.h fix bug 2022 2005-09-12 14:57:50 +00:00
insetwrap.C Do not use localized strings internally (bug 1870) 2005-07-27 15:22:08 +00:00
insetwrap.h implement missing getStatus methods 2005-04-22 08:57:22 +00:00
mailinset.C Cruft removal, small clean-up, no functional changes. 2003-12-12 10:05:21 +00:00
mailinset.h Remove a whole heap of redundant functions from classes derived from 2003-12-11 15:23:15 +00:00
Makefile.am send UpdatableInset down the way of the Dodo 2005-07-15 22:10:25 +00:00
pch.h Use the preferred calling for Boost.Signal 2004-09-26 14:19:47 +00:00
render_base.h clone NVI, other small stuff 2004-11-23 23:04:52 +00:00
render_button.C Refactoring of renderer code to make inset code simpler. 2004-04-13 17:25:23 +00:00
render_button.h Refactoring of renderer code to make inset code simpler. 2004-04-13 17:25:23 +00:00
render_graphic.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
render_graphic.h Remove unused member function and variable. 2004-04-16 16:01:47 +00:00
render_preview.C Whitespace, only whitespace. 2004-10-05 10:11:42 +00:00
render_preview.h remove unneeded calls to BufferView::update() in insets 2005-05-09 17:29:22 +00:00