lyx_mirror/src
Richard Heck 5577e877bb Try to move all updateBuffer() calls to a central location. We now use
DispatchResult to store a flag that tells us whether we need a buffer
update or not. 

So: If you find a missing one, go to an appropriate place in the
dispatch and call cur.forceBufferUpdate() or, if you don't have a cursor
but do have a DispatchResult, call dr.forceBufferUpdate().

There is one remaining call I could not move, in
TextMetrics::redoParagraph. But this looks like an emergency call when
the macro context has not been set. There are also a couple calls that
are connected with buffer creation that I commented out, since the same
call is done again almost immediately. But I'm not positive about those.

Now the nice thing would be to do the same for updateMacros().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34826 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-09 14:37:00 +00:00
..
client Proper camel case for FileName.absFilename 2010-04-21 01:19:09 +00:00
frontends Try to move all updateBuffer() calls to a central location. We now use 2010-07-09 14:37:00 +00:00
graphics We do need the encoding here now, due to how InPreamble works. 2010-06-15 18:26:38 +00:00
insets Try to move all updateBuffer() calls to a central location. We now use 2010-07-09 14:37:00 +00:00
lyxled
mathed Try to move all updateBuffer() calls to a central location. We now use 2010-07-09 14:37:00 +00:00
support provide native spell checker for Mac OS X 2010-07-07 17:40:50 +00:00
tex2lyx TR1: use std::tr1 regex with msvc10 2010-06-29 17:09:40 +00:00
AppleSpellChecker.cpp provide native spell checker for Mac OS X 2010-07-07 17:40:50 +00:00
AppleSpellChecker.h provide native spell checker for Mac OS X 2010-07-07 17:40:50 +00:00
AspellChecker.cpp Fix nasty memory bug signalled by valgrind while looking at another bug. 2010-07-02 12:41:14 +00:00
AspellChecker.h * Spellchecker dialog: 2010-02-10 08:10:31 +00:00
Author.cpp Fix bug #6058: Change tracking not usable in version control. 2009-07-23 20:08:05 +00:00
Author.h Fix another gcc error for r30756. 2009-07-23 20:38:24 +00:00
BiblioInfo.cpp TR1: use std::tr1 regex with msvc10 2010-06-29 17:09:40 +00:00
BiblioInfo.h There are other ways we can get in trouble, so let's impose the limit 2010-03-29 20:52:07 +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 Proper camel case for FileName.absFilename 2010-04-21 01:19:09 +00:00
buffer_funcs.h Add a global accessible function loadIfNeeded(). 2009-10-24 14:57:28 +00:00
Buffer.cpp Try to move all updateBuffer() calls to a central location. We now use 2010-07-09 14:37:00 +00:00
Buffer.h Buffer::getAutosaveFilename -> Buffer::getAutosaveFileName 2010-04-21 01:19:33 +00:00
BufferList.cpp also use TR1 code for bind and shared_ptr when compiling with GCC >= 4.4 2010-06-05 11:06:13 +00:00
BufferList.h Add a boolean to GuiWorkArea::redraw to indicate whether the metrics must be updated. The current test "lyx_view_ != guiApp->currentView() || lyx_view_->currentWorkArea() != this" is not enough, especially not if the buffer is changed and buffer->changed() is called. Moreover, there are a lot of combinations of updateMetrics() followed by buffer->changed(), these can now be replaced by one call to buffer->changed(bool). 2010-01-08 02:03:54 +00:00
BufferParams.cpp Support "Provides fontenc". 2010-06-28 17:23:48 +00:00
BufferParams.h Introduce output_sync ui for forward/reverse search 2010-05-25 11:36:00 +00:00
BufferView.cpp Try to move all updateBuffer() calls to a central location. We now use 2010-07-09 14:37:00 +00:00
BufferView.h Add an update parameter to BufferView::scrollToCursor and BufferView::scrollDocView. This parameter indicates whether a repaint is requested 2010-06-14 21:48:23 +00:00
Bullet.cpp
Bullet.h
Changes.cpp Fix bug #6672 (part 2): Add tooltips to the outliner. 2010-04-26 00:43:08 +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 fileformat change: 2010-03-31 00:46: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 fileformat change: 2010-03-31 00:46:50 +00:00
ColorSet.h
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 support: 2010-04-21 01:19:28 +00:00
Converter.h Not so soon, I guess, since that FIXME was from r6305. 2009-11-09 16:53:40 +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 Fix output of formatted counters. 2010-01-20 22:28:42 +00:00
Counters.h s/updateLabels/updateBuffer/g, per a suggestion of Abdel's. 2010-03-03 22:13:45 +00:00
Cursor.cpp Try to move all updateBuffer() calls to a central location. We now use 2010-07-09 14:37:00 +00:00
Cursor.h Try to move all updateBuffer() calls to a central location. We now use 2010-07-09 14:37:00 +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 Try to move all updateBuffer() calls to a central location. We now use 2010-07-09 14:37:00 +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 Try to move all updateBuffer() calls to a central location. We now use 2010-07-09 14:37:00 +00:00
DocIterator.cpp Fix previous commit DocIterator::clone() was completely bogus, I wonder how it even worked... 2010-01-09 15:41:07 +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 style 2010-07-02 12:38:39 +00:00
EnchantChecker.h * Spellchecker dialog: 2010-02-10 08:10:31 +00:00
Encoding.cpp Avoid unnecessary exceptions. 2010-02-19 16:31:15 +00:00
Encoding.h Avoid unnecessary exceptions. 2010-02-19 16:31:15 +00:00
ErrorList.cpp
ErrorList.h
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 Renaming: \\begin_inset OptArg to \\begin_inset Argument. 2010-06-07 21:58:27 +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 Fix LyX after r31772 (bug #6294). 2009-10-30 14:57:21 +00:00
Font.h Move some functions that only required a FontInfo parameter from Font.* 2009-10-27 16:16:15 +00:00
FontEnums.h
FontInfo.cpp A bit more cleanup, after JMarc. 2009-10-27 18:23:53 +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 Fix bug 6533: Spell-as-you-type stops checking words when they are already wrong 2010-07-05 15:15:13 +00:00
FontList.h
Format.cpp Seems boost also includes all std headers. Not including boost therefore produces errors. 2010-04-22 11:45:34 +00:00
Format.h Fix bug in Preferences>File Formats. Editor box didn't work right. 2009-11-19 23:37:16 +00:00
FuncCode.h Rename LFUN_OPTIONAL_INSERT as LFUN_ARGUMENT_INSERT. 2010-06-04 22:53:44 +00:00
FuncRequest.cpp Revert r34122, which doesn't help. 2010-04-12 16:00:10 +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 fix warnings 2010-06-08 13:38:12 +00:00
HunspellChecker.h * Spellchecker dialog: 2010-02-10 08:10:31 +00:00
IndicesList.cpp
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 Proper camel case for FileName.absFilename 2010-04-21 01:19:09 +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
KeySequence.h
Language.cpp * Add support for aspell language varieties. 2010-01-18 17:02:05 +00:00
Language.h * store the full Language in WordLangTuple. 2010-02-09 11:26:49 +00:00
LaTeX.cpp * LaTeX.cpp: understand Biblatex's polite rerun request. 2010-07-09 08:40:03 +00:00
LaTeX.h
LaTeXFeatures.cpp compile with GCC 4.4.3 2010-06-06 10:07:49 +00:00
LaTeXFeatures.h Collect the title for XHTML output, and use it. 2010-01-19 19:43:15 +00:00
Layout.cpp TR1: use std::tr1 regex with msvc10 2010-06-29 17:09:40 +00:00
Layout.h Introduce a new "RequiredArgs" tag for layouts. This functions much as 2010-06-04 21:50:08 +00:00
LayoutEnums.h add support for decimal alignment in tables 2010-06-05 07:44:44 +00:00
LayoutFile.cpp TR1: use std::tr1 regex with msvc10 2010-06-29 17:09:40 +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: take care of percent units also for glue lengths, with this change, #6091 and #6098 can be fixed 2009-07-19 20:01:39 +00:00
Length.h Length.h: revert unintended change 2009-07-17 01:01:37 +00:00
lengthcommon.cpp Length.h, lengthcommon.cpp: sort the units, the current sorting had no rule and therefore consumed a lot time until one found the desired unit. 2009-07-14 22:38:47 +00:00
Lexer.cpp Proper camel case for FileName.absFilename 2010-04-21 01:19:09 +00:00
Lexer.h Clarify and add some comments. 2010-03-29 18:00:26 +00:00
LyX.cpp correct ifdef+defined construct 2010-07-08 10:39:24 +00:00
LyX.h Coding style 2010-04-20 11:09:51 +00:00
LyXAction.cpp Whitespace. 2010-06-12 14:00:43 +00:00
LyXAction.h A couple comments. 2010-01-06 19:25:12 +00:00
lyxfind.cpp Try to move all updateBuffer() calls to a central location. We now use 2010-07-09 14:37:00 +00:00
lyxfind.h Added ALL_MANUALS scope to Advanced Find & Replace. 2010-01-09 22:49:35 +00:00
LyXRC.cpp correct ifdef+defined construct 2010-07-08 10:39:24 +00:00
LyXRC.h add support for decimal alignment in tables 2010-06-05 07:44:44 +00:00
LyXVC.cpp Proper camel case for FileName.absFilename 2010-04-21 01:19:09 +00:00
LyXVC.h Simplify VC output from InsetInfo. 2010-04-17 13:24:32 +00:00
lyxwinres.rc
main.cpp
Makefile.am add APPLESPELL orthogonal to ASPELL 2010-07-08 07:54:42 +00:00
MetricsInfo.cpp Index: src/mathed/InsetMathHull.cpp 2010-04-28 01:40:11 +00:00
MetricsInfo.h Index: src/mathed/InsetMathHull.cpp 2010-04-28 01:40:11 +00:00
ModuleList.cpp Proper camel case for FileName.absFilename 2010-04-21 01:19:09 +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 Paragraph::latex() always returned false. So remove the return value. 2010-06-15 15:49:24 +00:00
output_latex.h Introduce a new "RequiredArgs" tag for layouts. This functions much as 2010-06-04 21:50:08 +00:00
output_plaintext.cpp
output_plaintext.h
output_xhtml.cpp Next headers 2010-03-31 19:38:05 +00:00
output_xhtml.h uninitialized variable 2010-07-02 11:04:36 +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 Initialize math_flavor, and introduce an isLaTeX() flavor check. 2010-03-31 18:57:20 +00:00
OutputParams.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
paper.h - paper.h: fix comment 2010-05-18 01:34:07 +00:00
Paragraph.cpp Paragraph::latex() always returned false. So remove the return value. 2010-06-15 15:49:24 +00:00
Paragraph.h Paragraph::latex() always returned false. So remove the return value. 2010-06-15 15:49:24 +00:00
ParagraphList.h
ParagraphMetrics.cpp Rename InsetOptArg as InsetArgument. 2010-06-04 22:44:58 +00:00
ParagraphMetrics.h
ParagraphParameters.cpp
ParagraphParameters.h
ParIterator.cpp
ParIterator.h
pch.h
PDFOptions.cpp Seems boost also includes all std headers. Not including boost therefore produces errors. 2010-04-22 11:45:34 +00:00
PDFOptions.h * handle encoding in PDF options gracefully. 2010-03-01 17:39:41 +00:00
PrinterParams.cpp
PrinterParams.h
Row.cpp
Row.h
rowpainter.cpp Rename anchor() to normalAnchor() as the anchor() function was already returning a normalized anchor in stead of the real one. 2010-04-15 17:49:15 +00:00
rowpainter.h
Server.cpp Using "using namespace std" with msvc10 makes also std::tr1::bind visible and generates conflicts with boost::bind. 2010-04-22 11:16:58 +00:00
Server.h Transfer LyXfunc code to GuiApplication::dispatch() and getStatus(). Now 2010-02-09 16:11:13 +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 Remember navigate back bookmark through sessions 2010-06-15 13:44:20 +00:00
Session.h Fix bug #5131: Remember last file active. 2009-05-05 12:47:44 +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 * Spellchecker dialog: 2010-02-10 08:10:31 +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 Try to move all updateBuffer() calls to a central location. We now use 2010-07-09 14:37:00 +00:00
Text3.cpp Try to move all updateBuffer() calls to a central location. We now use 2010-07-09 14:37:00 +00:00
Text.cpp Try to move all updateBuffer() calls to a central location. We now use 2010-07-09 14:37:00 +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 Introduce a new "RequiredArgs" tag for layouts. This functions much as 2010-06-04 21:50:08 +00:00
TextClass.h A final bit of cleanup with the TextClass reading functions. 2010-04-18 21:06:38 +00:00
TextMetrics.cpp Try to move all updateBuffer() calls to a central location. We now use 2010-07-09 14:37:00 +00:00
TextMetrics.h Remove unused function. 2010-03-11 19:48:49 +00:00
Thesaurus.cpp more correct check of thesaurus file format 2010-07-05 09:20:45 +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 remove unused includes of convert.h 2009-05-21 21:02:14 +00:00
Trans.h
Undo.cpp Try to move all updateBuffer() calls to a central location. We now use 2010-07-09 14:37:00 +00:00
Undo.h
update_flags.h
VCBackend.cpp TR1: use std::tr1 regex with msvc10 2010-06-29 17:09:40 +00:00
VCBackend.h Allow revision to be string. 2010-02-15 07:10:59 +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 * WordLangTuple.h: better initialization. 2010-02-09 11:52:06 +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