lyx_mirror/src
Enrico Forestieri 581400937d Fix file dialogs with Qt 5.2.0 and later.
See https://bugreports.qt-project.org/browse/QTBUG-34132

   * [QTBUG-34132] QFileDialog does no longer instantiate widgets if a
     native dialog will be used instead.  Therefore some accessors
     which previously returned unused objects will now return null.
     As before, you can set the DontUseNativeDialog option to ensure
     that widgets will be created and used instead.

Seemingly, Qt uses native dialogs by default starting from version 5.2.0.
When trying to open a file dialog, LyX segfaults in release mode, whereas
Qt asserts in debug mode:
ASSERT failure in QList<T>::at: "index out of range",
file /usr/local/qt/5.2.0/include/QtCore/qlist.h, line 472

This is avoided by explicitly setting the DontUseNativeDialog option
in the code path selected by *not* setting USE_NATIVE_FILEDIALOG.
This option was introduced in Qt 4.5, which is the minimum required
for compiling LyX. So, it is not protected by a preprocessor macro.
2013-12-24 17:21:56 +01:00
..
client Revert "Fix make distcheck for monolithic build" 2013-10-12 02:41:36 +02:00
frontends Fix file dialogs with Qt 5.2.0 and later. 2013-12-24 17:21:56 +01:00
graphics Handle is_child runparam in preview (bug #8445) 2013-09-29 14:14:15 +02:00
insets Do not load the tipa package when fontspec is used 2013-12-14 09:13:17 +01:00
mathed Make the export of macros thread-safer 2013-10-12 02:36:08 +02:00
support Implement file locking and apply to configure 2013-11-20 19:40:32 +01:00
tests Remove dependency on NO_LAYOUT_CSS #define in Layout.cpp 2013-09-29 15:26:15 +02:00
tex2lyx Fix writer2latex quote handling (bug #8903) 2013-12-11 21:54:26 +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 Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
AspellChecker.h Remove ; from end of function definitions 2013-05-12 13:04:18 +02:00
Author.cpp Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
Author.h Author: cosmetics. 2010-11-17 16:12:43 +00:00
BiblioInfo.cpp Fix encoding problems in citation labels by using docstring (not string) where appropriate 2013-07-20 16:05:52 +02:00
BiblioInfo.h Fix encoding problems in citation labels by using docstring (not string) where appropriate 2013-07-20 16:05:52 +02: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 make branch-add-insert aware of the separator ("|") [bug #6621] 2010-06-14 13:39:08 +00:00
buffer_funcs.cpp Add a real Cancel button to 'Already Loaded' dialog box (part of #8787). 2013-11-28 17:06:49 +01:00
buffer_funcs.h #7789 unify and fix buffer statistics 2012-01-12 07:03:24 +00:00
Buffer.cpp Do not attempt to set default master if we already have a parent 2013-11-23 16:51:16 +01:00
Buffer.h Revert "Do not kill the undo stack when doing a Save As..." 2013-10-04 15:01:42 +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 Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
BufferList.h New function BufferList::newInternalBuffer 2012-05-12 14:36:13 +02:00
BufferParams.cpp Do not load the xunicode package with TeX fonts 2013-12-05 17:39:16 +01:00
BufferParams.h Implement forced local layouts 2013-05-15 07:19:49 +02:00
BufferView.cpp Adding wrap-around pop-up question to simple find and replace dialog (fixing enhancement request #1262). 2013-07-21 17:51:53 +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 Add a member to TocItem that tells us whether the item in question 2013-03-08 16:38:18 -05: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 Import notefontcolor (one more step towards a working roundtrip for the LyX documentation) 2011-01-14 20:00:55 +00:00
ColorCode.h ColorCode.h: clarify a comment 2012-12-31 04:10:28 +01:00
ColorSet.h
Compare.cpp Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04: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 Typo. 2013-06-01 10:26:03 +02: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 Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
CoordCache.h Slowly going through the suggestion made by our headers script. 2013-05-15 22:02:10 -07:00
Counters.cpp Initialize initial_value_. 2013-06-02 09:41:09 -04:00
Counters.h Introduce InitialValue tag for counters. Fixes bug #8707. 2013-06-01 17:42:08 -04:00
Cursor.cpp Fix bug 7673 by reverting changes to BufferView::checkDepm 2013-05-19 22:17:14 +02:00
Cursor.h Add introduction to cursor related classes, written by JMarc. 2013-07-01 09:52:06 -07:00
CursorSlice.cpp Remove all messages to user related to assertions. We'll just use 2013-04-27 17:52:55 -04:00
CursorSlice.h
CutAndPaste.cpp Silence unwanted error popup on copying 2013-11-12 20:52:35 +01:00
CutAndPaste.h Fix image pasting regression 2013-07-13 22:44:20 +02: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 Use DispatchResult also in GuiView::dispatchVC to handle messages. 2010-10-17 10:44:53 +00:00
DocIterator.cpp Fix typo 2013-12-15 12:19:12 +01: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 src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
EnchantChecker.h Remove ; from end of function definitions 2013-05-12 13:04:18 +02:00
Encoding.cpp Encodings: Make members of CharInfo private 2013-09-29 15:26:20 +02:00
Encoding.h Encodings: Make members of CharInfo private 2013-09-29 15:26:20 +02:00
ErrorList.cpp Fix bug #7331 (No error highlighting in child documents) 2011-03-04 13:37:14 +00:00
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 Change NeedsFloatPkg to UsesFloatPkg and introduce a new float tag 2011-02-02 22:28:47 +00:00
FloatList.cpp Some cleanup for the Floating class. 2010-03-04 13:42:05 +00:00
FloatList.h
Font.cpp Fix unbalanced bracket problem with CJK 2013-10-11 12:19:41 +02: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 Implement writing of layouts 2013-03-31 15:33:26 +02:00
FontList.cpp Typos 2012-06-05 12:22:13 +02:00
FontList.h add cache of spell checker results to speed up native speller engine on macosx 2010-09-14 05:24:04 +00:00
Format.cpp remove unused and error-prone function 2013-09-15 17:19:51 +02:00
Format.h remove unused and error-prone function 2013-09-15 17:19:51 +02:00
FuncCode.h Add an LFUN for continuous spell checking 2013-03-24 20:28:37 +01: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 Remove the unclear FuncStatus::operator|=. Without knowing the internals of FuncStatus it is unsafe to use this operator, so let's not use it. 2010-04-16 12:15:27 +00:00
Graph.cpp Given how we are using this exclusion list, it makes more sense for it 2011-03-31 13:03:29 +00:00
Graph.h Given how we are using this exclusion list, it makes more sense for it 2011-03-31 13:03:29 +00:00
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 src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +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 Conversion routines for bind files. 2011-01-16 19:53:36 +00:00
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 most important case of bug #8205 2013-03-31 23:48:05 +02:00
Language.h Fix most important case of bug #8205 2013-03-31 23:48:05 +02:00
LaTeX.cpp Recognize changed babel error message (rewording) 2013-12-14 13:19:40 +01:00
LaTeX.h Catch and report BibTeX/biber errors (#2757) 2013-05-27 17:27:05 +02:00
LaTeXFeatures.cpp Fix typo 2013-12-14 15:09:23 +01:00
LaTeXFeatures.h Load babel with English-only documents (bug 8423) 2012-12-23 11:34:38 +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 Remove dependency on NO_LAYOUT_CSS #define in Layout.cpp 2013-09-29 15:26:15 +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 Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04: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 Remove dependency on TEX2LYX #define in Lexer.cpp 2013-09-29 15:26:10 +02:00
Lexer.h clang: std::string is used here, fwd is not enough 2011-12-07 16:03:37 +00:00
LyX.cpp Fix opening files from command line 2013-12-10 19:19:17 +01:00
LyX.h WS cleanup, remove extraeneous spaces 2012-10-27 01:25:38 +02:00
LyXAction.cpp Add Georg's comments from #8749. 2013-11-17 11:11:03 -08:00
LyXAction.h Bump LFUN format for LyX 2.1 2012-09-29 20:06:39 +02:00
lyxfind.cpp Added restrict-search-to-maths-only checkbox to advanced pane of Advanced F&R. 2013-10-13 00:59:46 +01:00
lyxfind.h Added restrict-search-to-maths-only checkbox to advanced pane of Advanced F&R. 2013-10-13 00:59:46 +01:00
LyXRC.cpp Bump RC format for commit 8f287f5ffa 2013-06-02 12:06:01 +02:00
LyXRC.h Implement option to set a global default output format for dics with non-tex fonts (#8706) 2013-06-01 16:58:34 +02: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 Update years 2011-01-21 13:24:23 +00:00
main.cpp Remove unneeded include. 2010-11-17 16:14:26 +00:00
Makefile.am Encodings: Split off the functions that need Buffer 2013-09-29 15:26:18 +02:00
MetricsInfo.cpp Sanitize ColorChanger 2010-09-09 13:02:20 +00:00
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 Proper camel case for FileName.absFilename 2010-04-21 01:19:09 +00:00
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 Use the master buffer's param when compiling as a child (#8893) 2013-11-18 08:46:50 +01: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 Fix crash reported by Scott on the list. The test on latexname() was 2013-07-17 11:09:03 -04:00
output_xhtml.h Fix MSVC warnings 2013-05-14 13:56:31 +02:00
output.cpp
output.h
OutputEnums.h
OutputParams.cpp Silence unwanted error popup on copying 2013-11-12 20:52:35 +01:00
OutputParams.h Silence unwanted error popup on copying 2013-11-12 20:52:35 +01:00
paper.h support for the ISO C-series paper formats; fileformat change 2010-07-13 01:06:20 +00:00
Paragraph.cpp Use the master buffer's param when compiling as a child (#8893) 2013-11-18 08:46:50 +01:00
Paragraph.h Disallow to insert an inset without a font 2013-05-19 12:48:35 +02: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 Extend the notermination flag to math as well. 2012-03-25 15:57:38 +02:00
PDFOptions.h Complete integration of texrow with otexstream and allow automatic line 2011-02-13 21:41:44 +00:00
PersonalWordList.cpp src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
PersonalWordList.h #7043 add the implementation of a persistent personal word list for LyX spell checker, aspell and hunspell backend 2010-12-02 18:52:31 +00:00
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 src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
Server.h The "single instance" patch. 2010-11-13 11:55:05 +00:00
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 src/*.cpp: reformatting to increase consistency 2012-10-28 17:42:07 +01:00
Session.h No need for a deque here. 2010-12-04 23:18:52 +00:00
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 Make sure to associate each line of the exported latex code to the id/pos 2011-03-10 04:05:49 +00:00
TexRow.h Make sure to associate each line of the exported latex code to the id/pos 2011-03-10 04:05:49 +00:00
TexStream.cpp Even more llvm/clang warnings 2013-05-02 19:22:10 +02:00
TexStream.h
Text2.cpp On Mac, moving down a paragraph should place the cursor at the end of the current paragraph 2013-05-25 18:02:21 +02:00
Text3.cpp Fix image pasting regression 2013-07-13 22:44:20 +02:00
Text.cpp Fix bug #8727: Text::breakParagraph() was always setting the default 2013-12-01 13:23:43 -05:00
Text.h Correctly handle environment sequences in TOC 2012-12-15 16:50:08 +01:00
TextClass.cpp Introduce InitialValue tag for counters. Fixes bug #8707. 2013-06-01 17:42:08 -04:00
TextClass.h Comments only. 2013-08-30 13:03:53 -04:00
TextMetrics.cpp Remove obsolete comment 2013-12-20 14:14:32 +01:00
TextMetrics.h Remove leftover of r36485. 2010-12-06 00:25:45 +00: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 Add a member to TocItem that tells us whether the item in question 2013-03-08 16:38:18 -05:00
Trans.cpp fix compiler warnings in pedantic mode: remove trailing comma after last enum member 2010-12-17 19:56:51 +00:00
Trans.h
Undo.cpp Remove all messages to user related to assertions. We'll just use 2013-04-27 17:52:55 -04:00
Undo.h Fix bug #5204: Undo removes text selection 2012-07-15 18:16:09 +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 Fix bug #6561: Crash when using Spellchecker's language box when cursor is in math. 2010-11-10 20:06:21 +00:00
WordList.cpp Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
WordList.h Clean up word lists on exit. Not really a concrete issue, but just 2011-10-15 13:38:52 +00:00