lyx_mirror/src
Scott Kostyshak f1accdebf3 Refresh previews on branch toggle
We only referesh previews if the branch that is toggled exists in a
descendant. This code could be further optimized, as noted in the
comments.

For relevant discussion, see the following ML thread:

https://www.mail-archive.com/search?l=mid&q=20191209022030.d6gyy3abdectr3yz%40tallinn
2019-12-11 11:48:56 -05:00
..
client Move initial values of LyXRC members to the header 2019-04-19 14:46:12 +02:00
convert Add -headerpad_max_install_names option to linker calls and make run path configuration consistent. 2018-09-21 21:46:47 +02:00
frontends GuiSelectionManager: fix getSelectedIndex for availableLV 2019-11-20 14:07:05 +01:00
graphics Move all python shebangs from /usr/bin/env to python3. 2018-12-29 19:14:41 +00:00
insets Refresh previews on branch toggle 2019-12-11 11:48:56 -05:00
mathed Add a setBuffer method to InsetArgumentProxy 2019-11-15 20:43:00 +01:00
support Use unsigned values for enum 2019-10-27 00:05:41 +02:00
tests Cmate tests: Add citenegine-modules to tests 2019-04-26 16:55:30 +02:00
tex2lyx Cmake build: Remove warnings about deprecated policy CMP0069 2019-11-09 16:56:16 +01:00
.gitignore
AppleSpellChecker.cpp Fix editorial whitespace error 2017-07-30 09:30:58 +02:00
AppleSpellChecker.h
AspellChecker.cpp Fix editorial whitespace issues, e.g. extra space before semicolon 2017-07-30 00:54:12 +02:00
AspellChecker.h
Author.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
Author.h
BiblioInfo.cpp Remove some useless expressions 2019-10-27 00:09:05 +02:00
BiblioInfo.h Use const & 2019-09-13 11:49:29 -04:00
boost.cpp
Box.cpp
Box.h
BranchList.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
BranchList.h
buffer_funcs.cpp Disambiguate dialog buttons 2018-08-14 17:05:40 +02:00
buffer_funcs.h
Buffer.cpp Fix issues with tilde in inputpath 2019-11-20 11:57:32 +01:00
Buffer.h Start reporting missing citations and broken references in LaTeX build. 2019-06-07 16:47:04 +02:00
BufferEncodings.cpp unicodesymbols: add general way to require a feature only for specific encodings 2018-04-28 13:31:29 +02:00
BufferEncodings.h
BufferList.cpp Use range-based loops in BufferList 2019-02-25 15:19:58 +01:00
BufferList.h Use range-based loops in BufferList 2019-02-25 15:19:58 +01:00
BufferParams.cpp Follow some of the performance advice from cppcheck 2019-09-13 16:23:49 +02:00
BufferParams.h Follow some of the performance advice from cppcheck 2019-09-13 16:23:49 +02:00
BufferView.cpp Remove some useless expressions 2019-10-27 00:09:05 +02:00
BufferView.h Set language to OS input language when moving cursor 2019-07-19 11:52:03 +02:00
Bullet.cpp
Bullet.h
Changes.cpp Amend bd21aa9 2018-12-06 10:30:58 +01:00
Changes.h Make the generation of children's tocs more robust 2017-01-14 23:13:14 +01:00
Chktex.cpp grammar 2018-02-18 09:19:03 +01:00
Chktex.h
Citation.h Allow for multiple use of same key in qualified citation lists 2019-08-07 13:00:29 +02:00
CiteEnginesList.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
CiteEnginesList.h Fix bug #10901. 2018-02-23 23:17:57 -05:00
CMakeLists.txt Cmake build: Remove warnings about deprecated policy CMP0069 2019-11-09 16:56:16 +01:00
CmdDef.cpp Fix bug #10909. 2018-02-23 23:38:31 -05:00
CmdDef.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
Color.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
Color.h
ColorCode.h Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
ColorSet.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
Compare.cpp Rename Paragraph::setBuffer to Paragraph::setInsetBuffers, to avoid 2017-10-16 15:48:47 -04:00
Compare.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
CompletionList.h
Converter.cpp Start reporting missing citations and broken references in LaTeX build. 2019-06-07 16:47:04 +02:00
Converter.h Fix some problems with background cancellation. 2018-04-16 14:02:20 -04:00
ConverterCache.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
ConverterCache.h
CoordCache.cpp
CoordCache.h
Counters.cpp Revert "Use swap in InsetText::updateBuffer for notes ad friends" 2018-09-18 23:07:48 +02:00
Counters.h Revert "Use swap in InsetText::updateBuffer for notes ad friends" 2018-09-18 23:07:48 +02:00
Cursor.cpp Add a pref to disable OS keyboard language support 2019-07-20 12:57:16 +02:00
Cursor.h Set language to OS input language when moving cursor 2019-07-19 11:52:03 +02:00
CursorSlice.cpp Rename some macro-related insets 2017-07-05 14:46:34 +02:00
CursorSlice.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
CutAndPaste.cpp Fix nullptr warnings 2019-09-11 22:13:25 -04:00
CutAndPaste.h Do not remove character at start of paragraph when cutting 2018-07-22 23:20:21 +02:00
DepTable.cpp Use FileName::lastModified() intead of stat() in DepTable 2017-03-13 17:06:42 +01:00
DepTable.h Fix compilation warning in DepTable.cpp 2017-03-20 15:38:08 +01:00
Dimension.cpp
Dimension.h Fix embarrassing typo 2018-12-17 15:33:47 +01:00
DispatchResult.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
DocIterator.cpp Don't force encoding switch for Japanese "listings" auto-strings. 2019-04-18 15:27:24 +02:00
DocIterator.h Remove unused mathod (CursorSlice::at_cell_end is the same) 2019-01-04 13:55:57 +01:00
DocumentClassPtr.h Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
EnchantChecker.cpp Add support for enchant 2.x 2018-01-30 12:11:22 +01:00
EnchantChecker.h
Encoding.cpp Use <cstdint> instead of <boost/cstdint.hpp> 2019-06-17 16:19:31 +02:00
Encoding.h Amend 464d6262: Forgot these 2019-10-27 00:17:27 +02:00
ErrorList.cpp Initialize pointer class member 2017-03-01 16:34:01 +01:00
ErrorList.h
Exporter.cpp
Exporter.h
factory.cpp Fix bug #10932. 2018-02-24 00:30:24 -05:00
factory.h
Floating.cpp Add Requires to float definition. 2019-08-12 12:18:28 +02:00
Floating.h Add Requires to float definition. 2019-08-12 12:18:28 +02:00
FloatList.cpp
FloatList.h
Font.cpp Fix export with Japanese (platex) and non-TeX fonts. 2019-08-21 12:33:13 +02:00
Font.h Move the stateText code for FontInfo to FontInfo class. 2019-05-10 10:45:40 +02:00
FontEnums.h Rename LM_ST_* to *_STYLE and FONT_SIZE_* to *_SIZE 2019-06-14 17:05:49 +02:00
FontInfo.cpp Rename LM_ST_* to *_STYLE and FONT_SIZE_* to *_SIZE 2019-06-14 17:05:49 +02:00
FontInfo.h Move the stateText code for FontInfo to FontInfo class. 2019-05-10 10:45:40 +02:00
FontList.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
FontList.h
Format.cpp Fix bug #9622 2018-12-14 11:41:16 +01:00
Format.h Allow to hide formats from menus 2019-09-11 10:29:50 +02:00
FuncCode.h Add mechanism to change icons in RTL mode 2019-07-22 15:20:38 +02:00
FuncRequest.cpp Fix #8338. 2018-04-20 23:37:58 -04:00
FuncRequest.h Comment: buffer-forall should be run synchronously 2018-04-21 23:05:21 -04:00
FuncStatus.cpp
FuncStatus.h
Graph.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
Graph.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
HunspellChecker.cpp Adapt to new hunspell C++ ABI 2018-03-29 18:43:11 +02:00
HunspellChecker.h
IndicesList.cpp Fix bug #10915. 2018-02-23 23:47:05 -05:00
IndicesList.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
InsetIterator.cpp
InsetIterator.h
InsetList.cpp Cosmetics 2018-05-28 12:33:17 +02:00
InsetList.h Cosmetics 2018-05-28 12:33:17 +02:00
Intl.cpp
Intl.h
KeyMap.cpp Do not use GUI language for shortcut info inset if no translation is available 2019-03-09 12:00:40 +01:00
KeyMap.h Do not use GUI language for shortcut info inset if no translation is available 2019-03-09 12:00:40 +01:00
KeySequence.cpp Do not use GUI language for shortcut info inset if no translation is available 2019-03-09 12:00:40 +01:00
KeySequence.h Do not use GUI language for shortcut info inset if no translation is available 2019-03-09 12:00:40 +01:00
Language.cpp Deactivate active - in tables with \cline or \cmidrule 2019-08-14 13:10:42 +02:00
Language.h Deactivate active - in tables with \cline or \cmidrule 2019-08-14 13:10:42 +02:00
LaTeX.cpp Give error if undefined citations with Biblatex 2019-09-10 10:43:40 -04:00
LaTeX.h Start reporting missing citations and broken references in LaTeX build. 2019-06-07 16:47:04 +02:00
LaTeXFeatures.cpp Fix greyedout note in RTL (#8647) 2019-08-15 15:15:59 +02:00
LaTeXFeatures.h Follow some of the performance advice from cppcheck 2019-09-13 16:23:49 +02:00
LaTeXFonts.cpp Follow some of the performance advice from cppcheck 2019-09-13 16:23:49 +02:00
LaTeXFonts.h Follow some of the performance advice from cppcheck 2019-09-13 16:23:49 +02:00
LaTeXPackages.cpp
LaTeXPackages.h
Layout.cpp Add InsertOnNewline argument tag 2019-06-02 18:07:10 +02:00
Layout.h Add InsertOnNewline argument tag 2019-06-02 18:07:10 +02:00
LayoutEnums.h
LayoutFile.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
LayoutFile.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
LayoutModuleList.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
LayoutModuleList.h Fix bug #11055. 2018-01-28 23:37:20 -05:00
Length.cpp Move the inPixels(MetricsBase) help from Length to MetricsBase. 2018-01-05 20:14:04 +01:00
Length.h Move the inPixels(MetricsBase) help from Length to MetricsBase. 2018-01-05 20:14:04 +01:00
lengthcommon.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
Lexer.cpp Fix Lexer::getLongString prefix pruning logic 2017-08-29 15:30:44 +02:00
Lexer.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
lyx_commit_hash.h.in
LyX.cpp Reorganize templates and example folders 2019-03-19 07:13:18 +01:00
LyX.h Move the global formats and system_formats variables into the 2017-03-13 23:40:29 -04:00
LyXAction.cpp Add mechanism to change icons in RTL mode 2019-07-22 15:20:38 +02:00
LyXAction.h Add prefs2prefs code for vcs info inset renaming 2018-08-18 16:11:08 +02:00
lyxfind.cpp Do not use same name for members and arguments 2019-10-27 00:06:54 +02:00
lyxfind.h Follow some of the performance advice from cppcheck 2019-09-13 16:23:49 +02:00
LyXRC.cpp Allow to hide formats from menus 2019-09-11 10:29:50 +02:00
LyXRC.h Localize the default decimal separator 2019-07-22 08:05:28 +02:00
LyXVC.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
LyXVC.h git VCS: add support for short hashes in inset info ("Abbreviated revision"). 2019-07-28 22:01:17 +02:00
lyxwinres.rc
main.cpp Avoid an assertion when compiling in debug mode with MSVC 2015 2017-04-12 21:19:42 +02:00
Makefile.am Rename frontend qt4 to qt 2019-07-20 23:39:40 +02:00
MetricsInfo.cpp Mark insets with invalid buffer() in red in devel-mode. 2019-10-21 17:24:24 +02:00
MetricsInfo.h Add support for amsmath's smallmatrix 2019-07-15 13:38:07 +02:00
ModuleList.cpp Add system/local icon to available modules list 2019-04-20 09:28:46 +02:00
ModuleList.h Fix small typo. 2019-05-14 16:39:35 +02:00
Mover.cpp
Mover.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
output_docbook.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
output_docbook.h
output_latex.cpp Fix crash with polyglossia and intitle commands when lang_auto_end is false 2019-11-21 08:38:21 +01:00
output_latex.h Group the switch of encoding for listings in utf8 documents 2018-05-01 14:21:05 +02:00
output_plaintext.cpp Fix bracket output in RTL languages 2018-07-15 14:26:29 +02:00
output_plaintext.h
output_xhtml.cpp Revert "ABOVE and CENTERED labels need special treatment." 2017-10-16 21:28:44 -04:00
output_xhtml.h Follow some of the performance advice from cppcheck 2019-09-13 16:23:49 +02:00
output.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
output.h
OutputEnums.h
OutputParams.cpp Factor out test for bidi package (= XeTeX + polyglossia) 2019-07-11 10:31:10 +02:00
OutputParams.h Deactivate active - in tables with \cline or \cmidrule 2019-08-14 13:10:42 +02:00
paper.h
Paragraph.cpp Tiny cleanup 2019-08-16 11:48:57 +02:00
Paragraph.h Fix right and left layout alignment (in workarea) with RTL 2019-07-10 14:50:08 +02:00
ParagraphList.h
ParagraphMetrics.cpp Remove row crc computation 2017-11-11 13:24:08 +01:00
ParagraphMetrics.h Remove row crc computation 2017-11-11 13:24:08 +01:00
ParagraphParameters.cpp
ParagraphParameters.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
ParIterator.cpp
ParIterator.h
PDFOptions.cpp Make Japanese documentation more robust. 2019-05-07 16:16:35 +02:00
PDFOptions.h
PersonalWordList.cpp
PersonalWordList.h Forgot to test aspell and hunspell support 2019-09-13 19:01:26 +02:00
PrinterParams.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
PrinterParams.h
Row.cpp Make Word Wrap property confiurable by language 2019-06-05 15:50:53 +02:00
Row.h Fixup da2696cc: do not clear useful information from row 2019-05-23 10:26:08 +02:00
RowPainter.cpp Always paint text decoration when painting inset. 2019-05-23 11:30:35 +02:00
RowPainter.h Paint underline for insets too. 2018-09-20 11:58:08 +02:00
Server.cpp Fix LyX server on Windows 2018-08-07 17:56:07 +02:00
Server.h Properly track the lifetime of signals2::slots (#8261) 2017-06-11 19:51:17 +02:00
ServerSocket.cpp
ServerSocket.h
Session.cpp Constify and un-constify 2019-11-06 10:36:21 +01:00
Session.h Keep last file positions in last-use ordering 2019-10-20 12:37:27 +02:00
sgml.cpp
sgml.h
Spacing.cpp Fix switch of language and line spacing in InTitle commands. 2017-12-23 13:27:10 +01:00
Spacing.h Fix switch of language and line spacing in InTitle commands. 2017-12-23 13:27:10 +01:00
SpellChecker.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
TexRow.cpp
TexRow.h Remove support for gcc 4.6 2019-06-12 15:03:18 +02:00
texstream.cpp Use HAVE_LONG_LONG_INT instead of LYX_USE_LONG_LONG 2019-03-21 14:18:17 +01:00
texstream.h Amend bd21aa9 2018-12-06 10:30:58 +01:00
Text2.cpp Follow some of the performance advice from cppcheck 2019-09-13 16:23:49 +02:00
Text3.cpp Remove some useless expressions 2019-10-27 00:09:05 +02:00
Text.cpp Fixup e1be71da: do not enforce plain layout when dissolving 2019-12-06 10:23:03 +01:00
Text.h Follow some of the performance advice from cppcheck 2019-09-13 16:23:49 +02:00
TextClass.cpp Add Requires to float definition. 2019-08-12 12:18:28 +02:00
TextClass.h Use generic paper size names rather than LaTeXisms such as "letterpaper" 2019-08-07 16:44:11 +02:00
TextMetrics.cpp Draw display math numbering outside of inset 2019-07-14 23:27:44 +02:00
TextMetrics.h Make TextMetrics noncopyable 2019-03-12 16:03:22 +01:00
Thesaurus.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
Thesaurus.h
Toc.h
TocBackend.cpp Follow some of the performance advice from cppcheck 2019-09-13 16:23:49 +02:00
TocBackend.h Follow some of the performance advice from cppcheck 2019-09-13 16:23:49 +02:00
TocBuilder.cpp Reorganise and simplify 2017-01-09 23:15:16 +01:00
TocBuilder.h Reorganise and simplify 2017-01-09 23:15:16 +01:00
Trans.cpp Fix bug #10930. 2018-02-24 00:28:37 -05:00
Trans.h
Undo.cpp Follow some of the performance advice from cppcheck 2019-09-13 16:23:49 +02:00
Undo.h Allow to undo partly math autocorrect 2019-06-02 21:17:26 +02:00
update_flags.h Revert "Update documentation" 2018-05-02 12:38:40 +02:00
VCBackend.cpp git VCS: add support for short hashes in inset info ("Abbreviated revision"). 2019-07-28 22:01:17 +02:00
VCBackend.h git VCS: add support for short hashes in inset info ("Abbreviated revision"). 2019-07-28 22:01:17 +02:00
version.cpp
version.h InsetGraphics: use totalheight for height output 2019-08-14 16:55:43 +02:00
VSpace.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
VSpace.h
WordLangTuple.h
WordList.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
WordList.h Fix memory leak with WordLists 2016-12-31 15:29:43 +01:00