lyx_mirror/src
Enrico Forestieri 8b88c3edde Refine fix for bug #7183.
Using updateMacros() entails a performance hit when loading a document
with really a lot of macros. So, revert to the original strategy of
tracking macros at creation time. In order to also account for macros
defined in a child document, the child is now loaded by the include inset
at construction time instead of after the master has finished loading.
This strategy mimics what updateMacros() was accomplishing without
incurring in its drawbacks, such that loading time is practically
unchanged even with a thousand macros.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36968 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-20 18:15:39 +00:00
..
client Proper camel case for FileName.absFilename 2010-04-21 01:19:09 +00:00
frontends Unneeded quotes in ui title 2010-12-20 14:31:38 +00:00
graphics * PreviewLoader: add comment 2010-11-23 16:09:05 +00:00
insets Refine fix for bug #7183. 2010-12-20 18:15:39 +00:00
lyxled
mathed Refine fix for bug #7183. 2010-12-20 18:15:39 +00:00
support Small Timer helper class useful for performance investigation in src/. 2010-12-18 18:40:21 +00:00
tex2lyx tex2lyx/preamble.cpp: prerequisites for further language support 2010-12-20 03:34:00 +00:00
AppleSpellChecker.cpp add missing debug message 2010-12-02 16:33:57 +00:00
AppleSpellChecker.h add cache of spell checker results to speed up native speller engine on macosx 2010-09-14 05:24:04 +00:00
AspellChecker.cpp #7043 add the implementation of a persistent personal word list for LyX spell checker, aspell and hunspell backend 2010-12-02 18:52:31 +00:00
AspellChecker.h #7043 add the implementation of a persistent personal word list for LyX spell checker, aspell and hunspell backend 2010-12-02 18:52:31 +00:00
Author.cpp Author: cosmetics. 2010-11-17 16:12:43 +00:00
Author.h Author: cosmetics. 2010-11-17 16:12:43 +00:00
BiblioInfo.cpp Fix output of HTML tags in bibliography info. 2010-09-15 13:50:17 +00:00
BiblioInfo.h Fix output of HTML tags in bibliography info. 2010-09-15 13:50:17 +00:00
Bidi.cpp remove some explicit tests against ERT_CODE; more to come 2009-07-16 10:08:13 +00:00
Bidi.h
boost.cpp
Box.cpp
Box.h
BranchList.cpp BranchList: 2010-04-21 01:19:35 +00:00
BranchList.h make branch-add-insert aware of the separator ("|") [bug #6621] 2010-06-14 13:39:08 +00:00
buffer_funcs.cpp detect end of paragraph and use it as word separator to correct the word count in tables - thanks, JMarc 2010-12-02 16:50:12 +00:00
buffer_funcs.h Add a global accessible function loadIfNeeded(). 2009-10-24 14:57:28 +00:00
Buffer.cpp Refine fix for bug #7183. 2010-12-20 18:15:39 +00:00
Buffer.h Refine fix for bug #7183. 2010-12-20 18:15:39 +00:00
BufferList.cpp BufferList should not determine that the current author has id = 0. This should really be in AuthorList. Besides BufferList shouldn't have to create an Author by itself. 2010-10-29 19:27:55 +00:00
BufferList.h BufferList should not determine that the current author has id = 0. This should really be in AuthorList. Besides BufferList shouldn't have to create an Author by itself. 2010-10-29 19:27:55 +00:00
BufferParams.cpp Load the package breakurl with hyperref in DVI output (fix bug 7033). 2010-12-13 07:58:07 +00:00
BufferParams.h Final batch of BufferParam renaming. 2010-11-26 18:42:53 +00:00
BufferView.cpp Move buffer dispatching code from GuiView::dispatchToBufferView() to BufferView::dispatch(). 2010-12-05 01:18:32 +00:00
BufferView.h Fix bug #7068 (Crash when pressing down arrow in an equation when there is a suggestion) 2010-11-30 03:54:29 +00:00
Bullet.cpp
Bullet.h
Changes.cpp Author: more cosmetics. Forgot these in previous commit. 2010-11-17 16:13:59 +00:00
Changes.h Assure the author is encoded correctly in the LaTeX output of change tracking markup (bug 6225). 2009-10-12 16:22:05 +00:00
Chktex.cpp support: 2010-04-21 01:19:28 +00:00
Chktex.h
Citation.h
CmdDef.cpp Make members of FuncRequest private, per the FIXME there. Again, this is 2010-04-09 19:00:42 +00:00
CmdDef.h
Color.cpp Removal of this color was forgotten. 2010-12-04 22:41:50 +00:00
Color.h Fix doxygen output for grouped items. Without the /name tag doxygen shows the group name as the name of the first item. Moreover, the comment styles are somewhat standardized. 2010-01-27 18:10:33 +00:00
ColorCode.h Removal of this color was forgotten. 2010-12-04 22:41:50 +00:00
ColorSet.h move ColorSet to a header of its own to reduce #include dependencies 2009-02-09 23:30:24 +00:00
Compare.cpp Next headers 2010-03-31 19:38:05 +00:00
Compare.h Fix doxygen output for grouped items. Without the /name tag doxygen shows the group name as the name of the first item. Moreover, the comment styles are somewhat standardized. 2010-01-27 18:10:33 +00:00
CompletionList.h
Converter.cpp * configure.py: 2010-11-30 09:49:28 +00:00
Converter.h * configure.py: 2010-11-30 09:49:28 +00:00
ConverterCache.cpp support: 2010-04-21 01:19:28 +00:00
ConverterCache.h Cosmetics and constify. 2009-06-29 23:43:23 +00:00
CoordCache.cpp
CoordCache.h
Counters.cpp Apparently deques aren't so cool. 2010-12-03 22:42:22 +00:00
Counters.h Add some comments. 2010-12-09 18:10:44 +00:00
Cursor.cpp GuiView::dispatchToBufferView(): simplify code and move some to Cursor::dispatch(). 2010-12-05 00:57:04 +00:00
Cursor.h rename selectionAsString parameter in header to match the implementation 2010-12-11 11:45:19 +00:00
CursorSlice.cpp
CursorSlice.h Fix doxygen output for grouped items. Without the /name tag doxygen shows the group name as the name of the first item. Moreover, the comment styles are somewhat standardized. 2010-01-27 18:10:33 +00:00
CutAndPaste.cpp Correct grammar in comment. 2010-12-04 23:29:51 +00:00
CutAndPaste.h
DepTable.cpp Proper camel case for FileName.absFilename 2010-04-21 01:19:09 +00:00
DepTable.h
Dimension.cpp
Dimension.h
DispatchResult.h Use DispatchResult also in GuiView::dispatchVC to handle messages. 2010-10-17 10:44:53 +00:00
DocIterator.cpp Fix bug #6989: Be somewhat more secure with the homebrew dynamic asserts that were changed in r35855. 2010-10-27 07:04:58 +00:00
DocIterator.h Fix multipart document background compilation. I am not fully satisfied with this solution (see FIXME in Buffer::clone()). There might be some memory leaks... 2010-01-09 14:47:47 +00:00
EnchantChecker.cpp add cache of spell checker results to speed up native speller engine on macosx 2010-09-14 05:24:04 +00:00
EnchantChecker.h add cache of spell checker results to speed up native speller engine on macosx 2010-09-14 05:24:04 +00:00
Encoding.cpp fix compiler warnings in pedantic mode: remove trailing comma after last enum member 2010-12-17 19:56:51 +00:00
Encoding.h Avoid unnecessary exceptions. 2010-02-19 16:31:15 +00:00
ErrorList.cpp
ErrorList.h header ordering. 2009-03-25 08:31:46 +00:00
Exporter.cpp Exporter.cpp: revert r34230 because this interferes with Enrico's new LyXVC feature to setup what LyX should do on export 2010-04-21 01:54:08 +00:00
Exporter.h Style. 2009-11-14 13:16:08 +00:00
factory.cpp fix bug 6698 2010-11-26 17:14:21 +00:00
factory.h Uniformize Inset construction (passing Buffer * everywhere). Lots of cleanup to do still... 2009-11-08 15:53:21 +00:00
Floating.cpp Introduce a RefPrefix tag for Style, InsetLayout, and Float, that 2010-03-17 12:23:24 +00:00
Floating.h Introduce a RefPrefix tag for Style, InsetLayout, and Float, that 2010-03-17 12:23:24 +00:00
FloatList.cpp Some cleanup for the Floating class. 2010-03-04 13:42:05 +00:00
FloatList.h
Font.cpp Kill leading blankspaces in new strings, its weird to encounter them in .po. 2010-11-27 03:04:53 +00:00
Font.h add cache of spell checker results to speed up native speller engine on macosx 2010-09-14 05:24:04 +00:00
FontEnums.h support for formal math script 2010-07-17 15:51:11 +00:00
FontInfo.cpp support for formal math script 2010-07-17 15:51:11 +00:00
FontInfo.h Fix doxygen output for grouped items. Without the /name tag doxygen shows the group name as the name of the first item. Moreover, the comment styles are somewhat standardized. 2010-01-27 18:10:33 +00:00
FontList.cpp add cache of spell checker results to speed up native speller engine on macosx 2010-09-14 05:24:04 +00:00
FontList.h add cache of spell checker results to speed up native speller engine on macosx 2010-09-14 05:24:04 +00:00
Format.cpp Remove support for viewing URLs from hyperlinks. This is a security 2010-12-09 17:55:11 +00:00
Format.h fix compiler warnings in pedantic mode: remove trailing comma after last enum member 2010-12-17 19:56:51 +00:00
FuncCode.h Fix inserting subscript/superscript with nonempty selection by creating a dedicated lfun: 2010-11-23 20:09:08 +00:00
FuncRequest.cpp whitespace 2010-11-29 10:48:40 +00:00
FuncRequest.h Swap the argument_ and action_ variables, so that r34105 really does do 2010-04-12 15:40:51 +00:00
FuncStatus.cpp Remove the unclear FuncStatus::operator|=. Without knowing the internals of FuncStatus it is unsafe to use this operator, so let's not use it. 2010-04-16 12:15:27 +00:00
FuncStatus.h Remove the unclear FuncStatus::operator|=. Without knowing the internals of FuncStatus it is unsafe to use this operator, so let's not use it. 2010-04-16 12:15:27 +00:00
Graph.cpp Simplify the graph code a bit. This also will allow us easily to find 2010-05-31 21:27:17 +00:00
Graph.h Simplify the graph code a bit. This also will allow us easily to find 2010-05-31 21:27:17 +00:00
HSpace.cpp support to specify the paragraph indentation in the document settings dialog; introduces the new class HSpace; - file format change 2009-07-19 21:13:27 +00:00
HSpace.h support to specify the paragraph indentation in the document settings dialog; introduces the new class HSpace; - file format change 2009-07-19 21:13:27 +00:00
HunspellChecker.cpp #7043 add the implementation of a persistent personal word list for LyX spell checker, aspell and hunspell backend 2010-12-02 18:52:31 +00:00
HunspellChecker.h #7043 add the implementation of a persistent personal word list for LyX spell checker, aspell and hunspell backend 2010-12-02 18:52:31 +00:00
IndicesList.cpp Introduce splitindex support. File format change. 2009-04-16 07:29:01 +00:00
IndicesList.h *List.h: Move the class documentation into the lyx::namespace to be picked up correctly by doxy. 2010-05-03 13:36:19 +00:00
InsetIterator.cpp
InsetIterator.h
InsetList.cpp
InsetList.h
Intl.cpp
Intl.h
KeyMap.cpp fix compiler warnings in pedantic mode: remove trailing comma after last enum member 2010-12-17 19:56:51 +00:00
KeyMap.h msvcUsing "using namespace std" with msvc10 makes also std::tr1::shared_ptr visible and generates conflicts with boost::shared_ptr. 2010-04-22 11:37:32 +00:00
KeySequence.cpp Fix crash when hitting delete key once more after deleting 2009-04-02 18:19:33 +00:00
KeySequence.h Now these don't have to be public. 2009-04-02 15:56:12 +00:00
Language.cpp fix bug #6584 2010-12-03 17:48:06 +00:00
Language.h fix bug #6584 2010-12-03 17:48:06 +00:00
LaTeX.cpp This one didn't make it to Unicode for some reason. 2010-10-21 19:15:31 +00:00
LaTeX.h * Properly separate the specific Japanese (i.e., pLaTeX) auxiliary programs (jbibtex, mendex) 2009-04-13 09:53:40 +00:00
LaTeXFeatures.cpp * LaTeXFeatures.cpp: do not use polyglossia if the texclass provides babel. 2010-12-09 10:00:10 +00:00
LaTeXFeatures.h * resolve conflicts of XeTeX with AMS by loading all AMS packages before fontspec. See 2010-12-08 18:42:10 +00:00
Layout.cpp make i18npreamble work with polyglossia. 2010-12-08 12:10:22 +00:00
Layout.h make i18npreamble work with polyglossia. 2010-12-08 12:10:22 +00:00
LayoutEnums.h add support for decimal alignment in tables 2010-06-05 07:44:44 +00:00
LayoutFile.cpp Move the error message out of LayoutFileList::load() and have it be 2010-07-28 21:03:27 +00:00
LayoutFile.h Grant a long-standing wish of Lars's: LyX now functions even if we have 2010-04-07 17:02:44 +00:00
LayoutModuleList.cpp Typo from Sven 2010-05-17 20:56:12 +00:00
LayoutModuleList.h Comment. 2009-08-15 18:45:54 +00:00
Length.cpp Length.cpp: fix sort order - in all other files we have PTH before PPH 2010-07-25 00:17:48 +00:00
Length.h Length.h: revert unintended change 2009-07-17 01:01:37 +00:00
lengthcommon.cpp Disentangle various "in"s 2010-11-30 00:55:34 +00:00
Lexer.cpp Fix bug #6868: LYXCMD:xxx:inset-insert:graphics does not parse correctly 2010-08-28 16:46:54 +00:00
Lexer.h Clarify and add some comments. 2010-03-29 18:00:26 +00:00
LyX.cpp Follow Vincent's advice 2010-12-13 00:51:30 +00:00
LyX.h The "single instance" patch. 2010-11-13 11:55:05 +00:00
LyXAction.cpp Doxy convertor knows nothing about multiple Sample fields 2010-12-02 02:46:24 +00:00
LyXAction.h fix compiler warnings in pedantic mode: remove trailing comma after last enum member 2010-12-17 19:56:51 +00:00
lyxfind.cpp TeXOnePar() simplification: use pit_type instead of iterator 2010-12-18 15:57:27 +00:00
lyxfind.h Fix up some of the find and replace code again. This solves a bug 2010-10-14 14:32:58 +00:00
LyXRC.cpp * UI changes in anticipation of polyglossia support: 2010-11-20 13:34:14 +00:00
LyXRC.h * UI changes in anticipation of polyglossia support: 2010-11-20 13:34:14 +00:00
LyXVC.cpp check for user cancel or errors on vcs revert before reload of buffer in LFUN_VC_REVERT 2010-11-06 11:54:08 +00:00
LyXVC.h Load mhchem if it is requested unconditionally, fix some typos 2010-11-21 18:07:04 +00:00
lyxwinres.rc
main.cpp Remove unneeded include. 2010-11-17 16:14:26 +00:00
Makefile.am #7043 add the implementation of a persistent personal word list for LyX spell checker, aspell and hunspell backend 2010-12-02 18:52:31 +00:00
MetricsInfo.cpp Sanitize ColorChanger 2010-09-09 13:02:20 +00:00
MetricsInfo.h Sanitize ColorChanger 2010-09-09 13:02:20 +00:00
ModuleList.cpp * ModuleList.cpp: 2010-07-17 21:19:46 +00:00
ModuleList.h Constify a bunch of stuff that can be const. 2009-08-14 15:46:10 +00:00
Mover.cpp Proper camel case for FileName.absFilename 2010-04-21 01:19:09 +00:00
Mover.h
output_docbook.cpp Next headers 2010-03-31 19:38:05 +00:00
output_docbook.h Move depthHook(), outerHook(), isFirstInSequence(), outerFont() to Text methods. 2009-08-09 18:35:39 +00:00
output_latex.cpp Squash warnings. The latter might matter. 2010-12-20 00:57:16 +00:00
output_latex.h TeXOnePar() simplification: use pit_type instead of iterator 2010-12-18 15:57:27 +00:00
output_plaintext.cpp
output_plaintext.h
output_xhtml.cpp Compile fix for r36670. 2010-12-03 02:42:25 +00:00
output_xhtml.h No need for two different containers here. 2010-12-02 22:11:52 +00:00
output.cpp
output.h
OutputEnums.h Add OutputEnums.h. This enum will shortly replace some magic booleans 2010-01-20 19:41:44 +00:00
OutputParams.cpp add basic LuaTeX backend. 2010-11-23 16:07:42 +00:00
OutputParams.h greatly simplify and comment TeXEnvironment(): 2010-12-18 13:49:39 +00:00
paper.h support for the ISO C-series paper formats; fileformat change 2010-07-13 01:06:20 +00:00
Paragraph.cpp remove superfluous semicolons at the end of namespaces 2010-12-16 08:06:00 +00:00
Paragraph.h Ignore ligature breaks and hyphenations during simple search (fixes #1468). 2010-11-22 07:50:34 +00:00
ParagraphList.h
ParagraphMetrics.cpp * Introduce polyglossia support (bug 6576). 2010-11-22 12:10:16 +00:00
ParagraphMetrics.h
ParagraphParameters.cpp
ParagraphParameters.h
ParIterator.cpp
ParIterator.h
pch.h
PDFOptions.cpp * PDFOptions.cpp: 2010-11-29 09:03:55 +00:00
PDFOptions.h * handle encoding in PDF options gracefully. 2010-03-01 17:39:41 +00:00
PersonalWordList.cpp #7043 add the implementation of a persistent personal word list for LyX spell checker, aspell and hunspell backend 2010-12-02 18:52:31 +00:00
PersonalWordList.h #7043 add the implementation of a persistent personal word list for LyX spell checker, aspell and hunspell backend 2010-12-02 18:52:31 +00:00
PrinterParams.cpp
PrinterParams.h
Row.cpp
Row.h
rowpainter.cpp Fix bugs #7165 (Auto-complete does not disappear after using it) 2010-12-16 08:14:27 +00:00
rowpainter.h #7120 the painter expects a float as line_thickness_, simplify initial computation of line_thickness_ and line_offset_ 2010-12-15 07:12:42 +00:00
Server.cpp Compile fix for windows for r36278. 2010-11-14 16:27:08 +00:00
Server.h The "single instance" patch. 2010-11-13 11:55:05 +00:00
ServerSocket.cpp msvcUsing "using namespace std" with msvc10 makes also std::tr1::shared_ptr visible and generates conflicts with boost::shared_ptr. 2010-04-22 11:37:32 +00:00
ServerSocket.h msvcUsing "using namespace std" with msvc10 makes also std::tr1::shared_ptr visible and generates conflicts with boost::shared_ptr. 2010-04-22 11:37:32 +00:00
Session.cpp No need for a deque here. 2010-12-04 23:18:52 +00:00
Session.h No need for a deque here. 2010-12-04 23:18:52 +00:00
sgml.cpp Make the new argument to step() mandatory, and add a comment to 2010-01-20 19:47:27 +00:00
sgml.h
Spacing.cpp
Spacing.h remove special TEX2LYX code in Spacing,h 2009-10-28 10:07:10 +00:00
SpellChecker.h remove not needed class name for enums, whitespace 2010-12-01 08:25:17 +00:00
TexRow.cpp Attempt on #6655. 2010-04-16 18:52:40 +00:00
TexRow.h Patch by John McCabe-Dansted to fix bug #6502: 2010-02-08 17:39:55 +00:00
TexStream.cpp
TexStream.h
Text2.cpp Some cosmetics (from my local cosmetics branch). 2010-10-18 14:20:03 +00:00
Text3.cpp fix typo: duplicate semicolon at line end of code 2010-12-20 12:01:12 +00:00
Text.cpp Replay r36748 2010-12-07 00:13:19 +00:00
Text.h Fix bug #6744: Crash when copying an inset from a deleted section. 2010-06-01 16:13:54 +00:00
TextClass.cpp Kill translations for this string. 2010-11-30 18:52:53 +00:00
TextClass.h Fix problem reported by Vincent, that absence of python can cause 2010-07-18 11:58:38 +00:00
TextMetrics.cpp Fix bug #2743. 2010-11-26 17:30:45 +00:00
TextMetrics.h Remove leftover of r36485. 2010-12-06 00:25:45 +00:00
Thesaurus.cpp * Thesaurus.cpp: fix synonym collection. 2010-09-13 16:15:15 +00:00
Thesaurus.h * Spellchecker dialog: 2010-02-10 08:10:31 +00:00
TocBackend.cpp Rename InsetOptArg as InsetArgument. 2010-06-04 22:44:58 +00:00
TocBackend.h Fix bug #6672 (part 2): Add tooltips to the outliner. 2010-04-26 00:43:08 +00:00
Trans.cpp fix compiler warnings in pedantic mode: remove trailing comma after last enum member 2010-12-17 19:56:51 +00:00
Trans.h
Undo.cpp Fix the last part of #3733: 2010-12-08 10:30:45 +00:00
Undo.h Fix bug #6930: no undo for inset type changing 2010-11-29 09:47:46 +00:00
update_flags.h
VCBackend.cpp Stephan, I changed this string since the previous version was strange. 2010-11-30 00:23:34 +00:00
VCBackend.h Comment 2010-11-06 12:32:47 +00:00
version.cpp * do not change name of QSettings config file on LyX version change. 2009-06-29 08:44:32 +00:00
version.h * do not change name of QSettings config file on LyX version change. 2009-06-29 08:44:32 +00:00
VSpace.cpp Initialize number_index and unit_index in isValidGlueLength(). This is now the same as in isValidLength(), so I assume it's OK. 2010-03-10 16:35:40 +00:00
VSpace.h HTML output for InsetVSpace. 2009-06-12 15:07:04 +00:00
WordLangTuple.h Fix bug #6561: Crash when using Spellchecker's language box when cursor is in math. 2010-11-10 20:06:21 +00:00
WordList.cpp Fix bug #6378: Word completion (in texted) should be language-sensitive. 2009-12-18 14:48:56 +00:00
WordList.h Fix bug #6378: Word completion (in texted) should be language-sensitive. 2009-12-18 14:48:56 +00:00