]> git.lyx.org Git - lyx.git/log
lyx.git
8 years agoSet \origin correctly when upgrading docs
Georg Baum [Wed, 11 Nov 2015 20:35:12 +0000 (21:35 +0100)]
Set \origin correctly when upgrading docs

lyx2lyx did not yet know about /systemlyxdir/ and set \origin to the path
where my git tree lives instead. This path is not usable except on my machine,
so better write something more usable instead.
This is a special command line switch of lyx2lyx, so it does not interfere
with normal usage. I did not try to deduce the systemlyxdir from lyx2lyx to
be on the safe side.

8 years agoExclude old files in attic
Georg Baum [Wed, 11 Nov 2015 19:50:40 +0000 (20:50 +0100)]
Exclude old files in attic

8 years agoAdd utility to update documentation files
Georg Baum [Wed, 11 Nov 2015 19:41:28 +0000 (20:41 +0100)]
Add utility to update documentation files

updatedocs.py is a small script that updates all documentation files to the
current format.

8 years agoconfigure.py: support OpenDocument as input format
Uwe Stöhr [Wed, 11 Nov 2015 00:59:17 +0000 (01:59 +0100)]
configure.py: support OpenDocument as input format

 - new converter for OpenDocument text -> LaTeX

8 years agoFix bug #9554: When we save a file that was not originally in the current
Richard Heck [Tue, 10 Nov 2015 17:39:24 +0000 (12:39 -0500)]
Fix bug #9554: When we save a file that was not originally in the current
LyX format, create a backup of the original file. We put it in the backup
directory, if one exists, otherwise in the directory the original file is
in. This is the same strategy as for normal backups. Basically, the only
diferences are: (i) what name we use and (ii) we do not over-write any
backups that may already exist.

8 years agoFix 480937a103708a651/lyxgit. See also #9740.
Günter Milde [Tue, 10 Nov 2015 23:10:06 +0000 (00:10 +0100)]
Fix 480937a103708a651/lyxgit. See also #9740.

Actually, the changed tests were used to prevent overwriting the encoding
changed in Buffer::writeLaTeX with a language-default encoding.
This is still required for XeTeX with TeX-fonts unless a proper solution is found.

Documents with more than one encoding and TeX-fonts fail with LuaTeX,
as "luainputenc" can only handle one encoding.

8 years agotheorems-without-preamble.inc: fix a typo
Uwe Stöhr [Tue, 10 Nov 2015 23:08:13 +0000 (00:08 +0100)]
theorems-without-preamble.inc: fix a typo

8 years agoCmake export tests: Try to use language dependent inputencoding.
Kornel Benko [Tue, 10 Nov 2015 18:42:43 +0000 (19:42 +0100)]
Cmake export tests: Try to use language dependent inputencoding.

This enables some more pdf5_texF und dvi3_texF tests to succeed.

8 years agoCmake export tests: Set inputencoding to ascii if test with xetex and tex fonts.
Kornel Benko [Tue, 10 Nov 2015 12:01:49 +0000 (13:01 +0100)]
Cmake export tests: Set inputencoding to ascii if test with xetex and tex fonts.

8 years agoMove tmpdir error message to stderr
Guillaume Munch [Tue, 10 Nov 2015 07:59:24 +0000 (07:59 +0000)]
Move tmpdir error message to stderr

http://thread.gmane.org/gmane.editors.lyx.general/85638/focus=157802

8 years agoFix duplication introduced at cf7f1cb7
Scott Kostyshak [Tue, 10 Nov 2015 01:08:57 +0000 (20:08 -0500)]
Fix duplication introduced at cf7f1cb7

Thanks to Georg for catching this.

8 years agothesis files: update file format
Uwe Stöhr [Tue, 10 Nov 2015 00:28:09 +0000 (01:28 +0100)]
thesis files: update file format

- as addendum to the previous commit

8 years agothesis template: disable the automatic usage of \autoref
Uwe Stöhr [Tue, 10 Nov 2015 00:23:33 +0000 (01:23 +0100)]
thesis template: disable the automatic usage of \autoref

- fixes bug #8569

8 years agoDevelopment.lyx: remove unused preamble code and modules
Uwe Stöhr [Mon, 9 Nov 2015 23:39:54 +0000 (00:39 +0100)]
Development.lyx: remove unused preamble code and modules

8 years agoFix regression of 2fc430d5ae
Georg Baum [Mon, 9 Nov 2015 19:06:36 +0000 (20:06 +0100)]
Fix regression of 2fc430d5ae

Thanks Kornel for noticing

8 years agoReset encoding after insets and environments also for LuaTeX with TeX fonts.
Günter Milde [Mon, 9 Nov 2015 10:45:01 +0000 (11:45 +0100)]
Reset encoding after insets and environments also for LuaTeX with TeX fonts.

With inputenc == "auto" or "default", the encoding changes with
the language and must be reset after an eventual language switch in insets
or environments (see #6216).

However, whether we need to do this does not depend on 8-bit TeX vs. LuaTeX
but on the possible use of more than one encoding for the document.
With "nonTeXFonts", the encoding is utf8,
LuaTeX with TeX fonts requires encoding handling similar to 8-bit TeX.

(Additionally, the value of "params.inputenc" could be tested: if it is
not "auto" or "default", we have just one common encoding and could skip
the reset as well.) Not sure how much time this saves, though.

8 years agoCmake export tests: Adapt the test machinery to the commit 2fc430d.
Kornel Benko [Mon, 9 Nov 2015 11:20:57 +0000 (12:20 +0100)]
Cmake export tests: Adapt the test machinery to the commit 2fc430d.

Handle this this new sets of font selections properly.

8 years agoStore both sets of font selections
Georg Baum [Mon, 9 Nov 2015 06:33:57 +0000 (07:33 +0100)]
Store both sets of font selections

This is one part of bug 9744: If you toggle between TeX fonts and non-TeX
fonts, the settings of the other choice are no longer thrown away, but stored
and re-activated if you switch back. Most parts of the patch are purely
mechanical (duplicating some BufferParams members), the only non-mechanical
change is in the GUI logic.

8 years agosplash.lyx: correct a menu name and update file format
Uwe Stöhr [Mon, 9 Nov 2015 01:00:31 +0000 (02:00 +0100)]
splash.lyx: correct a menu name and update file format

8 years agoImprove fix to 57615915.
Jean-Marc Lasgouttes [Sun, 8 Nov 2015 20:52:45 +0000 (21:52 +0100)]
Improve fix to 57615915.

Reset pointer to 0 as Georg suggested in #9804.

8 years agoUpdate the formats of lyxrc.dist.in to 19
Scott Kostyshak [Sun, 8 Nov 2015 01:10:39 +0000 (20:10 -0500)]
Update the formats of lyxrc.dist.in to 19

In the end, no changes were needed. This was decided by prefs2prefs
for MacOSX and cygwin and by manual inspection for Win32.

8 years agoAdd the format line for Mac's lyxrc.dist.in
Scott Kostyshak [Sun, 8 Nov 2015 00:55:57 +0000 (19:55 -0500)]
Add the format line for Mac's lyxrc.dist.in

The file was updated to format 14 in fc22ba16 but the format line
was missing. A missing format line is interpreted as format 0, I
believe, which could lead to incorrect conversion to later formats.

8 years agoCopy caveats from RELEASE-NOTES to UPGRADING
Scott Kostyshak [Sat, 7 Nov 2015 06:49:02 +0000 (01:49 -0500)]
Copy caveats from RELEASE-NOTES to UPGRADING

8 years agoRELEASE-NOTES: move an item to different category
Scott Kostyshak [Sat, 7 Nov 2015 06:48:52 +0000 (01:48 -0500)]
RELEASE-NOTES: move an item to different category

Also expand a little to mention that users might need to specify
babel if their document has custom code that is specific to babel.

8 years agoprefs2prefs: document removing print support
Scott Kostyshak [Sat, 7 Nov 2015 06:48:47 +0000 (01:48 -0500)]
prefs2prefs: document removing print support

8 years agoFix a Makfile.am typo preventing "make lyxdist"
Scott Kostyshak [Sat, 7 Nov 2015 06:48:43 +0000 (01:48 -0500)]
Fix a Makfile.am typo preventing "make lyxdist"

Thanks to Vincent.

8 years agoNEWS: add what's new in LyX 2.2
Scott Kostyshak [Sat, 7 Nov 2015 06:48:36 +0000 (01:48 -0500)]
NEWS: add what's new in LyX 2.2

8 years agoNEWS: Update from the 2.1.x branch
Scott Kostyshak [Sat, 7 Nov 2015 06:48:32 +0000 (01:48 -0500)]
NEWS: Update from the 2.1.x branch

8 years agoUpdate ANNOUNCE for LyX2.2.0alpha1
Scott Kostyshak [Sat, 7 Nov 2015 06:48:20 +0000 (01:48 -0500)]
Update ANNOUNCE for LyX2.2.0alpha1

8 years agoANNOUNCE: give new path to RELEASE-NOTES
Scott Kostyshak [Sat, 7 Nov 2015 06:48:01 +0000 (01:48 -0500)]
ANNOUNCE: give new path to RELEASE-NOTES

Also a couple of whitespace tweaks.

8 years agoMove LFUN_CHANGES_TRACK and LFUN_CHANGES_OUTPUT to Buffer.cpp,
Richard Heck [Thu, 5 Nov 2015 21:42:30 +0000 (16:42 -0500)]
Move LFUN_CHANGES_TRACK and LFUN_CHANGES_OUTPUT to Buffer.cpp,
and record an undo call. This deals with the problem of marking
the Buffer dirty, as well.

Move LFUN_BUFFER_TOGGLE_COMPRESSION and LFUN_BUFFER_TOGGLE_OUTPUT_SYNC
to Buffer.cpp, and add an undo call.

8 years agoThe cite engine info is needed by makeDocumentClass().
Richard Heck [Fri, 6 Nov 2015 20:51:13 +0000 (15:51 -0500)]
The cite engine info is needed by makeDocumentClass().

Fixes both #9797 and #9848.

8 years agoBe careful about accounting for the right margin
Jean-Marc Lasgouttes [Fri, 6 Nov 2015 13:28:05 +0000 (14:28 +0100)]
Be careful about accounting for the right margin

In computeRowMetrics, the right margin of the row shall be taken in account when the text is not left-aligned. Rewrite the code in terms of the available width `w' to avoid this pitfall.

8 years agoDecrease and unify indentation of beamer frame content.
Juergen Spitzmueller [Fri, 6 Nov 2015 07:34:00 +0000 (08:34 +0100)]
Decrease and unify indentation of beamer frame content.

8 years agoMake shortcuts for master-buffer-X fall back to buffer-X.
Richard Heck [Thu, 5 Nov 2015 17:08:52 +0000 (12:08 -0500)]
Make shortcuts for master-buffer-X fall back to buffer-X.

Fixes #9842.

8 years agoCmake export tests: Enable test hu/Tutorial_pdf5_systemF
Kornel Benko [Thu, 5 Nov 2015 10:27:32 +0000 (11:27 +0100)]
Cmake export tests: Enable test hu/Tutorial_pdf5_systemF

8 years agoFix encoding-setting of child document with LuaTeX and TeX-fonts
Günter Milde [Thu, 5 Nov 2015 09:52:22 +0000 (10:52 +0100)]
Fix encoding-setting of child document with LuaTeX and TeX-fonts

8 years agoAvoid using pointer after it has been invalidated
Jean-Marc Lasgouttes [Tue, 3 Nov 2015 14:20:09 +0000 (15:20 +0100)]
Avoid using pointer after it has been invalidated

The pointer macroInset points to a vector element. When another element is inserted in this vector, some reallocation occur and the pointer points to a deleted element.

This does not crash LyX by default, but it is bad enough to make valgrind cry.

See ticket #9804.

8 years agoTry to avoid horizontal scrolling with wide insets.
Jean-Marc Lasgouttes [Tue, 3 Nov 2015 09:01:05 +0000 (10:01 +0100)]
Try to avoid horizontal scrolling with wide insets.

There was a problem with end of paragraph markers. By design, wide insets choose their size without taking in account the marker. This should not lead to unneeded horizontal scrolling.

Part of ticket #9807.

8 years agoCorrect reason for the failure of the math manual export with luatex.
Günter Milde [Thu, 5 Nov 2015 08:45:04 +0000 (09:45 +0100)]
Correct reason for the failure of the math manual export with luatex.

8 years agoEmbeddedObjects.lyx: describe Reflectbox and friends
Uwe Stöhr [Wed, 4 Nov 2015 23:53:35 +0000 (00:53 +0100)]
EmbeddedObjects.lyx: describe Reflectbox and friends

8 years agoRemove unused declarations
Georg Baum [Wed, 4 Nov 2015 20:40:18 +0000 (21:40 +0100)]
Remove unused declarations

8 years agoCmake tests: Expand for some more suspended testcases
Kornel Benko [Wed, 4 Nov 2015 19:53:53 +0000 (20:53 +0100)]
Cmake tests: Expand for some more suspended testcases

All dvi_texF and pdf5_texF testcases are nov candidates for being suspended.
After commit 279d084, now export/.*/Math_(dvi3|pdf5)_texF fails,
therefore the tests are also inverted.

8 years agoUpdate Development.lyx to include 'suspended' cmake tests.
Kornel Benko [Wed, 4 Nov 2015 12:06:14 +0000 (13:06 +0100)]
Update Development.lyx to include 'suspended' cmake tests.

8 years agoupdate sk.po
Kornel Benko [Wed, 4 Nov 2015 11:25:49 +0000 (12:25 +0100)]
update sk.po

8 years agoAllow quotes in PDF text properties
Jean-Marc Lasgouttes [Mon, 2 Nov 2015 15:23:28 +0000 (16:23 +0100)]
Allow quotes in PDF text properties

PDF properties (Author, Title...) need to be quoted properly when writing (normal operation and tex2lyx). Also, reading them requires to use Lexer::getString() directly, because >> uses next(), which does not handle escapes.

Fixes bug #9830.

8 years agoCmake tests: Removed tests from revertedTests.
Kornel Benko [Wed, 4 Nov 2015 11:11:29 +0000 (12:11 +0100)]
Cmake tests: Removed tests from revertedTests.

Due to commit f739c98, some pdf4_texF are now OK

8 years agoCmake tests: Add 'suspendedTests'
Kornel Benko [Wed, 4 Nov 2015 10:44:07 +0000 (11:44 +0100)]
Cmake tests: Add 'suspendedTests'

This file holds regular expression to select which of the inverted
export test cases will be suspended.
These tests will not be executed with the call 'ctest -L export'.

8 years agoFix some XeTeX + TeX-fonts regressions introduced by fixing #9740.
Günter Milde [Wed, 4 Nov 2015 10:21:22 +0000 (11:21 +0100)]
Fix some XeTeX + TeX-fonts regressions introduced by fixing #9740.

hyperref expects LICR macros for non-ASCII chars in the PDF Header Information.
As hyperref provides good coverage for \inputencoding{utf8}, we try
this if the current input encoding does not support a character.

With XeTeX, we do not load inputenc and cannot use \inputencoding.
However, utf-8 works out of the box so we can write the content in UTF8.

8 years agolyx_2_2.py: add a safe guard
Uwe Stöhr [Wed, 4 Nov 2015 01:18:28 +0000 (02:18 +0100)]
lyx_2_2.py: add a safe guard

8 years agolyx_2_2.py: fix the conversion of colored boxes
Uwe Stöhr [Wed, 4 Nov 2015 00:36:39 +0000 (01:36 +0100)]
lyx_2_2.py: fix the conversion of colored boxes

8 years agolyx2lyx/lyx_2_2.py: remove unused code
Uwe Stöhr [Wed, 4 Nov 2015 00:22:03 +0000 (01:22 +0100)]
lyx2lyx/lyx_2_2.py: remove unused code

8 years agoachemso.layout: add a flex inset
Uwe Stöhr [Wed, 4 Nov 2015 00:18:13 +0000 (01:18 +0100)]
achemso.layout: add a flex inset

- this one is in achemso since version 3.8

- fileformat change

8 years agoDevelopment.lyx: describe how to update the tex2lyx references on Windows
Uwe Stöhr [Wed, 4 Nov 2015 00:15:52 +0000 (01:15 +0100)]
Development.lyx: describe how to update the tex2lyx references on Windows

8 years agoFix bug ##9627: Make the document name available to preview insets
Enrico Forestieri [Tue, 3 Nov 2015 23:36:41 +0000 (00:36 +0100)]
Fix bug ##9627: Make the document name available to preview insets

The \jobname macro is redefined for the preview snippets such that
it contains the name of the document without extension. This is
harmless because the moment it is redefined, TeX has already chosen
the name of the output and log files. On the other hand, any use
of \jobname in preview snippets is now consistent with what one
obtains after exporting and compiling by hand.

8 years agoEmbeddedObjects.lyx: describe rotate boxes properly
Uwe Stöhr [Tue, 3 Nov 2015 23:13:45 +0000 (00:13 +0100)]
EmbeddedObjects.lyx: describe rotate boxes properly

- We have now a module for them
(the description of scaled boxes etc will follow soon)

8 years agoFix bugs #2645 (export BIBINPUTS) and #6634 (Better support for external files in...
Enrico Forestieri [Tue, 3 Nov 2015 22:28:36 +0000 (23:28 +0100)]
Fix bugs #2645 (export BIBINPUTS) and #6634 (Better support for external files in ERT)

Other than BIBINPUTS, also BSTINPUTS and TEXFONTS are exported.
They do not replicate the setting for TEXINPUTS but are set such
that the current dir (i.e., the temp dir) and the document dir
are also searched for bibtex and fonts related files.

8 years agoFix shortcut conflict
Georg Baum [Tue, 3 Nov 2015 21:02:06 +0000 (22:02 +0100)]
Fix shortcut conflict

This was introduced by d56980da954. Thanks Günter for noticing.

8 years agoAmend f441590c
Guillaume Munch [Tue, 3 Nov 2015 15:27:25 +0000 (15:27 +0000)]
Amend f441590c

8 years agoFixme for the partial patch for #9740 (XeTeX with TeX fonts),
Günter Milde [Tue, 3 Nov 2015 11:28:01 +0000 (12:28 +0100)]
Fixme for the partial patch for #9740 (XeTeX with TeX fonts),

8 years agoCapitalization
Guillaume Munch [Tue, 3 Nov 2015 03:51:49 +0000 (03:51 +0000)]
Capitalization

8 years agoAdd "Open Containing Directory" button to the log dialog (#9211, #9834)
Guillaume Munch [Mon, 2 Nov 2015 18:19:40 +0000 (18:19 +0000)]
Add "Open Containing Directory" button to the log dialog (#9211, #9834)

It takes the place of the "Copy to Clipboard" button which was redundant.

8 years agoUpdate it.po
Enrico Forestieri [Tue, 3 Nov 2015 00:25:01 +0000 (01:25 +0100)]
Update it.po

8 years agoMath.lyx: replace tables by formal ones - final part 7/7
Uwe Stöhr [Mon, 2 Nov 2015 23:23:41 +0000 (00:23 +0100)]
Math.lyx: replace tables by formal ones - final part 7/7

8 years agoFix bug #7657: Detect inkscape from the configure script
Enrico Forestieri [Mon, 2 Nov 2015 22:46:14 +0000 (23:46 +0100)]
Fix bug #7657: Detect inkscape from the configure script

On Windows, if inkscape is not found in the PATH, search for it
in the registry and store its full path in lyxrc.defaults.

8 years agoMath.lyx: replace tables by formal ones - part 6
Uwe Stöhr [Mon, 2 Nov 2015 22:43:42 +0000 (23:43 +0100)]
Math.lyx: replace tables by formal ones - part 6

8 years agoCmake tests: macro setmarkedtestlabel() worked only by chance
Kornel Benko [Mon, 2 Nov 2015 20:44:38 +0000 (21:44 +0100)]
Cmake tests: macro setmarkedtestlabel() worked only by chance

We have to check the content of the variable.

8 years agoPut logos in submenu as discussed on the list
Georg Baum [Mon, 2 Nov 2015 19:52:21 +0000 (20:52 +0100)]
Put logos in submenu as discussed on the list

8 years agoFix compilation with clang++ 3.6.2.
Jean-Marc Lasgouttes [Mon, 2 Nov 2015 15:13:38 +0000 (16:13 +0100)]
Fix compilation with clang++ 3.6.2.

8 years agoDisable warning for deprecated functions in autoconf builds
Jean-Marc Lasgouttes [Mon, 2 Nov 2015 14:45:27 +0000 (15:45 +0100)]
Disable warning for deprecated functions in autoconf builds

This gets rid in particular of warnings on auto_ptr. This flag should be removed when 2.3 development start and we switch to unique_ptr.

8 years agoDisable setting vertical lines when using a formal table
Jean-Marc Lasgouttes [Tue, 27 Oct 2015 15:48:29 +0000 (16:48 +0100)]
Disable setting vertical lines when using a formal table

The code in InsetTabular disables the toolbar icons and menu entries related to vertical lines.

The code in GuiTabular disables vertical lines in the Settings dialog.
Note that there was a bug in
GuiSetBorders::set(Left|Right|Top|Bottom)Enabled, where the borders
did not get drawn correctly.

Fixes bug #9816

8 years agoSet current font correctly after inset-select-all
Jean-Marc Lasgouttes [Mon, 2 Nov 2015 13:35:50 +0000 (14:35 +0100)]
Set current font correctly after inset-select-all

Since we modify directly the cursor, it is wise to make sure that the current font is updated.

Fixes bug #9719.

8 years agoFix algorithm that computes horizontal scroll offset
Jean-Marc Lasgouttes [Tue, 27 Oct 2015 15:11:01 +0000 (16:11 +0100)]
Fix algorithm that computes horizontal scroll offset

Rewrite the logic completely:
* fix cases where the offset was reset unnecessarily
* fix cases where the row was scrolled too much: as soon as a side of the row is completely visible, there is no need to scroll more.
* fix cases where offset would never reset

8 years agoFix wrong reset of horizontal scolling of current row
Jean-Marc Lasgouttes [Tue, 27 Oct 2015 10:37:50 +0000 (11:37 +0100)]
Fix wrong reset of horizontal scolling of current row

This partially reverts commit 0f1fdaaa9, but only redraws the current
row when the value returns by getPos is obviously false. It would also
be possible to check whether the current cursor has all its insets in
cache instead.

A better fix should be found, but this is unfortunately not 2.2 stuff.

Fixes bugs #9796 and #9812.

8 years agoUpdate it.po
Enrico Forestieri [Mon, 2 Nov 2015 02:37:21 +0000 (03:37 +0100)]
Update it.po

8 years agoAdd Georg's idea for lyx2lyx tests to TestsToDo
Scott Kostyshak [Mon, 2 Nov 2015 01:01:46 +0000 (20:01 -0500)]
Add Georg's idea for lyx2lyx tests to TestsToDo

These tests would be like the tex2lyx tests we have and would have
the clear advantage of not depending on LyX.

8 years agoModule for the changebar package
Guillaume Munch [Sun, 1 Nov 2015 22:30:38 +0000 (22:30 +0000)]
Module for the changebar package

Author: Paul A. Rubin (rubin@msu.edu), based on code proposed by Juergen
Spitzmueller (http://comments.gmane.org/gmane.editors.lyx.general/66666).

http://mid.gmane.org/562ACBC5.8030102@msu.edu

8 years agoCorrect name
Guillaume Munch [Mon, 2 Nov 2015 00:10:27 +0000 (00:10 +0000)]
Correct name

8 years agoFix bug #9813
Guillaume Munch [Sun, 1 Nov 2015 23:58:41 +0000 (23:58 +0000)]
Fix bug #9813

tex/row correspondance for \end{tabular}.

8 years agoAdd warning message if we do no conversion.
Richard Heck [Sun, 1 Nov 2015 21:32:52 +0000 (16:32 -0500)]
Add warning message if we do no conversion.

8 years agoIf lyx2lyx is asked to convert a file to the format it already is,
Richard Heck [Sun, 1 Nov 2015 21:27:58 +0000 (16:27 -0500)]
If lyx2lyx is asked to convert a file to the format it already is,
then just perform a null conversion. This seems better than aborting
with an error. I can imagine a script that converted all files in a
certain directory to format 498, and you don't want it to be an error
if one of them is already 498.

Prior to this, what lyx2lyx would do is convert to the lowest format
in the current version. So, e.g., asked to convert 498 to 498 it would
convert to 474. That is obviously wrong.

8 years agoVarwidth module provided by d.iabo
Juergen Spitzmueller [Sun, 1 Nov 2015 10:00:23 +0000 (11:00 +0100)]
Varwidth module provided by d.iabo

See #9417.

8 years agoCmake export tests: Remove some testcases from 'revertedTests'
Kornel Benko [Sat, 31 Oct 2015 21:08:17 +0000 (22:08 +0100)]
Cmake export tests: Remove some testcases from 'revertedTests'

Some of the tests are now compilable, probably because of some  newer
TL2015 packages.
Reverts partly commit 8a4c9b6 for export/templates/ectaart...

8 years agoremove debug message.
Juergen Spitzmueller [Sat, 31 Oct 2015 11:10:49 +0000 (12:10 +0100)]
remove debug message.

8 years agoTypo
Scott Kostyshak [Sat, 31 Oct 2015 06:12:31 +0000 (02:12 -0400)]
Typo

8 years agoInitial commit of a file for plans of future tests
Scott Kostyshak [Sat, 31 Oct 2015 06:07:05 +0000 (02:07 -0400)]
Initial commit of a file for plans of future tests

The TestsToDo file will contain ideas for tests that we would like
to implement in the future.

8 years agoDocument various ways to run the tex2lyx tests
Scott Kostyshak [Sat, 31 Oct 2015 04:30:34 +0000 (00:30 -0400)]
Document various ways to run the tex2lyx tests

Each way might be preferred by a different developer and the more
ways that can be described of running the tests, the higher the
chance is that developers will find a way that works well for them.

8 years agoCmake tests: Display process while executing for target updatetex2lyxtests
Kornel Benko [Fri, 30 Oct 2015 12:28:20 +0000 (13:28 +0100)]
Cmake tests: Display process while executing for target updatetex2lyxtests

The execution took some time and the messages were delayed
until all test files were processed. Now as each testfile
is processed, the appropriate messages are printed.

There is also a new target: cleanupdatetex2lyxtests
It is the same as updatetex2lyxtests, but removes also
some extra created files from the source directory.

8 years agoctests: invert Math.lyx tests failing from mhchem
Scott Kostyshak [Fri, 30 Oct 2015 06:43:36 +0000 (02:43 -0400)]
ctests: invert Math.lyx tests failing from mhchem

The math document now depends on the mhchem package which produces
wrong output with XeTeX/LuaTeX and both TeX fonts and non-TeX fonts

See:
https://www.mail-archive.com/search?l=mid&q=n0sne9%24iis%241%40ger.gmane.org

8 years agoDocument why tests are enabled for all formats
Scott Kostyshak [Fri, 30 Oct 2015 02:48:28 +0000 (22:48 -0400)]
Document why tests are enabled for all formats

Explain why the export tests are enabled for formats that are not
expected to work well with certain document classes, modules, or
packages. The reason is that if a .lyx file goes from compiling
successfully for one format (even if that format is not officially
supported for the combination of features used), if that document
suddenly fails to compile, there is a significant chance that a bug
was introduced in LyX. In other words, there is a high signal/noise
ratio. If it is determined that a test is failing because an
expected incompatibility is exposed, then the test can be inverted.

8 years agoMore updates for the documentation on tests
Scott Kostyshak [Fri, 30 Oct 2015 02:11:11 +0000 (22:11 -0400)]
More updates for the documentation on tests

- general cleanup
- add some more useful commands
- specify how to configure the URL tests

Thanks to Kornel for the helpful suggestions.

8 years agoDocument how to run tests on windows
Georg Baum [Thu, 29 Oct 2015 21:20:37 +0000 (22:20 +0100)]
Document how to run tests on windows

8 years agoAdd "LyX Documentation Tools" toolbar
Georg Baum [Thu, 29 Oct 2015 19:02:52 +0000 (20:02 +0100)]
Add "LyX Documentation Tools" toolbar

People working on the documentation do probably want to switch this on. It
gives easy access to LyX and LaTeX logos (bug 9626), and the info and menu
separator insets.

8 years agoCmake tests: Remove the use of file(TIMESTAMP...)
Kornel Benko [Thu, 29 Oct 2015 10:07:34 +0000 (11:07 +0100)]
Cmake tests: Remove the use of file(TIMESTAMP...)

Cmake versions prior to 2.8.11 don't know this command, but
our minimal requirenment is 2.6.4

Thank to Vincent, it is replaced by using 'if(file1 IS_NEWER_THAN file2)' comparision.

8 years agoDisable "Show Output Anyway" button if empty file
Scott Kostyshak [Thu, 29 Oct 2015 02:51:24 +0000 (22:51 -0400)]
Disable "Show Output Anyway" button if empty file

Sometimes when compilation fails a PDF file is created but is empty
and the viewer gives an error when trying to view it. One such
example is compiling the current lib/examples/PDF-comment.lyx file
with TeX fonts and the following version of LuaTeX:

  beta-0.80.0 (TeX Live 2015) (rev 5238)

8 years agoDocument the export tests and other tests
Scott Kostyshak [Thu, 29 Oct 2015 06:24:20 +0000 (02:24 -0400)]
Document the export tests and other tests

The export tests, check_load tests, and URL tests are now documented
in the Development.lyx file. The export tests are described in
detail, such as how to run them and how to interpret the results.

8 years agoUpdate format
Scott Kostyshak [Wed, 28 Oct 2015 22:10:09 +0000 (18:10 -0400)]
Update format

8 years agocmake: Properly suppress CMake warning about qtmain
Vincent van Ravesteijn [Wed, 28 Oct 2015 19:19:49 +0000 (20:19 +0100)]
cmake: Properly suppress CMake warning about qtmain

CMake policy CMP0020 exists since version 2.8.11, so this prevents an
error on older versions.

This fixes up commit ec6f51b.

8 years agoCmake tests: Get rid of use of command 'env', which is not available under Windows.
Kornel Benko [Wed, 28 Oct 2015 16:59:28 +0000 (17:59 +0100)]
Cmake tests: Get rid of use of command 'env', which is not available under Windows.

8 years agoctests: comment for why the Russian docs fail
Scott Kostyshak [Wed, 28 Oct 2015 14:52:52 +0000 (10:52 -0400)]
ctests: comment for why the Russian docs fail

The LuaTeX non-TeX font tests fail because of LyX's preamble (the
part regarding hyperref), as explained by Günter.