lyx_mirror/src/insets
Richard Heck 4b1777d2fa Inset::addToToc() can and should be const. It wasn't, I take it, because
of things like:
  pit.push_back(CursorSlice(*this));
which I've had to change to:
  pit.push_back(CursorSlice(const_cast<InsetCaption &>(*this)));
and similarly in a few other places.

If anyone thinks we should instead have:
  explicit CursorSlice(Inset const &);
then we can also do that.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37192 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-12 22:23:27 +00:00
..
ExternalSupport.cpp Revert r36654. 2010-12-04 23:01:59 +00:00
ExternalSupport.h
ExternalTemplate.cpp fix warning 2010-05-10 12:34:34 +00:00
ExternalTemplate.h
ExternalTransforms.cpp TR1: use std::tr1 regex with msvc10 2010-06-29 17:09:40 +00:00
ExternalTransforms.h
Inset.cpp Finish disentangling tocString(). We introduce a new method, forToc(), 2010-12-20 21:55:09 +00:00
Inset.h Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetArgument.cpp Renaming: \\begin_inset OptArg to \\begin_inset Argument. 2010-06-07 21:58:27 +00:00
InsetArgument.h Renaming: \\begin_inset OptArg to \\begin_inset Argument. 2010-06-07 21:58:27 +00:00
InsetBibitem.cpp Try to finally fix #6930. All the paths that did not come from context 2010-12-08 09:24:04 +00:00
InsetBibitem.h Simplify some of the bibliography update code. There is really no reason 2010-12-03 20:08:04 +00:00
InsetBibtex.cpp Try to finally fix #6930. All the paths that did not come from context 2010-12-08 09:24:04 +00:00
InsetBibtex.h Revert r36696: We can't collect BibTeX information during the 2010-12-04 03:15:53 +00:00
InsetBox.cpp Try to finally fix #6930. All the paths that did not come from context 2010-12-08 09:24:04 +00:00
InsetBox.h Rename InsetXXX::contextMenu to InsetXXX::contextMenuName. Now this function doesn't need all the parameters and we split the functionality of choosing which context menu to return, from the functionality of supplying the name for the Inset itself. Now, the InsetText context menu is returned for InsetCollapsables when the button is not hit by the mouse. There is no (intended) change in functionality for insets without a button, collapsed insets. This fixes partly bug #6642. A fix for InsetTabular and for insets with no button will follow. 2010-11-29 21:27:25 +00:00
InsetBranch.cpp Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetBranch.h Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetCaption.cpp Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetCaption.h Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetCitation.cpp Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetCitation.h Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetCode.h fix compiler warnings in pedantic mode: remove trailing comma after last enum member 2010-12-17 19:56:51 +00:00
InsetCollapsable.cpp Trivial cleanup. 2010-12-14 23:18:48 +00:00
InsetCollapsable.h Rename InsetXXX::contextMenu to InsetXXX::contextMenuName. Now this function doesn't need all the parameters and we split the functionality of choosing which context menu to return, from the functionality of supplying the name for the Inset itself. Now, the InsetText context menu is returned for InsetCollapsables when the button is not hit by the mouse. There is no (intended) change in functionality for insets without a button, collapsed insets. This fixes partly bug #6642. A fix for InsetTabular and for insets with no button will follow. 2010-11-29 21:27:25 +00:00
InsetCommand.cpp * InsetCommand.cpp (decodeInsetParam): 2011-01-04 11:32:04 +00:00
InsetCommand.h Rename InsetXXX::contextMenu to InsetXXX::contextMenuName. Now this function doesn't need all the parameters and we split the functionality of choosing which context menu to return, from the functionality of supplying the name for the Inset itself. Now, the InsetText context menu is returned for InsetCollapsables when the button is not hit by the mouse. There is no (intended) change in functionality for insets without a button, collapsed insets. This fixes partly bug #6642. A fix for InsetTabular and for insets with no button will follow. 2010-11-29 21:27:25 +00:00
InsetCommandParams.cpp Make this a switch. 2010-10-21 18:01:06 +00:00
InsetCommandParams.h Fix bug #6962. I hadn't see how these were being escaped. 2010-10-21 17:56:00 +00:00
InsetERT.cpp Try to finally fix #6930. All the paths that did not come from context 2010-12-08 09:24:04 +00:00
InsetERT.h Rename InsetXXX::contextMenu to InsetXXX::contextMenuName. Now this function doesn't need all the parameters and we split the functionality of choosing which context menu to return, from the functionality of supplying the name for the Inset itself. Now, the InsetText context menu is returned for InsetCollapsables when the button is not hit by the mouse. There is no (intended) change in functionality for insets without a button, collapsed insets. This fixes partly bug #6642. A fix for InsetTabular and for insets with no button will follow. 2010-11-29 21:27:25 +00:00
InsetExternal.cpp Try to finally fix #6930. All the paths that did not come from context 2010-12-08 09:24:04 +00:00
InsetExternal.h Rename InsetXXX::contextMenu to InsetXXX::contextMenuName. Now this function doesn't need all the parameters and we split the functionality of choosing which context menu to return, from the functionality of supplying the name for the Inset itself. Now, the InsetText context menu is returned for InsetCollapsables when the button is not hit by the mouse. There is no (intended) change in functionality for insets without a button, collapsed insets. This fixes partly bug #6642. A fix for InsetTabular and for insets with no button will follow. 2010-11-29 21:27:25 +00:00
InsetFlex.cpp We need to do the sanity check here, too, as we do in 2010-11-26 16:45:58 +00:00
InsetFlex.h Customize getLayout for InsetFlex and change how we report name() back 2010-10-12 15:37:02 +00:00
InsetFloat.cpp Try to finally fix #6930. All the paths that did not come from context 2010-12-08 09:24:04 +00:00
InsetFloat.h s/updateLabels/updateBuffer/g, per a suggestion of Abdel's. 2010-03-03 22:13:45 +00:00
InsetFloatList.cpp Change the escaping mechanism for XHTML output and so allow a fix for 2010-11-24 15:27:36 +00:00
InsetFloatList.h Organize header files in src\insets. 2010-10-27 21:35:13 +00:00
InsetFoot.cpp Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetFoot.h Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetFootlike.cpp Next headers 2010-03-31 19:38:05 +00:00
InsetFootlike.h
InsetGraphics.cpp Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetGraphics.h Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetGraphicsParams.cpp DocFileName.outputFilename -> DocFileName.outputFileName 2010-04-21 01:19:25 +00:00
InsetGraphicsParams.h
InsetHyperlink.cpp Finish disentangling tocString(). We introduce a new method, forToc(), 2010-12-20 21:55:09 +00:00
InsetHyperlink.h Finish disentangling tocString(). We introduce a new method, forToc(), 2010-12-20 21:55:09 +00:00
InsetInclude.cpp Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetInclude.h Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetIndex.cpp Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetIndex.h Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetInfo.cpp Fix crash in lyx -e latex lib/doc/Shortcuts.lyx: theApp() is 0 in batch mode. 2011-01-06 18:40:39 +00:00
InsetInfo.h fix compiler warnings in pedantic mode: remove trailing comma after last enum member 2010-12-17 19:56:51 +00:00
InsetLabel.cpp Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetLabel.h Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetLayout.cpp Add ResetsFont tag to InsetLayout, toward fixing bug #5657. 2010-10-13 15:54:39 +00:00
InsetLayout.h Add ResetsFont tag to InsetLayout, toward fixing bug #5657. 2010-10-13 15:54:39 +00:00
InsetLine.cpp Try to finally fix #6930. All the paths that did not come from context 2010-12-08 09:24:04 +00:00
InsetLine.h InsetLine.h revert changes made in r35417 2010-09-17 23:12:19 +00:00
InsetListings.cpp Try to finally fix #6930. All the paths that did not come from context 2010-12-08 09:24:04 +00:00
InsetListings.h Rename InsetXXX::contextMenu to InsetXXX::contextMenuName. Now this function doesn't need all the parameters and we split the functionality of choosing which context menu to return, from the functionality of supplying the name for the Inset itself. Now, the InsetText context menu is returned for InsetCollapsables when the button is not hit by the mouse. There is no (intended) change in functionality for insets without a button, collapsed insets. This fixes partly bug #6642. A fix for InsetTabular and for insets with no button will follow. 2010-11-29 21:27:25 +00:00
InsetListingsParams.cpp fix compiler warnings in pedantic mode: remove trailing comma after last enum member 2010-12-17 19:56:51 +00:00
InsetListingsParams.h More include frenzy. 2010-10-31 01:26:50 +00:00
InsetMarginal.cpp Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetMarginal.h Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetNewline.cpp Rename InsetXXX::contextMenu to InsetXXX::contextMenuName. Now this function doesn't need all the parameters and we split the functionality of choosing which context menu to return, from the functionality of supplying the name for the Inset itself. Now, the InsetText context menu is returned for InsetCollapsables when the button is not hit by the mouse. There is no (intended) change in functionality for insets without a button, collapsed insets. This fixes partly bug #6642. A fix for InsetTabular and for insets with no button will follow. 2010-11-29 21:27:25 +00:00
InsetNewline.h Rename InsetXXX::contextMenu to InsetXXX::contextMenuName. Now this function doesn't need all the parameters and we split the functionality of choosing which context menu to return, from the functionality of supplying the name for the Inset itself. Now, the InsetText context menu is returned for InsetCollapsables when the button is not hit by the mouse. There is no (intended) change in functionality for insets without a button, collapsed insets. This fixes partly bug #6642. A fix for InsetTabular and for insets with no button will follow. 2010-11-29 21:27:25 +00:00
InsetNewpage.cpp Rename InsetXXX::contextMenu to InsetXXX::contextMenuName. Now this function doesn't need all the parameters and we split the functionality of choosing which context menu to return, from the functionality of supplying the name for the Inset itself. Now, the InsetText context menu is returned for InsetCollapsables when the button is not hit by the mouse. There is no (intended) change in functionality for insets without a button, collapsed insets. This fixes partly bug #6642. A fix for InsetTabular and for insets with no button will follow. 2010-11-29 21:27:25 +00:00
InsetNewpage.h Rename InsetXXX::contextMenu to InsetXXX::contextMenuName. Now this function doesn't need all the parameters and we split the functionality of choosing which context menu to return, from the functionality of supplying the name for the Inset itself. Now, the InsetText context menu is returned for InsetCollapsables when the button is not hit by the mouse. There is no (intended) change in functionality for insets without a button, collapsed insets. This fixes partly bug #6642. A fix for InsetTabular and for insets with no button will follow. 2010-11-29 21:27:25 +00:00
InsetNomencl.cpp Add comment. 2010-12-20 22:29:41 +00:00
InsetNomencl.h Rename InsetXXX::contextMenu to InsetXXX::contextMenuName. Now this function doesn't need all the parameters and we split the functionality of choosing which context menu to return, from the functionality of supplying the name for the Inset itself. Now, the InsetText context menu is returned for InsetCollapsables when the button is not hit by the mouse. There is no (intended) change in functionality for insets without a button, collapsed insets. This fixes partly bug #6642. A fix for InsetTabular and for insets with no button will follow. 2010-11-29 21:27:25 +00:00
InsetNote.cpp Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetNote.h Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetPhantom.cpp Fix bug #7130: Painting problem with closed Phantom Inset. The label is now updated when the type is changed, and the arrows are correctly painted. 2010-12-02 18:00:33 +00:00
InsetPhantom.h Rename InsetXXX::contextMenu to InsetXXX::contextMenuName. Now this function doesn't need all the parameters and we split the functionality of choosing which context menu to return, from the functionality of supplying the name for the Inset itself. Now, the InsetText context menu is returned for InsetCollapsables when the button is not hit by the mouse. There is no (intended) change in functionality for insets without a button, collapsed insets. This fixes partly bug #6642. A fix for InsetTabular and for insets with no button will follow. 2010-11-29 21:27:25 +00:00
InsetPreview.cpp set eol-style 2010-11-18 19:50:29 +00:00
InsetPreview.h Rename InsetXXX::contextMenu to InsetXXX::contextMenuName. Now this function doesn't need all the parameters and we split the functionality of choosing which context menu to return, from the functionality of supplying the name for the Inset itself. Now, the InsetText context menu is returned for InsetCollapsables when the button is not hit by the mouse. There is no (intended) change in functionality for insets without a button, collapsed insets. This fixes partly bug #6642. A fix for InsetTabular and for insets with no button will follow. 2010-11-29 21:27:25 +00:00
InsetQuotes.cpp Finish disentangling tocString(). We introduce a new method, forToc(), 2010-12-20 21:55:09 +00:00
InsetQuotes.h Finish disentangling tocString(). We introduce a new method, forToc(), 2010-12-20 21:55:09 +00:00
InsetRef.cpp Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetRef.h Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetScript.cpp Rename InsetXXX::contextMenu to InsetXXX::contextMenuName. Now this function doesn't need all the parameters and we split the functionality of choosing which context menu to return, from the functionality of supplying the name for the Inset itself. Now, the InsetText context menu is returned for InsetCollapsables when the button is not hit by the mouse. There is no (intended) change in functionality for insets without a button, collapsed insets. This fixes partly bug #6642. A fix for InsetTabular and for insets with no button will follow. 2010-11-29 21:27:25 +00:00
InsetScript.h Rename InsetXXX::contextMenu to InsetXXX::contextMenuName. Now this function doesn't need all the parameters and we split the functionality of choosing which context menu to return, from the functionality of supplying the name for the Inset itself. Now, the InsetText context menu is returned for InsetCollapsables when the button is not hit by the mouse. There is no (intended) change in functionality for insets without a button, collapsed insets. This fixes partly bug #6642. A fix for InsetTabular and for insets with no button will follow. 2010-11-29 21:27:25 +00:00
InsetSpace.cpp Fix bug #7198: Assertion when calling inset-modify for a InsetSpace with a different argument than "space" 2010-12-29 06:00:22 +00:00
InsetSpace.h Finish disentangling tocString(). We introduce a new method, forToc(), 2010-12-20 21:55:09 +00:00
InsetSpecialChar.cpp Finish disentangling tocString(). We introduce a new method, forToc(), 2010-12-20 21:55:09 +00:00
InsetSpecialChar.h Finish disentangling tocString(). We introduce a new method, forToc(), 2010-12-20 21:55:09 +00:00
InsetTabular.cpp Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetTabular.h Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetText.cpp Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetText.h Inset::addToToc() can and should be const. It wasn't, I take it, because 2011-01-12 22:23:27 +00:00
InsetTOC.cpp Fix bug #7176: Clicking TOC doesn't bring up outline 2010-12-17 13:12:43 +00:00
InsetTOC.h Fix bug #7176: Clicking TOC doesn't bring up outline 2010-12-17 13:12:43 +00:00
InsetVSpace.cpp Rename InsetXXX::contextMenu to InsetXXX::contextMenuName. Now this function doesn't need all the parameters and we split the functionality of choosing which context menu to return, from the functionality of supplying the name for the Inset itself. Now, the InsetText context menu is returned for InsetCollapsables when the button is not hit by the mouse. There is no (intended) change in functionality for insets without a button, collapsed insets. This fixes partly bug #6642. A fix for InsetTabular and for insets with no button will follow. 2010-11-29 21:27:25 +00:00
InsetVSpace.h Rename InsetXXX::contextMenu to InsetXXX::contextMenuName. Now this function doesn't need all the parameters and we split the functionality of choosing which context menu to return, from the functionality of supplying the name for the Inset itself. Now, the InsetText context menu is returned for InsetCollapsables when the button is not hit by the mouse. There is no (intended) change in functionality for insets without a button, collapsed insets. This fixes partly bug #6642. A fix for InsetTabular and for insets with no button will follow. 2010-11-29 21:27:25 +00:00
InsetWrap.cpp Try to finally fix #6930. All the paths that did not come from context 2010-12-08 09:24:04 +00:00
InsetWrap.h s/updateLabels/updateBuffer/g, per a suggestion of Abdel's. 2010-03-03 22:13:45 +00:00
RenderBase.h
RenderButton.cpp
RenderButton.h
RenderGraphic.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
RenderGraphic.h
RenderPreview.cpp Allow images to be export even when LyXRC says no previews. 2010-07-29 15:17:58 +00:00
RenderPreview.h Allow images to be export even when LyXRC says no previews. 2010-07-29 15:17:58 +00:00