lyx_mirror/src
Juergen Spitzmueller 388a284688 Re-add method to get a temporary file name without persistent QTemporaryFile object
This is needed for cases where the temp file has to be manually removed
at some point (e.g., if temp files are used as conversion target, and
the initial file only serves as a placeholder), since QTemporaryFile
objects cannot be manually removed at least on Windows (they are always
kept open internally even after close()). See
​http://lists.qt-project.org/pipermail/interest/2013-August/008352.html

In order to avoid race conditions due to duplicate names (the issue why
the old method was removed), we record all used temp file names.

Fixes: #9139
(cherry picked from commit 9e2928be68)
2018-02-14 17:24:37 +01:00
..
client Fix some spelling errors reported by Sven 2017-09-22 09:34:51 +02:00
convert Add suffixed lyxconvert to cmake build. 2017-10-03 22:09:57 +02:00
frontends Disable and hide the pixmap cache feature 2018-02-14 10:12:11 +01:00
graphics Fix preview with a nested preview not being shown (#10795) 2018-01-06 02:58:36 -05:00
insets Reset cur.pit() when pasting into tables. 2018-02-09 09:37:51 +01:00
mathed Avoid an infinite loop 2018-02-10 10:36:48 +01:00
support Re-add method to get a temporary file name without persistent QTemporaryFile object 2018-02-14 17:24:37 +01:00
tests Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
tex2lyx tex2lyx: normalize bib and bst paths 2018-02-09 18:57:53 +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 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 Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
buffer_funcs.h
Buffer.cpp Re-add method to get a temporary file name without persistent QTemporaryFile object 2018-02-14 17:24:37 +01:00
Buffer.h Revert "Fix bug #11055." 2018-01-28 23:51:40 -05: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 Consider class-provided citation engines 2018-02-09 09:50:43 +01:00
BufferParams.h The shell escape patch 2017-08-03 13:07:41 +02:00
BufferView.cpp Revert "Fix bug #11055." 2018-01-28 23:51:40 -05:00
BufferView.h Collapsable -> Collapsible (part 1) 2017-10-16 11:22:13 +02:00
Bullet.cpp
Bullet.h
Changes.cpp Fix issue with change-tracked deleted display math 2017-10-25 19:51:14 +02:00
Changes.h Make the generation of children's tocs more robust 2017-01-14 23:13:14 +01:00
Chktex.cpp
Chktex.h
Citation.h Support for "qualified citation lists" 2017-01-21 14:25:17 +01:00
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 Cmake build: Only use the new lyxconvert on MAC 2017-10-03 22:14:37 +02: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 Add special chain for Modules with OutputFormat for pLaTeX (Japanese) 2017-09-01 10:32:22 +02:00
Converter.h The shell escape patch 2017-08-03 13:07:41 +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 Introduce "inherit" encoding for latex_language 2018-01-20 09:22:38 +01:00
Cursor.h Introduce "inherit" encoding for latex_language 2018-01-20 09:22:38 +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 output a single char_type 2018-01-25 20:49:45 +01:00
CutAndPaste.h Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +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
DispatchResult.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
DocIterator.cpp Properly communicate forced encodings 2018-01-27 18:35:16 +01: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 Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
EnchantChecker.h
Encoding.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
Encoding.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
ErrorList.cpp Initialize pointer class member 2017-03-01 16:34:01 +01:00
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 Properly handle color none. 2018-01-04 08:23:04 +01:00
Font.h Fix bugs #10650 and #9598 2017-06-03 17:26:05 +02:00
FontEnums.h
FontInfo.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +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 Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
Format.h Move the global formats and system_formats variables into the 2017-03-13 23:40:29 -04:00
FuncCode.h Make "devel mode" configurable at run time 2017-07-24 22:00:44 +02:00
FuncRequest.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
FuncRequest.h Fix whitespace at EOL. 2017-07-03 13:46:30 -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 Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02: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 Fix child document regex in scanLogFile 2018-02-10 07:59:30 +01:00
LaTeX.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
LaTeXFeatures.cpp Consider class-provided citation engines 2018-02-09 09:50:43 +01:00
LaTeXFeatures.h Fix footnote output in tables outside floats and longtable header/footer 2017-11-20 09:49:10 +01: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 Implement auto-nesting. 2018-01-01 12:30:34 +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 Revert "Fix bug #11055." 2018-01-28 23:51:40 -05:00
Length.cpp Preferences shows current zoom instead of preference's default zoom (#10455) 2017-05-07 14:17:54 +02:00
Length.h Define new inPixels helper in BufferView 2017-04-28 15:06:30 +02: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 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 Move the global formats and system_formats variables into the 2017-03-13 23:40:29 -04:00
LyXAction.cpp Implement environment-split before and previous 2018-01-01 12:34:39 +01:00
LyXAction.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
lyxfind.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
lyxfind.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
LyXRC.cpp Collapsable -> Collapsible (part 5) 2017-11-02 16:51:23 +01:00
LyXRC.h Add default output format for pLaTeX 2017-09-09 08:53:08 +02:00
LyXVC.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
LyXVC.h
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 Collapsable -> Collapsible (part 2) 2017-10-16 11:24:41 +02:00
MetricsInfo.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
MetricsInfo.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04: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 Introduce "inherit" encoding for latex_language 2018-01-20 09:22:38 +01:00
output_latex.h Fix #10778 (issue with CJK and language nesting) 2017-11-02 11:07:11 +01:00
output_plaintext.cpp
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 Add support to cross out characters 2017-04-05 00:01:19 +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 Support for multiple bibliographies setting "per child" 2017-02-04 19:23:45 +01:00
OutputParams.h Warn re mixed layouts only for export (#10645) 2017-05-01 20:08:12 -04:00
paper.h
Paragraph.cpp Fix Null-checking issue detected by Coverity. 2018-01-12 10:31:40 +01:00
Paragraph.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
ParagraphList.h
ParagraphMetrics.cpp
ParagraphMetrics.h Fix comment 2017-07-15 18:41:56 +02:00
ParagraphParameters.cpp
ParagraphParameters.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
ParIterator.cpp
ParIterator.h
PDFOptions.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04: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 Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
Row.h Revert "When selecting text with the mouse, inset selection happens in the middle" 2017-04-06 15:17:00 +02:00
RowPainter.cpp Revert "Mark follow-up paragraphs in a paragraph group as nested." 2018-02-08 17:09:15 +01:00
RowPainter.h Add RtL information to Row 2017-02-02 14:53:01 +01:00
Server.cpp Fix some spelling errors reported by Sven 2017-09-22 09:34:51 +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 Avoid asserting when reading the session file 2017-12-02 21:37:02 +01:00
Session.h The shell escape patch 2017-08-03 13:07:41 +02:00
sgml.cpp
sgml.h
Spacing.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
Spacing.h
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 Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
Text2.cpp Collapsable -> Collapsible (part 2) 2017-10-16 11:24:41 +02:00
Text3.cpp Fix outliner movement of frames 2018-01-27 09:59:19 +01:00
Text.cpp Introduce "inherit" encoding for latex_language 2018-01-20 09:22:38 +01:00
Text.h Make "devel mode" configurable at run time 2017-07-24 22:00:44 +02:00
TextClass.cpp Differentiate Buffer strings and GUI strings in citeengines 2018-01-30 08:21:21 +01:00
TextClass.h Add special chain for Modules with OutputFormat for pLaTeX (Japanese) 2017-09-01 10:32:22 +02:00
TextMetrics.cpp Make sure to add at least one element in row if possible 2018-01-30 11:07:44 +01:00
TextMetrics.h TextMetrics::leftMargin does not need a max_width parameter 2017-07-12 10:29:27 +02: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 Collect the outliner names for the children's tocs 2017-01-14 23:13:14 +01: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 Avoid dereferencing an iterator at the end 2017-03-09 14:26:17 +01:00
Trans.h
Undo.cpp Handle properly undo groups in embedded work areas 2017-12-23 19:21:12 +01:00
Undo.h Use the proper buffer when recording undo 2017-07-04 16:34:34 +02:00
update_flags.h Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
VCBackend.cpp RCS: commit undo allowed only in unlocked state. 2018-01-11 23:47:41 +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