]> git.lyx.org Git - lyx.git/log
lyx.git
8 years agoCmake export tests: Handle attic files with now missing references to png graphics
Kornel Benko [Thu, 10 Dec 2015 14:20:07 +0000 (15:20 +0100)]
Cmake export tests: Handle attic files with now missing references to png graphics

8 years agoReplace now invalid png graphics with the svgz graphics
Kornel Benko [Thu, 10 Dec 2015 12:24:59 +0000 (13:24 +0100)]
Replace now invalid png graphics with the svgz graphics

8 years agoSet default output format for manuals to PDF (pdflatex).
Günter Milde [Thu, 10 Dec 2015 09:40:50 +0000 (10:40 +0100)]
Set default output format for manuals to PDF (pdflatex).

Pdflatex is the recommended export tool for the manuals.
Pdflatex brings the best results for hyperlinking.
Some features (e.g. rotated text) are not available in DVI or PS (dvips).

This does not affect export from command line or autotests
(where this setting is ignored and the format must aways be given explicitely).

8 years agoCMakeLists.txt: fix whitespace
Uwe Stöhr [Thu, 10 Dec 2015 00:24:04 +0000 (01:24 +0100)]
CMakeLists.txt: fix whitespace

8 years agoInset files: add includes to compile with cxx11
Uwe Stöhr [Thu, 10 Dec 2015 00:15:16 +0000 (01:15 +0100)]
Inset files: add includes to compile with cxx11

see the list thread "Re: use FindCXX11Compiler.cmake also for MSVC"

8 years agoUserGuide.lyx: use some info-inset icons
Uwe Stöhr [Wed, 9 Dec 2015 23:37:54 +0000 (00:37 +0100)]
UserGuide.lyx: use some info-inset icons

8 years agoMath.lyx: use some icon-info insets
Uwe Stöhr [Wed, 9 Dec 2015 23:27:13 +0000 (00:27 +0100)]
Math.lyx: use some icon-info insets

8 years agoWhen counting hfills, make sure that they are active
Jean-Marc Lasgouttes [Fri, 27 Nov 2015 10:50:26 +0000 (11:50 +0100)]
When counting hfills, make sure that they are active

The active/inactive status of hfills was not checked in numberOfHFills.

The code is reorganized a bit, but the important part is the change in the above function.

Part of bug #9870.

8 years agonow we have MSVC13 3rdparty binaries
Peter Kümmel [Wed, 9 Dec 2015 15:44:42 +0000 (16:44 +0100)]
now we have MSVC13 3rdparty binaries

8 years agoqtmain also needed for Qt5 on Windows
Peter Kümmel [Wed, 9 Dec 2015 15:20:54 +0000 (16:20 +0100)]
qtmain also needed for Qt5 on Windows

8 years agoCmake build: Initialize some variables before use.
Kornel Benko [Wed, 9 Dec 2015 14:37:58 +0000 (15:37 +0100)]
Cmake build: Initialize some variables before use.

8 years agoRemember the last used QTextLayout object
Jean-Marc Lasgouttes [Mon, 7 Dec 2015 09:32:34 +0000 (10:32 +0100)]
Remember the last used QTextLayout object

This crude caching mecanism is useful in the particular case of a screen with many misspelling dotted lines. In this case, it is necessary to build a QTextLayout in order to know where to put the start/end of the spell line. Since rows typically contains text snippets longer than a word, we may be in a situation where the same QTextLayout is constructed repeatedly.

This commit is useful in this particular use case, and should not be costly in other cases. A better fix would be to remember the QTextLayout associated to each row element. This is a bit more work, so this fix should be sufficient for now.

Additionally, do not paint misspelled marks when painting is disabled.

Fixes bug #9890.

8 years agoStructure export autotest documentation.
Günter Milde [Wed, 9 Dec 2015 08:54:25 +0000 (09:54 +0100)]
Structure export autotest documentation.

8 years agoSet default output for "complex" manuals to PDF (pdflatex).
Günter Milde [Wed, 9 Dec 2015 07:54:38 +0000 (08:54 +0100)]
Set default output for "complex" manuals to PDF (pdflatex).

This is the "design format" for the manuals. Some features do not
work in other formats.
See http://permalink.gmane.org/gmane.editors.lyx.devel/158616

8 years agoMath.lyx: image adjustments
Uwe Stöhr [Wed, 9 Dec 2015 01:30:38 +0000 (02:30 +0100)]
Math.lyx: image adjustments

the font size is 12 pt so the icons can have this size too; besides this readability is ore important than to fit in a text line

8 years agoJapanese UserGuide.lyx: make document compilable without PNGs
Uwe Stöhr [Wed, 9 Dec 2015 01:22:48 +0000 (02:22 +0100)]
Japanese UserGuide.lyx: make document compilable without PNGs

also some small corrections and adjustments

8 years agoUserGuide.lyx: remove some unnecessary TeX code
Uwe Stöhr [Wed, 9 Dec 2015 01:13:04 +0000 (02:13 +0100)]
UserGuide.lyx: remove some unnecessary TeX code

8 years agoFrench UserGuide.lyx: make document compilable without PNGs
Uwe Stöhr [Wed, 9 Dec 2015 01:11:40 +0000 (02:11 +0100)]
French UserGuide.lyx: make document compilable without PNGs

also store default output format and other small corrections and adjustments

8 years agoGerman UserGuide.lyx: make document compilable without PNGs
Uwe Stöhr [Wed, 9 Dec 2015 00:56:10 +0000 (01:56 +0100)]
German UserGuide.lyx: make document compilable without PNGs

also store default output format and many other small corrections and adjustments

8 years agoEnglish UserGuide.lyx: make document compilable without PNGs
Uwe Stöhr [Wed, 9 Dec 2015 00:31:53 +0000 (01:31 +0100)]
English UserGuide.lyx: make document compilable without PNGs

also store default output format

8 years agoSpanish UserGuide.lyx: make document compilable without PNGs
Uwe Stöhr [Wed, 9 Dec 2015 00:25:57 +0000 (01:25 +0100)]
Spanish UserGuide.lyx: make document compilable without PNGs

8 years agoWrong regex
Kornel Benko [Tue, 8 Dec 2015 17:29:12 +0000 (18:29 +0100)]
Wrong regex

8 years agoMake Math.lyx compilable again.
Günter Milde [Tue, 8 Dec 2015 16:42:20 +0000 (17:42 +0100)]
Make Math.lyx compilable again.

After removing "unneded" PNG files from the repo, this manual failed.
Skaling is done to ensure that the icons are approximately one M high.

Also, the default output is set to PDF (pdflatex) as this is said to be the export
format our manuals are designed for.

8 years agoseminar.sty works also with non-TeX fonts but requires Babel.
Günter Milde [Tue, 8 Dec 2015 16:40:15 +0000 (17:40 +0100)]
seminar.sty works also with non-TeX fonts but requires Babel.

Always-Babel now set in the example document.

Adapted the autotest categorization:
* fails for some developers (why?)
* wrong output with pdflatex/LuaTeX and DVI (missing landscape slides).

8 years agoFix typo.
Richard Heck [Tue, 8 Dec 2015 15:41:22 +0000 (10:41 -0500)]
Fix typo.

8 years agoExplain why we do not update the local layout
Scott Kostyshak [Tue, 8 Dec 2015 06:33:41 +0000 (01:33 -0500)]
Explain why we do not update the local layout

We do not update the local layout of our .lyx files because users
would then not be able to export to older formats. For example, if a
2.2.0 user exported a template to 2.1.x format and tried to open the
file in LyX 2.1.x, there would be an error because the file would
contain a local layout whose format is too new. The root reason for
this is that we do not convert layouts to older layout formats.

8 years agobuild5.bat: explicitly set QT5
Uwe Stöhr [Tue, 8 Dec 2015 00:40:48 +0000 (01:40 +0100)]
build5.bat: explicitly set QT5

8 years agobuild5.bat: a script to compile with Qt5 on Windows
Uwe Stöhr [Tue, 8 Dec 2015 00:23:54 +0000 (01:23 +0100)]
build5.bat: a script to compile with Qt5 on Windows

This script shows how i compile. If we figured out every corner cases with it it should become the standard build script for Windows

8 years agoFix syntax error whe testing old compilers
Jean-Marc Lasgouttes [Mon, 7 Dec 2015 21:51:36 +0000 (22:51 +0100)]
Fix syntax error whe testing old compilers

8 years agoExplain why rsvg_convert is in front of inkscape
Georg Baum [Mon, 7 Dec 2015 20:17:33 +0000 (21:17 +0100)]
Explain why rsvg_convert is in front of inkscape

Otherwise it could easily happen that the order is changed, since rsvg_convert
seems to be more picky about invalid files (see http://www.lyx.org/trac/ticket/9891)

8 years agoCmake export tests: Mark seminar dvi3 exports as creating wrong output
Kornel Benko [Mon, 7 Dec 2015 18:30:48 +0000 (19:30 +0100)]
Cmake export tests: Mark seminar dvi3 exports as creating wrong output

8 years agoRemove unneeded png images.
Enrico Forestieri [Mon, 7 Dec 2015 18:14:44 +0000 (19:14 +0100)]
Remove unneeded png images.

Fixes #9857.

8 years agosplash.lyx: avoid bitmap fonts if possible.
Günter Milde [Mon, 7 Dec 2015 16:57:55 +0000 (17:57 +0100)]
splash.lyx: avoid bitmap fonts if possible.

8 years agoctest export test documentation update
Günter Milde [Mon, 7 Dec 2015 16:56:43 +0000 (17:56 +0100)]
ctest export test documentation update

8 years agoAdd note explaining the need for a final clearpage.
Günter Milde [Mon, 7 Dec 2015 16:55:53 +0000 (17:55 +0100)]
Add note explaining the need for a final clearpage.

8 years agoDetect properly when cursor position cannot be computed
Jean-Marc Lasgouttes [Fri, 4 Dec 2015 22:26:16 +0000 (23:26 +0100)]
Detect properly when cursor position cannot be computed

Replace old ad-hoc test by a better one that inspects the coordcache to see whether all the insets in the cursor are known.

Fixes bug #9881.

8 years agoFix a debug comment
Scott Kostyshak [Mon, 7 Dec 2015 07:02:04 +0000 (02:02 -0500)]
Fix a debug comment

8 years agoRevert "InsetFootlike.cpp: disable listings inside footnotes"
Scott Kostyshak [Mon, 7 Dec 2015 03:43:36 +0000 (22:43 -0500)]
Revert "InsetFootlike.cpp: disable listings inside footnotes"

Although af8ba5e0 fixed #9321, it broke a valid use case that was
reported by a user at #9785. Hopefully we can come up with a better
fix for #9321.

This reverts commit af8ba5e0696c0e1989effe4179c990a054bc06df.

8 years agoChanges to theorems-named.module that fix #8796.
Richard Heck [Sun, 6 Dec 2015 20:45:44 +0000 (15:45 -0500)]
Changes to theorems-named.module that fix #8796.

8 years agoctest automatic tests: small correcions to pattern files and documenation.
Günter Milde [Sun, 6 Dec 2015 20:21:46 +0000 (21:21 +0100)]
ctest automatic tests: small correcions to pattern files and documenation.

8 years agoGreek manuals: Avoid dependency on Latin Modern fonts.
Günter Milde [Sun, 6 Dec 2015 20:18:03 +0000 (21:18 +0100)]
Greek manuals: Avoid dependency on Latin Modern fonts.

8 years agoMake languagenesting1.lyx less TeX dependent
Georg Baum [Sun, 6 Dec 2015 19:48:48 +0000 (20:48 +0100)]
Make languagenesting1.lyx less TeX dependent

The previous version did only fail because I did not have latin support for
polyglossia in my TeX installation, the LyX export was fine.

8 years agoUse std::regex automatically in C++11 mode
Georg Baum [Sun, 6 Dec 2015 19:04:21 +0000 (20:04 +0100)]
Use std::regex automatically in C++11 mode

This is consistent with autotools. The only exception is MSVC, since we do not
know yet whether it works.

8 years agoThis languagenesting1.lyx fails with 2.1
Georg Baum [Sun, 6 Dec 2015 17:51:58 +0000 (18:51 +0100)]
This languagenesting1.lyx fails with 2.1

Add some stuff to languagenesting1.lyx that makes it fail with LyX 2.1 (and
2.2 as well)

8 years agoUpdate it.po
Enrico Forestieri [Sun, 6 Dec 2015 17:33:17 +0000 (18:33 +0100)]
Update it.po

8 years agoMerge translations from 2.1.x branch
Georg Baum [Sun, 6 Dec 2015 10:39:47 +0000 (11:39 +0100)]
Merge translations from 2.1.x branch

The translations have been merged by calling
python development/tools/mergepo.py -n ../lyx-2.1-git/po
cd po; make update-gmo
For some languages it may make sense to merge also changed translations,
but this neds to be decided by the individual translators.

8 years agoAdd option to skip null translations
Georg Baum [Sun, 6 Dec 2015 10:27:48 +0000 (11:27 +0100)]
Add option to skip null translations

he.po in branch contains a number of translations where the translation is
identical with the original text (e.g. for encoding names) which look suspicios
to me. Therefore I did not want to merge these and leave the decision to the
translator. No information is lost, since these "translations" can easily be
recreated from the original texts by copy-paste.

8 years agoinstaller: use Qt 5 for LyX 2.2.x releases
Uwe Stöhr [Sun, 6 Dec 2015 04:14:45 +0000 (05:14 +0100)]
installer: use Qt 5 for LyX 2.2.x releases

8 years agoCustomization.lyx: merge all recent changes
Uwe Stöhr [Sun, 6 Dec 2015 03:44:33 +0000 (04:44 +0100)]
Customization.lyx: merge all recent changes

8 years agoUpdate layout files to format 58.
Richard Heck [Sat, 5 Dec 2015 23:14:38 +0000 (18:14 -0500)]
Update layout files to format 58.

8 years agoDocumentation for previous change to layout format.
Richard Heck [Fri, 4 Dec 2015 02:07:41 +0000 (21:07 -0500)]
Documentation for previous change to layout format.

8 years agoAdd new ProvideStyle tag, which adds a new style only if it does not already
Richard Heck [Fri, 4 Dec 2015 02:06:28 +0000 (21:06 -0500)]
Add new ProvideStyle tag, which adds a new style only if it does not already
exist. This will allow for a proper fix for bug #8796, though that may or may
not get fixed before 2.2.0.

Also, change the InStyle tag to ModifyStyle, per a suggestion of Jurgen's.

8 years agoConvert remaining C++ files to UTF-8
Guillaume Munch [Sat, 5 Dec 2015 19:32:39 +0000 (19:32 +0000)]
Convert remaining C++ files to UTF-8

8 years agoCmake export tests: Allow deeper label nesting.
Kornel Benko [Sat, 5 Dec 2015 18:25:23 +0000 (19:25 +0100)]
Cmake export tests: Allow deeper label nesting.

Previously all labels got the depth '7' while processing 'suspiciousTestss'.
The depth is used to sort how our labels are used to build a test-label.

Say a test gets label a, b, and c, with depth 3, 8 and 2.
The constructed test-label will be "b:a:c"
For new (to be implemented) 'reason-labels' it is more convenient to assign them higher values.

8 years agovarwidth-floats-side-by-side.lyx: add info, uniform and simplify a bit
Uwe Stöhr [Sat, 5 Dec 2015 18:25:23 +0000 (19:25 +0100)]
varwidth-floats-side-by-side.lyx: add info, uniform and simplify a bit

8 years agoEmbeddedObjects.lyx: merge changes
Uwe Stöhr [Sat, 5 Dec 2015 18:22:34 +0000 (19:22 +0100)]
EmbeddedObjects.lyx: merge changes

8 years agoAdd parameter to xgettext to also parse utf-8 chars. (autotools)
Guillaume Munch [Sat, 5 Dec 2015 17:20:30 +0000 (17:20 +0000)]
Add parameter to xgettext to also parse utf-8 chars. (autotools)

8 years agoAddd parameter to xgettext to also parse utf-8 chars.
Kornel Benko [Sat, 5 Dec 2015 00:35:19 +0000 (01:35 +0100)]
Addd parameter to xgettext to also parse utf-8 chars.

8 years agoDevelopment.lyx: Reflect recent label renaming of 'reverted' to 'inverted'
Kornel Benko [Fri, 4 Dec 2015 20:56:31 +0000 (21:56 +0100)]
Development.lyx: Reflect recent label renaming of 'reverted' to 'inverted'

8 years agoCmake export tests: Tutorial.lyx now compilable
Kornel Benko [Fri, 4 Dec 2015 18:33:39 +0000 (19:33 +0100)]
Cmake export tests: Tutorial.lyx now compilable

suspiciousTests: Remove Tutorial from the regex
suspendedTests: Explicit list of languages needed
ignoredTests: Language-string is separated from other strings only by '/'. '|', '_', '(' and ')'

8 years agoTypo
Kornel Benko [Fri, 4 Dec 2015 18:32:09 +0000 (19:32 +0100)]
Typo

8 years agoSimplify Unicode symbols for old systems
Guillaume Munch [Wed, 2 Dec 2015 21:56:10 +0000 (21:56 +0000)]
Simplify Unicode symbols for old systems

(http://mid.gmane.org/565E17DD.7090008@clear.net.nz)

Fix the pilcrow and the cross in the outliner for Windows and old Ubuntus.

The thin space after the cross is based on aesthetics (in Ubuntu at least) after
trying both with and without a normal space. A thin space is already used for
display in BiblioInfo.cpp, so I presume it is safe.

Ideally, I prefer ❌ (CROSS MARK), whose description fits the purpose, over ✖
(HEAVY MULTIPLICATION X), which looks too bold in the UI. Whereas ✕
(MULTIPLICATION X, successfully tested in Windows by Andrew) looks too dim. But
❌ (CROSS MARK) is next to ❎ (NEGATIVE SQUARED CROSS MARK) so it might be as
problematic as the latter.

Do not output the cross on the author name in the toc of tracked changes.

8 years agoCyrillic manuals: use standard fonts as discussed
Uwe Stöhr [Fri, 4 Dec 2015 01:24:43 +0000 (02:24 +0100)]
Cyrillic manuals: use standard fonts as discussed

8 years agoGreek Intro.lyx: fix compilation by using suitable fonts as proposed by Günter
Uwe Stöhr [Fri, 4 Dec 2015 01:01:32 +0000 (02:01 +0100)]
Greek Intro.lyx: fix compilation by using suitable fonts as proposed by Günter

8 years agoSpanish Tutorial.lyx: preamble code proposed by Günther
Uwe Stöhr [Fri, 4 Dec 2015 00:48:14 +0000 (01:48 +0100)]
Spanish Tutorial.lyx: preamble code proposed by Günther

- please don't revert anything only because compiling with system fonts fails. This is not the scope of the manuals.

8 years agoHebrew Tutorial.lyx: make it compilable
Uwe Stöhr [Fri, 4 Dec 2015 00:13:18 +0000 (01:13 +0100)]
Hebrew Tutorial.lyx: make it compilable

8 years agoAdd option to overwrite existing translations
Georg Baum [Thu, 3 Dec 2015 20:02:47 +0000 (21:02 +0100)]
Add option to overwrite existing translations

This is useful if you know that the translation of a particular language has
not been updated at all in master, but the stable version has been worked on.

8 years agoHandle escaped characters correctly
Georg Baum [Thu, 3 Dec 2015 19:56:51 +0000 (20:56 +0100)]
Handle escaped characters correctly

Some characters (like ") are escaped in .po files. These are handled correctly
by polib, but the self written parser did not yet take them into account.

8 years agoParse obsolete entries correctly
Georg Baum [Thu, 3 Dec 2015 19:52:43 +0000 (20:52 +0100)]
Parse obsolete entries correctly

We need to remove the #~ prefix of each line, since it is re-added after
wrapping, and because otherwise the comparison with entries from polib
does not work.

8 years agoUse a proper command line parser
Georg Baum [Thu, 3 Dec 2015 19:25:06 +0000 (20:25 +0100)]
Use a proper command line parser

Now it is possible to specify the target directory, and the command line syntax
follows the standard rules: It uses options for optional arguments, and one
positional argument for the single required argument.

8 years agoPartly revert a7659d207d77aa73b05473a7c386413890c579d2
Kornel Benko [Thu, 3 Dec 2015 14:28:01 +0000 (15:28 +0100)]
Partly revert a7659d207d77aa73b05473a7c386413890c579d2

Export test now passes.

8 years agoReverted 'remove unnecessary TeX code' (0d3b965e6154183826216b030f508a4ae6ee7f26)
Kornel Benko [Thu, 3 Dec 2015 14:20:57 +0000 (15:20 +0100)]
Reverted 'remove unnecessary TeX code' (0d3b965e6154183826216b030f508a4ae6ee7f26)

Export tests passes now again.

8 years agoCmake export tests: Some tests previously inverted pass now.
Kornel Benko [Thu, 3 Dec 2015 13:05:20 +0000 (14:05 +0100)]
Cmake export tests: Some tests previously inverted pass now.

8 years agoUse relative path for graphics, not windows absolte path
Kornel Benko [Thu, 3 Dec 2015 13:03:04 +0000 (14:03 +0100)]
Use relative path for graphics, not windows absolte path

8 years agoUse correct relative path to bibtex resource
Kornel Benko [Thu, 3 Dec 2015 13:01:03 +0000 (14:01 +0100)]
Use correct relative path to bibtex resource

8 years agoCustomization.lyx: change fonts as discussed
Uwe Stöhr [Thu, 3 Dec 2015 01:36:09 +0000 (02:36 +0100)]
Customization.lyx: change fonts as discussed

8 years agoAdditional.lyx: change fonts as discussed
Uwe Stöhr [Thu, 3 Dec 2015 01:32:09 +0000 (02:32 +0100)]
Additional.lyx: change fonts as discussed

8 years agoMath.lyx: change fonts as discussed
Uwe Stöhr [Thu, 3 Dec 2015 01:27:07 +0000 (02:27 +0100)]
Math.lyx: change fonts as discussed

8 years agoFrench UserGuide.lyx: correct a font
Uwe Stöhr [Thu, 3 Dec 2015 01:26:47 +0000 (02:26 +0100)]
French UserGuide.lyx: correct a font

8 years agoEmbeddedObjects.lyx: change fonts as discussed
Uwe Stöhr [Thu, 3 Dec 2015 01:18:20 +0000 (02:18 +0100)]
EmbeddedObjects.lyx: change fonts as discussed

8 years agoUserGuide.lyx: change fonts as discussed
Uwe Stöhr [Thu, 3 Dec 2015 01:08:31 +0000 (02:08 +0100)]
UserGuide.lyx: change fonts as discussed

8 years agoIndonesian Tutorial.lyx: use inset info for icons
Uwe Stöhr [Thu, 3 Dec 2015 00:42:21 +0000 (01:42 +0100)]
Indonesian Tutorial.lyx: use inset info for icons

- Chinese Tutorial.lyx: remove unnecessary TeX code

8 years agoTutorial.lyx: change fonts as discussed
Uwe Stöhr [Thu, 3 Dec 2015 00:29:33 +0000 (01:29 +0100)]
Tutorial.lyx: change fonts as discussed

8 years agoIntro.lyx: change fonts as discussed
Uwe Stöhr [Wed, 2 Dec 2015 23:52:23 +0000 (00:52 +0100)]
Intro.lyx: change fonts as discussed

8 years agoCmake tests: Rename label 'reverted' to 'inverted'.
Kornel Benko [Wed, 2 Dec 2015 23:23:07 +0000 (00:23 +0100)]
Cmake tests: Rename label 'reverted' to 'inverted'.

8 years agoCmake export tests: Create concatenated labels in the form 'export:reverted:examples...
Kornel Benko [Wed, 2 Dec 2015 21:18:43 +0000 (22:18 +0100)]
Cmake export tests: Create concatenated labels in the form 'export:reverted:examples:chemgreek'

8 years agoAdd a comment to autotests/export/ja/wrong_auto_encoding.lyx
Kornel Benko [Wed, 2 Dec 2015 21:13:41 +0000 (22:13 +0100)]
Add a comment to autotests/export/ja/wrong_auto_encoding.lyx

8 years agoMake spellchecker dotted underlines thicker.
Jean-Marc Lasgouttes [Wed, 25 Nov 2015 21:09:45 +0000 (22:09 +0100)]
Make spellchecker dotted underlines thicker.

8 years agoDevelopment.lyx: Spellchecker + special char corrections.
Kornel Benko [Wed, 2 Dec 2015 12:55:38 +0000 (13:55 +0100)]
Development.lyx: Spellchecker + special char corrections.

8 years agoCmake export tests: Remove label 'reverted' from suspended tests.
Kornel Benko [Wed, 2 Dec 2015 12:28:16 +0000 (13:28 +0100)]
Cmake export tests: Remove label 'reverted' from suspended tests.

LyXMacros.cmake: Overseen the macro 'setmarkedtestlabel()' which added it automatically
  if the test was to invert the test result.
ExportTests.cmake: Correct label handling

8 years agoDevelopment.lyx: Clarify a bit the difference between assigned label and reversion...
Kornel Benko [Wed, 2 Dec 2015 10:02:17 +0000 (11:02 +0100)]
Development.lyx: Clarify a bit the difference between assigned label and reversion of ctest result.

8 years agoRestructure test documentation.
Günter Milde [Wed, 2 Dec 2015 07:54:24 +0000 (08:54 +0100)]
Restructure test documentation.

Use separate subsections for our 3 main test suites:
unit tests,
tex2lyx (functional) tests, and
"autotests" (requiring cmake).

8 years agoRevert local layouts changes in ja/Additional.lyx.
Richard Heck [Wed, 2 Dec 2015 02:24:31 +0000 (21:24 -0500)]
Revert local layouts changes in ja/Additional.lyx.

8 years agoconfigure.py: add inkscape as converter for EMF/WMF files
Uwe Stöhr [Wed, 2 Dec 2015 01:08:19 +0000 (02:08 +0100)]
configure.py: add inkscape as converter for EMF/WMF files

8 years agoUserGuide.lyx: document new possible text colors
Uwe Stöhr [Wed, 2 Dec 2015 00:33:25 +0000 (01:33 +0100)]
UserGuide.lyx: document new possible text colors

@Richard: as you can see the additional lines in Verbatim are not added by lyx2lyx

8 years agoinstaller: add up to date check for inkscape
Uwe Stöhr [Tue, 1 Dec 2015 23:47:05 +0000 (00:47 +0100)]
installer: add up to date check for inkscape

 also fine-tune the conversion of wmf/emf images

8 years agobuild.bat: add -DLYX_ENABLE_EXPORT_TESTS=ON and add a note about Ninja
Uwe Stöhr [Tue, 1 Dec 2015 23:42:40 +0000 (00:42 +0100)]
build.bat: add -DLYX_ENABLE_EXPORT_TESTS=ON and add a note about Ninja

8 years agoExplain how to use parallel compilation in MSVC
Georg Baum [Tue, 1 Dec 2015 19:55:05 +0000 (20:55 +0100)]
Explain how to use parallel compilation in MSVC

8 years agoFix width of row when there are active hfills
Jean-Marc Lasgouttes [Mon, 30 Nov 2015 21:00:48 +0000 (22:00 +0100)]
Fix width of row when there are active hfills

It is important to make sure in computeRowMetrics that the row width
is correct at the end, because we rely on it in several places.

Fixes bug #9870.

8 years agoUpdate previews when turned on in prefs (#9507)
Scott Kostyshak [Sun, 22 Nov 2015 16:39:15 +0000 (11:39 -0500)]
Update previews when turned on in prefs (#9507)

Previews are now generated when previews are turned on in
preferences. This change ensures that when users activate previews
for the first time, they are not confused by no previews showing up
(a restart of LyX or a triggering of each individual preview would
be required).

There was a previously attempted fix for #9507 at 390ae054 which was
reverted at 358745d0 for performance reasons: it updated previews
after every preference change and updating previews is costly (even
if the cache signals there are no changes needed).

This implementation is consistent with what we do for updating the
system fonts in preferences.