lyx_mirror/src
Jean-Marc Lasgouttes f4314b6461 Replace QFontMetrics::width() by horizontalAdvance() in Qt>=5.11
The method horizontalAdvance() replaces width() starting with Qt 5.11.
To handle this, all direct calls to QFontMetrics::width() are replaced
by calls to GuiFontMetrics::width(), and the code for
GuiFontMetrics::width(QChar) uses horizontalAdvance on newer Qt
versions.

(cherry picked from commit 21422dd652)
2020-12-17 11:32:44 +01:00
..
client Add -headerpad_max_install_names option to linker calls and make run path configuration consistent. 2018-09-22 20:33:41 +02:00
convert Add -headerpad_max_install_names option to linker calls and make run path configuration consistent. 2018-09-22 20:33:41 +02:00
frontends Replace QFontMetrics::width() by horizontalAdvance() in Qt>=5.11 2020-12-17 11:32:44 +01:00
graphics Avoid duplicate generation of the same preview 2018-06-07 23:13:33 +02:00
insets Take label width into account for SubLabel insets 2020-12-17 10:29:52 +01:00
mathed Fix on-screen display of special math fonts 2020-10-30 15:53:35 +01:00
support Adjust debug output for fonts 2020-09-03 20:53:41 +02:00
tests Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
tex2lyx update tex2lyx tests after d13e3193b3 2020-05-30 09:32:10 +02: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 Differentiate Buffer strings and GUI strings in citeengines 2018-01-30 08:21:21 +01:00
BiblioInfo.h Fix whitespace at EOL. 2017-07-03 13:46:30 -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-09-09 10:50:01 +02:00
buffer_funcs.h
Buffer.cpp Fix bug #12033. 2020-12-05 20:36:25 -05:00
Buffer.h Do not consider deleted labels in ambiguity check 2019-01-09 09:06:53 +01:00
BufferEncodings.cpp
BufferEncodings.h
BufferList.cpp Handle properly undo groups in embedded work areas 2017-12-23 19:21:12 +01:00
BufferList.h Handle properly undo groups in embedded work areas 2017-12-23 19:21:12 +01:00
BufferParams.cpp Check class options for uncodable glyphs 2020-05-16 09:05:36 +02:00
BufferParams.h Copy modules into the Advanced F&R pane as well. 2018-12-11 18:05:53 -05:00
BufferView.cpp Introduce BufferView::caretInView() 2020-09-18 09:26:28 +02:00
BufferView.h Introduce BufferView::caretInView() 2020-09-18 09:26:28 +02:00
Bullet.cpp
Bullet.h
Changes.cpp Amend bd21aa9 2018-12-08 23:16:08 +01:00
Changes.h
Chktex.cpp Adapt to new ChkTeX return values. 2018-03-17 15:44:05 -04:00
Chktex.h
Citation.h
CiteEnginesList.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
CiteEnginesList.h Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
CMakeLists.txt Updates to cmake scripts needed to build with mingw on Fedora. 2018-08-30 15:28:13 -04:00
CmdDef.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
CmdDef.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
Color.cpp Collapsable -> Collapsible (part 2) 2017-10-16 11:24:41 +02:00
Color.h
ColorCode.h Collapsable -> Collapsible (part 2) 2017-10-16 11:24:41 +02:00
ColorSet.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
Compare.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
Compare.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
CompletionList.h
Converter.cpp Load hyperref with a suitable driver 2018-04-09 15:17:11 +02:00
Converter.h Load hyperref with a suitable driver 2018-04-09 15:17:11 +02: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 Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
Counters.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
Cursor.cpp Fix bug #10498 2019-06-25 21:27:33 +02:00
Cursor.h Backport 641ae5c7ad. 2018-12-14 19:20:36 +01: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 Correctly initialize font (language) for multiple-cell paste (#11898) 2020-06-30 08:59:03 +02:00
CutAndPaste.h Do not remove character at start of paragraph when cutting 2018-09-18 22:57:41 +02:00
DepTable.cpp
DepTable.h
Dimension.cpp
Dimension.h Fix embarrassing typo 2018-12-17 17:22:42 +01:00
DispatchResult.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
DocIterator.cpp Fix embarassing crash caused by debug message 2020-04-17 10:41:50 +02:00
DocIterator.h Introduce "inherit" encoding for latex_language 2018-01-20 09:22:38 +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-03-19 17:33:17 +01:00
EnchantChecker.h
Encoding.cpp Fix bug #11526 2019-03-24 22:19:05 +01:00
Encoding.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
ErrorList.cpp
ErrorList.h
Exporter.cpp
Exporter.h
factory.cpp Collapsable -> Collapsible (part 2) 2017-10-16 11:24:41 +02:00
factory.h
Floating.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
Floating.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
FloatList.cpp
FloatList.h
Font.cpp Add support for the doublestroke package 2020-06-12 23:58:32 +02:00
Font.h
FontEnums.h Add support for the doublestroke package 2020-06-12 23:58:32 +02:00
FontInfo.cpp Add support for the doublestroke package 2020-06-12 23:58:32 +02:00
FontInfo.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
FontList.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
FontList.h
Format.cpp Localize format prettyName in some more places (#11954) 2020-09-11 09:11:00 +02:00
Format.h Allow to hide formats from menus 2019-09-11 10:46:07 +02:00
FuncCode.h Fix bug #7404. 2018-12-11 17:43:17 -05:00
FuncRequest.cpp Fix #8338. 2018-04-20 23:48:50 -04:00
FuncRequest.h Fix #8338. 2018-04-20 23:48:50 -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 Remap typographical apostrophe from Hunspell to plain apostrophe (#11832) 2020-05-04 23:40:18 -04:00
HunspellChecker.h
IndicesList.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
IndicesList.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
InsetIterator.cpp
InsetIterator.h
InsetList.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
InsetList.h Fix some spelling errors reported by Sven 2017-09-22 09:34:51 +02:00
Intl.cpp
Intl.h
KeyMap.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
KeyMap.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
KeySequence.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
KeySequence.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
Language.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
Language.h
LaTeX.cpp Improve reporting of undefined control sequences in preamble 2020-04-19 17:32:33 +02:00
LaTeX.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
LaTeXFeatures.cpp Add support for the doublestroke package 2020-06-12 23:58:32 +02:00
LaTeXFeatures.h Fix bug #11780. 2020-03-14 19:19:04 -04:00
LaTeXFonts.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
LaTeXFonts.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
LaTeXPackages.cpp
LaTeXPackages.h
Layout.cpp Fix some parsing glitches in Autonest and IsAutonestedBy 2018-12-29 18:36:20 +01:00
Layout.h Implement auto-nesting. 2018-01-01 12:30:34 +01: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-04-15 00:29:36 -04:00
Length.cpp
Length.h
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 16:05:09 +02:00
Lexer.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
lyx_commit_hash.h.in
LyX.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
LyX.h
LyXAction.cpp Fix bug #7404. 2018-12-11 17:43:17 -05:00
LyXAction.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
lyxfind.cpp Fix #11241, FindAdv for wedge in subscript 2018-12-11 12:12:02 +01:00
lyxfind.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
LyXRC.cpp Fix warning 2019-09-13 09:52:33 +02:00
LyXRC.h Make it possible to select (not)native file dialogs at run time 2018-03-21 10:56:57 +01:00
LyXVC.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
LyXVC.h
lyxwinres.rc
main.cpp
Makefile.am Add -headerpad_max_install_names option to linker calls and make run path configuration consistent. 2018-09-22 20:33:41 +02:00
MetricsInfo.cpp Fixup d207e85c: paint sublabel with the correct background color 2020-06-07 14:25:48 +02:00
MetricsInfo.h Fixup d207e85c: paint sublabel with the correct background color 2020-06-07 14:25:48 +02:00
ModuleList.cpp
ModuleList.h Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +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 Add empty line after last \bibitem in bibliography (#12041) 2020-12-03 16:02:02 +01:00
output_latex.h Use TeXOnePar for the inpreamble layouts 2018-02-16 17:25:06 +01:00
output_plaintext.cpp Fix bracket output in RTL languages 2018-07-21 10:40:59 +02:00
output_plaintext.h
output_xhtml.cpp Revert "ABOVE and CENTERED labels need special treatment." 2017-10-16 21:37:59 -04:00
output_xhtml.h
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 Properly fix handling of title layouts within insets (#11787) 2020-07-04 09:44:31 +02:00
OutputParams.h Properly fix handling of title layouts within insets (#11787) 2020-07-04 09:44:31 +02:00
paper.h
Paragraph.cpp Revert [9370135c3e/lyxgit] and fix #8499 properly 2020-08-06 16:58:46 +02:00
Paragraph.h Fix right and left layout alignment (in workarea) with RTL 2019-07-11 08:31:50 +02:00
ParagraphList.h
ParagraphMetrics.cpp Remove row crc computation 2018-02-15 12:29:25 +01:00
ParagraphMetrics.h Remove row crc computation 2018-02-15 12:29:25 +01:00
ParagraphParameters.cpp
ParagraphParameters.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
ParIterator.cpp
ParIterator.h
PDFOptions.cpp Load hyperref with a suitable driver 2018-04-09 15:17:11 +02:00
PDFOptions.h
PersonalWordList.cpp
PersonalWordList.h
PrinterParams.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
PrinterParams.h
Row.cpp Fixup 7686af1ba8: japanese-cjk got forgotten 2019-06-08 09:45:15 +02:00
Row.h Make sure that rows are repainted when they get (un)selected 2018-02-15 12:29:25 +01:00
RowPainter.cpp Always paint text decoration when painting inset. 2019-05-24 10:36:13 +02:00
RowPainter.h Paint underline for insets too. 2018-09-20 17:07:10 +02:00
Server.cpp Make it nicer, thanks to JMarc 2020-04-16 21:12:30 -04: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 Make branch compilable in C++98 mode again. 2019-11-06 09:53:28 +01:00
Session.h Keep last file positions in last-use ordering 2019-10-23 15:09:23 +02:00
sgml.cpp
sgml.h
Spacing.cpp Fix switch of language and line spacing in InTitle commands. 2018-02-16 17:24:00 +01:00
Spacing.h Fix switch of language and line spacing in InTitle commands. 2018-02-16 17:24:00 +01:00
SpellChecker.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
TexRow.cpp
TexRow.h
texstream.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
texstream.h Amend bd21aa9 2018-12-08 23:16:08 +01:00
Text2.cpp Amend 89d9334e03 2020-08-15 09:19:17 +02:00
Text3.cpp Fix backspace deletion of selected items with change tracking 2020-01-27 08:42:11 +01:00
Text.cpp Show custom text styles in status bar 2020-09-16 18:43:23 +02:00
Text.h Improve DEPM 2018-09-18 23:00:46 +02:00
TextClass.cpp Fix problem with validation when using InsetLayout. 2020-02-26 22:30:34 -05:00
TextClass.h Add special chain for Modules with OutputFormat for pLaTeX (Japanese) 2017-09-01 10:32:22 +02:00
TextMetrics.cpp Take right margin into account for text inset width 2020-12-17 11:23:27 +01:00
TextMetrics.h Update insets position in cache in more cases 2018-02-15 12:29:25 +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 Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
TocBackend.h
TocBuilder.cpp
TocBuilder.h
Trans.cpp
Trans.h
Undo.cpp Skip paint event when in the middle of a buffer operation 2018-06-15 14:12:32 +02:00
Undo.h Skip paint event when in the middle of a buffer operation 2018-06-15 14:12:32 +02:00
update_flags.h Fix paragraph position in TextMetrics::singleParUpdate() 2020-07-14 19:48:55 +02:00
VCBackend.cpp Improve VCS error message when RCS is not installed. 2020-12-04 21:24:51 +01:00
VCBackend.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
version.cpp
version.h Fix bug #9101 2017-06-07 00:55:23 +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