]> git.lyx.org Git - features.git/log
features.git
6 years ago* cs.po
Pavel Sanda [Thu, 22 Feb 2018 19:53:42 +0000 (20:53 +0100)]
* cs.po

6 years agoImprove documentation of inset-(begin|end)(|-select)
Jean-Marc Lasgouttes [Thu, 22 Feb 2018 16:00:54 +0000 (17:00 +0100)]
Improve documentation of inset-(begin|end)(|-select)

Make it clear that it can go at the beginning/end of the document.

6 years agoArabic Shortcuts.lyx: fixes by Hatim
Uwe Stöhr [Thu, 22 Feb 2018 14:35:50 +0000 (15:35 +0100)]
Arabic Shortcuts.lyx: fixes by Hatim

6 years agoHandle comments in options
Juergen Spitzmueller [Thu, 22 Feb 2018 10:24:43 +0000 (11:24 +0100)]
Handle comments in options

Things like
pdfpagemode=UseOutlines%None,UseOutlines,UseThumbs,FullScreen

was not imported correctly (the comment was not stripped)

Fixes the rest of #5737

6 years agoMake InsetCitation's params work like other classes.
Richard Heck [Thu, 22 Feb 2018 06:00:18 +0000 (01:00 -0500)]
Make InsetCitation's params work like other classes.

6 years agoFix bug #10897.
Richard Heck [Thu, 22 Feb 2018 05:55:10 +0000 (00:55 -0500)]
Fix bug #10897.

6 years agoFix bug #10896.
Richard Heck [Thu, 22 Feb 2018 05:46:31 +0000 (00:46 -0500)]
Fix bug #10896.

6 years agoFix bug #10895.
Richard Heck [Thu, 22 Feb 2018 05:44:39 +0000 (00:44 -0500)]
Fix bug #10895.

6 years agoFix bug #10893.
Richard Heck [Thu, 22 Feb 2018 05:34:52 +0000 (00:34 -0500)]
Fix bug #10893.

6 years agoFix bug #10892.
Richard Heck [Thu, 22 Feb 2018 05:33:28 +0000 (00:33 -0500)]
Fix bug #10892.

6 years agoFix bug #10888.
Richard Heck [Thu, 22 Feb 2018 05:29:31 +0000 (00:29 -0500)]
Fix bug #10888.

6 years agoFix bug #10886.
Richard Heck [Thu, 22 Feb 2018 05:23:37 +0000 (00:23 -0500)]
Fix bug #10886.

6 years agoFix bug #10883.
Richard Heck [Thu, 22 Feb 2018 05:21:41 +0000 (00:21 -0500)]
Fix bug #10883.

6 years agoFix bug #10882.
Richard Heck [Thu, 22 Feb 2018 05:20:19 +0000 (00:20 -0500)]
Fix bug #10882.

6 years agoFix bug #10881.
Richard Heck [Thu, 22 Feb 2018 05:17:46 +0000 (00:17 -0500)]
Fix bug #10881.

6 years agoFix bug #10880.
Richard Heck [Thu, 22 Feb 2018 05:15:07 +0000 (00:15 -0500)]
Fix bug #10880.

6 years agoFix bug #10866.
Richard Heck [Thu, 22 Feb 2018 05:12:24 +0000 (00:12 -0500)]
Fix bug #10866.

6 years agoFix bug #10863.
Richard Heck [Thu, 22 Feb 2018 05:09:01 +0000 (00:09 -0500)]
Fix bug #10863.

6 years agoArabic Shortcuts.lyx: translation update from Hatim
Uwe Stöhr [Wed, 21 Feb 2018 18:58:25 +0000 (19:58 +0100)]
Arabic Shortcuts.lyx: translation update from Hatim

6 years agoru.po: corrections by Yuriy
Uwe Stöhr [Wed, 21 Feb 2018 18:58:11 +0000 (19:58 +0100)]
ru.po: corrections by Yuriy

6 years ago More French translations of the UserGuide
jpc [Wed, 21 Feb 2018 15:46:15 +0000 (16:46 +0100)]
 More French translations of the UserGuide

6 years agoImplement IsTocCaption for normal layouts.
Juergen Spitzmueller [Wed, 21 Feb 2018 15:37:07 +0000 (16:37 +0100)]
Implement IsTocCaption for normal layouts.

But use default "true" to maintain current behavior if not explicitly
stated otherwise.

Fixes: #11045
6 years agosmall doc glitches
Pavel Sanda [Wed, 21 Feb 2018 13:47:03 +0000 (14:47 +0100)]
small doc glitches

6 years ago Better French translation for strike/cross out
jpc [Wed, 21 Feb 2018 13:08:14 +0000 (14:08 +0100)]
   Better French translation for strike/cross out

6 years agowhitespace
Jean-Marc Lasgouttes [Wed, 21 Feb 2018 11:09:18 +0000 (12:09 +0100)]
whitespace

6 years agoAdd Alex Dunlap to our contributors
Jean-Marc Lasgouttes [Wed, 21 Feb 2018 11:05:40 +0000 (12:05 +0100)]
Add Alex Dunlap to our contributors

6 years agosave session when we save a buffer
Alexander Dunlap [Thu, 15 Feb 2018 19:28:34 +0000 (11:28 -0800)]
save session when we save a buffer

Implements enhancement #10712.

6 years ago More translations for fr/UserGuire.lyx
jpc [Wed, 21 Feb 2018 10:49:49 +0000 (11:49 +0100)]
   More translations for fr/UserGuire.lyx

6 years agoFix list of viewable formats in view/update menu.
Juergen Spitzmueller [Wed, 21 Feb 2018 09:17:10 +0000 (10:17 +0100)]
Fix list of viewable formats in view/update menu.

Also fix list in (currently unused) Export toolbar button.

Fixes: #11044
6 years agoMark Galician and Serbian translators as inactive
Scott Kostyshak [Wed, 21 Feb 2018 03:37:29 +0000 (22:37 -0500)]
Mark Galician and Serbian translators as inactive

Their email addresses do not work and they have not committed
changes for a few years. For discussion on marking translators
inactive, see:

  https://www.mail-archive.com/search?l=mid&q=1519114839.3586.1.camel%40lyx.org

6 years agoport the recent fixes and update of layouttranslations to master
Uwe Stöhr [Tue, 20 Feb 2018 19:42:36 +0000 (20:42 +0100)]
port the recent fixes and update of layouttranslations to master

6 years agomove README.Documentation to attic
Uwe Stöhr [Tue, 20 Feb 2018 19:31:00 +0000 (20:31 +0100)]
move README.Documentation to attic

It is outdated since many years now and we have the relevant info in the Development.lyx file

6 years agoar.po and layouttranslations: updates from Hatim
Uwe Stöhr [Tue, 20 Feb 2018 17:06:06 +0000 (18:06 +0100)]
ar.po and layouttranslations: updates from Hatim

6 years agoLocalize items in view/update popup icons
Juergen Spitzmueller [Tue, 20 Feb 2018 15:42:01 +0000 (16:42 +0100)]
Localize items in view/update popup icons

Fixes: #11040
6 years agoKill macro mode when using LFUN_ESCAPE
Jean-Marc Lasgouttes [Tue, 20 Feb 2018 11:09:10 +0000 (12:09 +0100)]
Kill macro mode when using LFUN_ESCAPE

Add a `cancel' boolean to macroModeClose() that just removes all trace
of what has been entered instead of finalizing it.

When entering a macro in mathed, let LFUN_ESCAPE invoke
macroModeClose(true). The new semantics of LFUN_ESCAPE in mathed is
thus to abort the input of a macro name.

Fixes bug #9251.

6 years agoCmake build: Use correct list of files to recreate lib/layouttranslation
Kornel Benko [Tue, 20 Feb 2018 10:16:59 +0000 (11:16 +0100)]
Cmake build: Use correct list of files to recreate lib/layouttranslation

6 years agoScript for creating torrents for files stored on our ftp site.
Pavel Sanda [Mon, 19 Feb 2018 23:45:50 +0000 (00:45 +0100)]
Script for creating torrents for files stored on our ftp site.

6 years agosplash.lyx and ru.po: updates from Yuriy
Uwe Stöhr [Mon, 19 Feb 2018 22:32:20 +0000 (23:32 +0100)]
splash.lyx and ru.po: updates from Yuriy

6 years agoel.po: translations from Odysseas
Uwe Stöhr [Mon, 19 Feb 2018 22:24:14 +0000 (23:24 +0100)]
el.po: translations from Odysseas

6 years agolayouttranslations and uk.po: corrections from Yuri
Uwe Stöhr [Mon, 19 Feb 2018 22:16:06 +0000 (23:16 +0100)]
layouttranslations and uk.po: corrections from Yuri

6 years agoImprove metrics of equations. More work remains to be done.
Jean-Marc Lasgouttes [Mon, 19 Feb 2018 17:24:29 +0000 (18:24 +0100)]
Improve metrics of equations. More work remains to be done.

Use proper value for above/below skip (12pt) instead of the hardcoded
12 pixels.

Add forgotten skip before display math preview.

Make "too small preview" size dpi-dependent.
Make gap in front of equation (what is it good for, BTW?) dpi-dependent.

6 years agoFix convert_separator routine with ancient LyX files.
Juergen Spitzmueller [Mon, 19 Feb 2018 17:03:52 +0000 (18:03 +0100)]
Fix convert_separator routine with ancient LyX files.

6 years agoescape label in included listings
Juergen Spitzmueller [Mon, 19 Feb 2018 16:15:31 +0000 (17:15 +0100)]
escape label in included listings

Also use docstring rather than string.

Fixes part of #10544

6 years agofr.po: sync with the 2.3.x branch
Uwe Stöhr [Sun, 18 Feb 2018 22:45:05 +0000 (23:45 +0100)]
fr.po: sync with the 2.3.x branch

After the release the po files will be out of sync but they should be in sync until the release to keep consistent translations.

6 years agoFrench UserGuide.lyx: fix a typo
Uwe Stöhr [Sun, 18 Feb 2018 22:42:03 +0000 (23:42 +0100)]
French UserGuide.lyx: fix a typo

6 years agoRevert "* ANNOUNCE - be explicit about slowness."
jpc [Sun, 18 Feb 2018 21:54:58 +0000 (22:54 +0100)]
Revert "* ANNOUNCE - be explicit about slowness."

This reverts commit 9bdfc3ff0d68fb44dcb024016ba4e0415e98e8a2.

6 years ago* ANNOUNCE - be explicit about slowness.
Pavel Sanda [Sun, 18 Feb 2018 09:24:19 +0000 (10:24 +0100)]
* ANNOUNCE - be explicit about slowness.

6 years ago Partial update of fr/UserGuide.lyx
jpc [Sun, 18 Feb 2018 21:43:24 +0000 (22:43 +0100)]
    Partial update of fr/UserGuide.lyx

6 years agoMakefile.am: forgot this in the previous commit
Uwe Stöhr [Sun, 18 Feb 2018 14:52:30 +0000 (15:52 +0100)]
Makefile.am: forgot this in the previous commit

6 years agoWin installer: convert all files to Unicode
Uwe Stöhr [Sun, 18 Feb 2018 14:45:08 +0000 (15:45 +0100)]
Win installer: convert all files to Unicode

- at the moment some files were in Unicode, some in CP1252 which can make unnecessary troubles
- remove an obsolete file
- update InstallerStructure.odg

6 years ago* README.localization
Pavel Sanda [Sun, 18 Feb 2018 11:29:39 +0000 (12:29 +0100)]
* README.localization

6 years agogrammar
Juergen Spitzmueller [Sun, 18 Feb 2018 08:19:03 +0000 (09:19 +0100)]
grammar

6 years agoAdd Nomenclature to localization_test.lyx
Scott Kostyshak [Sun, 18 Feb 2018 04:27:39 +0000 (23:27 -0500)]
Add Nomenclature to localization_test.lyx

6 years agoWin installer: MiKTeX has a new maintenance program
Uwe Stöhr [Sun, 18 Feb 2018 05:11:11 +0000 (06:11 +0100)]
Win installer: MiKTeX has a new maintenance program

- therefore the command line parameters changed
- all babel packages must be required
- use another default mirror that is hopefully not down 2hours every day

6 years agoport recent Basque translation updates
Uwe Stöhr [Sun, 18 Feb 2018 01:24:22 +0000 (02:24 +0100)]
port recent Basque translation updates

6 years ago Untranslated menu name in fr/EmbeddedObjects.lyx
jpc [Sat, 17 Feb 2018 17:42:05 +0000 (18:42 +0100)]
  Untranslated menu name in fr/EmbeddedObjects.lyx

6 years ago A couple of forgotten items in fr/Additional.lyx
jpc [Sat, 17 Feb 2018 17:30:52 +0000 (18:30 +0100)]
  A couple of forgotten items in fr/Additional.lyx

6 years ago Remove spurious occurrence of AGU and EGS chapters in fr/Additional.lyx
jpc [Sat, 17 Feb 2018 16:54:24 +0000 (17:54 +0100)]
     Remove spurious occurrence of AGU and EGS chapters in fr/Additional.lyx

6 years agoAnother go at fixing string metrics
Jean-Marc Lasgouttes [Sat, 17 Feb 2018 15:55:22 +0000 (16:55 +0100)]
Another go at fixing string metrics

This time, it is the problems with \int in esint and cmex that we are
trying to work around. This code is becoming too complicated to my
taste.

6 years agoSkip insets when checking for uncodable chars to paste.
Juergen Spitzmueller [Sat, 17 Feb 2018 11:27:26 +0000 (12:27 +0100)]
Skip insets when checking for uncodable chars to paste.

Fixes paste of quote insets to ERT/chunk.

6 years agoAdapt to new ChkTeX return values.
Juergen Spitzmueller [Sat, 17 Feb 2018 10:25:28 +0000 (11:25 +0100)]
Adapt to new ChkTeX return values.

As of v. 1.7.7, chktex has four exit values. Only consider the program
failed with EXIT_FAILURE (1). This is backwards compatible to chktex
up to v. 1.7.5 and later patched versions included in TeXLive, where
there was the distinction EXIT_FAILURE (program failed) and EXIT_SUCCESS
(program successfully run, with or without something to report).

Note that ChkTeX v. 1.7.5 and 1.7.6 vanilla (as included in MikTeX) also
returned EXITE_FAILURE if ChkTeX found something to report.

We do not, and never did, support this case.

Fixes: #9989 (after ChkTeX 1.7.7. is released).
6 years agoWin installer: fix installation of Arabic dictionaries.nsh
Uwe Stöhr [Sat, 17 Feb 2018 05:05:13 +0000 (06:05 +0100)]
Win installer: fix installation of Arabic dictionaries.nsh

- correct name of Arabic spell checker (fixes bug #11036)
- add Arabic thesaurus
- update sourceforge's mirror list
- update some dictionaries

6 years agoANNOUNCE: copy from current 2.3.x branch
Scott Kostyshak [Thu, 15 Feb 2018 19:55:08 +0000 (14:55 -0500)]
ANNOUNCE: copy from current 2.3.x branch

This ANNOUNCE is the ANNOUNCE of 2.3.0rc2 plus one significant
change (37b5aa1e on 2.3.x branch) of giving a URL to the list of
mirrors.

6 years agoDisable unsupported ref types in mathed.
Juergen Spitzmueller [Wed, 14 Feb 2018 16:18:24 +0000 (17:18 +0100)]
Disable unsupported ref types in mathed.

Also repair prettyref in InsetMathRef.

Part of #9798

6 years agoUserGuide.lyx: document the removal of the pixmap cache for all languages
Uwe Stöhr [Wed, 14 Feb 2018 13:51:22 +0000 (14:51 +0100)]
UserGuide.lyx: document the removal of the pixmap cache for all languages

6 years agoUpdated Basque localization by Iñaki Larrañaga Murgoitio
Juergen Spitzmueller [Tue, 13 Feb 2018 17:35:36 +0000 (18:35 +0100)]
Updated Basque localization by Iñaki Larrañaga Murgoitio

6 years agoAlso fix chapter layout in tufte-book.
Richard Heck [Mon, 12 Feb 2018 21:29:54 +0000 (16:29 -0500)]
Also fix chapter layout in tufte-book.

6 years agoFix crash when citeengine is unknown.
Richard Heck [Mon, 12 Feb 2018 21:26:27 +0000 (16:26 -0500)]
Fix crash when citeengine is unknown.

6 years ago* lib/layouttranslations, sync with 2.3
Pavel Sanda [Mon, 12 Feb 2018 20:40:06 +0000 (21:40 +0100)]
* lib/layouttranslations, sync with 2.3

6 years agoFixing painting regression - chapter top spacing.
Pavel Sanda [Mon, 12 Feb 2018 20:14:56 +0000 (21:14 +0100)]
Fixing painting regression - chapter top spacing.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg203685.html

6 years agoru.po: some corrections by Yuriy
Uwe Stöhr [Mon, 12 Feb 2018 18:05:07 +0000 (19:05 +0100)]
ru.po: some corrections by Yuriy

6 years agoCustomization.lyx: distribute all tracked changes
Uwe Stöhr [Mon, 12 Feb 2018 17:53:12 +0000 (18:53 +0100)]
Customization.lyx: distribute all tracked changes

6 years agoUpdated Basque localization by Iñaki Larrañaga Murgoitio
Juergen Spitzmueller [Mon, 12 Feb 2018 16:33:01 +0000 (17:33 +0100)]
Updated Basque localization by Iñaki Larrañaga Murgoitio

6 years agoThere is actually a home for obsolete templates in Makefile
Jean-Marc Lasgouttes [Mon, 12 Feb 2018 16:19:10 +0000 (17:19 +0100)]
There is actually a home for obsolete templates in Makefile

Fixup to 24fd7d2b.

6 years agoUse parMetrics to access the par_metrics_ map
Jean-Marc Lasgouttes [Mon, 12 Feb 2018 16:11:09 +0000 (17:11 +0100)]
Use parMetrics to access the par_metrics_ map

In cursorY, it is dangerous to access par_petrics_[0], since one does
not know whether metrics have been computed for this paragraph (which
may be off-screen).

It is safer to use parMetrics(0), that will compute the paragraph
metrics as needed.

Fixes bug #8120.

6 years agoRemove template AGUTeX.lyx from Makefile
Jean-Marc Lasgouttes [Mon, 12 Feb 2018 16:06:19 +0000 (17:06 +0100)]
Remove template AGUTeX.lyx from Makefile

6 years agoImplement buffer-anonymize more efficiently
Jean-Marc Lasgouttes [Wed, 7 Feb 2018 14:35:46 +0000 (15:35 +0100)]
Implement buffer-anonymize more efficiently

The work is done now in Paragraph::anonymize().

Move the handling of the lfun to Buffer class.

6 years ago Remove sections 6.7 and 6.4 from Additional manual (obsolete classes egs and...
jpc [Mon, 12 Feb 2018 10:30:18 +0000 (11:30 +0100)]
   Remove sections 6.7 and 6.4 from Additional manual (obsolete classes egs and aguplus)
       Edit LaTeXConfig.lyx accordingly
       Move teaplates/AGUTeX.lyx to teaplates/obsolete

6 years agobiblatex-natbib.citeengine: Remove erroneous blank
Juergen Spitzmueller [Sun, 11 Feb 2018 15:43:14 +0000 (16:43 +0100)]
biblatex-natbib.citeengine: Remove erroneous blank

6 years agoDisable BUFFER_EXPORT and BUFFER_EXPORT_AS while buffer is processed
Juergen Spitzmueller [Sun, 11 Feb 2018 08:50:38 +0000 (09:50 +0100)]
Disable BUFFER_EXPORT and BUFFER_EXPORT_AS while buffer is processed

I am rather irritated we didn't do this already, since synchronous runs
with BUFFER_VIEW or BUFFER_UPDATE leads to all sorts of problems,
including crashes.

Fixes the crash in #8338 (but not the bug itself).

6 years agoru.po: is now 100% translated
Uwe Stöhr [Sat, 10 Feb 2018 18:34:42 +0000 (19:34 +0100)]
ru.po: is now 100% translated

big respect to Yuriy!

6 years agoamend 71fea633266
Juergen Spitzmueller [Sat, 10 Feb 2018 18:02:35 +0000 (19:02 +0100)]
amend 71fea633266

6 years agoDisable CheckTeX while buffer is processed
Juergen Spitzmueller [Sat, 10 Feb 2018 17:18:43 +0000 (18:18 +0100)]
Disable CheckTeX while buffer is processed

Since CheckTeX itself processes the tex file, a synchronous run with
a TeX process can lead to all sorts of conflicts, including crashes.

Fixes: #7434.
6 years agoFix race condition in processFuncRequestQueue
Juergen Spitzmueller [Sat, 10 Feb 2018 14:35:12 +0000 (15:35 +0100)]
Fix race condition in processFuncRequestQueue

The issue here was that the element was only removed from the queue
after the func request was processed, but within that process, other
function could access the queue, so the queue could even be empty
when this function finally wanted to remove the item.

Fixes: #10406.
6 years agoCmake build: Allow cross-compiling with mingw again
Kornel Benko [Sat, 10 Feb 2018 10:21:08 +0000 (11:21 +0100)]
Cmake build: Allow cross-compiling with mingw again

1.) The check for "QT_USES_X11" expects the created application
  to run, but the '.exe' file does not run on linux.
2.) Don't use megered build anymore, it is not faster
  on multi-processor machines anyway

6 years agoFix Windows compiler warning about double declaration of "it"
Juergen Spitzmueller [Sat, 10 Feb 2018 07:21:48 +0000 (08:21 +0100)]
Fix Windows compiler warning about double declaration of "it"

See #10912

6 years agoCosmetics per JMarc's suggestions.
Pavel Sanda [Fri, 9 Feb 2018 22:46:14 +0000 (23:46 +0100)]
Cosmetics per JMarc's suggestions.

6 years agoAvoid an infinite loop
Enrico Forestieri [Fri, 9 Feb 2018 22:35:33 +0000 (23:35 +0100)]
Avoid an infinite loop

When pasting "\big" without any following delimiter, avoid
processing the same token again and again. For unknown reasons,
the delim docstring turns out to always be not empty: even when
it simply contains a '0' (no delimiter follows), its length is 1.

Fixes bug #11027.

6 years agolyx2lyx fixes and cleanup.
Günter Milde [Fri, 9 Feb 2018 15:49:23 +0000 (16:49 +0100)]
lyx2lyx fixes and cleanup.

Don't insert empty line when translating QuoteInsets to literal
quotes.

Fix regexp pattern in re/convert_dashligatures.

Adjust logic in re/convert_dash(ligatur)es.

6 years agotex2lyx: normalize bib and bst paths
Juergen Spitzmueller [Fri, 9 Feb 2018 12:23:50 +0000 (13:23 +0100)]
tex2lyx: normalize bib and bst paths

Fixes: #7637
6 years agoFix child document regex in scanLogFile
Juergen Spitzmueller [Fri, 9 Feb 2018 10:42:18 +0000 (11:42 +0100)]
Fix child document regex in scanLogFile

Several problems:
* The regex failed at names such as 1_text_2_text.tex
  (returned "2_text.tex)
* The regex failed at names such as 12_text.tex
  (returned "2_text.tex)
* Masters with digits in the name (2018_text.tex) were
  tracked as their own children

6 years agoUpdate sk.po
Kornel Benko [Thu, 8 Feb 2018 22:33:54 +0000 (23:33 +0100)]
Update sk.po

6 years agoProper naming of LFUN_SET_GRAPHICS_GROUP.
Pavel Sanda [Thu, 8 Feb 2018 20:59:41 +0000 (21:59 +0100)]
Proper naming of LFUN_SET_GRAPHICS_GROUP.

6 years agoGroup similar lfuns.
Pavel Sanda [Thu, 8 Feb 2018 20:53:08 +0000 (21:53 +0100)]
Group similar lfuns.

6 years agoUnify graphics-groups inside marked block functionality.
Pavel Sanda [Thu, 8 Feb 2018 20:33:37 +0000 (21:33 +0100)]
Unify graphics-groups inside marked block functionality.

Fixes #11026.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg203683.html

6 years agoReset cur.pit() when pasting into tables.
Juergen Spitzmueller [Thu, 8 Feb 2018 18:06:35 +0000 (19:06 +0100)]
Reset cur.pit() when pasting into tables.

The number of paragraphs can change here, so pit() can become invalid.

Fixes: #9983
6 years agoRevert "Mark follow-up paragraphs in a paragraph group as nested."
Juergen Spitzmueller [Thu, 8 Feb 2018 16:00:41 +0000 (17:00 +0100)]
Revert "Mark follow-up paragraphs in a paragraph group as nested."

This reverts commit 761a542551bc944c0efef0d123c2b71631d2652a.

6 years agoConsider class-provided citation engines
Juergen Spitzmueller [Thu, 8 Feb 2018 12:25:19 +0000 (13:25 +0100)]
Consider class-provided citation engines

Do not attempt to load, nor allow to set, a different engine in this
case.

Fixes: #11022
6 years agoRemove createTempFile method
Juergen Spitzmueller [Thu, 8 Feb 2018 11:16:30 +0000 (12:16 +0100)]
Remove createTempFile method

and use the new and safer tempFileName() method instead for the creation
of temporary directories

6 years agoRe-add method to get a temporary file name without persistent QTemporaryFile object
Juergen Spitzmueller [Thu, 8 Feb 2018 10:31:23 +0000 (11:31 +0100)]
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