lyx_mirror/src
Jean-Marc Lasgouttes b01f7a6bdd Avoid swapping a cell with itself
Gcc STL debugging feature asserts when swapping an object with itself. This happens in some cases with math grids that have only one column.

A quick review of other uses of swap() in the code base did not reveal any other dubious case.

Fixes bug #9902.
2015-12-29 19:47:10 +01:00
..
client Revert "Fix make distcheck for monolithic build" 2013-10-12 02:41:36 +02:00
frontends Do not try even to hide buffers that are being processed by LyX. 2015-12-12 13:24:25 -05:00
graphics Fix crashes related to macros and instant preview 2015-06-25 21:04:42 +02:00
insets Revert "InsetFootlike.cpp: disable listings inside footnotes" 2015-12-08 14:44:48 -05:00
mathed Avoid swapping a cell with itself 2015-12-29 19:47:10 +01:00
support Avoid the use of a static NSAutoreleasePool. 2015-10-27 22:57:16 +01:00
tests Remove dependency on NO_LAYOUT_CSS #define in Layout.cpp 2013-09-29 15:26:15 +02:00
tex2lyx tex2lyx: Add a newline at the end of comment if not at the end of a paragraph. 2015-11-23 14:02:06 +01:00
.gitignore Setup .gitignore for generated files 2012-03-22 02:16:12 +01:00
AppleSpellChecker.cpp src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
AppleSpellChecker.h Remove ; from end of function definitions 2013-05-12 13:04:18 +02:00
AspellChecker.cpp #8932 improved spell checker debug messages 2014-01-15 21:20:05 +01:00
AspellChecker.h Remove ; from end of function definitions 2013-05-12 13:04:18 +02:00
Author.cpp Accidentally overwrote this commit of Vincent's. 2014-03-15 12:09:35 -04:00
Author.h
BiblioInfo.cpp Fix bug #9296. The key may be multiple keys. 2014-10-16 16:38:18 -04:00
BiblioInfo.h Fix bug #9131 for stable branch. The real problem lies 2014-05-23 11:01:07 -04:00
Bidi.cpp src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
Bidi.h Document the Bidi class a bit 2013-06-28 15:18:17 +02:00
boost.cpp
Box.cpp
Box.h
BranchList.cpp src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
BranchList.h
buffer_funcs.cpp Make newUnnamedFile() threadsafe 2014-07-07 21:38:39 +02:00
buffer_funcs.h #7789 unify and fix buffer statistics 2012-01-12 07:03:24 +00:00
Buffer.cpp Fix bug #9544: Mark file clean after we write it. 2015-05-17 16:20:32 -04:00
Buffer.h Don't update paths of non-existing files 2015-05-05 22:47:46 +02:00
BufferEncodings.cpp Encodings: Make members of CharInfo private 2013-09-29 15:26:20 +02:00
BufferEncodings.h Encodings: Split off the functions that need Buffer 2013-09-29 15:26:18 +02:00
BufferList.cpp Make BufferList::fileNames() threadsafe 2014-07-07 22:05:10 +02:00
BufferList.h Make BufferList::fileNames() threadsafe 2014-07-07 22:05:10 +02:00
BufferParams.cpp The cite engine info is needed by makeDocumentClass(). 2015-11-06 16:01:22 -05:00
BufferParams.h Do not issue module warnings when just cloning a buffer (#8864) 2014-02-09 11:16:20 +01:00
BufferView.cpp Set current font correctly after inset-select-all 2015-11-06 11:12:27 +01:00
BufferView.h Slowly going through the suggestion made by our headers script. 2013-05-15 22:02:10 -07:00
Bullet.cpp Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
Bullet.h
Changes.cpp Fix uncodable author warning 2014-07-07 22:22:25 +02:00
Changes.h Add a member to TocItem that tells us whether the item in question 2013-03-08 16:38:18 -05:00
Chktex.cpp src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
Chktex.h
Citation.h New \cite_engine_type default. 2013-05-16 20:39:23 +02:00
CMakeLists.txt Remove ugly multiple definition hack (Georg) 2013-06-01 09:42:36 +02:00
CmdDef.cpp src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
CmdDef.h
Color.cpp Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
Color.h
ColorCode.h ColorCode.h: clarify a comment 2012-12-31 04:10:28 +01:00
ColorSet.h
Compare.cpp Compare: Add the authors from the 'other' document 2014-02-07 23:14:36 +01:00
Compare.h Slowly going through the suggestion made by our headers script. 2013-05-15 22:02:10 -07:00
CompletionList.h
Converter.cpp Allow $$s converter substitution if 'latex' flag 2014-02-21 12:51:48 -05:00
Converter.h Remove unused typedef 2013-03-24 18:06:31 +01:00
ConverterCache.cpp Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
ConverterCache.h
CoordCache.cpp If this test fails, then we are about to crash, because we are about 2014-04-18 10:52:48 -04:00
CoordCache.h Slowly going through the suggestion made by our headers script. 2013-05-15 22:02:10 -07:00
Counters.cpp Let the Foot inset have a different Layout when inside a title 2014-12-08 10:15:02 +01:00
Counters.h Fix caption counter in longtables (see #8993). 2014-02-25 08:00:43 +01:00
Cursor.cpp Properly notify insets after BufferView::doDispatch 2015-08-24 10:28:09 +02:00
Cursor.h Do not sanitize the anchor of cursor when selection is not set 2015-03-10 17:20:10 +01:00
CursorSlice.cpp Reimplement inset-select-all in a generic way 2015-01-06 11:05:49 +01:00
CursorSlice.h Reimplement inset-select-all in a generic way 2015-01-06 11:05:49 +01:00
CutAndPaste.cpp Fix pasting insets into math (bug #9302) 2015-01-21 22:27:06 +01:00
CutAndPaste.h Fix pasting insets into math (bug #9302) 2015-01-21 22:27:06 +01:00
DepTable.cpp src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
DepTable.h
Dimension.cpp
Dimension.h
DispatchResult.h Rename a routine. 2014-02-18 10:42:52 -05:00
DocIterator.cpp Avoid crash with undo in a closed collapsable inset 2015-05-27 10:55:18 +02:00
DocIterator.h Fix crash introduced in my previous commit f6b1c24b 2012-07-17 22:26:44 +02:00
DocumentClassPtr.h Deal with memory issue reported some time ago in connection with DocumentClass 2012-05-31 12:34:29 -04:00
EnchantChecker.cpp #8849 catch exception in enchant speller backend and avoid multiple speller lookups for missing dictionaries 2014-09-28 19:39:15 +02:00
EnchantChecker.h Remove ; from end of function definitions 2013-05-12 13:04:18 +02:00
Encoding.cpp Fix bug #9112: There is a test here that seems intended to catch the 2014-05-10 10:40:30 -04:00
Encoding.h Encodings: Make members of CharInfo private 2013-09-29 15:26:20 +02:00
ErrorList.cpp
ErrorList.h Remove ; from end of function definitions 2013-05-12 13:04:18 +02:00
Exporter.cpp Added -E option to specify export format and destination file-name (and export folder). 2011-09-15 01:07:49 +00:00
Exporter.h Added -E option to specify export format and destination file-name (and export folder). 2011-09-15 01:07:49 +00:00
factory.cpp Fix the 'caption inset mess' (bug #4647) 2012-12-30 18:29:02 +01:00
factory.h
Floating.cpp Fix bug #8078: Assertions in xhtml output on Windows 2012-04-30 12:58:32 +02:00
Floating.h
FloatList.cpp
FloatList.h
Font.cpp ulem commands can be nested. 2014-04-18 10:52:47 -04:00
Font.h Slowly going through the suggestion made by our headers script. 2013-05-15 22:02:10 -07:00
FontEnums.h Add support for stmaryrd.sty (bug #8434) 2012-12-15 13:10:31 +01:00
FontInfo.cpp Implement writing of layouts 2013-03-31 15:33:26 +02:00
FontInfo.h Fix logic error in on-screen font shape 2015-07-17 22:22:59 +02:00
FontList.cpp Typos 2012-06-05 12:22:13 +02:00
FontList.h
Format.cpp Fix viewer file paths on windows (bug #8892) 2015-02-12 21:22:21 +01:00
Format.h remove unused and error-prone function 2013-09-15 17:19:51 +02:00
FuncCode.h Whitespace. 2014-02-23 11:33:56 -05:00
FuncRequest.cpp Handle sending a FuncRequest object to lyxerr 2012-06-07 17:21:49 +02:00
FuncRequest.h Handle sending a FuncRequest object to lyxerr 2012-06-07 17:21:49 +02:00
FuncStatus.cpp src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
FuncStatus.h
Graph.cpp
Graph.h
HSpace.cpp Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
HSpace.h
HunspellChecker.cpp #8932 improved spell checker debug messages 2014-01-15 21:20:05 +01:00
HunspellChecker.h Implement access to hunspell's stemming function and let the Thesaurus use that (part of bug #8060). 2012-03-02 10:20:09 +00:00
IndicesList.cpp src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
IndicesList.h Typos 2012-06-05 12:22:13 +02:00
InsetIterator.cpp
InsetIterator.h
InsetList.cpp
InsetList.h
Intl.cpp
Intl.h
KeyMap.cpp More idiomatic way of checking if a shared_ptr has an associated managed object 2012-10-25 12:12:49 +02:00
KeyMap.h
KeySequence.cpp Use empty() to check empty and non-empty'ness not size() 2012-10-27 01:25:38 +02:00
KeySequence.h
Language.cpp Fix multithreading crash (bug #9366) 2015-01-05 21:44:37 +01:00
Language.h Fix multithreading crash (bug #9366) 2015-01-05 21:44:37 +01:00
LaTeX.cpp Fix memory error detected by valgrind 2014-11-19 20:42:04 +01:00
LaTeX.h Typo. Sorry. 2014-04-09 11:29:40 +02:00
LaTeXFeatures.cpp Load amsthm after amsmath. 2015-03-22 15:34:55 +01:00
LaTeXFeatures.h Output package options before loading any package. 2014-12-22 09:21:28 +01:00
LaTeXFonts.cpp Load AMS packages before newtxmath (#8824) 2013-09-01 10:21:21 +02:00
LaTeXFonts.h Load AMS packages before newtxmath (#8824) 2013-09-01 10:21:21 +02:00
LaTeXPackages.cpp Fix bug #4213: Change tracking support for tex2lyx. 2011-11-06 17:03:59 +00:00
LaTeXPackages.h Fix bug #4213: Change tracking support for tex2lyx. 2011-11-06 17:03:59 +00:00
Layout.cpp Use trimmed string in [Inset]Layout Requires. 2015-05-19 16:55:49 +02:00
Layout.h Implement forced local layouts 2013-05-15 07:19:49 +02:00
LayoutEnums.h Change LabelType Top_Environment to LabelType Above, and LabelType 2013-02-09 13:44:06 -05:00
LayoutFile.cpp Fix parsing of class and category declaration line in layout files 2015-09-03 09:49:20 +02:00
LayoutFile.h Remove ; from end of function definitions 2013-05-12 13:04:18 +02:00
LayoutModuleList.cpp Import theorems correctly (bugs #5702, #5776) 2012-10-26 22:23:16 +02:00
LayoutModuleList.h Import theorems correctly (bugs #5702, #5776) 2012-10-26 22:23:16 +02:00
Length.cpp Fix empty width support for Box inset 2013-05-24 15:44:59 +02:00
Length.h
lengthcommon.cpp Improve support for empty lengths 2013-05-24 15:44:58 +02:00
Lexer.cpp Provide optional trimmed version of Lexer::getString and getDocString 2015-05-19 16:52:32 +02:00
Lexer.h Provide optional trimmed version of Lexer::getString and getDocString 2015-05-19 16:52:32 +02:00
LyX.cpp #9317 add method cleanDuplicateEnvVars() to correct the broken environment with duplicate PATH values passed by Yosemite's launchd(8) 2014-11-13 19:13:40 +01:00
LyX.h WS cleanup, remove extraeneous spaces 2012-10-27 01:25:38 +02:00
LyXAction.cpp Allow using icon names in InsetInfo 2015-03-28 20:36:05 +01:00
LyXAction.h Bump LFUN format for LyX 2.1 2012-09-29 20:06:39 +02:00
lyxfind.cpp Ammend 400db01c 2015-11-13 20:44:55 -05:00
lyxfind.h Rewrite of change-related helpers 2015-03-30 20:41:25 -04:00
LyXRC.cpp Properly escape backslash in string 2015-03-16 14:33:11 +01:00
LyXRC.h Allow statusbar to be set on or off in full screen mode as a 2014-02-25 20:48:56 -05:00
LyXVC.cpp Remove partial support for non-buffer files in VCS 2013-04-10 22:31:38 +02:00
LyXVC.h Fix monolithic build 2013-03-18 20:42:28 +01:00
lyxwinres.rc
main.cpp
Makefile.am Delay regeneration of previews on zoom changes 2015-06-12 17:04:00 +02:00
MetricsInfo.cpp
MetricsInfo.h Slowly going through the suggestion made by our headers script. 2013-05-15 22:02:10 -07:00
ModuleList.cpp Remove dependency on TEX2LYX #define in ModuleList.cpp 2013-09-29 15:26:12 +02:00
ModuleList.h Remove some header leftovers based on Scott's script hints. 2013-05-02 00:30:16 -07:00
Mover.cpp
Mover.h
output_docbook.cpp Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
output_docbook.h
output_latex.cpp Fix bug #9598 2015-06-09 15:48:07 +02:00
output_latex.h Header cleanup cont. 2013-05-25 16:38:20 -07:00
output_plaintext.cpp Introduce max_length parameter for plaintext() output routines, 2013-03-08 15:12:58 -05:00
output_plaintext.h Introduce max_length parameter for plaintext() output routines, 2013-03-08 15:12:58 -05:00
output_xhtml.cpp Work around a gcc5 bug 2015-09-15 21:28:42 +02:00
output_xhtml.h Fix MSVC warnings 2013-05-14 13:56:31 +02:00
output.cpp
output.h
OutputEnums.h
OutputParams.cpp Fix preview of included files in child documents (bug #9583) 2015-06-04 08:32:07 +02:00
OutputParams.h Fix preview of included files in child documents (bug #9583) 2015-06-04 08:32:07 +02:00
paper.h
Paragraph.cpp Since '\n' and '\t' are printable characters, the second clause 2015-12-12 15:34:06 -05:00
Paragraph.h Revert "Fixing #7987: deleted text in change-tracking mode is not found in Advanced F&R any more." 2014-03-29 22:21:40 +01:00
ParagraphList.h
ParagraphMetrics.cpp Remove all messages to user related to assertions. We'll just use 2013-04-27 17:52:55 -04:00
ParagraphMetrics.h
ParagraphParameters.cpp
ParagraphParameters.h
ParIterator.cpp
ParIterator.h Remove some header leftovers based on Scott's script hints. 2013-05-02 00:30:16 -07:00
pch.h
PDFOptions.cpp Allow quotes in PDF text properties 2015-11-06 10:59:02 +01:00
PDFOptions.h
PersonalWordList.cpp src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
PersonalWordList.h
PrinterParams.cpp Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
PrinterParams.h
Row.cpp
Row.h
rowpainter.cpp Remove all messages to user related to assertions. We'll just use 2013-04-27 17:52:55 -04:00
rowpainter.h Fix bug #953: Paint text decorations for spaces 2012-05-02 18:02:52 +02:00
Server.cpp Fix wrong test: boolean variable is never negative 2014-11-05 18:23:32 +01:00
Server.h
ServerSocket.cpp src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
ServerSocket.h Header cleanup cont. 2013-05-19 18:07:53 -07:00
Session.cpp Prevent crash when attempting to restore a file multiple times. 2015-04-06 15:30:43 +02:00
Session.h
sgml.cpp sgml: ignore paragraphs named *dummy* 2013-04-14 11:34:47 +01:00
sgml.h Header cleanup cont. 2013-05-25 16:38:20 -07:00
Spacing.cpp
Spacing.h
SpellChecker.h Implement access to hunspell's stemming function and let the Thesaurus use that (part of bug #8060). 2012-03-02 10:20:09 +00:00
TexRow.cpp
TexRow.h
Text2.cpp Reset cursor font when entring an inset with char-forward/backward 2015-07-22 15:13:10 +02:00
Text3.cpp Disable LFUN_LAYOUT when layout cannot be found 2015-11-17 08:53:42 +01:00
Text.cpp Rewrite of change-related helpers 2015-03-30 20:41:25 -04:00
Text.h Correctly handle environment sequences in TOC 2012-12-15 16:50:08 +01:00
TextClass.cpp Fix conflicting inset font defaults (bug #8874) 2014-02-10 22:06:32 +01:00
TextClass.h Do not issue module warnings when just cloning a buffer (#8864) 2014-02-09 11:16:20 +01:00
TextMetrics.cpp Make TextMetrics::editXY more robust 2014-06-04 12:17:01 +02:00
TextMetrics.h Make TextMetrics::editXY more robust 2014-06-04 12:17:01 +02:00
Thesaurus.cpp src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
Thesaurus.h Remove some header leftovers based on Scott's script hints. 2013-05-02 00:30:16 -07:00
TocBackend.cpp Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
TocBackend.h whitespace 2014-02-24 16:40:57 +01:00
Trans.cpp Initialize correctly the default keymap 2015-07-22 16:58:00 +02:00
Trans.h
Undo.cpp Create proper undo groups for advanced find and replace 2015-05-29 19:24:36 +02:00
Undo.h Create proper undo groups for advanced find and replace 2015-05-29 19:24:36 +02:00
update_flags.h
VCBackend.cpp Remove some header leftovers based on Scott's script hints. 2013-05-02 00:30:16 -07:00
VCBackend.h Make parameter more readable. 2013-04-13 21:56:52 -07:00
version.cpp Cmake build: 2012-10-15 22:50:39 +02:00
version.h Update chunk handling to use new inset 2013-06-03 12:36:35 +02:00
VSpace.cpp Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
VSpace.h
WordLangTuple.h
WordList.cpp Make theWordList() thread safe. 2014-07-06 18:12:57 +02:00
WordList.h Do not store Languages objects in completion words lists 2014-04-18 10:52:48 -04:00