lyx_mirror/src/mathed
Georg Baum f09a9fe2e6 Remove unsafe method FileName::tempName()
FileName::tempName() created a new temp file name by using qt to create a
temporary file with a unique name, and then deleting that file and returning
the name. This was unsafe, since other processes or even other threads of the
running LyX could create files with the same name between deletion and then
using the temp name.
This is fixed by using the TempFile class instead. As a side effect, a few
cases where the temp files were not deleted after usage were fixed as well.
The only place that is still unsafe is createTmpDir().
2014-06-09 13:05:50 +02:00
..
BUGS
CMakeLists.txt Years forgotten files. 2013-05-23 22:17:20 -07:00
CommandInset.cpp Use empty() to check empty and non-empty'ness not size() 2012-10-27 01:25:38 +02:00
CommandInset.h
InsetMath.cpp Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
InsetMath.h More llvm/clang warnings 2013-05-02 18:27:32 +02:00
InsetMathAMSArray.cpp
InsetMathAMSArray.h
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 Remove some header leftovers based on Scott's script hints. 2013-05-02 00:30:16 -07:00
InsetMathBoldSymbol.cpp
InsetMathBoldSymbol.h
InsetMathBox.cpp Use empty() to check empty and non-empty'ness not size() 2012-10-27 01:25:38 +02:00
InsetMathBox.h Remove some header leftovers based on Scott's script hints. 2013-05-02 00:30:16 -07:00
InsetMathBrace.cpp std::min/max are defined in <algorithm> 2014-06-07 08:17:20 +02:00
InsetMathBrace.h
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
InsetMathChar.cpp Encodings: Use BufferEncodings where needed 2013-09-29 15:26:22 +02:00
InsetMathChar.h
InsetMathColor.cpp
InsetMathColor.h Header cleanup cont. 2013-05-23 22:12:29 -07:00
InsetMathComment.cpp
InsetMathComment.h
InsetMathDecoration.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathDecoration.h
InsetMathDelim.cpp Full delimiter support for llbracket and rrbracket 2012-12-16 15:49:42 +01:00
InsetMathDelim.h Remove some header leftovers based on Scott's script hints. 2013-05-02 00:30:16 -07:00
InsetMathDiagram.cpp
InsetMathDiagram.h Header cleanup cont. 2013-05-25 16:38:20 -07:00
InsetMathDiff.cpp
InsetMathDiff.h
InsetMathDots.cpp
InsetMathDots.h
InsetMathEnsureMath.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathEnsureMath.h
InsetMathEnv.cpp
InsetMathEnv.h Remove some header leftovers based on Scott's script hints. 2013-05-02 00:30:16 -07:00
InsetMathExFunc.cpp Implement math-as-HTML output for InsetMathExFunc. 2013-03-27 11:41:29 -04:00
InsetMathExFunc.h Remove some header leftovers based on Scott's script hints. 2013-05-02 00:30:16 -07:00
InsetMathExInt.cpp Use empty() to check empty and non-empty'ness not size() 2012-10-27 01:25:38 +02:00
InsetMathExInt.h
InsetMathFont.cpp A first batch of potential bugs spotted by llvm/clang 2013-05-02 16:38:25 +02:00
InsetMathFont.h
InsetMathFontOld.cpp
InsetMathFontOld.h
InsetMathFrac.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathFrac.h
InsetMathGrid.cpp Rename some LFUN names to match their text name 2014-02-13 13:50:33 +01:00
InsetMathGrid.h Fix bug #6936. 2012-03-25 11:16:32 +02:00
InsetMathHull.cpp Native support for \notag 2014-05-27 22:17:35 +02:00
InsetMathHull.h Native support for \notag 2014-05-27 22:17:35 +02:00
InsetMathKern.cpp
InsetMathKern.h
InsetMathLefteqn.cpp
InsetMathLefteqn.h
InsetMathLim.cpp
InsetMathLim.h
InsetMathMatrix.cpp
InsetMathMatrix.h
InsetMathNest.cpp Generalize control on double blank lines. 2014-05-20 21:52:29 +02:00
InsetMathNest.h Header cleanup cont. 2013-05-25 16:38:20 -07:00
InsetMathNumber.cpp
InsetMathNumber.h
InsetMathOverset.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathOverset.h
InsetMathPar.cpp
InsetMathPar.h
InsetMathPhantom.cpp Native support for \smash[t] and \smash[b] 2014-05-27 22:13:58 +02:00
InsetMathPhantom.h Native support for \smash[t] and \smash[b] 2014-05-27 22:13:58 +02:00
InsetMathRef.cpp Allowing direct, read-write access to the references cache just seems 2013-03-18 19:32:30 -04:00
InsetMathRef.h
InsetMathRoot.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathRoot.h
InsetMathScript.cpp Fix bug #8784 (mathml export for scripts) 2014-02-22 19:01:20 +01:00
InsetMathScript.h * InsetMathScript::doDispatch : properly record undo information before 2012-02-02 13:39:05 +00:00
InsetMathSideset.cpp Fix regression of 5261ae6a2 2013-02-24 21:23:50 +01:00
InsetMathSideset.h Remove ; from end of function definitions 2013-05-12 13:04:18 +02:00
InsetMathSize.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathSize.h
InsetMathSpace.cpp Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
InsetMathSpace.h
InsetMathSpecialChar.cpp Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
InsetMathSpecialChar.h
InsetMathSplit.cpp Fix dataloss for align env inside math 2014-02-27 21:25:19 +01:00
InsetMathSplit.h Fix dataloss for align env inside math 2014-02-27 21:25:19 +01:00
InsetMathSqrt.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathSqrt.h
InsetMathStackrel.cpp Fix bug #8464: stackrel with subscript. 2012-12-28 20:08:43 +01:00
InsetMathStackrel.h Fix bug #8464: stackrel with subscript. 2012-12-28 20:08:43 +01:00
InsetMathString.cpp Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
InsetMathString.h
InsetMathSubstack.cpp New methods in LaTeXFeatures specifically for collection of CSS 2011-12-06 22:17:13 +00:00
InsetMathSubstack.h
InsetMathSymbol.cpp Whitespace. 2014-04-21 11:52:00 -04:00
InsetMathSymbol.h Handle text-only wasy symbols correctly. 2013-01-10 21:22:54 +01: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
InsetMathUnknown.cpp Move metrics computation close to drawing for drawStrRed/Black 2012-05-03 16:35:45 +02:00
InsetMathUnknown.h
InsetMathXArrow.cpp InsetMathXArrow.cpp; code simplification 2014-02-17 02:11:57 +01:00
InsetMathXArrow.h
InsetMathXYArrow.cpp Use empty() to check empty and non-empty'ness not size() 2012-10-27 01:25:38 +02:00
InsetMathXYArrow.h
InsetMathXYMatrix.cpp
InsetMathXYMatrix.h
MacroTable.cpp Fix missing updates for lazy MacroData 2013-10-11 20:38:05 +02:00
MacroTable.h Fix missing updates for lazy MacroData 2013-10-11 20:38:05 +02:00
MathAtom.cpp
MathAtom.h
MathAutoCorrect.cpp More llvm/clang warnings 2013-05-02 18:27:32 +02:00
MathAutoCorrect.h
MathCompletionList.h
MathData.cpp More llvm/clang warnings 2013-05-02 18:27:32 +02:00
MathData.h Rename misleading parameter. 2014-05-14 18:09:40 +02:00
MathExtern.cpp Remove unsafe method FileName::tempName() 2014-06-09 13:05:50 +02:00
MathExtern.h
MathFactory.cpp Fix bug #7954 (now really) 2014-06-07 10:54:17 +02:00
MathFactory.h
MathMacro.cpp Fix display of predefined macros (bug #9059) 2014-03-28 23:16:36 +01:00
MathMacro.h Fix bug #8999 by locking math macros while they are updating. 2014-03-05 18:46:38 -05:00
MathMacroArgument.cpp Move metrics computation close to drawing for drawStrRed/Black 2012-05-03 16:35:45 +02:00
MathMacroArgument.h
MathMacroTemplate.cpp Code cleanup: get rid of RenderPreview::status() 2014-05-20 12:19:26 +02:00
MathMacroTemplate.h Make the export of macros thread-safer 2013-10-12 02:36:08 +02:00
MathParser_flags.h
MathParser.cpp Native support for \notag 2014-05-27 22:17:35 +02:00
MathParser.h Header cleanup cont. 2013-05-25 16:38:20 -07:00
MathStream.cpp
MathStream.h
MathSupport.cpp Fix bug #7954 (now really) 2014-06-07 10:54:17 +02:00
MathSupport.h Remove some header leftovers based on Scott's script hints. 2013-05-02 00:30:16 -07: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/...)