]> git.lyx.org Git - features.git/commit
Audit all the LASSERT calls, and try to do something sensible at
authorRichard Heck <rgheck@lyx.org>
Thu, 25 Apr 2013 21:27:10 +0000 (17:27 -0400)
committerRichard Heck <rgheck@lyx.org>
Thu, 25 Apr 2013 21:27:10 +0000 (17:27 -0400)
commit1b1f8dd235ba8e168348cd23c824063f2595a0c5
tree1fce6a35b6111e93a58682da333b67e9f542aff8
parent62df59cde4847512698e86adb073d526d39c05e1
Audit all the LASSERT calls, and try to do something sensible at
each failure.

There are several places I was not sure what to do. These are marked
by comments beginning "LASSERT:" so they can be found easily. At the
moment, they are at:

Author.cpp:105: // LASSERT: What should we do here?
Author.cpp:121: // LASSERT: What should we do here?
Buffer.cpp:4525:        // LASSERT: Is it safe to continue here, or should we just return?
Cursor.cpp:345:         // LASSERT: Is it safe to continue here, or should we return?
Cursor.cpp:403:         // LASSERT: Is it safe to continue here, or should we return?
Cursor.cpp:1143:                // LASSERT: There have been several bugs around this code, that seem
CursorSlice.cpp:83:     // LASSERT: This should only ever be called from an InsetMath.
CursorSlice.cpp:92:     // LASSERT: This should only ever be called from an InsetMath.
LayoutFile.cpp:303:                     // LASSERT: Why would this fail?
Text.cpp:995:           // LASSERT: Is it safe to continue here?
90 files changed:
src/AspellChecker.cpp
src/Author.cpp
src/BiblioInfo.cpp
src/Buffer.cpp
src/BufferList.cpp
src/BufferParams.cpp
src/BufferView.cpp
src/Bullet.cpp
src/Color.cpp
src/Compare.cpp
src/ConverterCache.cpp
src/CoordCache.cpp
src/Counters.cpp
src/Cursor.cpp
src/CursorSlice.cpp
src/CutAndPaste.cpp
src/DocIterator.cpp
src/Font.cpp
src/HSpace.cpp
src/LayoutFile.cpp
src/LyX.cpp
src/LyXAction.cpp
src/Paragraph.cpp
src/ParagraphMetrics.cpp
src/PrinterParams.cpp
src/Text.cpp
src/Text2.cpp
src/Text3.cpp
src/TextClass.cpp
src/TextMetrics.cpp
src/TocBackend.cpp
src/Undo.cpp
src/VSpace.cpp
src/WordList.cpp
src/frontends/qt4/Dialog.cpp
src/frontends/qt4/FindAndReplace.cpp
src/frontends/qt4/GuiApplication.cpp
src/frontends/qt4/GuiClipboard.cpp
src/frontends/qt4/GuiCompleter.cpp
src/frontends/qt4/GuiFontLoader.cpp
src/frontends/qt4/GuiFontMetrics.cpp
src/frontends/qt4/GuiIdListModel.cpp
src/frontends/qt4/GuiKeySymbol.cpp
src/frontends/qt4/GuiPainter.cpp
src/frontends/qt4/GuiView.cpp
src/frontends/qt4/GuiViewSource.cpp
src/frontends/qt4/GuiWorkArea.cpp
src/frontends/qt4/LayoutBox.cpp
src/frontends/qt4/Menus.cpp
src/graphics/GraphicsCacheItem.cpp
src/graphics/GraphicsConverter.cpp
src/insets/ExternalTemplate.cpp
src/insets/Inset.cpp
src/insets/InsetCommandParams.cpp
src/insets/InsetExternal.cpp
src/insets/InsetInclude.cpp
src/insets/InsetSpace.cpp
src/insets/InsetTOC.cpp
src/insets/InsetTabular.cpp
src/insets/InsetText.cpp
src/insets/InsetVSpace.cpp
src/insets/RenderPreview.cpp
src/lyxfind.cpp
src/mathed/InsetMath.cpp
src/mathed/InsetMathGrid.cpp
src/mathed/InsetMathHull.cpp
src/mathed/InsetMathNest.cpp
src/mathed/InsetMathScript.cpp
src/mathed/InsetMathSpace.cpp
src/mathed/InsetMathSpecialChar.cpp
src/mathed/InsetMathString.cpp
src/mathed/MacroTable.cpp
src/mathed/MathData.cpp
src/mathed/MathMacro.cpp
src/mathed/MathMacroTemplate.cpp
src/output_docbook.cpp
src/output_latex.cpp
src/output_xhtml.cpp
src/rowpainter.cpp
src/support/FileName.cpp
src/support/Messages.cpp
src/support/Package.cpp
src/support/Timeout.cpp
src/support/Translator.h
src/support/docstring.cpp
src/support/lstrings.cpp
src/support/os_cygwin.cpp
src/support/os_unix.cpp
src/support/os_win32.cpp
src/support/userinfo.cpp