lyx_mirror/src/mathed
Jean-Marc Lasgouttes a756403301 "Performance" fixes suggested by cppcheck
While cppcheck did not turn out any suspicious error messages, using
the "performance" flag highlighted several nitpicks in three categories
 * do not use it++ for iterators, ++it is better
 * do not use size() to test for emptyness, empty() is here
 * do not use "const T" as a function parameter, "const & T" is better

I doubt that any of these is a real performance problem, but the code is cleaner anyway.
2012-05-28 22:42:44 +02:00
..
BUGS
CMakeLists.txt cmake: move CMakeLists.txt into source dir (multiple steps) 2011-05-10 17:44:41 +00:00
CommandInset.cpp remove unused include of FuncRequest 2010-08-24 03:07:09 +00:00
CommandInset.h
InsetFormulaMacro.cpp Integrate texrow with otexstream in order to perform automatic line 2011-02-10 20:02:48 +00:00
InsetFormulaMacro.h Introduce a wrapper class for odocstream to help ensuring that no 2011-01-29 02:41:13 +00:00
InsetMath.cpp This is intended to be a pure renaming of the Inset::name() routine, 2011-03-28 22:33:04 +00:00
InsetMath.h This is intended to be a pure renaming of the Inset::name() routine, 2011-03-28 22:33:04 +00:00
InsetMathAMSArray.cpp Make members of FuncRequest private, per the FIXME there. Again, this is 2010-04-09 19:00:42 +00:00
InsetMathAMSArray.h Comment. 2010-07-29 14:29:54 +00:00
InsetMathArray.cpp "Performance" fixes suggested by cppcheck 2012-05-28 22:42:44 +02:00
InsetMathArray.h
InsetMathBig.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathBig.h InsetMathBig via HTML. 2010-03-30 02:04:07 +00:00
InsetMathBoldSymbol.cpp Bold symbols via HTML. 2010-03-30 02:05:49 +00:00
InsetMathBoldSymbol.h Bold symbols via HTML. 2010-03-30 02:05:49 +00:00
InsetMathBox.cpp Move metrics computation close to drawing for drawStrRed/Black 2012-05-03 16:35:45 +02:00
InsetMathBox.h HTML for math boxes. 2010-03-30 02:37:05 +00:00
InsetMathBrace.cpp Fix bug #5167: Correctly paint special characters in InsetMathFont 2012-05-03 16:36:19 +02:00
InsetMathBrace.h HTML for InsetMathBrace. 2010-03-30 02:40:32 +00:00
InsetMathCancel.cpp Convert InsetMathCancel.* to UTF-8. 2012-02-06 22:38:46 +00:00
InsetMathCancel.h Convert InsetMathCancel.* to UTF-8. 2012-02-06 22:38:46 +00:00
InsetMathCancelto.cpp add support for the package cancel in math (fixes #6819); fileformat change only for the preamble handling 2012-01-23 01:49:49 +00:00
InsetMathCancelto.h add support for the package cancel in math (fixes #6819); fileformat change only for the preamble handling 2012-01-23 01:49:49 +00:00
InsetMathCases.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathCases.h Cases for HTML. 2010-03-30 02:57:05 +00:00
InsetMathChar.cpp Fix bug #8078: Assertions in xhtml output on Windows 2012-04-30 12:58:32 +02:00
InsetMathChar.h
InsetMathColor.cpp
InsetMathColor.h HTML for comments and colors. 2010-03-30 17:24:22 +00:00
InsetMathComment.cpp Fix bug #6759. Thanks to Vincent. 2010-06-09 17:02:55 +00:00
InsetMathComment.h HTML for comments and colors. 2010-03-30 17:24:22 +00:00
InsetMathDecoration.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathDecoration.h Fix bug #4565: Using keyboard shortcuts to write Greek letters with an underbar produces LaTeX errors. 2010-03-31 01:09:38 +00:00
InsetMathDelim.cpp Do the obvious thing with delimiters. 2010-03-30 22:07:05 +00:00
InsetMathDelim.h Do the obvious thing with delimiters. 2010-03-30 22:07:05 +00:00
InsetMathDiagram.cpp Add support for feyn package and Diagram inset. 2010-09-19 22:12:06 +00:00
InsetMathDiagram.h Remove unimplemented function declaration. 2011-02-13 10:02:00 +00:00
InsetMathDiff.cpp
InsetMathDiff.h
InsetMathDots.cpp HTML for dots. 2010-03-30 22:14:00 +00:00
InsetMathDots.h HTML for dots. 2010-03-30 22:14:00 +00:00
InsetMathEnsureMath.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathEnsureMath.h The mode setting stuff wasn't working properly for XHTML, so this patch 2011-04-01 22:34:40 +00:00
InsetMathEnv.cpp
InsetMathEnv.h
InsetMathExFunc.cpp Move metrics computation close to drawing for drawStrRed/Black 2012-05-03 16:35:45 +02:00
InsetMathExFunc.h Revert r33989. We do need this. 2010-03-31 21:02:10 +00:00
InsetMathExInt.cpp Integrals via HTML. 2010-03-30 22:51:02 +00:00
InsetMathExInt.h Integrals via HTML. 2010-03-30 22:51:02 +00:00
InsetMathFont.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathFont.h HTML for math fonts. 2010-03-31 18:57:47 +00:00
InsetMathFontOld.cpp Better fix for bug #6851. 2010-08-14 17:57:06 +00:00
InsetMathFontOld.h Better fix for bug #6851. 2010-08-14 17:57:06 +00:00
InsetMathFrac.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathFrac.h HTML for binomials. 2010-03-31 21:33:33 +00:00
InsetMathGrid.cpp Simpler fix for undo support when entering \hline in an equation 2012-04-17 22:21:45 +02:00
InsetMathGrid.h Fix bug #6936. 2012-03-25 11:16:32 +02:00
InsetMathHull.cpp First step towards a more generic package off/auto/on handling: 2012-01-03 20:51:07 +00:00
InsetMathHull.h Change the type of the context menu name to string 2011-10-29 14:48:55 +00:00
InsetMathKern.cpp
InsetMathKern.h Ignore kerning in HTML. 2010-03-31 18:59:04 +00:00
InsetMathLefteqn.cpp
InsetMathLefteqn.h
InsetMathLim.cpp
InsetMathLim.h
InsetMathMatrix.cpp Matrix output via HTML. I have to say, this one took some work. 2010-03-31 19:59:09 +00:00
InsetMathMatrix.h Change semantics of two-arg htmlize to make more consistent with other 2010-03-31 19:17:06 +00:00
InsetMathMBox.cpp The mode setting stuff wasn't working properly for XHTML, so this patch 2011-04-01 22:34:40 +00:00
InsetMathMBox.h compile. 2011-02-10 22:57:41 +00:00
InsetMathNest.cpp "Performance" fixes suggested by cppcheck 2012-05-28 22:42:44 +02:00
InsetMathNest.h Fix bug #6936. 2012-03-25 11:16:32 +02:00
InsetMathNumber.cpp The mode setting stuff wasn't working properly for XHTML, so this patch 2011-04-01 22:34:40 +00:00
InsetMathNumber.h HTML for numbers. 2010-03-30 01:23:10 +00:00
InsetMathOverset.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathOverset.h HTML for overset. 2010-03-31 20:04:39 +00:00
InsetMathPar.cpp
InsetMathPar.h
InsetMathPhantom.cpp Fix bug #5029: Support \smash, \mathclap, \mathllap and \mathrlap. 2012-01-08 12:34:12 +00:00
InsetMathPhantom.h Fix bug #5029: Support \smash, \mathclap, \mathllap and \mathrlap. 2012-01-08 12:34:12 +00:00
InsetMathRef.cpp Try to finally fix #6930. All the paths that did not come from context 2010-12-08 09:24:04 +00:00
InsetMathRef.h Remove the now unused parameter of createDialogStr(); 2010-10-29 00:42:40 +00:00
InsetMathRoot.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathRoot.h HTML for roots. 2010-03-31 20:31:04 +00:00
InsetMathScript.cpp * InsetMathScript::doDispatch : properly record undo information before 2012-02-02 13:39:05 +00:00
InsetMathScript.h * InsetMathScript::doDispatch : properly record undo information before 2012-02-02 13:39:05 +00:00
InsetMathSize.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathSize.h HTML for math sizes. 2010-03-31 20:37:23 +00:00
InsetMathSpace.cpp Change the type of the context menu name to string 2011-10-29 14:48:55 +00:00
InsetMathSpace.h Change the type of the context menu name to string 2011-10-29 14:48:55 +00:00
InsetMathSpecialChar.cpp Fix some bugs related to spaces in math: 2011-10-23 20:19:49 +00:00
InsetMathSpecialChar.h Fix compilation for platforms besides Windows 2010-10-31 14:39:50 +00:00
InsetMathSplit.cpp Load mathtools.sty automatically (bug #7949) and make lyx2lyx reversion 2012-01-05 20:53:48 +00:00
InsetMathSplit.h HTML for InsetMathSplit. 2010-03-31 20:50:29 +00:00
InsetMathSqrt.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathSqrt.h HTML for roots. 2010-03-31 20:31:04 +00:00
InsetMathStackrel.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathStackrel.h HTML for stackrel. 2010-03-31 20:54:27 +00:00
InsetMathString.cpp Extend the notermination flag to math as well. 2012-03-25 15:57:38 +02:00
InsetMathString.h
InsetMathSubstack.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathSubstack.h Substack support for XHTML. 2011-04-01 23:41:17 +00:00
InsetMathSymbol.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathSymbol.h Integrals via HTML. 2010-03-30 22:51:02 +00:00
InsetMathTabular.cpp
InsetMathTabular.h
InsetMathUnderset.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathUnderset.h HTML for underset. 2010-03-31 20:12:52 +00:00
InsetMathUnknown.cpp Move metrics computation close to drawing for drawStrRed/Black 2012-05-03 16:35:45 +02:00
InsetMathUnknown.h MathML and HTML definitely can't handle MathUnknown!! 2010-07-29 15:48:01 +00:00
InsetMathXArrow.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathXArrow.h HTML for xarrows. 2010-07-29 15:44:17 +00:00
InsetMathXYArrow.cpp MathML and HTML can't handle XYArrow. 2010-07-29 15:46:26 +00:00
InsetMathXYArrow.h Remove unimplemented function declaration. 2011-02-13 10:02:00 +00:00
InsetMathXYMatrix.cpp MathML and HTML definitely can't handle XYMatrix. 2010-07-29 15:38:01 +00:00
InsetMathXYMatrix.h Remove unimplemented function declaration. 2011-02-13 10:02:00 +00:00
MacroTable.cpp
MacroTable.h
MathAtom.cpp Remove some unnecessary static_casts and add two FIXMEs about casts that don't look safe. 2010-10-26 16:45:21 +00:00
MathAtom.h Remove some unnecessary static_casts and add two FIXMEs about casts that don't look safe. 2010-10-26 16:45:21 +00:00
MathAutoCorrect.cpp
MathAutoCorrect.h
MathCompletionList.h
MathData.cpp Fix bug #5167: Correctly paint special characters in InsetMathFont 2012-05-03 16:36:19 +02:00
MathData.h Initial work to fix bug involving embedded macros and 2011-05-07 11:57:08 +00:00
MathExtern.cpp The mode setting stuff wasn't working properly for XHTML, so this patch 2011-04-01 22:34:40 +00:00
MathExtern.h
MathFactory.cpp add support for the package cancel in math (fixes #6819); fileformat change only for the preamble handling 2012-01-23 01:49:49 +00:00
MathFactory.h
MathGridInfo.h
MathMacro.cpp Initial work to fix bug involving embedded macros and 2011-05-07 11:57:08 +00:00
MathMacro.h Initial work to fix bug involving embedded macros and 2011-05-07 11:57:08 +00:00
MathMacroArgument.cpp Move metrics computation close to drawing for drawStrRed/Black 2012-05-03 16:35:45 +02:00
MathMacroArgument.h
MathMacroTemplate.cpp Change the type of the context menu name to string 2011-10-29 14:48:55 +00:00
MathMacroTemplate.h Change the type of the context menu name to string 2011-10-29 14:48:55 +00:00
MathParser_flags.h
MathParser.cpp Do not swallow math comments in tex2lyx. 2012-05-06 16:48:44 +02:00
MathParser.h
MathStream.cpp The mode setting stuff wasn't working properly for XHTML, so this patch 2011-04-01 22:34:40 +00:00
MathStream.h The mode setting stuff wasn't working properly for XHTML, so this patch 2011-04-01 22:34:40 +00:00
MathSupport.cpp Fix bug #5167: Correctly paint special characters in InsetMathFont 2012-05-03 16:36:19 +02:00
MathSupport.h Fix compilation 2012-05-03 17:58:02 +02:00
README
ReplaceData.h
texify
TextPainter.cpp
TextPainter.h

Inset 'Xyz' is implemented by 'MathXyzInset' in 'math_xyzinset.[hC]'


Inset hierarchy:

                                   MathInset
                                (abstract base)

                         /            |               \

              Dim                  Char               Symbol, Space, ...
         (thing that need       (for things formerly
          the width_/ascent_     known as characters)
          /descent_ cache)

          /             \

       Nest              Dots,  Func, ...
  (for thing with
   nested content)

        |         \

      Grid        Decoration   Delim   Frac  Macro  Root  Script  Sqrt

      /   \

 Array    Hull
         (base for eqnarray/align/...)